dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
ga_channel_write_all_2998
ga_channel_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.ph3.reg2mem = alloca i64 %sv_2.0.ph4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 store i64 0, i64* %sv_3, align 8 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false store i64 %arg2, i64* %sv_2.0.ph4.reg2mem store i64 %arg3, i64* %sv_1.0.ph3.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %sv_1.0.ph3.reload = load i64, i64* %sv_1.0.ph3.reg2mem %sv_2.0.ph4.reload = load i64, i64* %sv_2.0.ph4.reg2mem br label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %0, i64 %sv_2.0.ph4.reload, i64 %sv_1.0.ph3.reload, i64* nonnull %sv_3) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = load i64, i64* %sv_3, align 8 %8 = sub i64 %sv_1.0.ph3.reload, %7 %9 = add i64 %7, %sv_2.0.ph4.reload %10 = icmp eq i64 %8, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %sv_2.0.ph4.reg2mem store i64 %8, i64* %sv_1.0.ph3.reg2mem store i64 %3, i64* %sv_0.1.reg2mem br i1 %11, label LBL_1, label LBL_5 LBL_4: %12 = icmp eq i32 %4, 1 %13 = icmp eq i1 %12, false store i64 %3, i64* %sv_0.1.reg2mem br i1 %13, label LBL_5, label LBL_2 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %14 = and i64 %sv_0.1.reload, 4294967295 ret i64 %14 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %sv_2.0.ph4.reload, { 1, 0 } uselistorder i64 %sv_1.0.ph3.reload, { 1, 0 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2.0.ph4.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.ph3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
decode_init_18243
decode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = bitcast i64* %arg1 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %3, 24 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %9 = add i64 %3, 8 %10 = inttoptr i64 %9 to i32* store i32 -1, i32* %10, align 4 %11 = inttoptr i64 %3 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %3, 4 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 1196444242 %18 = zext i1 %17 to i32 %19 = add i64 %3, 48 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %0, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_2, label LBL_1 LBL_1: %25 = add i64 %0, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %0, i64 %3, i64 %27, i32 %23) br label LBL_2 LBL_2: %29 = add i64 %0, 20 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i64 %0, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = call i64 @FUNC(i64 %0, i32 %34, i32 %31, i64 4294967295) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 1, i64* %storemerge.reg2mem br i1 %38, label LBL_3, label LBL_4 LBL_3: %39 = add i64 %3, 56 %40 = call i64 @FUNC(i64 %39, i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 %0, { 0, 3, 2, 1, 6, 5, 4, 7, 8 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
tilegx_cpu_class_init_17074
tilegx_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 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198711, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 } }
1
CompRealVul
init_die_291
init_die
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg3 to i32 %4 = call i64* @calloc(i32 4, i32 %3) %5 = ptrtoint i64* %4 to i64 store i64 %5, i64* %arg1, align 8 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 %arg2, i64* %7, align 8 %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i64* store i64 %arg3, i64* %9, align 8 %10 = add i64 %2, 24 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
nf_ct_delete_from_lists_18230
nf_ct_delete_from_lists
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = inttoptr i64 %0 to i32* %4 = load i32, i32* %3, align 4 %5 = add i32 %4, 1 store i32 %5, i32* %3, align 4 %6 = call i64 @FUNC(i64 %arg1) %7 = add i64 %0, 8 %8 = call i64 @FUNC(i64 %arg1, i64 %7) %9 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %9 }
1
CompRealVul
dvbsub_probe_15674
dvbsub_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem34 = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem32 = alloca i32 %sv_1.011.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge4.lcssa.reg2mem = alloca i32 %.reg2mem30 = alloca i64 %storemerge4720.reg2mem = alloca i32 %sv_0.113.reg2mem = alloca i32 %storemerge214.reg2mem = alloca i32 %.reg2mem28 = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_13.thread, label LBL_1 LBL_1: %5 = ptrtoint i64* %sv_2 to i64 %6 = sext i32 %3 to i64 %7 = add i64 %6, %0 %8 = add i64 %5, -70 %9 = add i64 %5, -54 store i32 %3, i32* %.reg2mem store i64 0, i64* %.reg2mem28 store i32 0, i32* %storemerge214.reg2mem store i32 0, i32* %sv_0.113.reg2mem br label LBL_2 LBL_2: %sv_0.113.reload = load i32, i32* %sv_0.113.reg2mem %storemerge214.reload = load i32, i32* %storemerge214.reg2mem %.reload29 = load i64, i64* %.reg2mem28 %.reload = load i32, i32* %.reg2mem %10 = add i64 %.reload29, %0 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 15 %14 = icmp eq i1 %13, false store i32 %.reload, i32* %.reg2mem32 store i32 %sv_0.113.reload, i32* %sv_0.0.reg2mem br i1 %14, label LBL_12, label LBL_3 LBL_3: %15 = add i64 %10, 6 %16 = icmp ugt i64 %7, %15 store i32 0, i32* %storemerge4720.reg2mem store i64 %10, i64* %.reg2mem30 store i32 0, i32* %storemerge4.lcssa.reg2mem br i1 %16, label LBL_4, label LBL_9 LBL_4: %.reload31 = load i64, i64* %.reg2mem30 %storemerge4720.reload = load i32, i32* %storemerge4720.reg2mem %17 = add i64 %.reload31, 1 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = add i64 %.reload31, 4 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = add i64 %.reload31, 5 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp eq i8 %19, -128 br i1 %26, label LBL_7, label LBL_5 LBL_5: %.off = add i8 %19, -16 %27 = icmp ugt i8 %.off, 4 store i32 %storemerge4720.reload, i32* %storemerge4.lcssa.reg2mem br i1 %27, label LBL_9, label LBL_6 LBL_6: %28 = zext i8 %19 to i64 %29 = add i64 %8, %28 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = add i8 %31, 1 store i8 %32, i8* %30, align 1 br label LBL_7 LBL_7: %33 = zext i8 %22 to i64 %34 = mul i64 %33, 256 %35 = zext i8 %25 to i64 %36 = or i64 %34, %35 %37 = add i64 %.reload31, 6 %38 = add i64 %37, %36 %39 = add i32 %storemerge4720.reload, 1 %40 = add i64 %38, 6 %41 = icmp ugt i64 %7, %40 store i32 %39, i32* %storemerge4.lcssa.reg2mem br i1 %41, label LBL_7.dec_label_pc_4011a5_crit_edge, label LBL_9 LBL_8: %42 = inttoptr i64 %38 to i8* %.pre = load i8, i8* %42, align 1 %43 = icmp eq i8 %.pre, 15 %44 = icmp eq i1 %43, false store i32 %39, i32* %storemerge4720.reg2mem store i64 %38, i64* %.reg2mem30 store i32 %39, i32* %storemerge4.lcssa.reg2mem br i1 %44, label LBL_9, label LBL_4 LBL_9: %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32 255, i32* %sv_1.011.reg2mem br label LBL_10 LBL_10: %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %45 = add nuw nsw i64 %9, %indvars.iv.reload %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = zext i8 %47 to i32 %49 = sub i32 %sv_1.011.reload, %48 %50 = xor i32 %49, -2147483648 %51 = and i32 %50, %sv_1.011.reload %52 = icmp slt i32 %51, 0 %53 = icmp eq i32 %49, 0 %54 = icmp slt i32 %49, 0 %55 = icmp ne i1 %54, %52 %56 = or i1 %53, %55 %57 = select i1 %56, i32 %sv_1.011.reload, i32 %48 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %57, i32* %sv_1.011.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %58 = icmp ne i32 %57, 0 %59 = icmp sgt i32 %storemerge4.lcssa.reload, %sv_0.113.reload %or.cond = icmp eq i1 %59, %58 %spec.select = select i1 %or.cond, i32 %storemerge4.lcssa.reload, i32 %sv_0.113.reload %.pre19 = load i32, i32* %2, align 4 store i32 %.pre19, i32* %.reg2mem32 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %60 = add i32 %storemerge214.reload, 1 %61 = zext i32 %.reload33 to i64 %62 = sext i32 %60 to i64 %63 = icmp slt i64 %62, %61 store i32 %.reload33, i32* %.reg2mem store i64 %62, i64* %.reg2mem28 store i32 %60, i32* %storemerge214.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.113.reg2mem br i1 %63, label LBL_2, label LBL_13 LBL_13: %64 = icmp slt i32 %sv_0.0.reload, 6 store i64 100, i64* %.reg2mem34 br i1 %64, label LBL_13.thread, label %65 LBL_14: store i64 0, i64* %.reg2mem34 br label %65 uselistorder i32 %.reload33, { 1, 0 } uselistorder i32 %57, { 1, 0 } uselistorder i32 %49, { 1, 2, 0 } uselistorder i32 %sv_1.011.reload, { 1, 2, 0 } uselistorder i32 %39, { 1, 2, 0 } uselistorder i64 %38, { 0, 2, 1 } uselistorder i32 %storemerge4720.reload, { 1, 0 } uselistorder i64 %.reload31, { 3, 1, 2, 0 } uselistorder i32 %sv_0.113.reload, { 1, 2, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i32 %3, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem28, { 1, 0, 2 } uselistorder i32* %storemerge214.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.113.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4720.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem30, { 2, 0, 1 } uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.011.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem34, { 0, 2, 1 } uselistorder i64 6, { 2, 1, 0 } uselistorder i32 0, { 8, 5, 6, 7, 0, 1, 2, 3, 4 } uselistorder label %65, { 1, 0 } uselistorder label LBL_13.thread, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
WildMidi_Open_11820
WildMidi_Open
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 store i32 441668941, i32* %sv_2, align 4 store i32 1297239878, i32* %sv_1, align 4 %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 66, i64 1, i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %4 = icmp eq i64 %arg1, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 69, i64 2, i64 ptrtoint ([16 x i8]* @gv_1 to i64), i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_4: %7 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_3) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_17 LBL_5: %10 = inttoptr i64 %7 to i64* %11 = call i32 @memcmp(i64* %10, i64* bitcast ([9 x i8]* @gv_2 to i64*), i32 8) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = load i32, i32* %sv_3, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %7, i64 %15) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_14 LBL_7: %17 = call i32 @memcmp(i64* %10, i64* bitcast ([19 x i8]* @gv_3 to i64*), i32 18) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_9, label LBL_8 LBL_8: %20 = load i32, i32* %sv_3, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %7, i64 %21) store i64 %22, i64* %sv_0.0.reg2mem br label LBL_14 LBL_9: %23 = bitcast i32* %sv_2 to i64* %24 = call i32 @memcmp(i64* %10, i64* nonnull %23, i32 4) %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_11, label LBL_10 LBL_10: %27 = load i32, i32* %sv_3, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %7, i64 %28) store i64 %29, i64* %sv_0.0.reg2mem br label LBL_14 LBL_11: %30 = bitcast i32* %sv_1 to i64* %31 = call i32 @memcmp(i64* %10, i64* nonnull %30, i32 4) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false %34 = load i32, i32* %sv_3, align 4 %35 = zext i32 %34 to i64 br i1 %33, label LBL_13, label LBL_12 LBL_12: %36 = call i64 @FUNC(i64 %7, i64 %35) store i64 %36, i64* %sv_0.0.reg2mem br label LBL_14 LBL_13: %37 = call i64 @FUNC(i64 %7, i64 %35) store i64 %37, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem call void @free(i64* %10) %38 = icmp eq i64 %sv_0.0.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_17, label LBL_15 LBL_15: %39 = call i64 @FUNC(i64 %sv_0.0.reload) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %41, label LBL_17, label LBL_16 LBL_16: %42 = call i64 @FUNC(i64 %sv_0.0.reload) 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 %sv_0.0.reload, { 3, 0, 1, 2 } uselistorder i64 %35, { 1, 0 } uselistorder i64 %7, { 3, 4, 2, 1, 0, 5, 6 } uselistorder i32* %sv_3, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 2, 3, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64)* @_WM_GLOBAL_ERROR, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_17, { 2, 1, 0, 3, 4, 5 } }
1
CompRealVul
sdio_read_cis_7655
sdio_read_cis
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_1.4.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.3.reg2mem = alloca i64* %sv_1.2.reg2mem = alloca i64* %storemerge22.reg2mem = alloca i32 %r9.1.reg2mem = alloca i64 %sv_1.1.in.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i32 %sv_2.023.reg2mem = alloca i32 %indvars.iv77.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %4 = icmp eq i64* %arg2, null %5 = mul i64 %1, 32 %6 = and i64 %5, 8160 %.op.op.op = add nuw nsw i64 %6, 256 %7 = bitcast i32* %sv_5 to i64* %8 = select i1 %4, i64 256, i64 %.op.op.op store i64 0, i64* %indvars.iv77.reg2mem store i32 0, i32* %sv_2.023.reg2mem br label LBL_1 LBL_1: %indvars.iv77.reload = load i64, i64* %indvars.iv77.reg2mem %9 = add nuw nsw i64 %indvars.iv77.reload, %8 %10 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %9, i64 0, i64* nonnull %7) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_35 LBL_3: %sv_2.023.reload = load i32, i32* %sv_2.023.reg2mem %14 = load i32, i32* %sv_5, align 4 %15 = urem i32 %14, 256 %indvars.iv77.tr = trunc i64 %indvars.iv77.reload to i32 %16 = mul i32 %indvars.iv77.tr, 8 %17 = shl i32 %15, %16 %18 = or i32 %17, %sv_2.023.reload %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77.reload, 1 %19 = icmp ult i64 %indvars.iv.next78, 3 store i64 %indvars.iv.next78, i64* %indvars.iv77.reg2mem store i32 %18, i32* %sv_2.023.reg2mem br i1 %19, label LBL_1, label LBL_4 LBL_4: %20 = add i64 %2, 8 %storemerge8 = select i1 %4, i64 %3, i64 %20 %21 = inttoptr i64 %storemerge8 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = bitcast i32* %sv_4 to i64* %25 = ptrtoint i32* %sv_3 to i64 %26 = bitcast i32* %sv_3 to i64* %27 = add i64 %3, 8 %28 = inttoptr i64 %27 to i64* %29 = and i64 %3, 4294967295 %30 = inttoptr i64 %29 to i64* store i32 %18, i32* %sv_2.1.reg2mem store i64 %storemerge8, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %31 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %32 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %31) call void @exit(i32 1) unreachable LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %33 = zext i32 %sv_2.1.reload to i64 %34 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %33, i64 0, i64* nonnull %24) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_28, label LBL_8 LBL_8: %38 = load i32, i32* %sv_4, align 4 %39 = trunc i32 %38 to i8 %40 = icmp eq i8 %39, -1 br i1 %40, label LBL_29, label LBL_9 LBL_9: %41 = add i32 %sv_2.1.reload, 1 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %42, i64 0, i64* nonnull %26) %44 = trunc i64 %43 to i32 %45 = and i64 %43, 4294967295 %46 = icmp eq i32 %44, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_30, label LBL_10 LBL_10: %48 = load i32, i32* %sv_3, align 4 %49 = trunc i32 %48 to i8 %50 = icmp eq i8 %49, -1 br i1 %50, label LBL_31, label LBL_11 LBL_11: %51 = urem i32 %48, 256 %narrow = add nuw nsw i32 %51, 16 %52 = zext i32 %narrow to i64 %53 = call i64 @FUNC(i64 %52, i64 0) %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %55, label LBL_12, label LBL_35 LBL_12: %56 = add i32 %sv_2.1.reload, 2 %57 = load i32, i32* %sv_3, align 4 %58 = urem i32 %57, 256 %59 = icmp eq i32 %58, 0 store i64 %45, i64* %sv_1.1.in.reg2mem store i64 %25, i64* %r9.1.reg2mem br i1 %59, label LBL_17, label LBL_13 LBL_13: %60 = add i64 %53, 10 store i64 0, i64* %indvars.iv.reg2mem br label LBL_14 LBL_14: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %61 = add i64 %60, %indvars.iv.reload %62 = trunc i64 %indvars.iv.reload to i32 %63 = add i32 %56, %62 %64 = zext i32 %63 to i64 %65 = inttoptr i64 %61 to i64* %66 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %64, i64 0, i64* %65) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_16, label LBL_15 LBL_15: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %70 = load i32, i32* %sv_3, align 4 %71 = urem i32 %70, 256 %72 = zext i32 %71 to i64 %73 = icmp ult i64 %indvars.iv.next, %72 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %73, label LBL_14, label LBL_16 LBL_16: %74 = and i64 %66, 4294967295 store i64 %74, i64* %sv_1.1.in.reg2mem store i64 %61, i64* %r9.1.reg2mem br label LBL_17 LBL_17: %sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem %sv_1.1 = inttoptr i64 %sv_1.1.in.reload to i64* %75 = icmp eq i64 %sv_1.1.in.reload, 0 br i1 %75, label LBL_18, label LBL_19 LBL_18: %r9.1.reload = load i64, i64* %r9.1.reg2mem %76 = load i32, i32* %sv_4, align 4 %77 = trunc i32 %76 to i8 store i32 0, i32* %storemerge22.reg2mem br label LBL_20 LBL_19: %78 = call i64 @FUNC(i64 %53) store i64* %sv_1.1, i64** %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem store i64 %53, i64* %rdi.1.reg2mem br label LBL_32 LBL_20: %storemerge22.reload = load i32, i32* %storemerge22.reg2mem %79 = mul i32 %storemerge22.reload, 16 %80 = zext i32 %79 to i64 %81 = add i64 %80, ptrtoint (i8** @gv_2 to i64) %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 8 %84 = icmp eq i8 %83, %77 br i1 %84, label LBL_23, label LBL_21 LBL_21: %85 = icmp eq i32 %storemerge22.reload, 1 store i32 1, i32* %storemerge22.reg2mem br i1 %85, label LBL_22, label LBL_20 LBL_22: %86 = inttoptr i64 %53 to i64* store i64 0, i64* %86, align 8 %87 = add i64 %53, 8 %88 = inttoptr i64 %87 to i8* store i8 %77, i8* %88, align 1 %89 = load i32, i32* %sv_3, align 4 %90 = trunc i32 %89 to i8 %91 = add i64 %53, 9 %92 = inttoptr i64 %91 to i8* store i8 %90, i8* %92, align 1 %93 = inttoptr i64 %sv_0.0.reload to i64* store i64 %53, i64* %93, align 8 %94 = load i32, i32* %sv_3, align 4 %95 = load i32, i32* %sv_4, align 4 %96 = load i64, i64* %28, align 8 %97 = call i64 @FUNC(i64 %96) %98 = urem i32 %94, 256 %99 = zext i32 %98 to i64 %100 = urem i32 %95, 256 %101 = zext i32 %100 to i64 %102 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i64 %97, i64 %101, i64 %99, i64 0, i64 %r9.1.reload) store i64* %sv_1.1, i64** %sv_1.3.reg2mem store i64 %53, i64* %sv_0.1.reg2mem store i64 ptrtoint ([45 x i8]* @gv_3 to i64), i64* %rdi.0.reg2mem br label LBL_27 LBL_23: %103 = add i64 %80, add (i64 ptrtoint (i8** @gv_2 to i64), i64 1) %104 = inttoptr i64 %103 to i8* %105 = load i8, i8* %104, align 1 %106 = load i32, i32* %sv_3, align 4 %107 = trunc i32 %106 to i8 %108 = icmp ugt i8 %105, %107 br i1 %108, label LBL_24, label LBL_25 LBL_24: %109 = load i64, i64* %28, align 8 %110 = call i64 @FUNC(i64 %109) %111 = zext i8 %105 to i64 %112 = urem i32 %106, 256 %113 = zext i32 %112 to i64 %114 = urem i32 %76, 256 %115 = zext i32 %114 to i64 %116 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_4, i64 0, i64 0), i64 %110, i64 %115, i64 %113, i64 %111, i64 %r9.1.reload) store i64* inttoptr (i32 -22 to i64*), i64** %sv_1.2.reg2mem br label LBL_26 LBL_25: %117 = add i64 %80, add (i64 ptrtoint (i8** @gv_2 to i64), i64 8) %118 = inttoptr i64 %117 to i64* %119 = load i64, i64* %118, align 8 %120 = icmp eq i64 %119, 0 %spec.select = select i1 %120, i64* %sv_1.1, i64* %30 store i64* %spec.select, i64** %sv_1.2.reg2mem br label LBL_26 LBL_26: %sv_1.2.reload = load i64*, i64** %sv_1.2.reg2mem %121 = call i64 @FUNC(i64 %53) store i64* %sv_1.2.reload, i64** %sv_1.3.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %53, i64* %rdi.0.reg2mem br label LBL_27 LBL_27: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.3.reload = load i64*, i64** %sv_1.3.reg2mem %122 = load i32, i32* %sv_3, align 4 %123 = urem i32 %122, 256 %124 = add i32 %123, %56 %125 = ptrtoint i64* %sv_1.3.reload to i64 %126 = trunc i64 %125 to i32 %127 = icmp eq i32 %126, 0 store i32 %124, i32* %sv_2.1.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem store i64* %sv_1.3.reload, i64** %sv_1.4.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %127, label LBL_7, label LBL_32 LBL_28: %128 = and i64 %34, 4294967295 %129 = inttoptr i64 %128 to i64* store i64* %129, i64** %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem store i64 %3, i64* %rdi.1.reg2mem br label LBL_32 LBL_29: %130 = and i64 %34, 4294967295 %131 = inttoptr i64 %130 to i64* store i64* %131, i64** %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem store i64 %3, i64* %rdi.1.reg2mem br label LBL_32 LBL_30: %132 = inttoptr i64 %45 to i64* store i64* %132, i64** %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem store i64 %3, i64* %rdi.1.reg2mem br label LBL_32 LBL_31: %133 = inttoptr i64 %45 to i64* store i64* %133, i64** %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem store i64 %3, i64* %rdi.1.reg2mem br label LBL_32 LBL_32: %sv_1.4.reload = load i64*, i64** %sv_1.4.reg2mem br i1 %4, label LBL_34, label LBL_33 LBL_33: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %134 = inttoptr i64 %sv_0.2.reload to i64* store i64 %rdi.1.reload, i64* %134, align 8 br label LBL_34 LBL_34: %135 = ptrtoint i64* %sv_1.4.reload to i64 %136 = and i64 %135, 4294967295 store i64 %136, i64* %rax.0.reg2mem br label LBL_35 LBL_35: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_1.1, { 2, 1, 0 } uselistorder i64 %sv_1.1.in.reload, { 1, 0 } uselistorder i32 %56, { 1, 0 } uselistorder i64 %53, { 1, 8, 2, 4, 5, 6, 7, 0, 3, 9, 10 } uselistorder i64 %45, { 2, 1, 0 } uselistorder i64 %34, { 1, 0, 2 } uselistorder i32 %sv_2.1.reload, { 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 1, 2, 3, 5, 6, 4 } uselistorder i1 %4, { 1, 2, 0 } uselistorder i32* %sv_4, { 2, 1, 0, 3 } uselistorder i32* %sv_3, { 7, 6, 5, 4, 3, 0, 2, 8, 1 } uselistorder i64 %3, { 0, 1, 2, 3, 6, 7, 8, 5, 4, 9, 10 } uselistorder i64* %indvars.iv77.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.023.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.1.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge22.reg2mem, { 1, 0, 2 } uselistorder i64** %sv_1.3.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64** %sv_1.4.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 } uselistorder [45 x i8]* @gv_3, { 1, 0 } uselistorder i64 (i64)* @mmc_hostname, { 1, 0 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64*)* @mmc_io_rw_direct, { 3, 2, 1, 0 } uselistorder i32 0, { 3, 0, 4, 2, 5, 6, 7, 1 } uselistorder i64 256, { 1, 0 } uselistorder label LBL_35, { 1, 0, 2 } uselistorder label LBL_32, { 4, 3, 2, 1, 0, 5 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
silk_stabilize_lsf_1041
silk_stabilize_lsf
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.3.reg2mem = alloca i64 %rax.1.reg2mem = alloca i64 %storemerge.in55.reg2mem = alloca i64 %storemerge2156.reg2mem = alloca i64 %storemerge25.lcssa.reg2mem = alloca i32 %storemerge2558.reg2mem = alloca i32 %storemerge2461.reg2mem = alloca i64 %.reg2mem97 = alloca i32 %sv_0.381.reg2mem = alloca i64 %storemerge2682.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.078.reg2mem = alloca i32 %storemerge41.in79.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.075.reg2mem = alloca i32 %storemerge4476.reg2mem = alloca i64 %storemerge51.reg2mem = alloca i32 %storemerge52.reg2mem = alloca i32 %sv_3.163.reg2mem = alloca i32 %sv_0.164.reg2mem = alloca i64 %storemerge5065.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %rdx = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = add i64 %1, -2 %6 = bitcast i64* %rdx to i16* %7 = bitcast i64* %arg1 to i16* %8 = ashr exact i64 %sext, 31 %9 = add i64 %8, %0 %10 = inttoptr i64 %9 to i16* %11 = add i64 %8, %5 %12 = inttoptr i64 %11 to i16* %13 = trunc i64 %arg2 to i32 store i32 0, i32* %storemerge2682.reg2mem br label LBL_17 LBL_1: %sv_3.163.reload = load i32, i32* %sv_3.163.reg2mem %sv_0.164.reload = load i64, i64* %sv_0.164.reg2mem %storemerge5065.reload = load i64, i64* %storemerge5065.reg2mem %.reload = load i32, i32* %.reg2mem %14 = icmp eq i32 %.reload, 0 %.pre96 = mul i64 %storemerge5065.reload, 2 store i32 0, i32* %storemerge52.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = add i64 %.pre96, %5 %16 = inttoptr i64 %15 to i16* %17 = load i16, i16* %16, align 2 %18 = sext i16 %17 to i32 store i32 %18, i32* %storemerge52.reg2mem br label LBL_3 LBL_3: %storemerge52.reload = load i32, i32* %storemerge52.reg2mem %19 = icmp eq i32 %.reload, %3 store i32 32768, i32* %storemerge51.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %.pre96, %1 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = sext i16 %22 to i32 store i32 %23, i32* %storemerge51.reg2mem br label LBL_5 LBL_5: %storemerge51.reload = load i32, i32* %storemerge51.reg2mem %24 = sub nsw i32 %storemerge51.reload, %storemerge52.reload %25 = add i64 %.pre96, %0 %26 = inttoptr i64 %25 to i16* %27 = load i16, i16* %26, align 2 %28 = zext i16 %27 to i32 %29 = sub nsw i32 %24, %28 %30 = icmp slt i32 %29, %sv_3.163.reload %spec.select = select i1 %30, i32 %29, i32 %sv_3.163.reload %spec.select92 = select i1 %30, i64 %storemerge5065.reload, i64 %sv_0.164.reload %31 = mul i64 %storemerge5065.reload, 4294967296 %sext49 = add i64 %31, 4294967296 %32 = ashr exact i64 %sext49, 32 %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %3, %33 store i32 %33, i32* %.reg2mem store i64 %32, i64* %storemerge5065.reg2mem store i64 %spec.select92, i64* %sv_0.164.reg2mem store i32 %spec.select, i32* %sv_3.163.reg2mem br i1 %34, label LBL_6, label LBL_1 LBL_6: %35 = icmp eq i32 %spec.select, 0 br i1 %35, label LBL_36, label LBL_7 LBL_7: %36 = trunc i64 %spec.select92 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = load i16, i16* %6, align 8 store i16 %39, i16* %7, align 2 br label LBL_16 LBL_9: %40 = icmp eq i32 %36, %3 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_11 LBL_10: %42 = icmp sgt i32 %36, 0 store i64 0, i64* %storemerge4476.reg2mem store i32 0, i32* %sv_2.075.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %42, label LBL_12, label LBL_13 LBL_11: %43 = load i16, i16* %10, align 2 %44 = sub i16 -32768, %43 store i16 %44, i16* %12, align 2 br label LBL_16 LBL_12: %sv_2.075.reload = load i32, i32* %sv_2.075.reg2mem %storemerge4476.reload = load i64, i64* %storemerge4476.reg2mem %45 = mul i64 %storemerge4476.reload, 2 %46 = add i64 %45, %0 %47 = inttoptr i64 %46 to i16* %48 = load i16, i16* %47, align 2 %49 = zext i16 %48 to i32 %50 = add i32 %sv_2.075.reload, %49 %51 = mul i64 %storemerge4476.reload, 4294967296 %sext43 = add i64 %51, 4294967296 %52 = ashr exact i64 %sext43, 32 %53 = trunc i64 %52 to i32 %54 = icmp slt i32 %53, %36 store i64 %52, i64* %storemerge4476.reg2mem store i32 %50, i32* %sv_2.075.reg2mem store i32 %50, i32* %sv_2.0.lcssa.reg2mem br i1 %54, label LBL_12, label LBL_13 LBL_13: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sext29 = mul i64 %spec.select92, 4294967296 %55 = ashr exact i64 %sext29, 31 %56 = add i64 %55, %0 %57 = inttoptr i64 %56 to i16* %58 = load i16, i16* %57, align 2 %59 = icmp sgt i32 %13, %36 store i64 %sext, i64* %storemerge41.in79.reg2mem store i32 32768, i32* %sv_1.078.reg2mem store i32 32768, i32* %sv_1.0.lcssa.reg2mem br i1 %59, label LBL_14, label LBL_15 LBL_14: %sv_1.078.reload = load i32, i32* %sv_1.078.reg2mem %storemerge41.in79.reload = load i64, i64* %storemerge41.in79.reg2mem %60 = ashr exact i64 %storemerge41.in79.reload, 31 %61 = add i64 %60, %0 %62 = inttoptr i64 %61 to i16* %63 = load i16, i16* %62, align 2 %64 = zext i16 %63 to i32 %65 = sub i32 %sv_1.078.reload, %64 %sext40 = add i64 %storemerge41.in79.reload, -4294967296 %66 = udiv i64 %sext40, 4294967296 %67 = trunc i64 %66 to i32 %68 = icmp sgt i32 %67, %36 store i64 %sext40, i64* %storemerge41.in79.reg2mem store i32 %65, i32* %sv_1.078.reg2mem store i32 %65, i32* %sv_1.0.lcssa.reg2mem br i1 %68, label LBL_14, label LBL_15 LBL_15: %69 = udiv i16 %58, 2 %70 = zext i16 %69 to i32 %71 = add i32 %sv_2.0.lcssa.reload, %70 %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %72 = sub i32 %sv_1.0.lcssa.reload, %70 %73 = add i64 %55, %5 %74 = inttoptr i64 %73 to i16* %75 = load i16, i16* %74, align 2 %76 = add i64 %55, %1 %77 = inttoptr i64 %76 to i16* %78 = load i16, i16* %77, align 2 %79 = sext i16 %78 to i32 %80 = sext i16 %75 to i32 %81 = add nsw i32 %79, %80 %82 = ashr i32 %81, 1 %83 = urem i32 %81, 2 %84 = add nsw i32 %83, %82 %85 = sub i32 %84, %71 %86 = xor i32 %84, %71 %87 = xor i32 %85, %84 %88 = and i32 %87, %86 %89 = icmp slt i32 %88, 0 %90 = icmp slt i32 %85, 0 %91 = icmp eq i1 %90, %89 %92 = select i1 %91, i32 %84, i32 %71 %93 = sub i32 %72, %92 %94 = xor i32 %92, %72 %95 = xor i32 %93, %72 %96 = and i32 %95, %94 %97 = icmp slt i32 %96, 0 %98 = icmp eq i32 %93, 0 %99 = icmp slt i32 %93, 0 %100 = icmp ne i1 %99, %97 %101 = or i1 %98, %100 %102 = select i1 %101, i32 %72, i32 %92 %103 = trunc i32 %102 to i16 %104 = sub i16 %103, %69 store i16 %104, i16* %74, align 2 %105 = load i16, i16* %57, align 2 %106 = add i16 %104, %105 store i16 %106, i16* %77, align 2 br label LBL_16 LBL_16: %107 = add nuw nsw i32 %storemerge2682.reload, 1 %108 = icmp ult i32 %107, 20 store i32 %107, i32* %storemerge2682.reg2mem store i64 %spec.select92, i64* %sv_0.381.reg2mem br i1 %108, label LBL_17, label LBL_18 LBL_17: %sv_0.381.reload = load i64, i64* %sv_0.381.reg2mem %storemerge2682.reload = load i32, i32* %storemerge2682.reg2mem store i32 0, i32* %.reg2mem store i64 0, i64* %storemerge5065.reg2mem store i64 %sv_0.381.reload, i64* %sv_0.164.reg2mem store i32 0, i32* %sv_3.163.reg2mem br i1 %4, label LBL_36, label LBL_1 LBL_18: %109 = icmp sgt i32 %3, 1 br i1 %109, label LBL_19, label LBL_25 LBL_19: %110 = add i64 %1, 2 store i32 1, i32* %.reg2mem97 store i64 1, i64* %storemerge2461.reg2mem br label LBL_20 LBL_20: %storemerge2461.reload = load i64, i64* %storemerge2461.reg2mem %.reload98 = load i32, i32* %.reg2mem97 %111 = mul i64 %storemerge2461.reload, 2 %112 = add i64 %111, %1 %113 = inttoptr i64 %112 to i16* %114 = load i16, i16* %113, align 2 %storemerge2557 = add i32 %.reload98, -1 %115 = icmp slt i32 %storemerge2557, 0 store i32 %storemerge2557, i32* %storemerge25.lcssa.reg2mem br i1 %115, label LBL_24, label LBL_21 LBL_21: %116 = sext i16 %114 to i64 store i32 %storemerge2557, i32* %storemerge2558.reg2mem br label LBL_23 LBL_22: %117 = add i64 %121, %110 %118 = inttoptr i64 %117 to i16* store i16 %124, i16* %118, align 2 %storemerge25 = add i32 %storemerge2558.reload, -1 %119 = icmp slt i32 %storemerge25, 0 store i32 %storemerge25, i32* %storemerge2558.reg2mem store i32 -1, i32* %storemerge25.lcssa.reg2mem br i1 %119, label LBL_24, label LBL_23 LBL_23: %storemerge2558.reload = load i32, i32* %storemerge2558.reg2mem %120 = sext i32 %storemerge2558.reload to i64 %121 = mul i64 %120, 2 %122 = add i64 %121, %1 %123 = inttoptr i64 %122 to i16* %124 = load i16, i16* %123, align 2 %125 = sext i16 %124 to i64 %126 = and i64 %125, 4294967295 %127 = icmp sgt i64 %126, %116 store i32 %storemerge2558.reload, i32* %storemerge25.lcssa.reg2mem br i1 %127, label LBL_22, label LBL_24 LBL_24: %storemerge25.lcssa.reload = load i32, i32* %storemerge25.lcssa.reg2mem %128 = sext i32 %storemerge25.lcssa.reload to i64 %129 = mul i64 %128, 2 %130 = add i64 %129, %110 %131 = inttoptr i64 %130 to i16* store i16 %114, i16* %131, align 2 %132 = mul i64 %storemerge2461.reload, 4294967296 %sext23 = add i64 %132, 4294967296 %133 = ashr exact i64 %sext23, 32 %134 = trunc i64 %133 to i32 %135 = icmp slt i32 %134, %3 store i32 %134, i32* %.reg2mem97 store i64 %133, i64* %storemerge2461.reg2mem br i1 %135, label LBL_20, label LBL_25 LBL_25: %136 = bitcast i64* %rdi to i16* %137 = load i16, i16* %136, align 8 %138 = sext i16 %137 to i64 %139 = load i16, i16* %6, align 8 %140 = zext i16 %139 to i64 %141 = icmp slt i64 %138, %140 br i1 %141, label LBL_26, label LBL_27 LBL_26: store i16 %139, i16* %7, align 2 br label LBL_27 LBL_27: store i64 1, i64* %storemerge2156.reg2mem br i1 %109, label LBL_28, label LBL_29 LBL_28: %storemerge2156.reload = load i64, i64* %storemerge2156.reg2mem %142 = mul i64 %storemerge2156.reload, 2 %143 = add i64 %142, %5 %144 = inttoptr i64 %143 to i16* %145 = load i16, i16* %144, align 2 %146 = add i64 %142, %0 %147 = inttoptr i64 %146 to i16* %148 = load i16, i16* %147, align 2 %149 = zext i16 %148 to i64 %150 = sext i16 %145 to i64 %151 = add nsw i64 %149, %150 %152 = trunc i64 %151 to i32 %153 = add i32 %152, -32767 %154 = sub i32 32766, %152 %155 = and i32 %154, %152 %156 = icmp slt i32 %155, 0 %157 = icmp eq i32 %153, 0 %158 = icmp slt i32 %153, 0 %159 = icmp ne i1 %158, %156 %160 = or i1 %157, %159 %161 = and i64 %151, 4294967295 %162 = select i1 %160, i64 %161, i64 32767 %163 = add i64 %142, %1 %164 = inttoptr i64 %163 to i16* %165 = load i16, i16* %164, align 2 %166 = trunc i64 %162 to i32 %167 = sext i16 %165 to i32 %168 = sub i32 %166, %167 %169 = xor i32 %166, %167 %170 = xor i32 %168, %166 %171 = and i32 %170, %169 %172 = icmp slt i32 %171, 0 %173 = icmp slt i32 %168, 0 %174 = icmp eq i1 %173, %172 %175 = trunc i64 %162 to i16 %176 = select i1 %174, i16 %175, i16 %165 store i16 %176, i16* %164, align 2 %177 = mul i64 %storemerge2156.reload, 4294967296 %sext20 = add i64 %177, 4294967296 %178 = ashr exact i64 %sext20, 32 %179 = trunc i64 %178 to i32 %180 = icmp slt i32 %179, %3 store i64 %178, i64* %storemerge2156.reg2mem br i1 %180, label LBL_28, label LBL_29 LBL_29: %181 = load i16, i16* %12, align 2 %182 = sext i16 %181 to i64 %183 = and i64 %182, 4294967295 %184 = load i16, i16* %10, align 2 %185 = zext i16 %184 to i64 %186 = sub nsw i64 32768, %185 %187 = and i64 %186, 4294967295 %188 = icmp ugt i64 %183, %187 br i1 %188, label LBL_30, label LBL_31 LBL_30: %189 = sub i16 -32768, %184 store i16 %189, i16* %12, align 2 br label LBL_31 LBL_31: %190 = add nsw i64 %2, 4294967294 %191 = and i64 %190, 4294967295 %192 = trunc i64 %190 to i32 %193 = icmp slt i32 %192, 0 %194 = icmp eq i1 %193, false store i64 %191, i64* %rax.3.reg2mem br i1 %194, label LBL_32, label LBL_37 LBL_32: %sext8 = mul i64 %190, 4294967296 store i64 %sext8, i64* %storemerge.in55.reg2mem br label LBL_33 LBL_33: %storemerge.in55.reload = load i64, i64* %storemerge.in55.reg2mem %195 = ashr exact i64 %storemerge.in55.reload, 31 %196 = add i64 %195, %1 %197 = inttoptr i64 %196 to i16* %198 = load i16, i16* %197, align 2 %199 = sext i16 %198 to i64 %200 = and i64 %199, 4294967295 %201 = add nsw i64 %195, 2 %202 = add i64 %201, %1 %203 = inttoptr i64 %202 to i16* %204 = load i16, i16* %203, align 2 %205 = add i64 %201, %0 %206 = inttoptr i64 %205 to i16* %207 = load i16, i16* %206, align 2 %208 = sext i16 %204 to i64 %209 = zext i16 %207 to i64 %210 = sub nsw i64 %208, %209 %211 = and i64 %210, 4294967295 %212 = icmp ugt i64 %200, %211 store i64 %200, i64* %rax.1.reg2mem br i1 %212, label LBL_34, label LBL_35 LBL_34: %213 = sub i16 %204, %207 store i16 %213, i16* %197, align 2 store i64 %196, i64* %rax.1.reg2mem br label LBL_35 LBL_35: %rax.1.reload = load i64, i64* %rax.1.reg2mem %sext15 = add i64 %storemerge.in55.reload, -4294967296 %214 = udiv i64 %sext15, 4294967296 %215 = trunc i64 %214 to i32 %216 = icmp slt i32 %215, 0 %217 = icmp eq i1 %216, false store i64 %sext15, i64* %storemerge.in55.reg2mem store i64 %rax.1.reload, i64* %rax.3.reg2mem br i1 %217, label LBL_33, label LBL_37 LBL_36: %rax.0.le = and i64 %2, 4294967295 store i64 %rax.0.le, i64* %rax.3.reg2mem br label LBL_37 LBL_37: %rax.3.reload = load i64, i64* %rax.3.reg2mem ret i64 %rax.3.reload uselistorder i64 %195, { 1, 0 } uselistorder i32 %168, { 1, 0 } uselistorder i32 %153, { 1, 0 } uselistorder i64 %142, { 2, 1, 0 } uselistorder i64 %storemerge2156.reload, { 1, 0 } uselistorder i16 %124, { 1, 0 } uselistorder i32 %storemerge2557, { 1, 0, 2 } uselistorder i64 %storemerge2461.reload, { 1, 0 } uselistorder i32 %93, { 1, 2, 0 } uselistorder i32 %92, { 1, 0, 2 } uselistorder i32 %85, { 1, 0 } uselistorder i32 %84, { 2, 0, 1, 3 } uselistorder i32 %72, { 2, 0, 1, 3 } uselistorder i32 %71, { 2, 0, 1 } uselistorder i32 %70, { 1, 0 } uselistorder i16 %69, { 1, 0 } uselistorder i64 %storemerge4476.reload, { 1, 0 } uselistorder i32 %36, { 2, 1, 3, 0, 4, 5 } uselistorder i64 %spec.select92, { 0, 2, 3, 1 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i64 %.pre96, { 2, 1, 0 } uselistorder i64 %storemerge5065.reload, { 2, 0, 1 } uselistorder i32 %sv_3.163.reload, { 1, 0 } uselistorder i16* %12, { 1, 0, 2 } uselistorder i32 %3, { 2, 0, 1, 3, 6, 5, 4 } uselistorder i64 %sext, { 0, 2, 1 } uselistorder i64 %1, { 0, 1, 2, 3, 4, 8, 5, 6, 7 } uselistorder i32* %.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge5065.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.164.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_3.163.reg2mem, { 1, 2, 0 } uselistorder i32* %storemerge52.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge51.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4476.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.075.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge41.in79.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.078.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem97, { 1, 0, 2 } uselistorder i64* %storemerge2461.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2156.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in55.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.3.reg2mem, { 0, 3, 1, 2 } uselistorder i32 -1, { 0, 2, 1 } uselistorder i64 -4294967296, { 1, 0 } uselistorder i16 -32768, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 31, { 3, 0, 1, 2 } uselistorder i64 32, { 3, 2, 1, 0, 4 } uselistorder i64 4294967296, { 7, 0, 12, 1, 11, 2, 8, 3, 10, 4, 9, 5, 6 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_37, { 2, 0, 1 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_33, { 1, 0 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_24, { 1, 0, 2 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
fanout_release_5915
fanout_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_5, label LBL_1 LBL_1: store i64 0, i64* %3, align 8 %6 = call i64 @FUNC(i64 %4) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %4, 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %4, 24 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %4) %14 = call i64 @FUNC(i64 %4) br label LBL_3 LBL_3: %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %17, i64 4198924) br label LBL_5 LBL_5: %20 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %20 uselistorder i64 %4, { 3, 2, 1, 0, 4, 5 } uselistorder i64 (i64)* @kfree, { 1, 0 } }
0
CompRealVul
index_entry_size_9606
index_entry_size
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg2, 0 %1 = add i64 %arg1, 8 %2 = and i64 %1, -8 %3 = add i64 %arg1, 1 %4 = add i64 %3, %arg2 %rax.0 = select i1 %0, i64 %2, i64 %4 ret i64 %rax.0 }
0
CompRealVul
x25_new_lci_10247
x25_new_lci
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) store i32 1, i32* %sv_0.0.reg2mem br label LBL_2 LBL_1: %2 = call i64 @FUNC(i64 %7) %3 = add i32 %sv_0.0.reload, 1 %4 = icmp eq i32 %sv_0.0.reload, 4095 %5 = icmp eq i1 %4, false store i32 %3, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %6 = zext i32 %sv_0.0.reload to i64 %7 = call i64 @FUNC(i64 %6, i64 %0) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %9, label LBL_1, label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %10 = call i64 @FUNC(i64* nonnull @gv_0) %11 = zext i32 %sv_0.1.reload to i64 ret i64 %11 uselistorder i64 %7, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 0, 1, 3, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
ff_eval_refl_391
ff_eval_refl
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge69.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = ptrtoint i64* %sv_2 to i64 %6 = add i64 %5, -144 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 2 %8 = add i64 %7, %4 %9 = inttoptr i64 %8 to i16* %10 = load i16, i16* %9, align 2 %11 = sext i16 %10 to i32 %12 = mul i64 %indvars.iv.reload, 4 %13 = add i64 %6, %12 %14 = inttoptr i64 %13 to i32* store i32 %11, i32* %14, align 4 %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: %15 = ptrtoint i64* %arg1 to i64 %16 = add i64 %15, 36 %17 = ptrtoint i64* %sv_0 to i64 %18 = add i64 %17, 36 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = inttoptr i64 %16 to i32* store i32 %20, i32* %21, align 4 %22 = load i32, i32* %19, align 4 %23 = add i32 %22, 4096 %24 = icmp ult i32 %23, 8192 br i1 %24, label LBL_3, label LBL_4 LBL_3: %25 = bitcast i64* %sv_1 to i32* %26 = bitcast i64* %sv_0 to i32* %27 = ptrtoint i64* %sv_1 to i64 store i32 8, i32* %storemerge10.reg2mem br label LBL_5 LBL_4: %28 = ptrtoint i64* %arg3 to i64 %29 = call i64 @FUNC(i64 %28, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %30 = sext i32 %storemerge10.reload to i64 %31 = mul i64 %30, 4 %32 = add nsw i64 %31, 4 %33 = add i64 %32, %17 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %35, %35 %37 = ashr i32 %36, 12 %38 = sub nsw i32 4096, %37 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %spec.select = select i1 %40, i32 %38, i32 -2 %41 = udiv i32 16777216, %spec.select %42 = zext i32 %41 to i64 %43 = add i64 %32, %15 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %storemerge69.reg2mem br label LBL_6 LBL_6: %storemerge69.reload = load i32, i32* %storemerge69.reg2mem %45 = sext i32 %storemerge69.reload to i64 %46 = mul i64 %45, 4 %47 = add i64 %46, %17 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = load i32, i32* %44, align 4 %51 = sub i32 %storemerge10.reload, %storemerge69.reload %52 = sext i32 %51 to i64 %53 = mul i64 %52, 4 %54 = add i64 %53, %17 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = mul i32 %56, %50 %58 = ashr i32 %57, 12 %59 = sub i32 %49, %58 %60 = mul i32 %59, %41 %61 = sext i32 %60 to i64 %62 = sext i32 %59 to i64 %63 = mul nsw i64 %62, %42 %64 = icmp eq i64 %63, %61 store i64 1, i64* %rax.0.reg2mem br i1 %64, label LBL_7, label LBL_10 LBL_7: %65 = add i64 %46, %27 %66 = ashr i32 %60, 12 %67 = inttoptr i64 %65 to i32* store i32 %66, i32* %67, align 4 %68 = add nuw i32 %storemerge69.reload, 1 %69 = icmp ugt i32 %storemerge10.reload, %storemerge69.reload store i32 %68, i32* %storemerge69.reg2mem br i1 %69, label LBL_6, label LBL_8 LBL_8: %70 = add i64 %31, %27 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = add i32 %72, 4096 %74 = icmp ult i32 %73, 8192 store i64 1, i64* %rax.0.reg2mem br i1 %74, label LBL_9, label LBL_10 LBL_9: %75 = add i64 %31, %15 %76 = inttoptr i64 %75 to i32* store i32 %72, i32* %76, align 4 %77 = load i32, i32* %25, align 8 %78 = load i32, i32* %26, align 8 store i32 %78, i32* %25, align 8 store i32 %77, i32* %26, align 8 %79 = add i32 %storemerge10.reload, -1 %80 = icmp slt i32 %79, 0 %81 = icmp eq i1 %80, false store i32 %79, i32* %storemerge10.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %81, label LBL_5, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %59, { 1, 0 } uselistorder i64 %46, { 1, 0 } uselistorder i32 %storemerge69.reload, { 3, 0, 1, 2 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %31, { 2, 1, 0 } uselistorder i32 %storemerge10.reload, { 2, 3, 0, 1 } uselistorder i32* %26, { 1, 0 } uselistorder i32* %25, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge69.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32 4096, { 1, 0, 2 } uselistorder i64 4, { 0, 1, 4, 2, 3 } }
0
CompRealVul
read_len_table_15145
read_len_table
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.11.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %sv_0.13.reg2mem br label LBL_1 LBL_1: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %6 = call i64 @FUNC(i64 %4, i64 3) %7 = trunc i64 %6 to i32 %8 = call i64 @FUNC(i64 %4, i64 5) %9 = icmp eq i32 %7, 0 %10 = icmp eq i1 %9, false store i32 %7, i32* %sv_1.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %4, i64 8) %12 = trunc i64 %11 to i32 store i32 %12, i32* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %13 = add i32 %sv_1.0.reload, %sv_0.13.reload %14 = icmp slt i32 %13, 257 br i1 %14, label LBL_4, label LBL_6 LBL_4: %15 = icmp eq i32 %sv_1.0.reload, 0 %16 = icmp eq i1 %15, false store i32 %sv_0.13.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %16, label LBL_5, label LBL_8 LBL_5: %17 = trunc i64 %8 to i8 store i32 %sv_0.13.reload, i32* %sv_0.02.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.11.reg2mem br label LBL_7 LBL_6: %18 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %sv_1.11.reload = load i32, i32* %sv_1.11.reg2mem %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %19 = add i32 %sv_1.11.reload, -1 %20 = add i32 %sv_0.02.reload, 1 %21 = sext i32 %sv_0.02.reload to i64 %22 = add i64 %21, %5 %23 = inttoptr i64 %22 to i8* store i8 %17, i8* %23, align 1 %24 = icmp eq i32 %19, 0 %25 = icmp eq i1 %24, false store i32 %20, i32* %sv_0.02.reg2mem store i32 %19, i32* %sv_1.11.reg2mem store i32 %20, i32* %sv_0.0.lcssa.reg2mem br i1 %25, label LBL_7, label LBL_8 LBL_8: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %26 = icmp slt i32 %sv_0.0.lcssa.reload, 256 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.13.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %26, label LBL_1, label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_0.02.reload, { 1, 0 } uselistorder i32 %sv_0.13.reload, { 1, 0, 2 } uselistorder i64 %4, { 0, 2, 1 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.11.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
tg3_get_5752_nvram_info_8710
tg3_get_5752_nvram_info
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 1) %2 = and i64 %1, 134217728 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 1) br label LBL_2 LBL_2: %5 = trunc i64 %1 to i32 %6 = urem i32 %5, 256 %7 = icmp eq i32 %6, 96 br i1 %7, label LBL_13, label LBL_3 LBL_3: %8 = icmp ult i32 %6, 97 br i1 %8, label LBL_4, label LBL_14 LBL_4: %9 = icmp eq i32 %6, 80 br i1 %9, label LBL_13, label LBL_5 LBL_5: %10 = icmp ult i32 %6, 81 br i1 %10, label LBL_6, label LBL_14 LBL_6: %11 = icmp eq i32 %6, 64 br i1 %11, label LBL_13, label LBL_7 LBL_7: %12 = icmp ult i32 %6, 65 br i1 %12, label LBL_8, label LBL_14 LBL_8: %13 = icmp eq i32 %6, 48 br i1 %13, label LBL_12, label LBL_9 LBL_9: %14 = icmp ult i32 %6, 49 br i1 %14, label LBL_10, label LBL_14 LBL_10: %15 = icmp ne i32 %6, 16 %16 = icmp eq i32 %6, 32 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 br i1 %or.cond, label LBL_14, label LBL_11 LBL_11: %18 = bitcast i64* %arg1 to i32* store i32 1, i32* %18, align 4 %19 = call i64 @FUNC(i64 %0, i64 2) br label LBL_14 LBL_12: %20 = bitcast i64* %arg1 to i32* store i32 1, i32* %20, align 4 %21 = call i64 @FUNC(i64 %0, i64 2) %22 = call i64 @FUNC(i64 %0, i64 4) br label LBL_14 LBL_13: %23 = bitcast i64* %arg1 to i32* store i32 2, i32* %23, align 4 %24 = call i64 @FUNC(i64 %0, i64 2) %25 = call i64 @FUNC(i64 %0, i64 4) br label LBL_14 LBL_14: %26 = call i64 @FUNC(i64 %0, i64 4) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_16, label LBL_15 LBL_15: %29 = and i64 %1, 4294967295 %30 = call i64 @FUNC(i64 %0, i64 %29) store i64 %30, i64* %storemerge.reg2mem br label LBL_17 LBL_16: %31 = add i64 %0, 4 %32 = inttoptr i64 %31 to i32* store i32 512, i32* %32, align 4 %33 = urem i64 %1, 2147483648 %34 = call i64 @FUNC(i64 1, i64 %33) store i64 %34, i64* %storemerge.reg2mem br label LBL_17 LBL_17: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 0, 1, 3, 2 } uselistorder i64 %0, { 5, 4, 6, 8, 7, 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 3, 0, 1, 2 } uselistorder i64 (i64, i64)* @tg3_flag_set, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_14, { 5, 6, 7, 0, 1, 2, 3, 4 } }
0
CompRealVul
s390_virtio_register_5137
s390_virtio_register
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = call i64 @FUNC(i64* nonnull @gv_1) %2 = call i64 @FUNC(i64* nonnull @gv_2) ret i64 %2 uselistorder i64 (i64*)* @s390_virtio_bus_register_withprop, { 2, 1, 0 } }
0
CompRealVul
WriteOneMLUC_10832
WriteOneMLUC
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = icmp eq i64* %arg5, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = mul i64 %arg4, 4 %4 = and i64 %3, 17179869180 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %9, %4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %12 = ptrtoint i64* %arg2 to i64 %13 = ptrtoint i64* %arg1 to i64 %14 = ptrtoint i64* %arg5 to i64 %15 = trunc i64 %12 to i32 %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = mul i64 %arg4, 4 %20 = and i64 %19, 17179869180 %21 = add i64 %18, %20 %22 = trunc i64 %arg6 to i32 %23 = sub i32 %15, %22 %24 = inttoptr i64 %21 to i32* store i32 %23, i32* %24, align 4 %25 = call i64 @FUNC(i64 %13, i64 %12, i64 %14, i64 1) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_3, label LBL_4 LBL_3: %29 = add i64 %20, %12 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, 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, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 3, 0, 2 } uselistorder i64* %arg5, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
CompRealVul
palette8torgb16_14111
palette8torgb16
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i32* %arg1 to i64 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %3 = add i64 %indvars.iv.reload, %2 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i64 %7 = mul i64 %6, 2 %8 = add i64 %7, %1 %9 = mul i64 %indvars.iv.reload, 2 %10 = add i64 %9, %arg2 %11 = inttoptr i64 %8 to i16* %12 = load i16, i16* %11, align 2 %13 = inttoptr i64 %10 to i16* store i16 %12, i16* %13, align 2 %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 %wide.trip.count, i64* %.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
CompRealVul
smack_inode_rmdir_18338
smack_inode_rmdir
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 0) %2 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3, i64 1, i64* nonnull %sv_1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 0) %10 = call i64 @FUNC(i64* nonnull %sv_1, i64 %8) %11 = call i64 @FUNC(i64 %8) %12 = call i64 @FUNC(i64 %11, i64 1, i64* nonnull %sv_1) store i64 %12, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %13 = and i64 %sv_0.0.reload, 4294967295 ret i64 %13 uselistorder i64 %8, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @smk_curacc, { 1, 0 } uselistorder i64 (i64)* @smk_of_inode, { 1, 0 } uselistorder i64 (i64*, i64)* @smk_ad_setfield_u_fs_path_dentry, { 1, 0 } }
1
CompRealVul
handle_arg_cpu_876
handle_arg_cpu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i8* @strdup(i8* %0) %2 = ptrtoint i8* %1 to i64 store i64 %2, i64* @gv_0, align 8 %3 = icmp eq i8* %1, null br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: call void @exit(i32 1) unreachable LBL_3: ret i64 %4 }
0
CompRealVul
output_frame_16318
output_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %storemerge48.reg2mem = alloca i32 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3, i64 %2) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %6, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %11 = ptrtoint i32* %arg1 to i64 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %3, 32 %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 0) %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %3, 24 %21 = inttoptr i64 %20 to i32* store i32 1, i32* %21, align 4 br label LBL_4 LBL_4: %22 = add i64 %2, 20 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_10 LBL_5: %27 = inttoptr i64 %5 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_10, label LBL_6 LBL_6: %30 = add i64 %5, 4 %31 = inttoptr i64 %30 to i32* %32 = add i64 %5, 8 %33 = inttoptr i64 %32 to i32* %34 = add i64 %2, 8 %35 = inttoptr i64 %34 to i32* %36 = bitcast i64* %rdi to i32* %37 = add i64 %2, 12 %38 = inttoptr i64 %37 to i32* %39 = add i64 %3, 16 %40 = inttoptr i64 %39 to i64* %41 = add i64 %3, 8 %42 = inttoptr i64 %41 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge9.reg2mem br label LBL_7 LBL_7: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload = load i64, i64* %.reg2mem %43 = icmp slt i32 %storemerge9.reload, 1 store i32 0, i32* %storemerge48.reg2mem store i32 0, i32* %storemerge3.reg2mem br i1 %43, label LBL_9, label LBL_8 LBL_8: %44 = load i32, i32* %31, align 4 %45 = load i32, i32* %33, align 4 store i32 %44, i32* %storemerge48.reg2mem store i32 %45, i32* %storemerge3.reg2mem br label LBL_9 LBL_9: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %storemerge48.reload = load i32, i32* %storemerge48.reg2mem %46 = load i32, i32* %35, align 4 %47 = urem i32 %storemerge48.reload, 32 %48 = ashr i32 %46, %47 %49 = load i32, i32* %36, align 8 %50 = urem i32 %49, 32 %51 = shl i32 %48, %50 %52 = load i32, i32* %38, align 4 %53 = urem i32 %storemerge3.reload, 32 %54 = ashr i32 %52, %53 %55 = load i64, i64* %40, align 8 %56 = mul i64 %.reload, 4 %57 = add i64 %55, %56 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = mul i32 %59, %54 %61 = add i32 %60, %51 %62 = load i64, i64* %42, align 8 %63 = add i64 %62, %56 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = add i32 %61, %65 store i32 %66, i32* %64, align 4 %67 = add i32 %storemerge9.reload, 1 %68 = load i32, i32* %27, align 4 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i64 %70, i64* %.reg2mem store i32 %67, i32* %storemerge9.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_7, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %56, { 1, 0 } uselistorder i32* %27, { 1, 0 } uselistorder i64 %3, { 2, 1, 0, 3, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge48.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
vmci_transport_dgram_dequeue_11717
vmci_transport_dgram_dequeue
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = and i64 %arg5, 6 %1 = icmp eq i64 %0, 0 store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = trunc i64 %arg5 to i32 %4 = urem i32 %3, 2 store i64 0, i64* %sv_1, align 8 %5 = bitcast i64* %sv_1 to i32* %6 = call i64 @FUNC(i64 %2, i32 %3, i32 %4, i32* nonnull %5) %7 = load i64, i64* %sv_1, align 8 %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %7, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %sext4 = mul i64 %6, 4294967296 %11 = icmp eq i64 %sext4, 0 %12 = icmp eq i1 %11, false store i64 2, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_14 LBL_4: %13 = ashr exact i64 %sext4, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_13, label LBL_5 LBL_5: %17 = add i64 %15, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add nsw i64 %13, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %22, -16 %24 = icmp eq i64 %19, %23 br i1 %24, label LBL_7, label LBL_6 LBL_6: store i64 3, i64* %sv_1, align 8 br label LBL_13 LBL_7: %25 = ptrtoint i64* %arg3 to i64 %26 = icmp ugt i64 %19, %arg4 store i64 %19, i64* %sv_0.0.reg2mem br i1 %26, label LBL_8, label LBL_9 LBL_8: %27 = add i64 %25, 24 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = or i32 %29, 8 store i32 %30, i32* %28, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %31 = add i64 %25, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %13, i64 16, i64 %33, i64 %sv_0.0.reload) %sext5 = mul i64 %34, 4294967296 %35 = ashr exact i64 %sext5, 32 store i64 %35, i64* %sv_1, align 8 %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_13, label LBL_10 LBL_10: %39 = add i64 %25, 8 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 %41 = icmp eq i64 %33, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = inttoptr i64 %15 to i32* %43 = add i64 %15, 4 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = load i32, i32* %42, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %33, i64 %47, i32 %45) store i32 0, i32* %40, align 4 br label LBL_12 LBL_12: %sext6 = mul i64 %sv_0.0.reload, 4294967296 %49 = ashr exact i64 %sext6, 32 store i64 %49, i64* %sv_1, align 8 br label LBL_13 LBL_13: %50 = call i64 @FUNC(i64 %2, i64 %13) %51 = load i64, i64* %sv_1, align 8 %52 = and i64 %51, 4294967295 store i64 %52, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %33, { 1, 0, 2 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %15, { 0, 2, 1, 3 } uselistorder i64 %13, { 2, 0, 1, 3 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_1, { 5, 4, 3, 2, 1, 6, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 %arg5, { 1, 0 } uselistorder label LBL_14, { 2, 0, 3, 1 } uselistorder label LBL_13, { 2, 0, 3, 1 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
vmgenid_realize_3310
vmgenid_realize
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) %3 = call i64 @FUNC() %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 %0, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %8 = call i64 @FUNC() %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 4198733, i64 %2) 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 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i8*)* @error_setg, { 1, 0 } }
0
CompRealVul
thp_probe_2157
thp_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 5261396 store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = add i64 %0, 16 %4 = icmp ugt i64* %arg1, inttoptr (i64 -17 to i64*) %5 = icmp eq i64 %3, 0 %6 = inttoptr i64 %3 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i128 @FUNC(i64 %8) %10 = call i64 @FUNC(i128 %9) %11 = call i128 @FUNC(i64 4591870180066957722) %12 = sext i64 %10 to i128 call void @FUNC(i128 %11, i128 %12) %13 = or i1 %4, %5 store i64 25, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_3 LBL_2: %14 = trunc i64 %3 to i8 %15 = call i8 @llvm.ctpop.i8(i8 %14), !range !15 %16 = urem i8 %15, 2 %17 = icmp eq i8 %16, 0 %18 = call i128 @FUNC(i64 %10) %19 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %18, i128 %19) %20 = call i128 @FUNC(i64 %10) call void @FUNC(i128 %20, i64 %10) %21 = icmp eq i1 %17, false %spec.select = select i1 %21, i64 100, i64 25 ret i64 %spec.select LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %10, { 1, 0, 2, 3 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 25, { 1, 0 } }
0
CompRealVul
sdhci_write_dataport_3031
sdhci_write_dataport
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = trunc i64 %arg3 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_9, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = bitcast i64* %rdi to i32* %10 = add i64 %7, 4 %11 = inttoptr i64 %10 to i32* %12 = add i64 %7, 12 %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i32* %15 = bitcast i64* %arg1 to i32* store i32 0, i32* %storemerge4.reg2mem store i64 %8, i64* %sv_0.03.reg2mem br label LBL_4 LBL_3: %16 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0)) store i64 %16, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %17 = load i32, i32* %11, align 4 %18 = zext i32 %17 to i64 %19 = trunc i64 %sv_0.03.reload to i8 %20 = add i64 %12, %18 %21 = inttoptr i64 %20 to i8* store i8 %19, i8* %21, align 1 %22 = load i32, i32* %11, align 4 %23 = add i32 %22, 1 store i32 %23, i32* %11, align 4 %24 = load i32, i32* %14, align 4 %25 = urem i32 %24, 4096 %26 = icmp ult i32 %23, %25 br i1 %26, label LBL_7, label LBL_5 LBL_5: %27 = zext i32 %23 to i64 %28 = call i64 @FUNC(i64 %27) store i32 0, i32* %11, align 4 %29 = load i32, i32* %9, align 8 %30 = and i32 %29, -2 store i32 %30, i32* %15, align 4 %31 = and i32 %29, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %7) br label LBL_7 LBL_7: %34 = udiv i64 %sv_0.03.reload, 256 %35 = urem i64 %34, 16777216 %36 = add nuw i32 %storemerge4.reload, 1 %exitcond = icmp eq i32 %36, %5 store i32 %36, i32* %storemerge4.reg2mem store i64 %35, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_8, label LBL_4 LBL_8: %37 = and i64 %arg3, 4294967295 store i64 %37, 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 %23, { 1, 0, 2 } uselistorder i64 %sv_0.03.reload, { 1, 0 } uselistorder i32* %11, { 0, 2, 1, 3 } uselistorder i64 %7, { 0, 1, 3, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_9, { 0, 2, 1 } }
0
CompRealVul
smc_conn_free_13155
smc_conn_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp eq i64* %arg1, null store i64 %2, i64* %rax.0.reg2mem br i1 %3, label LBL_11, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = add i64 %2, 4 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: %12 = add i64 %2, 8 %13 = call i64 @FUNC(i64 %12) br label LBL_7 LBL_5: %14 = call i64 @FUNC(i64 %2) %15 = call i64 @FUNC() %16 = add i64 %2, 12 %17 = icmp eq i64 %15, %16 br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %16) br label LBL_7 LBL_7: %19 = add i64 %2, 4 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %2) %25 = call i64 @FUNC(i64 %2, i64 %2) br label LBL_9 LBL_9: %26 = add i64 %2, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = icmp eq i32 %28, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = call i64 @FUNC(i64 %2) store i64 %32, 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 %2, { 6, 7, 3, 5, 4, 8, 10, 9, 2, 1, 11, 0 } uselistorder i64 (i64)* @list_empty, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } }
1
CompRealVul
gen_mtmsrd_18637
gen_mtmsrd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %2, i64 1) store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = and i64 %1, 65536 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC() %14 = trunc i64 %13 to i32 %15 = udiv i64 %1, 524288 %16 = and i64 %15, 124 %17 = add i64 %16, ptrtoint (i32** @gv_0 to i64) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = and i64 %13, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %20, i64 3) %23 = load i32, i32* @gv_1, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 %24, i64 4294967292) %26 = load i32, i32* @gv_1, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 %27, i32 %14) %29 = call i64 @FUNC(i64 %21) store i64 %29, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %30 = add i64 %2, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %2, i64 %33) %35 = udiv i64 %1, 524288 %36 = and i64 %35, 124 %37 = add i64 %36, ptrtoint (i32** @gv_0 to i64) %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = load i64, i64* @gv_2, align 8 %41 = zext i32 %39 to i64 %42 = call i64 @FUNC(i64 %40, i64 %41) %43 = call i64 @FUNC(i64 %2) store i64 %43, 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 %27, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %2, { 1, 3, 2, 0, 4, 5 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_tl, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64)* @gen_inval_exception, { 1, 0 } }
1
CompRealVul
pcx_palette_1044
pcx_palette
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa8.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = and i64 %1, 4294967295 %narrow = mul nuw i64 %2, 2863311531 %3 = udiv i64 %narrow, 8589934592 %4 = trunc i64 %3 to i32 %5 = icmp ugt i32 %4, %arg3 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = and i64 %6, 4294967295 %narrow2 = mul nuw i64 %7, 2863311531 %8 = udiv i64 %narrow2, 8589934592 store i64 %8, i64* %storemerge3.reg2mem br label LBL_3 LBL_2: %9 = zext i32 %arg3 to i64 store i64 %9, i64* %storemerge3.reg2mem br label LBL_3 LBL_3: %10 = ptrtoint i64* %arg2 to i64 %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %11 = trunc i64 %storemerge3.reload to i32 %12 = icmp sgt i32 %11, 0 store i32 0, i32* %storemerge5.reg2mem store i64 %10, i64* %sv_0.04.reg2mem store i64 %10, i64* %sv_0.0.lcssa8.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = add i64 %sv_0.04.reload, 4 %16 = or i32 %14, -16777216 %17 = inttoptr i64 %sv_0.04.reload to i32* store i32 %16, i32* %17, align 4 %18 = add nuw nsw i32 %storemerge5.reload, 1 %exitcond = icmp eq i32 %18, %11 store i32 %18, i32* %storemerge5.reg2mem store i64 %15, i64* %sv_0.04.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %19 = icmp sgt i32 %11, 255 store i64 %15, i64* %sv_0.0.lcssa8.reg2mem store i64 %storemerge3.reload, i64* %rax.0.reg2mem br i1 %19, label LBL_7, label LBL_6 LBL_6: %sv_0.0.lcssa8.reload = load i64, i64* %sv_0.0.lcssa8.reg2mem %20 = mul i32 %11, 4 %21 = sub i32 1024, %20 %22 = inttoptr i64 %sv_0.0.lcssa8.reload to i64* %23 = call i64* @memset(i64* %22, i32 0, i32 %21) %24 = ptrtoint i64* %23 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %11, { 0, 3, 1, 2 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.lcssa8.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
caps_to_network_2062
caps_to_network
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = call i32 @htonl(i32 %3) store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = call i32 @htonl(i32 %7) %9 = sext i32 %8 to i64 store i32 %8, i32* %6, align 4 ret i64 %9 uselistorder i32 (i32)* @htonl, { 1, 0 } }
0
CompRealVul
apc_read_packet_2911
apc_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 1024) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i64 4294967291, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = trunc i64 %1 to i32 %12 = and i32 %11, -2 %13 = bitcast i64* %arg2 to i32* store i32 %12, i32* %13, align 4 %14 = add i64 %2, 4 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
regional_create_custom_19064
regional_create_custom
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = call i64* @malloc(i32 %0) %2 = icmp ult i64 %arg1, 8 %3 = icmp ne i1 %2, true %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %1, null %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = ptrtoint i64* %1 to i64 store i64 %arg1, i64* %1, align 8 %9 = call i64 @FUNC(i64 %8) store i64 %8, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %1, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 3, 4, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
crm_client_new_11464
crm_client_new
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %arg3, i64* %rdx.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = call i32 @getuid() store i32 %11, i32* @gv_1, align 4 %12 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 0, i64* nonnull @gv_0) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false %16 = load i8, i8* bitcast (i32* @gv_3 to i8*), align 4 %17 = icmp eq i8 %16, 1 %or.cond = or i1 %17, %15 store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) store i8 1, i8* bitcast (i32* @gv_3 to i8*), align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdx.0.reg2mem br label LBL_4 LBL_4: %sext = mul i64 %arg2, 4294967296 %19 = ashr exact i64 %sext, 32 %sext2 = mul i64 %arg3, 4294967296 %20 = ashr exact i64 %sext2, 32 %21 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %22 = icmp eq i32 %21, 0 %23 = trunc i64 %20 to i32 %24 = icmp eq i32 %23, 0 %or.cond5 = or i1 %24, %22 %.pre7 = trunc i64 %19 to i32 br i1 %or.cond5, label LBL_8, label LBL_5 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %25 = icmp ne i32 %.pre7, 0 %.pre = load i32, i32* @gv_1, align 4 %26 = icmp eq i32 %.pre, 0 %27 = icmp eq i1 %26, false %or.cond9 = icmp eq i1 %25, %27 store i32 %21, i32* %.reg2mem store i32 -1, i32* %sv_0.0.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %or.cond9, label LBL_7, label LBL_6 LBL_6: %28 = and i64 %19, 4294967295 %29 = icmp ugt i32 %.pre, %.pre7 %30 = icmp eq i1 %29, false %31 = select i1 %30, i32 %.pre7, i32 %.pre %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0), i64 %32, i32 %.pre7, i64 %3, i64 %2, i64 %1) %.pre6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 %.pre6, i32* %.reg2mem store i32 %31, i32* %sv_0.0.reg2mem store i64 %28, i64* %rdx.1.reg2mem br label LBL_7 LBL_7: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %34 = zext i32 %.reload to i64 %35 = trunc i64 %rdx.1.reload to i32 %36 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %34, i32 %35, i64 %3, i64 %2, i64 %1) %37 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %38 = call i64 @FUNC(i64 %4, i32 %sv_0.0.reload, i32 %37, i64 432) br label LBL_8 LBL_8: %39 = call i64 @FUNC() %40 = call i64* @calloc(i32 1, i32 32) %41 = ptrtoint i64* %40 to i64 store i64 %4, i64* %40, align 8 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i32* store i32 1, i32* %43, align 4 %44 = call i64 @FUNC(i64 %4) %45 = trunc i64 %44 to i32 %46 = add i64 %41, 12 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = call i64 @FUNC() %49 = add i64 %41, 16 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = load i32, i32* %47, align 4 %52 = and i64 %20, 4294967295 %53 = zext i32 %51 to i64 %54 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_7, i64 0, i64 0), i64 %4, i32 %.pre7, i64 %52, i64 %53, i64 %48) %55 = and i64 %19, 4294967295 %56 = call i64 @FUNC(i64 %55) %57 = add i64 %41, 24 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = load i64, i64* @gv_8, align 8 %60 = call i64 @FUNC(i64 %59, i64 %4, i64 %41) store i64 %41, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre7, { 0, 2, 3, 4, 1 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %19, { 2, 1, 0 } uselistorder i64 %4, { 1, 2, 3, 4, 0, 5 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @crm_trace, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder i8* bitcast (i32* @gv_3 to i8*), { 1, 0 } uselistorder i32 0, { 0, 4, 1, 5, 6, 7, 2, 3 } uselistorder i64* @gv_0, { 1, 0, 2 } uselistorder i32* bitcast (i64* @gv_0 to i32*), { 1, 0, 2, 3 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
perf_callchain_kernel_10795
perf_callchain_kernel
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = inttoptr i64 %0 to i64* %3 = load i64, i64* %2, align 8 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7) %10 = call i64 @FUNC(i64 0, i64 %7, i64 0, i64* nonnull @gv_1, i64 %8) store i64 %10, 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 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
gen_mul_17130
gen_mul
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 63) %5 = call i64 @FUNC(i64 1) %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 0) %8 = and i64 %7, 4294967295 %9 = call i64 @FUNC(i64 0, i64 0, i64 %8, i64 1) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC() ret i64 %11 uselistorder i64 ()* @tcg_temp_free, { 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 1, 0 } }
1
CompRealVul
add_bytes_c_15177
add_bytes_c
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = sext i32 %arg3 to i64 %3 = add nsw i64 %2, -8 store i64 0, i64* %storemerge2.reg2mem br label LBL_1 LBL_1: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %4 = add i64 %storemerge2.reload, %0 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %storemerge2.reload, %1 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = urem i64 %6, 128 %11 = urem i64 %9, 128 %12 = add nuw nsw i64 %11, %10 %13 = xor i64 %9, %6 %14 = and i64 %13, 128 %15 = xor i64 %12, %14 store i64 %15, i64* %8, align 8 %16 = add i64 %storemerge2.reload, 8 %17 = icmp ult i64 %3, %16 %18 = icmp eq i1 %17, false store i64 %16, i64* %storemerge2.reg2mem br i1 %18, label LBL_1, label LBL_2 LBL_2: %19 = icmp slt i64 %16, %2 store i64 %16, i64* %sv_0.01.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_3: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %20 = add i64 %sv_0.01.reload, %1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = add i64 %sv_0.01.reload, %0 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = add i8 %25, %22 store i8 %26, i8* %21, align 1 %27 = add nsw i64 %sv_0.01.reload, 1 %exitcond = icmp eq i64 %27, %2 store i64 %27, i64* %sv_0.01.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %2 uselistorder i64 %sv_0.01.reload, { 0, 2, 1 } uselistorder i64 %16, { 0, 2, 1, 3 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %storemerge2.reload, { 0, 2, 1 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64 128, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
bdrv_all_find_snapshot_1339
bdrv_all_find_snapshot
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge3.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i64 %0, i64* %storemerge.lcssa.reg2mem store i32 0, i32* %sv_0.2.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %3 = call i64 @FUNC(i64 %storemerge3.reload) store i64 %3, i64* %sv_1, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %storemerge3.reload) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_3 LBL_2: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %8 = load i64, i64* %sv_1, align 8 %9 = call i64 @FUNC(i64 %8) store i32 %sv_0.12.reload, i32* %sv_0.01.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %storemerge3.reload, i64* nonnull %sv_1, i64 %arg1) %11 = trunc i64 %10 to i32 %12 = load i64, i64* %sv_1, align 8 %13 = call i64 @FUNC(i64 %12) %14 = icmp slt i32 %11, 0 store i32 %11, i32* %sv_0.01.reg2mem store i64 %storemerge3.reload, i64* %storemerge.lcssa.reg2mem store i32 %11, i32* %sv_0.2.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %15 = call i64 @FUNC(i64* nonnull %sv_1) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %storemerge3.reg2mem store i32 %sv_0.01.reload, i32* %sv_0.12.reg2mem store i64 %15, i64* %storemerge.lcssa.reg2mem store i32 %sv_0.01.reload, i32* %sv_0.2.reg2mem br i1 %17, label LBL_1, label LBL_5 LBL_5: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem store i64 %storemerge.lcssa.reload, i64* %arg2, align 8 %18 = zext i32 %sv_0.2.reload to i64 ret i64 %18 uselistorder i64 %storemerge3.reload, { 0, 1, 3, 2 } uselistorder i64* %sv_1, { 1, 4, 2, 0, 5, 3 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @aio_context_release, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
f2fs_read_data_page_6683
f2fs_read_data_page
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = call i64 @FUNC(i64 %arg2, i64 0) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2, i64 %arg2) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, -11 %10 = icmp eq i1 %9, false store i64 %7, i64* %sv_0.1.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %arg2) %12 = call i64 @FUNC(i64 %11, i64 0, i64 %arg2, i64 1, i64 0) store i64 %12, i64* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %13 = and i64 %sv_0.1.reload, 4294967295 ret i64 %13 uselistorder i64 (i64)* @page_file_mapping, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
replication_close_546
replication_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 0, i64 0) br label LBL_2 LBL_2: %10 = icmp eq i32 %3, 2 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %2, 32 %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 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) br label LBL_4 LBL_4: %20 = add i64 %2, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 3 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) br label LBL_6 LBL_6: %29 = add i64 %2, 16 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) ret i64 %32 uselistorder i64 %2, { 1, 3, 2, 0, 4 } }
0
CompRealVul
choose_volume_7764
choose_volume
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %.pre4 = add i64 %0, 36 %.pre5 = inttoptr i64 %.pre4 to i32* br i1 %5, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* %.pre5, align 4 store i64 %0, i64* %sv_1.0.reg2mem br label LBL_4 LBL_2: %.pr = load i32, i32* %.pre5, align 4 %6 = icmp eq i32 %.pr, 0 store i64 %0, i64* %sv_1.0.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp slt i64 %9, %0 %spec.select = select i1 %10, i64 %7, i64 %0 store i64 %spec.select, i64* %sv_1.0.reg2mem br label LBL_4 LBL_4: %11 = ptrtoint i64* %arg1 to i64 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %12 = inttoptr i64 %sv_1.0.reload to i64* %13 = load i64, i64* %12, align 8 %14 = mul i64 %13, 2048 %15 = call i64 @FUNC(i64 %11, i64 %14) %16 = icmp slt i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_20 LBL_5: %18 = add i64 %0, 48 %19 = inttoptr i64 %18 to i64* store i64 %15, i64* %19, align 8 %20 = add i64 %sv_1.0.reload, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %11, i64 %22, i64 0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_7: %27 = load i32, i32* %.pre5, align 4 store i32 0, i32* %.pre5, align 4 %28 = call i64 @FUNC(i64 %11, i64 0, i64 %23) %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_8, label LBL_20 LBL_8: %sext = mul i32 %27, 16777216 %31 = ashr exact i32 %sext, 24 store i32 %31, i32* %.pre5, align 4 %32 = icmp eq i64 %sv_1.0.reload, %0 %33 = icmp eq i1 %32, false store i64 %28, i64* %sv_0.0.reg2mem br i1 %33, label LBL_17, label LBL_9 LBL_9: %34 = add i64 %0, 40 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 %38 = icmp eq i32 %sext, 0 %or.cond = or i1 %38, %37 br i1 %or.cond, label LBL_11, label LBL_10 LBL_10: store i32 0, i32* %.pre5, align 4 store i64 %28, i64* %sv_0.0.reg2mem br label LBL_17 LBL_11: %39 = icmp eq i1 %37, false %or.cond9 = or i1 %38, %39 store i64 %28, i64* %sv_0.0.reg2mem br i1 %or.cond9, label LBL_17, label LBL_12 LBL_12: %40 = add i64 %0, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = mul i64 %42, 2048 %44 = load i64, i64* %19, align 8 %45 = sub i64 %43, %44 %46 = call i64 @FUNC(i64 %11, i64 %45) %47 = icmp slt i64 %46, 0 %48 = icmp eq i1 %47, false store i64 %46, i64* %rax.0.reg2mem br i1 %48, label LBL_13, label LBL_20 LBL_13: %49 = load i64, i64* %19, align 8 %50 = add i64 %49, %46 store i64 %50, i64* %19, align 8 %51 = add i64 %0, 24 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %11, i64 %53, i64 0) %55 = icmp eq i64 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_15, label LBL_14 LBL_14: %57 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_15: store i32 0, i32* %.pre5, align 4 %58 = call i64 @FUNC(i64 %11, i64 0, i64 %54) %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %60, label LBL_16, label LBL_20 LBL_16: store i32 %31, i32* %.pre5, align 4 store i64 %58, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %61 = call i64 @FUNC(i64 %11, i64 %0, i64 %sv_0.0.reload) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_18, label LBL_20 LBL_18: %64 = add i64 %0, 40 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 0 store i64 0, i64* %rax.0.reg2mem br i1 %67, label LBL_20, label LBL_19 LBL_19: %68 = bitcast i64* %arg1 to i32* store i32 2, i32* %68, align 4 %69 = add i64 %11, 8 %70 = inttoptr i64 %69 to i64* store i64 ptrtoint ([34 x i8]* @gv_1 to i64), i64* %70, align 8 store i64 0, 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 %46, { 1, 0, 2 } uselistorder i32 %sext, { 1, 0 } uselistorder i64 %28, { 2, 0, 1, 3 } uselistorder i64* %19, { 1, 0, 2, 3 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i64 %11, { 5, 6, 2, 1, 3, 4, 7, 0, 8, 9 } uselistorder i32* %.pre5, { 5, 4, 0, 1, 2, 3, 7, 6 } uselistorder i64 %0, { 6, 7, 4, 8, 10, 9, 11, 3, 5, 12, 1, 0, 2, 13 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 9, 5, 6, 8, 7 } uselistorder i64 (i64, i64, i64)* @parse_file_info, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 } uselistorder i64 (i64, i64, i64)* @__archive_read_ahead, { 1, 0 } uselistorder i64 (i64, i64)* @__archive_read_consume, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 1 } uselistorder label LBL_20, { 1, 0, 2, 3, 7, 4, 5, 8, 6 } uselistorder label LBL_17, { 2, 3, 0, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
CompRealVul
dump_isom_sdp_12869
dump_isom_sdp
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca %_IO_FILE* %sv_1 = alloca i8*, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = icmp eq i8* %arg2, null br i1 %0, label LBL_7, label LBL_1 LBL_1: %1 = bitcast i64* %sv_3 to i8* %2 = call i8* @strcpy(i8* nonnull %1, i8* nonnull %arg2) %3 = trunc i64 %arg3 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_5, label LBL_2 LBL_2: %6 = call i8* @strchr(i8* nonnull %1, i32 46) %7 = icmp eq i8* %6, null br i1 %7, label LBL_4, label LBL_3 LBL_3: store i8 0, i8* %6, align 1 br label LBL_4 LBL_4: %8 = call i32 @strlen(i8* nonnull %1) %9 = sext i32 %8 to i64 %10 = ptrtoint i64* %sv_3 to i64 %11 = add i64 %9, %10 %12 = inttoptr i64 %11 to i64* store i64 8392585648407868255, i64* %12, align 8 %13 = add i64 %11, 8 %14 = inttoptr i64 %13 to i8* store i8 0, i8* %14, align 1 br label LBL_5 LBL_5: %15 = call i64 @FUNC(i64* nonnull %sv_3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %16 = inttoptr i64 %15 to %_IO_FILE* %17 = icmp eq i64 %15, 0 %18 = icmp eq i1 %17, false store %_IO_FILE* %16, %_IO_FILE** %sv_0.0.reg2mem br i1 %18, label LBL_8, label LBL_6 LBL_6: %19 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_3) %21 = sext i32 %20 to i64 store i64 %21, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %22 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %23 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_4 to i64*), i32 1, i32 22, %_IO_FILE* %22) store %_IO_FILE* %22, %_IO_FILE** %sv_0.0.reg2mem br label LBL_8 LBL_8: %24 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load %_IO_FILE*, %_IO_FILE** %sv_0.0.reg2mem %25 = bitcast i8** %sv_1 to i64* %26 = call i64 @FUNC(i64 %24, i64* nonnull %25, i64* nonnull %sv_2) %27 = load i8*, i8** %sv_1, align 8 %28 = call i32 @fputs(i8* %27, %_IO_FILE* %sv_0.0.reload) %29 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_5 to i64*), i32 1, i32 2, %_IO_FILE* %sv_0.0.reload) %30 = call i64 @FUNC(i64 %24) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %32, label LBL_12, label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = call i64 @FUNC(i64 %24, i64 %indvars.iv.next) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 1 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %24, i64 %indvars.iv.next, i64* nonnull %25, i64* nonnull %sv_2) %38 = load i8*, i8** %sv_1, align 8 %39 = call i32 @fputs(i8* %38, %_IO_FILE* %sv_0.0.reload) br label LBL_11 LBL_11: %40 = call i64 @FUNC(i64 %24) %41 = and i64 %40, 4294967295 %42 = icmp ult i64 %indvars.iv.next, %41 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %42, label LBL_9, label LBL_12 LBL_12: %43 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_6 to i64*), i32 1, i32 2, %_IO_FILE* %sv_0.0.reload) %44 = sext i32 %43 to i64 store i64 %44, i64* %rax.0.reg2mem br i1 %0, label LBL_14, label LBL_13 LBL_13: %45 = ptrtoint %_IO_FILE* %sv_0.0.reload to i64 %46 = call i64 @FUNC(i64 %45) store i64 %46, 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 %indvars.iv.next, { 0, 1, 3, 2 } uselistorder %_IO_FILE* %sv_0.0.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %24, { 3, 1, 2, 0, 4 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %sv_3, { 0, 1, 3, 2 } uselistorder i8** %sv_1, { 1, 0, 2 } uselistorder %_IO_FILE** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64)* @gf_isom_get_track_count, { 1, 0 } uselistorder i32 (i8*, %_IO_FILE*)* @fputs, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
insert_prefix_8593
insert_prefix
define i64 @FUNC(i64 %arg1, i64* %arg2, i32* %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = urem i64 %arg1, 2 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = trunc i64 %2 to i32 %7 = trunc i64 %1 to i32 %8 = trunc i64 %arg5 to i32 %9 = mul i32 %8, 2 %10 = icmp ne i64* %arg2, null %11 = sub i32 %6, %7 %12 = icmp ult i32 %9, %11 %or.cond = icmp eq i1 %10, %12 store i64 %5, i64* %rsi.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %13 = mul i32 %6, 2 %14 = add i32 %13, -1024 %15 = sub i32 1023, %13 %16 = and i32 %15, %13 %17 = icmp slt i32 %16, 0 %18 = icmp slt i32 %14, 0 %19 = icmp eq i1 %18, %17 %20 = select i1 %19, i32 %13, i32 1024 store i32 %20, i32* %arg4, align 4 %21 = mul i64 %2, 4294967296 %sext = add i64 %21, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = call i64 @FUNC(i64 %5, i64 %22) store i64 %23, i64* %arg2, align 8 store i64 %22, i64* %rsi.0.reg2mem br label LBL_3 LBL_3: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %sext8 = mul i64 %1, 4294967296 %24 = ashr exact i64 %sext8, 32 %25 = add i64 %rsi.0.reload, %24 %26 = inttoptr i64 %25 to i64* %27 = call i64* @memset(i64* %26, i32 32, i32 %9) %28 = add i32 %9, %7 %29 = ptrtoint i32* %arg3 to i64 store i32 %28, i32* %arg3, align 4 store i64 %29, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %13, { 1, 3, 2, 0 } uselistorder i32 %9, { 2, 0, 1 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967296, { 0, 2, 1 } uselistorder i32* %arg3, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
X264_close_15211
X264_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) br label LBL_2 LBL_2: ret i64 0 uselistorder i64* %arg1, { 1, 0 } }
1
CompRealVul
header_put_byte_11112
header_put_byte
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 256 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = icmp ult i32 %3, 255 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = add i32 %3, 1 store i32 %6, i32* %2, align 4 %7 = sext i32 %3 to i64 %8 = trunc i64 %arg2 to i8 %9 = add i64 %7, %0 %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 store i64 %7, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
ReadDCMByte_10893
ReadDCMByte
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 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg2 to i64 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_7, label LBL_3 LBL_3: %11 = add i64 %7, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ult i64 %13, 3 %15 = add i64 %13, -2 %storemerge = select i1 %14, i64 0, i64 %15 store i64 %storemerge, i64* %12, align 8 %16 = ptrtoint i32* %arg2 to i64 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 %16) %sext.mask = and i64 %17, 4294967295 %19 = icmp eq i64 %sext.mask, 128 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_4, label LBL_12 LBL_4: %21 = trunc i64 %17 to i32 %22 = icmp sgt i32 %21, 127 br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = bitcast i64* %arg1 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %7, 4 %25 = inttoptr i64 %24 to i32* store i32 -1, i32* %25, align 4 %26 = and i64 %18, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %27 = trunc i64 %18 to i32 %28 = sub i32 256, %21 %29 = bitcast i64* %arg1 to i32* store i32 %28, i32* %29, align 4 %30 = add i64 %7, 4 %31 = inttoptr i64 %30 to i32* store i32 %27, i32* %31, align 4 %32 = and i64 %18, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %33 = add i32 %8, -1 %34 = bitcast i64* %arg1 to i32* store i32 %33, i32* %34, align 4 %35 = add i64 %7, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = zext i32 %37 to i64 store i64 %39, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %40 = add i64 %7, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = add i64 %42, -1 store i64 %44, i64* %41, align 8 br label LBL_11 LBL_11: %45 = ptrtoint i32* %arg2 to i64 %46 = call i64 @FUNC(i64 %45) store i64 %46, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %21, { 2, 1, 0 } uselistorder i64 %18, { 0, 2, 1 } uselistorder i64 %17, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64 %7, { 4, 3, 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @ReadBlobByte, { 3, 2, 1, 0 } uselistorder i32* %arg2, { 1, 0, 2 } uselistorder label LBL_12, { 1, 2, 3, 4, 0, 5 } }
0
CompRealVul
ohci_td_pkt_3588
ohci_td_pkt
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i8* %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 1) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = trunc i64 %0 to i32 %5 = urem i32 %4, 256 %6 = xor i32 %5, 1 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_11 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -64 %12 = inttoptr i64 %11 to i8* store i8* %12, i8** %sv_0.0.reg2mem store i32 0, i32* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %13 = icmp eq i32 %storemerge.reload, 0 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %13, label LBL_9, label LBL_4 LBL_4: %14 = zext i32 %storemerge.reload to i64 %15 = mul i64 %14, 4294967296 %16 = or i64 %15, %14 %17 = srem i64 %16, 16 %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = sext i32 %storemerge.reload to i64 %21 = icmp eq i64 %20, %arg3 %22 = icmp eq i1 %21, false store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %22, label LBL_9, label LBL_6 LBL_6: br i1 %3, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %arg1, i64 %11) store i64 %23, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %24 = call i64 @FUNC(i64 %arg1, i64 %11) store i8 0, i8* %12, align 8 store i8* %12, i8** %sv_0.1.reg2mem br label LBL_9 LBL_9: %25 = sext i32 %storemerge.reload to i64 %26 = icmp eq i64 %25, %arg3 store i64 %arg3, i64* %rax.0.reg2mem br i1 %26, label LBL_11, label LBL_10 LBL_10: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %27 = add i64 %25, %9 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i32 %31 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.1.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 %30) %32 = sext i32 %31 to i64 %33 = ptrtoint i8* %sv_0.1.reload to i64 %34 = add i64 %32, %33 %35 = inttoptr i64 %34 to i8* %36 = add i32 %storemerge.reload, 1 store i8* %35, i8** %sv_0.0.reg2mem store i32 %36, i32* %storemerge.reg2mem br label LBL_3 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 1, 0 } uselistorder i32 %storemerge.reload, { 4, 3, 2, 1, 0 } uselistorder i8* %12, { 0, 2, 1 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i8** %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @trace_event_get_state_backends, { 1, 0 } }
0
CompRealVul
snd_compress_check_input_18943
snd_compress_check_input
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_5, label LBL_1 LBL_1: %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 = zext i64 %1 to i128 %6 = zext i64 %4 to i128 %7 = mul nuw i128 %6, %5 %8 = icmp ugt i128 %7, 18446744073709551615 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_5 LBL_2: %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp ne i32 %12, 0 %14 = icmp slt i32 %12, 256 %or.cond = icmp eq i1 %13, %14 br i1 %or.cond, label LBL_3, label LBL_5 LBL_3: %15 = add i64 %1, 20 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %1, 24 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %spec.select = select i1 %23, i64 0, i64 4294967274 ret i64 %spec.select LBL_5: ret i64 4294967274 uselistorder i64 %1, { 1, 2, 3, 0, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 0, 1, 3, 2 } }
1
CompRealVul
avfilter_ref_buffer_15622
avfilter_ref_buffer
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %sv_0 = alloca i64, align 8 store i64 56, i64* %rdi, align 8 %0 = call i64 @FUNC(i64 56) store i64 %0, i64* %sv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_15 LBL_1: %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %0 to i64* store i64 56, i64* %6, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* store i64 %5, i64* %8, align 8 %9 = add i64 %arg1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %arg1, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* store i64 %11, i64* %16, align 8 %17 = add i64 %0, 24 %18 = inttoptr i64 %17 to i64* store i64 %14, i64* %18, align 8 %19 = add i64 %arg1, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %arg1, 40 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %0, 32 %26 = inttoptr i64 %25 to i64* store i64 %21, i64* %26, align 8 %27 = add i64 %0, 40 %28 = inttoptr i64 %27 to i64* store i64 %24, i64* %28, align 8 %29 = add i64 %arg1, 48 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %0, 48 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = bitcast i64* %rdi to i32* %35 = load i32, i32* %34, align 8 %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false br i1 %37, label LBL_5, label LBL_2 LBL_2: %38 = load i64, i64* %sv_0, align 8 %39 = call i64 @FUNC(i64 0) %40 = add i64 %38, 24 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = load i64, i64* %sv_0, align 8 %43 = add i64 %42, 24 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_4, label LBL_3 LBL_3: %48 = call i64 @FUNC(i64 %42) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %49 = load i64, i64* %13, align 8 %50 = call i64 @FUNC(i64 %45, i64 %49) %51 = load i64, i64* %sv_0, align 8 %52 = add i64 %51, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = add i64 %51, 16 %56 = inttoptr i64 %55 to i64* store i64 %54, i64* %56, align 8 br label LBL_14 LBL_5: %57 = icmp eq i32 %35, 2 %58 = icmp eq i1 %57, false br i1 %58, label LBL_14, label LBL_6 LBL_6: %59 = load i64, i64* %sv_0, align 8 %60 = call i64 @FUNC(i64 4) %61 = add i64 %59, 32 %62 = inttoptr i64 %61 to i64* store i64 %60, i64* %62, align 8 %63 = load i64, i64* %sv_0, align 8 %64 = add i64 %63, 32 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = icmp eq i64 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_8, label LBL_7 LBL_7: %69 = call i64 @FUNC(i64 %63) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_8: %70 = load i64, i64* %20, align 8 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = inttoptr i64 %66 to i32* store i32 %72, i32* %73, align 4 %74 = load i64, i64* %10, align 8 %75 = icmp eq i64 %74, 0 br i1 %75, label LBL_13, label LBL_9 LBL_9: %76 = load i64, i64* %4, align 8 %77 = icmp eq i64 %74, %76 br i1 %77, label LBL_13, label LBL_10 LBL_10: %78 = load i64, i64* %20, align 8 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %81) %sext2 = mul i64 %82, 4294967296 %83 = ashr exact i64 %sext2, 32 %84 = load i64, i64* %sv_0, align 8 %85 = call i64 @FUNC(i64 %83) %86 = add i64 %84, 16 %87 = inttoptr i64 %86 to i64* store i64 %85, i64* %87, align 8 %88 = icmp eq i64 %85, 0 %89 = icmp eq i1 %88, false br i1 %89, label LBL_12, label LBL_11 LBL_11: %90 = load i64, i64* %sv_0, align 8 %91 = add i64 %90, 32 %92 = call i64 @FUNC(i64 %91) %93 = ptrtoint i64* %sv_0 to i64 %94 = call i64 @FUNC(i64 %93) store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_12: %95 = trunc i64 %82 to i32 %96 = load i64, i64* %10, align 8 %97 = load i64, i64* %sv_0, align 8 %98 = add i64 %97, 16 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = inttoptr i64 %100 to i64* %102 = inttoptr i64 %96 to i64* %103 = call i64* @memcpy(i64* %101, i64* %102, i32 %95) br label LBL_14 LBL_13: %104 = load i64, i64* %sv_0, align 8 %105 = add i64 %104, 8 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = add i64 %104, 16 %109 = inttoptr i64 %108 to i64* store i64 %107, i64* %109, align 8 br label LBL_14 LBL_14: %110 = load i64, i64* %sv_0, align 8 %111 = add i64 %110, 48 %112 = inttoptr i64 %111 to i32* %113 = load i32, i32* %112, align 4 %114 = trunc i64 %arg2 to i32 %115 = and i32 %113, %114 store i32 %115, i32* %112, align 4 %116 = load i64, i64* %sv_0, align 8 %117 = add i64 %116, 40 %118 = inttoptr i64 %117 to i64* %119 = load i64, i64* %118, align 8 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = add i32 %121, 1 store i32 %122, i32* %120, align 4 %123 = load i64, i64* %sv_0, align 8 store i64 %123, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %82, { 1, 0 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64 (i64)* @av_freep, { 1, 0 } uselistorder label LBL_15, { 1, 2, 3, 4, 0 } }
1
CompRealVul
buf_ensure_5427
buf_ensure
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, %arg2 %5 = call i64 @FUNC(i64 %4) %6 = load i64, i64* %2, align 8 %7 = icmp ult i64 %5, %6 %8 = icmp eq i1 %7, false store i64 %4, i64* %rdi.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp ugt i64 %5, %11 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_10 LBL_3: %13 = icmp eq i64 %11, 0 br i1 %13, label LBL_5, label LBL_4 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %14 = call i64 @FUNC(i64 %rdi.0.reload, i64 %5) store i64 %14, i64* %storemerge.reg2mem br label LBL_9 LBL_5: %15 = call i64 @FUNC(i64 %5) %16 = load i64, i64* %2, align 8 %17 = icmp eq i64 %16, 0 store i64 %5, i64* %rdi.1.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = inttoptr i64 %15 to i64* %19 = inttoptr i64 %5 to i64* %20 = trunc i64 %16 to i32 %21 = call i64* @memcpy(i64* %18, i64* %19, i32 %20) store i64 %15, i64* %rdi.1.reg2mem br label LBL_7 LBL_7: %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = urem i32 %24, 2 %26 = icmp eq i32 %25, 0 store i64 %15, i64* %storemerge.reg2mem br i1 %26, label LBL_9, label LBL_8 LBL_8: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem store i64 %rdi.1.reload, i64* %sv_1, align 8 %27 = load i64, i64* %2, align 8 store i64 %27, i64* %sv_0, align 8 %28 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0) %29 = load i32, i32* %23, align 4 %30 = and i32 %29, -2 store i32 %30, i32* %23, align 4 store i64 %15, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %arg1, align 8 store i64 %5, i64* %10, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0, 2, 3 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %5, { 2, 1, 0, 4, 5, 3, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [19 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } }
0
CompRealVul
node_ipv6_or_preferred_10645
node_ipv6_or_preferred
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC() %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %3) store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 2, 0, 1 } }
0
CompRealVul
libxenvchan_buffer_space_12165
libxenvchan_buffer_space
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = sub i64 %2, %3 %6 = add i64 %5, %4 %7 = and i64 %6, 4294967295 ret i64 %7 }
1
CompRealVul
arm_gic_init_1374
arm_gic_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 4198849, i64 %0, i64 32) %5 = inttoptr i64 %0 to i64* store i64 %arg2, i64* %5, align 8 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, -1 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 0, i64 4198856, i64 4198863, i64 %0) %9 = trunc i64 %8 to i32 %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 4096, i32 %9) %12 = call i64 @FUNC(i64 0, i64 4198870, i64 4198877, i64 %0) %13 = trunc i64 %12 to i32 %14 = add nsw i64 %3, 4096 %15 = and i64 %14, 4294967295 %16 = call i64 @FUNC(i64 %15, i64 4096, i32 %13) %17 = add i64 %0, 8 %18 = inttoptr i64 %17 to i32* store i32 %6, i32* %18, align 4 br label LBL_4 LBL_3: %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 br label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %0) store i64 %4, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 0, 3, 4, 6, 5, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @cpu_register_physical_memory, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
gen_bx_im_840
gen_bx_im
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 store i32 1, i32* %arg1, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %1, 2 %7 = icmp eq i32 %5, %6 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC() %9 = urem i64 %2, 2 %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = load i64, i64* @gv_0, align 8 %13 = call i64 @FUNC(i64 %10, i64 %12, i64 0) %14 = call i64 @FUNC(i64 %10) br label LBL_2 LBL_2: %15 = and i64 %2, 4294967294 %16 = load i32, i32* inttoptr (i64 4210844 to i32*), align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17, i64 %15) ret i64 %18 uselistorder i64 %2, { 1, 0 } uselistorder i64 (i64, i64)* @tcg_gen_movi_i32, { 1, 0 } }
0
CompRealVul
kvm_put_sregs_1954
kvm_put_sregs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %sv_11 = alloca i64, align 8 %2 = call i64* @memset(i64* nonnull %sv_10, i32 0, i32 16) %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i64* %sv_11 to i64 %6 = udiv i64 %1, 8 %7 = and i64 %6, 536870904 %8 = add nsw i64 %7, -192 %9 = add i64 %8, %5 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = urem i32 %3, 64 %13 = icmp eq i32 %12, 0 %14 = zext i32 %12 to i64 %15 = shl i64 1, %14 %storemerge = select i1 %13, i64 1, i64 %15 %16 = or i64 %11, %storemerge store i64 %16, i64* %10, align 8 br label LBL_2 LBL_2: %17 = ptrtoint i64* %arg1 to i64 %18 = add i64 %17, 96 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = urem i64 %20, 2 %22 = icmp eq i64 %21, 0 %23 = add i64 %17, 88 br i1 %22, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64* nonnull %sv_9, i64 %23) %25 = call i64 @FUNC(i64* nonnull %sv_8, i64 %23) %26 = call i64 @FUNC(i64* nonnull %sv_7, i64 %23) %27 = call i64 @FUNC(i64* nonnull %sv_6, i64 %23) %28 = call i64 @FUNC(i64* nonnull %sv_5, i64 %23) %29 = call i64 @FUNC(i64* nonnull %sv_4, i64 %23) br label LBL_5 LBL_4: %30 = call i64 @FUNC(i64* nonnull %sv_9, i64 %23) %31 = call i64 @FUNC(i64* nonnull %sv_8, i64 %23) %32 = call i64 @FUNC(i64* nonnull %sv_7, i64 %23) %33 = call i64 @FUNC(i64* nonnull %sv_6, i64 %23) %34 = call i64 @FUNC(i64* nonnull %sv_5, i64 %23) %35 = call i64 @FUNC(i64* nonnull %sv_4, i64 %23) br label LBL_5 LBL_5: %36 = add i64 %17, 104 %37 = call i64 @FUNC(i64* nonnull %sv_3, i64 %36) %38 = add i64 %17, 112 %39 = call i64 @FUNC(i64* nonnull %sv_2, i64 %38) %40 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 8) %41 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 8) %42 = inttoptr i64 %23 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = load i64, i64* %42, align 8 %46 = call i64 @FUNC(i64 %45) %47 = call i64 @FUNC(i64 %17, i64 1, i64* nonnull %sv_10) ret i64 %47 uselistorder i64 %23, { 3, 6, 5, 4, 9, 10, 12, 2, 1, 0, 7, 8, 11 } uselistorder i64 %17, { 0, 2, 1, 4, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64*, i64)* @set_seg, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64*, i64)* @set_v8086_seg, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64* (i64*, i32, i32)* @memset, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0, 4, 3 } }
0
CompRealVul
diff_delta__dup_18307
diff_delta__dup
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %0 to i64* store i64 16, i64* %8, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* store i64 %7, i64* %10, align 8 %11 = call i64 @FUNC(i64 %3, i64 16) store i64 %11, i64* %8, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = load i64, i64* %6, align 8 %14 = icmp eq i64 %13, %3 %15 = icmp eq i64 %13, 0 %or.cond = or i1 %14, %15 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %3, i64 %13) store i64 %16, i64* %10, align 8 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %0, i64* %rax.0.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_4: store i64 %11, i64* %10, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %19 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %13, { 1, 0, 2 } uselistorder i64* %10, { 1, 0, 2 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i64)* @git_pool_strdup, { 1, 0 } uselistorder label LBL_6, { 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
spr_read_tbl_14803
spr_read_tbl
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 %sext = mul i64 %arg2, 4294967296 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC() %6 = load i64, i64* @gv_0, align 8 %7 = ashr exact i64 %sext, 30 %8 = add i64 %7, ptrtoint (i32** @gv_1 to i64) %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, i64 %6) %13 = call i64 @FUNC() %14 = call i64 @FUNC(i64 %4) store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %15 = load i64, i64* @gv_0, align 8 %16 = ashr exact i64 %sext, 30 %17 = add i64 %16, ptrtoint (i32** @gv_1 to i64) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i64 %15) 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 %sext, { 1, 0 } }
1
CompRealVul
unregister_asymmetric_key_parser_9194
unregister_asymmetric_key_parser
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %6) ret i64 %7 }
0
CompRealVul
v9fs_refresh_inode_11947
v9fs_refresh_inode
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %3) %6 = icmp eq i64 %5, -1 %7 = icmp eq i1 %6, false store i64 %5, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = call i64 @FUNC(i64 %4, i64 %5, i64* nonnull %sv_0) %9 = xor i64 %8, %1 %10 = and i64 %9, 61440 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = inttoptr i64 %4 to i32* %14 = add i64 %2, 24 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %2, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %5, i64 %2, i64 %21) %23 = load i32, i32* %13, align 4 %24 = icmp ne i32 %23, 1 %25 = icmp eq i32 %23, 2 %26 = icmp eq i1 %25, false %or.cond = icmp eq i1 %24, %26 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: store i64 %18, i64* %17, align 8 br label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %14) br label LBL_5 LBL_5: %28 = call i64 @FUNC(i64 %5) %29 = call i64 @FUNC(i64 %5) 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 %5, { 3, 2, 1, 4, 0, 5 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
i740fb_check_var_19035
i740fb_check_var
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 32 br i1 %3, label LBL_10, label LBL_1 LBL_1: %4 = icmp ult i32 %2, 33 store i64 4294967274, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_20 LBL_2: %5 = icmp eq i32 %2, 24 br i1 %5, label LBL_9, label LBL_3 LBL_3: %6 = icmp ult i32 %2, 25 store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_20 LBL_4: store i64 4294967274, i64* %rax.0.reg2mem switch i32 %2, label LBL_20 [ i32 8, label LBL_5 i32 16, label LBL_6 ] LBL_5: %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 36 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %7, 28 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %7, 20 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %7, 40 %15 = inttoptr i64 %14 to i32* store i32 8, i32* %15, align 4 %16 = add i64 %7, 32 %17 = inttoptr i64 %16 to i32* store i32 8, i32* %17, align 4 %18 = add i64 %7, 24 %19 = inttoptr i64 %18 to i32* store i32 8, i32* %19, align 4 store i64 %7, i64* %.pre-phi.reg2mem br label LBL_11 LBL_6: %20 = ptrtoint i32* %arg1 to i64 %21 = add i64 %20, 32 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 6 %25 = add i64 %20, 20 %26 = inttoptr i64 %25 to i32* br i1 %24, label LBL_8, label LBL_7 LBL_7: store i32 10, i32* %26, align 4 %27 = add i64 %20, 28 %28 = inttoptr i64 %27 to i32* store i32 5, i32* %28, align 4 %29 = add i64 %20, 36 %30 = inttoptr i64 %29 to i32* store i32 0, i32* %30, align 4 %31 = add i64 %20, 24 %32 = inttoptr i64 %31 to i32* store i32 5, i32* %32, align 4 store i32 5, i32* %22, align 4 %33 = add i64 %20, 40 %34 = inttoptr i64 %33 to i32* store i32 5, i32* %34, align 4 store i64 %20, i64* %.pre-phi.reg2mem br label LBL_11 LBL_8: store i32 11, i32* %26, align 4 %35 = add i64 %20, 28 %36 = inttoptr i64 %35 to i32* store i32 5, i32* %36, align 4 %37 = add i64 %20, 36 %38 = inttoptr i64 %37 to i32* store i32 0, i32* %38, align 4 %39 = add i64 %20, 40 %40 = inttoptr i64 %39 to i32* store i32 5, i32* %40, align 4 %41 = add i64 %20, 24 %42 = inttoptr i64 %41 to i32* store i32 5, i32* %42, align 4 store i64 %20, i64* %.pre-phi.reg2mem br label LBL_11 LBL_9: %43 = ptrtoint i32* %arg1 to i64 %44 = add i64 %43, 20 %45 = inttoptr i64 %44 to i32* store i32 16, i32* %45, align 4 %46 = add i64 %43, 28 %47 = inttoptr i64 %46 to i32* store i32 8, i32* %47, align 4 %48 = add i64 %43, 36 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %43, 40 %51 = inttoptr i64 %50 to i32* store i32 8, i32* %51, align 4 %52 = add i64 %43, 32 %53 = inttoptr i64 %52 to i32* store i32 8, i32* %53, align 4 %54 = add i64 %43, 24 %55 = inttoptr i64 %54 to i32* store i32 8, i32* %55, align 4 store i64 %43, i64* %.pre-phi.reg2mem br label LBL_11 LBL_10: %56 = ptrtoint i32* %arg1 to i64 %57 = add i64 %56, 44 %58 = inttoptr i64 %57 to i32* store i32 24, i32* %58, align 4 %59 = add i64 %56, 20 %60 = inttoptr i64 %59 to i32* store i32 16, i32* %60, align 4 %61 = add i64 %56, 28 %62 = inttoptr i64 %61 to i32* store i32 8, i32* %62, align 4 %63 = add i64 %56, 36 %64 = inttoptr i64 %63 to i32* store i32 0, i32* %64, align 4 %65 = add i64 %56, 48 %66 = inttoptr i64 %65 to i32* store i32 8, i32* %66, align 4 %67 = add i64 %56, 40 %68 = inttoptr i64 %67 to i32* store i32 8, i32* %68, align 4 %69 = add i64 %56, 32 %70 = inttoptr i64 %69 to i32* store i32 8, i32* %70, align 4 %71 = add i64 %56, 24 %72 = inttoptr i64 %71 to i32* store i32 8, i32* %72, align 4 store i64 %56, i64* %.pre-phi.reg2mem br label LBL_11 LBL_11: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %73 = add i64 %.pre-phi.reload, 4 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %.pre-phi.reload, 12 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = icmp ugt i32 %75, %78 br i1 %79, label LBL_12, label LBL_13 LBL_12: store i32 %75, i32* %77, align 4 br label LBL_13 LBL_13: %80 = add i64 %.pre-phi.reload, 8 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = add i64 %.pre-phi.reload, 16 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = icmp ugt i32 %82, %85 br i1 %86, label LBL_14, label LBL_15 LBL_14: store i32 %82, i32* %84, align 4 br label LBL_15 LBL_15: %87 = bitcast i64* %rsi to i32* %88 = load i32, i32* %87, align 8 %89 = icmp eq i32 %88, 0 br i1 %89, label LBL_19, label LBL_16 LBL_16: %90 = ptrtoint i32* %arg2 to i64 %91 = add i64 %90, 4 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label LBL_19, label LBL_17 LBL_17: %95 = add i64 %90, 8 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_19, label LBL_18 LBL_18: %99 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %90) %100 = trunc i64 %99 to i32 %101 = icmp slt i32 %100, 0 %102 = icmp eq i1 %101, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %102, label LBL_19, label LBL_20 LBL_19: store i64 0, 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 %.pre-phi.reload, { 0, 2, 1, 3, 4 } uselistorder i32* %26, { 1, 0 } uselistorder i64 %20, { 0, 6, 7, 8, 9, 1, 2, 3, 4, 5, 10, 11 } uselistorder i32 %2, { 4, 3, 2, 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 4, 5, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 10 } uselistorder i32 16, { 1, 2, 0 } uselistorder i32 8, { 4, 5, 7, 8, 9, 2, 3, 10, 11, 0, 1, 12, 6 } uselistorder i32 24, { 1, 0 } uselistorder i64 4294967274, { 0, 3, 2, 1 } uselistorder i32* %arg1, { 3, 2, 0, 1 } uselistorder label LBL_20, { 4, 0, 3, 2, 1 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 2, 3, 1, 0, 4 } }
1
CompRealVul
btrfs_trans_release_chunk_metadata_12383
btrfs_trans_release_chunk_metadata
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 24 %9 = call i64 @FUNC(i64 %8) %10 = urem i64 %9, 256 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = load i64, i64* %5, align 8 %15 = call i64 @FUNC(i64 %0, i64 %0, i64 %14, i64 0) %16 = load i64, i64* %5, align 8 %17 = call i64 @FUNC(i64 %16, i64 %3) %18 = add i64 %3, 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %5, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
next_line_11597
next_line
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rcx.05.reg2mem = alloca i64 %0 = icmp eq i64* %arg3, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %2 = ptrtoint i64* %arg5 to i64 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %4, i64 %3, i64 %2) %7 = icmp eq i64* %arg5, null %8 = icmp eq i64 %6, %2 %or.cond3 = icmp eq i1 %7, %8 store i64 %3, i64* %rcx.05.reg2mem store i64 %6, i64* %storemerge.reg2mem br i1 %or.cond3, label LBL_3, label LBL_5 LBL_3: %rcx.05.reload = load i64, i64* %rcx.05.reg2mem %9 = add i64 %rcx.05.reload, 1023 %10 = and i64 %9, 4294966272 %11 = add i64 %rcx.05.reload, 160 %12 = icmp ult i64 %10, %11 %13 = zext i1 %12 to i64 %spec.select = shl nuw nsw i64 %10, %13 %14 = call i64 @FUNC(i64 %5, i64 %spec.select, i64 %3) store i64 %14, i64* %arg2, align 8 %15 = icmp eq i64 %spec.select, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: store i64 %4, i64* %arg4, align 8 store i64 %spec.select, i64* %arg2, align 8 store i64 %spec.select, i64* %arg3, align 8 %17 = call i64 @FUNC(i64 %spec.select, i64 %spec.select, i64 %2) %18 = icmp slt i64 %17, 0 %19 = select i1 %18, i64 0, i64 %2 %spec.select2 = add i64 %19, %17 %20 = icmp eq i64 %spec.select2, %2 store i64 %spec.select, i64* %rcx.05.reg2mem store i64 %spec.select2, i64* %storemerge.reg2mem br i1 %20, label LBL_3, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %spec.select, { 0, 2, 4, 1, 3, 6, 5 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 2, 0, 3, 1, 4 } uselistorder i64* %rcx.05.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64, i64)* @get_line_size, { 1, 0 } uselistorder i64* %arg5, { 0, 2, 1 } uselistorder i64* %arg3, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0, 3, 2 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
ff_qsv_decode_init_3354
ff_qsv_decode_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %3 = icmp eq i64* %arg2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 16 %11 = call i64 @FUNC(i64 %10) store i64 %11, i64* %arg2, align 8 store i64 4294967284, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = call i64 @FUNC(i64 %12, i64 %2, i64 %arg3) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %12, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) %18 = and i64 %13, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %19 = and i64 %1, 4294967295 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = and i64 %20, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_8 LBL_6: store i32 %21, i32* %sv_0, align 4 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = bitcast i32* %sv_0 to i64* %29 = call i64 @FUNC(i64 %27, i64* nonnull %28) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %12, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0)) %34 = and i64 %29, 4294967295 %35 = call i64 @FUNC(i64 %34) store i64 %35, 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 %12, { 1, 0, 2 } uselistorder i32* %sv_0, { 2, 1, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_8, { 2, 1, 3, 4, 0 } }
0
CompRealVul
fmt_mtm_load_song_7818
fmt_mtm_load_song
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r8.2.reg2mem = alloca i64 %rdx.2.reg2mem = alloca i64 %rcx.2.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rsi.122.reg2mem = alloca i64 %r8.123.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %.reg2mem57 = alloca i64 %storemerge1227.reg2mem = alloca i32 %.reg2mem55 = alloca i64 %storemerge14.in.reg2mem = alloca i64 %sv_0.129.reg2mem = alloca i32 %sv_1.0.in30.reg2mem = alloca i64 %sv_2.0.in31.reg2mem = alloca i64 %storemerge1628.reg2mem = alloca i32 %.reg2mem53 = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge1334.reg2mem = alloca i32 %.reg2mem51 = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge1835.reg2mem = alloca i32 %.reg2mem49 = alloca i64 %sv_3.2.lcssa.reg2mem = alloca i32 %sv_3.1.reg2mem = alloca i32 %sv_3.236.reg2mem = alloca i32 %sv_0.037.reg2mem = alloca i32 %storemerge19.in38.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv42.reg2mem = alloca i64 %indvars.iv45.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %sv_7 = alloca i32, align 4 %sv_8 = alloca i32, align 4 %sv_9 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_9, i64 3) %4 = call i32 @memcmp(i64* nonnull %sv_9, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3) %5 = icmp eq i32 %4, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_47 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %2) %8 = urem i64 %7, 16 %9 = udiv i64 %7, 16 %10 = urem i64 %9, 16 %11 = bitcast i64* %arg1 to i8* %12 = call i32 (i8*, i8*, ...) @sprintf(i8* %11, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %8) %13 = add i64 %6, 32 %14 = inttoptr i64 %13 to i64* %15 = call i64 @FUNC(i64 %2, i64* %14, i64 20) %16 = add i64 %6, 52 %17 = inttoptr i64 %16 to i8* store i8 0, i8* %17, align 1 %18 = bitcast i32* %sv_8 to i64* %19 = call i64 @FUNC(i64 %2, i64* nonnull %18, i64 2) %20 = load i32, i32* %sv_8, align 4 %21 = urem i32 %20, 65536 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %sext = mul i32 %24, 65536 %25 = ashr exact i32 %sext, 16 store i32 %25, i32* %sv_8, align 4 %26 = call i64 @FUNC(i64 %2) %27 = call i64 @FUNC(i64 %2) %28 = trunc i64 %27 to i32 %29 = bitcast i32* %sv_7 to i64* %30 = call i64 @FUNC(i64 %2, i64* nonnull %29, i64 2) %31 = load i32, i32* %sv_7, align 4 %32 = urem i32 %31, 65536 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 %sext10 = mul i32 %35, 65536 %36 = ashr exact i32 %sext10, 16 store i32 %36, i32* %sv_7, align 4 %37 = call i64 @FUNC(i64 %2) %38 = call i64 @FUNC(i64 %2) %39 = call i64 @FUNC(i64 %2) %40 = trunc i64 %39 to i32 %41 = urem i32 %40, 256 %42 = call i64 @FUNC(i64 %2) %43 = add i64 %6, 53 store i64 0, i64* %indvars.iv45.reg2mem br label LBL_2 LBL_2: %indvars.iv45.reload = load i64, i64* %indvars.iv45.reg2mem %44 = call i64 @FUNC(i64 %2) %.tr = trunc i64 %44 to i8 %45 = mul i8 %.tr, 4 %46 = and i8 %45, 60 %47 = mul i64 %indvars.iv45.reload, 2 %48 = add i64 %43, %47 %49 = inttoptr i64 %48 to i8* store i8 %46, i8* %49, align 1 %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45.reload, 1 %exitcond47 = icmp eq i64 %indvars.iv.next46, 32 store i64 %indvars.iv.next46, i64* %indvars.iv45.reg2mem br i1 %exitcond47, label LBL_3, label LBL_2 LBL_3: %50 = and i64 %42, 224 %51 = icmp eq i64 %50, 0 br i1 %51, label LBL_4, label LBL_6 LBL_4: %52 = add i64 %6, 54 %53 = urem i64 %42, 256 store i64 %53, i64* %indvars.iv42.reg2mem br label LBL_5 LBL_5: %indvars.iv42.reload = load i64, i64* %indvars.iv42.reg2mem %54 = mul i64 %indvars.iv42.reload, 2 %55 = add i64 %52, %54 %56 = inttoptr i64 %55 to i8* store i8 4, i8* %56, align 1 %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42.reload, 1 %exitcond44 = icmp eq i64 %indvars.iv.next43, 32 store i64 %indvars.iv.next43, i64* %indvars.iv42.reg2mem br i1 %exitcond44, label LBL_6, label LBL_5 LBL_6: %57 = icmp eq i32 %41, 64 %58 = urem i64 %37, 256 %spec.select = select i1 %57, i32 0, i32 64 %59 = icmp eq i64 %58, 0 store i32 %spec.select, i32* %sv_3.2.lcssa.reg2mem br i1 %59, label LBL_14, label LBL_7 LBL_7: %60 = add i64 %6, 164 %61 = bitcast i64* %sv_6 to i8* %62 = bitcast i32* %sv_5 to i64* store i64 1, i64* %.reg2mem store i64 %60, i64* %storemerge19.in38.reg2mem store i32 1, i32* %sv_0.037.reg2mem store i32 %spec.select, i32* %sv_3.236.reg2mem br label LBL_8 LBL_8: %sv_3.236.reload = load i32, i32* %sv_3.236.reg2mem %sv_0.037.reload = load i32, i32* %sv_0.037.reg2mem %storemerge19.in38.reload = load i64, i64* %storemerge19.in38.reg2mem %.reload = load i64, i64* %.reg2mem %storemerge19 = inttoptr i64 %storemerge19.in38.reload to i8* %63 = call i64 @FUNC(i64 %2, i64* nonnull %sv_6, i64 22) %64 = call i8* @strcpy(i8* %storemerge19, i8* nonnull %61) %65 = call i64 @FUNC(i64 %2, i64* nonnull %62, i64 4) %66 = load i32, i32* %sv_5, align 4 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %67) %69 = trunc i64 %68 to i32 %70 = add i64 %storemerge19.in38.reload, 24 %71 = inttoptr i64 %70 to i32* store i32 %69, i32* %71, align 4 %72 = call i64 @FUNC(i64 %2, i64* nonnull %62, i64 4) %73 = load i32, i32* %sv_5, align 4 %74 = zext i32 %73 to i64 %75 = call i64 @FUNC(i64 %74) %76 = trunc i64 %75 to i32 %77 = add i64 %storemerge19.in38.reload, 28 %78 = inttoptr i64 %77 to i32* store i32 %76, i32* %78, align 4 %79 = call i64 @FUNC(i64 %2, i64* nonnull %62, i64 4) %80 = load i32, i32* %sv_5, align 4 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %81) %83 = trunc i64 %82 to i32 %84 = add i64 %storemerge19.in38.reload, 32 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = load i32, i32* %78, align 4 %87 = sub i32 %83, %86 %88 = icmp ult i32 %87, 3 br i1 %88, label LBL_10, label LBL_9 LBL_9: %89 = add i64 %storemerge19.in38.reload, 38 %90 = inttoptr i64 %89 to i8* %91 = load i8, i8* %90, align 1 %92 = or i8 %91, 1 store i8 %92, i8* %90, align 1 br label LBL_11 LBL_10: store i32 0, i32* %78, align 4 store i32 0, i32* %85, align 4 br label LBL_11 LBL_11: %93 = call i64 @FUNC(i64 %2) %94 = mul nsw i64 %.reload, 44 %95 = add i64 %94, %6 %96 = add i64 %95, 159 %97 = trunc i64 %93 to i8 %98 = inttoptr i64 %96 to i8* store i8 %97, i8* %98, align 1 %99 = call i64 @FUNC(i64 %2) %100 = trunc i64 %99 to i8 %101 = add i64 %storemerge19.in38.reload, 36 %102 = inttoptr i64 %101 to i8* %103 = mul i8 %100, 4 store i8 %103, i8* %102, align 1 %104 = add i64 %storemerge19.in38.reload, 37 %105 = inttoptr i64 %104 to i8* store i8 64, i8* %105, align 1 %106 = call i64 @FUNC(i64 %2) %107 = urem i64 %106, 2 %108 = icmp eq i64 %107, 0 store i32 %sv_3.236.reload, i32* %sv_3.1.reg2mem br i1 %108, label LBL_13, label LBL_12 LBL_12: %109 = or i32 %sv_3.236.reload, 16 %110 = add i64 %storemerge19.in38.reload, 38 %111 = inttoptr i64 %110 to i8* %112 = load i8, i8* %111, align 1 %113 = or i8 %112, 2 store i8 %113, i8* %111, align 1 %114 = load i32, i32* %71, align 4 %115 = udiv i32 %114, 2 store i32 %115, i32* %71, align 4 %116 = load i32, i32* %78, align 4 %117 = udiv i32 %116, 2 store i32 %117, i32* %78, align 4 %118 = load i32, i32* %85, align 4 %119 = udiv i32 %118, 2 store i32 %119, i32* %85, align 4 store i32 %109, i32* %sv_3.1.reg2mem br label LBL_13 LBL_13: %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem %120 = add i64 %95, 160 %121 = inttoptr i64 %120 to i8* store i8 0, i8* %121, align 1 %122 = add i64 %95, 161 %123 = inttoptr i64 %122 to i8* store i8 0, i8* %123, align 1 %124 = add i64 %95, 162 %125 = inttoptr i64 %124 to i8* store i8 0, i8* %125, align 1 %126 = add i64 %95, 163 %127 = inttoptr i64 %126 to i8* store i8 0, i8* %127, align 1 %128 = add i32 %sv_0.037.reload, 1 %129 = add i64 %storemerge19.in38.reload, 44 %130 = sext i32 %128 to i64 %131 = icmp slt i64 %58, %130 store i64 %130, i64* %.reg2mem store i64 %129, i64* %storemerge19.in38.reg2mem store i32 %128, i32* %sv_0.037.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.236.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.2.lcssa.reg2mem br i1 %131, label LBL_14, label LBL_8 LBL_14: %132 = urem i32 %28, 256 %133 = add nuw nsw i32 %132, 1 %sv_3.2.lcssa.reload = load i32, i32* %sv_3.2.lcssa.reg2mem %134 = add i64 %6, 11384 %135 = inttoptr i64 %134 to i64* %136 = call i64 @FUNC(i64 %2, i64* %135, i64 128) %137 = xor i32 %132, 255 %138 = zext i32 %133 to i64 %139 = add i64 %134, %138 %140 = inttoptr i64 %139 to i64* %141 = call i64* @memset(i64* %140, i32 255, i32 %137) %142 = load i32, i32* %sv_8, align 4 %143 = urem i32 %142, 65536 %144 = zext i32 %143 to i64 %145 = call i64 @FUNC(i64 %144, i64 8) %146 = load i32, i32* %sv_8, align 4 %147 = urem i32 %146, 65536 %148 = icmp eq i32 %147, 0 br i1 %148, label LBL_14.LBL_18_crit_edge, label LBL_16 LBL_15: %.pre = zext i32 %41 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_18 LBL_16: %149 = mul nuw nsw i32 %41, 3 %150 = zext i32 %149 to i64 %151 = zext i32 %41 to i64 store i64 0, i64* %.reg2mem49 store i32 0, i32* %storemerge1835.reg2mem br label LBL_17 LBL_17: %storemerge1835.reload = load i32, i32* %storemerge1835.reg2mem %.reload50 = load i64, i64* %.reg2mem49 %152 = call i64 @FUNC(i64 %2, i64* nonnull %sv_9, i64 %150) %153 = mul i64 %.reload50, 8 %154 = add i64 %153, %145 %155 = call i64 @FUNC(i64 %151, i64 2) %156 = inttoptr i64 %154 to i64* store i64 %155, i64* %156, align 8 %157 = call i64 @FUNC(i64* nonnull %sv_9, i64 %155, i32 %41) %158 = add i32 %storemerge1835.reload, 1 %159 = load i32, i32* %sv_8, align 4 %160 = urem i32 %159, 65536 %161 = zext i32 %160 to i64 %162 = sext i32 %158 to i64 %163 = icmp slt i64 %162, %161 store i64 %162, i64* %.reg2mem49 store i32 %158, i32* %storemerge1835.reg2mem store i64 %151, i64* %.pre-phi.reg2mem br i1 %163, label LBL_17, label LBL_18 LBL_18: %164 = urem i64 %26, 256 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %165 = icmp ult i32 %41, 32 %166 = icmp eq i1 %165, false %167 = select i1 %166, i64 %.pre-phi.reload, i64 32 %168 = add i64 %6, 12536 %169 = bitcast i32* %sv_4 to i64* %170 = add i64 %145, -8 %171 = icmp eq i32 %41, 0 %172 = icmp ugt i32 %41, 31 %173 = mul i32 %41, 64 %174 = add nsw i32 %173, -64 %175 = sext i32 %174 to i64 store i64 0, i64* %.reg2mem51 store i32 0, i32* %storemerge1334.reg2mem br label LBL_19 LBL_19: %storemerge1334.reload = load i32, i32* %storemerge1334.reg2mem %.reload52 = load i64, i64* %.reg2mem51 %176 = call i64 @FUNC(i64 %167) %177 = mul i64 %.reload52, 8 %178 = add i64 %168, %177 %179 = inttoptr i64 %178 to i64* store i64 %176, i64* %179, align 8 %180 = mul i64 %.reload52, 2 %181 = add i64 %180, %6 %182 = add i64 %181, 12024 %183 = inttoptr i64 %182 to i16* store i16 64, i16* %183, align 2 %184 = add i64 %181, 11512 %185 = inttoptr i64 %184 to i16* store i16 64, i16* %185, align 2 store i64 0, i64* %indvars.iv.reg2mem br label LBL_20 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %186 = call i64 @FUNC(i64 %2, i64* nonnull %169, i64 2) %187 = load i32, i32* %sv_4, align 4 %188 = urem i32 %187, 65536 %189 = zext i32 %188 to i64 %190 = call i64 @FUNC(i64 %189) %191 = trunc i64 %190 to i32 %sext15 = mul i32 %191, 65536 %192 = ashr exact i32 %sext15, 16 store i32 %192, i32* %sv_4, align 4 %193 = trunc i32 %192 to i16 %194 = icmp eq i16 %193, 0 br i1 %194, label LBL_28, label LBL_21 LBL_21: %195 = load i32, i32* %sv_8, align 4 %196 = trunc i32 %195 to i16 %197 = icmp ugt i16 %193, %196 br i1 %197, label LBL_22, label LBL_25 LBL_22: %198 = urem i32 %195, 65536 %199 = icmp eq i32 %198, 0 store i64 0, i64* %.reg2mem53 store i32 0, i32* %storemerge1628.reg2mem br i1 %199, label LBL_24, label LBL_23 LBL_23: %storemerge1628.reload = load i32, i32* %storemerge1628.reg2mem %.reload54 = load i64, i64* %.reg2mem53 %200 = mul i64 %.reload54, 8 %201 = add i64 %200, %145 %202 = inttoptr i64 %201 to i64* %203 = load i64, i64* %202, align 8 %204 = call i64 @FUNC(i64 %203) %205 = add i32 %storemerge1628.reload, 1 %206 = load i32, i32* %sv_8, align 4 %207 = urem i32 %206, 65536 %208 = zext i32 %207 to i64 %209 = sext i32 %205 to i64 %210 = icmp slt i64 %209, %208 store i64 %209, i64* %.reg2mem53 store i32 %205, i32* %storemerge1628.reg2mem br i1 %210, label LBL_23, label LBL_24 LBL_24: %211 = call i64 @FUNC(i64 %145) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_47 LBL_25: br i1 %171, label LBL_28, label LBL_26 LBL_26: %212 = mul i64 %190, 8 %213 = and i64 %212, 524280 %214 = add i64 %170, %213 %215 = inttoptr i64 %214 to i64* %216 = load i64, i64* %215, align 8 %217 = load i64, i64* %179, align 8 %218 = add i64 %217, %indvars.iv.reload store i64 %218, i64* %sv_2.0.in31.reg2mem store i64 %216, i64* %sv_1.0.in30.reg2mem store i32 0, i32* %sv_0.129.reg2mem br label LBL_27 LBL_27: %sv_0.129.reload = load i32, i32* %sv_0.129.reg2mem %sv_1.0.in30.reload = load i64, i64* %sv_1.0.in30.reg2mem %sv_2.0.in31.reload = load i64, i64* %sv_2.0.in31.reg2mem %sv_2.0 = inttoptr i64 %sv_2.0.in31.reload to i16* %sv_1.0 = inttoptr i64 %sv_1.0.in30.reload to i16* %219 = load i16, i16* %sv_1.0, align 2 store i16 %219, i16* %sv_2.0, align 2 %220 = add nuw nsw i32 %sv_0.129.reload, 1 %221 = add i64 %sv_1.0.in30.reload, 2 %222 = add i64 %sv_2.0.in31.reload, 64 %exitcond = icmp eq i32 %220, %41 store i64 %222, i64* %sv_2.0.in31.reg2mem store i64 %221, i64* %sv_1.0.in30.reg2mem store i32 %220, i32* %sv_0.129.reg2mem br i1 %exitcond, label LBL_28, label LBL_27 LBL_28: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %223 = icmp ult i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %223, label LBL_20, label LBL_29 LBL_29: br i1 %172, label LBL_35, label LBL_30 LBL_30: %224 = load i64, i64* %179, align 8 %225 = add i64 %224, %175 store i64 %225, i64* %storemerge14.in.reg2mem br label LBL_32 LBL_31: %226 = add i64 %storemerge14.in.reload, 2 store i64 %226, i64* %storemerge14.in.reg2mem br label LBL_32 LBL_32: %storemerge14.in.reload = load i64, i64* %storemerge14.in.reg2mem %227 = inttoptr i64 %storemerge14.in.reload to i8* %228 = load i8, i8* %227, align 1 %229 = icmp eq i8 %228, 0 %230 = icmp eq i1 %229, false br i1 %230, label LBL_31, label LBL_33 LBL_33: %231 = add i64 %storemerge14.in.reload, 1 %232 = inttoptr i64 %231 to i8* %233 = load i8, i8* %232, align 1 %234 = icmp eq i8 %233, 0 %235 = icmp eq i1 %234, false br i1 %235, label LBL_31, label LBL_34 LBL_34: store i8 12, i8* %227, align 1 br label LBL_35 LBL_35: %236 = add i32 %storemerge1334.reload, 1 %237 = sext i32 %236 to i64 %238 = icmp slt i64 %164, %237 store i64 %237, i64* %.reg2mem51 store i32 %236, i32* %storemerge1334.reg2mem br i1 %238, label LBL_36, label LBL_19 LBL_36: %239 = load i32, i32* %sv_8, align 4 %240 = urem i32 %239, 65536 %241 = icmp eq i32 %240, 0 store i64 0, i64* %.reg2mem55 store i32 0, i32* %storemerge1227.reg2mem br i1 %241, label LBL_38, label LBL_37 LBL_37: %storemerge1227.reload = load i32, i32* %storemerge1227.reg2mem %.reload56 = load i64, i64* %.reg2mem55 %242 = mul i64 %.reload56, 8 %243 = add i64 %242, %145 %244 = inttoptr i64 %243 to i64* %245 = load i64, i64* %244, align 8 %246 = call i64 @FUNC(i64 %245) %247 = add i32 %storemerge1227.reload, 1 %248 = load i32, i32* %sv_8, align 4 %249 = urem i32 %248, 65536 %250 = zext i32 %249 to i64 %251 = sext i32 %247 to i64 %252 = icmp slt i64 %251, %250 store i64 %251, i64* %.reg2mem55 store i32 %247, i32* %storemerge1227.reg2mem br i1 %252, label LBL_37, label LBL_38 LBL_38: %253 = call i64 @FUNC(i64 %145) %254 = load i32, i32* %sv_7, align 4 %255 = urem i32 %254, 65536 %256 = zext i32 %255 to i64 %257 = add i64 %6, 14585 %258 = call i64 @FUNC(i64 %257, i64 %2, i64 %256, i64 40) %259 = urem i32 %arg3, 2 %260 = icmp eq i32 %259, 0 %261 = icmp eq i1 %260, false %brmerge = or i1 %261, %59 store i64 40, i64* %rcx.2.reg2mem store i64 %256, i64* %rdx.2.reg2mem br i1 %brmerge, label LBL_43, label LBL_39 LBL_39: %262 = add i64 %2, 8 %263 = inttoptr i64 %262 to i64* %264 = add i64 %2, 16 %265 = inttoptr i64 %264 to i64* %266 = add i64 %6, 120 store i64 1, i64* %.reg2mem57 store i32 1, i32* %storemerge24.reg2mem store i64 %2, i64* %rsi.122.reg2mem br label LBL_40 LBL_40: %rsi.122.reload = load i64, i64* %rsi.122.reg2mem %r8.123.reload = load i64, i64* %r8.123.reg2mem %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %.reload58 = load i64, i64* %.reg2mem57 %267 = mul nsw i64 %.reload58, 44 %268 = add i64 %267, %6 %269 = add i64 %268, 144 %270 = inttoptr i64 %269 to i32* %271 = load i32, i32* %270, align 4 %272 = icmp eq i32 %271, 0 store i64 %6, i64* %rcx.0.reg2mem store i64 %.reload58, i64* %rdx.0.reg2mem store i64 %rsi.122.reload, i64* %rsi.0.reg2mem store i64 %r8.123.reload, i64* %r8.0.reg2mem br i1 %272, label LBL_42, label LBL_41 LBL_41: %273 = load i64, i64* %263, align 8 %274 = load i64, i64* %265, align 8 %275 = sub i64 %273, %274 %276 = add i64 %274, %rsi.122.reload %277 = add i64 %268, 158 %278 = inttoptr i64 %277 to i8* %279 = load i8, i8* %278, align 1 %280 = and i8 %279, 2 %281 = icmp eq i8 %280, 0 %. = select i1 %281, i64 23, i64 15 %282 = add i64 %267, %266 %283 = call i64 @FUNC(i64 %282, i64 %., i64 %276, i64 %275) %284 = and i64 %283, 4294967295 %285 = call i64 @FUNC(i64 %2, i64 %284, i64 1) store i64 %284, i64* %rcx.0.reg2mem store i64 1, i64* %rdx.0.reg2mem store i64 %284, i64* %rsi.0.reg2mem store i64 %266, i64* %r8.0.reg2mem br label LBL_42 LBL_42: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %286 = add i32 %storemerge24.reload, 1 %287 = sext i32 %286 to i64 %288 = icmp slt i64 %58, %287 store i64 %287, i64* %.reg2mem57 store i32 %286, i32* %storemerge24.reg2mem store i64 %r8.0.reload, i64* %r8.123.reg2mem store i64 %rsi.0.reload, i64* %rsi.122.reg2mem store i64 %rcx.0.reload, i64* %rcx.2.reg2mem store i64 %rdx.0.reload, i64* %rdx.2.reg2mem store i64 %r8.0.reload, i64* %r8.2.reg2mem br i1 %288, label LBL_43, label LBL_40 LBL_43: %r8.2.reload = load i64, i64* %r8.2.reg2mem %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %289 = add i64 %6, 14584 %290 = inttoptr i64 %289 to i8* store i8 3, i8* %290, align 1 %291 = and i32 %sv_3.2.lcssa.reload, 64 %292 = icmp eq i32 %291, 0 br i1 %292, label LBL_45, label LBL_44 LBL_44: %293 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.2.reload, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %1) br label LBL_45 LBL_45: %294 = and i32 %sv_3.2.lcssa.reload, 16 %295 = icmp eq i32 %294, 0 store i64 0, i64* %rax.0.reg2mem br i1 %295, label LBL_47, label LBL_46 LBL_46: %296 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.2.reload, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_47 LBL_47: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rsi.122.reload, { 1, 0 } uselistorder i64 %storemerge14.in.reload, { 1, 0, 2 } uselistorder i64 %.reload52, { 1, 0 } uselistorder i64 %145, { 5, 0, 4, 1, 3, 2 } uselistorder i32 %132, { 1, 0 } uselistorder i32* %85, { 1, 0, 2, 3 } uselistorder i32* %78, { 1, 0, 3, 2, 4 } uselistorder i32* %71, { 1, 0, 2 } uselistorder i32 %sv_3.236.reload, { 1, 0 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i64 %58, { 1, 0, 2 } uselistorder i32 %41, { 8, 0, 5, 7, 4, 3, 6, 2, 9, 1 } uselistorder i64 %6, { 8, 0, 1, 7, 9, 2, 6, 10, 3, 11, 5, 4, 12, 13 } uselistorder i32* %sv_8, { 8, 1, 7, 6, 5, 0, 4, 3, 2, 9 } uselistorder i32* %sv_7, { 2, 1, 0, 3 } uselistorder i64* %sv_6, { 1, 0 } uselistorder i32* %sv_5, { 2, 1, 0, 3 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i64 %2, { 9, 0, 11, 10, 12, 8, 13, 14, 1, 2, 3, 4, 5, 6, 7, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv45.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv42.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge19.in38.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.037.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.236.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem49, { 1, 0, 2 } uselistorder i32* %storemerge1835.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %storemerge1334.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem53, { 2, 0, 1 } uselistorder i32* %storemerge1628.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.in31.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in30.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.129.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge14.in.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem55, { 2, 0, 1 } uselistorder i32* %storemerge1227.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem57, { 1, 0, 2 } uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.123.reg2mem, { 1, 0 } uselistorder i64* %rsi.122.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_appendf, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 (i64, i64)* @mem_calloc, { 1, 0 } uselistorder i64 8, { 6, 0, 1, 2, 3, 4, 5 } uselistorder i32 255, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 4, 0 } uselistorder i8 2, { 1, 0 } uselistorder i64 44, { 1, 2, 0 } uselistorder i64 (i64)* @bswapLE32, { 2, 1, 0 } uselistorder i32 64, { 3, 0, 1, 2 } uselistorder i64 256, { 3, 2, 1, 0, 5, 4 } uselistorder i64 1, { 0, 6, 1, 7, 5, 2, 4, 3, 8 } uselistorder i8 4, { 0, 2, 1 } uselistorder i32 16, { 3, 0, 4, 1, 2 } uselistorder i64 (i64)* @bswapLE16, { 2, 1, 0 } uselistorder i32 65536, { 3, 4, 5, 6, 7, 0, 8, 9, 10, 11, 1, 12, 2, 13 } uselistorder i64 2, { 4, 5, 10, 11, 6, 0, 7, 3, 1, 2, 8, 9 } uselistorder i64 32, { 2, 3, 4, 1, 0, 5 } uselistorder i64 0, { 1, 12, 13, 0, 14, 15, 2, 3, 4, 5, 6, 11, 10, 9, 7, 16, 17, 8, 18 } uselistorder i64 16, { 3, 1, 0, 2, 4, 5, 6 } uselistorder i64 (i64)* @slurp_getc, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 3, { 1, 0, 2 } uselistorder i64 (i64, i64*, i64)* @slurp_read, { 10, 9, 4, 8, 7, 6, 5, 3, 2, 1, 0 } uselistorder label LBL_47, { 1, 0, 3, 2 } uselistorder label LBL_42, { 1, 0 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_37, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
decode_channel_residues_18215
decode_channel_residues
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge21.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i32 %.pre-phi33.reg2mem = alloca i32* %.pre-phi35.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge20.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = add i64 %0, 64 %2 = ashr exact i64 %sext, 30 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %1) %5 = trunc i64 %4 to i32 %6 = inttoptr i64 %3 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %2, %1 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = zext i32 %arg3 to i64 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %15, %2 %17 = and i64 %12, 4294967295 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = trunc i64 %18 to i32 %20 = inttoptr i64 %16 to i32* store i32 %19, i32* %20, align 4 %21 = load i64, i64* %14, align 8 %22 = add i64 %21, %2 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %8, align 4 br label LBL_3 LBL_3: %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp slt i32 %28, 0 %30 = zext i1 %29 to i32 %31 = add i32 %28, %30 %32 = ashr i32 %31, 1 %33 = add i64 %0, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %35, %2 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = sub i32 %32, %38 %40 = xor i32 %32, %38 %41 = xor i32 %39, %32 %42 = and i32 %41, %40 %43 = icmp slt i32 %42, 0 %44 = icmp slt i32 %39, 0 %45 = icmp eq i1 %44, %43 %46 = select i1 %45, i32 %32, i32 %38 store i32 %46, i32* %37, align 4 br label LBL_6 LBL_4: %47 = add i64 %0, 16 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = add i64 %49, %2 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_6, label LBL_5 LBL_5: store i32 1, i32* %8, align 4 br label LBL_6 LBL_6: %54 = add i64 %0, 40 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = icmp eq i32 %56, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %57, label LBL_11, label LBL_7 LBL_7: %58 = add i64 %0, 32 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %1, i64 %61) %63 = add i64 %0, 36 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = add i64 %0, 24 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %68, %2 %70 = add i32 %65, 1 %71 = urem i32 %70, 32 %72 = icmp eq i32 %71, 0 %73 = trunc i64 %62 to i32 %74 = shl i32 %73, %71 %75 = zext i32 %74 to i64 %storemerge = select i1 %72, i64 %62, i64 %75 %76 = trunc i64 %storemerge to i32 %77 = inttoptr i64 %69 to i32* store i32 %76, i32* %77, align 4 %.pr = load i32, i32* %55, align 4 %phitmp = icmp eq i32 %.pr, 0 store i32 0, i32* %sv_1.0.ph.reg2mem br i1 %phitmp, label LBL_11, label LBL_8 LBL_8: %78 = add i64 %0, 44 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 %82 = load i32, i32* %59, align 4 br i1 %81, label LBL_10, label LBL_9 LBL_9: %83 = add i32 %82, 1 %84 = add i64 %0, 56 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = ashr exact i64 %sext, 29 %88 = add i64 %86, %87 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = zext i32 %83 to i64 %92 = call i64 @FUNC(i64 %1, i64 %91) %93 = trunc i64 %92 to i32 %94 = inttoptr i64 %90 to i32* store i32 %93, i32* %94, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_10: %95 = add i64 %0, 56 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = ashr exact i64 %sext, 29 %99 = add i64 %97, %98 %100 = inttoptr i64 %99 to i64* %101 = load i64, i64* %100, align 8 %102 = zext i32 %82 to i64 %103 = call i64 @FUNC(i64 %1, i64 %102) %104 = trunc i64 %103 to i32 %105 = inttoptr i64 %101 to i32* store i32 %104, i32* %105, align 4 store i32 1, i32* %sv_1.0.ph.reg2mem br label LBL_11 LBL_11: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %106 = icmp slt i32 %sv_1.0.ph.reload, %arg3 store i64 0, i64* %storemerge21.reg2mem br i1 %106, label LBL_12, label LBL_23 LBL_12: %107 = add i64 %0, 24 %108 = inttoptr i64 %107 to i64* %109 = add i64 %0, 36 %110 = inttoptr i64 %109 to i32* %111 = add i64 %0, 56 %112 = inttoptr i64 %111 to i64* %113 = ashr exact i64 %sext, 29 %114 = zext i32 %sv_1.0.ph.reload to i64 %115 = sext i32 %arg3 to i64 store i64 %114, i64* %indvars.iv.reg2mem br label LBL_14.preheader LBL_13: %116 = add i32 %sv_0.0.reload, 1 %117 = call i64 @FUNC(i64 %1) %118 = trunc i64 %117 to i32 %119 = icmp eq i32 %118, 0 %120 = icmp slt i32 %118, 0 %121 = icmp eq i1 %120, false %122 = icmp eq i1 %119, false %123 = icmp eq i1 %121, %122 store i32 %116, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %storemerge21.reg2mem br i1 %123, label LBL_14, label LBL_23 LBL_14: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %124 = call i64 @FUNC(i64 %1) %125 = trunc i64 %124 to i32 %126 = icmp eq i32 %125, 0 %127 = icmp eq i1 %126, false br i1 %127, label LBL_13, label LBL_15 LBL_15: %128 = icmp slt i32 %sv_0.0.reload, 32 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %128, label LBL_17, label LBL_16 LBL_16: %129 = call i64 @FUNC(i64 %1, i64 5) %130 = add i64 %129, 1 %131 = and i64 %130, 4294967295 %132 = call i64 @FUNC(i64 %1, i64 %131) %133 = trunc i64 %132 to i32 %134 = add i32 %sv_0.0.reload, %133 store i32 %134, i32* %sv_0.1.reg2mem br label LBL_17 LBL_17: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %135 = load i64, i64* %108, align 8 %136 = add i64 %135, %2 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = zext i32 %138 to i64 %140 = load i32, i32* %110, align 4 %141 = urem i32 %140, 32 %142 = shl i32 1, %141 %storemerge13 = zext i32 %142 to i64 %143 = add nuw nsw i64 %storemerge13, %139 %144 = and i64 %143, 4294967295 %145 = add i32 %140, 1 %146 = urem i32 %145, 32 %147 = icmp eq i32 %146, 0 %148 = trunc i64 %143 to i32 %149 = lshr i32 %148, %146 %150 = zext i32 %149 to i64 %rdx.0 = select i1 %147, i64 %144, i64 %150 %151 = trunc i64 %rdx.0 to i32 %152 = icmp ult i32 %151, 2 store i32 %138, i32* %.reg2mem store i32 %141, i32* %.pre-phi35.reg2mem store i32* %137, i32** %.pre-phi33.reg2mem store i32 %sv_0.1.reload, i32* %storemerge19.reg2mem br i1 %152, label LBL_21, label LBL_18 LBL_18: %153 = call i64 @FUNC(i64 %rdx.0) %154 = trunc i64 %153 to i32 %155 = icmp eq i32 %154, 0 store i64 0, i64* %storemerge20.reg2mem br i1 %155, label LBL_20, label LBL_19 LBL_19: %156 = and i64 %153, 4294967295 %157 = call i64 @FUNC(i64 %1, i64 %156) store i64 %157, i64* %storemerge20.reg2mem br label LBL_20 LBL_20: %storemerge20.reload = load i64, i64* %storemerge20.reg2mem %158 = trunc i64 %storemerge20.reload to i32 %159 = urem i32 %154, 32 %160 = shl i32 %sv_0.1.reload, %159 %161 = add i32 %160, %158 %.pre = load i64, i64* %108, align 8 %.pre30 = load i32, i32* %110, align 4 %.pre31 = add i64 %.pre, %2 %.pre32 = inttoptr i64 %.pre31 to i32* %.pre34 = urem i32 %.pre30, 32 %.pre39 = load i32, i32* %.pre32, align 4 store i32 %.pre39, i32* %.reg2mem store i32 %.pre34, i32* %.pre-phi35.reg2mem store i32* %.pre32, i32** %.pre-phi33.reg2mem store i32 %161, i32* %storemerge19.reg2mem br label LBL_21 LBL_21: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %.pre-phi33.reload = load i32*, i32** %.pre-phi33.reg2mem %.pre-phi35.reload = load i32, i32* %.pre-phi35.reg2mem %.reload = load i32, i32* %.reg2mem %162 = add i32 %.reload, %storemerge19.reload %163 = lshr i32 %.reload, %.pre-phi35.reload %164 = sub i32 %162, %163 store i32 %164, i32* %.pre-phi33.reload, align 4 %165 = urem i32 %storemerge19.reload, 2 %166 = icmp ne i32 %165, 0 %167 = ashr i32 %storemerge19.reload, 1 %168 = sext i1 %166 to i32 %storemerge25 = xor i32 %167, %168 %169 = load i64, i64* %112, align 8 %170 = add i64 %169, %113 %171 = inttoptr i64 %170 to i64* %172 = load i64, i64* %171, align 8 %173 = mul i64 %indvars.iv.reload, 4 %174 = add i64 %172, %173 %175 = inttoptr i64 %174 to i32* store i32 %storemerge25, i32* %175, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %176 = icmp slt i64 %indvars.iv.next, %115 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge21.reg2mem br i1 %176, label LBL_14.preheader, label LBL_23 LBL_22: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_14 LBL_23: %storemerge21.reload = load i64, i64* %storemerge21.reg2mem ret i64 %storemerge21.reload uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %storemerge19.reload, { 0, 2, 1 } uselistorder i64 %rdx.0, { 1, 0 } uselistorder i32 %146, { 1, 0 } uselistorder i32 %140, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1 } uselistorder i32 %118, { 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 1, 0 } uselistorder i32 %82, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i32 %38, { 1, 0, 2 } uselistorder i32 %32, { 2, 0, 1, 3 } uselistorder i32* %8, { 1, 0, 2 } uselistorder i64 %1, { 7, 5, 6, 9, 8, 4, 3, 2, 1, 0, 10 } uselistorder i64 %sext, { 2, 3, 1, 0 } uselistorder i64 %0, { 6, 7, 8, 11, 10, 9, 5, 4, 13, 12, 14, 2, 1, 3, 0, 15 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge20.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 0, 2, 1 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64, i64)* @get_sbits_long, { 1, 0 } uselistorder i64 29, { 1, 0, 2 } uselistorder i32 32, { 0, 1, 2, 3, 9, 4, 8, 5, 6, 7 } uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 3, 4, 5, 0, 6, 1, 2, 7, 8, 9 } uselistorder i64 (i64)* @get_bits1, { 1, 0 } uselistorder label LBL_14.preheader, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2, 3 } }
1
CompRealVul
JP2WarningHandler_8561
JP2WarningHandler
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i8* %arg1 to i64 %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %0, i64 %2, i64 1, i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) ret i64 %3 }
0
CompRealVul
init_report_14197
init_report
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %r9.1.reg2mem = alloca i64 %r8.1.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %.reg2mem = alloca i64 %sv_1.01332.reg2mem = alloca i32 %sv_0.11233.reg2mem = alloca i8* %sv_2 = alloca i8*, align 8 %sv_3 = alloca i8*, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 store i64 %arg1, i64* %sv_6, align 8 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_20 LBL_1: %2 = bitcast i64* %sv_5 to i32* %3 = call i32 @time(i32* nonnull %2) %4 = call %tm* @localtime(i32* nonnull %2) %5 = icmp eq i64 %arg1, 0 store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.19.reg2mem br i1 %5, label LBL_13, label LBL_2 LBL_2: %6 = ptrtoint i64* %sv_4 to i64 %7 = ptrtoint i8** %sv_3 to i64 %8 = bitcast i8** %sv_3 to i64* %9 = inttoptr i64 %arg1 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.11233.reg2mem store i32 0, i32* %sv_1.01332.reg2mem store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.19.reg2mem br i1 %12, label LBL_3, label LBL_13 LBL_3: %sv_1.01332.reload = load i32, i32* %sv_1.01332.reg2mem %sv_0.11233.reload = load i8*, i8** %sv_0.11233.reg2mem %13 = call i64 @FUNC(i64* nonnull %sv_6, i64* nonnull @gv_2, i64* nonnull @gv_3, i64 0, i64* nonnull %8, i64* nonnull %sv_4) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = icmp eq i32 %sv_1.01332.reload, 0 store i8* %sv_0.11233.reload, i8** %sv_0.19.reg2mem store i64 %7, i64* %r8.1.reg2mem store i64 %6, i64* %r9.1.reg2mem br i1 %17, label LBL_13, label LBL_5 LBL_5: %18 = and i64 %13, 4294967295 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i64 %19, i64 %7, i64 %6) store i8* %sv_0.11233.reload, i8** %sv_0.19.reg2mem store i64 %7, i64* %r8.1.reg2mem store i64 %6, i64* %r9.1.reg2mem br label LBL_13 LBL_6: %21 = load i64, i64* %sv_6, align 8 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i64 %21, 1 store i64 %25, i64* %sv_6, align 8 br label LBL_8 LBL_8: %26 = load i8*, i8** %sv_3, align 8 %27 = call i32 @strcmp(i8* %26, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0)) %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = load i64, i64* %sv_4, align 8 %31 = inttoptr i64 %30 to i8* store i64 0, i64* %sv_4, align 8 store i64 0, i64* %.reg2mem store i8* %31, i8** %sv_0.0.reg2mem br label LBL_11 LBL_10: %32 = load i8*, i8** %sv_3, align 8 %33 = ptrtoint i8* %32 to i64 %34 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64 %33, i64 %7, i64 %6) %.pre = load i64, i64* %sv_4, align 8 store i64 %.pre, i64* %.reg2mem store i8* %sv_0.11233.reload, i8** %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload = load i64, i64* %.reg2mem %35 = call i64 @FUNC(i64 %.reload) %36 = load i8*, i8** %sv_3, align 8 %37 = ptrtoint i8* %36 to i64 %38 = call i64 @FUNC(i64 %37) %39 = load i64, i64* %sv_6, align 8 %40 = icmp eq i64 %39, 0 store i8* %sv_0.0.reload, i8** %sv_0.19.reg2mem store i64 %7, i64* %r8.1.reg2mem store i64 %6, i64* %r9.1.reg2mem br i1 %40, label LBL_13, label LBL_12 LBL_12: %41 = add i32 %sv_1.01332.reload, 1 %42 = inttoptr i64 %39 to i8* %43 = load i8, i8* %42, align 1 %44 = icmp eq i8 %43, 0 %45 = icmp eq i1 %44, false store i8* %sv_0.0.reload, i8** %sv_0.11233.reg2mem store i32 %41, i32* %sv_1.01332.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.19.reg2mem store i64 %7, i64* %r8.1.reg2mem store i64 %6, i64* %r9.1.reg2mem br i1 %45, label LBL_3, label LBL_13 LBL_13: %r9.1.reload = load i64, i64* %r9.1.reg2mem %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem %46 = bitcast i8** %sv_2 to i64* %47 = call i64 @FUNC(i64* nonnull %46, i64 0, i64 1) %48 = ptrtoint %tm* %4 to i64 %49 = ptrtoint i8* %sv_0.19.reload to i64 %50 = call i64 @FUNC(i64* nonnull %46, i64 %49, i64 %48) %51 = call i64 @FUNC(i64* nonnull %46) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_15, label LBL_14 LBL_14: %r8.1.reload = load i64, i64* %r8.1.reg2mem %55 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_7, i64 0, i64 0), i64 %49, i64 %r8.1.reload, i64 %r9.1.reload) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_20 LBL_15: %56 = load i8*, i8** %sv_2, align 8 %57 = call %_IO_FILE* @fopen(i8* %56, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0)) %58 = ptrtoint %_IO_FILE* %57 to i64 store i64 %58, i64* @gv_0, align 8 %59 = icmp eq %_IO_FILE* %57, null %60 = icmp eq i1 %59, false br i1 %60, label LBL_17, label LBL_16 LBL_16: %61 = call i32* @__errno_location() %62 = load i32, i32* %61, align 4 %63 = call i8* @strerror(i32 %62) %64 = ptrtoint i8* %63 to i64 %65 = load i8*, i8** %sv_2, align 8 %66 = ptrtoint i8* %65 to i64 %67 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_9, i64 0, i64 0), i64 %66, i64 %64, i64 %r9.1.reload) %68 = call i32* @__errno_location() %69 = load i32, i32* %68, align 4 %70 = sub i32 0, %69 %71 = zext i32 %70 to i64 store i64 %71, i64* %rax.0.reg2mem br label LBL_20 LBL_17: %72 = call i64 @FUNC(i64 4199542) %73 = add i64 %48, 16 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i32 %75, 1 %77 = zext i32 %76 to i64 %78 = add i64 %48, 20 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = add i32 %80, 1900 %82 = load [8 x i8]*, [8 x i8]** @gv_10, align 8 %83 = ptrtoint [8 x i8]* %82 to i64 %84 = zext i32 %81 to i64 %85 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_11, i64 0, i64 0), i64 %83, i64 %84, i64 %77) %86 = call i64 @FUNC() %87 = trunc i64 %86 to i32 %88 = icmp slt i32 %87, 3 store i64 2, i64* %storemerge.reg2mem br i1 %88, label LBL_19, label LBL_18 LBL_18: %89 = call i64 @FUNC() %phitmp = and i64 %89, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem %90 = call i64 @FUNC(i64 %storemerge.reload) %91 = call i64 @FUNC(i64* nonnull %46, i64 0) store i64 0, 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 %48, { 1, 0, 2 } uselistorder i8* %sv_0.0.reload, { 1, 2, 0 } uselistorder i8* %sv_0.11233.reload, { 2, 0, 1 } uselistorder i64 %7, { 1, 0, 5, 2, 4, 3 } uselistorder i64 %6, { 1, 0, 5, 2, 4, 3 } uselistorder i64* %sv_6, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_4, { 0, 2, 3, 1, 4 } uselistorder i8** %sv_3, { 3, 2, 1, 4, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i8** %sv_0.11233.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.01332.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_0.19.reg2mem, { 0, 2, 1, 5, 6, 3, 4 } uselistorder i64* %r8.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %r9.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 ()* @av_log_get_level, { 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 2, 1, 3, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i1 false, { 1, 2, 5, 3, 4, 0, 6, 7 } uselistorder i8 0, { 3, 2, 0, 4, 1 } uselistorder i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), { 0, 2, 1 } uselistorder i32 1, { 15, 22, 20, 19, 18, 16, 17, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 14, 2, 21, 1, 0 } uselistorder label LBL_20, { 1, 2, 3, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_13, { 1, 2, 5, 4, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
ip_vs_genl_set_daemon_4828
ip_vs_genl_set_daemon
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %1 to i32 %6 = icmp ne i32 %5, 1 %7 = icmp eq i32 %5, 2 %8 = icmp eq i1 %7, false %or.cond = icmp eq i1 %6, %8 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %9 = add i64 %arg2, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %15, label LBL_6, label LBL_2 LBL_2: %16 = load i64, i64* @gv_0, align 8 %17 = call i64 @FUNC(i64* nonnull %sv_1, i64 4, i64 %14, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %20, label LBL_6, label LBL_3 LBL_3: %21 = icmp eq i32 %5, 1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %24 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1) store i64 %24, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = and i64 %sv_0.0.reload, 4294967295 ret i64 %25 uselistorder i32 %5, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1 } uselistorder i64 4294967274, { 1, 2, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_6, { 3, 4, 2, 1, 0 } }
0
CompRealVul
s_mp_mul_digs_fast_12117
s_mp_mul_digs_fast
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge9.lcssa.reg2mem = alloca i32 %sv_0.0.in.lcssa.reg2mem = alloca i64 %.reg2mem40 = alloca i32 %sv_0.0.in16.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.019.reg2mem = alloca i32 %sv_2.0.in20.reg2mem = alloca i64 %sv_3.0.in21.reg2mem = alloca i64 %storemerge1322.reg2mem = alloca i32 %sv_1.124.reg2mem = alloca i32 %indvars.iv29.reg2mem = alloca i64 %.reg2mem38 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %rdx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %sv_4 = alloca i64, align 8 %sext = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = icmp sgt i64 %5, %9 br i1 %10, label LBL_1, label LBL_3 LBL_1: %11 = and i64 %5, 4294967295 %12 = call i64 @FUNC(i64 %4, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %12, 4294967295 store i64 %15, i64* %storemerge.reg2mem br label LBL_14 LBL_3: %16 = trunc i64 %1 to i32 %17 = trunc i64 %2 to i32 %18 = add i32 %17, %16 %19 = trunc i64 %5 to i32 %20 = sub i32 %19, %18 %21 = xor i32 %18, %19 %22 = xor i32 %20, %19 %23 = and i32 %22, %21 %24 = icmp slt i32 %23, 0 %25 = icmp eq i32 %20, 0 %26 = icmp slt i32 %20, 0 %27 = icmp eq i1 %26, %24 %28 = icmp eq i1 %25, false %29 = icmp eq i1 %27, %28 %30 = select i1 %29, i32 %18, i32 %19 %31 = icmp sgt i32 %30, 0 br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = trunc i64 %3 to i32 %33 = bitcast i64* %arg3 to i32* store i32 %30, i32* %33, align 4 %34 = add i64 %4, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 store i32 %32, i32* %.reg2mem40 store i64 %36, i64* %sv_0.0.in.lcssa.reg2mem store i32 0, i32* %storemerge9.lcssa.reg2mem br label LBL_13 LBL_5: %37 = ptrtoint i64* %sv_4 to i64 %38 = bitcast i64* %rdi to i32* %39 = bitcast i64* %rsi to i32* %40 = ptrtoint i32* %arg1 to i64 %41 = add i64 %40, 8 %42 = inttoptr i64 %41 to i64* %43 = ptrtoint i32* %arg2 to i64 %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i64* %46 = add i64 %37, -464 %wide.trip.count31 = zext i32 %30 to i64 store i32 %16, i32* %.reg2mem store i32 %17, i32* %.reg2mem38 store i64 0, i64* %indvars.iv29.reg2mem store i32 0, i32* %sv_1.124.reg2mem br label LBL_6 LBL_6: %sv_1.124.reload = load i32, i32* %sv_1.124.reg2mem %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem %.reload39 = load i32, i32* %.reg2mem38 %.reload = load i32, i32* %.reg2mem %47 = zext i32 %.reload39 to i64 %48 = icmp ult i64 %indvars.iv29.reload, %47 %49 = add i32 %.reload39, -1 %50 = trunc i64 %indvars.iv29.reload to i32 %storemerge15.in = select i1 %48, i32 %50, i32 %49 %51 = sub i32 %50, %storemerge15.in %52 = sub i32 %.reload, %51 %53 = zext i32 %52 to i64 %54 = sext i32 %storemerge15.in to i64 %55 = icmp slt i64 %54, %53 %56 = add i32 %storemerge15.in, 1 %storemerge14.in = select i1 %55, i32 %56, i32 %52 %57 = icmp sgt i32 %storemerge14.in, 0 store i32 %sv_1.124.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %57, label LBL_7, label LBL_9 LBL_7: %storemerge15 = zext i32 %storemerge15.in to i64 %sext10 = mul i64 %storemerge15, 4294967296 %58 = ashr exact i64 %sext10, 30 %59 = load i64, i64* %45, align 8 %60 = add i64 %59, %58 %61 = sext i32 %51 to i64 %62 = mul i64 %61, 4 %63 = load i64, i64* %42, align 8 %64 = add i64 %63, %62 store i32 0, i32* %storemerge1322.reg2mem store i64 %60, i64* %sv_3.0.in21.reg2mem store i64 %64, i64* %sv_2.0.in20.reg2mem store i32 %sv_1.124.reload, i32* %sv_1.019.reg2mem br label LBL_8 LBL_8: %sv_1.019.reload = load i32, i32* %sv_1.019.reg2mem %sv_2.0.in20.reload = load i64, i64* %sv_2.0.in20.reg2mem %sv_3.0.in21.reload = load i64, i64* %sv_3.0.in21.reg2mem %storemerge1322.reload = load i32, i32* %storemerge1322.reg2mem %sv_3.0 = inttoptr i64 %sv_3.0.in21.reload to i32* %sv_2.0 = inttoptr i64 %sv_2.0.in20.reload to i32* %65 = add i64 %sv_2.0.in20.reload, 4 %66 = load i32, i32* %sv_2.0, align 4 %67 = add i64 %sv_3.0.in21.reload, -4 %68 = load i32, i32* %sv_3.0, align 4 %69 = mul i32 %68, %66 %70 = add i32 %69, %sv_1.019.reload %71 = add nuw nsw i32 %storemerge1322.reload, 1 %exitcond28 = icmp eq i32 %71, %storemerge14.in store i32 %71, i32* %storemerge1322.reg2mem store i64 %67, i64* %sv_3.0.in21.reg2mem store i64 %65, i64* %sv_2.0.in20.reg2mem store i32 %70, i32* %sv_1.019.reg2mem store i32 %70, i32* %sv_1.0.lcssa.reg2mem br i1 %exitcond28, label LBL_9, label LBL_8 LBL_9: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %72 = urem i32 %sv_1.0.lcssa.reload, 1073741824 %73 = mul i64 %indvars.iv29.reload, 4 %74 = add i64 %73, %46 %75 = inttoptr i64 %74 to i32* store i32 %72, i32* %75, align 4 %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1 %exitcond32 = icmp eq i64 %indvars.iv.next30, %wide.trip.count31 br i1 %exitcond32, label LBL_11, label LBL_9.LBL_6_crit_edge LBL_10: %76 = ashr i32 %sv_1.0.lcssa.reload, 30 %.pre = load i32, i32* %39, align 8 %.pre33 = load i32, i32* %38, align 8 store i32 %.pre33, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem38 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem store i32 %76, i32* %sv_1.124.reg2mem br label LBL_6 LBL_11: %.phi.trans.insert = bitcast i64* %rdx to i32* %.pre34 = load i32, i32* %.phi.trans.insert, align 8 %77 = bitcast i64* %arg3 to i32* store i32 %30, i32* %77, align 4 %78 = add i64 %4, 8 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 store i64 0, i64* %indvars.iv.reg2mem store i64 %80, i64* %sv_0.0.in16.reg2mem br label LBL_12 LBL_12: %sv_0.0.in16.reload = load i64, i64* %sv_0.0.in16.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in16.reload to i32* %81 = add i64 %sv_0.0.in16.reload, 4 %82 = mul i64 %indvars.iv.reload, 4 %83 = add i64 %82, %46 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 store i32 %85, i32* %sv_0.0, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count31 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %81, i64* %sv_0.0.in16.reg2mem store i32 %.pre34, i32* %.reg2mem40 store i64 %81, i64* %sv_0.0.in.lcssa.reg2mem store i32 %30, i32* %storemerge9.lcssa.reg2mem br i1 %exitcond, label LBL_13, label LBL_12 LBL_13: %storemerge9.lcssa.reload = load i32, i32* %storemerge9.lcssa.reg2mem %sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem %.reload41 = load i32, i32* %.reg2mem40 %86 = sub i32 %.reload41, %storemerge9.lcssa.reload %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %sv_0.0.in.lcssa.reload, i64 %87) %89 = call i64 @FUNC(i64 %4) store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge15.in, { 1, 0, 3, 2 } uselistorder i64 %indvars.iv29.reload, { 0, 3, 1, 2 } uselistorder i32 %sv_1.124.reload, { 1, 0 } uselistorder i32 %30, { 0, 4, 2, 1, 3 } uselistorder i32 %20, { 1, 2, 0 } uselistorder i32 %19, { 2, 0, 1, 3 } uselistorder i32 %18, { 1, 0, 2 } uselistorder i64 %4, { 1, 2, 0, 3, 4 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem38, { 1, 0, 2 } uselistorder i64* %indvars.iv29.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.124.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1322.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.0.in21.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in20.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.019.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in16.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 -4, { 1, 0 } uselistorder i64 8, { 3, 1, 2, 0, 4, 5 } uselistorder i64 4294967295, { 2, 3, 1, 0 } uselistorder i64* %arg3, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
add_range_7598
add_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rsi.6.reg2mem = alloca i64 %.pre-phi21.reg2mem = alloca i32* %.reg2mem29 = alloca i32 %sv_0.0.in.reg2mem = alloca i64 %.reg2mem27 = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi19.reg2mem = alloca i64 %rsi.5.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %rsi.4.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_2.4.reg2mem = alloca i32 %sv_3.4.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_3.2.reg2mem = alloca i32 %sv_4.2.reg2mem = alloca i32 %rsi.3.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 %rsi.2.reg2mem = alloca i64 %.reg2mem25 = alloca i32 %rsi.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_5 = alloca i64, align 8 %0 = trunc i64 %arg3 to i32 %1 = trunc i64 %arg4 to i32 %sext9 = mul i64 %arg6, 4294967296 %2 = ashr exact i64 %sext9, 32 store i64 %2, i64* %sv_5, align 8 %3 = icmp ugt i32 %0, %1 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = add i64 %arg2, 24 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %6) store i64 %7, i64* %storemerge.reg2mem br label LBL_46 LBL_2: %sext = mul i64 %arg7, 4294967296 %8 = ashr exact i64 %sext, 32 %sext6 = mul i64 %arg3, 4294967296 %9 = ashr exact i64 %sext6, 32 %sext7 = mul i64 %arg4, 4294967296 %10 = ashr exact i64 %sext7, 32 %sext8 = mul i64 %arg5, 4294967296 %11 = ashr exact i64 %sext8, 32 %12 = add i64 %arg2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i32 -1, i32* %sv_1.2.reg2mem store i64 %arg2, i64* %rsi.5.reg2mem br i1 %15, label LBL_35, label LBL_3 LBL_3: %16 = add i64 %arg2, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = trunc i64 %2 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = ptrtoint i64* %sv_5 to i64 %22 = trunc i64 %9 to i32 %23 = trunc i64 %10 to i32 %24 = add i32 %23, 1 %25 = add i32 %22, -1 %26 = add nsw i64 %10, 1 %27 = and i64 %8, 4294967295 %28 = add i64 %21, -16 %29 = inttoptr i64 %28 to i64* %30 = and i64 %26, 4294967295 store i32 %18, i32* %sv_4.0.reg2mem store i32 -1, i32* %sv_3.0.reg2mem store i32 -1, i32* %sv_2.0.reg2mem store i64 %arg2, i64* %rsi.0.reg2mem br label LBL_6 LBL_5: %31 = trunc i64 %10 to i32 store i32 %18, i32* %sv_4.2.reg2mem store i32 -1, i32* %sv_3.2.reg2mem store i32 -1, i32* %sv_2.2.reg2mem br label LBL_19 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %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 %32 = sext i32 %sv_4.0.reload to i64 %33 = mul nsw i64 %32, 28 %34 = add i64 %33, %arg2 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp ult i32 %36, %22 %38 = icmp ugt i32 %36, %23 %or.cond22 = or i1 %37, %38 br i1 %or.cond22, label LBL_9, label LBL_7 LBL_7: %39 = add i64 %34, 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = sub i32 %24, %36 %43 = add i32 %42, %41 store i32 %43, i32* %40, align 4 store i32 %24, i32* %35, align 4 %44 = add i64 %34, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp ugt i32 %24, %46 store i32 %24, i32* %.reg2mem25 store i64 %rsi.0.reload, i64* %rsi.2.reg2mem br i1 %47, label LBL_8, label LBL_15 LBL_8: %48 = zext i32 %sv_4.0.reload to i64 %49 = call i64 @FUNC(i64 %arg2, i64 %48) %50 = trunc i64 %49 to i32 store i32 %50, 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 -1, i32* %sv_1.0.reg2mem store i64 %48, i64* %rsi.3.reg2mem br label LBL_18 LBL_9: %51 = add i64 %34, 4 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = icmp ult i32 %53, %22 %55 = icmp ugt i32 %53, %23 %or.cond = or i1 %54, %55 store i32 %36, i32* %.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem br i1 %or.cond, label LBL_12, label LBL_10 LBL_10: store i32 %25, i32* %52, align 4 %56 = load i32, i32* %35, align 4 %57 = icmp ugt i32 %56, %25 store i32 %56, i32* %.reg2mem25 store i64 %rsi.0.reload, i64* %rsi.2.reg2mem br i1 %57, label LBL_11, label LBL_15 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 77, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i32, i32* %35, align 4 store i32 %.pre, i32* %.reg2mem store i64 ptrtoint ([43 x i8]* @gv_2 to i64), i64* %rsi.1.reg2mem br label LBL_12 LBL_12: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %.reload = load i32, i32* %.reg2mem %58 = icmp ult i32 %.reload, %22 store i32 %.reload, i32* %.reg2mem25 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %58, label LBL_13, label LBL_15 LBL_13: %59 = load i32, i32* %52, align 4 %60 = icmp ugt i32 %59, %23 %61 = icmp eq i1 %60, false store i32 %.reload, i32* %.reg2mem25 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %61, label LBL_15, label LBL_14 LBL_14: store i32 %25, i32* %52, align 4 %62 = add i64 %34, 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = load i32, i32* %35, align 4 %66 = add i32 %64, %24 %67 = sub i32 %66, %65 %68 = zext i32 %67 to i64 store i64 %27, i64* %29, align 8 %69 = zext i32 %59 to i64 %70 = sext i32 %59 to i64 %71 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %30, i64 %69, i64 %68, i64 0, i64 %70) %.pre14 = load i32, i32* %35, align 4 store i32 %.pre14, i32* %.reg2mem25 store i64 %arg2, i64* %rsi.2.reg2mem br label LBL_15 LBL_15: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %72 = icmp ugt i32 %.reload26, %23 %73 = icmp eq i1 %72, false br i1 %73, label LBL_17, label LBL_16 LBL_16: %74 = add i64 %34, 16 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 store i32 %76, i32* %sv_4.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_1.0.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br label LBL_18 LBL_17: %77 = add i64 %34, 20 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 store i32 %79, i32* %sv_4.1.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_4.0.reload, i32* %sv_1.0.reg2mem store i64 %rsi.2.reload, i64* %rsi.3.reg2mem br label LBL_18 LBL_18: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %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 %80 = icmp eq i32 %sv_4.1.reload, -1 %81 = icmp eq i1 %80, false store i32 %sv_4.1.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i64 %rsi.3.reload, i64* %rsi.0.reg2mem store i32 %sv_3.1.reload, i32* %sv_3.4.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.4.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i64 %rsi.3.reload, i64* %rsi.4.reg2mem br i1 %81, label LBL_6, label LBL_20 LBL_19: %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem %sv_4.2.reload = load i32, i32* %sv_4.2.reg2mem %82 = sext i32 %sv_4.2.reload to i64 %83 = mul nsw i64 %82, 28 %84 = add i64 %83, %arg2 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp ugt i32 %86, %31 %88 = icmp eq i1 %87, false %sv_4.3.in.in.v = select i1 %88, i64 20, i64 16 %sv_4.3.in.in = add i64 %sv_4.3.in.in.v, %84 %sv_3.3 = select i1 %88, i32 %sv_3.2.reload, i32 %sv_4.2.reload %sv_2.3 = select i1 %88, i32 %sv_4.2.reload, i32 %sv_2.2.reload %sv_4.3.in = inttoptr i64 %sv_4.3.in.in to i32* %sv_4.3 = load i32, i32* %sv_4.3.in, align 4 %89 = icmp eq i32 %sv_4.3, -1 %90 = icmp eq i1 %89, false store i32 %sv_4.3, i32* %sv_4.2.reg2mem store i32 %sv_3.3, i32* %sv_3.2.reg2mem store i32 %sv_2.3, i32* %sv_2.2.reg2mem store i32 %sv_3.3, i32* %sv_3.4.reg2mem store i32 %sv_2.3, i32* %sv_2.4.reg2mem store i32 %sv_4.2.reload, i32* %sv_1.1.reg2mem store i64 %arg2, i64* %rsi.4.reg2mem br i1 %90, label LBL_19, label LBL_20 LBL_20: %rsi.4.reload = load i64, i64* %rsi.4.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %91 = trunc i64 %8 to i32 %92 = icmp eq i32 %91, 0 %93 = icmp eq i1 %92, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %93, label LBL_35, label LBL_21 LBL_21: %sv_2.4.reload = load i32, i32* %sv_2.4.reg2mem %sv_3.4.reload = load i32, i32* %sv_3.4.reg2mem %94 = icmp eq i32 %sv_2.4.reload, -1 br i1 %94, label LBL_30, label LBL_22 LBL_22: %95 = zext i32 %sv_2.4.reload to i64 %96 = mul nuw nsw i64 %95, 28 %97 = add i64 %96, %arg2 %98 = add i64 %97, 24 %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false br i1 %102, label LBL_30, label LBL_23 LBL_23: %103 = add i64 %97, 4 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = trunc i64 %9 to i32 %107 = add i32 %106, -1 %108 = icmp eq i32 %105, %107 %109 = icmp eq i1 %108, false br i1 %109, label LBL_30, label LBL_24 LBL_24: %110 = add i64 %97, 8 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = inttoptr i64 %97 to i32* %114 = load i32, i32* %113, align 4 %115 = sub i32 %112, %114 %116 = trunc i64 %11 to i32 %117 = sub i32 %116, %106 %118 = icmp eq i32 %115, %117 %119 = icmp eq i1 %118, false br i1 %119, label LBL_30, label LBL_25 LBL_25: %120 = trunc i64 %10 to i32 store i32 %120, i32* %104, align 4 %121 = icmp eq i32 %sv_3.4.reload, -1 store i32* %17, i32** %.pre-phi21.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br i1 %121, label LBL_45, label LBL_26 LBL_26: %122 = zext i32 %sv_3.4.reload to i64 %123 = mul nuw nsw i64 %122, 28 %124 = add i64 %123, %arg2 %125 = add i64 %124, 24 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = icmp eq i32 %127, 0 %129 = icmp eq i1 %128, false store i32* %17, i32** %.pre-phi21.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br i1 %129, label LBL_45, label LBL_27 LBL_27: %130 = inttoptr i64 %124 to i32* %131 = load i32, i32* %130, align 4 %132 = add i32 %120, 1 %133 = icmp eq i32 %131, %132 %134 = icmp eq i1 %133, false store i32* %17, i32** %.pre-phi21.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br i1 %134, label LBL_45, label LBL_28 LBL_28: %135 = add i64 %124, 8 %136 = inttoptr i64 %135 to i32* %137 = load i32, i32* %136, align 4 %138 = sub i32 %137, %131 %139 = icmp eq i32 %138, %117 %140 = icmp eq i1 %139, false store i32* %17, i32** %.pre-phi21.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br i1 %140, label LBL_45, label LBL_29 LBL_29: %141 = add i64 %124, 4 %142 = inttoptr i64 %141 to i32* %143 = load i32, i32* %142, align 4 store i32 %143, i32* %104, align 4 %144 = call i64 @FUNC(i64 %arg2, i64 %122) store i32* %17, i32** %.pre-phi21.reg2mem store i64 %122, i64* %rsi.6.reg2mem br label LBL_45 LBL_30: %145 = icmp eq i32 %sv_3.4.reload, -1 store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %145, label LBL_35, label LBL_31 LBL_31: %146 = zext i32 %sv_3.4.reload to i64 %147 = mul nuw nsw i64 %146, 28 %148 = add i64 %147, %arg2 %149 = add i64 %148, 24 %150 = inttoptr i64 %149 to i32* %151 = load i32, i32* %150, align 4 %152 = icmp eq i32 %151, 0 %153 = icmp eq i1 %152, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %153, label LBL_35, label LBL_32 LBL_32: %154 = inttoptr i64 %148 to i32* %155 = load i32, i32* %154, align 4 %156 = trunc i64 %10 to i32 %157 = add i32 %156, 1 %158 = icmp eq i32 %155, %157 %159 = icmp eq i1 %158, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %159, label LBL_35, label LBL_33 LBL_33: %160 = add i64 %148, 8 %161 = inttoptr i64 %160 to i32* %162 = load i32, i32* %161, align 4 %163 = sub i32 %162, %155 %164 = trunc i64 %11 to i32 %165 = trunc i64 %9 to i32 %166 = sub i32 %164, %165 %167 = icmp eq i32 %163, %166 %168 = icmp eq i1 %167, false store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i64 %rsi.4.reload, i64* %rsi.5.reg2mem br i1 %168, label LBL_35, label LBL_34 LBL_34: store i32 %165, i32* %154, align 4 store i32 %164, i32* %161, align 4 store i32* %17, i32** %.pre-phi21.reg2mem store i64 %rsi.4.reload, i64* %rsi.6.reg2mem br label LBL_45 LBL_35: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %169 = load i32, i32* %13, align 4 %170 = add i64 %arg2, 12 %171 = inttoptr i64 %170 to i32* %172 = load i32, i32* %171, align 4 %173 = icmp eq i32 %169, %172 %174 = icmp eq i1 %173, false store i64 %170, i64* %.pre-phi19.reg2mem store i64 %12, i64* %.pre-phi.reg2mem store i32 %169, i32* %.reg2mem27 store i64 %arg2, i64* %sv_0.0.in.reg2mem br i1 %174, label LBL_37, label LBL_36 LBL_36: %rsi.5.reload = load i64, i64* %rsi.5.reg2mem %175 = icmp eq i32 %172, 0 %176 = mul i32 %172, 2 %spec.select = select i1 %175, i32 256, i32 %176 %177 = call i64 @FUNC(i64 %arg1, i64 %rsi.5.reload, i32 %spec.select, i64 28) %178 = inttoptr i64 %arg2 to i64* store i64 %177, i64* %178, align 8 store i32 %spec.select, i32* %171, align 4 %.pre15 = load i32, i32* %13, align 4 %.pre17 = add i64 %rsi.5.reload, 8 %.pre18 = add i64 %rsi.5.reload, 12 store i64 %.pre18, i64* %.pre-phi19.reg2mem store i64 %.pre17, i64* %.pre-phi.reg2mem store i32 %.pre15, i32* %.reg2mem27 store i64 %rsi.5.reload, i64* %sv_0.0.in.reg2mem br label LBL_37 LBL_37: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi19.reload = load i64, i64* %.pre-phi19.reg2mem %179 = zext i32 %.reload28 to i64 %180 = mul nuw nsw i64 %179, 28 %181 = add i64 %180, %sv_0.0.in.reload %182 = trunc i64 %9 to i32 %183 = inttoptr i64 %181 to i32* store i32 %182, i32* %183, align 4 %184 = load i32, i32* %13, align 4 %185 = zext i32 %184 to i64 %186 = mul nuw nsw i64 %185, 28 %187 = trunc i64 %10 to i32 %188 = add i64 %sv_0.0.in.reload, 4 %189 = add i64 %188, %186 %190 = inttoptr i64 %189 to i32* store i32 %187, i32* %190, align 4 %191 = load i32, i32* %13, align 4 %192 = zext i32 %191 to i64 %193 = mul nuw nsw i64 %192, 28 %194 = trunc i64 %11 to i32 %195 = add i64 %193, %.pre-phi.reload %196 = inttoptr i64 %195 to i32* store i32 %194, i32* %196, align 4 %197 = load i32, i32* %13, align 4 %198 = zext i32 %197 to i64 %199 = mul nuw nsw i64 %198, 28 %200 = add i64 %199, %.pre-phi19.reload %201 = inttoptr i64 %200 to i32* store i32 %sv_1.2.reload, i32* %201, align 4 %202 = load i32, i32* %13, align 4 %203 = zext i32 %202 to i64 %204 = mul nuw nsw i64 %203, 28 %205 = add i64 %sv_0.0.in.reload, 16 %206 = add i64 %205, %204 %207 = inttoptr i64 %206 to i32* store i32 -1, i32* %207, align 4 %208 = load i32, i32* %13, align 4 %209 = zext i32 %208 to i64 %210 = mul nuw nsw i64 %209, 28 %211 = add i64 %sv_0.0.in.reload, 20 %212 = add i64 %211, %210 %213 = inttoptr i64 %212 to i32* store i32 -1, i32* %213, align 4 %214 = load i32, i32* %13, align 4 %215 = zext i32 %214 to i64 %216 = mul nuw nsw i64 %215, 28 %217 = trunc i64 %8 to i32 %218 = add i64 %sv_0.0.in.reload, 24 %219 = add i64 %218, %216 %220 = inttoptr i64 %219 to i32* store i32 %217, i32* %220, align 4 %221 = load i32, i32* %13, align 4 %222 = add i32 %221, 1 store i32 %222, i32* %13, align 4 %223 = icmp eq i32 %sv_1.2.reload, -1 %224 = icmp eq i1 %223, false br i1 %224, label LBL_39, label LBL_38 LBL_38: %225 = add i64 %arg2, 16 %226 = inttoptr i64 %225 to i32* store i32 0, i32* %226, align 4 br label LBL_44 LBL_39: %227 = sext i32 %sv_1.2.reload to i64 %228 = mul nsw i64 %227, 28 %229 = add i64 %sv_0.0.in.reload, %228 %230 = inttoptr i64 %229 to i32* %231 = load i32, i32* %230, align 4 %232 = icmp ugt i32 %231, %187 %233 = icmp eq i1 %232, false br i1 %233, label LBL_41, label LBL_40 LBL_40: %234 = add i64 %229, 16 %235 = inttoptr i64 %234 to i32* store i32 %221, i32* %235, align 4 br label LBL_44 LBL_41: %236 = add i64 %229, 4 %237 = inttoptr i64 %236 to i32* %238 = load i32, i32* %237, align 4 %239 = icmp ult i32 %238, %182 store i32 %222, i32* %.reg2mem29 br i1 %239, label LBL_43, label LBL_42 LBL_42: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 129, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %.pre16 = load i32, i32* %13, align 4 store i32 %.pre16, i32* %.reg2mem29 br label LBL_43 LBL_43: %.reload30 = load i32, i32* %.reg2mem29 %240 = add i32 %.reload30, -1 %241 = add i64 %229, 20 %242 = inttoptr i64 %241 to i32* store i32 %240, i32* %242, align 4 br label LBL_44 LBL_44: %243 = load i32, i32* %13, align 4 %244 = add i32 %243, -1 %245 = zext i32 %244 to i64 %246 = call i64 @FUNC(i64 %sv_0.0.in.reload, i64 %245) %247 = load i32, i32* %13, align 4 %248 = add i32 %247, -1 %249 = add i64 %arg2, 16 %250 = inttoptr i64 %249 to i32* store i32 %248, i32* %250, align 4 store i32* %250, i32** %.pre-phi21.reg2mem store i64 %245, i64* %rsi.6.reg2mem br label LBL_45 LBL_45: %rsi.6.reload = load i64, i64* %rsi.6.reg2mem %.pre-phi21.reload = load i32*, i32** %.pre-phi21.reg2mem %251 = load i32, i32* %.pre-phi21.reload, align 4 %252 = zext i32 %251 to i64 %253 = call i64 @FUNC(i64 %rsi.6.reload, i64 %252, i64 0) %254 = load i32, i32* %.pre-phi21.reload, align 4 %255 = zext i32 %254 to i64 %256 = call i64 @FUNC(i64 %255, i64 %255, i64 0, i64* nonnull @gv_5) store i64 %256, i64* %storemerge.reg2mem br label LBL_46 LBL_46: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %255, { 1, 0 } uselistorder i64 %229, { 0, 2, 1, 3 } uselistorder i64 %sv_0.0.in.reload, { 0, 6, 4, 3, 2, 1, 5 } uselistorder i64 %rsi.5.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_1.2.reload, { 1, 2, 0 } uselistorder i64 %rsi.4.reload, { 0, 5, 6, 7, 8, 1, 2, 3, 4, 9 } uselistorder i1 %88, { 1, 2, 0 } uselistorder i32 %sv_4.2.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_4.1.reload, { 1, 0 } uselistorder i64 %rsi.2.reload, { 1, 0 } uselistorder i32 %.reload, { 1, 0, 2 } uselistorder i64 %rsi.1.reload, { 1, 0 } uselistorder i32* %52, { 1, 0, 2, 3 } uselistorder i32* %35, { 0, 4, 1, 3, 2, 5 } uselistorder i64 %34, { 2, 1, 3, 4, 0, 5, 6 } uselistorder i32 %sv_4.0.reload, { 1, 2, 0, 3, 5, 4 } uselistorder i32 %sv_3.0.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i64 %rsi.0.reload, { 1, 2, 0 } uselistorder i32 %24, { 2, 0, 4, 3, 1 } uselistorder i32 %23, { 1, 3, 2, 0, 4 } uselistorder i32 %22, { 0, 1, 3, 2 } uselistorder i32* %13, { 2, 3, 0, 5, 4, 6, 7, 8, 9, 10, 11, 1, 12, 13 } uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %10, { 5, 3, 2, 4, 1, 0 } uselistorder i64 %9, { 3, 2, 1, 0 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i64* %sv_5, { 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.0.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem25, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %rsi.2.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i32* %sv_4.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_3.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rsi.3.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_4.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.4.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.2.reg2mem, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i64* %rsi.5.reg2mem, { 0, 2, 3, 4, 5, 6, 1 } uselistorder i64* %.pre-phi19.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem27, { 0, 2, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi21.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64* %rsi.6.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), { 1, 0 } uselistorder [43 x i8]* @gv_2, { 1, 0 } uselistorder i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i64)* @delete_node, { 1, 0 } uselistorder i64 4, { 1, 0, 2, 3, 4, 5 } uselistorder i64 28, { 1, 2, 3, 4, 5, 6, 7, 8, 13, 9, 10, 11, 0, 12 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i64 16, { 2, 3, 4, 0, 1, 5, 6 } uselistorder i32 -1, { 9, 10, 8, 11, 17, 18, 12, 13, 14, 15, 6, 16, 3, 1, 2, 4, 5, 7, 0 } uselistorder i64 32, { 1, 2, 3, 4, 0 } uselistorder i64 4294967296, { 1, 2, 3, 4, 0 } uselistorder i64 %arg2, { 15, 14, 13, 0, 16, 5, 12, 6, 7, 2, 8, 3, 11, 10, 9, 4, 18, 1, 17, 19 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_45, { 5, 6, 4, 3, 2, 1, 0 } uselistorder label LBL_43, { 1, 0 } uselistorder label LBL_35, { 1, 2, 3, 4, 5, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_15, { 3, 4, 0, 1, 2 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
smk_curacc_on_task_17880
smk_curacc_on_task
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = bitcast i32* %sv_0 to i64* %4 = call i64 @FUNC(i64* nonnull %3, i64 %arg3, i64 0) %5 = call i64 @FUNC(i64* nonnull %3, i64 %0) %6 = and i64 %arg2, 4294967295 %7 = call i64 @FUNC(i64 %2, i64 %6, i64* nonnull %3) %8 = trunc i64 %7 to i32 store i32 %8, i32* %sv_0, align 4 %9 = and i64 %7, 4294967295 %10 = call i64 @FUNC(i64 %0, i64 %6, i64 %9) %11 = and i64 %10, 4294967295 ret i64 %11 }
1
CompRealVul
esc_code_5406
esc_code
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = and i64 %arg2, 4294967295 %narrow = mul nuw i64 %0, 3435973837 %1 = udiv i64 %narrow, 34359738368 %2 = mul nsw i64 %1, -10 %3 = add i64 %2, %arg2 %4 = and i64 %3, 4294967295 %5 = and i64 %arg1, 4294967295 %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %1, i64 %4) ret i64 ptrtoint (i8** @gv_0 to i64) uselistorder i64 %1, { 1, 0 } uselistorder i8** @gv_0, { 1, 0 } }
0
CompRealVul
stellaris_enet_receive_2088
stellaris_enet_receive
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 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 -1, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_7 LBL_1: %11 = add i64 %5, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp slt i32 %13, 31 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_7 LBL_2: %15 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg3, i64 %3, i64 %2, i64 %1) %16 = icmp ult i64 %arg3, 1494 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %5, 46888 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = or i32 %19, 2 store i32 %20, i32* %18, align 4 %21 = call i64 @FUNC(i64 %5) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %22 = ptrtoint i64* %arg2 to i64 %23 = add i64 %5, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = load i32, i32* %12, align 4 %27 = add i32 %26, %25 %28 = icmp slt i32 %27, 31 %29 = add i32 %27, -31 %spec.select = select i1 %28, i32 %27, i32 %29 %30 = add i32 %26, 1 store i32 %30, i32* %12, align 4 %31 = add i64 %arg3, 6 %32 = sext i32 %spec.select to i64 %33 = mul nsw i64 %32, 1512 %34 = add i64 %5, 16 %35 = add i64 %34, %33 %36 = inttoptr i64 %35 to i64* store i64 %31, i64* %36, align 8 %37 = add i64 %35, 8 %38 = add i64 %35, 9 %39 = trunc i64 %arg3 to i8 %40 = add i8 %39, 6 %41 = inttoptr i64 %37 to i8* store i8 %40, i8* %41, align 1 %42 = udiv i64 %31, 256 %43 = add i64 %35, 10 %44 = trunc i64 %42 to i8 %45 = inttoptr i64 %38 to i8* store i8 %44, i8* %45, align 1 %46 = inttoptr i64 %43 to i64* %47 = trunc i64 %arg3 to i32 %48 = call i64* @memcpy(i64* %46, i64* %arg2, i32 %47) %49 = add i64 %43, %arg3 %50 = call i64 @FUNC(i64 4294967295, i64 %22, i64 %arg3) %51 = trunc i64 %50 to i32 %52 = add i64 %49, 1 %53 = trunc i64 %50 to i8 %54 = inttoptr i64 %49 to i8* store i8 %53, i8* %54, align 1 %55 = udiv i32 %51, 256 %56 = add i64 %49, 2 %57 = trunc i32 %55 to i8 %58 = inttoptr i64 %52 to i8* store i8 %57, i8* %58, align 1 %59 = udiv i32 %51, 65536 %60 = add i64 %49, 3 %61 = trunc i32 %59 to i8 %62 = inttoptr i64 %56 to i8* store i8 %61, i8* %62, align 1 %63 = udiv i32 %51, 16777216 %64 = trunc i32 %63 to i8 %65 = inttoptr i64 %60 to i8* store i8 %64, i8* %65, align 1 %66 = urem i64 %arg3, 4 %67 = icmp eq i64 %66, 2 br i1 %67, label LBL_6, label LBL_5 LBL_5: %68 = add i64 %49, 4 %69 = sub i32 2, %47 %70 = urem i32 %69, 4 %71 = inttoptr i64 %68 to i64* %72 = call i64* @memset(i64* %71, i32 0, i32 %70) br label LBL_6 LBL_6: %73 = add i64 %5, 46888 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = or i32 %75, 4 store i32 %76, i32* %74, align 4 %77 = call i64 @FUNC(i64 %5) store i64 %arg3, 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 %49, { 0, 1, 2, 4, 3 } uselistorder i64 %35, { 2, 1, 0, 3 } uselistorder i32 %26, { 1, 0 } uselistorder i64 %5, { 2, 3, 0, 5, 1, 4, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64)* @stellaris_enet_update, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 -1, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 %arg3, { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9 } uselistorder label LBL_7, { 2, 3, 0, 1 } }
0
CompRealVul
iss_read_header_16990
iss_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %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* nonnull %sv_2, i64 256) %9 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %10 = bitcast i64* %sv_2 to i8* %11 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* %arg1) %12 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %13 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %14 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %15 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1) %16 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %17 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %18 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %19 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %20 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %21 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 256) %22 = trunc i64 %3 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp slt i32 %22, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %23, false %27 = icmp eq i1 %25, %26 br i1 %27, label LBL_2, label LBL_1 LBL_1: %28 = and i64 %3, 4294967295 %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %30 = call i64 @FUNC(i64 %7) store i64 %30, i64* %6, align 8 %31 = call i64 @FUNC(i64 %4, i64 0) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %33, label LBL_3, label LBL_9 LBL_3: %34 = inttoptr i64 %31 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i32* store i32 1, i32* %36, align 4 %37 = load i64, i64* %34, align 8 %38 = add i64 %37, 4 %39 = inttoptr i64 %38 to i32* store i32 2, i32* %39, align 4 %40 = load i64, i64* %sv_1, align 8 %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = load i64, i64* %34, align 8 %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i32* br i1 %42, label LBL_5, label LBL_4 LBL_4: store i32 2, i32* %45, align 4 %46 = load i64, i64* %34, align 8 %47 = add i64 %46, 12 %48 = inttoptr i64 %47 to i32* store i32 3, i32* %48, align 4 br label LBL_6 LBL_5: store i32 1, i32* %45, align 4 %49 = load i64, i64* %34, align 8 %50 = add i64 %49, 12 %51 = inttoptr i64 %50 to i32* store i32 4, i32* %51, align 4 br label LBL_6 LBL_6: %52 = load i64, i64* %34, align 8 %53 = add i64 %52, 16 %54 = inttoptr i64 %53 to i32* store i32 44100, i32* %54, align 4 %55 = load i64, i64* %sv_0, align 8 %56 = trunc i64 %55 to i32 %57 = icmp slt i32 %56, 1 br i1 %57, label LBL_8, label LBL_7 LBL_7: %58 = load i64, i64* %34, align 8 %59 = add i64 %58, 16 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = ashr i32 %61, 31 %63 = zext i32 %61 to i64 %64 = zext i32 %62 to i64 %65 = mul i64 %64, 4294967296 %66 = or i64 %65, %63 %67 = and i64 %55, 4294967295 %68 = sdiv i64 %66, %67 %69 = trunc i64 %68 to i32 store i32 %69, i32* %60, align 4 br label LBL_8 LBL_8: %70 = bitcast i64* %rdi to i32* %71 = load i64, i64* %34, align 8 %72 = add i64 %71, 20 %73 = inttoptr i64 %72 to i32* store i32 4, i32* %73, align 4 %74 = load i64, i64* %34, align 8 %75 = add i64 %74, 8 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = add i64 %74, 16 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = mul i32 %80, %77 %82 = add i64 %74, 20 %83 = inttoptr i64 %82 to i32* %84 = load i32, i32* %83, align 4 %85 = mul i32 %81, %84 %86 = add i64 %74, 24 %87 = inttoptr i64 %86 to i32* store i32 %85, i32* %87, align 4 %88 = load i64, i64* %34, align 8 %89 = load i32, i32* %70, align 8 %90 = add i64 %88, 28 %91 = inttoptr i64 %90 to i32* store i32 %89, i32* %91, align 4 %92 = load i64, i64* %34, align 8 %93 = add i64 %92, 16 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = zext i32 %95 to i64 %97 = call i64 @FUNC(i64 %31, i64 32, i64 1, i64 %96) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %74, { 1, 0, 2, 3 } uselistorder i32* %45, { 1, 0 } uselistorder i64* %34, { 2, 3, 4, 5, 1, 6, 7, 0, 8, 9, 10 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @get_token, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } }
1
CompRealVul
iwgif_init_screen_8421
iwgif_init_screen
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i1 %.pre-phi5.reg2mem = alloca i32* %.pre-phi9.reg2mem = alloca i32* %1 = load i64, 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_1, label LBL_15 LBL_1: store i32 1, i32* %arg1, align 4 %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 40 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre = add i64 %4, 8 %.pre4 = inttoptr i64 %.pre to i32* %.pre6 = add i64 %4, 12 %.pre8 = inttoptr i64 %.pre6 to i32* store i32* %.pre8, i32** %.pre-phi9.reg2mem store i32* %.pre4, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_3: %13 = add i64 %4, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 %18 = add i64 %4, 20 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %4, 12 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = add i64 %4, 24 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = add i64 %4, 28 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 store i32* %22, i32** %.pre-phi9.reg2mem store i32* %17, i32** %.pre-phi5.reg2mem br label LBL_4 LBL_4: %27 = inttoptr i64 %7 to i32* %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem %28 = load i32, i32* %.pre-phi5.reload, align 4 store i32 %28, i32* %27, align 4 %29 = load i32, i32* %.pre-phi9.reload, align 4 %30 = add i64 %7, 4 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = load i32, i32* %27, align 4 %33 = add i64 %4, 48 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = zext i32 %32 to i64 %37 = call i64 @FUNC(i64 %35, i64 %36, i32 %29) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 0, i64* %rax.0.reg2mem br i1 %40, label LBL_5, label LBL_15 LBL_5: %41 = add i64 %4, 24 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 %45 = icmp slt i32 %43, 0 %46 = icmp eq i1 %45, false %47 = icmp eq i1 %44, false %48 = icmp eq i1 %46, %47 br i1 %48, label LBL_9, label LBL_6 LBL_6: %49 = add i64 %4, 28 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 %53 = icmp slt i32 %51, 0 %54 = icmp eq i1 %53, false %55 = icmp eq i1 %52, false %56 = icmp eq i1 %54, %55 br i1 %56, label LBL_9, label LBL_7 LBL_7: %57 = add i64 %4, 16 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = add i32 %59, %43 %61 = load i32, i32* %.pre-phi5.reload, align 4 %62 = icmp ult i32 %60, %61 br i1 %62, label LBL_9, label LBL_8 LBL_8: %63 = add i64 %4, 20 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = add i32 %65, %51 %67 = load i32, i32* %.pre-phi9.reload, align 4 %68 = icmp ult i32 %66, %67 store i1 true, i1* %sv_0.0.reg2mem br i1 %68, label LBL_9, label LBL_10 LBL_9: store i1 false, i1* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem %69 = add i64 %4, 32 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 %or.cond = icmp eq i1 %sv_0.0.reload, %72 %73 = add i64 %4, 36 %74 = inttoptr i64 %73 to i32* br i1 %or.cond, label LBL_12, label LBL_11 LBL_11: store i32 4, i32* %74, align 4 %75 = add i64 %7, 8 %76 = inttoptr i64 %75 to i32* store i32 1, i32* %76, align 4 br label LBL_13 LBL_12: store i32 3, i32* %74, align 4 %77 = add i64 %7, 8 %78 = inttoptr i64 %77 to i32* store i32 2, i32* %78, align 4 br label LBL_13 LBL_13: %79 = add i64 %7, 12 %80 = inttoptr i64 %79 to i32* store i32 8, i32* %80, align 4 %81 = load i32, i32* %74, align 4 %82 = load i32, i32* %27, align 4 %83 = mul i32 %82, %81 %84 = add i64 %7, 16 %85 = inttoptr i64 %84 to i32* store i32 %83, i32* %85, align 4 %86 = load i32, i32* %31, align 4 %87 = sext i32 %86 to i64 %88 = sext i32 %83 to i64 %89 = load i64, i64* %34, align 8 %90 = call i64 @FUNC(i64 %89, i64 %88, i64 %87) %91 = add i64 %7, 24 %92 = inttoptr i64 %91 to i64* store i64 %90, i64* %92, align 8 %93 = icmp eq i64 %90, 0 store i64 0, i64* %rax.0.reg2mem br i1 %93, label LBL_15, label LBL_14 LBL_14: %94 = load i32, i32* %85, align 4 %95 = load i32, i32* %31, align 4 %96 = mul i32 %95, %94 %97 = sext i32 %96 to i64 %98 = call i64 @FUNC(i64 %90, i64 %97) store i64 1, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %90, { 1, 0, 2 } uselistorder i32* %74, { 0, 2, 1 } uselistorder i32 %51, { 0, 2, 1 } uselistorder i32 %43, { 0, 2, 1 } uselistorder i64 %7, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64 %4, { 7, 6, 11, 10, 9, 8, 12, 2, 3, 5, 4, 15, 14, 0, 1, 13, 16 } uselistorder i1* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 12, { 1, 2, 0 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i1 false, { 0, 3, 1, 4, 2, 5, 6 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
mov_text_cleanup_ftab_17161
mov_text_cleanup_ftab
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 %0, i64* %rdi.01.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %5 = mul i64 %.reload, 8 %6 = add i64 %rdi.01.reload, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %8, %5 %11 = call i64 @FUNC(i64 %10) %12 = add i32 %storemerge2.reload, 1 %13 = load i32, i32* %2, align 4 %14 = zext i32 %13 to i64 %15 = sext i32 %12 to i64 %16 = icmp slt i64 %15, %14 store i64 %15, i64* %.reg2mem store i32 %12, i32* %storemerge2.reg2mem store i64 %10, i64* %rdi.01.reg2mem br i1 %16, label LBL_1, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %0) ret i64 %17 uselistorder i64 %5, { 1, 0 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @av_freep, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
ksba_oid_to_str_5194
ksba_oid_to_str
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i8* %sv_1.4.reg2mem = alloca i32 %storemerge4.lcssa.reg2mem = alloca i32 %sv_1.310.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %sv_0.1.in17.reg2mem = alloca i64 %sv_0.118.reg2mem = alloca i8* %storemerge19.reg2mem = alloca i32 %.reg2mem = alloca i64 %.pn.in.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %storemerge5.lcssa.reg2mem = alloca i32 %sv_1.021.reg2mem = alloca i32 %storemerge522.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = mul i64 %arg2, 4 %3 = or i64 %2, 3 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_22 LBL_1: %7 = inttoptr i64 %4 to i8* %8 = icmp eq i64 %arg2, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: store i8 0, i8* %7, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_22 LBL_3: %10 = trunc i64 %1 to i8 %11 = icmp ult i8 %10, 40 br i1 %11, label LBL_4, label LBL_5 LBL_4: %12 = urem i64 %1, 256 %13 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %12) store i32 0, i32* %sv_1.2.reg2mem store i32 %13, i32* %.pn.in.reg2mem br label LBL_13 LBL_5: %14 = icmp ult i8 %10, 80 br i1 %14, label LBL_6, label LBL_7 LBL_6: %15 = urem i64 %1, 256 %16 = add nuw nsw i64 %15, 4294967256 %17 = and i64 %16, 4294967295 %18 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %17) store i32 0, i32* %sv_1.2.reg2mem store i32 %18, i32* %.pn.in.reg2mem br label LBL_13 LBL_7: %19 = urem i8 %10, -128 %20 = zext i8 %19 to i32 %21 = ptrtoint i32* %arg1 to i64 %22 = bitcast i32* %arg1 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp slt i8 %23, 0 %25 = icmp eq i1 %24, false store i32 %20, i32* %storemerge522.reg2mem store i32 0, i32* %sv_1.021.reg2mem store i32 %20, i32* %storemerge5.lcssa.reg2mem store i32 0, i32* %sv_1.1.reg2mem br i1 %25, label LBL_11, label LBL_10 LBL_8: %26 = icmp sgt i32 %storemerge522.reload, -1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_21, label LBL_9 LBL_9: %28 = mul i32 %storemerge522.reload, 128 %29 = add i64 %38, %21 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = urem i8 %31, -128 %33 = zext i8 %32 to i32 %34 = or i32 %28, %33 %35 = icmp slt i8 %31, 0 %36 = icmp eq i1 %35, false store i32 %34, i32* %storemerge522.reg2mem store i32 %37, i32* %sv_1.021.reg2mem store i32 %34, i32* %storemerge5.lcssa.reg2mem store i32 %37, i32* %sv_1.1.reg2mem br i1 %36, label LBL_11, label LBL_10 LBL_10: %sv_1.021.reload = load i32, i32* %sv_1.021.reg2mem %storemerge522.reload = load i32, i32* %storemerge522.reg2mem %37 = add i32 %sv_1.021.reload, 1 %38 = sext i32 %37 to i64 %39 = icmp ult i64 %38, %arg2 store i32 %storemerge522.reload, i32* %storemerge5.lcssa.reg2mem store i32 %37, i32* %sv_1.1.reg2mem br i1 %39, label LBL_8, label LBL_11 LBL_11: %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem %40 = icmp ult i32 %storemerge5.lcssa.reload, 80 br i1 %40, label LBL_21, label LBL_12 LBL_12: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %41 = add i32 %storemerge5.lcssa.reload, -80 %42 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %41) %43 = call i32 @strlen(i8* %7) store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i32 %43, i32* %.pn.in.reg2mem br label LBL_13 LBL_13: %.pn.in.reload = load i32, i32* %.pn.in.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %.pn = sext i32 %.pn.in.reload to i64 %sv_0.0.in = add i64 %4, %.pn %sv_0.115 = inttoptr i64 %sv_0.0.in to i8* %storemerge16 = add i32 %sv_1.2.reload, 1 %44 = sext i32 %storemerge16 to i64 %45 = icmp ult i64 %44, %arg2 store i8* %sv_0.115, i8** %sv_0.1.lcssa.reg2mem br i1 %45, label LBL_14, label LBL_20 LBL_14: %46 = ptrtoint i32* %arg1 to i64 store i64 %44, i64* %.reg2mem store i32 %storemerge16, i32* %storemerge19.reg2mem store i8* %sv_0.115, i8** %sv_0.118.reg2mem store i64 %sv_0.0.in, i64* %sv_0.1.in17.reg2mem br label LBL_15 LBL_15: %sv_0.1.in17.reload = load i64, i64* %sv_0.1.in17.reg2mem %sv_0.118.reload = load i8*, i8** %sv_0.118.reg2mem %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %.reload = load i64, i64* %.reg2mem %47 = add i64 %.reload, %46 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = urem i8 %49, -128 %51 = zext i8 %50 to i32 %52 = sext i32 %storemerge19.reload to i64 %53 = add i64 %52, %46 %54 = inttoptr i64 %53 to i8* %55 = load i8, i8* %54, align 1 %56 = icmp slt i8 %55, 0 %57 = icmp eq i1 %56, false store i32 %51, i32* %storemerge411.reg2mem store i32 %storemerge19.reload, i32* %sv_1.310.reg2mem store i32 %51, i32* %storemerge4.lcssa.reg2mem store i32 %storemerge19.reload, i32* %sv_1.4.reg2mem br i1 %57, label LBL_19, label LBL_18 LBL_16: %58 = icmp sgt i32 %storemerge411.reload, -1 %59 = icmp eq i1 %58, false br i1 %59, label LBL_21, label LBL_17 LBL_17: %60 = mul i32 %storemerge411.reload, 128 %61 = add i64 %70, %46 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = urem i8 %63, -128 %65 = zext i8 %64 to i32 %66 = or i32 %60, %65 %67 = icmp slt i8 %63, 0 %68 = icmp eq i1 %67, false store i32 %66, i32* %storemerge411.reg2mem store i32 %69, i32* %sv_1.310.reg2mem store i32 %66, i32* %storemerge4.lcssa.reg2mem store i32 %69, i32* %sv_1.4.reg2mem br i1 %68, label LBL_19, label LBL_18 LBL_18: %sv_1.310.reload = load i32, i32* %sv_1.310.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %69 = add i32 %sv_1.310.reload, 1 %70 = sext i32 %69 to i64 %71 = icmp ult i64 %70, %arg2 store i32 %storemerge411.reload, i32* %storemerge4.lcssa.reg2mem store i32 %69, i32* %sv_1.4.reg2mem br i1 %71, label LBL_16, label LBL_19 LBL_19: %sv_1.4.reload = load i32, i32* %sv_1.4.reg2mem %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %72 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.118.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 %storemerge4.lcssa.reload) %73 = call i32 @strlen(i8* %sv_0.118.reload) %74 = sext i32 %73 to i64 %75 = add i64 %sv_0.1.in17.reload, %74 %sv_0.1 = inttoptr i64 %75 to i8* %storemerge = add i32 %sv_1.4.reload, 1 %76 = sext i32 %storemerge to i64 %77 = icmp ult i64 %76, %arg2 store i64 %76, i64* %.reg2mem store i32 %storemerge, i32* %storemerge19.reg2mem store i8* %sv_0.1, i8** %sv_0.118.reg2mem store i64 %75, i64* %sv_0.1.in17.reg2mem store i8* %sv_0.1, i8** %sv_0.1.lcssa.reg2mem br i1 %77, label LBL_15, label LBL_20 LBL_20: %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem store i8 0, i8* %sv_0.1.lcssa.reload, align 1 store i64 %4, i64* %rax.0.reg2mem br label LBL_22 LBL_21: %78 = call i64 @FUNC(i64 %4) %79 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0)) store i64 %79, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %70, { 1, 0 } uselistorder i32 %69, { 0, 3, 2, 1 } uselistorder i8 %63, { 1, 0 } uselistorder i8* %sv_0.115, { 1, 0 } uselistorder i32 %storemerge5.lcssa.reload, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i32 %37, { 0, 3, 2, 1 } uselistorder i8 %31, { 1, 0 } uselistorder i8 %10, { 0, 2, 1 } uselistorder i8* %7, { 2, 1, 3, 4, 0 } uselistorder i64 %4, { 3, 1, 2, 0, 4, 5 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %storemerge522.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.021.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge19.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.118.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.in17.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge411.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.310.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 3, 2, 1, 0 } uselistorder i8 0, { 3, 2, 1, 4, 0, 5 } uselistorder i1 false, { 3, 2, 1, 5, 4, 0, 6, 7, 8, 9 } uselistorder i64 %arg2, { 3, 2, 1, 4, 5, 0 } uselistorder i32* %arg1, { 2, 0, 1 } uselistorder label LBL_22, { 1, 2, 3, 0 } uselistorder label LBL_21, { 1, 2, 0 } uselistorder label LBL_19, { 1, 0, 2 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } }
0
CompRealVul
pcie_pci_bridge_reset_14148
pcie_pci_bridge_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) ret i64 %3 uselistorder i64 %0, { 2, 1, 0 } }
1
CompRealVul
asf_read_replicated_data_8145
asf_read_replicated_data
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_8 LBL_2: %16 = ptrtoint i32* %arg2 to i64 %17 = add i64 %16, 16 %18 = and i64 %9, 4294967295 %19 = call i64 @FUNC(i64 %17, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = and i64 %19, 4294967295 store i64 %23, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %24 = add i64 %16, 4 %25 = inttoptr i64 %24 to i32* store i32 %10, i32* %25, align 4 store i32 %10, i32* %arg2, align 4 store i64 %16, i64* %.pre-phi.reg2mem br label LBL_6 LBL_5: %26 = call i64 @FUNC(i64 %2, i64 4) %.pre = ptrtoint i32* %arg2 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_6 LBL_6: %27 = inttoptr i64 %5 to i32* %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %28 = call i64 @FUNC(i64 %2) %29 = trunc i64 %28 to i32 %30 = add i64 %.pre-phi.reload, 8 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = load i32, i32* %27, align 4 %33 = icmp slt i32 %32, 8 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = add i32 %32, -8 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %2, i64 %35) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %32, { 1, 0 } uselistorder i32 %10, { 0, 1, 3, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_8, { 1, 0, 3, 2 } }
0
CompRealVul
tcp_mtu_probing_11531
tcp_mtu_probing
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = bitcast i64* %arg1 to i32* store i32 1, i32* %11, align 4 %12 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 br label LBL_4 LBL_3: %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %2, i64 %18) %20 = trunc i64 %19 to i32 %21 = ashr i32 %20, 1 %22 = add i64 %3, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %21 to i64 %26 = zext i32 %24 to i64 %27 = call i64 @FUNC(i64 %26, i64 %25) %28 = call i64 @FUNC(i64 %2) %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = sub i32 68, %30 %32 = zext i32 %31 to i64 %33 = and i64 %27, 4294967295 %34 = call i64 @FUNC(i64 %33, i64 %32) %35 = and i64 %34, 4294967295 %36 = call i64 @FUNC(i64 %2, i64 %35) %37 = trunc i64 %36 to i32 store i32 %37, i32* %16, align 4 br label LBL_4 LBL_4: %38 = add i64 %7, 12 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %41) store i64 %42, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
quiesce_class_init_16509
quiesce_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4210717, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = or i32 %5, 1 store i32 %6, i32* %4, align 4 store i64 4198669, i64* %arg1, align 8 store i64 4198676, i64* %2, align 8 %7 = inttoptr i64 %3 to i64* store i64 4198687, i64* %7, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* store i64 4198698, i64* %9, align 8 %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i64* store i64 4198709, i64* %11, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
CompRealVul
asv2_encode_block_14573
asv2_encode_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i32 %storemerge26.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 store i32 63, i32* %storemerge26.reg2mem br label LBL_1 LBL_1: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %5 = sext i32 %storemerge26.reload to i64 %6 = mul i64 %5, 4 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 2 %12 = add i64 %11, %2 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = add i64 %11, %3 %16 = inttoptr i64 %15 to i16* %17 = load i16, i16* %16, align 2 %18 = sext i16 %17 to i32 %19 = sext i16 %14 to i32 %20 = mul nsw i32 %18, %19 %21 = add i32 %20, 32768 %22 = icmp ult i32 %21, 65536 %23 = icmp eq i1 %22, false store i32 %storemerge26.reload, i32* %storemerge2.lcssa.reg2mem br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = add i32 %storemerge26.reload, -1 %25 = icmp ugt i32 %24, 3 store i32 %24, i32* %storemerge26.reg2mem store i32 3, i32* %storemerge2.lcssa.reg2mem br i1 %25, label LBL_1, label LBL_3 LBL_3: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %26 = ashr i32 %storemerge2.lcssa.reload, 2 %27 = add i64 %3, 128 %28 = zext i32 %26 to i64 %29 = call i64 @FUNC(i64 %27, i64 4, i64 %28) %sext = mul i32 %4, 65536 %30 = ashr exact i32 %sext, 16 %31 = add nsw i32 %30, 32 %32 = ashr i32 %31, 6 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %27, i64 8, i64 %33) %35 = bitcast i64* %arg2 to i16* store i16 0, i16* %35, align 2 %36 = icmp slt i32 %storemerge2.lcssa.reload, 0 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %36, label LBL_19, label LBL_4 LBL_4: %37 = sext i32 %26 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %38 = mul i64 %indvars.iv.reload, 16 %39 = add i64 %38, ptrtoint (i32** @gv_0 to i64) %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 8 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 2 %44 = add i64 %43, %2 %45 = inttoptr i64 %44 to i16* %46 = load i16, i16* %45, align 2 %47 = add i64 %43, %3 %48 = inttoptr i64 %47 to i16* %49 = load i16, i16* %48, align 2 %50 = sext i16 %49 to i32 %51 = sext i16 %46 to i32 %52 = mul nsw i32 %50, %51 %53 = add i32 %52, 32768 %54 = udiv i32 %53, 65536 %55 = trunc i32 %54 to i16 store i16 %55, i16* %45, align 2 %56 = icmp ult i32 %53, 65536 %spec.select = select i1 %56, i32 0, i32 8 %57 = add i64 %44, 16 %58 = inttoptr i64 %57 to i16* %59 = load i16, i16* %58, align 2 %60 = add i32 %41, 8 %61 = sext i32 %60 to i64 %62 = mul i64 %61, 2 %63 = add i64 %62, %3 %64 = inttoptr i64 %63 to i16* %65 = load i16, i16* %64, align 2 %66 = sext i16 %65 to i32 %67 = sext i16 %59 to i32 %68 = mul nsw i32 %66, %67 %69 = add i32 %68, 32768 %70 = udiv i32 %69, 65536 %71 = trunc i32 %70 to i16 store i16 %71, i16* %58, align 2 %72 = icmp ult i32 %69, 65536 %73 = or i32 %spec.select, 4 %sv_0.1 = select i1 %72, i32 %spec.select, i32 %73 %74 = add i64 %44, 2 %75 = inttoptr i64 %74 to i16* %76 = load i16, i16* %75, align 2 %77 = add i32 %41, 1 %78 = sext i32 %77 to i64 %79 = mul i64 %78, 2 %80 = add i64 %79, %3 %81 = inttoptr i64 %80 to i16* %82 = load i16, i16* %81, align 2 %83 = sext i16 %82 to i32 %84 = sext i16 %76 to i32 %85 = mul nsw i32 %83, %84 %86 = add i32 %85, 32768 %87 = udiv i32 %86, 65536 %88 = trunc i32 %87 to i16 store i16 %88, i16* %75, align 2 %89 = icmp ult i32 %86, 65536 %90 = or i32 %sv_0.1, 2 %spec.select4 = select i1 %89, i32 %sv_0.1, i32 %90 %91 = add i64 %44, 18 %92 = inttoptr i64 %91 to i16* %93 = load i16, i16* %92, align 2 %94 = add i32 %41, 9 %95 = sext i32 %94 to i64 %96 = mul i64 %95, 2 %97 = add i64 %96, %3 %98 = inttoptr i64 %97 to i16* %99 = load i16, i16* %98, align 2 %100 = sext i16 %99 to i32 %101 = sext i16 %93 to i32 %102 = mul nsw i32 %100, %101 %103 = add i32 %102, 32768 %104 = udiv i32 %103, 65536 %105 = trunc i32 %104 to i16 store i16 %105, i16* %92, align 2 %106 = icmp ugt i32 %103, 65535 %107 = zext i1 %106 to i32 %sv_0.3 = or i32 %spec.select4, %107 %108 = icmp ne i64 %indvars.iv.reload, 0 %109 = icmp ult i32 %sv_0.3, 8 %not.or.cond = or i1 %108, %109 %storemerge1 = zext i1 %not.or.cond to i64 %110 = call i64 @FUNC(i64 %storemerge1) %111 = icmp eq i64 %indvars.iv.reload, 0 %112 = mul i32 %sv_0.3, 8 %113 = zext i32 %112 to i64 br i1 %111, label LBL_7, label LBL_6 LBL_6: %114 = add i64 %113, ptrtoint (i32** @gv_1 to i64) %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 8 %117 = add i64 %113, ptrtoint (i32** @gv_2 to i64) %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 8 %120 = zext i32 %119 to i64 %121 = call i64 @FUNC(i64 %27, i64 %120, i32 %116) br label LBL_8 LBL_7: %122 = add i64 %113, ptrtoint (i32** @gv_3 to i64) %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 8 %125 = add i64 %113, ptrtoint (i32** @gv_4 to i64) %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 8 %128 = zext i32 %127 to i64 %129 = call i64 @FUNC(i64 %27, i64 %128, i32 %124) br label LBL_8 LBL_8: %130 = icmp eq i32 %sv_0.3, 0 br i1 %130, label LBL_17, label LBL_9 LBL_9: %131 = and i32 %spec.select4, 8 %132 = icmp eq i32 %131, 0 br i1 %132, label LBL_11, label LBL_10 LBL_10: %133 = load i16, i16* %45, align 2 %134 = sext i16 %133 to i64 %135 = and i64 %134, 4294967295 %136 = call i64 @FUNC(i64 %27, i64 %135) br label LBL_11 LBL_11: %137 = and i32 %spec.select4, 4 %138 = icmp eq i32 %137, 0 br i1 %138, label LBL_13, label LBL_12 LBL_12: %139 = load i16, i16* %58, align 2 %140 = sext i16 %139 to i64 %141 = and i64 %140, 4294967295 %142 = call i64 @FUNC(i64 %27, i64 %141) br label LBL_13 LBL_13: %143 = and i32 %spec.select4, 2 %144 = icmp eq i32 %143, 0 br i1 %144, label LBL_15, label LBL_14 LBL_14: %145 = load i16, i16* %75, align 2 %146 = sext i16 %145 to i64 %147 = and i64 %146, 4294967295 %148 = call i64 @FUNC(i64 %27, i64 %147) br label LBL_15 LBL_15: %149 = urem i32 %sv_0.3, 2 %150 = icmp eq i32 %149, 0 br i1 %150, label LBL_17, label LBL_16 LBL_16: %151 = load i16, i16* %92, align 2 %152 = sext i16 %151 to i64 %153 = and i64 %152, 4294967295 %154 = call i64 @FUNC(i64 %27, i64 %153) br label LBL_17 LBL_17: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %155 = icmp slt i64 %indvars.iv.reload, %37 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %155, label LBL_5, label LBL_18 LBL_18: %phitmp = and i64 %indvars.iv.next, 4294967295 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_19 LBL_19: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %indvars.iv.next, { 1, 0 } uselistorder i64 %113, { 2, 0, 3, 1 } uselistorder i32 %sv_0.3, { 1, 3, 0, 2 } uselistorder i32 %spec.select4, { 1, 2, 3, 0 } uselistorder i64 %43, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 3, 0, 1, 2, 4 } uselistorder i64 %27, { 4, 3, 2, 1, 5, 0, 6, 7 } uselistorder i32 %storemerge2.lcssa.reload, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i32 %storemerge26.reload, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 2, 3, 5, 4 } uselistorder i32* %storemerge26.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @asv2_put_level, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @put_bits, { 1, 0 } uselistorder i32 8, { 4, 0, 1, 3, 2 } uselistorder i32 0, { 2, 3, 4, 5, 6, 1, 0, 7 } uselistorder i64 (i64, i64, i64)* @asv2_put_bits, { 1, 0 } uselistorder i32 65536, { 4, 1, 5, 2, 6, 3, 7, 0, 8 } uselistorder i64 2, { 0, 1, 5, 2, 3, 4 } uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
wait_for_unix_gc_6607
wait_for_unix_gc
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i8 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp slt i32 %0, 11 %2 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4 %3 = icmp eq i8 %2, 1 %or.cond = or i1 %1, %3 store i8 %2, i8* %.reg2mem br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC() %.pre = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4 store i8 %.pre, i8* %.reg2mem br label LBL_2 LBL_2: %.reload = load i8, i8* %.reg2mem %5 = icmp eq i8 %.reload, 0 %6 = load i8, i8* inttoptr (i64 4210730 to i8*), align 2 %7 = zext i1 %5 to i64 %8 = zext i8 %6 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7) ret i64 %9 uselistorder i8* %.reg2mem, { 0, 2, 1 } }
0
CompRealVul
tracing_init_debugfs_percpu_4058
tracing_init_debugfs_percpu
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3, i64 %arg2) %5 = call i64 @FUNC(i64 %3, i64 %arg2) %6 = icmp eq i64 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = bitcast i64* %sv_0 to i8* %8 = trunc i64 %arg2 to i32 %9 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %7, i32 30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %8) %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %5, i64 %arg2, i64 %2, i64 %1) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %14 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_3) %15 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 420, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_5) %16 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_7) %17 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_9) %18 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0), i64 292, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_11) %19 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_12, i64 0, i64 0), i64 420, i64 %10, i64 %4, i64 %arg2, i64* nonnull @gv_13) %20 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_14, i64 0, i64 0), i64 292, i64 %10, i64 %3, i64 %arg2, i64* nonnull @gv_15) store i64 %20, 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 %10, { 0, 3, 2, 1, 6, 5, 4, 7 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64*)* @trace_create_cpu_file, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 4, 3, 2, 7, 6, 5, 0, 8, 9, 10 } uselistorder label LBL_4, { 1, 2, 0 } }
0
CompRealVul
_kvm_get_dr_10349
_kvm_get_dr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp eq i32 %1, 6 br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = icmp sgt i32 %1, 6 br i1 %3, label LBL_11, label LBL_2 LBL_2: %4 = icmp eq i32 %1, 5 br i1 %4, label LBL_10, label LBL_3 LBL_3: %5 = icmp sgt i32 %1, 3 br i1 %5, label LBL_6, label LBL_4 LBL_4: %6 = icmp slt i32 %1, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_5, label LBL_11 LBL_5: %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, %0 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %12 = call i64 @FUNC(i64 %0, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_7, label LBL_12 LBL_7: %15 = add i64 %0, 48 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_9, label LBL_8 LBL_8: %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 store i64 %22, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_9: store i64 %0, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %23 = call i64 @FUNC(i64 %0, i64 1) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 1, i64* %rax.0.reg2mem br i1 %25, label LBL_11, label LBL_12 LBL_11: %26 = add i64 %0, 40 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 store i64 %28, i64* %arg3, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %1, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 3, 2, 6, 5, 4, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 6, 1 } uselistorder i64 (i64, i64)* @kvm_read_cr4_bits, { 1, 0 } uselistorder i32 6, { 1, 0 } uselistorder i64* %arg3, { 2, 0, 1, 3 } uselistorder label LBL_12, { 3, 4, 2, 1, 5, 0 } uselistorder label LBL_11, { 1, 0, 2 } }
0
CompRealVul
X509_NAME_cmp_10050
X509_NAME_cmp
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %4 = zext i1 %3 to i64 store i64 %4, i64* %rax.0.reg2mem br label LBL_11 LBL_2: store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_11 LBL_3: %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %6, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_11 LBL_5: %15 = add i64 %5, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i64 %5, i64* %rsi.1.reg2mem store i64 %6, i64* %rdi.1.reg2mem br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %5, i64 0) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rsi.1.reg2mem store i64 %5, i64* %rdi.1.reg2mem store i64 4294967294, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_11 LBL_7: %23 = add i64 %6, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %5, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = sub i32 %25, %28 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i32 %25, 0 %or.cond = or i1 %32, %31 store i32 %29, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %33 = inttoptr i64 %rdi.1.reload to i64* %34 = inttoptr i64 %rsi.1.reload to i64* %35 = call i32 @memcmp(i64* %33, i64* %34, i32 %25) store i32 %35, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %36 = icmp slt i32 %sv_0.0.reload, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %36, label LBL_11, label LBL_10 LBL_10: %37 = icmp eq i32 %sv_0.0.reload, 0 %38 = icmp eq i1 %37, false %39 = zext i1 %38 to i64 store i64 %39, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %25, { 1, 0, 2 } uselistorder i64 %6, { 1, 0, 2, 3 } uselistorder i64 %5, { 3, 0, 4, 1, 2 } uselistorder i1 %3, { 1, 0 } uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i64 (i64, i64)* @i2d_X509_NAME, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_11, { 4, 0, 1, 2, 3, 5 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
mrb_mod_included_modules_10561
mrb_mod_included_modules
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %arg1) %4 = icmp eq i64 %1, 0 %5 = icmp eq i1 %4, false %6 = and i64 %3, 4294967295 store i64 %1, i64* %sv_0.01.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %7 = icmp eq i64 %sv_0.01.reload, %1 br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = add i64 %sv_0.01.reload, 16 %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_5, label LBL_3 LBL_3: %13 = add i64 %sv_0.01.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %15, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 2 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %15) %22 = and i64 %21, 4294967295 %23 = call i64 @FUNC(i64 %arg1, i64 %6, i64 %22) br label LBL_5 LBL_5: %24 = inttoptr i64 %sv_0.01.reload to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %sv_0.01.reg2mem br i1 %27, label LBL_1, label LBL_6 LBL_6: ret i64 %6 uselistorder i64 %sv_0.01.reload, { 0, 3, 2, 1 } uselistorder i64 %1, { 2, 0, 1, 3 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
vmdk_free_extents_13947
vmdk_free_extents
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.0.lcssa.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 %0, i64* %rdi.01.reg2mem store i64 %0, i64* %rdi.0.lcssa.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %5 = mul nsw i64 %.reload, 24 %6 = add i64 %rdi.01.reload, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add nsw i64 %5, 8 %11 = add i64 %10, %8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add nsw i64 %5, 16 %16 = add i64 %15, %13 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i32 %storemerge2.reload, 1 %21 = load i32, i32* %2, align 4 %22 = zext i32 %21 to i64 %23 = sext i32 %20 to i64 %24 = icmp slt i64 %23, %22 store i64 %23, i64* %.reg2mem store i32 %20, i32* %storemerge2.reg2mem store i64 %18, i64* %rdi.01.reg2mem store i64 %18, i64* %rdi.0.lcssa.reg2mem br i1 %24, label LBL_1, label LBL_2 LBL_2: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %25 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) ret i64 %25 uselistorder i64 %5, { 1, 2, 0 } uselistorder i32* %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @g_free, { 0, 3, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
dyngen_code_2727
dyngen_code
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 4294967295) %3 = call i64 @FUNC(i64 %0, i64 %1) ret i64 0 }
0
CompRealVul
new_console_14641
new_console
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge3.lcssa.reg2mem = alloca i32 %storemerge34.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = load i32, i32* @gv_0, align 4 %1 = icmp slt i32 %0, 10 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = call i64 @FUNC(i64 2) %4 = call i64 @FUNC(i64 %3) %5 = load i64, i64* @gv_1, align 8 %6 = add i64 %4, 8 %7 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 3, i64 %6, i64 %5, i64 0) %8 = add i64 %4, 32 %9 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64* nonnull %sv_0) %10 = load i32*, i32** @gv_4, align 8 %11 = icmp eq i32* %10, null br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = load i32, i32* %10, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = trunc i64 %2 to i32 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: store i64 %4, i64* bitcast (i32** @gv_4 to i64*), align 8 br label LBL_5 LBL_5: %17 = ptrtoint i64* %arg1 to i64 %18 = inttoptr i64 %4 to i32* %19 = add i64 %4, 16 %20 = inttoptr i64 %19 to i64* store i64 %17, i64* %20, align 8 %21 = trunc i64 %2 to i32 store i32 %21, i32* %18, align 4 %22 = icmp eq i32 %21, 1 %23 = load i32, i32* @gv_0, align 4 br i1 %22, label LBL_6, label LBL_7 LBL_6: %24 = icmp eq i32 %23, 0 %25 = icmp slt i32 %23, 0 %26 = icmp eq i1 %25, false %27 = icmp eq i1 %24, false %28 = icmp eq i1 %26, %27 store i32 %23, i32* %storemerge34.reg2mem store i32 %23, i32* %storemerge3.lcssa.reg2mem br i1 %28, label LBL_8, label LBL_10 LBL_7: %29 = add i64 %4, 24 %30 = inttoptr i64 %29 to i32* store i32 %23, i32* %30, align 4 %31 = load i32, i32* @gv_0, align 4 store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_0, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = add i64 %33, ptrtoint (i64* @gv_6 to i64) %35 = inttoptr i64 %34 to i64* store i64 %4, i64* %35, align 8 store i64 %4, i64* %storemerge.reg2mem br label LBL_11 LBL_8: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %36 = add i32 %storemerge34.reload, -1 %37 = sext i32 %36 to i64 %38 = mul i64 %37, 8 %39 = add i64 %38, ptrtoint (i64* @gv_6 to i64) %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 1 store i32 %storemerge34.reload, i32* %storemerge3.lcssa.reg2mem br i1 %44, label LBL_10, label LBL_9 LBL_9: %45 = sext i32 %storemerge34.reload to i64 %46 = mul i64 %45, 8 %47 = add i64 %46, ptrtoint (i64* @gv_6 to i64) %48 = inttoptr i64 %47 to i64* store i64 %41, i64* %48, align 8 %49 = add i64 %41, 24 %50 = inttoptr i64 %49 to i32* store i32 %storemerge34.reload, i32* %50, align 4 %51 = icmp eq i32 %36, 0 %52 = icmp slt i32 %36, 0 %53 = icmp eq i1 %52, false %54 = icmp eq i1 %51, false %55 = icmp eq i1 %53, %54 store i32 %36, i32* %storemerge34.reg2mem store i32 %36, i32* %storemerge3.lcssa.reg2mem br i1 %55, label LBL_8, label LBL_10 LBL_10: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %56 = add i64 %4, 24 %57 = inttoptr i64 %56 to i32* store i32 %storemerge3.lcssa.reload, i32* %57, align 4 %58 = sext i32 %storemerge3.lcssa.reload to i64 %59 = mul i64 %58, 8 %60 = add i64 %59, ptrtoint (i64* @gv_6 to i64) %61 = inttoptr i64 %60 to i64* store i64 %4, i64* %61, align 8 store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_0, align 4 store i64 %4, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge34.reload, { 1, 2, 0, 3 } uselistorder i32 %23, { 4, 0, 1, 2, 3 } uselistorder i64 %4, { 1, 2, 3, 0, 4, 5, 7, 8, 6, 9, 10 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge34.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 ptrtoint (i64* @gv_6 to i64), { 2, 0, 1, 3 } uselistorder i1 false, { 3, 2, 0, 1, 4 } uselistorder i64 32, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 1, 2, 3 } uselistorder i32* @gv_0, { 4, 2, 1, 3, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
vorbis_finish_frame_5208
vorbis_finish_frame
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem35 = alloca i64 %.reg2mem33 = alloca i32 %.reg2mem31 = alloca i32 %storemerge811.reg2mem = alloca i32 %.reg2mem29 = alloca i32 %.reg2mem27 = alloca i32 %.pre-phi20.reg2mem = alloca i32* %storemerge914.reg2mem = alloca i32 %.reg2mem25 = alloca i64 %.reg2mem23 = alloca i32 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext4 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext4, 32 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_0.LBL_11_crit_edge, label LBL_2 LBL_1: %.pre18 = add i64 %2, 4 %.pre19 = inttoptr i64 %.pre18 to i32* store i32* %.pre19, i32** %.pre-phi20.reg2mem store i32 0, i32* %.reg2mem27 br label LBL_11 LBL_2: %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_20 LBL_3: %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i32* %11, i32** %.pre-phi20.reg2mem store i32 %4, i32* %.reg2mem27 br i1 %13, label LBL_11, label LBL_4 LBL_4: %14 = bitcast i64* %rdi to i32* %15 = icmp sgt i32 %4, 0 %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i64* %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i64* store i32 %12, i32* %.reg2mem23 store i64 0, i64* %.reg2mem25 store i32 0, i32* %storemerge914.reg2mem br label LBL_8 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %20 = load i64, i64* %17, align 8 %21 = add i64 %20, %65 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add nsw i64 %indvars.iv.reload, %3 %sext21 = mul i64 %24, 4294967296 %25 = ashr exact i64 %sext21, 30 %26 = add i64 %25, %23 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = call i128 @FUNC(i32 %28) %30 = mul i64 %indvars.iv.reload, 4 %31 = add i64 %30, %7 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = call i128 @FUNC(i32 %33) %35 = call i128 @FUNC(i128 %29, i128 %34) %36 = load i64, i64* %19, align 8 %37 = add i64 %36, %65 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %39, %30 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = call i128 @FUNC(i32 %42) %44 = xor i64 %indvars.iv.reload, 4294967295 %45 = add i64 %44, %1 %sext22 = mul i64 %45, 4294967296 %46 = ashr exact i64 %sext22, 30 %47 = add i64 %46, %7 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = call i128 @FUNC(i32 %49) %51 = call i128 @FUNC(i128 %50, i128 %43) %52 = load i64, i64* %17, align 8 %53 = add i64 %52, %65 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %55, %25 %57 = call i128 @FUNC(i128 %51, i128 %35) %58 = call i64 @__asm_movss.1(i128 %57) %59 = trunc i64 %58 to i32 %60 = inttoptr i64 %56 to i32* store i32 %59, i32* %60, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %.pre = load i32, i32* %11, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %61 = add i32 %storemerge914.reload, 1 %62 = zext i32 %.reload to i64 %63 = sext i32 %61 to i64 %64 = icmp slt i64 %63, %62 store i32 %.reload, i32* %.reg2mem23 store i64 %63, i64* %.reg2mem25 store i32 %61, i32* %storemerge914.reg2mem br i1 %64, label LBL_8, label LBL_10 LBL_8: %storemerge914.reload = load i32, i32* %storemerge914.reg2mem %.reload24 = load i32, i32* %.reg2mem23 store i32 %.reload24, i32* %.reg2mem br i1 %15, label LBL_5.lr.ph, label LBL_7 LBL_9: %.reload26 = load i64, i64* %.reg2mem25 %65 = mul i64 %.reload26, 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_10: %.pre15.pre = load i32, i32* %14, align 8 store i32* %11, i32** %.pre-phi20.reg2mem store i32 %.pre15.pre, i32* %.reg2mem27 br label LBL_11 LBL_11: %sext = mul i64 %arg2, 4294967296 %66 = ashr exact i64 %sext, 32 %sext5 = mul i64 %arg4, 4294967296 %67 = ashr exact i64 %sext5, 32 %.reload28 = load i32, i32* %.reg2mem27 %.pre-phi20.reload = load i32*, i32** %.pre-phi20.reg2mem %68 = trunc i64 %66 to i32 %69 = trunc i64 %67 to i32 %70 = sub i32 %68, %69 %71 = bitcast i64* %arg1 to i32* store i32 %70, i32* %71, align 4 %72 = load i32, i32* %.pre-phi20.reload, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label LBL_18, label LBL_12 LBL_12: %74 = and i64 %67, 4294967295 %75 = icmp sgt i64 %66, %74 %76 = add i64 %2, 8 %77 = inttoptr i64 %76 to i64* %78 = add i64 %2, 16 %79 = inttoptr i64 %78 to i64* store i32 %72, i32* %.reg2mem33 store i64 0, i64* %.reg2mem35 store i32 0, i32* %storemerge12.reg2mem br label LBL_16 LBL_13: %storemerge811.reload = load i32, i32* %storemerge811.reg2mem %.reload30 = load i32, i32* %.reg2mem29 %80 = load i64, i64* %77, align 8 %81 = add i64 %80, %108 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = sext i32 %.reload30 to i64 %85 = mul i64 %84, 4 %86 = add i64 %83, %85 %87 = load i64, i64* %79, align 8 %88 = add i64 %87, %108 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = sext i32 %storemerge811.reload to i64 %92 = mul i64 %91, 4 %93 = add i64 %90, %92 %94 = inttoptr i64 %86 to i32* %95 = load i32, i32* %94, align 4 %96 = call i128 @FUNC(i32 %95) %97 = call i64 @__asm_movss.1(i128 %96) %98 = trunc i64 %97 to i32 %99 = inttoptr i64 %93 to i32* store i32 %98, i32* %99, align 4 %100 = add i32 %storemerge811.reload, 1 %101 = add i32 %100, %69 %102 = zext i32 %101 to i64 %103 = icmp sgt i64 %66, %102 store i32 %101, i32* %.reg2mem29 store i32 %100, i32* %storemerge811.reg2mem br i1 %103, label LBL_13, label LBL_14 LBL_14: %.pre16 = load i32, i32* %.pre-phi20.reload, align 4 store i32 %.pre16, i32* %.reg2mem31 br label LBL_15 LBL_15: %.reload32 = load i32, i32* %.reg2mem31 %104 = add i32 %storemerge12.reload, 1 %105 = zext i32 %.reload32 to i64 %106 = sext i32 %104 to i64 %107 = icmp slt i64 %106, %105 store i32 %.reload32, i32* %.reg2mem33 store i64 %106, i64* %.reg2mem35 store i32 %104, i32* %storemerge12.reg2mem br i1 %107, label LBL_16, label LBL_18 LBL_16: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload34 = load i32, i32* %.reg2mem33 store i32 %.reload34, i32* %.reg2mem31 br i1 %75, label LBL_13.lr.ph, label LBL_15 LBL_17: %.reload36 = load i64, i64* %.reg2mem35 %108 = mul i64 %.reload36, 8 store i32 %69, i32* %.reg2mem29 store i32 0, i32* %storemerge811.reg2mem br label LBL_13 LBL_18: %109 = icmp eq i32 %.reload28, 0 %110 = icmp eq i1 %109, false store i64 0, i64* %rax.0.reg2mem br i1 %110, label LBL_19, label LBL_20 LBL_19: %111 = icmp slt i32 %68, %69 %spec.select = select i1 %111, i64 %66, i64 %67 %112 = add i64 %2, 24 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = trunc i64 %spec.select to i32 %116 = trunc i64 %3 to i32 %117 = sub i32 %115, %116 %118 = add i32 %117, %114 store i32 %118, i32* %113, align 4 %119 = sub nsw i64 %spec.select, %3 %120 = and i64 %119, 4294967295 store i64 %120, 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 %spec.select, { 1, 0 } uselistorder i32 %69, { 2, 0, 1, 3 } uselistorder i64 %67, { 1, 0, 2 } uselistorder i64 %66, { 1, 2, 0, 3 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i32* %11, { 0, 2, 1, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i32 %4, { 2, 0, 1 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %2, { 5, 7, 6, 1, 2, 3, 4, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem29, { 2, 1, 0 } uselistorder i32* %storemerge811.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem31, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4, { 0, 1, 2, 5, 4, 3 } uselistorder i32 0, { 8, 1, 0, 6, 3, 5, 7, 2, 9, 4 } uselistorder i64 32, { 0, 2, 1 } uselistorder i64 4294967296, { 2, 4, 0, 1, 3 } uselistorder label LBL_20, { 2, 0, 1 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
ff_qsv_decode_init_17047
ff_qsv_decode_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %3 = mul i64 %1, 4294967296 %sext = add i64 %3, 4294967296 %4 = ashr exact i64 %sext, 28 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = icmp eq i64 %5, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_7 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64 %10, i64 %2, i64 %arg3) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) %16 = and i64 %11, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %17 = bitcast i64* %rdi to i32* %18 = load i32, i32* %17, align 8 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = and i64 %20, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_7 LBL_5: store i32 %21, i32* %sv_0, align 4 %25 = add i64 %2, 40 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = bitcast i32* %sv_0 to i64* %29 = call i64 @FUNC(i64 %27, i64* nonnull %28) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %10, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0)) %34 = and i64 %29, 4294967295 %35 = call i64 @FUNC(i64 %34) store i64 %35, 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 %10, { 1, 0, 2 } uselistorder i32* %sv_0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_7, { 2, 0, 3, 4, 1 } }
1
CompRealVul
udp_attach_16165
udp_attach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = call i32 @socket(i32 2, i32 2, i32 0) %3 = bitcast i64* %arg1 to i32* store i32 %2, i32* %3, align 4 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, -1 store i64 4294967295, i64* %.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = bitcast i64* %rdi to i32* %8 = load i64, i64* @gv_0, align 8 %9 = add i64 %8, 60 %10 = add i64 %6, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %6, i64 %14) %.pre = load i32, i32* %7, align 8 %phitmp = zext i32 %.pre to i64 store i64 %phitmp, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem ret i64 %.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } }
1
CompRealVul
smb_connect_18551
smb_connect
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = call i64* @memset(i64* %2, i32 0, i32 40) %4 = inttoptr i64 %1 to i32* store i32 1, i32* %4, align 4 %5 = call i64* @malloc(i32 1024) %6 = ptrtoint i64* %5 to i64 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = call i64* @malloc(i32 1024) %10 = ptrtoint i64* %9 to i64 %11 = add i64 %0, 32 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = load i64, i64* %8, align 8 %14 = icmp ne i64 %13, 0 %15 = icmp eq i64* %9, null %16 = icmp eq i1 %15, false %or.cond = icmp eq i1 %16, %14 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_8 LBL_1: %17 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %18 = bitcast i64* %arg1 to i8* %19 = call i8* @strchr(i8* %18, i32 47) %20 = icmp eq i8* %19, null %21 = icmp eq i1 %20, false store i8* %19, i8** %sv_0.0.in.reg2mem br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = call i8* @strchr(i8* %18, i32 92) store i8* %22, i8** %sv_0.0.in.reg2mem br label LBL_3 LBL_3: %sv_0.0.in.reload = load i8*, i8** %sv_0.0.in.reg2mem %23 = icmp eq i8* %sv_0.0.in.reload, null br i1 %23, label LBL_6, label LBL_4 LBL_4: %sv_0.0 = ptrtoint i8* %sv_0.0.in.reload to i64 %24 = add i64 %sv_0.0, 1 %25 = add i64 %0, 40 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = call i8* @strdup(i8* %18) %28 = ptrtoint i8* %27 to i64 %29 = add i64 %0, 48 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = icmp eq i8* %27, null %32 = icmp eq i1 %31, false store i64 1, i64* %rax.0.reg2mem br i1 %32, label LBL_5, label LBL_8 LBL_5: %33 = sub i64 %sv_0.0, %0 %34 = add i64 %33, %28 %35 = inttoptr i64 %34 to i8* store i8 0, i8* %35, align 1 br label LBL_7 LBL_6: %36 = add i64 %0, 40 %37 = inttoptr i64 %36 to i64* store i64 %0, i64* %37, align 8 %38 = add i64 %0, 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %40 to i8* %42 = call i8* @strdup(i8* %41) %43 = ptrtoint i8* %42 to i64 %44 = add i64 %0, 48 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 %46 = icmp eq i8* %42, null %47 = icmp eq i1 %46, false store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_7, label LBL_8 LBL_7: store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %18, { 1, 0, 2 } uselistorder i64 %0, { 1, 5, 6, 2, 0, 3, 4, 7, 8, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i64 1, { 0, 1, 3, 2 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder label LBL_8, { 3, 1, 2, 0 } }
1
CompRealVul
msusb_mspipes_read_19120
msusb_mspipes_read
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = trunc i64 %arg2 to i32 %4 = mul i32 %3, 12 %5 = icmp ugt i32 %4, %2 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_8 LBL_1: %7 = call i64* @calloc(i32 %3, i32 8) %8 = icmp eq i64* %7, null %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_8 LBL_2: %10 = ptrtoint i64* %7 to i64 %11 = icmp eq i32 %3, 0 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_8, label LBL_3 LBL_3: %12 = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_4 LBL_4: %13 = call i64 @FUNC() %14 = icmp eq i64 %13, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %15 = inttoptr i64 %13 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %0, i64 %17) %19 = call i64 @FUNC(i64 %0, i64 2) %20 = add i64 %13, 4 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %0, i64 %23) %25 = add i64 %13, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %0, i64 %28) %30 = mul i64 %indvars.iv6.reload, 8 %31 = add i64 %30, %10 %32 = inttoptr i64 %31 to i64* store i64 %13, i64* %32, align 8 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %33 = icmp ult i64 %indvars.iv.next7, %12 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem store i64 %10, i64* %rax.0.reg2mem br i1 %33, label LBL_4, label LBL_8 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = mul i64 %indvars.iv.reload, 8 %35 = add i64 %34, %10 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i64* call void @free(i64* %38) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: call void @free(i64* %7) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 0 } uselistorder i64 %10, { 2, 0, 3, 1 } uselistorder i64* %7, { 0, 2, 1 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i64 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i64)* @Stream_Read_UINT32, { 1, 0 } uselistorder i64* (i32, i32)* @calloc, { 1, 0 } uselistorder label LBL_8, { 4, 0, 1, 2, 3 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
ehci_verify_qtd_8021
ehci_verify_qtd
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* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, %0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_7, label LBL_1 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = inttoptr i64 %3 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = urem i64 %15, 2 %17 = icmp eq i64 %16, 0 %18 = icmp eq i64 %15, %9 %19 = icmp eq i1 %18, false %or.cond = icmp eq i1 %17, %19 br i1 %or.cond, label LBL_7, label LBL_3 LBL_3: %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = urem i64 %22, 2 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = add i64 %9, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %22, %28 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_5 LBL_5: %31 = add i64 %0, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = add i64 %9, 16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %33, %36 %38 = icmp eq i1 %37, false br i1 %38, label LBL_7, label LBL_6 LBL_6: %39 = add i64 %0, 40 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %9, 24 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %41, %44 %spec.select = zext i1 %45 to i64 ret i64 %spec.select LBL_7: ret i64 0 uselistorder i64 %22, { 1, 0 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %9, { 3, 2, 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder label LBL_7, { 3, 2, 0, 1 } }
0
CompRealVul
gdb_get_avr_reg_1560
gdb_get_avr_reg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 31 br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 28 %5 = add i64 %4, %1 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %0, 8 %13 = call i64 @FUNC(i64 %12, i64 %11) store i64 16, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %14 = icmp eq i32 %2, 32 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i64 %1, 544 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %0, i64 %19) store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %21 = icmp eq i32 %2, 33 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = add i64 %1, 548 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %0, i64 %26) store i64 4, 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 i32 %2, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64, i64)* @stl_p, { 1, 0 } uselistorder i64 (i64, i64)* @stq_p, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2, 3 } }
0
CompRealVul
hci_sock_getname_13712
hci_sock_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %0) %5 = icmp eq i64 %3, 0 %6 = icmp eq i1 %5, false store i64 4294967219, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = inttoptr i64 %3 to i32* %9 = call i64 @FUNC(i64 %0) %10 = bitcast i64* %arg3 to i32* store i32 12, i32* %10, align 4 %11 = bitcast i64* %arg2 to i16* store i16 31, i16* %11, align 2 %12 = load i32, i32* %8, align 4 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = call i64 @FUNC(i64 %0) 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 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
xdr_krb5_key_data_nocontents_9643
xdr_krb5_key_data_nocontents
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64* @memset(i64* %arg2, i32 0, i32 32) br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_11 LBL_3: %13 = add i64 %7, 2 %14 = call i64 @FUNC(i64 %8, i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_11 LBL_4: %18 = add i64 %7, 4 %19 = call i64 @FUNC(i64 %8, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_5, label LBL_11 LBL_5: %23 = trunc i64 %2 to i16 %24 = icmp slt i16 %23, 2 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = add i64 %7, 6 %26 = call i64 @FUNC(i64 %8, i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_7, label LBL_11 LBL_7: %30 = icmp eq i32 %3, 1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_8 LBL_8: %32 = add i64 %7, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 store i32 %34, i32* %sv_0, align 4 %35 = add i64 %7, 16 %36 = call i64 @FUNC(i64 %8, i64 %35, i32* nonnull %sv_0, i64 4294967295) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_9, label LBL_11 LBL_9: %40 = add i64 %7, 12 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 store i32 %42, i32* %sv_0, align 4 %43 = add i64 %7, 24 %44 = call i64 @FUNC(i64 %8, i64 %43, i32* nonnull %sv_0, i64 4294967295) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i64 0, i64* %rax.0.reg2mem br i1 %47, label LBL_10, label LBL_11 LBL_10: 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 %8, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %7, { 2, 1, 4, 3, 0, 5, 6, 7 } uselistorder i32* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i32*, i64)* @xdr_bytes, { 1, 0 } uselistorder i64 (i64, i64)* @xdr_krb5_int16, { 3, 2, 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 6, 0, 1, 2, 3, 4, 5 } }
0
CompRealVul
daemon_usage_10799
daemon_usage
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = and i64 %arg1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 %3, i64 %4, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 %5, i64* bitcast ([35 x i8]* @gv_1 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %5, i64* bitcast ([60 x i8]* @gv_2 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %10 = call i64 @FUNC(i64 %5, i64* bitcast ([57 x i8]* @gv_3 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %11 = call i64 @FUNC(i64 %5, i64* bitcast ([65 x i8]* @gv_4 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %12 = call i64 @FUNC(i64 %5, i64* bitcast ([70 x i8]* @gv_5 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %13 = call i64 @FUNC(i64 %5, i64* bitcast ([60 x i8]* @gv_6 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %14 = call i64 @FUNC(i64 %5, i64* bitcast ([62 x i8]* @gv_7 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %15 = call i64 @FUNC(i64 %5, i64* bitcast ([62 x i8]* @gv_8 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %16 = call i64 @FUNC(i64 %5, i64* bitcast ([64 x i8]* @gv_9 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %17 = call i64 @FUNC(i64 %5, i64* bitcast ([57 x i8]* @gv_10 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %18 = call i64 @FUNC(i64 %5, i64* bitcast ([49 x i8]* @gv_11 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %19 = call i64 @FUNC(i64 %5, i64* bitcast ([42 x i8]* @gv_12 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %20 = call i64 @FUNC(i64 %5, i64* bitcast ([42 x i8]* @gv_13 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %21 = call i64 @FUNC(i64 %5, i64* bitcast ([52 x i8]* @gv_14 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %22 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 %3, i64 %4, i64 %2, i64 %1) %23 = call i64 @FUNC(i64 %5, i64* bitcast ([76 x i8]* @gv_15 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) %24 = call i64 @FUNC(i64 %5, i64* bitcast ([71 x i8]* @gv_16 to i64*), i64 %3, i64 %4, i64 %2, i64 %1) ret i64 %24 uselistorder i64 %4, { 16, 17, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 } uselistorder i64 %3, { 16, 17, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 } uselistorder i64 %2, { 16, 17, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 } uselistorder i64 %1, { 16, 17, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @rprintf, { 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 2, 5, 7, 6, 3, 1, 0, 4 } }
0
CompRealVul
add_session_id_9128
add_session_id
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0) br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64* nonnull @gv_0) %7 = trunc i64 %6 to i32 %8 = bitcast i64* %arg1 to i32* store i32 %7, i32* %8, align 4 ret i64 %6 uselistorder i64 %6, { 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } }
0
CompRealVul
handle_metadata_18337
handle_metadata
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %4, i64 %5) %7 = add i64 %4, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %4, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = add i64 %4, 12 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 store i32 0, i32* %8, align 4 %17 = and i64 %11, 4294967295 store i64 %17, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %18 = ptrtoint i64* %arg2 to i64 %19 = add i64 %18, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %sv_3, align 8 %sext = mul i64 %6, 4294967296 %22 = ashr exact i64 %sext, 32 %23 = add i64 %22, %4 store i64 %23, i64* %sv_2, align 8 %24 = load i64, i64* %20, align 8 %25 = sub i64 %21, %24 %26 = add i64 %3, 4294967284 %27 = and i64 %26, 4294967295 %28 = icmp slt i64 %25, %27 store i64 %23, i64* %.reg2mem store i64 %4, i64* %rdi.0.lcssa.reg2mem br i1 %28, label LBL_3, label LBL_5 LBL_3: %29 = add i64 %18, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 store i32 %31, i32* %sv_1.02.reg2mem store i32 0, i32* %sv_0.11.reg2mem br label LBL_4 LBL_4: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %32 = call i64 @FUNC(i64* nonnull %sv_3) %33 = call i64 @FUNC(i64* nonnull %sv_3) %34 = trunc i64 %33 to i32 %35 = call i64 @FUNC(i64* nonnull %sv_3) %36 = trunc i64 %35 to i32 %37 = call i64 @FUNC(i64* nonnull %sv_3) %38 = trunc i64 %37 to i32 %39 = mul i32 %38, 16777216 %40 = or i32 %39, %36 %41 = icmp eq i32 %sv_0.11.reload, 0 %42 = icmp eq i1 %41, false %spec.select = select i1 %42, i32 %sv_0.11.reload, i32 %40 %43 = sub i32 %40, %spec.select %44 = add i32 %43, %sv_1.02.reload %45 = and i64 %32, 4294967295 %46 = call i64 @FUNC(i64* nonnull %sv_2, i64 %45) %47 = and i64 %33, 4294967295 %48 = call i64 @FUNC(i64* nonnull %sv_2, i64 %47) %49 = zext i32 %44 to i64 %50 = call i64 @FUNC(i64* nonnull %sv_2, i64 %49) %51 = udiv i32 %44, 16777216 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64* nonnull %sv_2, i64 %52) %54 = add i32 %34, 7 %55 = load i64, i64* %sv_3, align 8 %56 = load i64, i64* %sv_2, align 8 %57 = inttoptr i64 %56 to i64* %58 = inttoptr i64 %55 to i64* %59 = call i64* @memcpy(i64* %57, i64* %58, i32 %54) %60 = load i64, i64* %sv_3, align 8 %61 = add i64 %33, 7 %62 = and i64 %61, 4294967295 %63 = add i64 %60, %62 store i64 %63, i64* %sv_3, align 8 %64 = load i64, i64* %sv_2, align 8 %65 = add i64 %64, %62 store i64 %65, i64* %sv_2, align 8 %66 = load i64, i64* %20, align 8 %67 = sub i64 %63, %66 %68 = icmp slt i64 %67, %27 store i32 %44, i32* %sv_1.02.reg2mem store i32 %40, i32* %sv_0.11.reg2mem store i64 %65, i64* %.reg2mem store i64 %55, i64* %rcx.0.lcssa.reg2mem store i64 %56, i64* %rdi.0.lcssa.reg2mem br i1 %68, label LBL_4, label LBL_5 LBL_5: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %.reload = load i64, i64* %.reg2mem %69 = load i32, i32* %8, align 4 %70 = sext i32 %69 to i64 %71 = add i64 %rdi.0.lcssa.reload, %70 %72 = icmp eq i64 %71, %.reload store i64 0, i64* %storemerge.reg2mem br i1 %72, label LBL_7, label LBL_6 LBL_6: %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %73 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) %74 = load i64, i64* %sv_2, align 8 %75 = trunc i64 %74 to i32 store i32 %75, i32* %8, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %40, { 0, 2, 1 } uselistorder i64 %27, { 1, 0 } uselistorder i64* %20, { 1, 0, 2 } uselistorder i32* %8, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 4, 5, 6, 0, 1, 2, 3, 7 } uselistorder i64* %sv_2, { 4, 5, 6, 7, 0, 1, 2, 3, 8 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @bytestream_put_be24, { 1, 0 } uselistorder i64 (i64*, i64)* @bytestream_put_byte, { 1, 0 } uselistorder i32 16777216, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_be24, { 1, 0 } uselistorder i64 (i64*)* @bytestream_get_byte, { 1, 0 } uselistorder i32 0, { 2, 0, 1, 3, 4 } uselistorder i64 4294967295, { 2, 3, 4, 0, 5, 1, 6 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
1