dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | btrfs_destroy_workqueue_18501 | btrfs_destroy_workqueue | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
store i64 %5, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 (i64)* @__btrfs_destroy_workqueue, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ac3_probe_1085 | ac3_probe | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.lcssa1819.reg2mem = alloca i32
%sv_1.18.reg2mem = alloca i32
%sv_0.09.reg2mem = alloca i32
%sv_2.010.reg2mem = alloca i64
%storemerge.lcssa.reg2mem = alloca i32
%sv_3.03.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_4 = alloca i32, align 4
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp sgt i32 %3, 6
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_10
LBL_1:
%5 = icmp sgt i32 %3, 4103
%6 = add i32 %3, -7
%narrow = select i1 %5, i32 4096, i32 %6
%storemerge2 = sext i32 %narrow to i64
%7 = add i64 %storemerge2, %0
%8 = icmp ugt i64 %7, %0
store i32 0, i32* %sv_0.0.lcssa1819.reg2mem
br i1 %8, label LBL_2, label LBL_9
LBL_2:
%9 = bitcast i32* %sv_4 to i64*
store i64 %0, i64* %sv_2.010.reg2mem
store i32 0, i32* %sv_0.09.reg2mem
store i32 0, i32* %sv_1.18.reg2mem
br label LBL_3.lr.ph
LBL_3:
%sv_3.03.reload = load i64, i64* %sv_3.03.reg2mem
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%10 = call i64 @FUNC(i64 %sv_3.03.reload, i64* nonnull %9)
%11 = trunc i64 %10 to i32
%12 = icmp slt i32 %11, 0
store i32 %storemerge4.reload, i32* %storemerge.lcssa.reg2mem
br i1 %12, label LBL_5, label LBL_4
LBL_4:
%13 = load i32, i32* %sv_4, align 4
%14 = sext i32 %13 to i64
%15 = add i64 %sv_3.03.reload, %14
%16 = add i32 %storemerge4.reload, 1
%17 = icmp ult i64 %15, %7
store i32 %16, i32* %storemerge4.reg2mem
store i64 %15, i64* %sv_3.03.reg2mem
store i32 %16, i32* %storemerge.lcssa.reg2mem
br i1 %17, label LBL_3, label LBL_5
LBL_5:
%storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem
%18 = sub i32 %sv_0.09.reload, %storemerge.lcssa.reload
%19 = xor i32 %storemerge.lcssa.reload, %sv_0.09.reload
%20 = xor i32 %18, %sv_0.09.reload
%21 = and i32 %20, %19
%22 = icmp slt i32 %21, 0
%23 = icmp slt i32 %18, 0
%24 = icmp eq i1 %23, %22
%25 = select i1 %24, i32 %sv_0.09.reload, i32 %storemerge.lcssa.reload
%26 = icmp eq i64 %sv_2.010.reload, %sv_3.03.reload
%27 = icmp eq i1 %26, false
%spec.select = select i1 %27, i32 %sv_1.18.reload, i32 %storemerge.lcssa.reload
%28 = add nuw i64 %sv_2.010.reload, 1
%29 = icmp ult i64 %28, %7
store i64 %28, i64* %sv_2.010.reg2mem
store i32 %25, i32* %sv_0.09.reg2mem
store i32 %spec.select, i32* %sv_1.18.reg2mem
br i1 %29, label LBL_3.lr.ph, label LBL_7
LBL_6:
%sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem
%sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem
%sv_2.010.reload = load i64, i64* %sv_2.010.reg2mem
store i32 0, i32* %storemerge4.reg2mem
store i64 %sv_2.010.reload, i64* %sv_3.03.reg2mem
br label LBL_3
LBL_7:
%phitmp = icmp slt i32 %spec.select, 3
store i64 75, i64* %rax.0.reg2mem
br i1 %phitmp, label LBL_8, label LBL_10
LBL_8:
%30 = icmp slt i32 %25, 3
store i32 %25, i32* %sv_0.0.lcssa1819.reg2mem
store i64 50, i64* %rax.0.reg2mem
br i1 %30, label LBL_9, label LBL_10
LBL_9:
%sv_0.0.lcssa1819.reload = load i32, i32* %sv_0.0.lcssa1819.reg2mem
%31 = icmp sgt i32 %sv_0.0.lcssa1819.reload, 0
%. = zext i1 %31 to i64
store i64 %., i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_2.010.reload, { 2, 0, 1 }
uselistorder i32 %sv_0.09.reload, { 0, 2, 3, 1 }
uselistorder i32 %spec.select, { 1, 0 }
uselistorder i32 %25, { 0, 2, 1 }
uselistorder i32 %18, { 1, 0 }
uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 3, 1 }
uselistorder i32 %storemerge4.reload, { 1, 0 }
uselistorder i64 %sv_3.03.reload, { 2, 1, 0 }
uselistorder i64 %7, { 2, 1, 0 }
uselistorder i32 %3, { 1, 0, 2 }
uselistorder i64 %0, { 0, 2, 1, 3 }
uselistorder i32* %storemerge4.reg2mem, { 2, 1, 0 }
uselistorder i64* %sv_3.03.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.0.lcssa1819.reg2mem, { 0, 2, 1 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 0, { 4, 3, 5, 6, 7, 1, 2, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 0 |
BinRealVul | init_entropy_decoder_15156 | init_entropy_decoder | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 32
%2 = call i64 @FUNC(i64 %1)
%3 = trunc i64 %2 to i32
%4 = bitcast i64* %arg1 to i32*
store i32 %3, i32* %4, align 4
%5 = add i64 %0, 4
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %0, 28
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp ult i32 %9, 3821
br i1 %10, label LBL_3, label LBL_1
LBL_1:
%11 = bitcast i64* %rdi to i32*
%12 = load i32, i32* %11, align 8
%13 = icmp slt i32 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = urem i32 %12, -2147483648
store i32 %15, i32* %4, align 4
%16 = call i64 @FUNC(i64 %1)
%17 = trunc i64 %16 to i32
store i32 %17, i32* %6, align 4
br label LBL_3
LBL_3:
%18 = add i64 %0, 8
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %19, align 4
%20 = add i64 %0, 12
%21 = inttoptr i64 %20 to i32*
store i32 10, i32* %21, align 4
%22 = add i64 %0, 16
%23 = inttoptr i64 %22 to i32*
store i32 16384, i32* %23, align 4
%24 = add i64 %0, 20
%25 = inttoptr i64 %24 to i32*
store i32 10, i32* %25, align 4
%26 = add i64 %0, 24
%27 = inttoptr i64 %26 to i32*
store i32 16384, i32* %27, align 4
%28 = inttoptr i64 %1 to i64*
%29 = load i64, i64* %28, align 8
%30 = add i64 %29, 1
store i64 %30, i64* %28, align 8
%31 = call i64 @FUNC(i64 %0)
ret i64 %31
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 (i64)* @bytestream_get_be32, { 1, 0 }
} | 1 |
BinRealVul | ff_ivi_output_plane_2735 | ff_ivi_output_plane | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%sv_1.05.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i32
%.reg2mem18 = alloca i32
%.reg2mem16 = alloca i32
%.reg2mem14 = alloca i32
%.reg2mem12 = alloca i32
%storemerge12.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 = zext i32 %3 to i64
%5 = icmp eq i64* %arg1, null
store i64 %4, i64* %rax.0.reg2mem
br i1 %5, label LBL_7, label LBL_1
LBL_1:
%6 = add i64 %0, 20
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_7, label LBL_2
LBL_2:
%10 = ptrtoint i64* %arg2 to i64
%11 = add i64 %0, 16
%12 = inttoptr i64 %11 to i32*
%13 = mul i64 %4, 2
%14 = sext i32 %arg3 to i64
%.pre = load i32, i32* %12, align 4
store i32 %8, i32* %.reg2mem16
store i32 %.pre, i32* %.reg2mem18
store i32 0, i32* %storemerge7.reg2mem
store i64 %0, i64* %sv_1.05.reg2mem
store i64 %10, i64* %sv_0.03.reg2mem
br label LBL_6
LBL_3:
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%.reload = load i64, i64* %.reg2mem
%15 = mul i64 %.reload, 2
%16 = add i64 %15, %sv_1.05.reload
%17 = inttoptr i64 %16 to i16*
%18 = load i16, i16* %17, align 2
%19 = sext i16 %18 to i64
%20 = add nsw i64 %19, 128
%21 = add i64 %.reload, %sv_0.03.reload
%22 = and i64 %20, 4294967295
%23 = call i64 @FUNC(i64 %22)
%24 = trunc i64 %23 to i8
%25 = inttoptr i64 %21 to i8*
store i8 %24, i8* %25, align 1
%26 = add i32 %storemerge12.reload, 1
%27 = load i32, i32* %12, align 4
%28 = zext i32 %27 to i64
%29 = sext i32 %26 to i64
%30 = icmp slt i64 %29, %28
store i64 %29, i64* %.reg2mem
store i32 %26, i32* %storemerge12.reg2mem
br i1 %30, label LBL_3, label LBL_4
LBL_4:
%.pre9 = load i32, i32* %7, align 4
store i32 %.pre9, i32* %.reg2mem12
store i32 %27, i32* %.reg2mem14
br label LBL_5
LBL_5:
%.reload15 = load i32, i32* %.reg2mem14
%.reload13 = load i32, i32* %.reg2mem12
%31 = add i64 %sv_1.05.reload, %13
%32 = add i64 %sv_0.03.reload, %14
%33 = add i32 %storemerge7.reload, 1
%34 = zext i32 %.reload13 to i64
%35 = sext i32 %33 to i64
%36 = icmp slt i64 %35, %34
store i32 %.reload13, i32* %.reg2mem16
store i32 %.reload15, i32* %.reg2mem18
store i32 %33, i32* %storemerge7.reg2mem
store i64 %31, i64* %sv_1.05.reg2mem
store i64 %32, i64* %sv_0.03.reg2mem
store i64 %34, i64* %rax.0.reg2mem
br i1 %36, label LBL_6, label LBL_7
LBL_6:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem
%storemerge7.reload = load i32, i32* %storemerge7.reg2mem
%.reload19 = load i32, i32* %.reg2mem18
%.reload17 = load i32, i32* %.reg2mem16
%37 = icmp eq i32 %.reload19, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge12.reg2mem
store i32 %.reload17, i32* %.reg2mem12
store i32 0, i32* %.reg2mem14
br i1 %37, label LBL_5, label LBL_3
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %12, { 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 2, 0 }
uselistorder i32* %storemerge12.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem12, { 2, 0, 1 }
uselistorder i32* %.reg2mem14, { 2, 0, 1 }
uselistorder i64 4294967295, { 1, 0, 2 }
uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | addrrange_intersection_2933 | addrrange_intersection | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%storemerge.in.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1, i64 %arg2)
%1 = call i64 @FUNC(i64 %arg3, i64 %arg4)
%2 = icmp slt i64 %0, %1
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = call i64 @FUNC(i64 %arg1, i64 %arg2)
store i64 %3, i64* %storemerge.in.reg2mem
br label LBL_3
LBL_2:
%4 = call i64 @FUNC(i64 %arg3, i64 %arg4)
store i64 %4, i64* %storemerge.in.reg2mem
br label LBL_3
LBL_3:
%5 = sub i64 %arg3, %arg1
%6 = xor i64 %arg3, %arg1
%7 = xor i64 %5, %arg3
%8 = and i64 %7, %6
%9 = icmp slt i64 %8, 0
%10 = icmp slt i64 %5, 0
%11 = icmp eq i1 %10, %9
%12 = select i1 %11, i64 %arg3, i64 %arg1
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%13 = sub i64 %storemerge.in.reload, %12
%14 = call i64 @FUNC(i64 %12, i64 %13)
ret i64 %14
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @addrrange_end, { 3, 2, 1, 0 }
uselistorder i64 %arg3, { 4, 0, 1, 5, 2, 3 }
uselistorder i64 %arg1, { 4, 0, 3, 1, 2 }
} | 0 |
BinRealVul | gen_b_596 | gen_b | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = add i64 %0, 20
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = urem i32 %4, 4194304
%6 = zext i32 %5 to i64
%7 = and i32 %4, 67108864
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
%.pre3 = add i64 %0, 8
%.pre = inttoptr i64 %.pre3 to i64*
store i64 %6, i64* %storemerge.reg2mem
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = load i64, i64* %.pre, align 8
%11 = add nsw i64 %6, -4
%12 = add i64 %11, %10
store i64 %12, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%13 = icmp slt i32 %4, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_4, label LBL_3
LBL_3:
%15 = load i64, i64* %.pre, align 8
%16 = call i64 @FUNC(i64 %0, i64 %15)
br label LBL_4
LBL_4:
%17 = load i64, i64* %.pre, align 8
%18 = call i64 @FUNC(i64 %0, i64 %17)
%19 = call i64 @FUNC(i64 %0, i64 0, i64 %storemerge.reload)
ret i64 %19
uselistorder i64 %6, { 1, 0 }
uselistorder i32 %4, { 1, 2, 0 }
uselistorder i64 %0, { 2, 1, 3, 0, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | cdrom_mrw_bgformat_susp_8222 | cdrom_mrw_bgformat_susp | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 0, i64 0)
ret i64 %0
} | 0 |
BinRealVul | cJSON_GetArraySize_11143 | cJSON_GetArraySize | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%sv_1.0.in.in.reg2mem = alloca i64
%0 = add i64 %arg1, 8
store i64 %0, i64* %sv_1.0.in.in.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.in.in.reload = load i64, i64* %sv_1.0.in.in.reg2mem
%sv_1.0.in = inttoptr i64 %sv_1.0.in.in.reload to i64*
%sv_1.0 = load i64, i64* %sv_1.0.in, align 8
%1 = icmp eq i64 %sv_1.0, 0
%2 = icmp eq i1 %1, false
%3 = add i32 %sv_0.0.reload, 1
store i64 %sv_1.0, i64* %sv_1.0.in.in.reg2mem
store i32 %3, i32* %sv_0.0.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_2:
%4 = zext i32 %sv_0.0.reload to i64
ret i64 %4
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64* %sv_1.0.in.in.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i32 1, { 2, 1, 0 }
} | 1 |
BinRealVul | jas_iccprof_puttagtab_8983 | jas_iccprof_puttagtab | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge2.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967295, i64* %storemerge2.reg2mem
br i1 %7, label LBL_6, label LBL_1
LBL_1:
%8 = trunc i64 %1 to i32
%9 = ptrtoint i32* %arg2 to i64
%10 = add i64 %9, 8
%11 = inttoptr i64 %10 to i64*
%12 = icmp eq i32 %8, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
store i64 0, i64* %storemerge2.reg2mem
br i1 %12, label LBL_6, label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
%13 = load i64, i64* %11, align 8
%14 = mul nsw i64 %.reload, 12
%15 = add i64 %13, %14
%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 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
store i64 4294967295, i64* %storemerge2.reg2mem
br i1 %22, label LBL_6, label LBL_3
LBL_3:
%23 = add i64 %15, 4
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = zext i32 %25 to i64
%27 = call i64 @FUNC(i64 %2, i64 %26)
%28 = trunc i64 %27 to i32
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
store i64 4294967295, i64* %storemerge2.reg2mem
br i1 %30, label LBL_6, label LBL_4
LBL_4:
%31 = add i64 %15, 8
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = zext i32 %33 to i64
%35 = call i64 @FUNC(i64 %2, i64 %34)
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
store i64 4294967295, i64* %storemerge2.reg2mem
br i1 %38, label LBL_6, label LBL_5
LBL_5:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%39 = add i32 %storemerge3.reload, 1
%40 = sext i32 %39 to i64
%41 = icmp sgt i64 %3, %40
store i64 %40, i64* %.reg2mem
store i32 %39, i32* %storemerge3.reg2mem
store i64 0, i64* %storemerge2.reg2mem
br i1 %41, label LBL_2, label LBL_6
LBL_6:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
ret i64 %storemerge2.reload
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge2.reg2mem, { 0, 1, 4, 3, 2, 5, 6 }
uselistorder i64 (i64, i64)* @jas_iccputuint32, { 3, 2, 1, 0 }
uselistorder i64 4294967295, { 2, 1, 0, 3, 4 }
uselistorder label LBL_6, { 0, 3, 2, 1, 4, 5 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | snd_timer_start_slave_6199 | snd_timer_start_slave | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2)
store i64 or (i64 ptrtoint (i64* @gv_0 to i64), i64 1), i64* %arg1, align 8
%4 = add i64 %1, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_3, label LBL_1
LBL_1:
%8 = add i64 %1, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %10)
%13 = load i64, i64* %5, align 8
%14 = add i64 %1, 24
%15 = call i64 @FUNC(i64 %14, i64 %13)
%16 = load i64, i64* %9, align 8
%17 = call i64 @FUNC(i64 %16)
br label LBL_3
LBL_3:
%18 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2)
ret i64 1
uselistorder i64 %2, { 1, 0 }
uselistorder i64* @gv_0, { 0, 2, 1 }
} | 0 |
BinRealVul | gf_xml_sax_parse_intern_7264 | gf_xml_sax_parse_intern | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.0.be.reg2mem = alloca i64
%sv_0.011.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i32, align 4
%1 = add i64 %0, 24
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem
br i1 %7, label LBL_1, label LBL_19
LBL_1:
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i32*
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i64*
%12 = bitcast i32* %sv_2 to i64*
%13 = add i64 %0, 4
%14 = inttoptr i64 %13 to i32*
%15 = bitcast i64* %rdi to i32*
%16 = bitcast i64* %arg1 to i32*
store i64 %arg2, i64* %sv_0.011.reg2mem
br label LBL_2
LBL_2:
%sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem
%17 = inttoptr i64 %sv_0.011.reload to i8*
%18 = call i8* @strchr(i8* %17, i32 38)
%19 = load i32, i32* %9, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_11, label LBL_3
LBL_3:
%21 = call i8* @strchr(i8* %17, i32 59)
%22 = icmp eq i8* %21, null
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%24 = call i64 @FUNC(i64 %0, i64 %sv_0.011.reload)
store i64 %24, i64* %rax.0.reg2mem
br label LBL_20
LBL_5:
%25 = load i64, i64* %11, align 8
%26 = inttoptr i64 %25 to i8*
%27 = call i8* @strrchr(i8* %26, i32 38)
%28 = ptrtoint i8* %27 to i64
store i8 0, i8* %21, align 1
%29 = call i32 @strlen(i8* %27)
%30 = call i32 @strlen(i8* %17)
%31 = add i32 %29, 1
%32 = add i32 %31, %30
%33 = zext i32 %32 to i64
%34 = call i64 @FUNC(i64 %33)
%35 = add i64 %28, 1
%36 = inttoptr i64 %34 to i8*
%37 = inttoptr i64 %35 to i8*
%38 = call i32 (i8*, i8*, ...) @sprintf(i8* %36, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* %37, i8* %17)
%39 = call i64 @FUNC(i64 %0, i64 %34, i64* nonnull %12)
%40 = call i64 @FUNC(i64 %34)
%41 = icmp eq i64 %39, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_10, label LBL_6
LBL_6:
%43 = load i32, i32* %sv_2, align 4
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_9, label LBL_7
LBL_7:
%46 = call i64 @FUNC(i64 %0, i64 %sv_0.011.reload)
%47 = call i64 @FUNC(i64 %0, i64 1)
store i8 59, i8* %21, align 1
%48 = ptrtoint i8* %21 to i64
store i32 0, i32* %9, align 4
store i64 %48, i64* %sv_0.0.be.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem
store i64 %sv_0.0.be.reload, i64* %sv_0.011.reg2mem
br label LBL_2
LBL_9:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0))
br label LBL_10
LBL_10:
%49 = load i32, i32* %14, align 4
%50 = call i32 @strlen(i8* %27)
%51 = sub i32 %49, %50
store i32 %51, i32* %14, align 4
store i8 0, i8* %27, align 1
store i32 0, i32* %9, align 4
store i8 59, i8* %21, align 1
%52 = ptrtoint i8* %21 to i64
%53 = add i64 %52, 1
store i64 %39, i64* %sv_1.0.reg2mem
store i64 %53, i64* %storemerge.reg2mem
br label LBL_17
LBL_11:
%54 = icmp eq i8* %18, null
store i64 %sv_0.011.reload, i64* %sv_0.0.lcssa.reg2mem
br i1 %54, label LBL_19, label LBL_12
LBL_12:
%55 = ptrtoint i8* %18 to i64
%56 = add i64 %55, 1
%57 = call i64 @FUNC(i64 %0, i64 %56, i64* nonnull %12)
store i8 0, i8* %18, align 1
%58 = call i64 @FUNC(i64 %0, i64 %sv_0.011.reload)
%59 = call i64 @FUNC(i64 %0, i64 1)
store i8 38, i8* %18, align 1
%60 = icmp eq i64 %57, 0
%61 = icmp eq i1 %60, false
br i1 %61, label LBL_16, label LBL_13
LBL_13:
%62 = load i32, i32* %sv_2, align 4
%63 = icmp eq i32 %62, 0
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_15, label LBL_14
LBL_14:
%65 = call i64 @FUNC(i64 %0, i64 ptrtoint (i64* @gv_4 to i64))
store i64 %56, i64* %sv_0.0.be.reg2mem
br label LBL_8
LBL_15:
store i32 1, i32* %9, align 4
%66 = call i64 @FUNC(i64 %0, i64 %55)
store i64 %66, i64* %rax.0.reg2mem
br label LBL_20
LBL_16:
%67 = add i64 %57, 8
%68 = inttoptr i64 %67 to i32*
%69 = load i32, i32* %68, align 4
%70 = zext i32 %69 to i64
%71 = add i64 %55, 2
%72 = add i64 %71, %70
store i64 %57, i64* %sv_1.0.reg2mem
store i64 %72, i64* %storemerge.reg2mem
br label LBL_17
LBL_17:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%73 = load i32, i32* %15, align 8
%74 = inttoptr i64 %sv_1.0.reload to i64*
%75 = load i64, i64* %74, align 8
%76 = call i64 @FUNC(i64 %0, i64 %75)
%77 = call i64 @FUNC(i64 %0, i64 1)
%78 = trunc i64 %77 to i32
store i32 %73, i32* %16, align 4
%79 = icmp eq i32 %78, 0
store i64 %storemerge.reload, i64* %sv_0.0.be.reg2mem
br i1 %79, label LBL_8, label LBL_18
LBL_18:
%80 = and i64 %77, 4294967295
store i64 %80, i64* %rax.0.reg2mem
br label LBL_20
LBL_19:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%81 = call i64 @FUNC(i64 %0, i64 %sv_0.0.lcssa.reload)
%82 = call i64 @FUNC(i64 %0, i64 0)
store i64 %82, 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 %55, { 1, 0, 2 }
uselistorder i8* %21, { 3, 2, 1, 0, 4, 5 }
uselistorder i64 %sv_0.011.reload, { 2, 0, 1, 4, 3 }
uselistorder i32* %9, { 0, 2, 1, 3 }
uselistorder i32* %sv_2, { 1, 0, 2 }
uselistorder i64 %0, { 12, 13, 8, 9, 7, 6, 10, 11, 15, 1, 2, 4, 0, 3, 5, 14, 16 }
uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64, i64)* @xml_sax_parse, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64*)* @gf_xml_locate_entity, { 1, 0 }
uselistorder i64 1, { 1, 2, 4, 5, 3, 6, 0 }
uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @xml_sax_append_string, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_8, { 2, 1, 0 }
} | 0 |
BinRealVul | get_registers_12702 | get_registers | define i64 @FUNC(i64* %arg1, i16 %arg2, i16 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%.pre-phi.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = and i64 %1, 4294967295
%3 = zext i16 %arg2 to i64
%4 = call i64 @FUNC(i64 %0, i64 %2, i64 0, i64 0, i64 0, i64 %3, i64 %arg4)
%5 = trunc i64 %4 to i32
%6 = icmp slt i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_0.LBL_3_crit_edge, label LBL_2
LBL_1:
%.pre = and i64 %4, 4294967295
store i64 %.pre, i64* %.pre-phi.reg2mem
br label LBL_3
LBL_2:
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = and i64 %4, 4294967295
%12 = call i64 @FUNC(i64 %0, i64 0, i64 %10, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %11)
store i64 %11, i64* %.pre-phi.reg2mem
br label LBL_3
LBL_3:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
ret i64 %.pre-phi.reload
uselistorder i64 %4, { 1, 0, 2 }
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | crypto_register_rng_10679 | crypto_register_rng | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp ult i64 %3, 513
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8
%5 = add i64 %0, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = and i32 %7, -16
%9 = or i32 %8, 1
store i32 %9, i32* %6, align 4
%10 = call i64 @FUNC(i64 %0)
store i64 %10, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | container_get_1880 | container_get | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%sv_2.02.reg2mem = alloca i32
%.reg2mem3 = alloca i64*
%.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_0, i64 0)
%1 = icmp eq i64 %0, 0
br i1 %1, label LBL_3, label LBL_1
LBL_1:
%2 = inttoptr i64 %0 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_3, label LBL_2
LBL_2:
%5 = inttoptr i64 %3 to i8*
%6 = load i8, i8* %5, align 1
%7 = icmp eq i8 %6, 0
br i1 %7, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))
br label LBL_4
LBL_4:
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
store i64 %10, i64* %.reg2mem
store i64* %9, i64** %.reg2mem3
store i32 1, i32* %sv_2.02.reg2mem
store i64 %arg1, i64* %sv_0.01.reg2mem
store i64 %arg1, i64* %sv_0.0.lcssa.reg2mem
br i1 %12, label LBL_5, label LBL_8
LBL_5:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%sv_2.02.reload = load i32, i32* %sv_2.02.reg2mem
%.reload = load i64, i64* %.reg2mem
%13 = call i64 @FUNC(i64 %sv_0.01.reload, i64 %.reload)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
store i64 %13, i64* %sv_1.0.reg2mem
br i1 %15, label LBL_7, label LBL_6
LBL_6:
%.reload4 = load i64*, i64** %.reg2mem3
%16 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0))
%17 = load i64, i64* %.reload4, align 8
%18 = call i64 @FUNC(i64 %sv_0.01.reload, i64 %17, i64 %16, i64 0)
%19 = call i64 @FUNC(i64 %16)
store i64 %16, i64* %sv_1.0.reg2mem
br label LBL_7
LBL_7:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%20 = add i32 %sv_2.02.reload, 1
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = add i64 %22, %0
%24 = inttoptr i64 %23 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* %.reg2mem
store i64* %24, i64** %.reg2mem3
store i32 %20, i32* %sv_2.02.reg2mem
store i64 %sv_1.0.reload, i64* %sv_0.01.reg2mem
store i64 %sv_1.0.reload, i64* %sv_0.0.lcssa.reg2mem
br i1 %27, label LBL_5, label LBL_8
LBL_8:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%28 = call i64 @FUNC(i64 %0)
ret i64 %sv_0.0.lcssa.reload
uselistorder i64 %0, { 2, 0, 1, 3, 4 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64** %.reg2mem3, { 2, 0, 1 }
uselistorder i32* %sv_2.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 3, 2, 0, 4, 1 }
uselistorder i64 8, { 0, 3, 1, 2 }
uselistorder i32 1, { 13, 4, 7, 6, 5, 3, 2, 1, 0, 14, 9, 8, 12, 11, 10 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | seek_to_sector_14727 | seek_to_sector | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = mul i64 %arg2, 512
%5 = inttoptr i64 %3 to i32*
%6 = load i32, i32* %5, align 4
%7 = sext i32 %6 to i64
%8 = udiv i64 %4, %7
%9 = add i64 %3, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = mul i64 %8, 4
%13 = add i64 %12, %11
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, -1
%17 = icmp eq i1 %16, false
store i64 -1, i64* %rax.0.reg2mem
br i1 %17, label LBL_1, label LBL_4
LBL_1:
%18 = urem i64 %4, %7
%19 = add i64 %18, 511
%20 = icmp slt i64 %18, 0
%21 = select i1 %20, i64 %19, i64 %18
%22 = udiv i64 %21, 512
%23 = add i64 %3, 24
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = add i64 %3, 4
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = add i64 %3, 8
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = add i32 %31, %28
%33 = mul i32 %15, 512
%34 = mul i32 %33, %32
%35 = zext i32 %34 to i64
%36 = add i64 %25, %35
%sext3 = mul i64 %22, 4294967296
%37 = ashr exact i64 %sext3, 32
%38 = sdiv i64 %37, 128
%39 = add i64 %36, %38
%40 = bitcast i32* %sv_0 to i64*
%41 = call i64 @FUNC(i64 %7, i64 %39, i64* nonnull %40, i64 1)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 1
store i64 -1, i64* %rax.0.reg2mem
br i1 %43, label LBL_2, label LBL_4
LBL_2:
%44 = trunc i64 %22 to i32
%45 = load i32, i32* %sv_0, align 4
%46 = zext i32 %45 to i64
%sext = mul i64 %46, 72057594037927936
%47 = ashr exact i64 %sext, 56
%48 = urem i32 %44, 8
%49 = icmp eq i32 %48, 0
%50 = trunc i64 %47 to i32
%51 = lshr i32 %50, %48
%52 = zext i32 %51 to i64
%rdx.0 = select i1 %49, i64 %47, i64 %52
%53 = urem i64 %rdx.0, 2
%54 = icmp eq i64 %53, 0
%55 = icmp eq i1 %54, false
store i64 -1, i64* %rax.0.reg2mem
br i1 %55, label LBL_3, label LBL_4
LBL_3:
%56 = load i32, i32* %30, align 4
%57 = sext i32 %56 to i64
%58 = add nsw i64 %37, %57
%59 = mul i64 %58, 512
%60 = add i64 %59, %36
store i64 %60, 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 %48, { 1, 0 }
uselistorder i64 %37, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %18, { 2, 1, 0 }
uselistorder i64 %7, { 2, 0, 1 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %3, { 1, 2, 0, 3, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 512, { 0, 2, 1 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
} | 1 |
BinRealVul | sixel_output_create_12114 | sixel_output_create | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 560, i64 1)
%2 = inttoptr i64 %1 to i32*
store i32 0, i32* %2, align 4
%3 = add i64 %1, 4
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %1, 8
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %1, 12
%8 = inttoptr i64 %7 to i32*
store i32 -1, i32* %8, align 4
%9 = add i64 %1, 16
%10 = inttoptr i64 %9 to i64*
store i64 0, i64* %10, align 8
%11 = add i64 %1, 24
%12 = inttoptr i64 %11 to i64*
store i64 0, i64* %12, align 8
%13 = add i64 %1, 32
%14 = inttoptr i64 %13 to i64*
store i64 %0, i64* %14, align 8
%15 = add i64 %1, 40
%16 = inttoptr i64 %15 to i64*
store i64 0, i64* %16, align 8
ret i64 %1
} | 1 |
BinRealVul | fetch_uidl_11361 | fetch_uidl | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%.pre-phi21.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i64
%storemerge5.lcssa.reg2mem = alloca i32
%storemerge58.reg2mem = alloca i32
%.reg2mem25 = alloca i64
%.lcssa7.reg2mem = alloca i8*
%.reg2mem = alloca i8*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i8*, align 8
%4 = ptrtoint i32* %arg2 to i64
%5 = add i64 %4, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
store i8* null, i8** %sv_0, align 8
%8 = call i32* @__errno_location()
store i32 0, i32* %8, align 4
%9 = bitcast i64* %arg1 to i8*
%10 = call i32 @strtol(i8* %9, i8** nonnull %sv_0, i32 10)
%11 = call i32* @__errno_location()
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %13, label LBL_1, label LBL_14
LBL_1:
%14 = load i8*, i8** %sv_0, align 8
%15 = load i8, i8* %14, align 1
%16 = icmp eq i8 %15, 32
store i8* %14, i8** %.reg2mem
store i8* %14, i8** %.lcssa7.reg2mem
br i1 %16, label LBL_2, label LBL_3
LBL_2:
%.reload = load i8*, i8** %.reg2mem
%17 = ptrtoint i8* %.reload to i64
%18 = add i64 %17, 1
%19 = inttoptr i64 %18 to i8*
store i8* %19, i8** %sv_0, align 8
%20 = load i8, i8* %19, align 1
%21 = icmp eq i8 %20, 32
store i8* %19, i8** %.reg2mem
store i8* %19, i8** %.lcssa7.reg2mem
br i1 %21, label LBL_2, label LBL_3
LBL_3:
%22 = ptrtoint i64* %arg1 to i64
%23 = trunc i64 %3 to i32
%.lcssa7.reload = load i8*, i8** %.lcssa7.reg2mem
%24 = call i32 @strlen(i8* %.lcssa7.reload)
%25 = add i32 %24, 1
%26 = load i8*, i8** %sv_0, align 8
%27 = bitcast i8* %26 to i64*
%28 = call i64* @memmove(i64* %arg1, i64* %27, i32 %25)
%29 = add i64 %4, 8
%30 = inttoptr i64 %29 to i64*
%31 = icmp eq i32 %23, 0
store i32 0, i32* %storemerge5.lcssa.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %31, label LBL_7, label LBL_4
LBL_4:
%32 = and i64 %3, 4294967295
store i64 0, i64* %.reg2mem25
store i32 0, i32* %storemerge58.reg2mem
br label LBL_5
LBL_5:
%storemerge58.reload = load i32, i32* %storemerge58.reg2mem
%.reload26 = load i64, i64* %.reg2mem25
%33 = load i64, i64* %30, align 8
%34 = mul i64 %.reload26, 8
%35 = add i64 %33, %34
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %22, i64 %39)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
store i32 %storemerge58.reload, i32* %storemerge5.lcssa.reg2mem
store i64 %.reload26, i64* %.lcssa.reg2mem
br i1 %42, label LBL_7, label LBL_6
LBL_6:
%43 = add i32 %storemerge58.reload, 1
%44 = sext i32 %43 to i64
%45 = icmp sgt i64 %32, %44
store i64 %44, i64* %.reg2mem25
store i32 %43, i32* %storemerge58.reg2mem
store i32 %43, i32* %storemerge5.lcssa.reg2mem
store i64 %44, i64* %.lcssa.reg2mem
br i1 %45, label LBL_5, label LBL_7
LBL_7:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem
%46 = icmp eq i32 %storemerge5.lcssa.reload, %23
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_11, label LBL_8
LBL_8:
%48 = zext i32 %10 to i64
%49 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %48, i64 %22, i64 %2, i64 %1)
%50 = add i64 %4, 4
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = zext i32 %52 to i64
%54 = icmp slt i64 %.lcssa.reload, %53
br i1 %54, label LBL_10, label LBL_9
LBL_9:
%55 = call i64 @FUNC(i64 %4)
br label LBL_10
LBL_10:
%56 = add i32 %23, 1
store i32 %56, i32* %arg2, align 4
%57 = load i64, i64* %30, align 8
%58 = mul i64 %.lcssa.reload, 8
%59 = add i64 %57, %58
%60 = call i64 @FUNC()
%61 = inttoptr i64 %59 to i64*
store i64 %60, i64* %61, align 8
%62 = load i64, i64* %30, align 8
%63 = add i64 %62, %58
%64 = inttoptr i64 %63 to i64*
%65 = load i64, i64* %64, align 8
%66 = call i64 @FUNC(i64 %22)
%67 = inttoptr i64 %65 to i64*
store i64 %66, i64* %67, align 8
%.pre = add i32 %10, -1
store i32 %.pre, i32* %.pre-phi21.reg2mem
store i64 %58, i64* %.pre-phi.reg2mem
br label LBL_13
LBL_11:
%68 = load i64, i64* %30, align 8
%69 = mul i64 %.lcssa.reload, 8
%70 = add i64 %68, %69
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = add i64 %72, 12
%74 = inttoptr i64 %73 to i32*
%75 = load i32, i32* %74, align 4
%76 = add i32 %10, -1
%77 = icmp eq i32 %75, %76
store i32 %76, i32* %.pre-phi21.reg2mem
store i64 %69, i64* %.pre-phi.reg2mem
br i1 %77, label LBL_13, label LBL_12
LBL_12:
%78 = inttoptr i64 %7 to i32*
store i32 1, i32* %78, align 4
store i32 %76, i32* %.pre-phi21.reg2mem
store i64 %69, i64* %.pre-phi.reg2mem
br label LBL_13
LBL_13:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%.pre-phi21.reload = load i32, i32* %.pre-phi21.reg2mem
%79 = load i64, i64* %30, align 8
%80 = add i64 %79, %.pre-phi.reload
%81 = inttoptr i64 %80 to i64*
%82 = load i64, i64* %81, align 8
%83 = add i64 %82, 8
%84 = inttoptr i64 %83 to i32*
store i32 %10, i32* %84, align 4
%85 = load i64, i64* %30, align 8
%86 = add i64 %85, %.pre-phi.reload
%87 = inttoptr i64 %86 to i64*
%88 = load i64, i64* %87, align 8
%89 = add i64 %88, 12
%90 = inttoptr i64 %89 to i32*
store i32 %.pre-phi21.reload, i32* %90, align 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 i64 %.pre-phi.reload, { 1, 0 }
uselistorder i32 %76, { 1, 0, 2 }
uselistorder i64 %69, { 1, 0, 2 }
uselistorder i64 %58, { 0, 2, 1 }
uselistorder i64 %.lcssa.reload, { 2, 1, 0 }
uselistorder i32 %storemerge58.reload, { 1, 0 }
uselistorder i64* %30, { 1, 0, 2, 4, 3, 5 }
uselistorder i32 %10, { 2, 3, 0, 1 }
uselistorder i64 %4, { 1, 0, 2, 3 }
uselistorder i8** %sv_0, { 3, 2, 0, 4, 1 }
uselistorder i64 %3, { 1, 0 }
uselistorder i8** %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem25, { 2, 0, 1 }
uselistorder i32* %storemerge58.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %.pre-phi21.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder i8 32, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | openrisc_pic_cpu_handler_2778 | openrisc_pic_cpu_handler | define i64 @FUNC(i32* %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 i32* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = call i64 @FUNC(i64 %2)
%5 = icmp ugt i32 %3, 31
store i64 %4, i64* %rax.0.reg2mem
br i1 %5, label LBL_4, label LBL_1
LBL_1:
%6 = trunc i64 %1 to i32
%7 = urem i32 %3, 32
%8 = shl i32 1, %7
%9 = trunc i64 %arg3 to i32
%10 = icmp eq i32 %9, 0
%11 = or i32 %8, %6
%12 = sub i32 0, %8
%13 = sub i32 %12, 1
%14 = and i32 %6, %13
%storemerge = select i1 %10, i32 %14, i32 %11
store i32 %storemerge, i32* %arg1, align 4
%15 = add i64 %2, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = and i32 %17, %6
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_3, label LBL_2
LBL_2:
%20 = call i64 @FUNC(i64 %4, i64 1)
store i64 %20, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%21 = call i64 @FUNC(i64 %4, i64 1)
store i32 0, i32* %arg1, align 4
store i64 %2, 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 %6, { 1, 2, 0 }
uselistorder i64 %4, { 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %arg1, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | vp3_update_thread_context_5461 | vp3_update_thread_context | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg1, %arg2
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = ptrtoint i64* %arg2 to i64
%3 = call i64 @FUNC(i64 %1, i64 %2)
br label LBL_2
LBL_2:
ret i64 4294967295
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
BinRealVul | dlm_add_member_18800 | dlm_add_member | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 8, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 8, i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = and i64 %5, 4294967295
store i64 %9, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%10 = ptrtoint i64* %arg1 to i64
%11 = inttoptr i64 %0 to i32*
%12 = trunc i64 %3 to i32
store i32 %12, i32* %11, align 4
%13 = add i64 %0, 4
%14 = inttoptr i64 %13 to i32*
store i32 %6, i32* %14, align 4
%15 = call i64 @FUNC(i64 %10, i64 %0)
%16 = add i64 %10, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i32 %18, 1
store i32 %19, i32* %17, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %10, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 8, { 2, 0, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 1 |
BinRealVul | divider_get_val_18190 | divider_get_val | define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i8 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i32* %arg3 to i64
%1 = add i64 %arg1, -1
%2 = add i64 %1, %arg2
%3 = udiv i64 %2, %arg1
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %0, i64 %4, i64 %arg5)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_4
LBL_1:
%9 = call i64 @FUNC(i64 %0, i64 %4, i64 %arg5)
%10 = trunc i64 %9 to i32
%11 = zext i8 %arg4 to i64
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp ult i32 %10, %13
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = call i64 @FUNC(i64 %11)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%16 = and i64 %9, 4294967295
store i64 %16, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @div_mask, { 1, 0 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 1 |
BinRealVul | __qdisc_run_13072 | __qdisc_run | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
br label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 1
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_3, label LBL_2
LBL_2:
%5 = call i64 @FUNC(i64 %0)
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 1
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_1, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 0, i64 %0)
ret i64 %9
uselistorder i64 %0, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | __reiserfs_set_acl_10984 | __reiserfs_set_acl | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.06.reg2mem = alloca i64
%sv_0.05.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.03.reg2mem = alloca i64
%sv_3.04.reg2mem = alloca i8**
%sv_3.08.reg2mem = alloca i8**
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg4 to i64
%3 = ptrtoint i64* %arg2 to i64
%sv_4 = alloca i64, align 8
%4 = trunc i64 %arg3 to i32
%sext = mul i64 %arg3, 4294967296
%5 = ashr exact i64 %sext, 32
store i64 0, i64* %sv_4, align 8
%6 = icmp eq i32 %4, 1
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = trunc i64 %5 to i32
%8 = icmp eq i32 %7, 2
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %8, label LBL_6, label LBL_18
LBL_2:
%9 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8
%10 = inttoptr i64 %9 to i8**
%11 = icmp eq i64* %arg4, null
store i8** %10, i8*** %sv_3.04.reg2mem
store i64 0, i64* %sv_2.03.reg2mem
store i64 0, i64* %sv_1.0.reg2mem
br i1 %11, label LBL_11, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %2, i64 %3)
%13 = trunc i64 %12 to i32
%14 = icmp slt i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_5, label LBL_4
LBL_4:
%16 = and i64 %12, 4294967295
store i64 %16, i64* %rax.0.reg2mem
br label LBL_18
LBL_5:
%17 = icmp eq i32 %13, 0
%18 = icmp eq i1 %17, false
store i8** %10, i8*** %sv_3.08.reg2mem
store i8** %10, i8*** %sv_3.04.reg2mem
store i64 0, i64* %sv_2.03.reg2mem
store i64 0, i64* %sv_1.0.reg2mem
br i1 %18, label LBL_9, label LBL_11
LBL_6:
%19 = and i64 %1, 61440
%20 = icmp eq i64 %19, 16384
%21 = icmp eq i64* %arg4, null
br i1 %20, label LBL_8, label LBL_7
LBL_7:
%. = select i1 %21, i64 0, i64 4294967283
store i64 %., i64* %rax.0.reg2mem
br label LBL_18
LBL_8:
%22 = load [8 x i8]*, [8 x i8]** @gv_1, align 8
%23 = bitcast [8 x i8]* %22 to i8**
store i8** %23, i8*** %sv_3.08.reg2mem
store i8** %23, i8*** %sv_3.04.reg2mem
store i64 0, i64* %sv_2.03.reg2mem
store i64 0, i64* %sv_1.0.reg2mem
br i1 %21, label LBL_11, label LBL_9
LBL_9:
%sv_3.08.reload = load i8**, i8*** %sv_3.08.reg2mem
%24 = call i64 @FUNC(i64 %2, i64* nonnull %sv_4)
%25 = call i64 @FUNC(i64 %24)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
store i8** %sv_3.08.reload, i8*** %sv_3.04.reg2mem
store i64 %2, i64* %sv_2.03.reg2mem
store i64 %24, i64* %sv_1.0.reg2mem
br i1 %27, label LBL_11, label LBL_10
LBL_10:
%28 = call i64 @FUNC(i64 %24)
store i64 %28, i64* %rax.0.reg2mem
br label LBL_18
LBL_11:
%29 = ptrtoint i64* %arg1 to i64
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.03.reload = load i64, i64* %sv_2.03.reg2mem
%sv_3.04.reload = load i8**, i8*** %sv_3.04.reg2mem
%30 = load i64, i64* %sv_4, align 8
%31 = ptrtoint i8** %sv_3.04.reload to i64
%32 = call i64 @FUNC(i64 %29, i64 %3, i64 %31, i64 %sv_1.0.reload, i64 %30, i64 0)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, -61
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_15, label LBL_12
LBL_12:
%36 = trunc i64 %5 to i32
%37 = icmp eq i32 %36, 1
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_14, label LBL_13
LBL_13:
%39 = add i64 %3, 4
%40 = inttoptr i64 %39 to i32*
store i32 0, i32* %40, align 4
%41 = call i64 @FUNC(i64 %3)
br label LBL_14
LBL_14:
%42 = call i64 @FUNC(i64 %sv_1.0.reload)
store i64 0, i64* %sv_0.05.reg2mem
br label LBL_16
LBL_15:
%43 = call i64 @FUNC(i64 %sv_1.0.reload)
%44 = icmp eq i32 %33, 0
%45 = icmp eq i1 %44, false
store i64 %32, i64* %sv_0.05.reg2mem
store i64 %32, i64* %sv_0.06.reg2mem
br i1 %45, label LBL_17, label LBL_16
LBL_16:
%sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem
%46 = and i64 %5, 4294967295
%47 = call i64 @FUNC(i64 %3, i64 %46, i64 %sv_2.03.reload)
store i64 %sv_0.05.reload, i64* %sv_0.06.reg2mem
br label LBL_17
LBL_17:
%sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem
%48 = and i64 %sv_0.06.reload, 4294967295
store i64 %48, i64* %rax.0.reg2mem
br label LBL_18
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.0.reload, { 1, 2, 0 }
uselistorder i64 %24, { 1, 0, 2 }
uselistorder i1 %21, { 1, 0 }
uselistorder i8** %10, { 1, 2, 0 }
uselistorder i64 %5, { 2, 1, 0 }
uselistorder i64* %sv_4, { 1, 0, 2 }
uselistorder i64 %3, { 3, 1, 2, 4, 0 }
uselistorder i8*** %sv_3.08.reg2mem, { 0, 2, 1 }
uselistorder i8*** %sv_3.04.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i64* %sv_2.03.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i32 0, { 4, 5, 6, 7, 8, 0, 1, 2, 3 }
uselistorder label LBL_18, { 2, 3, 1, 4, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_11, { 2, 3, 1, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
BinRealVul | flush_dpb_15875 | flush_dpb | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul i64 %indvars.iv.reload, 8
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i64*
store i64 0, i64* %3, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%4 = add i64 %0, 128
%5 = inttoptr i64 %4 to i64*
store i64 0, i64* %5, align 8
%6 = call i64 @FUNC(i64 %0)
ret i64 %6
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 1 |
BinRealVul | qemu_uuid_parse_15513 | qemu_uuid_parse | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = inttoptr i64 %arg1 to i8*
%1 = call i32 @strlen(i8* %0)
%2 = icmp eq i32 %1, 36
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = ptrtoint i64* %arg2 to i64
%4 = add i64 %3, 15
%5 = add i64 %3, 14
%6 = add i64 %3, 13
%7 = add i64 %3, 12
%8 = add i64 %3, 11
%9 = add i64 %3, 10
%10 = add i64 %3, 9
%11 = add i64 %3, 8
%12 = add i64 %3, 7
%13 = add i64 %3, 6
%14 = add i64 %3, 5
%15 = add i64 %3, 4
%16 = add i64 %3, 3
%17 = add i64 %3, 2
%18 = add i64 %3, 1
%19 = inttoptr i64 %4 to i8*
%20 = inttoptr i64 %5 to i8*
%21 = inttoptr i64 %6 to i8*
%22 = inttoptr i64 %7 to i8*
%23 = inttoptr i64 %8 to i8*
%24 = inttoptr i64 %9 to i8*
%25 = inttoptr i64 %10 to i8*
%26 = inttoptr i64 %11 to i8*
%27 = inttoptr i64 %12 to i8*
%28 = inttoptr i64 %13 to i8*
%29 = inttoptr i64 %14 to i8*
%30 = inttoptr i64 %15 to i8*
%31 = inttoptr i64 %18 to i8*
%32 = inttoptr i64 %17 to i8*
%33 = inttoptr i64 %16 to i8*
%34 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_0, i64 0, i64 0), i64* %arg2, i8* %31, i8* %32, i8* %33, i8* %30, i8* %29, i8* %28, i8* %27, i8* %26, i8* %25, i8* %24, i8* %23, i8* %22, i8* %21, i8* %20, i8* %19)
%35 = icmp eq i32 %34, 16
%. = select i1 %35, i64 0, i64 4294967295
store i64 %., i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 12, 13, 14, 6, 7, 8, 9, 10, 11, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
} | 1 |
BinRealVul | get_window_11826 | get_window | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = mul i32 %3, 2
%5 = trunc i64 %1 to i32
%6 = icmp eq i32 %4, %5
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
store i64 %10, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%11 = add i64 %2, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %4, %13
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = add i64 %2, 16
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
store i64 %18, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %4, { 1, 0 }
uselistorder i64 %2, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
} | 1 |
BinRealVul | l2cap_recv_acldata_12063 | l2cap_recv_acldata | define i64 @FUNC(i64* %arg1, i64* %arg2, i16 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = icmp eq i64* %arg1, null
%6 = icmp eq i1 %5, false
store i64 %4, i64* %sv_0.0.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = add i64 %4, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_26, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %4)
store i64 %14, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%15 = icmp eq i64 %sv_0.0.reload, 0
br i1 %15, label LBL_26, label LBL_4
LBL_4:
%16 = zext i16 %arg3 to i64
%17 = add i64 %3, 8
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i32 %19, i16 %arg3, i64 %2, i64 %1)
%21 = icmp ugt i16 %arg3, 3
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%22 = icmp eq i16 %arg3, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_26
LBL_6:
%24 = icmp eq i16 %arg3, 4
br i1 %24, label LBL_16, label LBL_26
LBL_7:
%25 = inttoptr i64 %sv_0.0.reload to i64*
%26 = load i64, i64* %25, align 8
%27 = icmp eq i64 %26, 0
store i64 %sv_0.0.reload, i64* %rsi.0.reg2mem
br i1 %27, label LBL_9, label LBL_8
LBL_8:
%28 = zext i32 %19 to i64
%29 = load i32, i32* %18, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %28, i64 %16, i64 %2, i64 %1)
%32 = call i64 @FUNC(i64 %sv_0.0.reload)
%33 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)
store i64 1, i64* %rsi.0.reg2mem
br label LBL_9
LBL_9:
%34 = load i32, i32* %18, align 4
%35 = icmp sgt i32 %34, 1
br i1 %35, label LBL_11, label LBL_10
LBL_10:
%36 = add i64 %sv_0.0.reload, 12
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %38)
%40 = trunc i64 %39 to i32
%41 = icmp slt i32 %40, 0
%42 = icmp eq i1 %41, false
store i64 %39, i64* %rax.0.reg2mem
br i1 %42, label LBL_27, label LBL_26
LBL_11:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%43 = call i64 @FUNC(i64 %rsi.0.reload)
%44 = trunc i64 %43 to i32
%45 = urem i32 %44, 65536
%46 = add nuw nsw i32 %45, 4
%47 = load i32, i32* %18, align 4
%48 = icmp eq i32 %46, %47
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_13, label LBL_12
LBL_12:
%50 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3)
store i64 %50, i64* %rax.0.reg2mem
br label LBL_27
LBL_13:
%51 = zext i32 %46 to i64
%52 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %51, i32 %47, i16 %arg3, i64 %2, i64 %1)
%53 = load i32, i32* %18, align 4
%54 = icmp ult i32 %46, %53
br i1 %54, label LBL_14, label LBL_15
LBL_14:
%55 = zext i32 %53 to i64
%56 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %51, i64 %16, i64 %2, i64 %1)
%57 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)
br label LBL_26
LBL_15:
%58 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %46)
br label LBL_26
LBL_16:
%59 = add i64 %sv_0.0.reload, 8
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = load i32, i32* %18, align 4
%63 = zext i32 %62 to i64
%64 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64 %63, i32 %61, i16 4, i64 %2, i64 %1)
%65 = inttoptr i64 %sv_0.0.reload 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_18, label LBL_17
LBL_17:
%69 = zext i32 %61 to i64
%70 = load i32, i32* %18, align 4
%71 = zext i32 %70 to i64
%72 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_5, i64 0, i64 0), i64 %71, i64 %69, i64 %16, i64 %2, i64 %1)
%73 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)
br label LBL_26
LBL_18:
%74 = add i64 %66, 8
%75 = inttoptr i64 %74 to i32*
%76 = load i32, i32* %75, align 4
%77 = icmp sgt i32 %76, 1
br i1 %77, label LBL_22, label LBL_19
LBL_19:
%78 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3)
%79 = trunc i64 %78 to i32
%80 = icmp slt i32 %79, 0
%81 = icmp eq i1 %80, false
br i1 %81, label LBL_21, label LBL_20
LBL_20:
%82 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)
br label LBL_26
LBL_21:
%83 = load i64, i64* %65, align 8
%84 = add i64 %83, 8
%85 = inttoptr i64 %84 to i32*
%86 = load i32, i32* %85, align 4
%87 = zext i32 %86 to i64
%88 = icmp slt i32 %86, 2
store i64 %87, i64* %rax.0.reg2mem
br i1 %88, label LBL_27, label LBL_22
LBL_22:
%89 = load i32, i32* %18, align 4
%90 = load i32, i32* %60, align 4
%91 = icmp ugt i32 %89, %90
br i1 %91, label LBL_23, label LBL_24
LBL_23:
%92 = zext i32 %90 to i64
%93 = zext i32 %89 to i64
%94 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %93, i64 %92, i64 %16, i64 %2, i64 %1)
%95 = call i64 @FUNC(i64 %sv_0.0.reload)
%96 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)
br label LBL_26
LBL_24:
%97 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %89)
%98 = load i32, i32* %60, align 4
%99 = icmp eq i32 %98, 0
%100 = icmp eq i1 %99, false
br i1 %100, label LBL_26, label LBL_25
LBL_25:
%101 = load i64, i64* %65, align 8
store i64 0, i64* %65, align 8
%102 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %101)
br label LBL_26
LBL_26:
%103 = call i64 @FUNC(i64 %3)
store i64 %103, i64* %rax.0.reg2mem
br label LBL_27
LBL_27:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %65, { 2, 1, 0, 3 }
uselistorder i32 %61, { 1, 0 }
uselistorder i32 %53, { 1, 0 }
uselistorder i32 %46, { 1, 0, 2, 3 }
uselistorder i32 %19, { 1, 0 }
uselistorder i32* %18, { 5, 4, 6, 1, 2, 3, 0, 7 }
uselistorder i64 %16, { 3, 2, 1, 0 }
uselistorder i64 %sv_0.0.reload, { 9, 6, 8, 7, 10, 4, 11, 5, 3, 14, 13, 15, 16, 17, 19, 18, 0, 12, 2, 1 }
uselistorder i64 %4, { 2, 1, 0 }
uselistorder i64 %3, { 6, 4, 3, 0, 1, 2, 5 }
uselistorder i64 %2, { 6, 5, 2, 4, 1, 3, 0 }
uselistorder i64 %1, { 6, 5, 2, 4, 1, 3, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @l2cap_recv_frame, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @l2cap_recv_frag, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @l2cap_conn_unreliable, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 1, 2, 3, 4, 0, 5, 6 }
uselistorder i64 (i64)* @l2cap_recv_reset, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @BT_ERR, { 3, 2, 1, 0 }
uselistorder i64 (i8*, i64, i32, i16, i64, i64)* @BT_DBG, { 2, 1, 0 }
uselistorder i16 %arg3, { 1, 0, 2, 3, 5, 4 }
uselistorder label LBL_27, { 2, 0, 3, 1 }
uselistorder label LBL_26, { 1, 0, 7, 8, 9, 10, 11, 4, 5, 6, 2, 3 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | qemu_balloon_status_482 | qemu_balloon_status | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = call i64 @FUNC(i64 %0, i64 %arg1, i64 %arg2)
ret i64 1
} | 0 |
BinRealVul | bpf_obj_do_get_11147 | bpf_obj_do_get | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %sv_1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = and i64 %3, 4294967295
%7 = call i64 @FUNC(i64 %6)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%8 = load i64, i64* %sv_1, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 %9, i64 2)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i64 %10, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_5, label LBL_3
LBL_3:
%14 = ptrtoint i64* %arg2 to i64
%15 = call i64 @FUNC(i64 %9, i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 %15, i64* %sv_0.0.reg2mem
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = inttoptr i64 %9 to i64*
%20 = load i64, i64* %19, align 8
%21 = and i64 %1, 4294967295
%22 = call i64 @FUNC(i64 %20, i64 %21)
%23 = call i64 @FUNC(i64* nonnull %sv_1)
%24 = call i64 @FUNC(i64* nonnull %sv_1)
store i64 %22, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%25 = call i64 @FUNC(i64* nonnull %sv_1)
%26 = and i64 %sv_0.0.reload, 4294967295
%27 = call i64 @FUNC(i64 %26)
store i64 %27, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_1, { 0, 1, 2, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64*)* @path_put, { 1, 0 }
uselistorder i64 (i64)* @ERR_PTR, { 1, 0 }
uselistorder i64 4294967295, { 1, 0, 2 }
} | 1 |
BinRealVul | bond_select_queue_12673 | bond_select_queue | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = urem i64 %1, 65536
ret i64 %2
} | 1 |
BinRealVul | mbs_to_wcs_4729 | mbs_to_wcs | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = inttoptr i64 %arg1 to i8*
%1 = call i32 @mbstowcs(i32* null, i8* %0, i32 0)
%2 = icmp slt i32 %1, 0
%3 = icmp eq i1 %2, false
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_3
LBL_1:
%4 = sext i32 %1 to i64
%5 = mul i64 %4, 4
%6 = add nsw i64 %5, 4
%7 = call i64 @FUNC(i64 %6)
%8 = inttoptr i64 %7 to i32*
%9 = add i32 %1, 1
%10 = call i32 @mbstowcs(i32* %8, i8* %0, i32 %9)
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 %7, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = inttoptr i64 %7 to i64*
call void @free(i64* %13)
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 %7, { 1, 0, 2 }
uselistorder i32 %1, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4, { 1, 0 }
uselistorder i32 1, { 1, 0, 2 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 0 |
BinRealVul | vp9_init_layer_context_7712 | vp9_init_layer_context | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.1.reg2mem = alloca i64
%rax.0.in.reg2mem = alloca i32
%sv_0.2.lcssa.reg2mem = alloca i32
%.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%.pre-phi21.reg2mem = alloca i32*
%sv_0.0.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.212.reg2mem = alloca i32
%xmm0.114.reg2mem = alloca i128
%indvars.iv18.reg2mem = alloca i64
%storemerge8.in.reg2mem = alloca i32*
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = bitcast i64* %rdi to i32*
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 1480
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = add i64 %2, 1484
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
%11 = load i32, i32* %5, align 4
%12 = icmp slt i32 %11, 2
store i32* %3, i32** %storemerge8.in.reg2mem
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = add i64 %2, 1528
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 1
%17 = icmp eq i1 %16, false
%spec.select = select i1 %17, i32* %3, i32* %5
store i32* %spec.select, i32** %storemerge8.in.reg2mem
br label LBL_2
LBL_2:
%18 = trunc i64 %1 to i32
%19 = mul i32 %6, %18
%storemerge8.in.reload = load i32*, i32** %storemerge8.in.reg2mem
%storemerge8 = load i32, i32* %storemerge8.in.reload, align 4
%20 = icmp sgt i32 %storemerge8, 0
store i32 %11, i32* %.reg2mem
store i32 %19, i32* %sv_0.2.lcssa.reg2mem
br i1 %20, label LBL_3, label LBL_15
LBL_3:
%21 = add i64 %2, 1488
%22 = inttoptr i64 %21 to i32*
%23 = add i64 %2, 1528
%24 = inttoptr i64 %23 to i32*
%25 = add i64 %2, 1512
%26 = inttoptr i64 %25 to i64*
%27 = add i64 %2, 1504
%28 = inttoptr i64 %27 to i64*
%29 = add i64 %2, 1492
%30 = inttoptr i64 %29 to i32*
%31 = add i64 %2, 1520
%32 = inttoptr i64 %31 to i64*
%33 = add i64 %2, 1496
%34 = inttoptr i64 %33 to i32*
%wide.trip.count = zext i32 %storemerge8 to i64
store i64 0, i64* %indvars.iv18.reg2mem
store i32 %19, i32* %sv_0.212.reg2mem
br label LBL_4
LBL_4:
%sv_0.212.reload = load i32, i32* %sv_0.212.reg2mem
%xmm0.114.reload = load i128, i128* %xmm0.114.reg2mem
%indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem
%35 = mul nuw nsw i64 %indvars.iv18.reload, 184
%36 = add i64 %35, %2
%37 = add i64 %36, 8
%38 = add i64 %36, 40
%39 = inttoptr i64 %37 to i32*
store i32 0, i32* %39, align 4
%40 = add i64 %36, 12
%41 = inttoptr i64 %40 to i32*
store i32 0, i32* %41, align 4
%42 = add i64 %36, 16
%43 = inttoptr i64 %42 to i32*
store i32 0, i32* %43, align 4
%44 = add i64 %36, 20
%45 = inttoptr i64 %44 to i32*
store i32 0, i32* %45, align 4
%46 = load i32, i32* %22, align 4
%47 = inttoptr i64 %38 to i32*
store i32 %46, i32* %47, align 4
%48 = add i64 %36, 44
%49 = inttoptr i64 %48 to i32*
store i32 0, i32* %49, align 4
%50 = add i64 %36, 48
%51 = inttoptr i64 %50 to i32*
store i32 0, i32* %51, align 4
%52 = add i64 %36, 52
%53 = inttoptr i64 %52 to i32*
store i32 0, i32* %53, align 4
%54 = call i128 @FUNC(i128 %xmm0.114.reload, i128 %xmm0.114.reload)
%55 = call i64 @FUNC(i128 %54)
%56 = add i64 %36, 56
%57 = inttoptr i64 %56 to i64*
store i64 %55, i64* %57, align 8
%58 = call i128 @FUNC(i128 %54, i128 %54)
%59 = call i64 @FUNC(i128 %58)
%60 = add i64 %36, 64
%61 = inttoptr i64 %60 to i64*
store i64 %59, i64* %61, align 8
%62 = add i64 %36, 72
%63 = inttoptr i64 %62 to i32*
store i32 0, i32* %63, align 4
%64 = add i64 %36, 76
%65 = inttoptr i64 %64 to i32*
store i32 0, i32* %65, align 4
%66 = add i64 %36, 80
%67 = inttoptr i64 %66 to i32*
store i32 0, i32* %67, align 4
%68 = add i64 %36, 88
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_5
LBL_5:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%69 = call i128 @__asm_movsd.1(i64 4607182418800017408)
%70 = call i64 @FUNC(i128 %69)
%71 = mul i64 %indvars.iv.reload, 8
%72 = add i64 %68, %71
%73 = inttoptr i64 %72 to i64*
store i64 %70, i64* %73, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_6, label LBL_5
LBL_6:
%74 = load i32, i32* %5, align 4
%75 = icmp slt i32 %74, 2
br i1 %75, label LBL_9, label LBL_7
LBL_7:
%76 = load i32, i32* %24, align 4
%77 = icmp eq i32 %76, 1
%78 = icmp eq i1 %77, false
br i1 %78, label LBL_9, label LBL_8
LBL_8:
%79 = load i64, i64* %26, align 8
%80 = mul i64 %indvars.iv18.reload, 4
%81 = add i64 %79, %80
%82 = inttoptr i64 %81 to i32*
%83 = load i32, i32* %82, align 4
%84 = add i64 %36, 24
%85 = inttoptr i64 %84 to i32*
store i32 %83, i32* %85, align 4
%86 = load i32, i32* %22, align 4
%87 = add i64 %36, 168
%88 = inttoptr i64 %87 to i32*
store i32 %86, i32* %88, align 4
%89 = load i32, i32* %22, align 4
%90 = add i64 %36, 176
%91 = inttoptr i64 %90 to i32*
store i32 %89, i32* %91, align 4
store i32* %85, i32** %.pre-phi21.reg2mem
store i32 %sv_0.212.reload, i32* %sv_0.1.reg2mem
br label LBL_13
LBL_9:
%92 = load i64, i64* %28, align 8
%93 = mul i64 %indvars.iv18.reload, 4
%94 = add i64 %92, %93
%95 = inttoptr i64 %94 to i32*
%96 = load i32, i32* %95, align 4
%97 = add i64 %36, 24
%98 = inttoptr i64 %97 to i32*
store i32 %96, i32* %98, align 4
%99 = load i32, i32* %30, align 4
%100 = add i64 %36, 172
%101 = inttoptr i64 %100 to i32*
store i32 %99, i32* %101, align 4
%102 = load i32, i32* %30, align 4
%103 = add i64 %36, 168
%104 = inttoptr i64 %103 to i32*
store i32 %102, i32* %104, align 4
%105 = load i32, i32* %22, align 4
%106 = load i32, i32* %30, align 4
%107 = add i32 %106, %105
%108 = icmp slt i32 %107, 0
%109 = zext i1 %108 to i32
%110 = add i32 %107, %109
%111 = ashr i32 %110, 1
%112 = add i64 %36, 180
%113 = inttoptr i64 %112 to i32*
store i32 %111, i32* %113, align 4
%114 = load i32, i32* %22, align 4
%115 = load i32, i32* %30, align 4
%116 = add i32 %115, %114
%117 = icmp slt i32 %116, 0
%118 = zext i1 %117 to i32
%119 = add i32 %116, %118
%120 = ashr i32 %119, 1
%121 = add i64 %36, 176
%122 = inttoptr i64 %121 to i32*
store i32 %120, i32* %122, align 4
%123 = load i64, i64* %32, align 8
%124 = add i64 %123, %93
%125 = inttoptr i64 %124 to i32*
%126 = load i32, i32* %125, align 4
%127 = icmp eq i32 %126, 0
br i1 %127, label LBL_11, label LBL_10
LBL_10:
%128 = add i32 %sv_0.212.reload, 1
%129 = add i64 %36, 28
%130 = inttoptr i64 %129 to i32*
store i32 %sv_0.212.reload, i32* %130, align 4
store i32 %128, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_11:
%131 = add i64 %36, 28
%132 = inttoptr i64 %131 to i32*
store i32 -1, i32* %132, align 4
store i32 %sv_0.212.reload, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_12:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%133 = add i64 %36, 32
%134 = inttoptr i64 %133 to i32*
store i32 -1, i32* %134, align 4
store i32* %98, i32** %.pre-phi21.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br label LBL_13
LBL_13:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%.pre-phi21.reload = load i32*, i32** %.pre-phi21.reg2mem
%135 = load i32, i32* %34, align 4
%136 = load i32, i32* %.pre-phi21.reload, align 4
%137 = mul i32 %136, %135
%138 = sdiv i32 %137, 1000
%139 = add i64 %36, 184
%140 = inttoptr i64 %139 to i32*
store i32 %138, i32* %140, align 4
%141 = add i64 %36, 188
%142 = inttoptr i64 %141 to i32*
store i32 %138, i32* %142, align 4
%indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1
%exitcond20 = icmp eq i64 %indvars.iv.next19, %wide.trip.count
store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem
store i128 %69, i128* %xmm0.114.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.212.reg2mem
br i1 %exitcond20, label LBL_14, label LBL_4
LBL_14:
%.pre = load i32, i32* %5, align 4
store i32 %.pre, i32* %.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem
br label LBL_15
LBL_15:
%sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem
%.reload = load i32, i32* %.reg2mem
%143 = icmp slt i32 %.reload, 2
store i32 %.reload, i32* %rax.0.in.reg2mem
br i1 %143, label LBL_17, label LBL_16
LBL_16:
%144 = add i64 %2, 1528
%145 = inttoptr i64 %144 to i32*
%146 = load i32, i32* %145, align 4
%147 = icmp eq i32 %146, 1
store i32 %146, i32* %rax.0.in.reg2mem
store i64 1, i64* %rax.1.reg2mem
br i1 %147, label LBL_19, label LBL_17
LBL_17:
%rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem
%rax.0 = zext i32 %rax.0.in.reload to i64
%148 = icmp sgt i32 %sv_0.2.lcssa.reload, 7
store i64 %rax.0, i64* %rax.1.reg2mem
br i1 %148, label LBL_19, label LBL_18
LBL_18:
%149 = add i64 %2, 32
%150 = inttoptr i64 %149 to i32*
store i32 %sv_0.2.lcssa.reload, i32* %150, align 4
store i64 %2, i64* %rax.1.reg2mem
br label LBL_19
LBL_19:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 %138, { 1, 0 }
uselistorder i64 %93, { 1, 0 }
uselistorder i128 %54, { 2, 1, 0 }
uselistorder i64 %36, { 9, 10, 2, 1, 3, 4, 5, 6, 7, 8, 11, 12, 13, 0, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
uselistorder i64 %indvars.iv18.reload, { 0, 3, 2, 1 }
uselistorder i128 %xmm0.114.reload, { 1, 0 }
uselistorder i32 %sv_0.212.reload, { 1, 2, 3, 0 }
uselistorder i32* %22, { 2, 3, 0, 1, 4 }
uselistorder i32 %19, { 1, 0 }
uselistorder i32* %5, { 0, 2, 1, 3, 4 }
uselistorder i32* %3, { 1, 0 }
uselistorder i64 %2, { 0, 4, 3, 1, 9, 6, 7, 8, 10, 5, 14, 2, 11, 12, 13 }
uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 }
uselistorder i128* %xmm0.114.reg2mem, { 1, 0 }
uselistorder i32* %sv_0.212.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i32** %.pre-phi21.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.2.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 1528, { 1, 0, 2 }
uselistorder i32 0, { 3, 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 2, 14, 15 }
} | 1 |
BinRealVul | GetClipboardText_6879 | GetClipboardText | define i64 @FUNC() local_unnamed_addr {
LBL_0:
ret i64 0
} | 0 |
BinRealVul | ihevcd_delete_9062 | ihevcd_delete | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg3 to i32*
store i32 0, i32* %1, align 4
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
ret i64 0
} | 0 |
BinRealVul | axisdev88_init_7754 | axisdev88_init | define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i8* %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%indvars.iv10.reg2mem = alloca i64
%indvars.iv13.reg2mem = alloca i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%1 = load i32, i32* %0
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%2 = ptrtoint i64* %sv_4 to i64
%3 = icmp eq i64 %arg6, 0
%4 = icmp eq i1 %3, false
%5 = select i1 %4, i64 %arg6, i64 ptrtoint ([8 x i8]* @gv_0 to i64)
%6 = call i64 @FUNC(i64 %5)
%7 = call i64 @FUNC(i64 4199271, i64 %6)
%8 = call i64 @FUNC(i64 %arg1)
%9 = call i64 @FUNC(i64 1073741824, i64 %arg1, i64 %8)
%10 = call i64 @FUNC(i64 65536)
%11 = call i64 @FUNC(i64 939524096, i64 65536, i64 %10)
%12 = call i64 @FUNC(i64 57, i64 57)
store i64 %12, i64* @gv_1, align 8
%13 = call i64 @FUNC(i64 4199282, i64 4199293, i64* nonnull @gv_1)
%sext = mul i64 %13, 4294967296
%14 = ashr exact i64 %sext, 32
%15 = call i64 @FUNC(i64 268435456, i64 83886080, i64 %14)
store i64 ptrtoint (i64* @gv_1 to i64), i64* @gv_2, align 8
%16 = call i64 @FUNC(i64 4199304, i64 4199315, i64* nonnull @gv_2)
%sext4 = mul i64 %16, 4294967296
%17 = ashr exact i64 %sext4, 32
%18 = call i64 @FUNC(i64 805412864, i64 92, i64 %17)
%19 = call i64 @FUNC(i64 %6)
%20 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0))
%21 = add i64 %6, 68
%22 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %21)
%23 = call i64 @FUNC(i64 %20)
%24 = call i64 @FUNC(i64 %20)
%25 = call i64 @FUNC(i64 %24, i64 0, i64 805421056)
%26 = inttoptr i64 %19 to i32*
%27 = load i32, i32* %26, align 4
%28 = call i64 @FUNC(i64 %24, i64 0, i32 %27)
%29 = add i64 %19, 4
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = call i64 @FUNC(i64 %24, i64 1, i32 %31)
%33 = add i64 %2, -208
store i64 0, i64* %indvars.iv13.reg2mem
br label LBL_1
LBL_1:
%indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem
%34 = call i64 @FUNC(i64 %20, i64 %indvars.iv13.reload)
%35 = trunc i64 %34 to i32
%36 = mul i64 %indvars.iv13.reload, 4
%37 = add i64 %36, %33
%38 = inttoptr i64 %37 to i32*
store i32 %35, i32* %38, align 4
%indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1
%exitcond15 = icmp eq i64 %indvars.iv.next14, 30
store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem
br i1 %exitcond15, label LBL_2, label LBL_1
LBL_2:
%39 = call i64 @FUNC(i64 %20, i64 30)
%40 = call i64 @FUNC(i64 %20, i64 31)
%41 = call i64 @FUNC(i64 805306368, i64 10)
%42 = ptrtoint i64* %sv_3 to i64
%43 = add i64 %42, 28
store i64 0, i64* %indvars.iv10.reg2mem
br label LBL_3
LBL_3:
%indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem
%44 = trunc i64 %indvars.iv10.reload to i32
%45 = urem i64 %indvars.iv10.reload, 2
%46 = mul i64 %indvars.iv10.reload, 4
%47 = add i64 %43, %46
%48 = call i64 @FUNC(i64 %41, i32 %44, i64 %47, i64 %45)
%indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1
%exitcond12 = icmp eq i64 %indvars.iv.next11, 10
store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem
br i1 %exitcond12, label LBL_4, label LBL_3
LBL_4:
%49 = call i64 @FUNC(i64* nonnull @gv_5, i64 805519360, i64 1)
%50 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4
%51 = icmp slt i32 %50, 2
store i64 0, i64* %sv_0.0.reg2mem
br i1 %51, label LBL_6, label LBL_5
LBL_5:
%52 = call i64 @FUNC(i64* nonnull @gv_6, i64 805527552, i64 2)
store i64 %52, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%53 = call i64 @FUNC(i64 %41, i64 0, i64 %49)
%54 = call i64 @FUNC(i64 %41, i64 1, i64 %49)
%55 = icmp eq i64 %sv_0.0.reload, 0
br i1 %55, label LBL_8, label LBL_7
LBL_7:
%56 = call i64 @FUNC(i64 %41, i64 6, i64 %sv_0.0.reload)
%57 = call i64 @FUNC(i64 %41, i64 7, i64 %sv_0.0.reload)
br label LBL_8
LBL_8:
%58 = and i64 %40, 4294967295
%59 = zext i32 %1 to i64
%60 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i64 805429248, i64 %59, i64 %58, i64 0, i64 %arg6)
%61 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i64 805691392, i64 %59, i64 %58, i64 0, i64 %arg6)
%62 = add i64 %2, -128
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_9
LBL_9:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%63 = mul i64 %indvars.iv.reload, 4
%64 = add i64 %62, %63
%65 = inttoptr i64 %64 to i32*
%66 = load i32, i32* %65, align 4
%67 = mul i64 %indvars.iv.reload, 8192
%68 = add nuw nsw i64 %67, 805462016
%69 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_8, i64 0, i64 0), i64 %68, i32 %66)
%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
br i1 %exitcond, label LBL_10, label LBL_9
LBL_10:
%70 = icmp eq i8* %arg3, null
br i1 %70, label LBL_18, label LBL_11
LBL_11:
%71 = ptrtoint i8* %arg3 to i64
%72 = call i64 @FUNC(i64 %71, i64 -2147483648, i64* nonnull %sv_1, i64 0, i64* nonnull %sv_2, i64 0)
%73 = trunc i64 %72 to i32
%74 = load i64, i64* %sv_1, align 8
%75 = trunc i64 %74 to i32
store i32 %75, i32* @gv_9, align 4
%76 = icmp slt i32 %73, 0
%77 = icmp eq i1 %76, false
br i1 %77, label LBL_13, label LBL_12
LBL_12:
%78 = call i64 @FUNC(i64 %71, i64 1073758208, i64 %arg1)
%79 = trunc i64 %78 to i32
store i32 1073758208, i32* @gv_9, align 4
%80 = add i32 %79, 1073758208
%81 = add i64 %6, 36
%82 = inttoptr i64 %81 to i32*
store i32 %80, i32* %82, align 4
br label LBL_13
LBL_13:
%83 = add i64 %6, 32
%84 = inttoptr i64 %83 to i32*
store i32 1452286855, i32* %84, align 4
%85 = icmp eq i8* %arg4, null
br i1 %85, label LBL_18, label LBL_14
LBL_14:
%86 = call i32 @strlen(i8* nonnull %arg4)
%87 = icmp eq i32 %86, 0
br i1 %87, label LBL_18, label LBL_15
LBL_15:
%88 = icmp slt i32 %86, 257
br i1 %88, label LBL_17, label LBL_16
LBL_16:
%89 = load %_IO_FILE*, %_IO_FILE** @gv_10, align 8
%90 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_11 to i64*), i32 1, i32 39, %_IO_FILE* %89)
call void @exit(i32 1)
unreachable
LBL_17:
%91 = add i64 %6, 40
%92 = inttoptr i64 %91 to i32*
store i32 -2028956317, i32* %92, align 4
%93 = add i64 %6, 44
%94 = inttoptr i64 %93 to i32*
store i32 1073741824, i32* %94, align 4
%95 = ptrtoint i8* %arg4 to i64
%96 = call i64 @FUNC(i64 1073741824, i64 256, i64 %95)
br label LBL_18
LBL_18:
%97 = load i32, i32* @gv_9, align 4
%98 = add i64 %6, 64
%99 = inttoptr i64 %98 to i32*
store i32 %97, i32* %99, align 4
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_12, i64 0, i64 0), i32 %97)
%101 = trunc i64 %arg1 to i32
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_13, i64 0, i64 0), i32 %101)
%103 = sext i32 %102 to i64
ret i64 %103
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %58, { 1, 0 }
uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }
uselistorder i64 %49, { 1, 0 }
uselistorder i64 %indvars.iv10.reload, { 0, 3, 2, 1 }
uselistorder i64 %41, { 1, 0, 3, 2, 4 }
uselistorder i64 %indvars.iv13.reload, { 0, 2, 1 }
uselistorder i64 %20, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %6, { 4, 1, 2, 3, 0, 5, 6, 7 }
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
uselistorder i32 1073758208, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i32* @gv_9, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @sysbus_create_varargs, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @etraxfs_dmac_connect_client, { 3, 2, 1, 0 }
uselistorder i64 (i64*, i64, i64)* @etraxfs_eth_init, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 30, { 1, 0 }
uselistorder i64 (i64, i64)* @qdev_get_gpio_in, { 1, 0, 2 }
uselistorder i64 1, { 2, 3, 4, 1, 0, 5 }
uselistorder i64 4, { 3, 0, 1, 2, 4 }
uselistorder i64 (i64, i64, i32)* @sysbus_connect_irq, { 1, 0 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 (i64, i64, i64*)* @cpu_register_io_memory, { 1, 0 }
uselistorder i64* @gv_1, { 1, 0, 2 }
uselistorder i64 57, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @cpu_register_physical_memory, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @qemu_ram_alloc, { 1, 0 }
uselistorder i32 1, { 17, 18, 22, 21, 20, 19, 16, 15, 14, 13, 12, 11, 10, 9, 0, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 %arg6, { 2, 1, 0, 3 }
uselistorder i8* %arg4, { 0, 2, 1 }
uselistorder i8* %arg3, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 3, 2 }
} | 1 |
BinRealVul | avpicture_get_size_866 | avpicture_get_size | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = trunc i64 %arg3 to i32
%1 = and i64 %arg2, 4294967295
%2 = call i64 @FUNC(i64 %1, i32 %0, i64 0, i64 0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = and i64 %arg3, 4294967295
%6 = and i64 %arg1, 4294967295
%7 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 %6, i64 %1, i64 %5)
store i64 %7, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 2, 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | ppp_cp_parse_cr_18875 | ppp_cp_parse_cr | define i64 @FUNC(i64* %arg1, i16 %arg2, i8 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i32
%sv_2.03.reg2mem = alloca i32
%sv_1.14.reg2mem = alloca i32
%sv_0.16.reg2mem = alloca i32
%storemerge7.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = zext i32 %arg4 to i64
%2 = call i64 @FUNC(i64 %1, i64 0)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add nuw nsw i64 %1, 1
store i64 %5, i64* %arg1, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_29
LBL_2:
%6 = icmp eq i32 %arg4, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_3, label LBL_27
LBL_3:
%8 = ptrtoint i64* %arg5 to i64
%9 = icmp eq i16 %arg2, -16351
%10 = icmp eq i1 %9, false
store i64 %8, i64* %storemerge7.reg2mem
store i32 0, i32* %sv_0.16.reg2mem
store i32 0, i32* %sv_1.14.reg2mem
store i32 %arg4, i32* %sv_2.03.reg2mem
br label LBL_4
LBL_4:
%sv_2.03.reload = load i32, i32* %sv_2.03.reg2mem
%11 = icmp ult i32 %sv_2.03.reload, 2
br i1 %11, label LBL_6, label LBL_5
LBL_5:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%12 = add i64 %storemerge7.reload, 1
%13 = inttoptr i64 %12 to i8*
%14 = load i8, i8* %13, align 1
%15 = zext i8 %14 to i32
%16 = icmp ult i32 %sv_2.03.reload, %15
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_7, label LBL_6
LBL_6:
%18 = add i64 %0, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = add i64 %20, 1
store i64 %21, i64* %19, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_29
LBL_7:
%sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem
%sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem
store i32 %15, i32* %.pre-phi.reg2mem
br i1 %10, label LBL_21, label LBL_8
LBL_8:
%22 = inttoptr i64 %storemerge7.reload to i8*
%23 = load i8, i8* %22, align 1
%24 = icmp eq i8 %23, 3
br i1 %24, label LBL_16, label LBL_9
LBL_9:
%25 = icmp ugt i8 %23, 3
store i32 %15, i32* %.pre-phi.reg2mem
br i1 %25, label LBL_21, label LBL_10
LBL_10:
%26 = icmp eq i8 %23, 1
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %26, label LBL_22, label LBL_11
LBL_11:
%27 = icmp eq i8 %23, 2
%28 = icmp eq i1 %27, false
store i32 %15, i32* %.pre-phi.reg2mem
br i1 %28, label LBL_21, label LBL_12
LBL_12:
%29 = inttoptr i64 %storemerge7.reload to i64*
%30 = call i32 @memcmp(i64* %29, i64* inttoptr (i64 4202512 to i64*), i32 6)
%31 = icmp eq i32 %30, 0
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %31, label LBL_22, label LBL_13
LBL_13:
%32 = icmp eq i32 %sv_0.16.reload, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_13.LBL_21_crit_edge, label LBL_15
LBL_14:
%.pre = load i8, i8* %13, align 1
%.pre9 = zext i8 %.pre to i32
store i32 %.pre9, i32* %.pre-phi.reg2mem
br label LBL_21
LBL_15:
%34 = zext i32 %sv_1.14.reload to i64
%35 = add i64 %2, %34
%36 = inttoptr i64 %35 to i32*
store i32 1538, i32* %36, align 4
%37 = load i16, i16* inttoptr (i64 4202516 to i16*), align 4
%38 = add i64 %35, 4
%39 = inttoptr i64 %38 to i16*
store i16 %37, i16* %39, align 2
%40 = add i32 %sv_1.14.reload, 6
store i32 %40, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br label LBL_22
LBL_16:
%41 = icmp eq i8 %14, 6
%42 = icmp eq i1 %41, false
store i32 %15, i32* %.pre-phi.reg2mem
br i1 %42, label LBL_21, label LBL_17
LBL_17:
%43 = add i64 %storemerge7.reload, 2
%44 = inttoptr i64 %43 to i8*
%45 = load i8, i8* %44, align 1
%46 = icmp eq i8 %45, 0
%47 = icmp eq i1 %46, false
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %47, label LBL_22, label LBL_18
LBL_18:
%48 = add i64 %storemerge7.reload, 3
%49 = inttoptr i64 %48 to i8*
%50 = load i8, i8* %49, align 1
%51 = icmp eq i8 %50, 0
%52 = icmp eq i1 %51, false
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %52, label LBL_22, label LBL_19
LBL_19:
%53 = add i64 %storemerge7.reload, 4
%54 = inttoptr i64 %53 to i8*
%55 = load i8, i8* %54, align 1
%56 = icmp eq i8 %55, 0
%57 = icmp eq i1 %56, false
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %57, label LBL_22, label LBL_20
LBL_20:
%58 = add i64 %storemerge7.reload, 5
%59 = inttoptr i64 %58 to i8*
%60 = load i8, i8* %59, align 1
%61 = icmp eq i8 %60, 0
%62 = icmp eq i1 %61, false
store i32 %15, i32* %.pre-phi.reg2mem
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %62, label LBL_22, label LBL_21
LBL_21:
%.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem
%63 = zext i32 %sv_0.16.reload to i64
%64 = add i64 %2, %63
%65 = inttoptr i64 %64 to i64*
%66 = inttoptr i64 %storemerge7.reload to i64*
%67 = call i64* @memcpy(i64* %65, i64* %66, i32 %.pre-phi.reload)
%68 = load i8, i8* %13, align 1
%69 = zext i8 %68 to i32
%70 = add i32 %sv_0.16.reload, %69
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %70, i32* %sv_0.0.reg2mem
br label LBL_22
LBL_22:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%71 = load i8, i8* %13, align 1
%72 = zext i8 %71 to i32
%73 = sub i32 %sv_2.03.reload, %72
%74 = zext i8 %71 to i64
%75 = add i64 %storemerge7.reload, %74
%76 = icmp eq i32 %73, 0
%77 = icmp eq i1 %76, false
store i64 %75, i64* %storemerge7.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem
store i32 %73, i32* %sv_2.03.reg2mem
br i1 %77, label LBL_4, label LBL_23
LBL_23:
%78 = icmp eq i32 %sv_0.0.reload, 0
br i1 %78, label LBL_25, label LBL_24
LBL_24:
%79 = zext i32 %sv_0.0.reload to i64
%80 = zext i8 %arg3 to i64
%81 = call i64 @FUNC(i64 %0, i16 %arg2, i64 0, i64 0, i64 %80, i64 %79)
br label LBL_28
LBL_25:
%82 = icmp eq i32 %sv_1.0.reload, 0
br i1 %82, label LBL_27, label LBL_26
LBL_26:
%83 = zext i32 %sv_1.0.reload to i64
%84 = zext i8 %arg3 to i64
%85 = call i64 @FUNC(i64 %0, i16 %arg2, i64 0, i64 1, i64 %84, i64 %83)
br label LBL_28
LBL_27:
%86 = zext i8 %arg3 to i64
%87 = call i64 @FUNC(i64 %0, i16 %arg2, i64 1, i64 2, i64 %86, i64 %1)
br label LBL_28
LBL_28:
%88 = call i64 @FUNC(i64 %2)
store i64 %88, i64* %rax.0.reg2mem
br label LBL_29
LBL_29:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %35, { 1, 0 }
uselistorder i32 %sv_0.16.reload, { 9, 8, 3, 4, 5, 6, 0, 7, 1, 2 }
uselistorder i32 %sv_1.14.reload, { 6, 2, 3, 4, 5, 7, 8, 0, 1 }
uselistorder i32 %15, { 4, 3, 2, 1, 0, 5 }
uselistorder i8* %13, { 1, 2, 0, 3 }
uselistorder i64 %storemerge7.reload, { 8, 5, 4, 3, 2, 1, 0, 6, 7 }
uselistorder i32 %sv_2.03.reload, { 0, 2, 1 }
uselistorder i64 %2, { 2, 0, 1, 3 }
uselistorder i64 %0, { 4, 3, 2, 1, 5, 0 }
uselistorder i64* %storemerge7.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.14.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.03.reg2mem, { 1, 0, 2 }
uselistorder i32* %.pre-phi.reg2mem, { 0, 5, 4, 6, 3, 2, 1 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 8, 4, 5, 6, 7, 1, 2, 3 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 8, 4, 5, 6, 7, 1, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64, i16, i64, i64, i64, i64)* @ppp_cp_event, { 2, 1, 0 }
uselistorder i32 6, { 1, 0 }
uselistorder i32 0, { 3, 6, 7, 4, 5, 0, 1, 2 }
uselistorder i1 false, { 10, 1, 2, 3, 4, 5, 6, 7, 9, 8, 0, 11 }
uselistorder i8 %arg3, { 1, 2, 0 }
uselistorder i16 %arg2, { 1, 2, 0, 3 }
uselistorder label LBL_27, { 1, 0 }
uselistorder label LBL_22, { 6, 3, 2, 1, 0, 7, 4, 5 }
uselistorder label LBL_21, { 1, 2, 0, 3, 4, 5 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | pcie_aer_root_init_15876 | pcie_aer_root_init | 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 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = urem i64 %1, 65536
%7 = add i64 %5, %6
%8 = call i64 @FUNC(i64 %7, i64 1)
%9 = add i64 %2, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = add nuw nsw i64 %6, 4
%13 = add i64 %12, %11
%14 = call i64 @FUNC(i64 %13, i64 2)
ret i64 %14
uselistorder i64 (i64, i64)* @pci_set_long, { 1, 0 }
} | 1 |
BinRealVul | vfp_exceptbits_from_host_15729 | vfp_exceptbits_from_host | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = urem i64 %arg1, 2
%1 = icmp ne i64 %0, 0
%spec.select = zext i1 %1 to i64
%2 = mul i64 %arg1, 4
%3 = and i64 %2, 128
%4 = and i64 %arg1, 30
%5 = or i64 %3, %4
%6 = or i64 %5, %spec.select
ret i64 %6
uselistorder i64 %arg1, { 2, 0, 1 }
} | 1 |
BinRealVul | impeg2d_dec_hdr_7465 | impeg2d_dec_hdr | define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%rdx = alloca i64, align 8
%3 = ptrtoint i64* %arg3 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = bitcast i64* %rsi to i32*
%6 = trunc i64 %2 to i32
%7 = bitcast i64* %arg3 to i32*
store i32 0, i32* %7, align 4
%8 = icmp ult i32 %6, 1024
%spec.select = select i1 %8, i32 %6, i32 1024
%9 = ptrtoint i32* %arg2 to i64
%10 = add i64 %9, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = add i64 %4, 20
%14 = inttoptr i64 %13 to i64*
%15 = inttoptr i64 %12 to i64*
%16 = call i64* @memcpy(i64* %14, i64* %15, i32 %spec.select)
%17 = add i64 %4, 1048
%18 = zext i32 %spec.select to i64
%19 = call i64 @FUNC(i64 %17, i64 %13, i64 %18)
%20 = call i64 @FUNC(i64 %4)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label LBL_6, label LBL_1
LBL_1:
store i32 %21, i32* %7, align 4
%23 = call i64 @FUNC(i64 %17)
%24 = trunc i64 %23 to i32
%25 = udiv i32 %24, 8
%26 = add i64 %3, 4
%27 = inttoptr i64 %26 to i32*
store i32 %25, i32* %27, align 4
%28 = load i32, i32* %5, align 8
%29 = icmp ugt i32 %25, %28
%spec.store.select = select i1 %29, i32 %28, i32 %25
store i32 %spec.store.select, i32* %27, align 4
%30 = bitcast i64* %rdx to i32*
%31 = load i32, i32* %30, align 8
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_3, label LBL_2
LBL_2:
store i32 %21, i32* %7, align 4
br label LBL_3
LBL_3:
%34 = icmp eq i32 %21, 1
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_5, label LBL_4
LBL_4:
store i32 0, i32* %27, align 4
%36 = add i64 %4, 8
%37 = inttoptr i64 %36 to i16*
store i16 0, i16* %37, align 2
%38 = add i64 %4, 12
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = add i64 %3, 8
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
%43 = add i64 %4, 16
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = add i64 %3, 12
%47 = inttoptr i64 %46 to i32*
store i32 %45, i32* %47, align 4
br label LBL_5
LBL_5:
%48 = call i64 @FUNC(i64 %4, i64 2)
store i64 %48, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%49 = trunc i64 %1 to i32
%50 = add i64 %3, 8
%51 = inttoptr i64 %50 to i32*
store i32 %49, i32* %51, align 4
%52 = add i64 %4, 4
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = add i64 %3, 12
%56 = inttoptr i64 %55 to i32*
store i32 %54, i32* %56, align 4
%57 = add i64 %3, 16
%58 = inttoptr i64 %57 to i32*
store i32 3, i32* %58, align 4
store i32 0, i32* %7, align 4
%59 = call i64 @FUNC(i64 %17)
%60 = trunc i64 %59 to i32
%61 = udiv i32 %60, 8
%62 = add i64 %3, 4
%63 = inttoptr i64 %62 to i32*
store i32 %61, i32* %63, align 4
%64 = load i32, i32* %5, align 8
%65 = icmp ugt i32 %61, %64
%spec.store.select2 = select i1 %65, i32 %64, i32 %61
store i32 %spec.store.select2, i32* %63, align 4
%66 = add i64 %3, 20
%67 = inttoptr i64 %66 to i32*
store i32 0, i32* %67, align 4
%68 = add i64 %4, 8
%69 = inttoptr i64 %68 to i16*
store i16 1, i16* %69, align 2
store i64 %4, 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 %61, { 2, 1, 0 }
uselistorder i32 %25, { 2, 1, 0 }
uselistorder i32 %21, { 1, 0, 2, 3 }
uselistorder i64 %17, { 1, 0, 2 }
uselistorder i32 %spec.select, { 1, 0 }
uselistorder i32* %7, { 2, 0, 1, 3 }
uselistorder i32 %6, { 1, 0 }
uselistorder i32* %5, { 1, 0 }
uselistorder i64 %4, { 0, 5, 6, 4, 1, 2, 3, 7, 9, 8 }
uselistorder i64 %3, { 3, 4, 5, 6, 7, 0, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @impeg2d_bit_stream_num_bits_read, { 1, 0 }
} | 1 |
BinRealVul | rgb24tobgr32_2035 | rgb24tobgr32 | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = icmp sgt i64 %arg3, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %0, label LBL_1, label LBL_3
LBL_1:
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i32* %arg1 to i64
store i64 0, i64* %.reg2mem
store i64 0, i64* %storemerge2.reg2mem
br label LBL_2
LBL_2:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%3 = add i64 %.reload, %2
%4 = add i64 %3, 2
%5 = mul i64 %storemerge2.reload, 4
%6 = add i64 %5, %1
%7 = inttoptr i64 %4 to i8*
%8 = load i8, i8* %7, align 1
%9 = inttoptr i64 %6 to i8*
store i8 %8, i8* %9, align 1
%10 = add i64 %3, 1
%11 = or i64 %5, 1
%12 = add i64 %11, %1
%13 = inttoptr i64 %10 to i8*
%14 = load i8, i8* %13, align 1
%15 = inttoptr i64 %12 to i8*
store i8 %14, i8* %15, align 1
%16 = or i64 %5, 2
%17 = add i64 %16, %1
%18 = inttoptr i64 %3 to i8*
%19 = load i8, i8* %18, align 1
%20 = inttoptr i64 %17 to i8*
store i8 %19, i8* %20, align 1
%21 = or i64 %5, 3
%22 = add i64 %21, %1
%23 = inttoptr i64 %22 to i8*
store i8 0, i8* %23, align 1
%24 = add i64 %storemerge2.reload, 1
%25 = mul i64 %24, 3
%26 = icmp slt i64 %25, %arg3
store i64 %25, i64* %.reg2mem
store i64 %24, i64* %storemerge2.reg2mem
store i64 %25, i64* %.lcssa.reg2mem
br i1 %26, label LBL_2, label LBL_3
LBL_3:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %5, { 2, 1, 0, 3 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | get_unused_buffer_15239 | get_unused_buffer | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %arg3, i64 1)
ret i64 0
} | 1 |
BinRealVul | seqvideo_decode_init_3201 | seqvideo_decode_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
store i32 1, i32* %2, align 4
%3 = call i64 @FUNC(i64 %0, i64 256, i64 128)
%4 = trunc i64 %3 to i32
%5 = icmp slt i32 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %3, 4294967295
store i64 %7, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%8 = call i64 @FUNC()
%9 = inttoptr i64 %1 to i64*
store i64 %8, i64* %9, align 8
%10 = icmp eq i64 %8, 0
%11 = icmp eq i1 %10, false
%. = select i1 %11, i64 0, i64 4294967284
store i64 %., i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
BinRealVul | DumpRawUIConfig_6354 | DumpRawUIConfig | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdx.3.lcssa.reg2mem = alloca i64
%rcx.1.lcssa.reg2mem = alloca i64
%rdx.2.lcssa.reg2mem = alloca i64
%rcx.0.lcssa.reg2mem = alloca i64
%rdx.1.reg2mem = alloca i64
%storemerge36.reg2mem = alloca i32
%rdx.0.lcssa.reg2mem = alloca i64
%.reg2mem23 = alloca i64
%rcx.19.reg2mem = alloca i64
%rdx.310.reg2mem = alloca i64
%storemerge11.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i64
%storemerge414.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%3 = ptrtoint i64* %sv_2 to i64
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i64 %2, i64 %7, i64 1)
%9 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %arg3, i32 %arg4)
%10 = call i64 @FUNC(i64 %8, i64 8)
%sext5 = mul i64 %10, 4294967296
%11 = ashr exact i64 %sext5, 32
%12 = icmp eq i64 %sext5, 0
%.pre = add i64 %3, -304
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge414.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%storemerge414.reload = load i32, i32* %storemerge414.reg2mem
%.reload = load i64, i64* %.reg2mem
%13 = call i64 @FUNC(i64 %8, i64 8)
%14 = trunc i64 %13 to i8
%15 = add i64 %.reload, %.pre
%16 = inttoptr i64 %15 to i8*
store i8 %14, i8* %16, align 1
%17 = add i32 %storemerge414.reload, 1
%18 = zext i32 %17 to i64
%19 = icmp ugt i64 %11, %18
store i64 %18, i64* %.reg2mem
store i32 %17, i32* %storemerge414.reg2mem
store i64 %18, i64* %.lcssa.reg2mem
br i1 %19, label LBL_1, label LBL_2
LBL_2:
%20 = add i32 %arg3, 1
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%21 = add i64 %.lcssa.reload, %.pre
%22 = inttoptr i64 %21 to i8*
store i8 0, i8* %22, align 1
%23 = zext i32 %arg4 to i64
%24 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i32 %20, i64 %23)
%25 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_5, label LBL_3
LBL_3:
%29 = call i64 @FUNC(i64 %8)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_5, label LBL_4
LBL_4:
%32 = call i64 @FUNC(i64 %8, i64 8)
%sext = mul i64 %32, 72057594037927936
%33 = ashr exact i64 %sext, 56
store i64 %33, i64* %sv_1, align 8
%34 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i32 %20, i64 %23)
%35 = call i64 @FUNC(i64 %8, i64 8)
%sext2 = mul i64 %35, 72057594037927936
%36 = ashr exact i64 %sext2, 56
store i64 %36, i64* %sv_1, align 8
%37 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i32 %20, i64 %23)
br label LBL_5
LBL_5:
%38 = call i64 @FUNC(i64 %8)
%39 = and i64 %38, 4294967295
%40 = icmp eq i64 %39, 0
br i1 %40, label LBL_27, label LBL_6
LBL_6:
%41 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0))
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_26, label LBL_7
LBL_7:
%45 = zext i32 %20 to i64
%46 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i32 %20, i32 %arg4)
%47 = icmp eq i32 %arg4, 0
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_9, label LBL_8
LBL_8:
%49 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_7, i64 %45, i64 %23, i64 %23, i64 %1)
br label LBL_9
LBL_9:
%50 = call i64 @FUNC(i64 %arg2, i64* bitcast ([5 x i8]* @gv_8 to i64*), i64 %45, i64 %23, i64 %23, i64 %1)
%51 = call i64 @FUNC(i64 %8, i64 8)
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 0
store i64 %23, i64* %rcx.1.lcssa.reg2mem
store i64 %45, i64* %rdx.3.lcssa.reg2mem
br i1 %53, label LBL_23, label LBL_10
LBL_10:
%54 = ptrtoint i64* %sv_0 to i64
store i32 0, i32* %storemerge11.reg2mem
store i64 %45, i64* %rdx.310.reg2mem
store i64 %23, i64* %rcx.19.reg2mem
br label LBL_11
LBL_11:
%rcx.19.reload = load i64, i64* %rcx.19.reg2mem
%rdx.310.reload = load i64, i64* %rdx.310.reg2mem
%storemerge11.reload = load i32, i32* %storemerge11.reg2mem
%55 = call i64 @FUNC(i64 %8, i64 8)
%56 = icmp eq i32 %storemerge11.reload, 0
br i1 %56, label LBL_13, label LBL_12
LBL_12:
%57 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_9, i64 %rdx.310.reload, i64 %rcx.19.reload, i64 %23, i64 %1)
br label LBL_13
LBL_13:
%58 = call i64 @FUNC(i64 %8, i64 8)
%59 = trunc i64 %58 to i32
%60 = icmp eq i32 %59, 0
%61 = icmp eq i1 %60, false
store i64 %58, i64* %.reg2mem23
store i64 %rdx.310.reload, i64* %rdx.0.lcssa.reg2mem
br i1 %61, label LBL_14, label LBL_15
LBL_14:
%.reload24 = load i64, i64* %.reg2mem23
%62 = and i64 %.reload24, 4294967295
%63 = call i64 @FUNC(i64 %arg2, i64* bitcast ([3 x i8]* @gv_10 to i64*), i64 %62, i64 %rcx.19.reload, i64 %23, i64 %1)
%64 = call i64 @FUNC(i64 %8, i64 8)
%65 = trunc i64 %64 to i32
%66 = icmp eq i32 %65, 0
%67 = icmp eq i1 %66, false
store i64 %64, i64* %.reg2mem23
store i64 %62, i64* %rdx.0.lcssa.reg2mem
br i1 %67, label LBL_14, label LBL_15
LBL_15:
%68 = trunc i64 %55 to i32
%rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem
%69 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_11, i64 %rdx.0.lcssa.reload, i64 %rcx.19.reload, i64 %23, i64 %1)
%70 = icmp eq i32 %68, 0
store i32 0, i32* %storemerge36.reg2mem
store i64 %rcx.19.reload, i64* %rcx.0.lcssa.reg2mem
store i64 %rdx.0.lcssa.reload, i64* %rdx.2.lcssa.reg2mem
br i1 %70, label LBL_22, label LBL_16
LBL_16:
%storemerge36.reload = load i32, i32* %storemerge36.reg2mem
%71 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i64 2)
%72 = icmp eq i32 %storemerge36.reload, 0
br i1 %72, label LBL_18, label LBL_17
LBL_17:
%73 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_11, i64 2, i64 %54, i64 %23, i64 %1)
br label LBL_18
LBL_18:
%74 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0))
%75 = trunc i64 %74 to i32
%76 = icmp eq i32 %75, 0
%77 = icmp eq i1 %76, false
br i1 %77, label LBL_20, label LBL_19
LBL_19:
%78 = call i64 @FUNC(i64 %arg2, i64* bitcast ([4 x i8]* @gv_13 to i64*), i64 2, i64 %54, i64 %23, i64 %1)
store i64 2, i64* %rdx.1.reg2mem
br label LBL_21
LBL_20:
%79 = call i64 @FUNC(i64 %arg2, i64* bitcast ([3 x i8]* @gv_14 to i64*), i64 %54, i64 %54, i64 %23, i64 %1)
store i64 %54, i64* %rdx.1.reg2mem
br label LBL_21
LBL_21:
%rdx.1.reload = load i64, i64* %rdx.1.reg2mem
%80 = add nuw i32 %storemerge36.reload, 1
%exitcond = icmp eq i32 %80, %68
store i32 %80, i32* %storemerge36.reg2mem
store i64 %54, i64* %rcx.0.lcssa.reg2mem
store i64 %rdx.1.reload, i64* %rdx.2.lcssa.reg2mem
br i1 %exitcond, label LBL_22, label LBL_16
LBL_22:
%rdx.2.lcssa.reload = load i64, i64* %rdx.2.lcssa.reg2mem
%rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem
%81 = add nuw i32 %storemerge11.reload, 1
%exitcond18 = icmp eq i32 %81, %52
store i32 %81, i32* %storemerge11.reg2mem
store i64 %rdx.2.lcssa.reload, i64* %rdx.310.reg2mem
store i64 %rcx.0.lcssa.reload, i64* %rcx.19.reg2mem
store i64 %rcx.0.lcssa.reload, i64* %rcx.1.lcssa.reg2mem
store i64 %rdx.2.lcssa.reload, i64* %rdx.3.lcssa.reg2mem
br i1 %exitcond18, label LBL_23, label LBL_11
LBL_23:
br i1 %48, label LBL_25, label LBL_24
LBL_24:
%rdx.3.lcssa.reload = load i64, i64* %rdx.3.lcssa.reg2mem
%rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem
%82 = call i64 @FUNC(i64 %arg2, i64* nonnull @gv_7, i64 %rdx.3.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %23, i64 %1)
br label LBL_25
LBL_25:
%83 = call i64 @FUNC(i64 %arg2, i64 %45, i32 %arg4)
br label LBL_27
LBL_26:
%84 = ptrtoint i64* %sv_1 to i64
%85 = call i64 @FUNC(i64 %8)
%86 = and i64 %85, 4294967295
%87 = add i64 %86, %84
%88 = zext i32 %20 to i64
%89 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %87, i64 %39, i64 %88, i64 %23)
br label LBL_27
LBL_27:
%90 = zext i32 %arg3 to i64
%91 = call i64 @FUNC(i64 %arg2, i64 %90, i32 %arg4)
%92 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %arg3, i32 %arg4)
%93 = call i64 @FUNC(i64 %8)
ret i64 0
uselistorder i64 %rcx.19.reload, { 0, 2, 3, 1 }
uselistorder i64 %54, { 0, 1, 4, 5, 3, 2 }
uselistorder i64 %45, { 2, 1, 0, 4, 3 }
uselistorder i64 %23, { 15, 9, 5, 6, 7, 4, 3, 8, 1, 0, 2, 13, 10, 14, 11, 12, 16 }
uselistorder i32 %20, { 4, 3, 2, 0, 1, 5 }
uselistorder i64 %sext5, { 1, 0 }
uselistorder i64 %8, { 9, 8, 4, 5, 0, 6, 7, 10, 1, 2, 3, 11, 12 }
uselistorder i64* %sv_1, { 5, 0, 1, 6, 2, 7, 3, 4 }
uselistorder i64 %1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge414.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdx.310.reg2mem, { 1, 0, 2 }
uselistorder i64* %rcx.19.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem23, { 2, 0, 1 }
uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 }
uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 }
uselistorder i64 2, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @gf_fprintf, { 2, 8, 7, 6, 4, 5, 3, 1, 0 }
uselistorder i64 4294967295, { 1, 0, 2 }
uselistorder i64 (i64)* @gf_bs_available, { 1, 0 }
uselistorder i1 false, { 1, 2, 0, 3, 4, 5 }
uselistorder i64 (i64*, i8*)* @stricmp, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64*, i32, i64)* @DumpString, { 2, 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i64 (i64, i64)* @gf_bs_read_int, { 7, 0, 6, 5, 3, 2, 4, 1 }
uselistorder i64 8, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }
uselistorder i32 %arg4, { 4, 3, 0, 1, 2, 5, 6 }
uselistorder i32 %arg3, { 1, 0, 3, 2 }
uselistorder i64 %arg2, { 15, 14, 13, 4, 3, 8, 7, 6, 9, 10, 5, 11, 2, 12, 0, 1, 16, 17 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | packet_put_7059 | packet_put | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = load i32, i32* @gv_0, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 %0)
br label LBL_3
LBL_2:
%4 = call i64 @FUNC(i64 %0)
br label LBL_3
LBL_3:
%5 = trunc i64 %0 to i8
%6 = urem i64 %0, 256
%7 = icmp eq i8 %5, 20
%8 = icmp eq i1 %7, false
store i64 %6, i64* %rax.0.reg2mem
br i1 %8, label LBL_6, label LBL_4
LBL_4:
%9 = load i32, i32* @gv_1, align 4
%10 = urem i32 %9, 2
%11 = icmp eq i32 %10, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_6, label LBL_5
LBL_5:
store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8
store i64 1, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
BinRealVul | _slurm_api_get_comm_config_17828 | _slurm_api_get_comm_config | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%.reg2mem6 = alloca i32
%storemerge3.reg2mem = alloca i32
%.reg2mem4 = alloca i64
%.reg2mem = alloca i32
%sv_1 = alloca i32, align 4
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = inttoptr i64 %6 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_12
LBL_4:
%13 = add i64 %0, 16
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_12
LBL_6:
%19 = zext i32 %15 to i64
%20 = bitcast i32* %sv_1 to i64*
%21 = call i64 @FUNC(i64* nonnull %20, i64 %19, i64 %9)
%22 = load i32, i32* %sv_1, align 4
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_8, label LBL_7
LBL_7:
%25 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_12
LBL_8:
%26 = call i64 @FUNC(i64 16)
%27 = load i32, i32* %1, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 4
%30 = call i64 @FUNC(i64 %29)
%31 = inttoptr i64 %26 to i64*
store i64 %30, i64* %31, align 8
%32 = load i32, i32* %1, align 4
%33 = add i64 %26, 8
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = load i64, i64* %31, align 8
%36 = load i32, i32* %sv_1, align 4
%37 = inttoptr i64 %35 to i32*
store i32 %36, i32* %37, align 4
%38 = load i32, i32* %34, align 4
%39 = icmp ugt i32 %38, 1
store i32 %38, i32* %.reg2mem
store i64 1, i64* %.reg2mem4
store i32 1, i32* %storemerge3.reg2mem
store i64 %26, i64* %sv_0.0.reg2mem
br i1 %39, label LBL_9, label LBL_12
LBL_9:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload5 = load i64, i64* %.reg2mem4
%.reload = load i32, i32* %.reg2mem
%40 = load i64, i64* %5, align 8
%41 = mul i64 %.reload5, 8
%42 = add i64 %40, %41
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = icmp eq i64 %44, 0
store i32 %.reload, i32* %.reg2mem6
br i1 %45, label LBL_11, label LBL_10
LBL_10:
%46 = load i32, i32* %14, align 4
%47 = load i64, i64* %31, align 8
%48 = mul i64 %.reload5, 4
%49 = add i64 %47, %48
%50 = zext i32 %46 to i64
%51 = inttoptr i64 %49 to i64*
%52 = call i64 @FUNC(i64* %51, i64 %50, i64 %44)
%.pre = load i32, i32* %34, align 4
store i32 %.pre, i32* %.reg2mem6
br label LBL_11
LBL_11:
%.reload7 = load i32, i32* %.reg2mem6
%53 = add i32 %storemerge3.reload, 1
%54 = zext i32 %.reload7 to i64
%55 = sext i32 %53 to i64
%56 = icmp slt i64 %55, %54
store i32 %.reload7, i32* %.reg2mem
store i64 %55, i64* %.reg2mem4
store i32 %53, i32* %storemerge3.reg2mem
store i64 %26, i64* %sv_0.0.reg2mem
br i1 %56, label LBL_9, label LBL_12
LBL_12:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%57 = call i64 @FUNC()
ret i64 %sv_0.0.reload
uselistorder i32 %.reload7, { 1, 0 }
uselistorder i64 %.reload5, { 1, 0 }
uselistorder i32* %sv_1, { 1, 0, 2 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem4, { 2, 0, 1 }
uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem6, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 4, 3, 5 }
uselistorder i64 (i64)* @xmalloc, { 1, 0 }
uselistorder i64 (i64*, i64, i64)* @slurm_set_addr, { 1, 0 }
uselistorder i64 (i8*)* @error, { 3, 2, 1, 0 }
uselistorder i32 1, { 10, 3, 7, 9, 6, 5, 4, 2, 1, 8, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
BinRealVul | mif_hdr_addcmpt_10867 | mif_hdr_addcmpt | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi.1.reg2mem = alloca i64
%.reg2mem2 = alloca i32
%rdi.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%sext = mul i64 %arg2, 4294967296
%5 = ashr exact i64 %sext, 32
%6 = icmp slt i64 %5, %4
store i32 %3, i32* %.reg2mem
store i64 %0, i64* %rdi.0.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
%.pre = load i32, i32* %2, align 4
store i32 %.pre, i32* %.reg2mem
store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%.reload = load i32, i32* %.reg2mem
%7 = add i64 %0, 12
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp ult i32 %.reload, %9
store i32 %.reload, i32* %.reg2mem2
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br i1 %10, label LBL_5, label LBL_3
LBL_3:
%11 = add i32 %.reload, 128
%12 = zext i32 %11 to i64
%13 = call i64 @FUNC(i64 %0, i64 %12)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %15, label LBL_3.LBL_5_crit_edge, label LBL_6
LBL_4:
%.pre1 = load i32, i32* %2, align 4
store i32 %.pre1, i32* %.reg2mem2
store i64 %0, i64* %rdi.1.reg2mem
br label LBL_5
LBL_5:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%.reload3 = load i32, i32* %.reg2mem2
%16 = sext i32 %.reload3 to i64
%17 = mul i64 %16, 8
%18 = add i64 %17, %rdi.1.reload
%19 = inttoptr i64 %18 to i64*
store i64 %arg3, i64* %19, align 8
%20 = load i32, i32* %2, align 4
%21 = add i32 %20, 1
store i32 %21, i32* %2, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %.reload, { 1, 0, 2 }
uselistorder i32* %2, { 3, 2, 0, 1, 4 }
uselistorder i64 %0, { 0, 3, 2, 1, 4 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder [24 x i8]* @gv_0, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | ff_xvmc_init_block_177 | ff_xvmc_init_block | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = inttoptr i64 %3 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 305419896
br i1 %7, label LBL_3, label LBL_2
LBL_2:
call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))
br label LBL_3
LBL_3:
%8 = add i64 %3, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = add i64 %3, 16
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = mul i32 %13, 64
%15 = sext i32 %14 to i64
%16 = add i64 %10, %15
%17 = add i64 %0, 24
%18 = inttoptr i64 %17 to i64*
store i64 %16, i64* %18, align 8
ret i64 %0
} | 0 |
BinRealVul | cpu_get_dump_info_17202 | cpu_get_dump_info | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
ret i64 4294967295
} | 1 |
BinRealVul | vvalue_tvb_vector_6189 | vvalue_tvb_vector | define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg3 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = zext i32 %arg2 to i64
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = add i32 %arg2, 4
%6 = zext i32 %5 to i64
%7 = and i64 %4, 4294967295
%8 = call i64 @FUNC(i64 %2, i64 %6, i64 %1, i64 %0, i64 %7)
%9 = add i64 %8, 4
%10 = and i64 %9, 4294967295
ret i64 %10
} | 0 |
BinRealVul | checkout_data_clear_3780 | checkout_data_clear | 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, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
store i64 0, i64* %6, align 8
br label LBL_2
LBL_2:
%9 = add i64 %2, 16
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %2, 24
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %2, 32
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %2, 40
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %2, 48
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 %19)
store i64 0, i64* %18, align 8
%21 = add i64 %2, 56
%22 = call i64 @FUNC(i64 %21)
%23 = add i64 %2, 64
%24 = call i64 @FUNC(i64 %23)
%25 = add i64 %2, 72
%26 = call i64 @FUNC(i64 %25)
%27 = add i64 %2, 80
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %29)
store i64 0, i64* %28, align 8
ret i64 %2
uselistorder i64 %2, { 1, 0, 4, 3, 2, 6, 5, 9, 8, 7, 10 }
uselistorder i64 (i64)* @git_buf_free, { 2, 1, 0 }
uselistorder i64 (i64)* @git_vector_free_deep, { 1, 0 }
} | 0 |
BinRealVul | rpc_type_of_NPNVariable_12091 | rpc_type_of_NPNVariable | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp sgt i32 %0, 9
br i1 %1, label LBL_5, label LBL_1
LBL_1:
%2 = icmp sgt i32 %0, 7
store i64 12, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_6, label LBL_2
LBL_2:
%3 = icmp sgt i32 %0, 5
br i1 %3, label LBL_4, label LBL_3
LBL_3:
%4 = icmp eq i32 %0, 0
%5 = icmp slt i32 %0, 0
%6 = icmp eq i1 %5, false
%7 = icmp eq i1 %4, false
%8 = icmp eq i1 %6, %7
store i64 10, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_6, label LBL_5
LBL_4:
%9 = or i32 %0, 1
%10 = icmp eq i32 %9, 7
store i64 11, i64* %sv_0.0.reg2mem
br i1 %10, label LBL_6, label LBL_5
LBL_5:
store i64 4294967295, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i32 %0, { 4, 2, 3, 1, 0, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_6, { 3, 1, 2, 0 }
uselistorder label LBL_5, { 1, 0, 2 }
} | 1 |
BinRealVul | gen_adc_1161 | gen_adc | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = and i64 %arg2, 4294967295
%1 = and i64 %arg1, 4294967295
%2 = call i64 @FUNC(i64 %1, i64 %1, i64 %0)
%3 = call i64 @FUNC(i64 0)
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %1, i64 %1, i64 %4)
%6 = call i64 @FUNC(i64 %4)
ret i64 %6
uselistorder i64 %1, { 1, 0, 3, 2 }
uselistorder i64 (i64, i64, i64)* @tcg_gen_add_i32, { 1, 0 }
} | 0 |
BinRealVul | ftrace_allocate_records_9081 | ftrace_allocate_records | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%0 = trunc i64 %arg2 to i32
%1 = icmp eq i32 %0, 0
%2 = zext i1 %1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_4
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%7 = ashr exact i64 %sext, 32
%8 = and i64 %7, 4294967295
%9 = call i64 @FUNC(i64 %8, i64 64)
%10 = and i64 %9, 4294967295
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = add nsw i64 %7, 63
%14 = and i64 %13, 4294967295
store i32 %12, i32* %storemerge6.reg2mem
br label LBL_2
LBL_2:
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%15 = urem i32 %storemerge6.reload, 32
%16 = shl i32 4096, %15
%17 = add i32 %16, 63
%18 = icmp slt i32 %16, 0
%19 = select i1 %18, i32 %17, i32 %16
%20 = ashr i32 %19, 6
%21 = zext i32 %20 to i64
%22 = icmp ult i64 %14, %21
%23 = add i32 %storemerge6.reload, -1
store i32 %23, i32* %storemerge6.reg2mem
br i1 %22, label LBL_2, label LBL_3
LBL_3:
%24 = zext i32 %storemerge6.reload to i64
%25 = call i64 @FUNC(i64 1, i64 %24)
store i64 %25, i64* %arg1, align 8
%26 = add i64 %6, 8
%27 = inttoptr i64 %26 to i32*
store i32 %20, i32* %27, align 4
%28 = trunc i64 %7 to i32
%29 = icmp sgt i32 %20, %28
%spec.select = select i1 %29, i64 %7, i64 %21
%30 = and i64 %spec.select, 4294967295
store i64 %30, 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 %20, { 1, 0, 2 }
uselistorder i32 %storemerge6.reload, { 1, 0, 2 }
uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | qemu_system_reset_request_1185 | qemu_system_reset_request | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i8, i8* bitcast (i64* @gv_0 to i8*), align 8
%1 = icmp eq i8 %0, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
store i32 1, i32* bitcast (i64* @gv_1 to i32*), align 8
br label LBL_3
LBL_2:
store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8
br label LBL_3
LBL_3:
%2 = call i64 @FUNC()
%3 = call i64 @FUNC()
ret i64 %3
uselistorder i32 1, { 2, 3, 1, 0 }
uselistorder i8 0, { 1, 0 }
} | 0 |
BinRealVul | Curl_cookie_list_9018 | Curl_cookie_list | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_7, 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 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
store i64 %1, i64* %storemerge4.reg2mem
store i64 0, i64* %sv_0.03.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_2, label LBL_7
LBL_2:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%7 = call i64 @FUNC(i64 %storemerge4.reload)
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %sv_0.03.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%11 = call i64 @FUNC(i64 %sv_0.03.reload, i64 %7)
%12 = inttoptr i64 %7 to i64*
call void @free(i64* %12)
%13 = icmp eq i64 %11, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_6, label LBL_5
LBL_5:
%15 = call i64 @FUNC(i64 %sv_0.03.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%16 = add i64 %storemerge4.reload, 16
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
store i64 %18, i64* %storemerge4.reg2mem
store i64 %11, i64* %sv_0.03.reg2mem
store i64 %11, i64* %rax.0.reg2mem
br i1 %20, label LBL_2, label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64 %sv_0.03.reload, { 2, 0, 1 }
uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2 }
uselistorder void (i64*)* @free, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_7, { 0, 3, 4, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | nr_find_socket_8375 | nr_find_socket | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC(i64* nonnull @gv_0)
%storemerge3 = load i64, i64* @gv_1, align 8
%3 = icmp eq i64 %storemerge3, 0
%4 = icmp eq i1 %3, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %4, label LBL_1, label LBL_6
LBL_1:
%5 = trunc i64 %arg1 to i8
%6 = trunc i64 %arg2 to i8
store i64 %storemerge3, i64* %storemerge4.reg2mem
br label LBL_2
LBL_2:
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%7 = call i64 @FUNC(i64 %1)
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = icmp eq i8 %9, %5
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_5, label LBL_3
LBL_3:
%12 = add i64 %7, 1
%13 = inttoptr i64 %12 to i8*
%14 = load i8, i8* %13, align 1
%15 = icmp eq i8 %14, %6
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = call i64 @FUNC(i64 %1)
br label LBL_6
LBL_5:
%18 = inttoptr i64 %storemerge4.reload to i64*
%storemerge = load i64, i64* %18, align 8
%19 = icmp eq i64 %storemerge, 0
%20 = icmp eq i1 %19, false
store i64 %storemerge, i64* %storemerge4.reg2mem
store i64 0, i64* %sv_0.0.reg2mem
br i1 %20, label LBL_2, label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%21 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %sv_0.0.reload
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 3, 1, 2, 0 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_6, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
reposvul_c_test | IsTIFF_113 | IsTIFF | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp ult i64 %arg2, 4
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_3, label LBL_1
LBL_1:
%1 = bitcast i32* %arg1 to i64*
%2 = call i32 @memcmp(i64* %1, i64* bitcast ([3 x i8]* @gv_0 to i64*), i32 4)
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 1, i64* %rax.0.reg2mem
br i1 %4, label LBL_2, label LBL_3
LBL_2:
%5 = call i32 @memcmp(i64* %1, i64* bitcast ([4 x i8]* @gv_1 to i64*), i32 4)
%6 = icmp eq i32 %5, 0
%. = zext i1 %6 to i64
store i64 %., i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
BinRealVul | mp_copy_5314 | mp_copy | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem24 = alloca i32
%sv_0.03.reg2mem = alloca i32
%rbx.14.reg2mem = alloca i64
%storemerge.lcssa.reg2mem = alloca i32
%rbx.0.lcssa.reg2mem = alloca i64
%.reg2mem22 = alloca i32
%.reg2mem20 = alloca i32
%.pre-phi.reg2mem = alloca i32*
%.reg2mem18 = alloca i64
%rbx.05.reg2mem = alloca i64
%r12.06.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i32
%.reg2mem16 = alloca i64
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = icmp ne i32* %arg1, null
%4 = icmp eq i64* %arg2, null
%5 = icmp eq i1 %4, false
%or.cond = icmp eq i1 %3, %5
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_15
LBL_1:
%6 = bitcast i32* %arg1 to i64*
%7 = icmp eq i64* %6, %arg2
%8 = icmp eq i1 %7, false
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_15
LBL_2:
%9 = ptrtoint i64* %arg2 to i64
%10 = trunc i64 %1 to i32
%11 = add i64 %9, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = bitcast i64* %rdi to i32*
%15 = icmp ult i32 %13, %10
br i1 %15, label LBL_3, label LBL_6
LBL_3:
%16 = and i64 %1, 4294967295
%17 = call i64 @FUNC(i64 %9, i64 %16)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_4, label LBL_5
LBL_4:
%20 = ptrtoint i32* %arg1 to i64
%21 = add i64 %9, 16
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
store i64 %23, i64* %.reg2mem
store i64 %20, i64* %.reg2mem16
br label LBL_8
LBL_5:
%24 = and i64 %17, 4294967295
store i64 %24, i64* %rax.0.reg2mem
br label LBL_15
LBL_6:
%25 = ptrtoint i32* %arg1 to i64
%26 = add i64 %9, 16
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = icmp eq i32 %10, 0
store i64 %28, i64* %.reg2mem
store i64 %25, i64* %.reg2mem16
br i1 %29, label LBL_6.LBL_11_crit_edge, label LBL_8
LBL_7:
%30 = trunc i64 %2 to i32
%.pre11 = bitcast i64* %rsi to i32*
store i64 %25, i64* %.reg2mem18
store i32* %.pre11, i32** %.pre-phi.reg2mem
store i32 0, i32* %.reg2mem20
store i32 %30, i32* %.reg2mem22
store i64 %28, i64* %rbx.0.lcssa.reg2mem
store i32 0, i32* %storemerge.lcssa.reg2mem
br label LBL_11
LBL_8:
%.reload17 = load i64, i64* %.reg2mem16
%.reload = load i64, i64* %.reg2mem
%31 = add i64 %.reload17, 16
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
store i32 0, i32* %storemerge7.reg2mem
store i64 %33, i64* %r12.06.reg2mem
store i64 %.reload, i64* %rbx.05.reg2mem
br label LBL_9
LBL_9:
%rbx.05.reload = load i64, i64* %rbx.05.reg2mem
%r12.06.reload = load i64, i64* %r12.06.reg2mem
%storemerge7.reload = load i32, i32* %storemerge7.reg2mem
%34 = add i64 %r12.06.reload, 4
%35 = add i64 %rbx.05.reload, 4
%36 = inttoptr i64 %r12.06.reload to i32*
%37 = load i32, i32* %36, align 4
%38 = inttoptr i64 %rbx.05.reload to i32*
store i32 %37, i32* %38, align 4
%39 = add i32 %storemerge7.reload, 1
%40 = load i32, i32* %14, align 8
%41 = zext i32 %40 to i64
%42 = sext i32 %39 to i64
%43 = icmp slt i64 %42, %41
store i32 %39, i32* %storemerge7.reg2mem
store i64 %34, i64* %r12.06.reg2mem
store i64 %35, i64* %rbx.05.reg2mem
br i1 %43, label LBL_9, label LBL_10
LBL_10:
%.phi.trans.insert = bitcast i64* %rsi to i32*
%.pre = load i32, i32* %.phi.trans.insert, align 8
store i64 %.reload17, i64* %.reg2mem18
store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem
store i32 %40, i32* %.reg2mem20
store i32 %.pre, i32* %.reg2mem22
store i64 %35, i64* %rbx.0.lcssa.reg2mem
store i32 %39, i32* %storemerge.lcssa.reg2mem
br label LBL_11
LBL_11:
%storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem
%rbx.0.lcssa.reload = load i64, i64* %rbx.0.lcssa.reg2mem
%.reload23 = load i32, i32* %.reg2mem22
%.reload21 = load i32, i32* %.reg2mem20
%.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem
%.reload19 = load i64, i64* %.reg2mem18
%44 = zext i32 %.reload23 to i64
%45 = sext i32 %storemerge.lcssa.reload to i64
%46 = icmp slt i64 %45, %44
store i64 %rbx.0.lcssa.reload, i64* %rbx.14.reg2mem
store i32 %storemerge.lcssa.reload, i32* %sv_0.03.reg2mem
store i32 %.reload21, i32* %.reg2mem24
br i1 %46, label LBL_12, label LBL_14
LBL_12:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%rbx.14.reload = load i64, i64* %rbx.14.reg2mem
%47 = add i64 %rbx.14.reload, 4
%48 = inttoptr i64 %rbx.14.reload to i32*
store i32 0, i32* %48, align 4
%49 = add i32 %sv_0.03.reload, 1
%50 = load i32, i32* %.pre-phi.reload, align 8
%51 = zext i32 %50 to i64
%52 = sext i32 %49 to i64
%53 = icmp slt i64 %52, %51
store i64 %47, i64* %rbx.14.reg2mem
store i32 %49, i32* %sv_0.03.reg2mem
br i1 %53, label LBL_12, label LBL_13
LBL_13:
%.pre10 = load i32, i32* %14, align 8
store i32 %.pre10, i32* %.reg2mem24
br label LBL_14
LBL_14:
%.reload25 = load i32, i32* %.reg2mem24
%54 = bitcast i64* %arg2 to i32*
store i32 %.reload25, i32* %54, align 4
%55 = add i64 %.reload19, 8
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = add i64 %9, 8
%59 = inttoptr i64 %58 to i32*
store i32 %57, i32* %59, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %9, { 1, 2, 0, 3, 4 }
uselistorder i64* %rsi, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }
uselistorder i64* %r12.06.reg2mem, { 1, 0, 2 }
uselistorder i64* %rbx.05.reg2mem, { 1, 0, 2 }
uselistorder i64* %rbx.14.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem24, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 16, { 2, 1, 0, 3 }
uselistorder i64* %arg2, { 1, 3, 2, 0 }
uselistorder i32* %arg1, { 2, 0, 1, 3 }
uselistorder label LBL_15, { 2, 3, 0, 1 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
BinRealVul | init_tg_cfs_entry_18792 | init_tg_cfs_entry | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = zext i32 %arg4 to i64
%4 = call i64 @FUNC(i64 %3)
store i64 %2, i64* %arg2, align 8
%5 = add i64 %1, 8
%6 = inttoptr i64 %5 to i64*
store i64 %4, i64* %6, align 8
%7 = call i64 @FUNC(i64 %1)
%8 = sext i32 %arg4 to i64
%9 = mul i64 %8, 8
%10 = add i64 %9, %1
%11 = inttoptr i64 %10 to i64*
store i64 %1, i64* %11, align 8
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %14, %9
%16 = inttoptr i64 %15 to i64*
store i64 %0, i64* %16, align 8
%17 = icmp eq i64* %arg3, null
br i1 %17, label LBL_4, label LBL_1
LBL_1:
%18 = ptrtoint i64* %arg5 to i64
%19 = icmp eq i64* %arg5, null
%20 = icmp eq i1 %19, false
store i64 %4, i64* %storemerge.reg2mem
br i1 %20, label LBL_2, label LBL_3
LBL_2:
%21 = add i64 %18, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
store i64 %23, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
store i64 %storemerge.reload, i64* %arg3, align 8
%24 = add i64 %0, 8
%25 = inttoptr i64 %24 to i64*
store i64 %1, i64* %25, align 8
%26 = add i64 %0, 16
%27 = call i64 @FUNC(i64 %26, i64 0)
%28 = add i64 %0, 24
%29 = inttoptr i64 %28 to i64*
store i64 %18, i64* %29, align 8
br label LBL_4
LBL_4:
ret i64 %0
uselistorder i64 %9, { 1, 0 }
uselistorder i64 %1, { 1, 2, 0, 3, 4 }
uselistorder i64 %0, { 0, 2, 1, 3, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 8, { 1, 2, 3, 0, 4 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | renderCoTable_19077 | renderCoTable | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%.reg2mem7 = alloca i64
%storemerge5.reg2mem = alloca i32
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%3 = zext i32 %2 to i64
%4 = icmp sgt i32 %2, 9
store i64 %3, i64* %rax.0.reg2mem
br i1 %4, label LBL_10, label LBL_1
LBL_1:
%5 = trunc i64 %1 to i32
store i32 ptrtoint (i32* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8
%6 = and i64 %1, 4294967295
%7 = icmp eq i32 %5, 0
store i64 %6, i64* %rax.0.reg2mem
br i1 %7, label LBL_10, label LBL_2
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = ptrtoint i64* %sv_3 to i64
%sext = mul i64 %arg2, 4294967296
%10 = bitcast i64* %rdi to i32*
%11 = add i64 %9, -8
%12 = inttoptr i64 %11 to i64*
%13 = ashr exact i64 %sext, 32
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge5.reg2mem
br label LBL_3
LBL_3:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload = load i64, i64* %.reg2mem
%14 = mul i64 %.reload, 32
%15 = add i64 %14, %8
%16 = add i64 %15, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %15, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %15, 20
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %15, 24
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
store i32 %27, i32* %sv_2, align 4
%28 = zext i32 %24 to i64
%29 = call i64 @FUNC(i64 %8, i64 %28, i32 %21)
%30 = add i64 %15, 32
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = load i32, i32* %sv_2, align 4
%34 = zext i32 %33 to i64
store i64 %34, i64* %12, align 8
%35 = and i64 %29, 4294967295
%36 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_2, i64* nonnull %sv_1, i64 10, i64 %32, i64 %35)
%37 = call i64 @FUNC(i64 %8, i64 %28)
%38 = load i64, i64* %sv_1, align 8
%39 = and i64 %38, 4294967295
%40 = icmp slt i64 %13, %39
store i64 %38, i64* %.reg2mem7
br i1 %40, label LBL_4, label LBL_5
LBL_4:
store i64 %13, i64* %sv_1, align 8
store i64 %13, i64* %.reg2mem7
br label LBL_5
LBL_5:
%.reload8 = load i64, i64* %.reg2mem7
%41 = add i64 %18, 328
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_7, label LBL_6
LBL_6:
%46 = trunc i64 %.reload8 to i32
%47 = load i32, i32* %sv_2, align 4
%48 = sub i32 %46, %47
store i32 %48, i32* %sv_0.0.reg2mem
br label LBL_9
LBL_7:
%49 = icmp slt i32 %43, 1
store i32 %43, i32* %sv_0.0.reg2mem
br i1 %49, label LBL_8, label LBL_9
LBL_8:
%50 = trunc i64 %.reload8 to i32
%51 = mul i32 %43, -1
%52 = mul i32 %51, %50
%53 = sdiv i32 %52, 100
store i32 %53, i32* %42, align 4
store i32 %53, i32* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%54 = zext i32 %sv_0.0.reload to i64
%55 = call i64 @FUNC(i64 %18, i64 %54, i64* nonnull %sv_1)
%56 = add i32 %storemerge5.reload, 1
%57 = load i32, i32* %10, align 8
%58 = zext i32 %57 to i64
%59 = sext i32 %56 to i64
%60 = icmp slt i64 %59, %58
store i64 %59, i64* %.reg2mem
store i32 %56, i32* %storemerge5.reg2mem
store i64 %58, i64* %rax.0.reg2mem
br i1 %60, label LBL_3, label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %43, { 1, 0, 2, 3 }
uselistorder i64 %.reload8, { 1, 0 }
uselistorder i64 %15, { 0, 3, 2, 1, 4 }
uselistorder i64 %8, { 1, 2, 0 }
uselistorder i32* %sv_2, { 1, 0, 2, 3 }
uselistorder i64* %sv_1, { 0, 3, 4, 1, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 4294967295, { 1, 2, 0 }
uselistorder i32 0, { 3, 0, 1, 2 }
uselistorder label LBL_9, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | spapr_machine_2_6_class_options_498 | spapr_machine_2_6_class_options | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
store i64 0, i64* %arg1, align 8
ret i64 %0
} | 0 |
BinRealVul | hmp_hostfwd_add_15542 | hmp_hostfwd_add | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))
%4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))
%5 = icmp eq i64 %3, 0
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %1, i64 %2, i64 %3)
store i64 %6, i64* %sv_0.0.reg2mem
store i64 %4, i64* %storemerge1.reg2mem
br label LBL_3
LBL_2:
%7 = call i64 @FUNC(i64 %1, i64 0, i64 0)
store i64 %7, i64* %sv_0.0.reg2mem
store i64 %2, i64* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%8 = icmp eq i64 %sv_0.0.reload, 0
store i64 %storemerge1.reload, i64* %rax.0.reg2mem
br i1 %8, label LBL_5, label LBL_4
LBL_4:
%9 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge1.reload, i64 0)
store i64 %9, 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 %storemerge1.reload, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64)* @slirp_lookup, { 1, 0 }
uselistorder i64 (i64, i8*)* @qdict_get_try_str, { 1, 0 }
} | 1 |
BinRealVul | get_blocksize_14416 | get_blocksize | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%storemerge.reg2mem = alloca i64
%1 = ptrtoint i32* %arg1 to i64
%2 = load i32, i32* %0
%3 = load i32, i32* %0
%4 = load i32, i32* %0
%5 = load i32, i32* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%6 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 10)
%7 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 8)
store i64 37, i64* %sv_2, align 8
%8 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 104)
store i64 83, i64* %sv_0, align 8
%9 = call i64 @FUNC(i64 %1, i64 8837, i64* nonnull %sv_0)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %12, label LBL_1, label LBL_2
LBL_1:
%13 = mul i32 %5, 16777216
%14 = mul i32 %4, 65536
%15 = and i32 %14, 16711680
%16 = mul i32 %3, 256
%17 = and i32 %16, 65280
%18 = urem i32 %2, 256
%19 = or i32 %17, %18
%20 = or i32 %19, %15
%21 = or i32 %20, %13
%22 = zext i32 %21 to i64
store i64 %22, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64* %sv_0, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %0, { 3, 2, 1, 0 }
uselistorder i32 256, { 1, 0 }
uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | r3d_read_reda_14294 | r3d_read_reda | 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
%rdx = alloca i64, align 8
%3 = load i64, i64* %0
%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 = call i64 @FUNC(i64 %7)
%9 = load i64, i64* %6, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = load i64, i64* %6, align 8
%12 = inttoptr i64 %7 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %11)
%15 = trunc i64 %14 to i32
%16 = inttoptr i64 %13 to i32*
store i32 %15, i32* %16, align 4
%17 = load i64, i64* %6, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = load i64, i64* %6, align 8
%20 = call i64 @FUNC(i64 %19)
%21 = trunc i64 %20 to i32
%22 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 %21, i64 %3, i64 %2, i64 %1)
%23 = load i64, i64* %6, align 8
%24 = call i64 @FUNC(i64 %23)
%25 = trunc i64 %24 to i32
%26 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %25, i64 %3, i64 %2, i64 %1)
%27 = load i64, i64* %6, align 8
%28 = call i64 @FUNC(i64 %27)
%29 = trunc i64 %28 to i32
%30 = load i64, i64* %6, align 8
%31 = call i64 @FUNC(i64 %30)
%32 = and i64 %31, 4294967295
%33 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i32 %29, i64 %32, i64 %2, i64 %1)
%34 = load i64, i64* %6, align 8
%35 = call i64 @FUNC(i64 %34)
%36 = trunc i64 %35 to i32
%37 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %36, i64 %32, i64 %2, i64 %1)
%38 = bitcast i64* %rdx to i32*
%39 = load i32, i32* %38, align 8
%40 = trunc i64 %8 to i32
%41 = load i64, i64* %6, align 8
%42 = call i64 @FUNC(i64 %41)
%43 = trunc i64 %42 to i32
%44 = add i32 %40, -8
%45 = add i32 %44, %39
%46 = sub i32 %45, %43
%47 = icmp slt i32 %46, 0
%48 = icmp eq i1 %47, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %48, label LBL_1, label LBL_4
LBL_1:
%49 = ptrtoint i64* %arg2 to i64
%50 = load i64, i64* %6, align 8
%51 = call i64 @FUNC(i64 %50, i64 %49, i32 %46)
%52 = trunc i64 %51 to i32
%53 = icmp slt i32 %52, 0
%54 = icmp eq i1 %53, false
br i1 %54, label LBL_3, label LBL_2
LBL_2:
%55 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %49, i64 %2, i64 %1)
%56 = and i64 %51, 4294967295
store i64 %56, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%57 = trunc i64 %10 to i32
%58 = bitcast i64* %arg2 to i32*
store i32 1, i32* %58, align 4
%59 = add i64 %49, 4
%60 = inttoptr i64 %59 to i32*
store i32 %57, i32* %60, align 4
%61 = load i64, i64* %12, align 8
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = add i64 %7, 8
%65 = inttoptr i64 %64 to i32*
%66 = load i32, i32* %65, align 4
%67 = zext i32 %66 to i64
%68 = and i64 %18, 4294967295
%69 = call i64 @FUNC(i64 %68, i64 %67, i32 %63)
%70 = trunc i64 %69 to i32
%71 = add i64 %49, 8
%72 = inttoptr i64 %71 to i32*
store i32 %70, i32* %72, align 4
%73 = load i64, i64* %12, align 8
%74 = inttoptr i64 %73 to i32*
%75 = load i32, i32* %74, align 4
%76 = and i64 %69, 4294967295
%77 = load i32, i32* %60, align 4
%78 = zext i32 %75 to i64
%79 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i32 %77, i64 %76, i64 %68, i64 %78)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %49, { 1, 2, 0, 3 }
uselistorder i32 %46, { 1, 0 }
uselistorder i64 %7, { 1, 2, 0 }
uselistorder i64 %4, { 1, 0, 2, 3, 4, 5, 6 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 4294967295, { 1, 2, 3, 0, 4 }
uselistorder i64 (i64)* @avio_r8, { 1, 0 }
uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @av_dlog, { 4, 3, 2, 1, 0 }
uselistorder i64 0, { 0, 7, 8, 17, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5, 6, 18 }
uselistorder i64 (i64)* @avio_rb32, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @avio_tell, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 1 |
BinRealVul | decode_sequence_of_11080 | decode_sequence_of | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%sv_2.0.off0.lcssa.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i64
%.reg2mem71 = alloca i64
%sv_1.033.reg2mem = alloca i64
%sv_2.0.off034.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg1 to i64
%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
%2 = ptrtoint i64* %sv_7 to i64
store i64 %1, i64* %sv_6, align 8
store i64 %arg2, i64* %sv_5, align 8
store i64 0, i64* %arg4, align 8
store i64 0, i64* %arg5, align 8
%3 = add i64 %2, -8
%4 = inttoptr i64 %3 to i64*
%5 = ptrtoint i64* %sv_5 to i64
%6 = icmp eq i64 %arg2, 0
%7 = icmp eq i1 %6, false
store i64 %1, i64* %.reg2mem
store i64 0, i64* %sv_2.0.off034.reg2mem
store i64 0, i64* %sv_1.033.reg2mem
store i64 %arg2, i64* %.reg2mem71
store i64 0, i64* %sv_1.0.lcssa.reg2mem
store i64 0, i64* %sv_2.0.off0.lcssa.reg2mem
br i1 %7, label LBL_1, label LBL_7
LBL_1:
%.reload72 = load i64, i64* %.reg2mem71
%sv_1.033.reload = load i64, i64* %sv_1.033.reg2mem
%sv_2.0.off034.reload = load i64, i64* %sv_2.0.off034.reg2mem
%.reload = load i64, i64* %.reg2mem
store i64 %5, i64* %4, align 8
%8 = call i64 @FUNC(i64 %.reload, i64 %.reload72, i64* nonnull %sv_4, i64* nonnull %sv_3, i64* nonnull %sv_4, i64* nonnull %sv_6)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem
store i64 %8, i64* %sv_0.0.reg2mem
br i1 %11, label LBL_8, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_3, label LBL_8
LBL_3:
%16 = add i64 %sv_2.0.off034.reload, 1
%17 = mul i64 %16, %16
%18 = inttoptr i64 %sv_1.033.reload to i64*
%19 = trunc i64 %17 to i32
%20 = call i64* @realloc(i64* %18, i32 %19)
%21 = icmp eq i64* %20, null
%22 = icmp eq i1 %21, false
store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem
store i64 4294967294, i64* %sv_0.0.reg2mem
br i1 %22, label LBL_4, label LBL_8
LBL_4:
%23 = ptrtoint i64* %20 to i64
%24 = mul i64 %17, %sv_2.0.off034.reload
%25 = add i64 %24, %23
%26 = inttoptr i64 %25 to i64*
%27 = trunc i64 %24 to i32
%28 = call i64* @memset(i64* %26, i32 0, i32 %27)
%29 = load i64, i64* %sv_4, align 8
%30 = load i64, i64* %sv_3, align 8
%31 = call i64 @FUNC(i64* nonnull %sv_4, i64 %30, i64 %29, i64 %0, i64 %25)
%32 = trunc i64 %31 to i32
%33 = icmp eq i32 %32, 0
%34 = icmp eq i1 %33, false
store i64 %23, i64* %sv_1.1.reg2mem
store i64 %31, i64* %sv_0.0.reg2mem
br i1 %34, label LBL_8, label LBL_4.dec_label_pc_4012fe_crit_edge
LBL_5:
%.pre = load i64, i64* %sv_5, align 8
%35 = icmp eq i64 %.pre, 0
%36 = icmp eq i1 %35, false
store i64 %23, i64* %sv_1.0.lcssa.reg2mem
store i64 %16, i64* %sv_2.0.off0.lcssa.reg2mem
br i1 %36, label LBL_4.dec_label_pc_4012fe_crit_edge.LBL_1_crit_edge, label LBL_7
LBL_6:
%.pre70 = load i64, i64* %sv_6, align 8
store i64 %.pre70, i64* %.reg2mem
store i64 %16, i64* %sv_2.0.off034.reg2mem
store i64 %23, i64* %sv_1.033.reg2mem
store i64 %.pre, i64* %.reg2mem71
br label LBL_1
LBL_7:
%sv_2.0.off0.lcssa.reload = load i64, i64* %sv_2.0.off0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem
store i64 %sv_1.0.lcssa.reload, i64* %arg4, align 8
store i64 %sv_2.0.off0.lcssa.reload, i64* %arg5, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_9
LBL_8:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%37 = call i64 @FUNC(i64 %0, i64 %sv_1.1.reload, i64 %sv_2.0.off034.reload)
%38 = inttoptr i64 %sv_1.1.reload to i64*
call void @free(i64* %38)
%39 = and i64 %sv_0.0.reload, 4294967295
store i64 %39, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %24, { 1, 0 }
uselistorder i64 %23, { 2, 1, 0, 3 }
uselistorder i64* %20, { 1, 0 }
uselistorder i64 %16, { 1, 0, 2, 3 }
uselistorder i64 %sv_2.0.off034.reload, { 2, 0, 1 }
uselistorder i64 %sv_1.033.reload, { 0, 3, 1, 2 }
uselistorder i64* %sv_4, { 0, 4, 1, 2, 3 }
uselistorder i64* %sv_3, { 1, 0 }
uselistorder i64 %0, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.0.off034.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.033.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem71, { 2, 0, 1 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 1, 2, 4 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder label LBL_8, { 2, 0, 1, 3 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | cpu_common_realizefn_14797 | cpu_common_realizefn | 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 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %3)
%7 = call i64 @FUNC(i64 %3)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 1, 0 }
} | 1 |
BinRealVul | pcnet_common_init_16346 | pcnet_common_init | 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 = load i64, i64* @gv_0, align 8
%3 = call i64 @FUNC(i64 %2, i64 4198662, i64 %1)
store i64 %3, i64* %arg1, align 8
%4 = add i64 %1, 16
%5 = inttoptr i64 %4 to i64*
store i64 %0, i64* %5, align 8
%6 = icmp eq i64* %arg2, null
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %0, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12, i64 %12, i64 %9, i64 4198673, i64 4198684, i64 %1)
%14 = add i64 %1, 8
%15 = inttoptr i64 %14 to i64*
store i64 %13, i64* %15, align 8
%16 = load i64, i64* %5, align 8
%17 = add i64 %16, 24
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 %13, i64 %19)
br label LBL_3
LBL_2:
%21 = add i64 %1, 8
%22 = inttoptr i64 %21 to i64*
store i64 0, i64* %22, align 8
br label LBL_3
LBL_3:
%23 = call i64 @FUNC(i64 %1)
%24 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 4294967295, i64 2, i64 4198699, i64 4198710, i64 %1)
ret i64 %24
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %1, { 3, 2, 4, 1, 0, 5, 6 }
} | 1 |
BinRealVul | add_config_7525 | add_config | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.in.in.in.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge18.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%storemerge2.in.in.in.reg2mem = alloca i64
%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
%0 = call i64 @FUNC(i64 %arg4, i64 1, i64* nonnull %sv_6)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_7, label LBL_1
LBL_1:
%4 = load i64, i64* %sv_6, align 8
%5 = icmp ne i64 %4, 6
%6 = icmp eq i64 %4, 7
%7 = icmp eq i1 %6, false
%or.cond = icmp eq i1 %5, %7
br i1 %or.cond, label LBL_7, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %arg4, i64 2, i64* nonnull %sv_5)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_7, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %arg1, i64 24)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %14, label LBL_4, label LBL_37
LBL_4:
%15 = call i64 @FUNC(i64 %arg1, i64 %arg3)
%16 = inttoptr i64 %12 to i64*
store i64 %15, i64* %16, align 8
%17 = icmp eq i64 %15, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
call void @free(i64* %16)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_37
LBL_6:
%19 = load i64, i64* %sv_5, align 8
%20 = add i64 %12, 8
%21 = inttoptr i64 %20 to i64*
store i64 %19, i64* %21, align 8
%22 = add i64 %12, 16
%23 = inttoptr i64 %22 to i64*
store i64 %arg3, i64* %23, align 8
%24 = inttoptr i64 %arg2 to i64*
store i64 %12, i64* %24, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_37
LBL_7:
%25 = call i64 @FUNC(i64 %arg4, i64 3, i64* nonnull %sv_4)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_13, label LBL_8
LBL_8:
%29 = call i64 @FUNC(i64 %arg4, i64 2, i64* nonnull %sv_5)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_13, label LBL_9
LBL_9:
%33 = call i64 @FUNC(i64 %arg4, i64 4, i64* nonnull %sv_3)
%34 = trunc i64 %33 to i32
%35 = icmp eq i32 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_13, label LBL_10
LBL_10:
%37 = call i64 @FUNC(i64 %arg4, i64 5, i64* nonnull %sv_2)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_13, label LBL_11
LBL_11:
%41 = load i64, i64* %sv_2, align 8
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_12, label LBL_13
LBL_12:
%44 = load i64, i64* %sv_4, align 8
store i64 %arg2, i64* %storemerge2.in.in.in.reg2mem
br label LBL_15
LBL_13:
%45 = call i64 @FUNC(i64 %arg4)
store i64 0, i64* %rax.0.reg2mem
br label LBL_37
LBL_14:
%46 = inttoptr i64 %storemerge2 to i64*
%47 = load i64, i64* %46, align 8
%48 = icmp eq i64 %47, %44
store i64 %storemerge2, i64* %storemerge2.in.in.in.reg2mem
store i64 %storemerge2, i64* %sv_1.0.reg2mem
br i1 %48, label LBL_19, label LBL_15
LBL_15:
%storemerge2.in.in.in.reload = load i64, i64* %storemerge2.in.in.in.reg2mem
%storemerge2.in.in = add i64 %storemerge2.in.in.in.reload, 8
%storemerge2.in = inttoptr i64 %storemerge2.in.in to i64*
%storemerge2 = load i64, i64* %storemerge2.in, align 8
%49 = icmp eq i64 %storemerge2, 0
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_14, label LBL_16
LBL_16:
%51 = call i64 @FUNC(i64 %arg1, i64 24)
%52 = icmp eq i64 %51, 0
%53 = icmp eq i1 %52, false
br i1 %53, label LBL_18, label LBL_17
LBL_17:
%54 = call i64 @FUNC(i64 %arg4)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_37
LBL_18:
%55 = load i64, i64* %sv_4, align 8
%56 = inttoptr i64 %51 to i64*
store i64 %55, i64* %56, align 8
%57 = add i64 %arg2, 8
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = add i64 %51, 8
%61 = inttoptr i64 %60 to i64*
store i64 %59, i64* %61, align 8
store i64 %51, i64* %58, align 8
store i64 %51, i64* %sv_1.0.reg2mem
br label LBL_19
LBL_19:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%62 = add i64 %sv_1.0.reload, 16
%storemerge1.in6 = inttoptr i64 %62 to i64*
%storemerge17 = load i64, i64* %storemerge1.in6, align 8
%63 = icmp eq i64 %storemerge17, 0
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_20, label LBL_23
LBL_20:
%65 = load i64, i64* %sv_3, align 8
store i64 %storemerge17, i64* %storemerge18.reg2mem
br label LBL_21
LBL_21:
%storemerge18.reload = load i64, i64* %storemerge18.reg2mem
%66 = inttoptr i64 %storemerge18.reload to i64*
%67 = load i64, i64* %66, align 8
%68 = icmp eq i64 %67, %65
store i64 %storemerge18.reload, i64* %sv_0.0.reg2mem
br i1 %68, label LBL_26, label LBL_22
LBL_22:
%69 = add i64 %storemerge18.reload, 8
%storemerge1.in = inttoptr i64 %69 to i64*
%storemerge1 = load i64, i64* %storemerge1.in, align 8
%70 = icmp eq i64 %storemerge1, 0
%71 = icmp eq i1 %70, false
store i64 %storemerge1, i64* %storemerge18.reg2mem
br i1 %71, label LBL_21, label LBL_23
LBL_23:
%72 = call i64 @FUNC(i64 %arg1, i64 24)
%73 = icmp eq i64 %72, 0
%74 = icmp eq i1 %73, false
br i1 %74, label LBL_25, label LBL_24
LBL_24:
%75 = call i64 @FUNC(i64 %arg4)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_37
LBL_25:
%76 = load i64, i64* %sv_3, align 8
%77 = inttoptr i64 %72 to i64*
store i64 %76, i64* %77, align 8
%78 = load i64, i64* %storemerge1.in6, align 8
%79 = add i64 %72, 8
%80 = inttoptr i64 %79 to i64*
store i64 %78, i64* %80, align 8
store i64 %72, i64* %storemerge1.in6, align 8
store i64 %72, i64* %sv_0.0.reg2mem
br label LBL_26
LBL_26:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%81 = load i64, i64* %sv_2, align 8
store i64 %sv_0.0.reload, i64* %storemerge.in.in.in.reg2mem
br label LBL_28
LBL_27:
%82 = inttoptr i64 %storemerge to i64*
%83 = load i64, i64* %82, align 8
%84 = icmp eq i64 %83, %81
store i64 %storemerge, i64* %storemerge.in.in.in.reg2mem
br i1 %84, label LBL_32, label LBL_28
LBL_28:
%storemerge.in.in.in.reload = load i64, i64* %storemerge.in.in.in.reg2mem
%storemerge.in.in = add i64 %storemerge.in.in.in.reload, 16
%storemerge.in = inttoptr i64 %storemerge.in.in to i64*
%storemerge = load i64, i64* %storemerge.in, align 8
%85 = icmp eq i64 %storemerge, 0
%86 = icmp eq i1 %85, false
br i1 %86, label LBL_27, label LBL_29
LBL_29:
%87 = call i64 @FUNC(i64 %arg1, i64 24)
%88 = icmp eq i64 %87, 0
%89 = icmp eq i1 %88, false
br i1 %89, label LBL_31, label LBL_30
LBL_30:
%90 = call i64 @FUNC(i64 %arg4)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_37
LBL_31:
%91 = load i64, i64* %sv_2, align 8
%92 = inttoptr i64 %87 to i64*
store i64 %91, i64* %92, align 8
%93 = add i64 %87, 8
%94 = inttoptr i64 %93 to i64*
store i64 %arg4, i64* %94, align 8
%95 = add i64 %sv_0.0.reload, 16
%96 = inttoptr i64 %95 to i64*
%97 = load i64, i64* %96, align 8
%98 = add i64 %87, 16
%99 = inttoptr i64 %98 to i64*
store i64 %97, i64* %99, align 8
store i64 %87, i64* %96, align 8
br label LBL_33
LBL_32:
%100 = call i64 @FUNC(i64 %arg4)
br label LBL_33
LBL_33:
%101 = call i64 @FUNC(i64 %arg1, i64 24)
%102 = icmp eq i64 %101, 0
%103 = icmp eq i1 %102, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %103, label LBL_34, label LBL_37
LBL_34:
%104 = call i64 @FUNC(i64 %arg1, i64 %arg3)
%105 = inttoptr i64 %101 to i64*
store i64 %104, i64* %105, align 8
%106 = icmp eq i64 %104, 0
%107 = icmp eq i1 %106, false
br i1 %107, label LBL_36, label LBL_35
LBL_35:
call void @free(i64* %105)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_37
LBL_36:
%108 = load i64, i64* %sv_5, align 8
%109 = add i64 %101, 8
%110 = inttoptr i64 %109 to i64*
store i64 %108, i64* %110, align 8
%111 = add i64 %101, 16
%112 = inttoptr i64 %111 to i64*
store i64 %arg3, i64* %112, align 8
%113 = inttoptr i64 %arg2 to i64*
store i64 %101, i64* %113, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_37
LBL_37:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge, { 2, 1, 0 }
uselistorder i64 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %storemerge18.reload, { 1, 0, 2 }
uselistorder i64* %storemerge1.in6, { 1, 0, 2 }
uselistorder i64 %storemerge2, { 3, 2, 1, 0 }
uselistorder i64* %sv_6, { 1, 0 }
uselistorder i64* %sv_5, { 2, 0, 3, 1 }
uselistorder i64* %sv_4, { 1, 2, 0 }
uselistorder i64* %sv_3, { 1, 2, 0 }
uselistorder i64* %sv_2, { 1, 2, 3, 0 }
uselistorder i64* %storemerge2.in.in.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge18.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 1, 7, 6, 5, 10, 4, 3, 2 }
uselistorder i64 (i64)* @nvlist_free, { 4, 3, 2, 1, 0 }
uselistorder i64 16, { 1, 2, 3, 0, 4, 5 }
uselistorder i64 (i64, i64)* @zfs_strdup, { 1, 0 }
uselistorder i64 (i64, i64)* @zfs_alloc, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64*)* @nvlist_lookup_uint64, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg4, { 5, 4, 3, 2, 1, 9, 6, 7, 8, 10, 0, 11 }
uselistorder i64 %arg3, { 2, 3, 0, 1 }
uselistorder i64 %arg2, { 3, 2, 0, 1 }
uselistorder i64 %arg1, { 5, 6, 4, 3, 2, 0, 1 }
uselistorder label LBL_37, { 2, 3, 0, 4, 5, 6, 7, 8, 9, 1 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
} | 1 |
BinRealVul | serial_exit_core_1170 | serial_exit_core | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = load i64, i64* %3, align 8
%7 = call i64 @FUNC(i64 %6)
%8 = add i64 %0, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = load i64, i64* %9, align 8
%13 = call i64 @FUNC(i64 %12)
%14 = add i64 %0, 24
%15 = call i64 @FUNC(i64 %14)
%16 = add i64 %0, 32
%17 = call i64 @FUNC(i64 %16)
%18 = call i64 @FUNC(i64 4198721, i64 %0)
ret i64 %18
uselistorder i64 %0, { 3, 2, 1, 0, 4, 5 }
uselistorder i64 (i64)* @fifo8_destroy, { 1, 0 }
uselistorder i64 (i64)* @timer_free, { 1, 0 }
uselistorder i64 (i64)* @timer_del, { 1, 0 }
} | 0 |
BinRealVul | install_local_socket_12578 | install_local_socket | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = load i32, i32* @gv_1, align 4
store i32 ptrtoint (i32* @gv_2 to i32), i32* @gv_1, align 4
%2 = inttoptr i64 %arg1 to i32*
store i32 %1, i32* %2, align 4
%3 = load i32, i32* @gv_1, align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
store i32 1, i32* @gv_1, align 4
br label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_3)
%7 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %7
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i32* @gv_1, { 3, 2, 1, 0 }
} | 1 |
BinRealVul | av_d3d11va_alloc_context_2821 | av_d3d11va_alloc_context | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 8)
%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_2
LBL_1:
%3 = inttoptr i64 %0 to i64*
store i64 -1, i64* %3, align 8
store i64 %0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | lsr_read_anim_values_ex_6972 | lsr_read_anim_values_ex | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%rax.0.reg2mem = alloca i64
%storemerge.lcssa.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%rdx = alloca i64, align 8
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%sv_0 = alloca i64, align 8
%3 = load i32, i32* %0
%4 = call i64 @FUNC(i64 %1, i32 %3, i64 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
%5 = icmp eq i32 %3, 0
store i64 %4, i64* %rax.0.reg2mem
br i1 %5, label LBL_9, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %arg2, i64 1, i64 1, i64 0, i64* nonnull %sv_0)
%7 = trunc i64 %6 to i32
%8 = bitcast i64* %arg1 to i32*
store i32 %7, i32* %8, align 4
%9 = load i64, i64* %sv_0, align 8
%10 = call i64 @FUNC(i64 %1, i32 %2, i64 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))
%11 = add i64 %9, 8
%12 = inttoptr i64 %11 to i32*
%13 = add i64 %9, 12
%14 = inttoptr i64 %13 to i32*
store i32 0, i32* %14, align 4
%15 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %17, label LBL_7, label LBL_2
LBL_2:
%18 = zext i32 %2 to i64
%19 = inttoptr i64 %9 to i64*
store i32 0, i32* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%20 = call i64 @FUNC(i64 %1, i64 %18, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = load i64, i64* %19, align 8
%23 = call i64 @FUNC(i64 %22, i64 %20)
br label LBL_5
LBL_5:
%24 = add nuw i32 %storemerge1.reload, 1
%exitcond = icmp eq i32 %24, %16
store i32 %24, i32* %storemerge1.reg2mem
br i1 %exitcond, label LBL_6, label LBL_3
LBL_6:
%phitmp = and i64 %15, 4294967295
store i64 %phitmp, i64* %storemerge.lcssa.reg2mem
br label LBL_7
LBL_7:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
%25 = icmp eq i64* %arg3, null
store i64 %storemerge.lcssa.reload, i64* %rax.0.reg2mem
br i1 %25, label LBL_9, label LBL_8
LBL_8:
%26 = bitcast i64* %rdx to i32*
%27 = load i32, i32* %26, align 8
%28 = load i64, i64* %sv_0, align 8
%29 = zext i32 %27 to i64
%30 = call i64 @FUNC(i64 %28, i64 %29)
store i64 %30, 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* %sv_0, { 1, 2, 0 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %0, { 1, 0 }
uselistorder i64 (i64, i32, i64, i8*)* @GF_LSR_READ_INT, { 1, 0 }
uselistorder i64 1, { 1, 0, 2 }
uselistorder label LBL_9, { 1, 2, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
BinRealVul | hmp_info_block_jobs_16722 | hmp_info_block_jobs | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.2.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
store i64 %3, i64* %sv_2, align 8
store i64 0, i64* %sv_1, align 8
%4 = call i64 @FUNC(i64* nonnull %sv_1)
%5 = load i64, i64* %sv_1, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([20 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem
store i64 49, i64* %rdx.0.reg2mem
br label LBL_2
LBL_2:
%7 = ptrtoint i64* %arg1 to i64
%8 = icmp eq i64 %4, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_3, label LBL_4
LBL_3:
%10 = ptrtoint i64* %sv_2 to i64
%11 = add i64 %10, -16
%12 = inttoptr i64 %11 to i64*
store i64 %4, i64* %sv_0.01.reg2mem
br label LBL_5
LBL_4:
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%13 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)
store i64 %13, i64* %rax.2.reg2mem
br label LBL_9
LBL_5:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%14 = inttoptr i64 %sv_0.01.reload to i64*
%15 = load i64, i64* %14, align 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i8*
%19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
%22 = load i64, i64* %14, align 8
%23 = add i64 %22, 32
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = add i64 %22, 24
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = add i64 %22, 16
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = add i64 %22, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
br i1 %21, label LBL_7, label LBL_6
LBL_6:
%35 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_5, i64 0, i64 0), i64 %34, i64 %31, i64 %28, i64 %25)
br label LBL_8
LBL_7:
%36 = inttoptr i64 %22 to i64*
%37 = load i64, i64* %36, align 8
store i64 %25, i64* %12, align 8
%38 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_6, i64 0, i64 0), i64 %37, i64 %34, i64 %31, i64 %28)
br label LBL_8
LBL_8:
%39 = add i64 %sv_0.01.reload, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
store i64 %41, i64* %sv_0.01.reg2mem
store i64 %41, i64* %rax.2.reg2mem
br i1 %43, label LBL_5, label LBL_9
LBL_9:
%rax.2.reload = load i64, i64* %rax.2.reg2mem
ret i64 %rax.2.reload
uselistorder i64 %34, { 1, 0 }
uselistorder i64 %31, { 1, 0 }
uselistorder i64 %28, { 1, 0 }
uselistorder i64 %25, { 1, 0 }
uselistorder i64 %22, { 0, 2, 1, 3, 4 }
uselistorder i64 %7, { 2, 1, 0 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64* %sv_1, { 1, 0, 2 }
uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 2, 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder [20 x i8]* @gv_2, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | gen_spr_power8_fscr_304 | gen_spr_power8_fscr | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4198691)
ret i64 %1
} | 0 |
BinRealVul | handle_vmon_7301 | handle_vmon | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0, i64 1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %0, i64 6)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_2:
%7 = call i64 @FUNC(i64 %0)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %0, i64 6)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_4:
%11 = inttoptr i64 %1 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_6, label LBL_5
LBL_5:
%14 = call i64 @FUNC(i64 %0, i64 1)
%15 = call i64 @FUNC(i64 %0)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_19
LBL_6:
%16 = add i64 %1, 16
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = urem i32 %18, 4
%20 = icmp eq i32 %19, 3
br i1 %20, label LBL_8, label LBL_7
LBL_7:
%21 = call i64 @FUNC(i64 %0, i64 0)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_8:
%22 = bitcast i32* %sv_0 to i64*
%23 = call i64 @FUNC(i64 %0, i64* nonnull %22)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %25, label LBL_9, label LBL_19
LBL_9:
%26 = load i32, i32* %sv_0, align 4
%27 = urem i32 %26, 4096
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_11, label LBL_10
LBL_10:
%30 = sext i32 %26 to i64
%31 = call i64 @FUNC(i64 %0)
%32 = urem i64 %31, 64
%33 = lshr i64 %30, %32
%34 = icmp eq i64 %33, 0
br i1 %34, label LBL_12, label LBL_11
LBL_11:
%35 = call i64 @FUNC(i64 %0)
%36 = call i64 @FUNC(i64 %0)
store i64 %36, i64* %rax.0.reg2mem
br label LBL_19
LBL_12:
%37 = load i32, i32* %sv_0, align 4
%38 = sext i32 %37 to i64
%39 = call i64 @FUNC(i64 %0, i64 %38)
%40 = icmp eq i64 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_14, label LBL_13
LBL_13:
%42 = call i64 @FUNC(i64 %0)
%43 = call i64 @FUNC(i64 %0)
store i64 %43, i64* %rax.0.reg2mem
br label LBL_19
LBL_14:
%44 = call i64 @FUNC(i64 %39)
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = icmp eq i32 %46, 305419896
%48 = call i64 @FUNC(i64 %39)
%49 = call i64 @FUNC(i64 %39)
br i1 %47, label LBL_16, label LBL_15
LBL_15:
%50 = call i64 @FUNC(i64 %0)
%51 = call i64 @FUNC(i64 %0)
store i64 %51, i64* %rax.0.reg2mem
br label LBL_19
LBL_16:
%52 = load i32, i32* %sv_0, align 4
%53 = sext i32 %52 to i64
%54 = add i64 %1, 8
%55 = inttoptr i64 %54 to i64*
store i64 %53, i64* %55, align 8
%56 = call i64 @FUNC(i64 %0)
%57 = trunc i64 %56 to i32
%58 = icmp eq i32 %57, 0
br i1 %58, label LBL_18, label LBL_17
LBL_17:
%59 = and i64 %56, 4294967295
store i64 %59, i64* %rax.0.reg2mem
br label LBL_19
LBL_18:
%60 = call i64 @FUNC(i64 %0)
%61 = call i64 @FUNC(i64 %0)
store i64 %61, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %39, { 1, 0, 2, 3 }
uselistorder i32 %26, { 1, 0 }
uselistorder i64 %1, { 0, 2, 1 }
uselistorder i32* %sv_0, { 2, 1, 0, 3 }
uselistorder i64 %0, { 7, 8, 9, 5, 6, 3, 4, 10, 12, 13, 11, 14, 15, 1, 2, 0, 16, 17, 18, 19 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 10, 1, 5, 4, 3, 2 }
uselistorder i64 (i64)* @nested_vmx_failInvalid, { 2, 1, 0 }
uselistorder i64 (i64)* @kvm_skip_emulated_instruction, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @kvm_queue_exception, { 1, 0 }
uselistorder i32 0, { 1, 0, 2, 3, 4 }
uselistorder i64 1, { 0, 3, 5, 2, 1, 6, 4 }
uselistorder label LBL_19, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9 }
} | 0 |
BinRealVul | wrgsbase_5908 | wrgsbase | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = and i64 %0, 32
%2 = icmp eq i64 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
call void @FUNC(i64 %arg1)
store i64 %arg1, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%3 = call i64 @FUNC(i64 3221225729, i64 %arg1)
store i64 %3, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 32, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
} | 0 |
BinRealVul | nut_read_packet_17221 | nut_read_packet | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.be.reg2mem = alloca i32
%sv_0.3.reg2mem = alloca i32
%sv_1.03.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%sv_1.04.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_2.013.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i32
%sv_0.015.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%4 = add i64 %3, 8
%5 = call i64 @FUNC(i64 %4)
store i64 0, i64* %arg1, align 8
%6 = call i64 @FUNC(i64 %4)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_19
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = icmp eq i64 %4, 0
%11 = inttoptr i64 %4 to i64*
store i64 %5, i64* %.reg2mem
store i32 0, i32* %sv_0.015.reg2mem
br label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem
%12 = add i64 %.reload, -8
store i32 %sv_0.015.reload, i32* %sv_0.1.reg2mem
store i64 %12, i64* %sv_1.0.reg2mem
store i64 %4, i64* %sv_2.1.reg2mem
br label LBL_7
LBL_4:
%13 = call i64 @FUNC(i64 0)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 78
%16 = icmp eq i1 %15, false
store i64 %.reload, i64* %sv_1.04.reg2mem
store i32 %14, i32* %sv_0.2.reg2mem
br i1 %16, label LBL_14, label LBL_5
LBL_5:
%sext1 = mul i64 %13, 4294967296
%17 = ashr exact i64 %sext1, 32
store i32 1, i32* %storemerge14.reg2mem
store i64 %17, i64* %sv_2.013.reg2mem
br label LBL_6
LBL_6:
%sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%18 = mul i64 %sv_2.013.reload, 256
%19 = call i64 @FUNC(i64 0)
%sext = mul i64 %19, 4294967296
%20 = ashr exact i64 %sext, 32
%21 = add i64 %20, %18
%22 = add nuw nsw i32 %storemerge14.reload, 1
%exitcond = icmp eq i32 %22, 8
store i32 %22, i32* %storemerge14.reg2mem
store i64 %21, i64* %sv_2.013.reg2mem
store i32 %14, i32* %sv_0.1.reg2mem
store i64 %.reload, i64* %sv_1.0.reg2mem
store i64 %21, i64* %sv_2.1.reg2mem
br i1 %exitcond, label LBL_7, label LBL_6
LBL_7:
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%23 = icmp eq i64 %sv_2.1.reload, 5
br i1 %23, label LBL_12, label LBL_8
LBL_8:
%24 = icmp ult i64 %sv_2.1.reload, 6
store i64 %sv_1.0.reload, i64* %sv_1.03.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem
br i1 %24, label LBL_9, label LBL_16
LBL_9:
store i64 %sv_1.0.reload, i64* %sv_1.04.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem
switch i64 %sv_2.1.reload, label LBL_10 [
i64 4, label LBL_11
i64 0, label LBL_14
]
LBL_10:
%25 = call i64 @FUNC(i64 %3, i64 %4, i64 0)
%26 = and i64 %25, 4294967295
%27 = call i64 @FUNC(i64 %4, i64 %26, i64 1)
store i32 %sv_0.1.reload, i32* %sv_0.0.be.reg2mem
br label LBL_18
LBL_11:
%28 = call i64 @FUNC(i64 %3)
%29 = trunc i64 %28 to i32
%30 = icmp slt i32 %29, 0
%31 = icmp eq i1 %30, false
store i64 %sv_1.0.reload, i64* %sv_1.03.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.0.be.reg2mem
br i1 %31, label LBL_18, label LBL_16
LBL_12:
%32 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64* nonnull %sv_4)
%33 = trunc i64 %32 to i32
%34 = icmp slt i32 %33, 0
store i64 %sv_1.0.reload, i64* %sv_1.03.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem
br i1 %34, label LBL_16, label LBL_13
LBL_13:
%35 = call i64 @FUNC(i64 %4)
%36 = trunc i64 %35 to i32
store i64 %sv_1.0.reload, i64* %sv_1.04.reg2mem
store i32 %36, i32* %sv_0.2.reg2mem
br label LBL_14
LBL_14:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%37 = call i64 @FUNC(i64 %3, i64 %9, i32 %sv_0.2.reload)
%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_15, label LBL_19
LBL_15:
%sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem
%41 = icmp eq i32 %38, 1
store i64 %sv_1.04.reload, i64* %sv_1.03.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.0.be.reg2mem
br i1 %41, label LBL_18, label LBL_16
LBL_16:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%42 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %sv_1.03.reload, i64 %2, i64 %1)
%43 = load i64, i64* %11, align 8
%44 = add i64 %43, 1
%45 = call i64 @FUNC(i64 %4, i64 %44)
%46 = icmp eq i64 %45, 0
%47 = icmp eq i1 %46, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %47, label LBL_17, label LBL_19
LBL_17:
%sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem
%48 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %sv_1.03.reload, i64 %2, i64 %1)
store i64 %45, i64* %arg1, align 8
store i32 %sv_0.3.reload, i32* %sv_0.0.be.reg2mem
br label LBL_18
LBL_18:
%sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem
%49 = call i64 @FUNC(i64 %4)
store i64 0, i64* %arg1, align 8
%50 = call i64 @FUNC(i64 %4)
%51 = trunc i64 %50 to i32
%52 = icmp eq i32 %51, 0
store i64 %49, i64* %.reg2mem
store i32 %sv_0.0.be.reload, i32* %sv_0.015.reg2mem
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %52, label LBL_2, label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.03.reload, { 1, 0 }
uselistorder i32 %sv_0.1.reload, { 4, 1, 3, 0, 5, 2 }
uselistorder i64 %sv_1.0.reload, { 4, 2, 1, 3, 0 }
uselistorder i64 %sv_2.1.reload, { 2, 1, 0 }
uselistorder i32 %14, { 1, 0, 2 }
uselistorder i64 %.reload, { 1, 0, 2 }
uselistorder i64 %4, { 9, 10, 7, 6, 5, 4, 0, 3, 8, 1, 2 }
uselistorder i64 %3, { 3, 4, 2, 5, 1, 0, 6 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.013.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.04.reg2mem, { 0, 3, 1, 2 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_1.03.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i32* %sv_0.3.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i32* %sv_0.0.be.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 (i64)* @get_byte, { 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0, 3, 2 }
uselistorder i32 0, { 5, 2, 3, 4, 0, 1 }
uselistorder i64 (i64)* @url_feof, { 1, 0 }
uselistorder i64 (i64)* @url_ftell, { 1, 0 }
uselistorder i64* %arg1, { 2, 1, 0, 3 }
uselistorder label LBL_19, { 0, 2, 1, 3 }
uselistorder label LBL_18, { 2, 1, 3, 0 }
uselistorder label LBL_16, { 1, 0, 2, 3 }
uselistorder label LBL_14, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ff_thread_get_buffer_3655 | ff_thread_get_buffer | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 %1, i64* %3, align 8
store i64 %1, i64* %arg2, align 8
%4 = add i64 %0, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %1, i64 %6, i32 %arg3)
ret i64 %7
uselistorder i64 %1, { 1, 0, 2 }
} | 0 |
BinRealVul | ehci_trace_qtd_3256 | ehci_trace_qtd | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %1, i64 %arg2, i64 %0, i64 %4)
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i64 15)
%10 = load i64, i64* %7, align 8
%11 = call i64 @FUNC(i64 %10, i64 240)
%12 = load i64, i64* %7, align 8
%13 = call i64 @FUNC(i64 %12, i64 65280)
%14 = load i64, i64* %7, align 8
%15 = call i64 @FUNC(i64 %14, i64 65535)
%16 = call i64 @FUNC(i64 %arg2, i64 %15, i64 %13, i64 %11, i64 %9)
%17 = load i64, i64* %7, align 8
%18 = and i64 %17, 16
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
%21 = and i64 %17, 8
%22 = icmp eq i64 %21, 0
%23 = icmp eq i1 %22, false
%24 = and i64 %17, 4
%25 = icmp eq i64 %24, 0
%26 = icmp eq i1 %25, false
%27 = zext i1 %26 to i64
%28 = and i64 %17, 2
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
%31 = zext i1 %30 to i64
%32 = urem i64 %17, 2
%33 = icmp eq i64 %32, 0
%34 = icmp eq i1 %33, false
%35 = zext i1 %34 to i64
%36 = zext i1 %20 to i64
%37 = zext i1 %23 to i64
%38 = call i64 @FUNC(i64 %arg2, i64 %35, i64 %31, i64 %27, i64 %37, i64 %36)
ret i64 %38
uselistorder i64 %17, { 0, 3, 2, 1, 4 }
uselistorder i64* %7, { 1, 0, 3, 2, 4 }
uselistorder i64 %0, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @get_field, { 3, 2, 1, 0 }
} | 0 |
BinRealVul | impeg2d_dec_pic_hdr_12417 | impeg2d_dec_pic_hdr | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 32)
%2 = call i64 @FUNC(i64 %0, i64 10)
%3 = call i64 @FUNC(i64 %0, i64 3)
%4 = trunc i64 %3 to i32
%5 = add i64 %0, 8
%6 = inttoptr i64 %5 to i32*
store i32 %4, i32* %6, align 4
%7 = icmp ult i32 %4, 4
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %0, i64 256)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_13
LBL_2:
%9 = call i64 @FUNC(i64 %0, i64 16)
%10 = load i32, i32* %6, align 4
%11 = icmp ne i32 %10, 1
%12 = icmp eq i32 %10, 2
%13 = icmp eq i1 %12, false
%or.cond2 = icmp eq i1 %11, %13
store i32 %10, i32* %.reg2mem
br i1 %or.cond2, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64 %0)
%15 = trunc i64 %14 to i16
%16 = add i64 %0, 12
%17 = inttoptr i64 %16 to i16*
store i16 %15, i16* %17, align 2
%18 = call i64 @FUNC(i64 %0, i64 3)
%19 = trunc i64 %18 to i16
%20 = add i64 %0, 14
%21 = inttoptr i64 %20 to i16*
store i16 %19, i16* %21, align 2
%.pre = load i32, i32* %6, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i32, i32* %.reg2mem
%22 = icmp eq i32 %.reload, 2
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %0)
%25 = trunc i64 %24 to i16
%26 = add i64 %0, 16
%27 = inttoptr i64 %26 to i16*
store i16 %25, i16* %27, align 2
%28 = call i64 @FUNC(i64 %0, i64 3)
%29 = trunc i64 %28 to i16
%30 = add i64 %0, 18
%31 = inttoptr i64 %30 to i16*
store i16 %29, i16* %31, align 2
br label LBL_6
LBL_6:
%32 = add i64 %0, 20
%33 = inttoptr i64 %32 to i16*
%34 = load i16, i16* %33, align 2
%35 = icmp eq i16 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_8, label LBL_7
LBL_7:
%37 = add i64 %0, 14
%38 = inttoptr i64 %37 to i16*
%39 = load i16, i16* %38, align 2
%40 = add i64 %0, 24
%41 = inttoptr i64 %40 to i16*
store i16 %39, i16* %41, align 2
%42 = add i64 %0, 22
%43 = inttoptr i64 %42 to i16*
store i16 %39, i16* %43, align 2
%44 = add i64 %0, 18
%45 = inttoptr i64 %44 to i16*
%46 = load i16, i16* %45, align 2
%47 = add i64 %0, 28
%48 = inttoptr i64 %47 to i16*
store i16 %46, i16* %48, align 2
%49 = add i64 %0, 26
%50 = inttoptr i64 %49 to i16*
store i16 %46, i16* %50, align 2
br label LBL_8
LBL_8:
%51 = call i64 @FUNC(i64 %0, i64 1)
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 1
%54 = icmp eq i1 %53, false
br i1 %54, label LBL_12, label LBL_9
LBL_9:
%55 = bitcast i64* %rdi to i32*
%56 = add i64 %0, 4
%57 = inttoptr i64 %56 to i32*
%.pre3 = load i32, i32* %55, align 8
br label LBL_11
LBL_10:
%58 = call i64 @FUNC(i64 %0, i64 9)
%59 = call i64 @FUNC(i64 %0, i64 1)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, 1
%62 = icmp eq i1 %61, false
br i1 %62, label LBL_12, label LBL_11
LBL_11:
%63 = load i32, i32* %57, align 4
%64 = icmp ult i32 %.pre3, %63
br i1 %64, label LBL_10, label LBL_12
LBL_12:
%65 = call i64 @FUNC(i64 %0)
%66 = call i64 @FUNC(i64 %0)
store i64 0, i64* %storemerge.reg2mem
br label LBL_13
LBL_13:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 11, 12, 13, 10, 9, 0, 5, 7, 6, 8, 15, 16, 14, 1, 2, 3, 4, 17, 18, 19, 20, 21, 22, 23, 26, 25, 24 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64)* @impeg2d_bit_stream_get_bit, { 2, 1, 0 }
uselistorder i1 false, { 2, 0, 3, 4, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 (i64, i64)* @impeg2d_bit_stream_get, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_12, { 1, 0, 2 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | getTokenValue_17340 | getTokenValue | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg4, i64 46)
%1 = icmp eq i64 %0, 0
store i64 %arg4, i64* %storemerge1.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %arg4)
store i64 %2, i64* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
store i64 %storemerge1.reload, i64* %sv_0, align 8
%3 = call i64 @FUNC(i64 %storemerge1.reload, i64* nonnull @gv_0, i64* nonnull %sv_0)
%4 = call i64 @FUNC(i64 %arg1, i64 %3)
%5 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %4, i64 0)
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_10, label LBL_3
LBL_3:
%7 = load i64, i64* %sv_0, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_6, label LBL_4
LBL_4:
%9 = call i64 @FUNC(i64 %arg1, i64 %5)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_6, label LBL_5
LBL_5:
%12 = load i64, i64* %sv_0, align 8
%13 = call i64 @FUNC(i64 %arg1, i64 %5, i64 %arg3, i64 %12, i64 %arg5, i64 %arg6, i64 %arg7)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_11
LBL_6:
%14 = call i64 @FUNC(i64 %arg1, i64 %5, i64 0)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_8, label LBL_7
LBL_7:
%17 = call i64 @FUNC(i64 %arg1, i64 %5, i64 %arg7)
store i64 %17, i64* %storemerge.reg2mem
br label LBL_9
LBL_8:
%18 = call i64 @FUNC(i64 %arg1, i64 %5)
store i64 %18, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%19 = inttoptr i64 %storemerge.reload to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %arg5, i64 %20)
store i64 1, i64* %rax.0.reg2mem
br label LBL_11
LBL_10:
%22 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %arg3)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 1, 2, 3, 0, 4, 5 }
uselistorder i64* %sv_0, { 1, 2, 0, 3 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 %arg7, { 1, 0 }
uselistorder i64 %arg5, { 1, 0 }
uselistorder i64 %arg4, { 1, 0, 2 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder i64 %arg1, { 5, 2, 3, 4, 0, 1, 7, 6 }
uselistorder label LBL_11, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | kiocb_set_cancel_fn_8773 | kiocb_set_cancel_fn | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = add i64 %1, 16
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = add i64 %1, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64 %5, i64 %1)
br label LBL_2
LBL_2:
%11 = add i64 %1, 24
%12 = inttoptr i64 %11 to i64*
store i64 %arg2, i64* %12, align 8
%13 = call i64 @FUNC(i64 %3, i64 %2)
ret i64 %13
uselistorder i64 %1, { 1, 0, 2, 3 }
} | 0 |
BinRealVul | message_decoder_parse_cte_5161 | message_decoder_parse_cte | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64 64)
store i64 %1, i64* %sv_1, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64* nonnull %sv_1, i64 64, i64 %4, i64 0)
%6 = call i64 @FUNC(i64* nonnull %sv_1)
%7 = load i64, i64* %sv_1, align 8
%8 = call i64 @FUNC(i64* nonnull %sv_1, i64 %7)
%9 = load i64, i64* %sv_1, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = icmp eq i64 %10, 16
br i1 %11, label LBL_8, label LBL_1
LBL_1:
%12 = icmp ult i64 %10, 17
store i64 0, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_2, label LBL_9
LBL_2:
store i64 0, i64* %sv_0.0.reg2mem
switch i64 %10, label LBL_9 [
i64 4, label LBL_3
i64 6, label LBL_6
]
LBL_3:
%13 = load i64, i64* %sv_1, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = load i64, i64* %sv_1, align 8
%19 = call i64 @FUNC(i64 %18)
%20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 4)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %23, label LBL_9, label LBL_5
LBL_5:
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_6:
%24 = load i64, i64* %sv_1, align 8
%25 = call i64 @FUNC(i64 %24)
%26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 6)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
store i64 2, i64* %sv_0.0.reg2mem
br i1 %29, label LBL_7, label LBL_9
LBL_7:
%30 = load i64, i64* %sv_1, align 8
%31 = call i64 @FUNC(i64 %30)
%32 = call i64 @FUNC(i64 %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 6)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
%spec.select = select i1 %35, i64 0, i64 3
store i64 %spec.select, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_8:
%36 = load i64, i64* %sv_1, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 16)
%39 = trunc i64 %38 to i32
%40 = icmp eq i32 %39, 0
%41 = icmp eq i1 %40, false
%spec.select1 = select i1 %41, i64 0, i64 4
store i64 %spec.select1, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%42 = call i64 @FUNC(i64* nonnull %sv_1)
ret i64 %sv_0.0.reload
uselistorder i64* %sv_1, { 0, 4, 5, 6, 7, 8, 9, 1, 10, 2, 3, 11 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 3, 7, 6, 4, 5 }
uselistorder i64 (i64, i8*, i64)* @i_memcasecmp, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @str_data, { 4, 3, 2, 1, 0 }
uselistorder i64 6, { 1, 2, 0 }
uselistorder i64 4, { 0, 2, 3, 1 }
uselistorder i64 16, { 1, 0 }
uselistorder label LBL_9, { 0, 1, 2, 5, 4, 3, 6 }
} | 0 |
BinRealVul | do_sigreturn_18586 | do_sigreturn | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%storemerge.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%3 = load i32, i32* %1
%4 = load i64, i64* %0
%sv_3 = alloca i64, align 8
%5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%6 = call i32 @fwrite(i64* bitcast ([14 x i8]* @gv_1 to i64*), i32 1, i32 13, %_IO_FILE* %5)
%7 = add i64 %2, 120
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 0, i64 %4, i64 %9, i64 1)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_5, label LBL_1
LBL_1:
%13 = ptrtoint i64* %sv_3 to i64
%14 = zext i32 %3 to i64
%15 = call i64 @FUNC(i64 %14, i64 %4)
%16 = add i64 %13, -288
store i64 1, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%17 = mul i64 %indvars.iv.reload, 4
%18 = add i64 %17, %4
%19 = add i64 %16, %17
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = zext i32 %21 to i64
%23 = call i64 @FUNC(i64 %22, i64 %18)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%24 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_2)
%25 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0)
%26 = call i64 @FUNC(i64 %2, i64 %4, i64* nonnull %sv_0)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_5, label LBL_4
LBL_4:
%30 = call i64 @FUNC(i64 %4, i64 %9, i64 0)
%31 = load i64, i64* %sv_0, align 8
store i64 %31, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%32 = call i64 @FUNC(i64 %4, i64 %9, i64 0)
%33 = call i64 @FUNC(i64 11)
store i64 0, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %9, { 1, 0, 2 }
uselistorder i64 %4, { 0, 1, 2, 5, 3, 4 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }
uselistorder i64 (i64, i64)* @__get_user, { 1, 0 }
uselistorder i64 1, { 2, 0, 3, 1 }
} | 1 |
BinRealVul | usb_ehci_realize_1449 | usb_ehci_realize | 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
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg3 to i64
%6 = trunc i64 %3 to i32
%7 = icmp slt i32 %6, 17
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 16, i64 %4, i64 %2, i64 %1)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%9 = ptrtoint i32* %arg1 to i64
%10 = add i64 %9, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%.off = add i32 %12, -8
%13 = icmp ult i32 %.off, 505
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = zext i32 %12 to i64
%15 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %4, i64 %2, i64 %1)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%16 = ptrtoint i64* %arg2 to i64
%17 = add i64 %9, 56
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
%21 = add i64 %9, 8
%22 = select i1 %20, i64* @gv_2, i64* @gv_3
%23 = call i64 @FUNC(i64 %21, i64 8, i64* nonnull %22, i64 %16)
%24 = icmp eq i32 %6, 0
br i1 %24, label LBL_7, label LBL_5
LBL_5:
%25 = bitcast i64* %rdi to i32*
%26 = add i64 %9, 16
%27 = inttoptr i64 %26 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
br label LBL_6
LBL_6:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%28 = load i64, i64* %27, align 8
%29 = mul i64 %.reload, 8
%30 = add i64 %28, %29
%31 = zext i32 %storemerge3.reload to i64
%32 = call i64 @FUNC(i64 %21, i64 %30, i64 %9, i64 %31, i64* nonnull @gv_4, i64 1)
%33 = load i64, i64* %27, align 8
%34 = add i64 %33, %29
%35 = inttoptr i64 %34 to i64*
store i64 0, i64* %35, align 8
%36 = add i32 %storemerge3.reload, 1
%37 = load i32, i32* %25, align 8
%38 = zext i32 %37 to i64
%39 = sext i32 %36 to i64
%40 = icmp slt i64 %39, %38
store i64 %39, i64* %.reg2mem
store i32 %36, i32* %storemerge3.reg2mem
br i1 %40, label LBL_6, label LBL_7
LBL_7:
%41 = call i64 @FUNC(i64 0, i64 4198912, i64 %9)
%42 = add i64 %9, 24
%43 = inttoptr i64 %42 to i64*
store i64 %41, i64* %43, align 8
%44 = call i64 @FUNC(i64 4198923, i64 %9)
%45 = add i64 %9, 32
%46 = inttoptr i64 %45 to i64*
store i64 %44, i64* %46, align 8
%47 = add i64 %9, 40
%48 = inttoptr i64 %47 to i64*
store i64 %16, i64* %48, align 8
%49 = call i64 @FUNC(i64 4198934, i64 %9)
%50 = add i64 %9, 48
%51 = inttoptr i64 %50 to i64*
store i64 %49, i64* %51, align 8
store i64 %49, 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 %29, { 1, 0 }
uselistorder i32 %12, { 1, 0 }
uselistorder i64 %9, { 1, 0, 2, 4, 3, 8, 6, 7, 5, 9, 10, 11 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | SFS_GetString_6967 | SFS_GetString | define i64 @FUNC(i64* %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 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_0, i64 1000)
%11 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)
store i64 %11, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | cpu_exec_all_1736 | cpu_exec_all | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.0.in.reg2mem = alloca i64
%.reg2mem9 = alloca i64
%.reg2mem = alloca i64
%0 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4
%1 = zext i32 %0 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = load i64, i64* @gv_0, align 8
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = load i64, i64* @gv_1, align 8
store i64 %6, i64* @gv_0, align 8
store i64 %6, i64* %.reg2mem
br label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
%7 = icmp ne i64 %.reload, 0
%8 = load i32, i32* @gv_2, align 4
%9 = icmp eq i32 %8, 0
%or.cond3 = icmp eq i1 %7, %9
store i64 %.reload, i64* %.reg2mem9
br i1 %or.cond3, label LBL_3, label LBL_12
LBL_3:
%.reload10 = load i64, i64* %.reg2mem9
%10 = add i64 %.reload10, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = urem i32 %12, 2
%14 = icmp eq i32 %13, 0
%15 = load i32, i32* @gv_3, align 4
%16 = zext i1 %14 to i64
%17 = zext i32 %15 to i64
%18 = call i64 @FUNC(i64 %17, i64 %16)
%19 = call i64 @FUNC(i64 %.reload10)
%20 = trunc i64 %19 to i8
%21 = icmp eq i8 %20, 0
br i1 %21, label LBL_9, label LBL_4
LBL_4:
%22 = call i64 @FUNC()
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label LBL_6, label LBL_5
LBL_5:
%25 = call i64 @FUNC(i64 %.reload10)
%26 = call i64 @FUNC(i64 %.reload10)
store i64 %25, i64* %sv_0.0.in.reg2mem
br label LBL_7
LBL_6:
%27 = call i64 @FUNC(i64 %.reload10)
store i64 %27, i64* %sv_0.0.in.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%28 = icmp eq i32 %sv_0.0, 1
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_11, label LBL_8
LBL_8:
%30 = call i64 @FUNC(i64 %.reload10)
br label LBL_12
LBL_9:
%31 = add i64 %.reload10, 12
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_12, label LBL_10
LBL_10:
%36 = add i64 %.reload10, 16
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_12, label LBL_11
LBL_11:
%41 = load i64, i64* @gv_0, align 8
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
store i64 %43, i64* @gv_0, align 8
%44 = icmp ne i64 %43, 0
%45 = load i32, i32* @gv_2, align 4
%46 = icmp eq i32 %45, 0
%or.cond = icmp eq i1 %44, %46
store i64 %43, i64* %.reg2mem9
br i1 %or.cond, label LBL_3, label LBL_12
LBL_12:
store i32 0, i32* @gv_2, align 4
%47 = call i64 @FUNC()
%48 = urem i64 %47, 256
%49 = icmp eq i64 %48, 0
%50 = zext i1 %49 to i64
ret i64 %50
uselistorder i64 %.reload10, { 4, 3, 7, 0, 1, 2, 5, 6 }
uselistorder i64* %.reg2mem9, { 2, 0, 1 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 8, 1, 4, 5, 6, 7, 0, 2, 3 }
uselistorder i32* @gv_2, { 2, 1, 0 }
uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_12, { 2, 1, 0, 4, 3 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | rds_tcp_kill_sock_11828 | rds_tcp_kill_sock | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%0 = load i32, i32* @gv_0, align 4
%1 = zext i32 %0 to i64
%2 = call i64 @FUNC(i64 %arg1, i64 %1)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
store i64 0, i64* %3, align 8
%5 = add i64 %2, 8
%6 = call i64 @FUNC(i64 %4, i64 %5)
%7 = call i64 @FUNC(i64* nonnull @gv_1)
br label LBL_6
LBL_1:
%8 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_2 to i64), i64 16) to i64*), align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_5, label LBL_2
LBL_2:
%10 = load i64, i64* @gv_2, align 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64* nonnull %sv_0, i64 %12)
%14 = trunc i64 %13 to i32
%15 = icmp eq 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 add (i64 ptrtoint (i64* @gv_2 to i64), i64 8), i64* nonnull %sv_0)
br label LBL_5
LBL_4:
%18 = call i64 @FUNC(i64 add (i64 ptrtoint (i64* @gv_2 to i64), i64 8))
store i32 1, i32* inttoptr (i64 add (i64 ptrtoint (i64* @gv_2 to i64), i64 12) to i32*), align 4
br label LBL_5
LBL_5:
br label LBL_6
LBL_6:
%19 = load i64, i64* @gv_2, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21)
%23 = icmp eq i64 %22, %arg1
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_5, label LBL_1
uselistorder i1 false, { 1, 0 }
uselistorder i64* @gv_2, { 1, 0, 2 }
uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_5, { 0, 2, 3, 1 }
} | 1 |
BinRealVul | __d_instantiate_9220 | __d_instantiate | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
%3 = trunc i64 %2 to i32
%4 = call i64 @FUNC(i64 %1)
%5 = and i64 %4, 4294967295
%6 = call i64 @FUNC(i64 %5)
%7 = call i64 @FUNC(i64 %1)
%8 = add i64 %1, 8
%9 = call i64 @FUNC(i64 %8, i64 %0)
%10 = add i64 %1, 4
%11 = call i64 @FUNC(i64 %10)
%12 = call i64 @FUNC(i64 %1, i64 %0, i32 %3)
%13 = call i64 @FUNC(i64 %10)
%14 = call i64 @FUNC(i64 %1)
%15 = call i64 @FUNC(i64 %1)
ret i64 %15
uselistorder i64 %0, { 1, 0, 2 }
} | 0 |
BinRealVul | kvmppc_get_htab_fd_16429 | kvmppc_get_htab_fd | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = urem i64 %arg1, 256
store i64 %0, i64* %sv_0, align 8
%1 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%5 = call i32 @fwrite(i64* bitcast ([51 x i8]* @gv_1 to i64*), i32 1, i32 50, %_IO_FILE* %4)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%6 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4
%7 = zext i32 %6 to i64
%8 = bitcast i64* %sv_0 to i32*
%9 = call i64 @FUNC(i64 %7, i64 2, i32* nonnull %8)
store i64 %9, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 2, 0 }
} | 1 |
BinRealVul | r_buf_read_at_12487 | r_buf_read_at | 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 = icmp ne i64* %arg1, null
%2 = icmp ne i64* %arg3, null
%not.or.cond = icmp eq i1 %1, %2
%storemerge1 = zext i1 %not.or.cond to i64
%3 = call i64 @FUNC(i64 %storemerge1, i64 -1)
%4 = call i64 @FUNC(i64 %0, i64 0, i64 1)
%5 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0)
%6 = icmp slt i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 %5, i64* %storemerge.reg2mem
br i1 %7, label LBL_1, label LBL_2
LBL_1:
%8 = ptrtoint i64* %arg3 to i64
%9 = call i64 @FUNC(i64 %0, i64 %8, i64 %arg4)
%10 = call i64 @FUNC(i64 %0, i64 %4, i64 0)
store i64 %9, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 1, 0, 3, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64)* @r_buf_seek, { 2, 1, 0 }
uselistorder i64 -1, { 3, 0, 1, 2 }
uselistorder i64* %arg3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | gen_shifti_9626 | gen_shifti | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%sext4 = mul i64 %arg3, 4294967296
%2 = ashr exact i64 %sext4, 32
%sext5 = mul i64 %arg4, 4294967296
%3 = ashr exact i64 %sext5, 32
%sext6 = mul i64 %arg5, 4294967296
%4 = ashr exact i64 %sext6, 32
%5 = and i64 %1, 4294967295
store i64 %5, i64* @0, align 8
%trunc = trunc i64 %1 to i32
switch i32 %trunc, label LBL_6 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_3
i32 4, label LBL_4
i32 5, label LBL_5
]
LBL_1:
%6 = and i64 %4, 4294967295
%7 = trunc i64 %3 to i32
%8 = trunc i64 %2 to i32
%9 = call i64 @FUNC(i64 %0, i32 %8, i32 %7, i64 %6, i64 0)
store i64 %9, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%10 = and i64 %4, 4294967295
%11 = trunc i64 %3 to i32
%12 = trunc i64 %2 to i32
%13 = call i64 @FUNC(i64 %0, i32 %12, i32 %11, i64 %10, i64 1)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%14 = and i64 %4, 4294967295
%15 = trunc i64 %3 to i32
%16 = trunc i64 %2 to i32
%17 = call i64 @FUNC(i64 %0, i32 %16, i32 %15, i64 %14, i64 0, i64 0)
store i64 %17, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%18 = and i64 %4, 4294967295
%19 = trunc i64 %3 to i32
%20 = trunc i64 %2 to i32
%21 = call i64 @FUNC(i64 %0, i32 %20, i32 %19, i64 %18, i64 1, i64 0)
store i64 %21, i64* %rax.0.reg2mem
br label LBL_7
LBL_5:
%22 = and i64 %4, 4294967295
%23 = trunc i64 %3 to i32
%24 = trunc i64 %2 to i32
%25 = call i64 @FUNC(i64 %0, i32 %24, i32 %23, i64 %22, i64 1, i64 1)
store i64 %25, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%26 = and i64 %4, 4294967295
%27 = call i64 @FUNC(i64 0, i64 %26)
%28 = trunc i64 %3 to i32
%29 = trunc i64 %2 to i32
%30 = call i64 @FUNC(i64 %0, i32 %trunc, i32 %29, i32 %28, i64 1)
store i64 %30, 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 %4, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 %0, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i32, i32, i64, i64, i64)* @gen_shift_rm_im, { 2, 1, 0 }
uselistorder i64 (i64, i32, i32, i64, i64)* @gen_rot_rm_im, { 1, 0 }
uselistorder i64 4294967295, { 0, 5, 4, 3, 2, 1, 6 }
uselistorder label LBL_7, { 5, 0, 1, 2, 3, 4 }
} | 0 |
BinRealVul | io_req_drop_files_19298 | io_req_drop_files | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = add i64 %1, 16
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = add i64 %1, 24
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %1, 20
%8 = call i64 @FUNC(i64 %7)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 %7)
br label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %3, i64 %2)
%13 = add i64 %1, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = and i64 %15, -2
store i64 %16, i64* %14, align 8
%17 = inttoptr i64 %3 to i64*
store i64 0, i64* %17, align 8
ret i64 %1
} | 1 |
BinRealVul | crypto_hash_alloc_ctx_5974 | crypto_hash_alloc_ctx | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %1, 4294967295
store i64 %4, i64* %rax.0.reg2mem
br label LBL_4
LBL_2:
%5 = load i32, i32* @gv_0, align 4
%6 = load i64, i64* %sv_0, align 8
%7 = zext i32 %5 to i64
%8 = call i64 @FUNC(i64 %6, i64 %7)
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 1, i64* %rax.0.reg2mem
br i1 %10, label LBL_3, label LBL_4
LBL_3:
store i64 %8, i64* %arg1, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_4, { 1, 0, 2 }
} | 0 |
BinRealVul | qeth_release_skbs_8393 | qeth_release_skbs | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.lcssa.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %3)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 2
%8 = zext i1 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %3, 8
%11 = call i64 @FUNC(i64 %10)
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
store i64 %11, i64* %storemerge1.lcssa.reg2mem
br i1 %13, label LBL_1, label LBL_7
LBL_1:
%14 = trunc i64 %4 to i32
%15 = icmp eq i32 %14, 1
%16 = icmp eq i1 %15, false
%17 = add i64 %3, 16
%18 = inttoptr i64 %17 to i64*
store i64 %11, i64* %storemerge12.reg2mem
br label LBL_2
LBL_2:
%storemerge12.reload = load i64, i64* %storemerge12.reg2mem
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21, i64 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%23 = load i64, i64* %18, align 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = call i64 @FUNC(i64 %25, i64 5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge12.reload, i64 %2, i64 %1)
br i1 %16, label LBL_6, label LBL_3
LBL_3:
%27 = add i64 %storemerge12.reload, 8
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp eq i32 %29, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_6, label LBL_4
LBL_4:
%32 = add i64 %storemerge12.reload, 16
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label LBL_6, label LBL_5
LBL_5:
%36 = call i64 @FUNC(i64 %34)
br label LBL_6
LBL_6:
%37 = add i64 %storemerge12.reload, 24
%38 = call i64 @FUNC(i64 %37)
%39 = call i64 @FUNC(i64 %storemerge12.reload)
%40 = call i64 @FUNC(i64 %10)
%41 = icmp eq i64 %40, 0
%42 = icmp eq i1 %41, false
store i64 %40, i64* %storemerge12.reg2mem
store i64 %40, i64* %storemerge1.lcssa.reg2mem
br i1 %42, label LBL_2, label LBL_7
LBL_7:
%storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem
ret i64 %storemerge1.lcssa.reload
uselistorder i64 %storemerge12.reload, { 2, 4, 1, 0, 3 }
uselistorder i64 %11, { 1, 0, 2 }
uselistorder i64 %3, { 0, 2, 1, 3 }
uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i1 false, { 2, 1, 3, 0 }
uselistorder i64 (i64)* @skb_dequeue, { 1, 0 }
uselistorder i64 (i64)* @atomic_read, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | kvm_create_vm_8886 | kvm_create_vm | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%indvars.iv8.reg2mem = alloca i64
%sv_0.3.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%indvars.iv11.reg2mem = alloca i64
%indvars.iv13.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_20
LBL_1:
%3 = add i64 %0, 208
%4 = call i64 @FUNC(i64 %3)
%5 = load i64, i64* @gv_0, align 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
%9 = load i64, i64* @gv_0, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = add i64 %0, 192
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
%14 = call i64 @FUNC(i64 %0)
%15 = add i64 %0, 216
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %0, 224
%18 = call i64 @FUNC(i64 %17)
%19 = add i64 %0, 232
%20 = call i64 @FUNC(i64 %19)
%21 = add i64 %0, 200
%22 = call i64 @FUNC(i64 %21, i64 1)
%23 = add i64 %0, 256
%24 = call i64 @FUNC(i64 %23)
%25 = call i64 @FUNC(i64 %0, i64 %arg1)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
store i64 %25, i64* %sv_0.3.reg2mem
br i1 %28, label LBL_15, label LBL_2
LBL_2:
%29 = call i64 @FUNC()
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
store i64 %29, i64* %sv_0.3.reg2mem
br i1 %32, label LBL_15, label LBL_3
LBL_3:
%33 = add i64 %0, 64
store i64 0, i64* %indvars.iv13.reg2mem
br label LBL_4
LBL_4:
%indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem
%34 = call i64 @FUNC()
%35 = mul i64 %indvars.iv13.reload, 8
%36 = add i64 %33, %35
%37 = inttoptr i64 %36 to i64*
store i64 %34, i64* %37, align 8
%38 = icmp eq i64 %34, 0
store i64 -12, i64* %sv_0.2.reg2mem
br i1 %38, label LBL_14, label LBL_5
LBL_5:
%indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1
%39 = icmp ult i64 %indvars.iv.next14, 16
store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem
br i1 %39, label LBL_4, label LBL_6
LBL_6:
%40 = add i64 %0, 240
%41 = call i64 @FUNC(i64 %40)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
store i64 -12, i64* %sv_0.2.reg2mem
br i1 %44, label LBL_14, label LBL_7
LBL_7:
%45 = add i64 %0, 248
%46 = call i64 @FUNC(i64 %45)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
store i64 0, i64* %indvars.iv11.reg2mem
store i64 -12, i64* %sv_0.1.reg2mem
br i1 %49, label LBL_13, label LBL_8
LBL_8:
%indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem
%50 = call i64 @FUNC(i64 0, i64 0)
%51 = mul i64 %indvars.iv11.reload, 8
%52 = add i64 %51, %0
%53 = inttoptr i64 %52 to i64*
store i64 %50, i64* %53, align 8
%54 = icmp eq i64 %50, 0
store i64 -12, i64* %sv_0.0.reg2mem
br i1 %54, label LBL_12, label LBL_9
LBL_9:
%indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1
%55 = icmp ult i64 %indvars.iv.next12, 8
store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem
br i1 %55, label LBL_8, label LBL_10
LBL_10:
%56 = call i64 @FUNC(i64 %0)
%57 = trunc i64 %56 to i32
%58 = icmp eq i32 %57, 0
%59 = icmp eq i1 %58, false
store i64 %56, i64* %sv_0.0.reg2mem
br i1 %59, label LBL_12, label LBL_11
LBL_11:
%60 = call i64 @FUNC(i64* nonnull @gv_1)
%61 = add i64 %0, 264
%62 = call i64 @FUNC(i64 %61, i64* nonnull @gv_2)
%63 = call i64 @FUNC(i64* nonnull @gv_1)
%64 = call i64 @FUNC()
store i64 %0, i64* %rax.0.reg2mem
br label LBL_20
LBL_12:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%65 = call i64 @FUNC(i64 %45)
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_13
LBL_13:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%66 = call i64 @FUNC(i64 %40)
store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem
br label LBL_14
LBL_14:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%67 = call i64 @FUNC()
store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem
br label LBL_15
LBL_15:
%sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem
store i64 0, i64* %indvars.iv8.reg2mem
br label LBL_16
LBL_16:
%indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem
%68 = mul i64 %indvars.iv8.reload, 8
%69 = add i64 %68, %0
%70 = inttoptr i64 %69 to i64*
%71 = load i64, i64* %70, align 8
%72 = call i64 @FUNC(i64 %71)
%indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1
%exitcond10 = icmp eq i64 %indvars.iv.next9, 8
store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem
br i1 %exitcond10, label LBL_17, label LBL_16
LBL_17:
%73 = add i64 %0, 64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_18
LBL_18:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%74 = mul i64 %indvars.iv.reload, 8
%75 = add i64 %73, %74
%76 = inttoptr i64 %75 to i64*
%77 = load i64, i64* %76, align 8
%78 = call i64 @FUNC(i64 %0, i64 %77)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_19, label LBL_18
LBL_19:
%79 = call i64 @FUNC(i64 %0)
%80 = load i64, i64* @gv_0, align 8
%81 = inttoptr i64 %80 to i64*
%82 = load i64, i64* %81, align 8
%83 = call i64 @FUNC(i64 %82)
%sext = mul i64 %sv_0.3.reload, 4294967296
%84 = ashr exact i64 %sext, 32
store i64 %84, 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 %0, { 9, 10, 3, 1, 0, 5, 6, 2, 7, 8, 4, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }
uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @cleanup_srcu_struct, { 1, 0 }
uselistorder i64 (i64)* @init_srcu_struct, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 8, { 0, 5, 1, 4, 2, 3 }
uselistorder i64 64, { 1, 0 }
uselistorder i64 1, { 3, 2, 1, 0, 4 }
uselistorder i64 (i64)* @mutex_init, { 2, 1, 0 }
uselistorder i64 -12, { 4, 3, 2, 1, 0 }
uselistorder i32 1, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 21, 2, 1, 0, 22 }
uselistorder label LBL_20, { 1, 2, 0 }
uselistorder label LBL_15, { 2, 0, 1 }
uselistorder label LBL_14, { 2, 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | json_array_remove_17774 | json_array_remove | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_3
LBL_1:
%4 = call i64 @FUNC(i64 %arg1)
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp ugt i64 %6, %arg2
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_3
LBL_2:
%8 = add i64 %4, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = mul i64 %arg2, 8
%12 = add i64 %10, %11
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = load i64, i64* %5, align 8
%17 = sub i64 %16, %arg2
%18 = add i64 %arg2, 1
%19 = call i64 @FUNC(i64 %4, i64 %arg2, i64 %18, i64 %17)
%20 = load i64, i64* %5, align 8
%21 = add i64 %20, -1
store i64 %21, i64* %5, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %5, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i64 8, { 0, 3, 1, 2, 4, 5 }
uselistorder i64 %arg2, { 4, 3, 2, 0, 1 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 1 |
BinRealVul | ip_rt_send_redirect_10833 | ip_rt_send_redirect | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC()
%3 = inttoptr i64 %1 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %5)
%8 = trunc i64 %7 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 = call i64 @FUNC()
store i64 %11, i64* %rax.0.reg2mem
br label LBL_14
LBL_3:
%12 = call i64 @FUNC(i64 %5)
%13 = load i64, i64* %3, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = trunc i64 %14 to i32
%16 = call i64 @FUNC()
%17 = load i64, i64* %3, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = call i64 @FUNC(i64 %0)
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = inttoptr i64 %18 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23, i32 %21, i32 %15, i64 1)
%25 = icmp eq i64 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_5, label LBL_4
LBL_4:
%27 = call i64 @FUNC(i64 %0)
%28 = add i64 %27, 4
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = zext i32 %30 to i64
%32 = call i64 @FUNC(i64 %1, i64 %31)
%33 = and i64 %32, 4294967295
%34 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 %33)
store i64 %34, i64* %rax.0.reg2mem
br label LBL_14
LBL_5:
%35 = inttoptr i64 %24 to i32*
%36 = load i32, i32* %35, align 4
%37 = load i32, i32* @gv_0, align 4
%38 = add i32 %37, %36
%39 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4
%40 = zext i32 %38 to i64
%41 = zext i32 %39 to i64
%42 = call i64 @FUNC(i64 %41, i64 %40)
%43 = trunc i64 %42 to i32
%44 = icmp eq i32 %43, 0
%.pre = add i64 %24, 4
%.pre2 = inttoptr i64 %.pre to i32*
br i1 %44, label LBL_5.LBL_8_crit_edge, label LBL_7
LBL_6:
%.pr = load i32, i32* %.pre2, align 4
store i32 %.pr, i32* %.reg2mem
br label LBL_8
LBL_7:
store i32 0, i32* %.pre2, align 4
store i32 0, i32* %.reg2mem
br label LBL_8
LBL_8:
%.reload = load i32, i32* %.reg2mem
%45 = load i32, i32* @gv_1, align 4
%46 = icmp ult i32 %.reload, %45
br i1 %46, label LBL_10, label LBL_9
LBL_9:
%47 = load i32, i32* @gv_2, align 4
store i32 %47, i32* %35, align 4
br label LBL_13
LBL_10:
%48 = icmp eq i32 %.reload, 0
br i1 %48, label LBL_12, label LBL_11
LBL_11:
%49 = load i32, i32* %35, align 4
%50 = zext i32 %49 to i64
%51 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
%52 = urem i32 %.reload, 32
%53 = shl i32 %51, %52
%rdx.0 = zext i32 %53 to i64
%54 = add nuw nsw i64 %rdx.0, %50
%55 = load i32, i32* @gv_2, align 4
%56 = and i64 %54, 4294967295
%57 = zext i32 %55 to i64
%58 = call i64 @FUNC(i64 %57, i64 %56)
%59 = trunc i64 %58 to i32
%60 = icmp eq i32 %59, 0
br i1 %60, label LBL_13, label LBL_12
LBL_12:
%61 = call i64 @FUNC(i64 %0)
%62 = add i64 %61, 4
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%65 = zext i32 %64 to i64
%66 = call i64 @FUNC(i64 %1, i64 %65)
%67 = and i64 %66, 4294967295
%68 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 %67)
%69 = load i32, i32* @gv_2, align 4
store i32 %69, i32* %35, align 4
%70 = load i32, i32* %.pre2, align 4
%71 = add i32 %70, 1
store i32 %71, i32* %.pre2, align 4
br label LBL_13
LBL_13:
%72 = call i64 @FUNC(i64 %24)
store i64 %72, i64* %rax.0.reg2mem
br label LBL_14
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.reload, { 2, 0, 1 }
uselistorder i64 %24, { 1, 0, 2, 3 }
uselistorder i64* %3, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 %0, { 2, 3, 0, 1, 4, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* @gv_2, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @time_after, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64)* @icmp_send, { 1, 0 }
uselistorder i64 (i64, i64)* @rt_nexthop, { 1, 0 }
uselistorder i64 4, { 1, 0, 2 }
uselistorder i64 1, { 2, 3, 4, 0, 1 }
uselistorder i64 (i64)* @ip_hdr, { 2, 1, 0 }
uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }
uselistorder label LBL_13, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
BinRealVul | decode_v1_vector_15662 | decode_v1_vector | define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%rdx = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg4 to i64
%4 = ptrtoint i64* %arg2 to i64
%5 = bitcast i64* %rdi to i32*
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
%9 = select i1 %8, i32 4, i32 6
%10 = bitcast i64* %rdx to i32*
%11 = trunc i64 %2 to i32
%12 = mul i32 %9, %11
%13 = sext i32 %12 to i64
%14 = add i64 %13, %3
%15 = add i64 %4, 24
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, 1
%19 = sext i32 %18 to i64
%20 = add i64 %19, %4
%21 = inttoptr i64 %14 to i8*
%22 = load i8, i8* %21, align 1
%23 = inttoptr i64 %20 to i8*
store i8 %22, i8* %23, align 1
%24 = load i32, i32* %16, align 4
%25 = sext i32 %24 to i64
%26 = add i64 %25, %4
%27 = inttoptr i64 %26 to i8*
store i8 %22, i8* %27, align 1
%28 = add i64 %4, 1
%29 = inttoptr i64 %28 to i8*
store i8 %22, i8* %29, align 1
%30 = bitcast i64* %arg2 to i8*
store i8 %22, i8* %30, align 1
%31 = load i32, i32* %10, align 8
%32 = mul i32 %31, %9
%33 = or i32 %32, 1
%34 = sext i32 %33 to i64
%35 = add i64 %34, %4
%36 = load i32, i32* %16, align 4
%37 = add i32 %36, 3
%38 = sext i32 %37 to i64
%39 = add i64 %38, %4
%40 = inttoptr i64 %35 to i8*
%41 = load i8, i8* %40, align 1
%42 = inttoptr i64 %39 to i8*
store i8 %41, i8* %42, align 1
%43 = load i32, i32* %16, align 4
%44 = add i32 %43, 2
%45 = sext i32 %44 to i64
%46 = add i64 %45, %4
%47 = inttoptr i64 %46 to i8*
store i8 %41, i8* %47, align 1
%48 = add i64 %4, 3
%49 = inttoptr i64 %48 to i8*
store i8 %41, i8* %49, align 1
%50 = add i64 %4, 2
%51 = inttoptr i64 %50 to i8*
store i8 %41, i8* %51, align 1
%52 = load i32, i32* %10, align 8
%53 = mul i32 %52, %9
%54 = sext i32 %53 to i64
%55 = add i64 %50, %54
%56 = load i32, i32* %16, align 4
%57 = mul i32 %56, 3
%58 = add i32 %57, 1
%59 = sext i32 %58 to i64
%60 = add i64 %55, %59
%61 = inttoptr i64 %55 to i8*
%62 = load i8, i8* %61, align 1
%63 = inttoptr i64 %60 to i8*
store i8 %62, i8* %63, align 1
%64 = load i32, i32* %16, align 4
%65 = mul i32 %64, 3
%66 = sext i32 %65 to i64
%67 = add i64 %55, %66
%68 = inttoptr i64 %67 to i8*
store i8 %62, i8* %68, align 1
%69 = load i32, i32* %16, align 4
%70 = mul i32 %69, 2
%71 = or i32 %70, 1
%72 = sext i32 %71 to i64
%73 = add i64 %55, %72
%74 = inttoptr i64 %73 to i8*
store i8 %62, i8* %74, align 1
%75 = load i32, i32* %16, align 4
%76 = mul i32 %75, 2
%77 = sext i32 %76 to i64
%78 = add i64 %55, %77
%79 = inttoptr i64 %78 to i8*
store i8 %62, i8* %79, align 1
%80 = load i32, i32* %10, align 8
%81 = mul i32 %80, %9
%82 = sext i32 %81 to i64
%83 = add i64 %55, 3
%84 = add i64 %83, %82
%85 = load i32, i32* %16, align 4
%86 = mul i32 %85, 3
%87 = add i32 %86, 3
%88 = sext i32 %87 to i64
%89 = add i64 %55, %88
%90 = inttoptr i64 %84 to i8*
%91 = load i8, i8* %90, align 1
%92 = inttoptr i64 %89 to i8*
store i8 %91, i8* %92, align 1
%93 = load i32, i32* %16, align 4
%94 = mul i32 %93, 3
%95 = add i32 %94, 2
%96 = sext i32 %95 to i64
%97 = add i64 %55, %96
%98 = inttoptr i64 %97 to i8*
store i8 %91, i8* %98, align 1
%99 = load i32, i32* %16, align 4
%100 = mul i32 %99, 2
%101 = add i32 %100, 3
%102 = sext i32 %101 to i64
%103 = add i64 %55, %102
%104 = inttoptr i64 %103 to i8*
store i8 %91, i8* %104, align 1
%105 = load i32, i32* %16, align 4
%106 = mul i32 %105, 2
%107 = add i32 %106, 2
%108 = sext i32 %107 to i64
%109 = add i64 %55, %108
%110 = inttoptr i64 %109 to i8*
store i8 %91, i8* %110, align 1
%111 = load i32, i32* %5, align 8
%112 = zext i32 %111 to i64
%113 = icmp eq i32 %111, 0
%114 = icmp eq i1 %113, false
store i64 %112, i64* %rax.0.reg2mem
br i1 %114, label LBL_2, label LBL_1
LBL_1:
%115 = load i32, i32* %10, align 8
%116 = mul i32 %115, %9
%117 = sext i32 %116 to i64
%118 = add i64 %55, 4
%119 = add i64 %118, %117
%120 = add i64 %4, 8
%121 = inttoptr i64 %120 to i64*
%122 = load i64, i64* %121, align 8
%123 = add i64 %4, 28
%124 = inttoptr i64 %123 to i32*
%125 = load i32, i32* %124, align 4
%126 = add i32 %125, 1
%127 = sext i32 %126 to i64
%128 = add i64 %122, %127
%129 = inttoptr i64 %119 to i8*
%130 = load i8, i8* %129, align 1
%131 = inttoptr i64 %128 to i8*
store i8 %130, i8* %131, align 1
%132 = load i64, i64* %121, align 8
%133 = load i32, i32* %124, align 4
%134 = sext i32 %133 to i64
%135 = add i64 %132, %134
%136 = inttoptr i64 %135 to i8*
store i8 %130, i8* %136, align 1
%137 = load i64, i64* %121, align 8
%138 = add i64 %137, 1
%139 = inttoptr i64 %138 to i8*
store i8 %130, i8* %139, align 1
%140 = load i64, i64* %121, align 8
%141 = inttoptr i64 %140 to i8*
store i8 %130, i8* %141, align 1
%142 = load i32, i32* %10, align 8
%143 = mul i32 %142, %9
%144 = sext i32 %143 to i64
%145 = add i64 %132, 5
%146 = add i64 %145, %144
%147 = add i64 %4, 16
%148 = inttoptr i64 %147 to i64*
%149 = load i64, i64* %148, align 8
%150 = add i64 %4, 32
%151 = inttoptr i64 %150 to i32*
%152 = load i32, i32* %151, align 4
%153 = add i32 %152, 1
%154 = sext i32 %153 to i64
%155 = add i64 %149, %154
%156 = inttoptr i64 %146 to i8*
%157 = load i8, i8* %156, align 1
%158 = inttoptr i64 %155 to i8*
store i8 %157, i8* %158, align 1
%159 = load i64, i64* %148, align 8
%160 = load i32, i32* %151, align 4
%161 = sext i32 %160 to i64
%162 = add i64 %159, %161
%163 = inttoptr i64 %162 to i8*
store i8 %157, i8* %163, align 1
%164 = load i64, i64* %148, align 8
%165 = add i64 %164, 1
%166 = inttoptr i64 %165 to i8*
store i8 %157, i8* %166, align 1
%167 = load i64, i64* %148, align 8
%168 = zext i8 %157 to i64
%169 = inttoptr i64 %167 to i8*
store i8 %157, i8* %169, align 1
store i64 %168, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8 %157, { 2, 1, 0, 3, 4 }
uselistorder i64 %132, { 1, 0 }
uselistorder i8 %130, { 1, 0, 2, 3 }
uselistorder i64 %55, { 8, 0, 1, 2, 3, 9, 4, 5, 6, 10, 7 }
uselistorder i8 %41, { 2, 1, 0, 3 }
uselistorder i8 %22, { 2, 1, 0, 3 }
uselistorder i32 %9, { 1, 2, 3, 4, 5, 0 }
uselistorder i64 %4, { 6, 5, 8, 7, 10, 11, 0, 1, 2, 12, 3, 4, 9 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 2, { 4, 0, 1, 5, 2, 3, 6 }
uselistorder i32 3, { 5, 0, 1, 2, 3, 4, 6 }
} | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.