dataset stringclasses 1 value | file stringlengths 7 51 | fun_name stringlengths 2 45 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
CompRealVul | tg3_phy_copper_begin_9658 | tg3_phy_copper_begin | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge38.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%sv_2 = alloca i32, align 4
%3 = trunc i64 %1 to i32
%4 = icmp ne i32 %3, 1
%.pre = add i64 %2, 28
%.pre9 = inttoptr i64 %.pre to i32*
%.pre11 = load i32, i32* %.pre9, align 4
%5 = urem i32 %.pre11, 2
%6 = icmp eq i32 %5, 0
%or.cond = icmp eq i1 %4, %6
br i1 %or.cond, label LBL_5, label LBL_1
LBL_1:
%7 = urem i32 %.pre11, 2
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 %2, i64 4)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
%spec.select = select i1 %11, i32 3, i32 15
store i32 %spec.select, i32* %sv_0.1.reg2mem
store i32 48, i32* %storemerge.reg2mem
br label LBL_4
LBL_3:
%12 = add i64 %2, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = and i32 %.pre11, 2
%16 = icmp eq i32 %15, 0
%17 = and i32 %14, -49
%spec.select4 = select i1 %16, i32 %14, i32 %17
%18 = add i64 %2, 8
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
store i32 %spec.select4, i32* %sv_0.1.reg2mem
store i32 %20, i32* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%21 = zext i32 %sv_0.1.reload to i64
%22 = call i64 @FUNC(i64 %2, i64 %21, i32 %storemerge.reload)
%23 = call i64 @FUNC(i64 %2, i64 0, i64 12288)
store i64 %23, i64* %rax.0.reg2mem
br label LBL_16
LBL_5:
%24 = add i64 %2, 12
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %2, 20
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = add i64 %2, 16
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = add i64 %2, 24
%33 = inttoptr i64 %32 to i32*
store i32 %31, i32* %33, align 4
%34 = call i64 @FUNC(i64 %2)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 1
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_7, label LBL_6
LBL_6:
%38 = call i64 @FUNC(i64 %2, i64 4, i64 63)
br label LBL_7
LBL_7:
%39 = load i32, i32* %25, align 4
%40 = load i32, i32* %30, align 4
%41 = bitcast i32* %sv_2 to i64*
%42 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %41)
%43 = trunc i64 %42 to i32
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
store i64 %42, i64* %rax.0.reg2mem
br i1 %45, label LBL_16, label LBL_8
LBL_8:
%switch.selectcmp = icmp eq i32 %39, 1000
%switch.select = select i1 %switch.selectcmp, i32 1024, i32 0
%switch.selectcmp6 = icmp eq i32 %39, 100
%switch.select7 = select i1 %switch.selectcmp6, i32 512, i32 %switch.select
%46 = icmp eq i32 %40, 1
%47 = icmp eq i1 %46, false
%48 = or i32 %switch.select7, 256
%spec.select5 = select i1 %47, i32 %switch.select7, i32 %48
%49 = load i32, i32* %sv_2, align 4
%50 = zext i32 %49 to i64
%51 = icmp eq i32 %spec.select5, %49
store i64 %50, i64* %rax.0.reg2mem
br i1 %51, label LBL_16, label LBL_9
LBL_9:
%52 = call i64 @FUNC(i64 %2, i64 0, i64 16384)
%53 = bitcast i32* %sv_1 to i64*
store i32 0, i32* %storemerge38.reg2mem
br label LBL_10
LBL_10:
%storemerge38.reload = load i32, i32* %storemerge38.reg2mem
%54 = call i64 @FUNC(i64 10)
%55 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %53)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
%58 = icmp eq i1 %57, false
br i1 %58, label LBL_14, label LBL_11
LBL_11:
%59 = call i64 @FUNC(i64 %2, i64 1, i64* nonnull %53)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, 0
%62 = icmp eq i1 %61, false
br i1 %62, label LBL_14, label LBL_12
LBL_12:
%63 = load i32, i32* %sv_1, align 4
%64 = and i32 %63, 4
%65 = icmp eq i32 %64, 0
%66 = icmp eq i1 %65, false
br i1 %66, label LBL_14, label LBL_13
LBL_13:
%67 = call i64 @FUNC(i64 40)
br label LBL_15
LBL_14:
%68 = add nuw nsw i32 %storemerge38.reload, 1
%69 = icmp ult i32 %68, 1500
store i32 %68, i32* %storemerge38.reg2mem
br i1 %69, label LBL_10, label LBL_15
LBL_15:
%70 = zext i32 %spec.select5 to i64
%71 = call i64 @FUNC(i64 %2, i64 0, i64 %70)
%72 = call i64 @FUNC(i64 40)
store i64 %72, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %spec.select5, { 1, 0 }
uselistorder i32 %switch.select7, { 1, 0 }
uselistorder i32 %.pre11, { 2, 0, 1 }
uselistorder i64 %2, { 2, 3, 4, 5, 6, 1, 7, 9, 8, 16, 15, 12, 11, 13, 14, 10, 0 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64)* @udelay, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64*)* @tg3_readphy, { 2, 1, 0 }
uselistorder i1 false, { 0, 1, 2, 4, 3, 5 }
uselistorder i64 (i64, i64, i64)* @tg3_writephy, { 3, 2, 1, 0 }
uselistorder i64 4, { 0, 2, 1 }
uselistorder i32 0, { 3, 4, 5, 0, 2, 6, 7, 8, 9, 1 }
uselistorder i32 2, { 2, 0, 1 }
uselistorder label LBL_14, { 2, 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | ide_drive_pio_post_load_14653 | ide_drive_pio_post_load | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp ult i32 %2, 11
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %1, 4294967296
%5 = ashr exact i64 %sext, 29
%6 = add i64 %5, ptrtoint (i64* @gv_0 to i64)
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = add i64 %4, 8
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = add i64 %4, 16
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = add i64 %4, 24
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = add i64 %16, %13
%18 = add i64 %4, 40
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
%20 = add i64 %4, 32
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = add i64 %22, %17
%24 = add i64 %4, 48
%25 = inttoptr i64 %24 to i64*
store i64 %23, i64* %25, 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 %4, { 1, 0, 4, 3, 2, 5 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | jsvGetString_6323 | jsvGetString | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%sv_0.04.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i8*
%storemerge.lcssa.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i64
%.reg2mem27 = alloca i8
%.reg2mem = alloca i8*
%1 = load i64, i64* %0
%sv_2 = alloca i64, align 8
%2 = icmp eq i64 %arg3, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_6, label LBL_3
LBL_3:
%8 = add i64 %arg3, -1
%9 = inttoptr i64 %6 to i8*
%10 = load i8, i8* %9, align 1
%11 = icmp ne i8 %10, 0
%12 = icmp ne i64 %8, 0
%or.cond6 = icmp eq i1 %12, %11
%13 = bitcast i64* %arg2 to i8*
store i8* %13, i8** %.reg2mem
store i8 %10, i8* %.reg2mem27
store i64 0, i64* %storemerge7.reg2mem
store i64 0, i64* %storemerge.lcssa.reg2mem
store i8* %13, i8** %.lcssa.reg2mem
br i1 %or.cond6, label LBL_4, label LBL_5
LBL_4:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%.reload28 = load i8, i8* %.reg2mem27
%.reload = load i8*, i8** %.reg2mem
store i8 %.reload28, i8* %.reload, align 1
%14 = add nuw i64 %storemerge7.reload, 1
%15 = add i64 %14, %6
%16 = inttoptr i64 %15 to i8*
%17 = load i8, i8* %16, align 1
%18 = icmp ne i8 %17, 0
%19 = icmp ult i64 %14, %8
%or.cond = icmp eq i1 %19, %18
%20 = add i64 %14, %4
%21 = inttoptr i64 %20 to i8*
store i8* %21, i8** %.reg2mem
store i8 %17, i8* %.reg2mem27
store i64 %14, i64* %storemerge7.reg2mem
store i64 %14, i64* %storemerge.lcssa.reg2mem
store i8* %21, i8** %.lcssa.reg2mem
br i1 %or.cond, label LBL_4, label LBL_5
LBL_5:
%.lcssa.reload = load i8*, i8** %.lcssa.reg2mem
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
store i8 0, i8* %.lcssa.reload, align 1
store i64 %storemerge.lcssa.reload, i64* %rax.0.reg2mem
br label LBL_21
LBL_6:
%22 = call i64 @FUNC(i64 %5)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label LBL_8, label LBL_7
LBL_7:
%25 = and i64 %1, 4294967295
%26 = call i64 @FUNC(i64 %25, i64 %4, i64 10)
%27 = bitcast i64* %arg2 to i8*
%28 = call i32 @strlen(i8* %27)
%29 = sext i32 %28 to i64
store i64 %29, i64* %rax.0.reg2mem
br label LBL_21
LBL_8:
%30 = call i64 @FUNC(i64 %5)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_10, label LBL_9
LBL_9:
%33 = trunc i64 %1 to i32
%34 = call i128 @FUNC(i32 %33)
%35 = call i64 @FUNC(i64 %4, i64 %arg3)
%36 = bitcast i64* %arg2 to i8*
%37 = call i32 @strlen(i8* %36)
%38 = sext i32 %37 to i64
store i64 %38, i64* %rax.0.reg2mem
br label LBL_21
LBL_10:
%39 = call i64 @FUNC(i64 %5)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
br i1 %41, label LBL_18, label LBL_11
LBL_11:
%42 = call i64 @FUNC(i64 %5)
%43 = trunc i64 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_13, label LBL_12
LBL_12:
call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
br label LBL_13
LBL_13:
%45 = call i64 @FUNC(i64* nonnull %sv_2, i64 %5, i64 0)
%46 = call i64 @FUNC(i64* nonnull %sv_2)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
store i64 %arg3, i64* %sv_0.04.reg2mem
store i64 %4, i64* %sv_1.03.reg2mem
store i64 %4, i64* %sv_1.0.lcssa.reg2mem
store i64 %arg3, i64* %sv_0.0.lcssa.reg2mem
br i1 %49, label LBL_14, label LBL_17
LBL_14:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem
%50 = icmp ult i64 %sv_0.04.reload, 2
br i1 %50, label LBL_15, label LBL_16
LBL_15:
%51 = inttoptr i64 %sv_1.03.reload to i8*
store i8 0, i8* %51, align 1
%52 = call i64 @FUNC(i64* nonnull %sv_2)
store i64 %arg3, i64* %rax.0.reg2mem
br label LBL_21
LBL_16:
%53 = add i64 %sv_0.04.reload, -1
%54 = add i64 %sv_1.03.reload, 1
%55 = call i64 @FUNC(i64* nonnull %sv_2)
%56 = trunc i64 %55 to i8
%57 = inttoptr i64 %sv_1.03.reload to i8*
store i8 %56, i8* %57, align 1
%58 = call i64 @FUNC(i64* nonnull %sv_2)
%59 = call i64 @FUNC(i64* nonnull %sv_2)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, 0
%62 = icmp eq i1 %61, false
store i64 %53, i64* %sv_0.04.reg2mem
store i64 %54, i64* %sv_1.03.reg2mem
store i64 %54, i64* %sv_1.0.lcssa.reg2mem
store i64 %53, i64* %sv_0.0.lcssa.reg2mem
br i1 %62, label LBL_14, label LBL_17
LBL_17:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem
%63 = call i64 @FUNC(i64* nonnull %sv_2)
%64 = inttoptr i64 %sv_1.0.lcssa.reload to i8*
store i8 0, i8* %64, align 1
%65 = sub i64 %arg3, %sv_0.0.lcssa.reload
store i64 %65, i64* %rax.0.reg2mem
br label LBL_21
LBL_18:
%66 = call i64 @FUNC(i64 %5)
%67 = icmp eq i64 %66, 0
br i1 %67, label LBL_20, label LBL_19
LBL_19:
%68 = call i64 @FUNC(i64 %66, i64 0, i64 %4, i64 %arg3)
store i64 %68, i64* %sv_2, align 8
%69 = call i64 @FUNC(i64 %66)
%70 = load i64, i64* %sv_2, align 8
store i64 %70, i64* %rax.0.reg2mem
br label LBL_21
LBL_20:
%71 = bitcast i64* %arg2 to i8*
store i8 0, i8* %71, align 1
%72 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_21
LBL_21:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %66, { 1, 0, 2 }
uselistorder i64 %sv_1.03.reload, { 1, 0, 2 }
uselistorder i64 %14, { 0, 1, 2, 4, 3 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6 }
uselistorder i64 %4, { 5, 0, 1, 4, 3, 2 }
uselistorder i64* %sv_2, { 7, 8, 1, 2, 3, 4, 5, 0, 6 }
uselistorder i8** %.reg2mem, { 2, 0, 1 }
uselistorder i8* %.reg2mem27, { 2, 0, 1 }
uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 4, 5, 3, 2, 1 }
uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }
uselistorder i8 0, { 2, 4, 3, 5, 6, 0, 1 }
uselistorder i64 -1, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i64 %arg3, { 6, 5, 0, 1, 2, 4, 3, 7 }
uselistorder i64* %arg2, { 1, 2, 3, 0, 4 }
uselistorder label LBL_21, { 0, 1, 3, 2, 4, 5, 6 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | find_callno_locked_7002 | find_callno_locked | define i64 @FUNC(i64 %arg1, i16 %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64 %arg6, i32 %arg7, i32 %arg8, i32 %arg9, i16 %arg10, i16 %arg11, i64 %arg12) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = trunc i64 %arg5 to i32
%2 = urem i64 %arg1, 65536
%3 = call i64 @FUNC(i64 %2, i16 %arg2, i64 %0, i32 %arg4, i32 %1, i64 1)
ret i64 %3
} | 0 |
CompRealVul | socket_get_fd_3552 | socket_get_fd | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %1, 4294967295
ret i64 %2
} | 0 |
CompRealVul | __io_sqe_files_unregister_12918 | __io_sqe_files_unregister | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = add i64 %2, 4
br i1 %4, label LBL_6, label LBL_1
LBL_1:
%6 = and i64 %1, 4294967295
store i32 0, i32* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%7 = zext i32 %storemerge1.reload to i64
%8 = call i64 @FUNC(i64 %5, i64 %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_5, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %8)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 %5, i64 %7)
%15 = call i64 @FUNC(i64 %8)
br label LBL_5
LBL_5:
%16 = add i32 %storemerge1.reload, 1
%17 = sext i32 %16 to i64
%18 = icmp sgt i64 %6, %17
store i32 %16, i32* %storemerge1.reg2mem
br i1 %18, label LBL_2, label LBL_6
LBL_6:
%19 = call i64 @FUNC(i64 %5)
%20 = add i64 %2, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = call i64 @FUNC(i64 %22)
store i64 0, i64* %21, align 8
%24 = bitcast i64* %arg1 to i32*
store i32 0, i32* %24, align 4
ret i64 %2
uselistorder i64 %2, { 0, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i32 0, { 3, 2, 0, 1 }
uselistorder label LBL_5, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | mxg_update_cache_570 | mxg_update_cache | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = add i64 %0, 16
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = sub i64 %4, %0
%6 = trunc i64 %5 to i32
%7 = add i32 %6, %1
%8 = icmp ugt i32 %7, %6
%9 = icmp eq i32 %1, 0
%10 = or i1 %9, %8
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %10, label LBL_1, label LBL_6
LBL_1:
%sext = mul i64 %arg2, 4294967296
%11 = ashr exact i64 %sext, 32
%12 = add i64 %0, 24
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add nsw i64 %11, 32
%16 = add i64 %15, %5
%17 = and i64 %16, 4294967295
%18 = add i64 %0, 8
%19 = call i64 @FUNC(i64 %0, i64 %18, i64 %17)
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %21, label LBL_2, label LBL_6
LBL_2:
store i64 %19, i64* %arg1, align 8
%22 = and i64 %5, 4294967295
%23 = add i64 %22, %0
store i64 %23, i64* %3, align 8
%24 = load i64, i64* %13, align 8
%25 = icmp eq i64 %24, 0
store i64 %23, i64* %.reg2mem
br i1 %25, label LBL_4, label LBL_3
LBL_3:
%26 = sub i64 %14, %0
%27 = and i64 %26, 4294967295
%28 = add i64 %27, %0
store i64 %28, i64* %13, align 8
%.pre = load i64, i64* %3, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i64, i64* %.reg2mem
%29 = add i64 %0, 32
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = trunc i64 %11 to i32
%33 = sub i32 %32, %31
%34 = zext i32 %33 to i64
%35 = zext i32 %31 to i64
%36 = add i64 %.reload, %35
%37 = inttoptr i64 %18 to i64*
%38 = load i64, i64* %37, align 8
%39 = call i64 @FUNC(i64 %38, i64 %36, i64 %34)
%40 = trunc i64 %39 to i32
%41 = icmp slt i32 %40, 0
%42 = icmp eq i1 %41, false
store i64 %39, i64* %rax.0.shrunk.reg2mem
br i1 %42, label LBL_5, label LBL_6
LBL_5:
%43 = load i32, i32* %30, align 4
%44 = add i32 %43, %40
store i32 %44, i32* %30, align 4
store i64 %39, i64* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_6:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %39, { 1, 0, 2 }
uselistorder i32* %30, { 1, 0, 2 }
uselistorder i64* %13, { 1, 0, 2 }
uselistorder i64 %11, { 1, 0 }
uselistorder i32 %6, { 1, 0 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i32 %1, { 1, 0 }
uselistorder i64 %0, { 2, 0, 5, 1, 3, 4, 6, 7, 8 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
} | 0 |
CompRealVul | stream_seek_2249 | stream_seek | 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 = 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*
store i64 %arg2, i64* %8, align 8
%9 = trunc i64 %arg3 to i32
%10 = icmp slt i32 %9, 0
%11 = zext i1 %10 to i32
%12 = add i64 %6, 16
%13 = inttoptr i64 %12 to i32*
store i32 %11, i32* %13, align 4
%14 = bitcast i64* %arg1 to i32*
store i32 1, i32* %14, align 4
store i64 %6, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 0 }
} | 0 |
CompRealVul | get_extra_meta_func_16661 | get_extra_meta_func | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = trunc i64 %arg2 to i32
%1 = icmp eq i32 %0, 0
%storemerge3.in.in.v = select i1 %1, i64 ptrtoint ([4 x i8]** @gv_0 to i64), i64 ptrtoint ([3 x i8*]* @gv_1 to i64)
%2 = inttoptr i64 %arg1 to i64*
%3 = select i1 %1, i32 3, i32 4
%storemerge3.in6 = inttoptr i64 %storemerge3.in.in.v to i64*
%storemerge37 = load i64, i64* %storemerge3.in6, align 8
%4 = inttoptr i64 %storemerge37 to i64*
%5 = call i32 @memcmp(i64* %2, i64* %4, i32 %3)
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i32 1, i32* %.reg2mem
store i64 ptrtoint ([4 x i8]** @gv_0 to i64), i64* %storemerge.reg2mem
br i1 %7, label LBL_2, label LBL_3
LBL_1:
%storemerge3.in.in = add i64 %14, %storemerge3.in.in.v
%storemerge3.in = inttoptr i64 %storemerge3.in.in to i64*
%storemerge3 = load i64, i64* %storemerge3.in, align 8
%8 = inttoptr i64 %storemerge3 to i64*
%9 = call i32 @memcmp(i64* %2, i64* %8, i32 %3)
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
%12 = add i32 %.reload, 1
store i32 %12, i32* %.reg2mem
store i64 %15, i64* %storemerge.reg2mem
br i1 %11, label LBL_2, label LBL_3
LBL_2:
%.reload = load i32, i32* %.reg2mem
%13 = sext i32 %.reload to i64
%14 = mul i64 %13, 16
%15 = add i64 %14, ptrtoint ([4 x i8]** @gv_0 to i64)
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 0, i64* %storemerge.reg2mem
br i1 %19, label LBL_1, label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %15, { 1, 0 }
uselistorder i32 %3, { 1, 0 }
uselistorder i64* %2, { 1, 0 }
uselistorder i64 %storemerge3.in.in.v, { 1, 0 }
uselistorder i1 %1, { 1, 0 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }
uselistorder i64 ptrtoint ([4 x i8]** @gv_0 to i64), { 2, 0, 1 }
uselistorder i32 0, { 7, 0, 8, 1, 2, 3, 4, 5, 6 }
uselistorder i32 1, { 3, 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | iwgif_read_image_11792 | iwgif_read_image | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%1 = call i64 @FUNC(i64 %0, i64 %0, i64 9)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_17, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %0)
%5 = trunc i64 %4 to i32
%6 = add i64 %0, 256
%7 = inttoptr i64 %6 to i32*
store i32 %5, i32* %7, align 4
%8 = add i64 %0, 2
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %9 to i32
%11 = add i64 %0, 260
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = add i64 %0, 4
%14 = call i64 @FUNC(i64 %13)
%15 = trunc i64 %14 to i32
%16 = add i64 %0, 264
%17 = inttoptr i64 %16 to i32*
store i32 %15, i32* %17, align 4
%18 = add i64 %0, 6
%19 = call i64 @FUNC(i64 %18)
%20 = trunc i64 %19 to i32
%21 = add i64 %0, 268
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = add i64 %0, 8
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = udiv i8 %25, 64
%27 = urem i8 %26, 2
%28 = zext i8 %27 to i32
%29 = add i64 %0, 272
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = load i8, i8* %24, align 1
%cond = icmp sgt i8 %31, -1
br i1 %cond, label LBL_3, label LBL_2
LBL_2:
%32 = urem i8 %31, 8
%narrow = add nuw nsw i8 %32, 1
%33 = zext i8 %narrow to i32
%34 = shl i32 1, %33
%35 = add i64 %0, 284
%36 = inttoptr i64 %35 to i32*
store i32 %34, i32* %36, align 4
%37 = call i64 @FUNC(i64 %0, i64 %35)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %39, label LBL_17, label LBL_3
LBL_3:
%40 = add i64 %0, 276
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label LBL_5, label LBL_4
LBL_4:
%44 = add i64 %0, 280
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = sext i32 %46 to i64
%48 = add i64 %0, 288
%49 = add i64 %48, %47
%50 = inttoptr i64 %49 to i8*
store i8 0, i8* %50, align 1
br label LBL_5
LBL_5:
%51 = call i64 @FUNC(i64 %0, i64 %0, i64 1)
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %53, label LBL_17, label LBL_6
LBL_6:
%54 = bitcast i64* %rdi to i8*
%55 = load i8, i8* %54, align 8
%.off = add i8 %55, -2
%56 = icmp ult i8 %.off, 10
br i1 %56, label LBL_8, label LBL_7
LBL_7:
%57 = add i64 %0, 560
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_17
LBL_8:
%61 = call i64 @FUNC(i64 %0)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %63, label LBL_17, label LBL_9
LBL_9:
%64 = load i32, i32* %17, align 4
%65 = load i32, i32* %22, align 4
%66 = sext i32 %64 to i64
%67 = sext i32 %65 to i64
%68 = mul nsw i64 %67, %66
%69 = add i64 %0, 544
%70 = inttoptr i64 %69 to i64*
store i64 %68, i64* %70, align 8
%71 = call i64 @FUNC(i64 %0)
%72 = trunc i64 %71 to i32
%73 = icmp eq i32 %72, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %73, label LBL_17, label LBL_10
LBL_10:
%74 = zext i8 %55 to i64
%75 = bitcast i32* %sv_1 to i64*
%76 = call i64 @FUNC(i64* nonnull %75, i64 %74)
%77 = call i64 @FUNC(i64* nonnull %75)
%78 = add i64 %0, 552
%79 = inttoptr i64 %78 to i64*
br label LBL_11
LBL_11:
%80 = call i64 @FUNC(i64 %0, i64 %0, i64 1)
%81 = trunc i64 %80 to i32
%82 = icmp eq i32 %81, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %82, label LBL_17, label LBL_12
LBL_12:
%83 = load i8, i8* %54, align 8
%84 = icmp eq i8 %83, 0
store i64 1, i64* %sv_0.0.reg2mem
br i1 %84, label LBL_17, label LBL_13
LBL_13:
%85 = zext i8 %83 to i64
%86 = call i64 @FUNC(i64 %0, i64 %0, i64 %85)
%87 = trunc i64 %86 to i32
%88 = icmp eq i32 %87, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %88, label LBL_17, label LBL_14
LBL_14:
%89 = call i64 @FUNC(i64 %0, i64* nonnull %75, i64 %0, i64 %85)
%90 = trunc i64 %89 to i32
%91 = icmp eq i32 %90, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %91, label LBL_17, label LBL_15
LBL_15:
%92 = load i32, i32* %sv_1, align 4
%93 = icmp eq i32 %92, 0
%94 = icmp eq i1 %93, false
store i64 1, i64* %sv_0.0.reg2mem
br i1 %94, label LBL_17, label LBL_16
LBL_16:
%95 = load i64, i64* %79, align 8
%96 = load i64, i64* %70, align 8
%97 = icmp ult i64 %95, %96
%98 = icmp eq i1 %97, false
store i64 1, i64* %sv_0.0.reg2mem
br i1 %98, label LBL_17, label LBL_11
LBL_17:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i8 %83, { 1, 0 }
uselistorder i64 %0, { 3, 4, 5, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 16, 17, 15, 1, 0, 19, 18, 20, 21, 22, 23, 24, 25, 26, 27, 29, 28 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6, 9, 10, 8, 11, 7, 12 }
uselistorder i64 1, { 2, 1, 0, 8, 9, 3, 4, 5, 6, 10, 7 }
uselistorder i64 256, { 2, 1, 0 }
uselistorder i64 (i64)* @iw_get_ui16le, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @iwgif_read, { 3, 2, 1, 0 }
uselistorder label LBL_17, { 2, 1, 3, 4, 0, 5, 6, 7, 11, 8, 9, 10 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | ff_vp56_init_range_decoder_2966 | ff_vp56_init_range_decoder | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i32* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = bitcast i64* %arg1 to i32*
store i32 255, i32* %3, align 4
%4 = add i64 %1, 4
%5 = inttoptr i64 %4 to i32*
store i32 -16, i32* %5, align 4
%6 = add i64 %1, 8
%7 = inttoptr i64 %6 to i64*
store i64 %0, i64* %7, align 8
%sext = mul i64 %arg3, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = add i64 %8, %0
%10 = add i64 %1, 16
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = icmp eq i32 %2, 0
%13 = icmp slt i32 %2, 0
%14 = icmp eq i1 %13, false
%15 = icmp eq i1 %12, false
%16 = icmp eq i1 %14, %15
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %16, label LBL_1, label LBL_2
LBL_1:
%17 = call i64 @FUNC(i64 %6)
%18 = trunc i64 %17 to i32
%19 = add i64 %1, 24
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | migration_bitmap_sync_range_15831 | migration_bitmap_sync_range | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = call i64 @FUNC(i64 %0, i64 %arg1, i64 %arg2)
%2 = load i32, i32* @gv_1, align 4
%3 = sext i32 %2 to i64
%4 = add i64 %1, %3
%5 = trunc i64 %4 to i32
store i32 %5, i32* @gv_1, align 4
ret i64 %4
uselistorder i64 %4, { 1, 0 }
} | 1 |
CompRealVul | free_charger_irq_13324 | free_charger_irq | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1, i64 %0)
%2 = call i64 @FUNC(i64 %0, i64 2, i64 %0)
%3 = call i64 @FUNC(i64 %0, i64 3, i64 %0)
%4 = call i64 @FUNC(i64 %0, i64 4, i64 %0)
%5 = call i64 @FUNC(i64 %0, i64 5, i64 %0)
%6 = call i64 @FUNC(i64 %0, i64 6, i64 %0)
%7 = call i64 @FUNC(i64 %0, i64 7, i64 %0)
%8 = call i64 @FUNC(i64 %0, i64 8, i64 %0)
%9 = call i64 @FUNC(i64 %0, i64 9, i64 %0)
%10 = call i64 @FUNC(i64 %0, i64 10, i64 %0)
%11 = call i64 @FUNC(i64 %0, i64 11, i64 %0)
%12 = call i64 @FUNC(i64 %0, i64 12, i64 %0)
ret i64 %12
uselistorder i64 %0, { 2, 3, 0, 1, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 16, 17, 18, 19, 20, 21, 23, 22 }
uselistorder i64 (i64, i64, i64)* @wm8350_free_irq, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
} | 1 |
CompRealVul | cnic_copy_ulp_stats_4950 | cnic_copy_ulp_stats | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sext = mul i64 %arg2, 4294967296
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = call i64 @FUNC(i64* nonnull @gv_0)
%2 = ashr exact i64 %sext, 29
%3 = add i64 %2, ptrtoint (i64* @gv_0 to i64)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = and i64 %1, 4294967295
%7 = call i64 @FUNC(i64 %5, i64 %6)
%8 = icmp eq i64 %7, 0
store i64 4294967277, i64* %storemerge.reg2mem
br i1 %8, label LBL_3, label LBL_1
LBL_1:
%9 = inttoptr i64 %7 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
store i64 4294967277, i64* %storemerge.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = ptrtoint i64* %arg1 to i64
%13 = add i64 %12, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = add i64 %15, %2
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%phitmp = and i64 %18, 4294967295
store i64 %phitmp, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%19 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 4294967277, { 1, 0 }
uselistorder i64* @gv_0, { 0, 3, 1, 2 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 0 |
CompRealVul | aio_setup_single_vector_12254 | aio_setup_single_vector | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
store i64 %1, i64* %arg1, align 8
%2 = add i64 %0, 24
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
store i64 %4, i64* %arg1, align 8
%5 = add i64 %0, 32
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %1 to i64*
store i64 %7, i64* %8, align 8
%9 = add i64 %0, 40
%10 = inttoptr i64 %9 to i32*
store i32 1, i32* %10, align 4
%11 = add i64 %0, 44
%12 = inttoptr i64 %11 to i32*
store i32 0, i32* %12, align 4
ret i64 0
} | 1 |
CompRealVul | restore_altivec_11943 | restore_altivec | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = call i64 @FUNC(i64 1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 %5)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = bitcast i64* %rdi to i32*
%13 = add i64 %5, 8
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %5, 4
%16 = inttoptr i64 %15 to i32*
store i32 1, i32* %16, align 4
%17 = load i32, i32* %12, align 8
%18 = add i32 %17, 1
%19 = bitcast i64* %arg1 to i32*
store i32 %18, i32* %19, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %5, { 2, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 2, 1, 0 }
} | 1 |
CompRealVul | vnc_init_timer_1785 | vnc_init_timer | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1000, i32* %1, align 4
%2 = add i64 %0, 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 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = add i64 %0, 16
%8 = call i64 @FUNC(i64 %7)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 %8, i64* %rax.0.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = load i64, i64* @gv_0, align 8
%13 = call i64 @FUNC(i64 %12, i64 4198757, i64 %0)
store i64 %13, i64* %3, align 8
%14 = add i64 %0, 32
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = add i64 %0, 24
%18 = call i64 @FUNC(i64 %17, i64 %16)
%19 = call i64 @FUNC(i64 %0)
store i64 %19, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 }
} | 0 |
CompRealVul | enum_dir_fct_18164 | enum_dir_fct | define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.in.reg2mem = alloca i64
%rdi.19.reg2mem = alloca i64
%rdi.18.reg2mem = alloca i64
%storemerge612.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i8* %arg3 to i64
%1 = ptrtoint i8* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%3 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0)
%4 = call i64 @FUNC(i64 %2, i64 %1)
%5 = and i64 %4, 4294967295
%6 = call i64 @FUNC(i64 %2, i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 0, i64 0)
%7 = call i32 @strlen(i8* %arg3)
%8 = icmp eq i32 %7, 0
store i64 %0, i64* %rdi.18.reg2mem
br i1 %8, label LBL_6, label LBL_1
LBL_1:
%9 = zext i32 %7 to i64
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %storemerge612.reg2mem
br label LBL_2
LBL_2:
%storemerge612.reload = load i32, i32* %storemerge612.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%10 = sub i32 0, %storemerge612.reload
%11 = sub i32 %10, 1
%12 = add i32 %7, %11
%13 = zext i32 %12 to i64
%14 = add i64 %13, %0
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = sext i8 %16 to i32
%18 = call i8* @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i32 %17)
%19 = icmp eq i8* %18, null
br i1 %19, label LBL_3, label LBL_4
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%20 = add nuw i32 %storemerge612.reload, 1
%21 = icmp ult i64 %indvars.iv.next, %9
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %20, i32* %storemerge612.reg2mem
store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.18.reg2mem
br i1 %21, label LBL_2, label LBL_6
LBL_4:
%22 = and i64 %indvars.iv.reload, 4294967295
%23 = sub i64 0, %22
%24 = sub i64 %23, 1
%25 = add i64 %9, %0
%26 = add i64 %25, %24
%27 = icmp eq i64 %26, 0
store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.18.reg2mem
br i1 %27, label LBL_6, label LBL_5
LBL_5:
%28 = inttoptr i64 %26 to i8*
store i8 47, i8* %28, align 1
%29 = add i64 %26, 1
%30 = inttoptr i64 %29 to i8*
store i8 0, i8* %30, align 1
%31 = call i64 @FUNC(i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64 %0)
store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.19.reg2mem
store i64 %31, i64* %storemerge.in.reg2mem
br label LBL_7
LBL_6:
%rdi.18.reload = load i64, i64* %rdi.18.reg2mem
%32 = call i64 @FUNC(i64 %rdi.18.reload, i64 %0)
store i64 %rdi.18.reload, i64* %rdi.19.reg2mem
store i64 %32, i64* %storemerge.in.reg2mem
br label LBL_7
LBL_7:
%33 = trunc i64 %3 to i32
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%rdi.19.reload = load i64, i64* %rdi.19.reg2mem
%sext = mul i64 %3, 4294967296
%34 = ashr exact i64 %sext, 32
%35 = and i64 %storemerge.in.reload, 4294967295
%36 = call i64 @FUNC(i64 %rdi.19.reload, i64 %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 0, i64 0)
%37 = add i64 %2, 16
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = icmp eq i32 %39, 0
%41 = icmp eq i1 %40, false
%42 = zext i1 %41 to i64
%43 = call i64 @FUNC(i64 %rdi.19.reload, i64 %34, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %42, i64 0, i64 0)
%44 = add i64 %2, 8
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = bitcast i32* %sv_1 to i64*
%48 = call i64 @FUNC(i64 %rdi.19.reload, i64 %46, i64* nonnull %47)
store i32 %33, i32* %sv_0, align 4
%49 = load i32, i32* %sv_1, align 4
%50 = zext i32 %49 to i64
%51 = load i64, i64* %45, align 8
%52 = call i64 @FUNC(i64 %rdi.19.reload, i64 %51, i64 %50, i32* nonnull %sv_0)
ret i64 0
uselistorder i64 %26, { 0, 2, 1 }
uselistorder i64 %indvars.iv.reload, { 1, 0 }
uselistorder i64 %0, { 4, 3, 1, 2, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge612.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.18.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %rdi.19.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64 ptrtoint ([3 x i8]* @gv_1 to i64), { 0, 3, 2, 1 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder [3 x i8]* @gv_1, { 1, 0 }
uselistorder i32 0, { 4, 1, 0, 2, 5, 3 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @JS_DefineProperty, { 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0, 2 }
uselistorder i64 (i64, i64)* @JS_NewStringCopyZ, { 2, 1, 0 }
uselistorder label LBL_6, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | xmlStopParser_11653 | xmlStopParser | 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_3, label LBL_1
LBL_1:
%1 = inttoptr i64 %arg1 to i32*
store i32 0, i32* %1, align 4
%2 = add i64 %arg1, 4
%3 = inttoptr i64 %2 to i32*
store i32 1, i32* %3, align 4
%4 = add i64 %arg1, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = inttoptr i64 %6 to i64*
store i64 4202512, i64* %8, align 8
%9 = load i64, i64* %5, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = add i64 %9, 8
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
store i64 %9, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder label LBL_3, { 1, 2, 0 }
} | 1 |
CompRealVul | http1_on_error_7075 | http1_on_error | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))
%6 = call i64 @FUNC(i64 %0)
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %10)
br label LBL_2
LBL_2:
ret i64 4294967295
uselistorder i64 (i64)* @parser2http, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | nand_command_1025 | nand_command | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 255
br i1 %4, label LBL_25, label LBL_1
LBL_1:
%5 = icmp ult i32 %3, 256
br i1 %5, label LBL_2, label LBL_30
LBL_2:
%6 = icmp eq i32 %3, 208
br i1 %6, label LBL_28, label LBL_3
LBL_3:
%7 = icmp ult i32 %3, 209
br i1 %7, label LBL_4, label LBL_30
LBL_4:
%8 = icmp eq i32 %3, 144
br i1 %8, label LBL_18, label LBL_5
LBL_5:
%9 = icmp ult i32 %3, 145
br i1 %9, label LBL_6, label LBL_30
LBL_6:
%10 = icmp eq i32 %3, 128
br i1 %10, label LBL_26, label LBL_7
LBL_7:
%11 = icmp ult i32 %3, 129
br i1 %11, label LBL_8, label LBL_30
LBL_8:
%12 = icmp eq i32 %3, 112
br i1 %12, label LBL_29, label LBL_9
LBL_9:
%13 = icmp ult i32 %3, 113
br i1 %13, label LBL_10, label LBL_30
LBL_10:
%14 = icmp eq i32 %3, 96
store i64 96, i64* %rax.0.reg2mem
br i1 %14, label LBL_31, label LBL_11
LBL_11:
%15 = icmp ult i32 %3, 97
br i1 %15, label LBL_12, label LBL_30
LBL_12:
%16 = icmp eq i32 %3, 53
br i1 %16, label LBL_21, label LBL_13
LBL_13:
%17 = icmp ult i32 %3, 54
br i1 %17, label LBL_14, label LBL_30
LBL_14:
%18 = icmp eq i32 %3, 16
br i1 %18, label LBL_27, label LBL_15
LBL_15:
%19 = icmp ult i32 %3, 17
br i1 %19, label LBL_16, label LBL_30
LBL_16:
switch i32 %3, label LBL_30 [
i32 0, label LBL_17
i32 5, label LBL_21
]
LBL_17:
%20 = add i64 %2, 12
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_31
LBL_18:
%22 = add i64 %2, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %2, 8
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = add i64 %2, 12
%28 = inttoptr i64 %27 to i32*
store i32 0, i32* %28, align 4
%29 = add i64 %2, 16
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = zext i32 %31 to i64
%33 = call i64 @FUNC(i64 %2, i64 %32)
%34 = add i64 %2, 20
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = zext i32 %36 to i64
%38 = call i64 @FUNC(i64 %2, i64 %37)
%39 = call i64 @FUNC(i64 %2, i64 81)
%40 = load i32, i32* %35, align 4
%41 = zext i32 %40 to i64
%42 = mul i64 %41, 4
%43 = add i64 %42, ptrtoint (i32** @gv_0 to i64)
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = urem i32 %45, 2
%47 = icmp eq i32 %46, 0
br i1 %47, label LBL_20, label LBL_19
LBL_19:
%48 = add i64 %2, 92
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = icmp eq i32 %50, 2
%52 = icmp eq i1 %51, false
%. = select i1 %52, i64 21, i64 85
%53 = call i64 @FUNC(i64 %2, i64 %.)
store i64 %53, i64* %rax.0.reg2mem
br label LBL_31
LBL_20:
%54 = call i64 @FUNC(i64 %2, i64 192)
store i64 %54, i64* %rax.0.reg2mem
br label LBL_31
LBL_21:
%55 = add i64 %2, 20
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = zext i32 %57 to i64
%59 = mul i64 %58, 4
%60 = add i64 %59, ptrtoint (i32** @gv_0 to i64)
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = urem i32 %62, 2
%64 = icmp eq i32 %63, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %64, label LBL_31, label LBL_22
LBL_22:
%65 = add i64 %2, 24
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = add i64 %2, 28
%69 = inttoptr i64 %68 to i32*
%70 = load i32, i32* %69, align 4
%71 = urem i32 %70, 32
%72 = icmp eq i32 %71, 0
%notmask = shl nsw i32 -1, %71
%73 = sub i32 0, %notmask
%phitmp8 = sub i32 %73, 1
%storemerge = select i1 %72, i32 0, i32 %phitmp8
%74 = and i32 %storemerge, %67
%75 = add i64 %2, 48
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = icmp eq i32 %77, 0
%79 = add i64 %2, 32
%80 = inttoptr i64 %79 to i32*
%81 = load i32, i32* %80, align 4
%82 = urem i32 %81, 32
%83 = shl i32 1, %82
br i1 %78, label LBL_24, label LBL_23
LBL_23:
%84 = sub i32 %83, %74
%85 = add i64 %2, 12
%86 = inttoptr i64 %85 to i32*
store i32 %84, i32* %86, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_31
LBL_24:
%87 = add i64 %2, 36
%88 = inttoptr i64 %87 to i32*
%89 = load i32, i32* %88, align 4
%90 = urem i32 %89, 32
%91 = shl i32 1, %90
%92 = sub i32 %83, %74
%93 = add i32 %92, %91
%94 = add i64 %2, 12
%95 = inttoptr i64 %94 to i32*
store i32 %93, i32* %95, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_31
LBL_25:
%96 = add i64 %2, 56
%97 = call i64 @FUNC(i64 %96)
store i64 %97, i64* %rax.0.reg2mem
br label LBL_31
LBL_26:
%98 = add i64 %2, 4
%99 = inttoptr i64 %98 to i32*
%100 = load i32, i32* %99, align 4
%101 = add i64 %2, 8
%102 = inttoptr i64 %101 to i32*
store i32 %100, i32* %102, align 4
%103 = add i64 %2, 12
%104 = inttoptr i64 %103 to i32*
store i32 0, i32* %104, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_31
LBL_27:
%105 = add i64 %2, 44
%106 = inttoptr i64 %105 to i32*
%107 = load i32, i32* %106, align 4
%108 = zext i32 %107 to i64
%109 = icmp eq i32 %107, 0
%spec.select12 = select i1 %109, i64 %108, i64 %2
ret i64 %spec.select12
LBL_28:
%110 = add i64 %2, 24
%111 = inttoptr i64 %110 to i32*
%112 = load i32, i32* %111, align 4
%113 = add i64 %2, 40
%114 = inttoptr i64 %113 to i32*
%115 = load i32, i32* %114, align 4
%.tr = zext i32 %115 to i64
%116 = mul i64 %.tr, 8
%117 = and i64 %116, 56
%118 = icmp eq i64 %117, 0
%119 = shl i64 -1, %117
%phitmp = trunc i64 %119 to i32
%120 = sub i32 0, %phitmp
%121 = sub i32 %120, 1
%storemerge4 = select i1 %118, i32 0, i32 %121
%122 = and i32 %storemerge4, %112
store i32 %122, i32* %111, align 4
%123 = add i64 %2, 20
%124 = inttoptr i64 %123 to i32*
%125 = load i32, i32* %124, align 4
%126 = zext i32 %125 to i64
%127 = mul i64 %126, 4
%128 = add i64 %127, ptrtoint (i32** @gv_0 to i64)
%129 = inttoptr i64 %128 to i32*
%130 = load i32, i32* %129, align 4
%131 = urem i32 %130, 2
%132 = icmp eq i32 %131, 0
%133 = select i1 %132, i32 8, i32 16
%134 = shl i32 %122, %133
store i32 %134, i32* %111, align 4
%135 = add i64 %2, 44
%136 = inttoptr i64 %135 to i32*
%137 = load i32, i32* %136, align 4
%138 = zext i32 %137 to i64
%139 = icmp eq i32 %137, 0
%spec.select13 = select i1 %139, i64 %138, i64 %2
ret i64 %spec.select13
LBL_29:
%140 = add i64 %2, 4
%141 = inttoptr i64 %140 to i32*
%142 = load i32, i32* %141, align 4
%143 = add i64 %2, 8
%144 = inttoptr i64 %143 to i32*
store i32 %142, i32* %144, align 4
%145 = add i64 %2, 12
%146 = inttoptr i64 %145 to i32*
store i32 0, i32* %146, align 4
%147 = add i64 %2, 88
%148 = inttoptr i64 %147 to i32*
%149 = load i32, i32* %148, align 4
%150 = zext i32 %149 to i64
%151 = call i64 @FUNC(i64 %2, i64 %150)
store i64 %151, i64* %rax.0.reg2mem
br label LBL_31
LBL_30:
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i32 %3)
%153 = sext i32 %152 to i64
store i64 %153, i64* %rax.0.reg2mem
br label LBL_31
LBL_31:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %3, { 0, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 %2, { 17, 16, 18, 20, 19, 4, 35, 36, 38, 37, 5, 7, 3, 21, 23, 22, 39, 2, 10, 9, 1, 8, 11, 12, 14, 13, 15, 26, 24, 25, 27, 29, 28, 31, 30, 32, 34, 33, 0, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 8, 11, 4, 3, 5, 10, 9, 2, 6 }
uselistorder i32 2, { 0, 1, 3, 2 }
uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 0, 2, 1 }
uselistorder i64 (i64, i64)* @nand_pushio_byte, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 8, { 1, 0, 2, 3 }
uselistorder i64 4, { 3, 0, 4, 1, 2, 5 }
uselistorder i32 0, { 5, 6, 7, 3, 0, 8, 9, 10, 4, 1, 11, 12, 13, 14, 15, 2 }
uselistorder label LBL_31, { 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 1 }
} | 0 |
CompRealVul | event_buffer_release_18330 | event_buffer_release | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC()
%2 = call i64 @FUNC()
%3 = call i64 @FUNC(i64 %0)
store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8
%4 = call i64 @FUNC(i64* nonnull @gv_1, i64 0)
%5 = call i64 @FUNC(i64 0, i64* nonnull @gv_2)
ret i64 0
} | 1 |
CompRealVul | register_queue_kobjects_5887 | register_queue_kobjects | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 12
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = call i64 @FUNC(i64 %0, i64 0, i32 0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 %4, i64* %sv_0.0.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %0, i64 0, i32 %3)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 %8, i64* %sv_0.0.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_2, label LBL_3
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%12 = call i64 @FUNC(i64 %0, i64 0, i32 0)
%13 = call i64 @FUNC(i64 %0, i64 0, i32 0)
%14 = and i64 %sv_0.0.reload, 4294967295
store i64 %14, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 2, 1, 0, 3, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i32)* @netdev_queue_update_kobjects, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @net_rx_queue_update_kobjects, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | prom_init_18680 | prom_init | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i64
%0 = inttoptr i64 %arg2 to i8*
%1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %1)
%4 = call i64 @FUNC(i64 %3, i64 0, i64 %arg1)
%5 = icmp eq i64 %arg2, 0
%6 = icmp eq i1 %5, false
%spec.select = select i1 %6, i8* %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)
%7 = ptrtoint i8* %spec.select to i64
%8 = call i64 @FUNC(i64 0, i64 %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_4, label LBL_1
LBL_1:
%10 = add i64 %arg1, -1048576
%11 = call i64 @FUNC(i64 %8, i64 %10, i64 0, i64 0, i64 0, i64 1)
%12 = trunc i64 %11 to i32
%13 = icmp ult i32 %12, 1048577
br i1 %13, label LBL_2, label LBL_3
LBL_2:
%14 = call i64 @FUNC(i64 %8)
store i64 %14, i64* %.reg2mem
br label LBL_5
LBL_3:
%15 = call i64 @FUNC(i64 %8, i64 %arg1, i64 1048576)
%16 = trunc i64 %15 to i32
%17 = call i64 @FUNC(i64 %8)
%18 = icmp ult i32 %16, 1048577
store i64 %17, i64* %.reg2mem
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8
%20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* %spec.select)
call void @exit(i32 1)
unreachable
LBL_5:
%.reload = load i64, i64* %.reg2mem
ret i64 %.reload
uselistorder i64 %8, { 2, 1, 0, 3, 4 }
uselistorder i8* %spec.select, { 1, 0 }
uselistorder i64 (i64)* @qemu_free, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | monitor_event_14123 | monitor_event | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%6 = trunc i64 %arg2 to i32
%7 = icmp eq i32 %6, 4
br i1 %7, label LBL_15, label LBL_1
LBL_1:
%8 = ptrtoint i64* %arg1 to i64
%9 = icmp sgt i32 %6, 4
store i64 %8, i64* %rax.0.reg2mem
br i1 %9, label LBL_16, label LBL_2
LBL_2:
store i64 %8, i64* %rax.0.reg2mem
switch i32 %6, label LBL_16 [
i32 3, label LBL_12
i32 1, label LBL_3
i32 2, label LBL_6
]
LBL_3:
%10 = add i64 %8, 16
%11 = call i64 @FUNC(i64 %10)
%12 = bitcast i64* %arg1 to i32*
store i32 0, i32* %12, align 4
%13 = call i64 @FUNC(i64 %10)
%14 = add i64 %8, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = call i64 @FUNC(i64 %8)
%19 = call i64 @FUNC(i64 %8)
store i64 %19, i64* %rax.0.reg2mem
br label LBL_16
LBL_5:
%20 = add i64 %8, 8
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
store i64 %8, i64* %rax.0.reg2mem
br label LBL_16
LBL_6:
%22 = add i64 %8, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp eq i32 %24, 0
%26 = add i64 %8, 8
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
br i1 %25, label LBL_10, label LBL_7
LBL_7:
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_9, label LBL_8
LBL_8:
%31 = call i64 @FUNC(i64 %8, i64* nonnull @gv_0, i64 %4, i64 %5, i64 %2, i64 %1)
br label LBL_9
LBL_9:
%32 = call i64 @FUNC(i64 %8)
%33 = call i64 @FUNC(i64 %8)
br label LBL_11
LBL_10:
%34 = add i32 %28, 1
store i32 %34, i32* %27, align 4
br label LBL_11
LBL_11:
%35 = add i64 %8, 16
%36 = call i64 @FUNC(i64 %35)
%37 = bitcast i64* %arg1 to i32*
store i32 1, i32* %37, align 4
%38 = call i64 @FUNC(i64 %35)
store i64 %38, i64* %rax.0.reg2mem
br label LBL_16
LBL_12:
%39 = trunc i64 %3 to i32
%40 = call i64 @FUNC(i64 %8, i64* bitcast ([52 x i8]* @gv_1 to i64*), i64 ptrtoint ([6 x i8]* @gv_2 to i64), i64 %5, i64 %2, i64 %1)
%41 = icmp eq i32 %39, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_14, label LBL_13
LBL_13:
%43 = add i64 %8, 24
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = call i64 @FUNC(i64 %45)
br label LBL_14
LBL_14:
%47 = add i64 %8, 4
%48 = inttoptr i64 %47 to i32*
store i32 1, i32* %48, align 4
store i32 ptrtoint (i32* @gv_3 to i32), i32* bitcast (i64* @gv_4 to i32*), align 8
store i64 ptrtoint (i32* @gv_3 to i64), i64* %rax.0.reg2mem
br label LBL_16
LBL_15:
%49 = load i32, i32* bitcast (i64* @gv_4 to i32*), align 8
%50 = add i32 %49, -1
store i32 %50, i32* bitcast (i64* @gv_4 to i32*), align 8
%51 = call i64 @FUNC()
store i64 %51, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %28, { 1, 0 }
uselistorder i64 %8, { 11, 10, 16, 5, 3, 4, 12, 13, 14, 1, 9, 6, 8, 7, 15, 0, 2 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 5, 2, 4, 3, 1, 6 }
uselistorder i64* %0, { 4, 3, 2, 1, 0 }
uselistorder i32* @gv_3, { 1, 0 }
uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @monitor_printf, { 1, 0 }
uselistorder i64 (i64)* @monitor_flush, { 1, 0 }
uselistorder i64 (i64)* @qemu_mutex_unlock, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }
uselistorder i64 (i64)* @qemu_mutex_lock, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64* %arg1, { 1, 0, 2 }
uselistorder label LBL_16, { 1, 2, 3, 4, 5, 0, 6 }
} | 1 |
CompRealVul | expr__ctx_new_6856 | expr__ctx_new | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64* @malloc(i32 16)
%1 = icmp eq i64* %0, null
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = call i64 @FUNC(i64 4198758, i64 4198773, i64 0)
store i64 %3, i64* %0, align 8
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_3, label LBL_2
LBL_2:
call void @free(i64* nonnull %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%6 = ptrtoint i64* %0 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
store i64 %6, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %0, { 3, 0, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
CompRealVul | jpc_pi_nextcprl_7484 | jpc_pi_nextcprl | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%storemerge21.reg2mem = alloca i64
%rsi.7.reg2mem = alloca i64
%.reg2mem48 = alloca i64
%.pre-phi33.reg2mem = alloca i32*
%rsi.6.reg2mem = alloca i64
%.reg2mem46 = alloca i32
%rsi.5.reg2mem = alloca i64
%.reg2mem44 = alloca i32
%rsi.4.reg2mem = alloca i64
%.reg2mem42 = alloca i64
%rsi.3.reg2mem = alloca i64
%rsi.2.reg2mem = alloca i64
%.reg2mem40 = alloca i32
%rsi.1.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%.pre-phi36.reg2mem = alloca i32
%.pre-phi34.reg2mem = alloca i32
%sv_0.030.reg2mem = alloca i32
%storemerge22.in32.in.reg2mem = alloca i64
%.reg2mem38 = alloca i64
%.reg2mem = alloca i32
%0 = ptrtoint i32* %arg1 to i64
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %0, 24
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 0
store i64 %0, i64* %rsi.1.reg2mem
br i1 %7, label LBL_22, label LBL_1
LBL_1:
%8 = inttoptr i64 %3 to i32*
store i32 0, i32* %5, align 4
%9 = load i32, i32* %8, align 4
%10 = add i64 %0, 4
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = sext i32 %9 to i64
%16 = mul nsw i64 %15, 24
%17 = add i64 %16, %14
%18 = add i64 %0, 80
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
store i32* %11, i32** %.pre-phi33.reg2mem
store i64 %17, i64* %.reg2mem48
store i64 %0, i64* %rsi.7.reg2mem
br label LBL_33
LBL_2:
%.reload49 = load i64, i64* %.reg2mem48
%20 = add i64 %rsi.7.reload, 80
%21 = inttoptr i64 %20 to i64*
%22 = add i64 %.reload49, 16
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i32*
%26 = inttoptr i64 %.reload49 to i32*
%27 = load i32, i32* %26, align 4
%28 = sext i32 %27 to i64
%29 = load i32, i32* %25, align 4
%30 = add i64 %.reload49, 8
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = add i32 %29, 63
%34 = add i32 %33, %32
%35 = urem i32 %34, 64
%36 = zext i32 %35 to i64
%rdx.0 = shl i64 %28, %36
%37 = trunc i64 %rdx.0 to i32
%38 = add i64 %rsi.7.reload, 52
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = load i64, i64* %21, align 8
%41 = add i64 %40, 4
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = sext i32 %43 to i64
%45 = add i64 %24, 4
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i64 %40, 8
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = add i32 %47, 63
%52 = add i32 %51, %50
%53 = urem i32 %52, 64
%54 = zext i32 %53 to i64
%rdx.1 = shl i64 %44, %54
%55 = trunc i64 %rdx.1 to i32
%56 = add i64 %rsi.7.reload, 56
%57 = inttoptr i64 %56 to i32*
store i32 %55, i32* %57, align 4
%58 = load i64, i64* %21, align 8
%59 = add i64 %58, 8
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = icmp ugt i32 %61, 1
br i1 %62, label LBL_3, label LBL_5
LBL_3:
%63 = add i64 %58, 16
%64 = inttoptr i64 %63 to i64*
%65 = load i64, i64* %64, align 8
store i32 %61, i32* %.reg2mem
store i64 %58, i64* %.reg2mem38
store i64 %65, i64* %storemerge22.in32.in.reg2mem
store i32 1, i32* %sv_0.030.reg2mem
br label LBL_4
LBL_4:
%sv_0.030.reload = load i32, i32* %sv_0.030.reg2mem
%storemerge22.in32.in.reload = load i64, i64* %storemerge22.in32.in.reg2mem
%.reload39 = load i64, i64* %.reg2mem38
%.reload = load i32, i32* %.reg2mem
%storemerge22.in32 = add i64 %storemerge22.in32.in.reload, 24
%storemerge22 = inttoptr i64 %storemerge22.in32 to i32*
%66 = inttoptr i64 %.reload39 to i32*
%67 = load i32, i32* %66, align 4
%68 = sext i32 %67 to i64
%69 = load i32, i32* %storemerge22, align 4
%70 = xor i32 %sv_0.030.reload, 63
%71 = add i32 %70, %.reload
%72 = add i32 %71, %69
%73 = urem i32 %72, 64
%74 = zext i32 %73 to i64
%rdx.2 = shl i64 %68, %74
%75 = load i32, i32* %39, align 4
%76 = sext i32 %75 to i64
%77 = icmp ugt i64 %rdx.2, %76
%78 = select i1 %77, i64 %76, i64 %rdx.2
%79 = trunc i64 %78 to i32
store i32 %79, i32* %39, align 4
%80 = load i64, i64* %21, align 8
%81 = add i64 %80, 4
%82 = inttoptr i64 %81 to i32*
%83 = load i32, i32* %82, align 4
%84 = sext i32 %83 to i64
%85 = add i64 %storemerge22.in32.in.reload, 28
%86 = inttoptr i64 %85 to i32*
%87 = load i32, i32* %86, align 4
%88 = add i64 %80, 8
%89 = inttoptr i64 %88 to i32*
%90 = load i32, i32* %89, align 4
%91 = add i32 %87, %70
%92 = add i32 %91, %90
%93 = urem i32 %92, 64
%94 = zext i32 %93 to i64
%rdx.3 = shl i64 %84, %94
%95 = load i32, i32* %57, align 4
%96 = sext i32 %95 to i64
%97 = icmp ugt i64 %rdx.3, %96
%98 = select i1 %97, i64 %96, i64 %rdx.3
%99 = trunc i64 %98 to i32
store i32 %99, i32* %57, align 4
%100 = add i32 %sv_0.030.reload, 1
%101 = load i64, i64* %21, align 8
%102 = add i64 %101, 8
%103 = inttoptr i64 %102 to i32*
%104 = load i32, i32* %103, align 4
%105 = zext i32 %104 to i64
%106 = sext i32 %100 to i64
%107 = icmp slt i64 %106, %105
store i32 %104, i32* %.reg2mem
store i64 %101, i64* %.reg2mem38
store i64 %storemerge22.in32, i64* %storemerge22.in32.in.reg2mem
store i32 %100, i32* %sv_0.030.reg2mem
br i1 %107, label LBL_4, label LBL_5
LBL_5:
%108 = add i64 %rsi.7.reload, 36
%109 = inttoptr i64 %108 to i32*
%110 = load i32, i32* %109, align 4
%111 = add i64 %rsi.7.reload, 48
%112 = inttoptr i64 %111 to i32*
store i32 %110, i32* %112, align 4
store i32 %110, i32* %.reg2mem46
store i64 %rsi.7.reload, i64* %rsi.6.reg2mem
br label LBL_31
LBL_6:
%113 = add i64 %rsi.6.reload, 28
%114 = inttoptr i64 %113 to i32*
%115 = load i32, i32* %114, align 4
%116 = add i64 %rsi.6.reload, 44
%117 = inttoptr i64 %116 to i32*
store i32 %115, i32* %117, align 4
store i32 %115, i32* %.reg2mem44
store i64 %rsi.6.reload, i64* %rsi.5.reg2mem
br label LBL_29
LBL_7:
%118 = add i64 %3, 8
%119 = inttoptr i64 %118 to i32*
%120 = load i32, i32* %119, align 4
%121 = add i64 %rsi.5.reload, 60
%122 = inttoptr i64 %121 to i32*
store i32 %120, i32* %122, align 4
%123 = add i64 %rsi.5.reload, 80
%124 = inttoptr i64 %123 to i64*
%125 = load i64, i64* %124, align 8
%126 = add i64 %125, 16
%127 = inttoptr i64 %126 to i64*
%128 = load i64, i64* %127, align 8
%129 = sext i32 %120 to i64
%130 = mul nsw i64 %129, 24
%131 = add i64 %128, %130
%132 = add i64 %rsi.5.reload, 72
%133 = inttoptr i64 %132 to i64*
store i64 %131, i64* %133, align 8
store i64 %131, i64* %.reg2mem42
store i64 %rsi.5.reload, i64* %rsi.4.reg2mem
br label LBL_26
LBL_8:
%.reload43 = load i64, i64* %.reg2mem42
%134 = add i64 %.reload43, 8
%135 = inttoptr i64 %134 to i32*
%136 = load i32, i32* %135, align 4
%137 = icmp eq i32 %136, 0
store i64 %rsi.4.reload, i64* %rsi.3.reg2mem
br i1 %137, label LBL_25, label LBL_9
LBL_9:
%138 = sub i32 0, %317
%139 = sub i32 %138, 1
%140 = add i32 %323, %139
%141 = add i64 %rsi.4.reload, 28
%142 = inttoptr i64 %141 to i32*
%143 = load i32, i32* %142, align 4
%144 = inttoptr i64 %320 to i32*
%145 = load i32, i32* %144, align 4
%146 = urem i32 %140, 32
%147 = shl i32 %145, %146
%148 = add i32 %147, -1
%149 = add i32 %148, %143
%150 = zext i32 %149 to i64
%rax.0 = zext i32 %147 to i64
%151 = ashr i32 %149, 31
%152 = zext i32 %151 to i64
%153 = mul i64 %152, 4294967296
%154 = or i64 %153, %150
%155 = sdiv i64 %154, %rax.0
%sext = mul i64 %155, 4294967296
%156 = ashr exact i64 %sext, 32
%157 = add i64 %rsi.4.reload, 36
%158 = inttoptr i64 %157 to i32*
%159 = load i32, i32* %158, align 4
%160 = add i64 %320, 4
%161 = inttoptr i64 %160 to i32*
%162 = load i32, i32* %161, align 4
%163 = inttoptr i64 %.reload43 to i32*
%164 = load i32, i32* %163, align 4
%165 = add i32 %164, %140
%166 = add i64 %.reload43, 4
%167 = inttoptr i64 %166 to i32*
%168 = load i32, i32* %167, align 4
%169 = add i64 %rsi.4.reload, 44
%170 = inttoptr i64 %169 to i32*
%171 = load i32, i32* %170, align 4
%172 = icmp eq i32 %171, %143
%173 = icmp eq i1 %172, false
br i1 %173, label LBL_9.LBL_12_crit_edge, label LBL_11
LBL_10:
%.pre = urem i32 %165, 32
store i32 %.pre, i32* %.pre-phi34.reg2mem
br label LBL_12
LBL_11:
%174 = urem i32 %140, 64
%175 = zext i32 %174 to i64
%rax.3 = shl i64 %156, %175
%176 = urem i32 %165, 32
%177 = shl i32 1, %176
%178 = sext i32 %177 to i64
%179 = urem i64 %rax.3, %178
%180 = icmp eq i64 %179, 0
%181 = icmp eq i1 %180, false
store i32 %176, i32* %.pre-phi34.reg2mem
br i1 %181, label LBL_13, label LBL_12
LBL_12:
%.pre-phi34.reload = load i32, i32* %.pre-phi34.reg2mem
%182 = zext i32 %171 to i64
%183 = shl i32 %145, %.pre-phi34.reload
%rdx.4 = zext i32 %183 to i64
%184 = ashr i32 %171, 31
%185 = zext i32 %184 to i64
%186 = mul i64 %185, 4294967296
%187 = or i64 %186, %182
%188 = srem i64 %187, %rdx.4
%189 = trunc i64 %188 to i32
%190 = icmp eq i32 %189, 0
%191 = icmp eq i1 %190, false
store i64 %rsi.4.reload, i64* %rsi.3.reg2mem
br i1 %191, label LBL_25, label LBL_13
LBL_13:
%192 = zext i32 %159 to i64
%193 = shl i32 %162, %146
%rax.1 = zext i32 %193 to i64
%194 = add nuw nsw i64 %192, 4294967295
%195 = add nuw nsw i64 %194, %rax.1
%196 = and i64 %195, 4294967295
%197 = trunc i64 %195 to i32
%198 = ashr i32 %197, 31
%199 = zext i32 %198 to i64
%200 = mul i64 %199, 4294967296
%201 = or i64 %200, %196
%202 = sdiv i64 %201, %rax.1
%sext10 = mul i64 %202, 4294967296
%203 = ashr exact i64 %sext10, 32
%204 = add i32 %168, %140
%205 = add i64 %rsi.4.reload, 48
%206 = inttoptr i64 %205 to i32*
%207 = load i32, i32* %206, align 4
%208 = icmp eq i32 %207, %159
%209 = icmp eq i1 %208, false
br i1 %209, label LBL_13.LBL_16_crit_edge, label LBL_15
LBL_14:
%.pre35 = urem i32 %204, 32
store i32 %.pre35, i32* %.pre-phi36.reg2mem
br label LBL_16
LBL_15:
%210 = urem i32 %140, 64
%211 = zext i32 %210 to i64
%rax.4 = shl i64 %203, %211
%212 = urem i32 %204, 32
%213 = shl i32 1, %212
%214 = sext i32 %213 to i64
%215 = urem i64 %rax.4, %214
%216 = icmp eq i64 %215, 0
%217 = icmp eq i1 %216, false
store i32 %212, i32* %.pre-phi36.reg2mem
br i1 %217, label LBL_17, label LBL_16
LBL_16:
%.pre-phi36.reload = load i32, i32* %.pre-phi36.reg2mem
%218 = zext i32 %207 to i64
%219 = shl i32 %162, %.pre-phi36.reload
%rdx.5 = zext i32 %219 to i64
%220 = ashr i32 %207, 31
%221 = zext i32 %220 to i64
%222 = mul i64 %221, 4294967296
%223 = or i64 %222, %218
%224 = srem i64 %223, %rdx.5
%225 = trunc i64 %224 to i32
%226 = icmp eq i32 %225, 0
%227 = icmp eq i1 %226, false
store i64 %rsi.4.reload, i64* %rsi.3.reg2mem
br i1 %227, label LBL_25, label LBL_17
LBL_17:
%228 = add i64 %rsi.4.reload, 72
%229 = inttoptr i64 %228 to i64*
%230 = add i32 %148, %171
%231 = zext i32 %230 to i64
%232 = ashr i32 %230, 31
%233 = zext i32 %232 to i64
%234 = mul i64 %233, 4294967296
%235 = or i64 %234, %231
%236 = sdiv i64 %235, %rax.0
%237 = urem i32 %164, 32
%238 = icmp eq i32 %237, 0
%239 = trunc i64 %236 to i32
%240 = ashr i32 %239, %237
%241 = zext i32 %240 to i64
%rdx.6 = select i1 %238, i64 %236, i64 %241
%242 = urem i32 %164, 64
%243 = zext i32 %242 to i64
%storemerge18 = lshr i64 %156, %243
%244 = trunc i64 %storemerge18 to i32
%245 = trunc i64 %rdx.6 to i32
%246 = sub i32 %245, %244
%247 = add i32 %193, -1
%248 = add i32 %247, %207
%249 = zext i32 %248 to i64
%250 = ashr i32 %248, 31
%251 = zext i32 %250 to i64
%252 = mul i64 %251, 4294967296
%253 = or i64 %252, %249
%254 = sdiv i64 %253, %rax.1
%255 = urem i32 %168, 32
%256 = icmp eq i32 %255, 0
%257 = trunc i64 %254 to i32
%258 = ashr i32 %257, %255
%259 = zext i32 %258 to i64
%rdx.7 = select i1 %256, i64 %254, i64 %259
%260 = urem i32 %168, 64
%261 = zext i32 %260 to i64
%storemerge20 = lshr i64 %203, %261
%262 = trunc i64 %storemerge20 to i32
%263 = trunc i64 %rdx.7 to i32
%264 = sub i32 %263, %262
%265 = add i64 %.reload43, 12
%266 = inttoptr i64 %265 to i32*
%267 = load i32, i32* %266, align 4
%268 = mul i32 %264, %267
%269 = add i32 %268, %246
%270 = add i64 %rsi.4.reload, 64
%271 = inttoptr i64 %270 to i32*
store i32 %269, i32* %271, align 4
%272 = load i64, i64* %229, align 8
%273 = add i64 %272, 8
%274 = inttoptr i64 %273 to i32*
%275 = load i32, i32* %274, align 4
%276 = icmp ult i32 %269, %275
store i64 %rsi.4.reload, i64* %rsi.0.reg2mem
br i1 %276, label LBL_19, label LBL_18
LBL_18:
call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([49 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem
br label LBL_19
LBL_19:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%277 = add i64 %rsi.0.reload, 68
%278 = inttoptr i64 %277 to i32*
store i32 0, i32* %278, align 4
store i32 0, i32* %.reg2mem40
store i64 %rsi.0.reload, i64* %rsi.2.reg2mem
br label LBL_23
LBL_20:
%279 = add i64 %rsi.2.reload, 72
%280 = inttoptr i64 %279 to i64*
%281 = load i64, i64* %280, align 8
%282 = add i64 %281, 16
%283 = inttoptr i64 %282 to i64*
%284 = load i64, i64* %283, align 8
%285 = add i64 %rsi.2.reload, 64
%286 = inttoptr i64 %285 to i32*
%287 = load i32, i32* %286, align 4
%288 = sext i32 %287 to i64
%289 = mul i64 %288, 4
%290 = add i64 %289, %284
%291 = inttoptr i64 %290 to i32*
%292 = load i32, i32* %291, align 4
%293 = icmp ult i32 %.reload41, %292
store i64 %rsi.2.reload, i64* %rsi.1.reg2mem
br i1 %293, label LBL_22, label LBL_21
LBL_21:
%294 = add i32 %292, 1
store i32 %294, i32* %291, align 4
store i64 0, i64* %storemerge21.reg2mem
br label LBL_35
LBL_22:
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%295 = add i64 %rsi.1.reload, 68
%296 = inttoptr i64 %295 to i32*
%297 = load i32, i32* %296, align 4
%298 = add i32 %297, 1
store i32 %298, i32* %296, align 4
store i32 %298, i32* %.reg2mem40
store i64 %rsi.1.reload, i64* %rsi.2.reg2mem
br label LBL_23
LBL_23:
%rsi.2.reload = load i64, i64* %rsi.2.reg2mem
%.reload41 = load i32, i32* %.reg2mem40
%299 = add i64 %rsi.2.reload, 88
%300 = inttoptr i64 %299 to i32*
%301 = load i32, i32* %300, align 4
%302 = icmp ult i32 %.reload41, %301
store i64 %rsi.2.reload, i64* %rsi.3.reg2mem
br i1 %302, label LBL_24, label LBL_25
LBL_24:
%303 = add i64 %3, 16
%304 = inttoptr i64 %303 to i32*
%305 = load i32, i32* %304, align 4
%306 = icmp ult i32 %.reload41, %305
store i64 %rsi.2.reload, i64* %rsi.3.reg2mem
br i1 %306, label LBL_20, label LBL_25
LBL_25:
%rsi.3.reload = load i64, i64* %rsi.3.reg2mem
%307 = add i64 %rsi.3.reload, 60
%308 = inttoptr i64 %307 to i32*
%309 = load i32, i32* %308, align 4
%310 = add i32 %309, 1
store i32 %310, i32* %308, align 4
%311 = add i64 %rsi.3.reload, 72
%312 = inttoptr i64 %311 to i64*
%313 = load i64, i64* %312, align 8
%314 = add i64 %313, 24
store i64 %314, i64* %312, align 8
store i64 %314, i64* %.reg2mem42
store i64 %rsi.3.reload, i64* %rsi.4.reg2mem
br label LBL_26
LBL_26:
%rsi.4.reload = load i64, i64* %rsi.4.reg2mem
%315 = add i64 %rsi.4.reload, 60
%316 = inttoptr i64 %315 to i32*
%317 = load i32, i32* %316, align 4
%318 = add i64 %rsi.4.reload, 80
%319 = inttoptr i64 %318 to i64*
%320 = load i64, i64* %319, align 8
%321 = add i64 %320, 8
%322 = inttoptr i64 %321 to i32*
%323 = load i32, i32* %322, align 4
%324 = icmp ult i32 %317, %323
br i1 %324, label LBL_27, label LBL_28
LBL_27:
%325 = add i64 %3, 12
%326 = inttoptr i64 %325 to i32*
%327 = load i32, i32* %326, align 4
%328 = icmp ult i32 %317, %327
br i1 %328, label LBL_8, label LBL_28
LBL_28:
%329 = add i64 %rsi.4.reload, 44
%330 = inttoptr i64 %329 to i32*
%331 = load i32, i32* %330, align 4
%332 = add i64 %rsi.4.reload, 52
%333 = inttoptr i64 %332 to i32*
%334 = load i32, i32* %333, align 4
%335 = ashr i32 %331, 31
%336 = zext i32 %331 to i64
%337 = zext i32 %335 to i64
%338 = mul i64 %337, 4294967296
%339 = or i64 %338, %336
%340 = zext i32 %334 to i64
%341 = srem i64 %339, %340
%342 = trunc i64 %341 to i32
%343 = add i32 %334, %331
%344 = sub i32 %343, %342
store i32 %344, i32* %330, align 4
store i32 %344, i32* %.reg2mem44
store i64 %rsi.4.reload, i64* %rsi.5.reg2mem
br label LBL_29
LBL_29:
%rsi.5.reload = load i64, i64* %rsi.5.reg2mem
%.reload45 = load i32, i32* %.reg2mem44
%345 = add i64 %rsi.5.reload, 32
%346 = inttoptr i64 %345 to i32*
%347 = load i32, i32* %346, align 4
%348 = icmp ult i32 %.reload45, %347
br i1 %348, label LBL_7, label LBL_30
LBL_30:
%349 = add i64 %rsi.5.reload, 48
%350 = inttoptr i64 %349 to i32*
%351 = load i32, i32* %350, align 4
%352 = add i64 %rsi.5.reload, 56
%353 = inttoptr i64 %352 to i32*
%354 = load i32, i32* %353, align 4
%355 = ashr i32 %351, 31
%356 = zext i32 %351 to i64
%357 = zext i32 %355 to i64
%358 = mul i64 %357, 4294967296
%359 = or i64 %358, %356
%360 = zext i32 %354 to i64
%361 = srem i64 %359, %360
%362 = trunc i64 %361 to i32
%363 = add i32 %354, %351
%364 = sub i32 %363, %362
store i32 %364, i32* %350, align 4
store i32 %364, i32* %.reg2mem46
store i64 %rsi.5.reload, i64* %rsi.6.reg2mem
br label LBL_31
LBL_31:
%rsi.6.reload = load i64, i64* %rsi.6.reg2mem
%.reload47 = load i32, i32* %.reg2mem46
%365 = add i64 %rsi.6.reload, 40
%366 = inttoptr i64 %365 to i32*
%367 = load i32, i32* %366, align 4
%368 = icmp ult i32 %.reload47, %367
br i1 %368, label LBL_6, label LBL_32
LBL_32:
%369 = add i64 %rsi.6.reload, 4
%370 = inttoptr i64 %369 to i32*
%371 = load i32, i32* %370, align 4
%372 = add i32 %371, 1
store i32 %372, i32* %370, align 4
%373 = add i64 %rsi.6.reload, 80
%374 = inttoptr i64 %373 to i64*
%375 = load i64, i64* %374, align 8
%376 = add i64 %375, 24
store i64 %376, i64* %374, align 8
store i32* %370, i32** %.pre-phi33.reg2mem
store i64 %376, i64* %.reg2mem48
store i64 %rsi.6.reload, i64* %rsi.7.reg2mem
br label LBL_33
LBL_33:
%.pre-phi33.reload = load i32*, i32** %.pre-phi33.reg2mem
%377 = load i32, i32* %.pre-phi33.reload, align 4
%378 = add i64 %3, 4
%379 = inttoptr i64 %378 to i32*
%380 = load i32, i32* %379, align 4
%381 = icmp ult i32 %377, %380
store i64 1, i64* %storemerge21.reg2mem
br i1 %381, label LBL_34, label LBL_35
LBL_34:
%rsi.7.reload = load i64, i64* %rsi.7.reg2mem
%382 = inttoptr i64 %rsi.7.reload to i32*
%383 = load i32, i32* %382, align 4
%384 = icmp ult i32 %377, %383
store i64 1, i64* %storemerge21.reg2mem
br i1 %384, label LBL_2, label LBL_35
LBL_35:
%storemerge21.reload = load i64, i64* %storemerge21.reg2mem
ret i64 %storemerge21.reload
uselistorder i64 %rsi.7.reload, { 1, 0, 2, 3, 5, 4, 6 }
uselistorder i64 %rsi.6.reload, { 0, 5, 3, 4, 1, 2, 6 }
uselistorder i32 %351, { 0, 2, 1 }
uselistorder i64 %rsi.5.reload, { 0, 2, 1, 4, 3, 6, 5, 7 }
uselistorder i32 %331, { 0, 2, 1 }
uselistorder i32 %323, { 1, 0 }
uselistorder i64 %320, { 2, 1, 0 }
uselistorder i32 %317, { 1, 2, 0 }
uselistorder i64 %rsi.4.reload, { 0, 9, 10, 2, 3, 12, 4, 5, 6, 13, 7, 14, 1, 8, 11 }
uselistorder i64 %rsi.3.reload, { 0, 2, 1 }
uselistorder i32 %.reload41, { 1, 2, 0 }
uselistorder i64 %rsi.2.reload, { 1, 0, 2, 4, 3, 5 }
uselistorder i32 %255, { 1, 0 }
uselistorder i32 %237, { 1, 0 }
uselistorder i32 %207, { 0, 2, 1, 3 }
uselistorder i64 %203, { 1, 0 }
uselistorder i64 %rax.1, { 0, 2, 1 }
uselistorder i32 %171, { 0, 2, 1, 3 }
uselistorder i64 %156, { 1, 0 }
uselistorder i32 %147, { 1, 0 }
uselistorder i32 %146, { 1, 0 }
uselistorder i32 %143, { 1, 0 }
uselistorder i32 %140, { 0, 3, 1, 4, 2 }
uselistorder i64 %.reload43, { 3, 0, 1, 2 }
uselistorder i64 %rdx.3, { 1, 0 }
uselistorder i64 %rdx.2, { 1, 0 }
uselistorder i64 %storemerge22.in32.in.reload, { 1, 0 }
uselistorder i64 %58, { 0, 2, 1 }
uselistorder i32* %57, { 1, 0, 2 }
uselistorder i32* %39, { 1, 0, 2 }
uselistorder i64* %21, { 1, 0, 2, 3 }
uselistorder i64 %3, { 3, 1, 0, 2, 4 }
uselistorder i64 %0, { 0, 3, 2, 4, 1, 6, 5 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem38, { 1, 0, 2 }
uselistorder i64* %storemerge22.in32.in.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.030.reg2mem, { 1, 0, 2 }
uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem40, { 0, 2, 1 }
uselistorder i64* %rsi.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %rsi.3.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64* %.reg2mem42, { 2, 0, 1 }
uselistorder i64* %rsi.4.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem44, { 0, 2, 1 }
uselistorder i64* %rsi.5.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem46, { 0, 2, 1 }
uselistorder i64* %rsi.6.reg2mem, { 0, 2, 1 }
uselistorder i32** %.pre-phi33.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem48, { 2, 0, 1 }
uselistorder i64* %rsi.7.reg2mem, { 0, 2, 1 }
uselistorder i64 68, { 1, 0 }
uselistorder [49 x i8]* @gv_1, { 1, 0 }
uselistorder i64 64, { 1, 0 }
uselistorder i64 12, { 1, 0 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 4294967296, { 0, 1, 2, 3, 4, 6, 7, 5, 8, 9 }
uselistorder i32 31, { 6, 7, 0, 1, 2, 4, 3, 5 }
uselistorder i64 72, { 2, 3, 0, 1 }
uselistorder i64 60, { 1, 2, 0 }
uselistorder i64 44, { 2, 0, 1 }
uselistorder i64 48, { 2, 1, 0 }
uselistorder i64 36, { 1, 0 }
uselistorder i64 28, { 1, 2, 0 }
uselistorder i64 56, { 1, 0 }
uselistorder i64 52, { 1, 0 }
uselistorder i32 63, { 2, 0, 1 }
uselistorder i64 80, { 2, 3, 1, 0, 4 }
uselistorder i64 8, { 8, 5, 6, 7, 2, 1, 0, 3, 4, 9 }
uselistorder i64 4, { 4, 7, 0, 5, 6, 1, 2, 3, 8 }
uselistorder i32 0, { 0, 2, 3, 4, 5, 6, 1, 7, 8, 9 }
uselistorder i64 24, { 3, 4, 1, 0, 2, 5 }
uselistorder i64 16, { 4, 3, 2, 0, 1, 5 }
uselistorder label LBL_31, { 1, 0 }
uselistorder label LBL_29, { 1, 0 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_25, { 1, 2, 3, 4, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | yuv2yuvXinC_17384 | yuv2yuvXinC | define i64 @FUNC(i16* %arg1, i64* %arg2, i64 %arg3, i16* %arg4, i64* %arg5, i64 %arg6, i64* %arg7, i64* %arg8, i64* %arg9, i64 %arg10, i64 %arg11) local_unnamed_addr {
LBL_0:
%rax.0.in.reg2mem = alloca i64
%indvars.iv28.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_1.013.reg2mem = alloca i32
%sv_0.014.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge11.lcssa.reg2mem = alloca i64
%indvars.iv36.reg2mem = alloca i64
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_2.019.reg2mem = alloca i32
%indvars.iv32.reg2mem = alloca i64
%0 = trunc i64 %arg10 to i32
%1 = icmp sgt i32 %0, 0
store i64 0, i64* %storemerge11.lcssa.reg2mem
br i1 %1, label LBL_1, label LBL_6
LBL_1:
%2 = ptrtoint i64* %arg7 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = trunc i64 %arg3 to i32
%5 = icmp sgt i32 %4, 0
%6 = ptrtoint i16* %arg1 to i64
%wide.trip.count34 = and i64 %arg3, 4294967295
%wide.trip.count38 = and i64 %arg10, 4294967295
store i64 0, i64* %indvars.iv36.reg2mem
br label LBL_4
LBL_2:
%sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem
%indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem
%7 = mul i64 %indvars.iv32.reload, 8
%8 = add i64 %7, %3
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = add i64 %10, %28
%12 = inttoptr i64 %11 to i16*
%13 = load i16, i16* %12, align 2
%14 = mul i64 %indvars.iv32.reload, 2
%15 = add i64 %14, %6
%16 = inttoptr i64 %15 to i16*
%17 = load i16, i16* %16, align 2
%18 = sext i16 %17 to i32
%19 = sext i16 %13 to i32
%20 = mul nsw i32 %18, %19
%21 = add i32 %20, %sv_2.019.reload
%indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1
%exitcond35 = icmp eq i64 %indvars.iv.next33, %wide.trip.count34
store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem
store i32 %21, i32* %sv_2.019.reg2mem
store i32 %21, i32* %sv_2.0.lcssa.reg2mem
br i1 %exitcond35, label LBL_3, label LBL_2
LBL_3:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%22 = ashr i32 %sv_2.0.lcssa.reload, 19
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23)
%25 = add i64 %indvars.iv36.reload, %2
%26 = trunc i64 %24 to i8
%27 = inttoptr i64 %25 to i8*
store i8 %26, i8* %27, align 1
%indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1
%exitcond39 = icmp eq i64 %indvars.iv.next37, %wide.trip.count38
store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem
store i64 %wide.trip.count38, i64* %storemerge11.lcssa.reg2mem
br i1 %exitcond39, label LBL_6, label LBL_4
LBL_4:
%indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem
store i32 262144, i32* %sv_2.0.lcssa.reg2mem
br i1 %5, label LBL_2.lr.ph, label LBL_3
LBL_5:
%28 = mul i64 %indvars.iv36.reload, 2
store i64 0, i64* %indvars.iv32.reg2mem
store i32 262144, i32* %sv_2.019.reg2mem
br label LBL_2
LBL_6:
%storemerge11.lcssa.reload = load i64, i64* %storemerge11.lcssa.reg2mem
%29 = icmp eq i64* %arg8, null
store i64 %storemerge11.lcssa.reload, i64* %rax.0.in.reg2mem
br i1 %29, label LBL_13, label LBL_7
LBL_7:
%30 = trunc i64 %arg11 to i32
%31 = icmp sgt i32 %30, 0
store i64 0, i64* %rax.0.in.reg2mem
br i1 %31, label LBL_8, label LBL_13
LBL_8:
%32 = ptrtoint i64* %arg9 to i64
%33 = ptrtoint i64* %arg8 to i64
%34 = ptrtoint i64* %arg5 to i64
%35 = trunc i64 %arg6 to i32
%36 = icmp sgt i32 %35, 0
%37 = ptrtoint i16* %arg4 to i64
%wide.trip.count = and i64 %arg6, 4294967295
%wide.trip.count30 = and i64 %arg11, 4294967295
store i64 0, i64* %indvars.iv28.reg2mem
br label LBL_11
LBL_9:
%sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem
%sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%38 = mul i64 %indvars.iv.reload, 8
%39 = add i64 %38, %34
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = add i64 %41, %71
%43 = inttoptr i64 %42 to i16*
%44 = load i16, i16* %43, align 2
%45 = mul i64 %indvars.iv.reload, 2
%46 = add i64 %45, %37
%47 = inttoptr i64 %46 to i16*
%48 = load i16, i16* %47, align 2
%49 = sext i16 %48 to i32
%50 = sext i16 %44 to i32
%51 = mul nsw i32 %49, %50
%52 = add i32 %51, %sv_1.013.reload
%53 = add i64 %42, 4096
%54 = inttoptr i64 %53 to i16*
%55 = load i16, i16* %54, align 2
%56 = sext i16 %55 to i32
%57 = mul nsw i32 %56, %49
%58 = add i32 %57, %sv_0.014.reload
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %58, i32* %sv_0.014.reg2mem
store i32 %52, i32* %sv_1.013.reg2mem
store i32 %52, i32* %sv_1.0.lcssa.reg2mem
store i32 %58, i32* %sv_0.0.lcssa.reg2mem
br i1 %exitcond, label LBL_10, label LBL_9
LBL_10:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%59 = ashr i32 %sv_1.0.lcssa.reload, 19
%60 = zext i32 %59 to i64
%61 = call i64 @FUNC(i64 %60)
%62 = add i64 %indvars.iv28.reload, %33
%63 = trunc i64 %61 to i8
%64 = inttoptr i64 %62 to i8*
store i8 %63, i8* %64, align 1
%65 = ashr i32 %sv_0.0.lcssa.reload, 19
%66 = zext i32 %65 to i64
%67 = call i64 @FUNC(i64 %66)
%68 = add i64 %indvars.iv28.reload, %32
%69 = trunc i64 %67 to i8
%70 = inttoptr i64 %68 to i8*
store i8 %69, i8* %70, align 1
%indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1
%exitcond31 = icmp eq i64 %indvars.iv.next29, %wide.trip.count30
store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem
store i64 %wide.trip.count30, i64* %rax.0.in.reg2mem
br i1 %exitcond31, label LBL_13, label LBL_11
LBL_11:
%indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem
store i32 262144, i32* %sv_1.0.lcssa.reg2mem
store i32 262144, i32* %sv_0.0.lcssa.reg2mem
br i1 %36, label LBL_9.lr.ph, label LBL_10
LBL_12:
%71 = mul i64 %indvars.iv28.reload, 2
store i64 0, i64* %indvars.iv.reg2mem
store i32 262144, i32* %sv_0.014.reg2mem
store i32 262144, i32* %sv_1.013.reg2mem
br label LBL_9
LBL_13:
%rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem
%rax.0 = and i64 %rax.0.in.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %indvars.iv28.reload, { 3, 1, 2, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %indvars.iv36.reload, { 2, 1, 0 }
uselistorder i64 %indvars.iv32.reload, { 0, 2, 1 }
uselistorder i64* %indvars.iv32.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_2.019.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_2.0.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.014.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.013.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i32 262144, { 2, 3, 0, 1, 5, 4 }
uselistorder i64 (i64)* @av_clip_uint8, { 2, 1, 0 }
uselistorder i64 4294967295, { 4, 3, 2, 1, 0, 5 }
uselistorder i32 0, { 1, 2, 0, 3, 4 }
uselistorder i64* %arg8, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | get_private_subtags_12561 | get_private_subtags | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%.reg2mem30 = alloca i64
%sv_1.0724.reg2mem = alloca i32
%.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%sv_1.07.lcssa.reg2mem = alloca i32
%.lcssa20.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = icmp eq i64 %arg1, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_9, label LBL_1
LBL_1:
%3 = trunc i64 %1 to i8
%4 = icmp eq i8 %3, 0
%5 = icmp eq i1 %4, false
%6 = icmp eq i1 %5, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %6, label LBL_9, label LBL_2
LBL_2:
%7 = inttoptr i64 %arg1 to i8*
%8 = call i32 @strlen(i8* %7)
%9 = call i64 @FUNC(i64 %arg1)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, -1
%12 = icmp eq i1 %11, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_3, label LBL_9
LBL_3:
%sext22 = mul i64 %9, 4294967296
%13 = ashr exact i64 %sext22, 32
%14 = add i64 %13, %arg1
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp ne i8 %16, 120
%18 = icmp eq i8 %16, 88
%19 = icmp eq i1 %18, false
%or.cond23 = icmp eq i1 %17, %19
store i32 %10, i32* %.lcssa20.reg2mem
store i32 %8, i32* %sv_1.07.lcssa.reg2mem
store i64 %14, i64* %.lcssa.reg2mem
store i64 %14, i64* %.reg2mem
store i32 %8, i32* %sv_1.0724.reg2mem
store i64 %9, i64* %.reg2mem30
br i1 %or.cond23, label LBL_7, label LBL_5
LBL_4:
%sext = mul i64 %40, 4294967296
%20 = ashr exact i64 %sext, 32
%21 = add i64 %20, %37
%22 = inttoptr i64 %21 to i8*
%23 = load i8, i8* %22, align 1
%24 = icmp ne i8 %23, 120
%25 = icmp eq i8 %23, 88
%26 = icmp eq i1 %25, false
%or.cond = icmp eq i1 %24, %26
store i32 %41, i32* %.lcssa20.reg2mem
store i32 %39, i32* %sv_1.07.lcssa.reg2mem
store i64 %21, i64* %.lcssa.reg2mem
store i64 %21, i64* %.reg2mem
store i32 %39, i32* %sv_1.0724.reg2mem
store i64 %40, i64* %.reg2mem30
br i1 %or.cond, label LBL_7, label LBL_5
LBL_5:
%sv_1.07.lcssa.reload = load i32, i32* %sv_1.07.lcssa.reg2mem
%.lcssa20.reload = load i32, i32* %.lcssa20.reg2mem
%27 = add i32 %.lcssa20.reload, 2
%28 = icmp eq i32 %sv_1.07.lcssa.reload, %27
store i64 0, i64* %sv_0.0.reg2mem
br i1 %28, label LBL_9, label LBL_6
LBL_6:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%29 = sub i32 %sv_1.07.lcssa.reload, %27
%30 = sext i32 %29 to i64
%31 = add i64 %.lcssa.reload, 2
%32 = call i64 @FUNC(i64 %31, i64 %30)
store i64 %32, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_7:
%.reload31 = load i64, i64* %.reg2mem30
%sv_1.0724.reload = load i32, i32* %sv_1.0724.reg2mem
%33 = add i64 %.reload31, 1
%34 = and i64 %33, 4294967295
%35 = sext i32 %sv_1.0724.reload to i64
%36 = icmp slt i64 %34, %35
store i64 0, i64* %sv_0.0.reg2mem
br i1 %36, label LBL_8, label LBL_9
LBL_8:
%.reload = load i64, i64* %.reg2mem
%37 = add i64 %.reload, 1
%38 = inttoptr i64 %37 to i8*
%39 = call i32 @strlen(i8* %38)
%40 = call i64 @FUNC(i64 %37)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, -1
%43 = icmp eq i1 %42, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %43, label LBL_4, label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i32 %41, { 1, 0 }
uselistorder i64 %40, { 2, 1, 0 }
uselistorder i32 %39, { 1, 0 }
uselistorder i64 %37, { 1, 2, 0 }
uselistorder i32 %sv_1.07.lcssa.reload, { 1, 0 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.0724.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem30, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 4, 5, 3, 6, 7 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i8 88, { 1, 0 }
uselistorder i8 120, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder i64 (i64)* @getSingletonPos, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i1 false, { 4, 2, 0, 1, 3, 5 }
uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0, 9, 8 }
uselistorder label LBL_9, { 0, 1, 4, 3, 2, 5, 6 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
CompRealVul | op_get_data_6421 | op_get_data | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = icmp eq i32 %0, 0
%2 = icmp slt i32 %0, 0
%3 = icmp eq i1 %2, false
%4 = icmp eq i1 %1, false
%5 = icmp eq i1 %3, %4
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_2:
%sext = mul i64 %arg2, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = ptrtoint i64* %arg1 to i64
%10 = add i64 %9, 16
%11 = and i64 %8, 4294967295
%12 = call i64 @FUNC(i64 %10, i64 %11)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %14, label LBL_3, label LBL_7
LBL_3:
%15 = trunc i64 %10 to i32
%16 = trunc i64 %8 to i32
%17 = icmp sgt i32 %15, %16
br i1 %17, label LBL_4, label LBL_5
LBL_4:
%18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_5:
%20 = icmp eq i32 %15, 0
%21 = icmp slt i32 %15, 0
%22 = icmp eq i1 %21, false
%23 = icmp eq i1 %20, false
%24 = icmp eq i1 %22, %23
%25 = icmp eq i1 %24, false
%.pre = and i64 %10, 4294967295
store i64 %.pre, i64* %storemerge.reg2mem
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%26 = call i64 @FUNC(i64 %10, i64 %.pre)
store i64 %.pre, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %.pre, { 1, 2, 0 }
uselistorder i32 %15, { 1, 0, 2 }
uselistorder i64 %10, { 1, 0, 2, 3 }
uselistorder i32 %0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
} | 0 |
CompRealVul | sdp_write_media_attributes_13 | sdp_write_media_attributes | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.4.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_0.115.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg5 to i64
%4 = ptrtoint i64* %arg3 to i64
%5 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%6 = ashr exact i64 %sext, 32
%sext5 = mul i64 %arg4, 4294967296
%7 = ashr exact i64 %sext5, 32
%8 = trunc i64 %2 to i32
%9 = and i64 %2, 4294967295
store i64 %9, i64* @0, align 8
store i64 0, i64* %sv_0.4.reg2mem
switch i32 %8, label LBL_52 [
i32 1, label LBL_1
i32 2, label LBL_6
i32 3, label LBL_6
i32 4, label LBL_9
i32 5, label LBL_12
i32 6, label LBL_15
i32 7, label LBL_23
i32 8, label LBL_25
i32 9, label LBL_27
i32 10, label LBL_29
i32 11, label LBL_30
i32 12, label LBL_31
i32 13, label LBL_35
i32 14, label LBL_41
i32 15, label LBL_42
i32 16, label LBL_44
i32 17, label LBL_46
i32 18, label LBL_48
i32 19, label LBL_49
i32 20, label LBL_50
]
LBL_1:
%10 = icmp eq i64* %arg5, null
store i64 1, i64* %sv_1.0.reg2mem
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = add i64 %3, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%spec.select = zext i1 %16 to i64
store i64 %spec.select, i64* %sv_1.0.reg2mem
br label LBL_3
LBL_3:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%17 = add i64 %4, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %4)
store i64 %21, i64* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%22 = trunc i64 %6 to i32
%23 = and i64 %7, 4294967295
%24 = call i64 @FUNC(i64 %5, i32 %22, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %23, i64 %sv_1.0.reload)
store i64 %sv_0.0.reload, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_6:
%25 = icmp eq i64* %arg5, null
br i1 %25, label LBL_8, label LBL_7
LBL_7:
%26 = add i64 %3, 8
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
%30 = trunc i64 %29 to i32
%31 = icmp ne i32 %30, 0
%32 = icmp eq i32 %8, 3
%33 = icmp eq i1 %32, false
%or.cond = icmp eq i1 %33, %31
store i64 0, i64* %sv_0.4.reg2mem
br i1 %or.cond, label LBL_52, label LBL_8
LBL_8:
%34 = add i64 %4, 8
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = trunc i64 %6 to i32
%38 = zext i32 %36 to i64
%39 = and i64 %7, 4294967295
%40 = call i64 @FUNC(i64 %5, i32 %37, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_4, i64 0, i64 0), i64 %39, i64 %39, i64 %38)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_9:
%41 = add i64 %4, 4
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_11, label LBL_10
LBL_10:
%45 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0), i64 %arg4, i64 %3, i64 %1)
br label LBL_11
LBL_11:
%46 = trunc i64 %6 to i32
%47 = and i64 %7, 4294967295
%48 = call i64 @FUNC(i64 %5, i32 %46, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0), i64 %47, i64 %3, i64 %1)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_12:
%49 = add i64 %4, 4
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label LBL_13.thread, label LBL_13
LBL_13:
%53 = call i64 @FUNC(i64 %4)
%54 = icmp eq i64 %53, 0
store i64 %53, i64* %sv_0.115.reg2mem
store i64 %53, i64* %.reg2mem
br i1 %54, label LBL_13.thread, label %55
LBL_14:
store i64 0, i64* %sv_0.115.reg2mem
store i64 ptrtoint (i64* @gv_7 to i64), i64* %.reg2mem
br label %55
LBL_15:
%59 = icmp eq i64* %arg5, null
br i1 %59, label LBL_19, label LBL_16
LBL_16:
%60 = add i64 %3, 8
%61 = inttoptr i64 %60 to i64*
%62 = load i64, i64* %61, align 8
%63 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0))
%64 = trunc i64 %63 to i32
%65 = icmp eq i32 %64, 0
br i1 %65, label LBL_19, label LBL_17
LBL_17:
%66 = call i64 @FUNC(i64 %4)
%67 = icmp eq i64 %66, 0
%68 = icmp eq i1 %67, false
store i64 0, i64* %rax.0.reg2mem
br i1 %68, label LBL_18, label LBL_53
LBL_18:
%69 = call i64 @FUNC(i64 %4)
%70 = add i64 %4, 20
%71 = inttoptr i64 %70 to i32*
%72 = load i32, i32* %71, align 4
%73 = add i64 %4, 16
%74 = inttoptr i64 %73 to i32*
%75 = load i32, i32* %74, align 4
%76 = trunc i64 %6 to i32
%77 = zext i32 %72 to i64
%78 = zext i32 %75 to i64
%79 = and i64 %7, 4294967295
%80 = call i64 @FUNC(i64 %5, i32 %76, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_9, i64 0, i64 0), i64 %79, i64 %78, i64 %77)
store i64 %66, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_19:
%81 = add i64 %4, 4
%82 = inttoptr i64 %81 to i32*
%83 = load i32, i32* %82, align 4
%84 = icmp eq i32 %83, 0
br i1 %84, label LBL_21, label LBL_20
LBL_20:
%85 = call i64 @FUNC(i64 %4)
%86 = icmp eq i64 %85, 0
%87 = icmp eq i1 %86, false
store i64 0, i64* %rax.0.reg2mem
br i1 %87, label LBL_22, label LBL_53
LBL_21:
%88 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_10, i64 0, i64 0), i64 %arg4, i64 %3, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_53
LBL_22:
%89 = add i64 %4, 20
%90 = inttoptr i64 %89 to i32*
%91 = load i32, i32* %90, align 4
%92 = add i64 %4, 16
%93 = inttoptr i64 %92 to i32*
%94 = load i32, i32* %93, align 4
%95 = trunc i64 %6 to i32
%96 = zext i32 %91 to i64
%97 = zext i32 %94 to i64
%98 = and i64 %7, 4294967295
%99 = call i64 @FUNC(i64 %5, i32 %95, i8* getelementptr inbounds ([126 x i8], [126 x i8]* @gv_11, i64 0, i64 0), i64 %98, i64 %97, i64 %96)
store i64 %85, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_23:
%100 = trunc i64 %7 to i32
%101 = icmp slt i32 %100, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %101, label LBL_52, label LBL_24
LBL_24:
%102 = add i64 %4, 20
%103 = inttoptr i64 %102 to i32*
%104 = load i32, i32* %103, align 4
%105 = add i64 %4, 16
%106 = inttoptr i64 %105 to i32*
%107 = load i32, i32* %106, align 4
%108 = trunc i64 %6 to i32
%109 = zext i32 %104 to i64
%110 = zext i32 %107 to i64
%111 = and i64 %7, 4294967295
%112 = call i64 @FUNC(i64 %5, i32 %108, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), i64 %111, i64 %110, i64 %109)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_25:
%113 = trunc i64 %7 to i32
%114 = icmp slt i32 %113, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %114, label LBL_52, label LBL_26
LBL_26:
%115 = add i64 %4, 20
%116 = inttoptr i64 %115 to i32*
%117 = load i32, i32* %116, align 4
%118 = add i64 %4, 16
%119 = inttoptr i64 %118 to i32*
%120 = load i32, i32* %119, align 4
%121 = trunc i64 %6 to i32
%122 = zext i32 %117 to i64
%123 = zext i32 %120 to i64
%124 = and i64 %7, 4294967295
%125 = call i64 @FUNC(i64 %5, i32 %121, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_13, i64 0, i64 0), i64 %124, i64 %123, i64 %122)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_27:
%126 = trunc i64 %7 to i32
%127 = icmp slt i32 %126, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %127, label LBL_52, label LBL_28
LBL_28:
%128 = add i64 %4, 20
%129 = inttoptr i64 %128 to i32*
%130 = load i32, i32* %129, align 4
%131 = add i64 %4, 16
%132 = inttoptr i64 %131 to i32*
%133 = load i32, i32* %132, align 4
%134 = trunc i64 %6 to i32
%135 = zext i32 %130 to i64
%136 = zext i32 %133 to i64
%137 = and i64 %7, 4294967295
%138 = call i64 @FUNC(i64 %5, i32 %134, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_14, i64 0, i64 0), i64 %137, i64 %136, i64 %135)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_29:
%139 = add i64 %4, 20
%140 = inttoptr i64 %139 to i32*
%141 = load i32, i32* %140, align 4
%142 = add i64 %4, 16
%143 = inttoptr i64 %142 to i32*
%144 = load i32, i32* %143, align 4
%145 = trunc i64 %6 to i32
%146 = zext i32 %141 to i64
%147 = zext i32 %144 to i64
%148 = and i64 %7, 4294967295
%149 = call i64 @FUNC(i64 %5, i32 %145, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_15, i64 0, i64 0), i64 %148, i64 %147, i64 %146)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_30:
%150 = add i64 %4, 20
%151 = inttoptr i64 %150 to i32*
%152 = load i32, i32* %151, align 4
%153 = add i64 %4, 16
%154 = inttoptr i64 %153 to i32*
%155 = load i32, i32* %154, align 4
%156 = trunc i64 %6 to i32
%157 = zext i32 %152 to i64
%158 = zext i32 %155 to i64
%159 = and i64 %7, 4294967295
%160 = call i64 @FUNC(i64 %5, i32 %156, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_16, i64 0, i64 0), i64 %159, i64 %158, i64 %157)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_31:
%161 = add i64 %4, 4
%162 = inttoptr i64 %161 to i32*
%163 = load i32, i32* %162, align 4
%164 = icmp eq i32 %163, 0
br i1 %164, label LBL_32, label LBL_33
LBL_32:
%165 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_17, i64 0, i64 0), i64 %arg4, i64 %3, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_53
LBL_33:
%166 = call i64 @FUNC(i64 %4)
%167 = icmp eq i64 %166, 0
%168 = icmp eq i1 %167, false
store i64 0, i64* %rax.0.reg2mem
br i1 %168, label LBL_34, label LBL_53
LBL_34:
%169 = add i64 %4, 20
%170 = inttoptr i64 %169 to i32*
%171 = load i32, i32* %170, align 4
%172 = add i64 %4, 16
%173 = inttoptr i64 %172 to i32*
%174 = load i32, i32* %173, align 4
%175 = trunc i64 %6 to i32
%176 = zext i32 %171 to i64
%177 = zext i32 %174 to i64
%178 = and i64 %7, 4294967295
%179 = call i64 @FUNC(i64 %5, i32 %175, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_18, i64 0, i64 0), i64 %178, i64 %177, i64 %176)
store i64 %166, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_35:
%180 = add i64 %4, 28
%181 = inttoptr i64 %180 to i32*
%182 = load i32, i32* %181, align 4
%switch = icmp ult i32 %182, 3
br i1 %switch, label LBL_37, label LBL_36
LBL_36:
%183 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_19, i64 0, i64 0), i64 %arg4, i64 %3, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_53
LBL_37:
%184 = add i64 %4, 4
%185 = inttoptr i64 %184 to i32*
%186 = load i32, i32* %185, align 4
%187 = icmp eq i32 %186, 0
br i1 %187, label LBL_38, label LBL_39
LBL_38:
%188 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_20, i64 0, i64 0), i64 %arg4, i64 %3, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_53
LBL_39:
%189 = call i64 @FUNC(i64 %4)
%190 = icmp eq i64 %189, 0
%191 = icmp eq i1 %190, false
store i64 0, i64* %rax.0.reg2mem
br i1 %191, label LBL_40, label LBL_53
LBL_40:
%192 = add i64 %4, 8
%193 = inttoptr i64 %192 to i32*
%194 = load i32, i32* %193, align 4
%195 = trunc i64 %6 to i32
%196 = zext i32 %194 to i64
%197 = and i64 %7, 4294967295
%198 = call i64 @FUNC(i64 %5, i32 %195, i8* getelementptr inbounds ([113 x i8], [113 x i8]* @gv_21, i64 0, i64 0), i64 %197, i64 %197, i64 %196)
store i64 %189, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_41:
%199 = trunc i64 %6 to i32
%200 = and i64 %7, 4294967295
%201 = call i64 @FUNC(i64 %5, i32 %199, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_22, i64 0, i64 0), i64 %200, i64 %3, i64 %1)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_42:
%202 = trunc i64 %7 to i32
%203 = icmp slt i32 %202, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %203, label LBL_52, label LBL_43
LBL_43:
%204 = trunc i64 %6 to i32
%205 = and i64 %7, 4294967295
%206 = call i64 @FUNC(i64 %5, i32 %204, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_23, i64 0, i64 0), i64 %205, i64 %3, i64 %1)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_44:
%207 = trunc i64 %7 to i32
%208 = icmp slt i32 %207, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %208, label LBL_52, label LBL_45
LBL_45:
%209 = add i64 %4, 20
%210 = inttoptr i64 %209 to i32*
%211 = load i32, i32* %210, align 4
%212 = trunc i64 %6 to i32
%213 = zext i32 %211 to i64
%214 = and i64 %7, 4294967295
%215 = call i64 @FUNC(i64 %5, i32 %212, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_24, i64 0, i64 0), i64 %214, i64 8000, i64 %213)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_46:
%216 = trunc i64 %7 to i32
%217 = icmp slt i32 %216, 96
store i64 0, i64* %sv_0.4.reg2mem
br i1 %217, label LBL_52, label LBL_47
LBL_47:
%218 = add i64 %4, 16
%219 = inttoptr i64 %218 to i32*
%220 = load i32, i32* %219, align 4
%221 = add i64 %4, 24
%222 = inttoptr i64 %221 to i32*
%223 = load i32, i32* %222, align 4
%224 = mul i32 %223, 8
%225 = trunc i64 %6 to i32
%226 = zext i32 %220 to i64
%227 = zext i32 %224 to i64
%228 = and i64 %7, 4294967295
%229 = call i64 @FUNC(i64 %5, i32 %225, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_25, i64 0, i64 0), i64 %228, i64 %227, i64 %226)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_48:
%230 = add i64 %4, 16
%231 = inttoptr i64 %230 to i32*
%232 = load i32, i32* %231, align 4
%233 = trunc i64 %6 to i32
%234 = and i64 %7, 4294967295
%235 = zext i32 %232 to i64
%236 = call i64 @FUNC(i64 %5, i32 %233, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_26, i64 0, i64 0), i64 %234, i64 %235, i64 %234)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_49:
%237 = add i64 %4, 16
%238 = inttoptr i64 %237 to i32*
%239 = load i32, i32* %238, align 4
%240 = trunc i64 %6 to i32
%241 = zext i32 %239 to i64
%242 = and i64 %7, 4294967295
%243 = call i64 @FUNC(i64 %5, i32 %240, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_27, i64 0, i64 0), i64 %242, i64 %241, i64 %1)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_50:
%244 = trunc i64 %6 to i32
%245 = and i64 %7, 4294967295
%246 = call i64 @FUNC(i64 %5, i32 %244, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_28, i64 0, i64 0), i64 %245, i64 %3, i64 %1)
%247 = add i64 %4, 20
%248 = inttoptr i64 %247 to i32*
%249 = load i32, i32* %248, align 4
%250 = icmp eq i32 %249, 2
%251 = icmp eq i1 %250, false
store i64 0, i64* %sv_0.4.reg2mem
br i1 %251, label LBL_52, label LBL_51
LBL_51:
%252 = call i64 @FUNC(i64 %5, i32 %244, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_29, i64 0, i64 0), i64 %245, i64 %3, i64 %1)
store i64 0, i64* %sv_0.4.reg2mem
br label LBL_52
LBL_52:
%sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem
%253 = call i64 @FUNC(i64 %sv_0.4.reload)
store i64 %5, i64* %rax.0.reg2mem
br label LBL_53
LBL_53:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %234, { 1, 0 }
uselistorder i64 %197, { 1, 0 }
uselistorder i64 %57, { 1, 0 }
uselistorder i64 %39, { 1, 0 }
uselistorder i64 %23, { 1, 0 }
uselistorder i64 %7, { 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %6, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %5, { 0, 20, 21, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 %4, { 41, 40, 39, 38, 37, 36, 31, 33, 34, 32, 30, 35, 26, 25, 28, 29, 27, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 11, 10, 14, 13, 12, 7, 6, 8, 9, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %3, { 11, 12, 10, 9, 8, 7, 6, 4, 5, 3, 2, 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 5, 4, 3, 2, 1, 10, 9, 8, 7, 0, 6 }
uselistorder i64* %sv_0.115.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.4.reg2mem, { 0, 27, 28, 26, 25, 23, 24, 21, 22, 19, 20, 18, 17, 16, 15, 14, 12, 13, 10, 11, 8, 9, 7, 6, 5, 4, 3, 1, 2, 29 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 3, 1, 8, 4, 2, 7, 5, 6 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @xiph_extradata2config, { 1, 0 }
uselistorder i32 96, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @extradata2config, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }
uselistorder i64 (i64, i32, i8*, i64, i64, i64)* @av_strlcatf, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i8*, i8*)* @av_opt_flag_is_set, { 2, 1, 0 }
uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64* null, { 2, 1, 0 }
uselistorder i32 3, { 1, 0, 2 }
uselistorder i64 4294967295, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 5, 6, 4, 3, 2, 1, 0 }
uselistorder i64* %arg5, { 2, 1, 0, 3 }
uselistorder i64 %arg4, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_53, { 8, 2, 0, 6, 3, 1, 7, 4, 5 }
uselistorder label LBL_52, { 2, 1, 17, 18, 4, 3, 6, 5, 8, 7, 19, 20, 21, 22, 23, 10, 9, 12, 11, 14, 13, 24, 25, 26, 27, 15, 0, 28, 16 }
uselistorder label %55, { 1, 0 }
uselistorder label LBL_13.thread, { 1, 0 }
} | 1 |
CompRealVul | check_options_7874 | check_options | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_0.16.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%rdx = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i8, align 1
%0 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))
%1 = call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))
%2 = call i32 @strlen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
store i8 0, i8* %sv_2, align 1
%3 = trunc i64 %arg1 to i32
%4 = icmp sgt i32 %3, 0
br i1 %4, label LBL_1, label LBL_17
LBL_1:
%5 = sext i32 %0 to i64
%6 = sext i32 %1 to i64
%7 = sext i32 %2 to i64
%8 = bitcast i64* %sv_1 to i8*
%9 = ptrtoint i64* %sv_1 to i64
%10 = bitcast i64* %arg3 to i8*
%sext = mul i64 %arg1, 4294967296
%11 = ashr exact i64 %sext, 32
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_0.16.reg2mem
br label LBL_2
LBL_2:
%sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%12 = mul i64 %indvars.iv.reload, 8
%13 = add i64 %12, %arg2
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, 0
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br i1 %16, label LBL_16, label LBL_3
LBL_3:
%17 = inttoptr i64 %15 to i8*
%18 = call i32 @strcasecmp(i8* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = load i64, i64* %14, align 8
%21 = inttoptr i64 %20 to i8*
%22 = call i32 @strcasecmp(i8* %21, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_6, label LBL_5
LBL_5:
%25 = load i64, i64* %14, align 8
%26 = inttoptr i64 %25 to i8*
%27 = call i8* @strcpy(i8* %10, i8* %26)
%28 = add i32 %sv_0.16.reload, 1
store i32 %28, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_6:
%29 = load i64, i64* %14, align 8
%30 = inttoptr i64 %29 to i8*
%31 = call i32 @strncasecmp(i8* %30, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 %0)
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_9, label LBL_7
LBL_7:
%34 = load i64, i64* @gv_5, align 8
%35 = icmp eq i64 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_9, label LBL_8
LBL_8:
%37 = load i64, i64* %14, align 8
%38 = inttoptr i64 %37 to i8*
%39 = call i32 @strlen(i8* %38)
%40 = sext i32 %39 to i64
%41 = sub nsw i64 %40, %5
%42 = load i64, i64* %14, align 8
%43 = add i64 %42, %5
%44 = call i64 @FUNC(i64 %43, i64 %41, i64 0)
store i64 %44, i64* @gv_5, align 8
%45 = add i32 %sv_0.16.reload, 1
store i32 %45, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_9:
%46 = load i64, i64* %14, align 8
%47 = inttoptr i64 %46 to i8*
%48 = call i32 @strncasecmp(i8* %47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i32 %1)
%49 = icmp eq i32 %48, 0
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_12, label LBL_10
LBL_10:
%51 = load i64, i64* @gv_6, align 8
%52 = icmp eq i64 %51, 0
%53 = icmp eq i1 %52, false
br i1 %53, label LBL_12, label LBL_11
LBL_11:
%54 = load i64, i64* %14, align 8
%55 = inttoptr i64 %54 to i8*
%56 = call i32 @strlen(i8* %55)
%57 = sext i32 %56 to i64
%58 = sub nsw i64 %57, %6
%59 = load i64, i64* %14, align 8
%60 = add i64 %59, %6
%61 = call i64 @FUNC(i64 %60, i64 %58, i64 0)
store i64 %61, i64* @gv_6, align 8
%62 = add i32 %sv_0.16.reload, 1
store i32 %62, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_12:
%63 = load i64, i64* %14, align 8
%64 = inttoptr i64 %63 to i8*
%65 = call i32 @strncasecmp(i8* %64, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i32 %2)
%66 = icmp eq i32 %65, 0
%67 = icmp eq i1 %66, false
br i1 %67, label LBL_15, label LBL_13
LBL_13:
%68 = load i64, i64* @gv_7, align 8
%69 = icmp eq i64 %68, 0
%70 = icmp eq i1 %69, false
br i1 %70, label LBL_15, label LBL_14
LBL_14:
%71 = load i64, i64* %14, align 8
%72 = inttoptr i64 %71 to i8*
%73 = call i32 @strlen(i8* %72)
%74 = sext i32 %73 to i64
%75 = sub nsw i64 %74, %7
%76 = load i64, i64* %14, align 8
%77 = add i64 %76, %7
%78 = call i64 @FUNC(i64 %77, i64 %75, i64 0)
store i64 %78, i64* @gv_7, align 8
%79 = add i32 %sv_0.16.reload, 1
store i32 %79, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_15:
%80 = load i64, i64* %14, align 8
%81 = inttoptr i64 %80 to i8*
%82 = call i8* @strcpy(i8* nonnull %sv_2, i8* %81)
%83 = load i64, i64* %14, align 8
%84 = inttoptr i64 %83 to i8*
%85 = call i8* @strcpy(i8* nonnull %8, i8* %84)
%86 = call i32 @strlen(i8* nonnull %8)
%87 = sext i32 %86 to i64
%88 = add i64 %87, %9
%89 = inttoptr i64 %88 to i32*
store i32 1768843566, i32* %89, align 4
%90 = add i64 %88, 4
%91 = inttoptr i64 %90 to i8*
store i8 0, i8* %91, align 1
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_16:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%92 = icmp slt i64 %indvars.iv.next, %11
%93 = icmp slt i32 %sv_0.0.reload, 5
%or.cond = icmp eq i1 %92, %93
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem
br i1 %or.cond, label LBL_2, label LBL_17
LBL_17:
%94 = load i64, i64* @gv_5, align 8
%95 = icmp eq i64 %94, 0
%96 = icmp eq i1 %95, false
br i1 %96, label LBL_19, label LBL_18
LBL_18:
%97 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%98 = call i32 @fwrite(i64* bitcast ([34 x i8]* @gv_9 to i64*), i32 1, i32 33, %_IO_FILE* %97)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_19:
%99 = load i64, i64* @gv_6, align 8
%100 = icmp eq i64 %99, 0
%101 = icmp eq i1 %100, false
br i1 %101, label LBL_21, label LBL_20
LBL_20:
%102 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%103 = call i32 @fwrite(i64* bitcast ([34 x i8]* @gv_10 to i64*), i32 1, i32 33, %_IO_FILE* %102)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_21:
%104 = load i64, i64* @gv_7, align 8
%105 = icmp eq i64 %104, 0
%106 = icmp eq i1 %105, false
br i1 %106, label LBL_23, label LBL_22
LBL_22:
%107 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%108 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_11 to i64*), i32 1, i32 36, %_IO_FILE* %107)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_23:
%109 = load i8, i8* %sv_2, align 1
%110 = icmp eq i8 %109, 0
br i1 %110, label LBL_27, label LBL_24
LBL_24:
%111 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)
%112 = trunc i64 %111 to i32
%113 = icmp eq i32 %112, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %113, label LBL_25, label LBL_30
LBL_25:
%114 = call i32 @strcasecmp(i8* bitcast (i8** @gv_12 to i8*), i8* nonnull %sv_2)
%115 = icmp eq i32 %114, 0
br i1 %115, label LBL_28, label LBL_26
LBL_26:
%116 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%117 = call i32 @fwrite(i64* bitcast ([63 x i8]* @gv_13 to i64*), i32 1, i32 62, %_IO_FILE* %116)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_27:
%118 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%119 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_14 to i64*), i32 1, i32 28, %_IO_FILE* %118)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_28:
%120 = bitcast i64* %rdx to i8*
%121 = load i8, i8* %120, align 8
%122 = icmp eq i8 %121, 0
%123 = icmp eq i1 %122, false
store i64 0, i64* %rax.0.reg2mem
br i1 %123, label LBL_30, label LBL_29
LBL_29:
%124 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8
%125 = call i32 @fwrite(i64* bitcast ([90 x i8]* @gv_15 to i64*), i32 1, i32 89, %_IO_FILE* %124)
store i64 1, i64* %rax.0.reg2mem
br label LBL_30
LBL_30:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %88, { 1, 0 }
uselistorder i64* %14, { 6, 7, 4, 5, 8, 2, 3, 9, 0, 1, 10, 12, 11, 13 }
uselistorder i32 %sv_0.16.reload, { 0, 5, 4, 2, 3, 1 }
uselistorder i32 %2, { 1, 0 }
uselistorder i32 %1, { 1, 0 }
uselistorder i32 %0, { 1, 0 }
uselistorder i8* %sv_2, { 0, 1, 3, 2, 4 }
uselistorder i64* %sv_1, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1, 5, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 8, 6, 2, 5, 4, 3 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 5, 4, 3, 2, 1, 0 }
uselistorder %_IO_FILE** @gv_8, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 1, { 5, 6, 4, 0, 3, 2, 1, 7 }
uselistorder i64 (i64, i64, i64)* @my_strndup, { 2, 1, 0 }
uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 2, 1, 0 }
uselistorder i8* (i8*, i8*)* @strcpy, { 2, 1, 0 }
uselistorder i32 (i8*, i8*)* @strcasecmp, { 2, 1, 0 }
uselistorder i8 0, { 2, 3, 4, 1, 5, 0 }
uselistorder i32 (i8*)* @strlen, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_30, { 2, 0, 3, 4, 1, 5, 6, 7 }
uselistorder label LBL_16, { 1, 2, 3, 4, 5, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | buffer_free_17697 | buffer_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = inttoptr i64 %arg1 to i64*
call void @free(i64* %1)
store i64 0, i64* %1, align 8
br label LBL_2
LBL_2:
ret i64 %arg1
uselistorder i64 %arg1, { 1, 0, 2 }
} | 1 |
CompRealVul | smp_br_select_next_key_10192 | smp_br_select_next_key | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8, align 1
store i8 0, i8* %sv_0, align 1
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %3, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = trunc i64 %2 to i8
%11 = zext i32 %6 to i64
%12 = zext i32 %9 to i64
%13 = urem i64 %2, 256
%14 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %12, i64 %11, i64 %1)
%15 = icmp eq i8 %10, 1
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = load i32, i32* %8, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i8 %10, 0
%19 = icmp eq i1 %18, %17
br i1 %19, label LBL_2, label LBL_3
LBL_2:
%20 = ptrtoint i64* %arg2 to i64
%21 = call i64 @FUNC(i64 %3, i64 %20)
br label LBL_3
LBL_3:
%22 = load i32, i32* %5, align 4
%23 = zext i32 %22 to i64
%24 = icmp eq i32 %22, 0
%25 = icmp eq i1 %24, false
store i64 %23, i64* %rax.0.reg2mem
br i1 %25, label LBL_9, label LBL_4
LBL_4:
%26 = load i32, i32* %8, align 4
%27 = zext i32 %26 to i64
%28 = icmp eq i32 %26, 0
%29 = icmp eq i1 %28, false
store i64 %27, i64* %rax.0.reg2mem
br i1 %29, label LBL_9, label LBL_5
LBL_5:
%30 = call i64 @FUNC()
%31 = trunc i64 %30 to i8
%32 = icmp eq i8 %31, 1
%33 = icmp eq i1 %32, false
store i64 %30, i64* %rax.0.reg2mem
br i1 %33, label LBL_9, label LBL_6
LBL_6:
%34 = add i64 %3, 12
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_8, label LBL_7
LBL_7:
%39 = call i64 @FUNC(i64 %3, i64 2, i8* nonnull %sv_0)
store i64 %39, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%40 = add i64 %3, 16
%41 = inttoptr i64 %40 to i8*
store i8 1, i8* %41, align 1
store i64 %3, 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 i8 %10, { 1, 0 }
uselistorder i32* %8, { 1, 0, 2 }
uselistorder i64 %3, { 0, 3, 2, 1, 4, 5, 6 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 }
uselistorder i64* %0, { 1, 0 }
uselistorder i8 1, { 2, 0, 1 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | vhost_dev_start_17003 | vhost_dev_start | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%.reg2mem15 = alloca i32
%storemerge1.reg2mem = alloca i64
%storemerge25.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i8*
store i8 1, i8* %1, align 1
%2 = add i64 %0, 1
%3 = inttoptr i64 %2 to i8*
%4 = load i8, i8* %3, align 1
%5 = zext i8 %4 to i64
%6 = call i64 @FUNC(i64 %0, i64 %5)
%7 = trunc i64 %6 to i32
%8 = icmp slt i32 %7, 0
store i32 %7, i32* %sv_0.1.reg2mem
br i1 %8, label LBL_13, label LBL_1
LBL_1:
%9 = trunc i64 %0 to i32
%10 = icmp slt i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_2, label LBL_4
LBL_2:
%12 = add i64 %0, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_7, label LBL_3
LBL_3:
%16 = ptrtoint i64* %arg2 to i64
%17 = add i64 %0, 24
%18 = inttoptr i64 %17 to i64*
%19 = add i64 %0, 16
%20 = inttoptr i64 %19 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge25.reg2mem
br label LBL_5
LBL_4:
%21 = call i32* @__errno_location()
%22 = load i32, i32* %21, align 4
%23 = sub i32 0, %22
store i32 %23, i32* %sv_0.1.reg2mem
br label LBL_13
LBL_5:
%storemerge25.reload = load i32, i32* %storemerge25.reg2mem
%.reload = load i64, i64* %.reg2mem
%24 = load i64, i64* %18, align 8
%25 = mul i64 %.reload, 4
%26 = add i64 %24, %25
%27 = and i64 %26, 4294967295
%28 = load i64, i64* %20, align 8
%29 = mul i64 %.reload, 8
%30 = add i64 %28, %29
%31 = call i64 @FUNC(i64 %0, i64 %16, i64 %30, i64 %27)
%32 = trunc i64 %31 to i32
%33 = icmp slt i32 %32, 0
br i1 %33, label LBL_11, label LBL_6
LBL_6:
%34 = add i32 %storemerge25.reload, 1
%35 = load i32, i32* %13, align 4
%36 = zext i32 %35 to i64
%37 = sext i32 %34 to i64
%38 = icmp slt i64 %37, %36
store i64 %37, i64* %.reg2mem
store i32 %34, i32* %storemerge25.reg2mem
br i1 %38, label LBL_5, label LBL_7
LBL_7:
%39 = load i8, i8* %3, align 1
%40 = icmp eq i8 %39, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %40, label LBL_14, label LBL_8
LBL_8:
%41 = call i64 @FUNC(i64 %0)
%42 = add i64 %0, 32
%43 = inttoptr i64 %42 to i64*
store i64 %41, i64* %43, align 8
%44 = icmp eq i64 %41, 0
store i64 0, i64* %storemerge1.reg2mem
br i1 %44, label LBL_10, label LBL_9
LBL_9:
%45 = call i64 @FUNC(i64 %41)
store i64 %45, i64* %storemerge1.reg2mem
br label LBL_10
LBL_10:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%46 = add i64 %0, 40
%47 = inttoptr i64 %46 to i64*
store i64 %storemerge1.reload, i64* %47, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_14
LBL_11:
%48 = add i32 %storemerge25.reload, -1
%49 = icmp slt i32 %48, 0
%50 = icmp eq i1 %49, false
store i32 %48, i32* %.reg2mem15
store i32 %32, i32* %sv_0.1.reg2mem
br i1 %50, label LBL_12, label LBL_13
LBL_12:
%.reload16 = load i32, i32* %.reg2mem15
%51 = load i64, i64* %18, align 8
%52 = sext i32 %.reload16 to i64
%53 = mul i64 %52, 4
%54 = add i64 %53, %51
%55 = and i64 %54, 4294967295
%56 = load i64, i64* %20, align 8
%57 = mul i64 %52, 8
%58 = add i64 %56, %57
%59 = call i64 @FUNC(i64 %0, i64 %16, i64 %58, i64 %55)
%60 = add i32 %.reload16, -1
%61 = icmp slt i32 %60, 0
%62 = icmp eq i1 %61, false
store i32 %60, i32* %.reg2mem15
store i32 %32, i32* %sv_0.1.reg2mem
br i1 %62, label LBL_12, label LBL_13
LBL_13:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
store i8 0, i8* %1, align 1
%63 = zext i32 %sv_0.1.reload to i64
store i64 %63, i64* %storemerge.reg2mem
br label LBL_14
LBL_14:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %.reload16, { 1, 0 }
uselistorder i64 %41, { 1, 0, 2 }
uselistorder i64 %.reload, { 1, 0 }
uselistorder i32 %storemerge25.reload, { 1, 0 }
uselistorder i32* %13, { 1, 0 }
uselistorder i64 %0, { 1, 0, 6, 7, 5, 4, 3, 2, 8, 9, 10 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem15, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 -1, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i32 0, { 4, 2, 5, 6, 0, 1, 7, 8, 3 }
uselistorder label LBL_14, { 2, 0, 1 }
uselistorder label LBL_13, { 0, 1, 3, 2 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
CompRealVul | cmd_read_cd_14309 | cmd_read_cd | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %0, 6
%3 = inttoptr i64 %2 to i8*
%4 = load i8, i8* %3, align 1
%5 = zext i8 %4 to i32
%6 = mul i32 %5, 65536
%7 = add i64 %0, 7
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = zext i8 %9 to i32
%11 = mul i32 %10, 256
%12 = or i32 %11, %6
%13 = add i64 %0, 8
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = zext i8 %15 to i32
%17 = or i32 %12, %16
%18 = add i64 %0, 2
%19 = call i64 @FUNC(i64 %18)
%20 = icmp eq i32 %17, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_2, label LBL_1
LBL_1:
%22 = call i64 @FUNC(i64 %1)
store i64 %22, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%23 = trunc i64 %19 to i32
%24 = add i64 %0, 9
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = icmp ugt i8 %26, -9
br i1 %27, label LBL_6, label LBL_3
LBL_3:
%28 = and i8 %26, -8
switch i8 %28, label LBL_7 [
i8 0, label LBL_4
i8 16, label LBL_5
]
LBL_4:
%29 = call i64 @FUNC(i64 %1)
store i64 %29, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%30 = call i64 @FUNC(i64 %1, i32 %23, i32 %17, i64 2048)
store i64 %30, i64* %rax.0.reg2mem
br label LBL_8
LBL_6:
%31 = call i64 @FUNC(i64 %1, i32 %23, i32 %17, i64 2352)
store i64 %31, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%32 = call i64 @FUNC(i64 %1, i64 1, i64 2)
store i64 %32, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8 %26, { 1, 0 }
uselistorder i32 %23, { 1, 0 }
uselistorder i32 %17, { 1, 0, 2 }
uselistorder i64 %1, { 3, 4, 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 2, 3, 1 }
uselistorder i64 (i64, i32, i32, i64)* @ide_atapi_cmd_read, { 1, 0 }
uselistorder i64 (i64)* @ide_atapi_cmd_ok, { 1, 0 }
} | 1 |
CompRealVul | powermate_alloc_buffers_8616 | powermate_alloc_buffers | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = add i64 %0, 8
%2 = call i64 @FUNC(i64 %arg1, i64 64, i64 0, i64 %1)
store i64 %2, i64* %arg2, align 8
%3 = call i64 @FUNC(i64 1, i64 1)
%4 = add i64 %0, 16
%5 = inttoptr i64 %4 to i64*
store i64 %3, i64* %5, align 8
%6 = icmp eq i64 %3, 0
%7 = icmp eq i1 %6, false
%. = select i1 %7, i64 0, i64 4294967284
ret i64 %.
uselistorder i64 1, { 1, 0 }
} | 0 |
CompRealVul | usbnet_status_stop_10512 | usbnet_status_stop | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_4, label LBL_1
LBL_1:
%7 = trunc i64 %1 to i32
%8 = add i64 %2, 24
%9 = call i64 @FUNC(i64 %8)
%10 = icmp eq i32 %7, 0
%11 = zext i1 %10 to i64
%12 = call i64 @FUNC(i64 %11)
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%13 = add i32 %7, -1
%14 = bitcast i64* %arg1 to i32*
store i32 %13, i32* %14, align 4
br label LBL_3
LBL_3:
%15 = add i64 %2, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = and i64 %1, 4294967295
%19 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %18)
%20 = call i64 @FUNC(i64 %8)
store i64 %20, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 0 }
} | 0 |
CompRealVul | cmd_client_7271 | cmd_client | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i8*
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i64
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%sv_5 = alloca i16, align 2
%sv_6 = alloca i64, align 8
%0 = trunc i64 %arg1 to i32
%1 = add i32 %0, -1
%2 = add i64 %arg2, 8
%3 = icmp slt i32 %1, 1
store i64 %2, i64* %sv_2.0.reg2mem
store i32 %1, i32* %sv_1.0.reg2mem
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem
br i1 %3, label LBL_7, label LBL_1
LBL_1:
%4 = inttoptr i64 %2 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i8*
%7 = call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = load [34 x i8]*, [34 x i8]** @gv_2, align 8
%11 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8
%12 = getelementptr inbounds [34 x i8], [34 x i8]* %10, i64 0, i64 0
%13 = call i32 @fputs(i8* %12, %_IO_FILE* %11)
store i64 0, i64* %rax.0.reg2mem
br label LBL_21
LBL_3:
%14 = load i64, i64* %4, align 8
%15 = inttoptr i64 %14 to i8*
%16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 %2, i64* %sv_2.0.reg2mem
store i32 %1, i32* %sv_1.0.reg2mem
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem
br i1 %18, label LBL_7, label LBL_4
LBL_4:
%19 = icmp slt i32 %1, 2
br i1 %19, label LBL_6, label LBL_5
LBL_5:
%20 = add i64 %arg2, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i8*
%24 = add i32 %0, -3
%25 = add i64 %arg2, 24
store i64 %25, i64* %sv_2.0.reg2mem
store i32 %24, i32* %sv_1.0.reg2mem
store i8* %23, i8** %sv_0.0.reg2mem
br label LBL_7
LBL_6:
%26 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%27 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_6 to i64*), i32 1, i32 17, %_IO_FILE* %26)
store i64 1, i64* %rax.0.reg2mem
br label LBL_21
LBL_7:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%28 = call i64 @FUNC(i64* nonnull %sv_6, i64 256, i32 %sv_1.0.reload, i64 %sv_2.0.reload)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_9, label LBL_8
LBL_8:
%32 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%33 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_7 to i64*), i32 1, i32 14, %_IO_FILE* %32)
store i64 1, i64* %rax.0.reg2mem
br label LBL_21
LBL_9:
%34 = call i32 @socket(i32 1, i32 1, i32 0)
%35 = icmp slt i32 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_11, label LBL_10
LBL_10:
%37 = call i32* @__errno_location()
%38 = load i32, i32* %37, align 4
%39 = call i8* @strerror(i32 %38)
%40 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8* %39)
store i64 1, i64* %rax.0.reg2mem
br label LBL_21
LBL_11:
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
store i16 1, i16* %sv_5, align 2
%42 = bitcast i64* %sv_4 to i8*
%43 = call i8* @strcpy(i8* nonnull %42, i8* %sv_0.0.reload)
%44 = bitcast i16* %sv_5 to %sockaddr*
%45 = call i32 @connect(i32 %34, %sockaddr* nonnull %44, i32 110)
%46 = icmp slt i32 %45, 0
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_13, label LBL_12
LBL_12:
%48 = call i32* @__errno_location()
%49 = load i32, i32* %48, align 4
%50 = call i8* @strerror(i32 %49)
%51 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%52 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %51, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i8* %sv_0.0.reload, i8* %50)
br label LBL_19
LBL_13:
store i64 0, i64* %sv_3, align 8
%53 = call i32 @setsockopt(i32 %34, i32 1, i32 20, i64* nonnull %sv_3, i32 16)
%54 = icmp slt i32 %53, 0
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_15, label LBL_14
LBL_14:
%56 = call i32* @__errno_location()
%57 = load i32, i32* %56, align 4
%58 = call i8* @strerror(i32 %57)
%59 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %59, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i8* %58)
br label LBL_19
LBL_15:
%61 = bitcast i64* %sv_6 to i8*
%62 = call i32 @strlen(i8* nonnull %61)
%63 = call i32 @send(i32 %34, i64* nonnull %sv_6, i32 %62, i32 0)
%64 = call i32 @strlen(i8* nonnull %61)
%65 = call i32 @read(i32 %34, i64* nonnull %sv_6, i32 %64)
%66 = icmp slt i32 %65, 1
br i1 %66, label LBL_18, label LBL_16
LBL_16:
%67 = ptrtoint i64* %sv_6 to i64
store i32 %65, i32* %.reg2mem
br label LBL_17
LBL_17:
%.reload = load i32, i32* %.reg2mem
%68 = sext i32 %.reload to i64
%69 = add i64 %68, %67
%70 = inttoptr i64 %69 to i8*
store i8 0, i8* %70, align 1
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_6)
%72 = call i32 @strlen(i8* nonnull %61)
%73 = call i32 @read(i32 %34, i64* nonnull %sv_6, i32 %72)
%74 = icmp slt i32 %73, 1
store i32 %73, i32* %.reg2mem
br i1 %74, label LBL_18, label LBL_17
LBL_18:
%75 = call i32 @close(i32 %34)
store i64 0, i64* %rax.0.reg2mem
br label LBL_21
LBL_19:
%76 = icmp slt i32 %34, 1
store i64 1, i64* %rax.0.reg2mem
br i1 %76, label LBL_21, label LBL_20
LBL_20:
%77 = call i32 @close(i32 %34)
store i64 1, i64* %rax.0.reg2mem
br label LBL_21
LBL_21:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8* %61, { 1, 0, 2 }
uselistorder i8* %sv_0.0.reload, { 1, 0 }
uselistorder i32 %34, { 2, 1, 3, 4, 0, 5, 6, 7, 8 }
uselistorder i64 %2, { 0, 2, 1 }
uselistorder i32 %1, { 2, 0, 1, 3 }
uselistorder i64* %sv_6, { 2, 1, 6, 0, 3, 4, 5 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 6, 5, 4, 3 }
uselistorder i32 (i32)* @close, { 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i32 (i32, i64*, i32)* @read, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 3, 0, 2, 4, 1 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 0, 1 }
uselistorder i32* ()* @__errno_location, { 2, 0, 1 }
uselistorder i64 1, { 1, 0, 4, 3, 2, 7, 5, 6, 8 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }
uselistorder %_IO_FILE** @gv_5, { 4, 3, 2, 1, 0 }
uselistorder i32 0, { 1, 3, 4, 5, 2, 6, 7, 0 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
uselistorder i64 0, { 1, 10, 11, 12, 13, 25, 14, 15, 16, 17, 18, 19, 0, 8, 9, 20, 21, 22, 23, 2, 4, 3, 6, 7, 5, 24 }
uselistorder i64 8, { 2, 0, 1 }
uselistorder i32 1, { 12, 11, 10, 16, 17, 18, 19, 13, 15, 14, 23, 22, 21, 20, 4, 3, 2, 1, 0, 9, 8, 7, 6, 5 }
uselistorder label LBL_21, { 1, 0, 2, 3, 4, 5, 6 }
uselistorder label LBL_17, { 1, 0 }
} | 0 |
CompRealVul | get_user_pages_7616 | get_user_pages | define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3, i32 %arg4, i32 %arg5, i32 %arg6, i64* %arg7, i64* %arg8) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.250.reg2mem = alloca i32
%sv_0.248.reg2mem = alloca i32
%.pre.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%.reg2mem85 = alloca i32
%.lcssa.reg2mem = alloca i64
%sv_1.4.lcssa.reg2mem = alloca i32
%sv_1.432.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%sv_1.1.ph.reg2mem = alloca i32
%storemerge.in.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
store i64 %arg3, i64* %sv_3, align 8
store i32 %arg4, i32* %sv_2, align 4
%0 = icmp eq i32 %arg4, 0
%1 = icmp slt i32 %arg4, 0
%2 = icmp eq i1 %1, false
%3 = icmp eq i1 %0, false
%4 = icmp eq i1 %2, %3
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_52
LBL_1:
%5 = ptrtoint i64* %arg8 to i64
%6 = ptrtoint i64* %arg7 to i64
%7 = ptrtoint i64* %sv_4 to i64
%8 = icmp eq i32 %arg5, 0
%9 = select i1 %8, i32 10, i32 5
%10 = icmp eq i32 %arg6, 0
%11 = select i1 %10, i32 3, i32 12
%12 = and i32 %11, %9
%13 = ptrtoint i32* %arg2 to i64
%14 = ptrtoint i32* %arg1 to i64
%15 = icmp eq i64* %arg7, null
%16 = icmp eq i64* %arg8, null
%17 = zext i32 %arg5 to i64
%18 = add i64 %7, -8
%19 = inttoptr i64 %18 to i64*
%20 = add i64 %7, -16
%21 = inttoptr i64 %20 to i64*
%spec.select = select i1 %15, i32 128, i32 384
%22 = icmp eq i1 %8, false
%23 = or i32 %spec.select, 1024
%24 = bitcast i64* %rdi to i32*
%25 = add i64 %14, 4
%26 = inttoptr i64 %25 to i32*
store i64 %arg3, i64* %.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%.reload = load i64, i64* %.reg2mem
%27 = call i64 @FUNC(i64 %13, i64 %.reload)
%28 = icmp eq i64 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_19, label LBL_3
LBL_3:
%30 = load i64, i64* %sv_3, align 8
%31 = call i64 @FUNC(i64 %14, i64 %30)
%32 = trunc i64 %31 to i32
%33 = icmp eq i32 %32, 0
br i1 %33, label LBL_21, label LBL_4
LBL_4:
%34 = load i64, i64* %sv_3, align 8
%35 = call i64 @FUNC(i64 %14)
br i1 %8, label LBL_6, label LBL_5
LBL_5:
%36 = zext i32 %sv_0.0.reload to i64
%37 = icmp eq i32 %sv_0.0.reload, 0
%38 = icmp eq i1 %37, false
%spec.store.select = select i1 %38, i64 %36, i64 4294967282
store i64 %spec.store.select, i64* %rax.0.reg2mem
br label LBL_52
LBL_6:
%39 = and i64 %34, -4096
%40 = icmp ult i64 %39, 4294967296
br i1 %40, label LBL_8, label LBL_7
LBL_7:
%41 = call i64 @FUNC(i64 %39)
store i64 %41, i64* %storemerge.in.reg2mem
br label LBL_9
LBL_8:
%42 = call i64 @FUNC(i64 %13, i64 %39)
store i64 %42, i64* %storemerge.in.reg2mem
br label LBL_9
LBL_9:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = inttoptr i64 %storemerge.in.reload to i32*
%43 = load i32, i32* %storemerge, align 4
%44 = call i64 @FUNC(i32 %43)
%45 = and i64 %44, 4294967295
%46 = call i64 @FUNC(i64 %45)
%47 = call i64 @FUNC(i64 %storemerge.in.reload, i64 %39)
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = call i64 @FUNC(i32 %49)
%51 = and i64 %50, 4294967295
%52 = call i64 @FUNC(i64 %51)
%53 = call i64 @FUNC(i64 %47, i64 %39)
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = call i64 @FUNC(i32 %55)
%57 = trunc i64 %56 to i32
%58 = icmp eq i32 %57, 0
br i1 %58, label LBL_11, label LBL_10
LBL_10:
%59 = zext i32 %sv_0.0.reload to i64
%60 = icmp eq i32 %sv_0.0.reload, 0
%61 = icmp eq i1 %60, false
%spec.store.select8 = select i1 %61, i64 %59, i64 4294967282
store i64 %spec.store.select8, i64* %rax.0.reg2mem
br label LBL_52
LBL_11:
%62 = call i64 @FUNC(i64 %53, i64 %39)
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%65 = call i64 @FUNC(i32 %64)
%66 = trunc i64 %65 to i32
%67 = icmp eq i32 %66, 0
br i1 %67, label LBL_13, label LBL_12
LBL_12:
%68 = call i64 @FUNC(i64 %62)
%69 = zext i32 %sv_0.0.reload to i64
%70 = icmp eq i32 %sv_0.0.reload, 0
%71 = icmp eq i1 %70, false
%spec.store.select9 = select i1 %71, i64 %69, i64 4294967282
store i64 %spec.store.select9, i64* %rax.0.reg2mem
br label LBL_52
LBL_13:
br i1 %15, label LBL_16, label LBL_14
LBL_14:
%72 = load i64, i64* %sv_3, align 8
%73 = load i32, i32* %63, align 4
%74 = call i64 @FUNC(i64 %35, i64 %72, i32 %73)
%75 = sext i32 %sv_0.0.reload to i64
%76 = mul i64 %75, 8
%77 = add i64 %76, %6
%78 = inttoptr i64 %77 to i64*
store i64 %74, i64* %78, align 8
%79 = icmp eq i64 %74, 0
br i1 %79, label LBL_16, label LBL_15
LBL_15:
%80 = call i64 @FUNC(i64 %74)
br label LBL_16
LBL_16:
%81 = call i64 @FUNC(i64 %62)
br i1 %16, label LBL_18, label LBL_17
LBL_17:
%82 = sext i32 %sv_0.0.reload to i64
%83 = mul i64 %82, 8
%84 = add i64 %83, %5
%85 = inttoptr i64 %84 to i64*
store i64 %35, i64* %85, align 8
br label LBL_18
LBL_18:
%86 = add i32 %sv_0.0.reload, 1
%87 = load i64, i64* %sv_3, align 8
%88 = add i64 %87, 4096
store i64 %88, i64* %sv_3, align 8
%89 = load i32, i32* %sv_2, align 4
%90 = add i32 %89, -1
store i32 %90, i32* %sv_2, align 4
store i32 %90, i32* %.reg2mem85
store i32 %86, i32* %sv_0.2.reg2mem
br label LBL_48
LBL_19:
%91 = inttoptr i64 %27 to i32*
%92 = load i32, i32* %91, align 4
%93 = and i32 %92, 48
%94 = icmp eq i32 %93, 0
%95 = icmp eq i1 %94, false
br i1 %95, label LBL_21, label LBL_20
LBL_20:
%96 = and i32 %12, %92
%97 = icmp eq i32 %96, 0
%98 = icmp eq i1 %97, false
br i1 %98, label LBL_22, label LBL_21
LBL_21:
%99 = zext i32 %sv_0.0.reload to i64
%100 = icmp eq i32 %sv_0.0.reload, 0
%101 = icmp eq i1 %100, false
%spec.store.select10 = select i1 %101, i64 %99, i64 4294967282
store i64 %spec.store.select10, i64* %rax.0.reg2mem
br label LBL_52
LBL_22:
%102 = call i64 @FUNC(i64 %27)
%103 = trunc i64 %102 to i32
%104 = icmp eq i32 %103, 0
br i1 %104, label LBL_24, label LBL_23
LBL_23:
store i64 %17, i64* %19, align 8
%105 = zext i32 %sv_0.0.reload to i64
store i64 %105, i64* %21, align 8
%106 = call i64 @FUNC(i64 %13, i64 %27, i64 %6, i64 %5, i64* nonnull %sv_3, i32* nonnull %sv_2)
%107 = trunc i64 %106 to i32
%.pre47 = load i32, i32* %sv_2, align 4
store i32 %.pre47, i32* %.reg2mem85
store i32 %107, i32* %sv_0.2.reg2mem
br label LBL_48
LBL_24:
store i32 %spec.select, i32* %sv_1.1.ph.reg2mem
br i1 %22, label LBL_29, label LBL_25
LBL_25:
%108 = load i32, i32* %91, align 4
%109 = and i32 %108, 64
%110 = icmp eq i32 %109, 0
%111 = icmp eq i1 %110, false
store i32 %spec.select, i32* %sv_1.1.ph.reg2mem
br i1 %111, label LBL_29, label LBL_26
LBL_26:
%112 = add i64 %27, 16
%113 = inttoptr i64 %112 to i64*
%114 = load i64, i64* %113, align 8
%115 = icmp eq i64 %114, 0
br i1 %115, label LBL_28, label LBL_27
LBL_27:
%116 = inttoptr i64 %114 to i64*
%117 = load i64, i64* %116, align 8
%118 = icmp eq i64 %117, 0
%119 = icmp eq i1 %118, false
store i32 %spec.select, i32* %sv_1.1.ph.reg2mem
br i1 %119, label LBL_29, label LBL_28
LBL_28:
store i32 %23, i32* %sv_1.1.ph.reg2mem
br label LBL_29
LBL_29:
%sv_1.1.ph.reload = load i32, i32* %sv_1.1.ph.reg2mem
%120 = add i64 %27, 8
%121 = inttoptr i64 %120 to i64*
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
store i32 %sv_1.1.ph.reload, i32* %sv_1.1.reg2mem
br label LBL_30
LBL_30:
%122 = call i64 @FUNC(i64 %14, i64 1)
%123 = trunc i64 %122 to i32
%124 = icmp eq i32 %123, 0
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %124, label LBL_31, label LBL_52
LBL_31:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%125 = or i32 %sv_1.1.reload, 512
%spec.select11 = select i1 %8, i32 %sv_1.1.reload, i32 %125
%126 = call i64 @FUNC()
%127 = load i64, i64* %sv_3, align 8
%128 = call i64 @FUNC(i64 %27, i64 %127, i32 %spec.select11)
%129 = icmp eq i64 %128, 0
store i32 %spec.select11, i32* %sv_1.432.reg2mem
store i32 %spec.select11, i32* %sv_1.4.lcssa.reg2mem
store i64 %128, i64* %.lcssa.reg2mem
br i1 %129, label LBL_32, label LBL_42
LBL_32:
%sv_1.432.reload = load i32, i32* %sv_1.432.reg2mem
%130 = and i32 %sv_1.432.reload, 512
%131 = zext i32 %130 to i64
%132 = load i64, i64* %sv_3, align 8
%133 = call i64 @FUNC(i64 %13, i64 %27, i64 %132, i64 %131)
%134 = trunc i64 %133 to i32
%135 = and i64 %133, 2048
%136 = icmp eq i64 %135, 0
br i1 %136, label LBL_38, label LBL_33
LBL_33:
%137 = and i32 %134, 4096
%138 = icmp eq i32 %137, 0
br i1 %138, label LBL_35, label LBL_34
LBL_34:
%139 = icmp eq i32 %sv_0.1.reload, 0
%narrow = select i1 %139, i32 -12, i32 %sv_0.1.reload
%spec.select13 = zext i32 %narrow to i64
ret i64 %spec.select13
LBL_35:
%140 = and i32 %134, 8192
%141 = icmp eq i32 %140, 0
br i1 %141, label LBL_37, label LBL_36
LBL_36:
%142 = icmp eq i32 %sv_0.1.reload, 0
%narrow15 = select i1 %142, i32 -14, i32 %sv_0.1.reload
%spec.select14 = zext i32 %narrow15 to i64
store i64 %spec.select14, i64* %rax.0.reg2mem
br label LBL_52
LBL_37:
%143 = call i64 @FUNC()
br label LBL_38
LBL_38:
%144 = and i32 %134, 16384
%145 = icmp eq i32 %144, 0
br i1 %145, label LBL_40, label LBL_39
LBL_39:
%146 = load i32, i32* %24, align 8
%147 = add i32 %146, 1
store i32 %147, i32* %arg1, align 4
br label LBL_41
LBL_40:
%148 = load i32, i32* %26, align 4
%149 = add i32 %148, 1
store i32 %149, i32* %26, align 4
br label LBL_41
LBL_41:
%150 = trunc i64 %133 to i16
%151 = icmp sgt i16 %150, -1
%152 = and i32 %sv_1.432.reload, -513
%spec.select12 = select i1 %151, i32 %sv_1.432.reload, i32 %152
%153 = call i64 @FUNC()
%154 = load i64, i64* %sv_3, align 8
%155 = call i64 @FUNC(i64 %27, i64 %154, i32 %spec.select12)
%156 = icmp eq i64 %155, 0
store i32 %spec.select12, i32* %sv_1.432.reg2mem
store i32 %spec.select12, i32* %sv_1.4.lcssa.reg2mem
store i64 %155, i64* %.lcssa.reg2mem
br i1 %156, label LBL_32, label LBL_42
LBL_42:
%sv_1.4.lcssa.reload = load i32, i32* %sv_1.4.lcssa.reg2mem
br i1 %15, label LBL_44, label LBL_43
LBL_43:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%157 = sext i32 %sv_0.1.reload to i64
%158 = mul i64 %157, 8
%159 = add i64 %158, %6
%160 = inttoptr i64 %159 to i64*
store i64 %.lcssa.reload, i64* %160, align 8
%161 = load i64, i64* %sv_3, align 8
%162 = call i64 @FUNC(i64 %27, i64 %.lcssa.reload, i64 %161)
%163 = call i64 @FUNC(i64 %.lcssa.reload)
br label LBL_44
LBL_44:
br i1 %16, label LBL_46, label LBL_45
LBL_45:
%164 = sext i32 %sv_0.1.reload to i64
%165 = mul i64 %164, 8
%166 = add i64 %165, %5
%167 = inttoptr i64 %166 to i64*
store i64 %27, i64* %167, align 8
br label LBL_46
LBL_46:
%168 = add i32 %sv_0.1.reload, 1
%169 = load i64, i64* %sv_3, align 8
%170 = add i64 %169, 4096
store i64 %170, i64* %sv_3, align 8
%171 = load i32, i32* %sv_2, align 4
%172 = add i32 %171, -1
store i32 %172, i32* %sv_2, align 4
%173 = icmp eq i32 %172, 0
store i32 %168, i32* %sv_0.250.reg2mem
br i1 %173, label LBL_51, label LBL_47
LBL_47:
%174 = load i64, i64* %121, align 8
%175 = icmp ugt i64 %174, %170
store i32 %168, i32* %sv_0.1.reg2mem
store i32 %sv_1.4.lcssa.reload, i32* %sv_1.1.reg2mem
store i64 %170, i64* %.pre.reg2mem
store i32 %168, i32* %sv_0.248.reg2mem
br i1 %175, label LBL_30, label LBL_48.LBL_2_crit_edge
LBL_48:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%.reload86 = load i32, i32* %.reg2mem85
%176 = icmp eq i32 %.reload86, 0
%177 = icmp eq i1 %176, false
store i32 %sv_0.2.reload, i32* %sv_0.250.reg2mem
br i1 %177, label LBL_48.LBL_48.LBL_2_crit_edge_crit_edge, label LBL_51
LBL_49:
%.pre.pre = load i64, i64* %sv_3, align 8
store i64 %.pre.pre, i64* %.pre.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.248.reg2mem
br label LBL_48.LBL_2_crit_edge
LBL_50:
%sv_0.248.reload = load i32, i32* %sv_0.248.reg2mem
%.pre.reload = load i64, i64* %.pre.reg2mem
store i64 %.pre.reload, i64* %.reg2mem
store i32 %sv_0.248.reload, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_51:
%sv_0.250.reload = load i32, i32* %sv_0.250.reg2mem
%178 = zext i32 %sv_0.250.reload to i64
store i64 %178, i64* %rax.0.reg2mem
br label LBL_52
LBL_52:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.2.reload, { 1, 0 }
uselistorder i32 %168, { 1, 2, 0 }
uselistorder i64 %.lcssa.reload, { 1, 0, 2 }
uselistorder i32 %sv_0.1.reload, { 0, 1, 2, 6, 5, 4, 3 }
uselistorder i32 %sv_1.1.reload, { 1, 0 }
uselistorder i64 %74, { 0, 2, 1 }
uselistorder i64 %62, { 1, 0, 2 }
uselistorder i64 %storemerge.in.reload, { 1, 0 }
uselistorder i64 %39, { 0, 1, 2, 5, 4, 3 }
uselistorder i64 %35, { 1, 0 }
uselistorder i64 %27, { 3, 4, 5, 1, 0, 2, 6, 7, 8, 9, 10 }
uselistorder i32 %sv_0.0.reload, { 0, 1, 11, 12, 2, 3, 4, 9, 10, 7, 8, 5, 6 }
uselistorder i32 %spec.select, { 2, 1, 0, 3 }
uselistorder i1 %15, { 1, 2, 0 }
uselistorder i64 %14, { 0, 2, 3, 1 }
uselistorder i64 %13, { 2, 1, 0, 3 }
uselistorder i1 %8, { 1, 0, 2, 3 }
uselistorder i64 %6, { 0, 2, 1 }
uselistorder i64 %5, { 0, 2, 1 }
uselistorder i64* %sv_3, { 0, 3, 4, 5, 6, 7, 1, 2, 8, 9, 10, 11, 12, 13 }
uselistorder i32* %sv_2, { 2, 3, 0, 1, 4, 5, 6 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.1.ph.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.1.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.432.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem85, { 0, 2, 1 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %.pre.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.248.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 2, 1, 8, 6, 5, 4, 3 }
uselistorder i64 ()* @BUG, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @follow_page, { 1, 0 }
uselistorder i64 ()* @cond_resched, { 1, 0 }
uselistorder i64 8, { 0, 1, 4, 2, 3 }
uselistorder i64 (i64)* @pte_unmap, { 1, 0 }
uselistorder i64 (i64)* @BUG_ON, { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 4, 12, 0 }
uselistorder i32 %arg4, { 1, 0, 2 }
uselistorder i32* %arg1, { 1, 0 }
uselistorder label LBL_52, { 7, 1, 0, 3, 4, 5, 6, 2 }
uselistorder label LBL_48.LBL_2_crit_edge, { 1, 0 }
uselistorder label LBL_32, { 1, 0 }
uselistorder label LBL_30, { 1, 0 }
uselistorder label LBL_29, { 3, 2, 1, 0 }
uselistorder label LBL_21, { 1, 2, 0 }
} | 1 |
CompRealVul | virtio_balloon_init_14458 | virtio_balloon_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 2, i64 8, i64 48)
%2 = inttoptr i64 %1 to i64*
store i64 4198746, i64* %2, align 8
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
store i64 4198753, i64* %4, align 8
%5 = add i64 %1, 16
%6 = inttoptr i64 %5 to i64*
store i64 4198760, i64* %6, align 8
%7 = call i64 @FUNC(i64 %1, i64 128, i64 4198789)
%8 = add i64 %1, 24
%9 = inttoptr i64 %8 to i64*
store i64 %7, i64* %9, align 8
%10 = call i64 @FUNC(i64 %1, i64 128, i64 4198789)
%11 = add i64 %1, 32
%12 = inttoptr i64 %11 to i64*
store i64 %10, i64* %12, align 8
%13 = call i64 @FUNC(i64 %1, i64 128, i64 4198796)
%14 = add i64 %1, 40
%15 = inttoptr i64 %14 to i64*
store i64 %13, i64* %15, align 8
%16 = call i64 @FUNC(i64 %1)
%17 = call i64 @FUNC(i64 4198858, i64 %1)
%18 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 4294967295, i64 1, i64 4198865, i64 4198872)
ret i64 %1
uselistorder i64 (i64, i64, i64)* @virtio_add_queue, { 2, 1, 0 }
uselistorder i64 8, { 1, 0 }
} | 1 |
CompRealVul | rmap_get_next_10915 | rmap_get_next | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_4, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %1, 8
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = icmp sgt i32 %4, 2
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = add i32 %4, 1
store i32 %6, i32* %3, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = add i64 %8, %1
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, 0
store i64 %11, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_4
LBL_3:
%13 = add i64 %1, 32
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
store i64 %15, i64* %arg1, align 8
store i32 0, i32* %3, align 4
%16 = load i64, i64* %arg1, align 8
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 %1, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %arg1, { 0, 1, 3, 2 }
uselistorder label LBL_4, { 2, 1, 0 }
} | 0 |
CompRealVul | bdrv_get_dirty_2792 | bdrv_get_dirty | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge2.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
store i64 0, i64* %storemerge2.reg2mem
br i1 %0, label LBL_3, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = mul i64 %arg2, 512
%3 = call i64 @FUNC(i64 %1)
%4 = icmp slt i64 %2, %3
store i64 0, i64* %storemerge2.reg2mem
br i1 %4, label LBL_2, label LBL_3
LBL_2:
%5 = add i64 %arg2, 63
%6 = icmp slt i64 %arg2, 0
%7 = select i1 %6, i64 %5, i64 %arg2
%8 = udiv i64 %7, 64
%9 = trunc i64 %8 to i32
%sext = mul i64 %8, 4294967296
%10 = ashr exact i64 %sext, 32
%11 = udiv i64 %10, 64
%12 = mul i64 %11, 8
%13 = add i64 %12, %1
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = urem i32 %9, 32
%17 = shl i32 1, %16
%18 = trunc i64 %15 to i32
%19 = and i32 %17, %18
%20 = zext i32 %19 to i64
store i64 %20, i64* %storemerge2.reg2mem
br label LBL_3
LBL_3:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
ret i64 %storemerge2.reload
uselistorder i64* %storemerge2.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 %arg2, { 1, 2, 3, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 0 |
CompRealVul | new_msym_4838 | new_msym | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.lcssa8.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i32
%.pre-phi12.reg2mem = alloca i64
%storemerge2.lcssa.reg2mem = alloca i64
%storemerge24.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_11
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = icmp ult i64* %arg1, inttoptr (i64 257 to i64*)
%spec.select = select i1 %4, i64 %2, i64 256
%5 = icmp eq i64 %spec.select, 0
br i1 %5, label LBL_1.LBL_9_crit_edge, label LBL_3
LBL_2:
%.pre = trunc i64 %3 to i32
%.pre11 = add i64 %2, 8
store i64 %.pre11, i64* %.pre-phi12.reg2mem
store i32 %.pre, i32* %.pre-phi.reg2mem
store i64 0, i64* %storemerge2.lcssa8.reg2mem
br label LBL_9
LBL_3:
%6 = add i64 %2, 8
%7 = trunc i64 %3 to i32
store i64 0, i64* %storemerge24.reg2mem
br label LBL_4
LBL_4:
%storemerge24.reload = load i64, i64* %storemerge24.reg2mem
%8 = mul i64 %storemerge24.reload, 4
%9 = add i64 %6, %8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, %7
%13 = icmp eq i1 %12, false
store i64 %storemerge24.reload, i64* %rax.0.reg2mem
br i1 %13, label LBL_5, label LBL_11
LBL_5:
%14 = icmp eq i32 %11, 0
store i64 %storemerge24.reload, i64* %storemerge2.lcssa.reg2mem
br i1 %14, label LBL_7, label LBL_6
LBL_6:
%15 = add nuw i64 %storemerge24.reload, 1
%16 = icmp ult i64 %15, %spec.select
store i64 %15, i64* %storemerge24.reg2mem
store i64 %15, i64* %storemerge2.lcssa.reg2mem
br i1 %16, label LBL_4, label LBL_7
LBL_7:
%storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem
%17 = icmp eq i64 %storemerge2.lcssa.reload, 256
%18 = icmp eq i1 %17, false
store i64 %6, i64* %.pre-phi12.reg2mem
store i32 %7, i32* %.pre-phi.reg2mem
store i64 %storemerge2.lcssa.reload, i64* %storemerge2.lcssa8.reg2mem
br i1 %18, label LBL_9, label LBL_8
LBL_8:
%19 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))
unreachable
LBL_9:
%storemerge2.lcssa8.reload = load i64, i64* %storemerge2.lcssa8.reg2mem
%.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem
%.pre-phi12.reload = load i64, i64* %.pre-phi12.reg2mem
%20 = mul i64 %storemerge2.lcssa8.reload, 4
%21 = add i64 %.pre-phi12.reload, %20
%22 = inttoptr i64 %21 to i32*
store i32 %.pre-phi.reload, i32* %22, align 4
%23 = icmp eq i64 %storemerge2.lcssa8.reload, %2
%24 = icmp eq i1 %23, false
store i64 %storemerge2.lcssa8.reload, i64* %rax.0.reg2mem
br i1 %24, label LBL_11, label LBL_10
LBL_10:
%25 = add i64 %2, 1
store i64 %25, i64* %arg1, align 8
store i64 %storemerge2.lcssa8.reload, 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 %storemerge2.lcssa8.reload, { 1, 0, 2, 3 }
uselistorder i64 %storemerge24.reload, { 2, 1, 0, 3 }
uselistorder i64 %spec.select, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 3, 2, 1, 4, 0, 5 }
uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }
uselistorder i64 8, { 1, 0 }
uselistorder i64* %arg1, { 0, 1, 3, 2 }
uselistorder label LBL_11, { 2, 1, 0, 3 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | Jsi_ObjArraySet_5920 | Jsi_ObjArraySet | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi7.reg2mem = alloca i64*
%rdx = alloca i64, align 8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %arg4, 1
%3 = and i64 %2, 4294967295
%4 = call i64 @FUNC(i64 %1, i64 %0, i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp slt i32 %5, 0
%8 = icmp eq i1 %7, false
%9 = icmp eq i1 %6, false
%10 = icmp eq i1 %8, %9
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %10, label LBL_1, label LBL_9
LBL_1:
%11 = ptrtoint i64* %arg3 to i64
%sext = mul i64 %arg4, 4294967296
%12 = ashr exact i64 %sext, 29
%13 = add i64 %12, %0
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, %11
%17 = icmp eq i1 %16, false
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_2, label LBL_9
LBL_2:
%18 = icmp eq i64 %15, 0
store i64* %14, i64** %.pre-phi7.reg2mem
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %1, i64 %15)
%.pre = add i64 %15, %12
%.pre6 = inttoptr i64 %.pre to i64*
store i64* %.pre6, i64** %.pre-phi7.reg2mem
br label LBL_4
LBL_4:
%.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem
%20 = add i64 %0, 8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %0, 12
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = sub i32 %22, %25
%27 = xor i32 %25, %22
%28 = xor i32 %26, %22
%29 = and i32 %28, %27
%30 = icmp slt i32 %29, 0
%31 = icmp eq i32 %26, 0
%32 = icmp slt i32 %26, 0
%33 = icmp ne i1 %32, %30
%34 = or i1 %31, %33
%35 = zext i1 %34 to i64
%36 = call i64 @FUNC(i64 %35)
store i64 %11, i64* %.pre-phi7.reload, align 8
%cond = icmp eq i64* %arg3, null
br i1 %cond, label LBL_7, label LBL_5
LBL_5:
%37 = call i64 @FUNC(i64 %1, i64 %11)
%38 = bitcast i64* %rdx to i32*
%39 = load i32, i32* %38, align 8
%40 = icmp eq i32 %39, 1
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_7, label LBL_6
LBL_6:
%42 = call i64 @FUNC(i64 %1, i64 %0, i64 %11, i64 1)
br label LBL_7
LBL_7:
%43 = ashr exact i64 %sext, 32
%44 = call i64 @FUNC(i64 %1, i64 %0)
%45 = trunc i64 %44 to i32
%46 = trunc i64 %43 to i32
%47 = icmp slt i32 %46, %45
store i64 0, i64* %rax.0.reg2mem
br i1 %47, label LBL_9, label LBL_8
LBL_8:
%48 = add nsw i64 %43, 1
%49 = and i64 %48, 4294967295
%50 = call i64 @FUNC(i64 %1, i64 %0, i64 %49)
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %43, { 1, 0 }
uselistorder i32 %26, { 1, 2, 0 }
uselistorder i64 %15, { 0, 2, 3, 1 }
uselistorder i64 %11, { 1, 2, 3, 0 }
uselistorder i32 %5, { 1, 0 }
uselistorder i64 %1, { 3, 4, 2, 1, 0, 5 }
uselistorder i64 %0, { 2, 3, 1, 5, 4, 0, 6 }
uselistorder i64** %.pre-phi7.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder i64 4294967295, { 1, 0, 2, 3 }
uselistorder i64 1, { 0, 2, 1 }
uselistorder label LBL_9, { 1, 0, 2, 3 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 0 |
CompRealVul | circle_box_9208 | circle_box | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 24)
%1 = call i64 @FUNC(i64 32)
%2 = add i64 %0, 16
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i128 @FUNC(i64 %4)
%6 = call i128 @FUNC(i64 4609047870845172685)
%7 = call i128 @FUNC(i128 %5, i128 %6)
%8 = call i64 @__asm_movsd.1(i128 %7)
%9 = inttoptr i64 %0 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i128 @FUNC(i64 %10)
%12 = call i128 @FUNC(i128 %11, i64 %8)
%13 = call i64 @__asm_movsd.1(i128 %12)
%14 = add i64 %1, 16
%15 = inttoptr i64 %14 to i64*
store i64 %13, i64* %15, align 8
%16 = load i64, i64* %9, align 8
%17 = call i128 @FUNC(i64 %16)
%18 = call i128 @FUNC(i128 %17, i64 %8)
%19 = call i64 @__asm_movsd.1(i128 %18)
%20 = inttoptr i64 %1 to i64*
store i64 %19, i64* %20, align 8
%21 = add i64 %0, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i128 @FUNC(i64 %23)
%25 = call i128 @FUNC(i128 %24, i64 %8)
%26 = call i64 @__asm_movsd.1(i128 %25)
%27 = add i64 %1, 24
%28 = inttoptr i64 %27 to i64*
store i64 %26, i64* %28, align 8
%29 = load i64, i64* %22, align 8
%30 = call i128 @FUNC(i64 %29)
%31 = call i128 @FUNC(i128 %30, i64 %8)
%32 = call i64 @__asm_movsd.1(i128 %31)
%33 = add i64 %1, 8
%34 = inttoptr i64 %33 to i64*
store i64 %32, i64* %34, align 8
ret i64 %1
uselistorder i64 %8, { 3, 2, 1, 0 }
uselistorder i64 %1, { 1, 0, 2, 3, 4 }
uselistorder i64 (i64)* @palloc, { 1, 0 }
} | 0 |
CompRealVul | mptsas_config_ioc_0_770 | mptsas_config_ioc_0 | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = zext i32 %5 to i64
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 0, i64 1, i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %6)
ret i64 %8
uselistorder i64 1, { 1, 0 }
} | 0 |
CompRealVul | zynq_slcr_compute_pll_19171 | zynq_slcr_compute_pll | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = and i64 %arg2, 256
%1 = icmp eq i64 %0, 0
store i64 %arg1, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_3
LBL_1:
%2 = and i64 %arg2, 1536
%3 = icmp eq i64 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_2, label LBL_3
LBL_2:
%4 = urem i64 %arg2, 256
%5 = udiv i64 %arg1, %4
store i64 %5, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 1 |
CompRealVul | fuse_lock_owner_id_10368 | fuse_lock_owner_id | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.02.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i32
%sv_2.04.reg2mem = alloca i32
%storemerge5.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
store i32 0, i32* %storemerge5.reg2mem
store i32 0, i32* %sv_2.04.reg2mem
store i32 0, i32* %sv_1.03.reg2mem
store i64 %1, i64* %sv_0.02.reg2mem
br label LBL_1
LBL_1:
%sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem
%sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem
%sv_2.04.reload = load i32, i32* %sv_2.04.reg2mem
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%2 = mul i32 %sv_1.03.reload, 16
%3 = udiv i32 %sv_1.03.reload, 32
%4 = xor i32 %2, %3
%5 = add i32 %4, %sv_1.03.reload
%6 = mul i32 %sv_2.04.reload, 4
%7 = and i32 %6, 12
%8 = zext i32 %7 to i64
%9 = add i64 %8, %0
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i32 %11, %sv_2.04.reload
%13 = xor i32 %12, %5
%14 = trunc i64 %sv_0.02.reload to i32
%15 = add i32 %13, %14
%16 = sext i32 %15 to i64
%17 = add i32 %sv_2.04.reload, -1640531527
%18 = mul i32 %15, 16
%19 = udiv i32 %15, 32
%20 = xor i32 %18, %19
%21 = add i32 %20, %15
%22 = udiv i32 %17, 512
%23 = and i32 %22, 12
%24 = zext i32 %23 to i64
%25 = add i64 %24, %0
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i32 %27, %17
%29 = xor i32 %21, %28
%30 = add i32 %29, %sv_1.03.reload
%31 = add nuw nsw i32 %storemerge5.reload, 1
%exitcond = icmp eq i32 %31, 32
store i32 %31, i32* %storemerge5.reg2mem
store i32 %17, i32* %sv_2.04.reg2mem
store i32 %30, i32* %sv_1.03.reg2mem
store i64 %16, i64* %sv_0.02.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%32 = and i64 %16, 4294967295
%33 = zext i32 %30 to i64
%34 = mul i64 %33, 4294967296
%35 = or i64 %34, %32
ret i64 %35
uselistorder i32 %30, { 1, 0 }
uselistorder i32 %17, { 0, 2, 1 }
uselistorder i64 %16, { 1, 0 }
uselistorder i32 %15, { 2, 1, 0, 3 }
uselistorder i32 %sv_1.03.reload, { 1, 0, 2, 3 }
uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.04.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }
uselistorder i32 32, { 2, 0, 1 }
} | 0 |
CompRealVul | rtp_parse_mp4_au_16462 | rtp_parse_mp4_au | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%4 = trunc i64 %1 to i32
%5 = mul i32 %4, 256
%6 = and i32 %5, 65280
%7 = add i64 %2, 1
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %6, %10
%12 = add nuw nsw i32 %11, 7
%13 = udiv i32 %12, 8
%14 = add i64 %3, 12
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
%16 = add i64 %2, 2
%17 = and i32 %12, 131064
%18 = zext i32 %17 to i64
%19 = call i64 @FUNC(i64* nonnull %sv_0, i64 %16, i64 %18)
%20 = bitcast i64* %rdi to i32*
%21 = load i32, i32* %20, align 8
%22 = add i64 %3, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i32 %24, %21
%26 = icmp slt i32 %25, 1
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %26, label LBL_9, label LBL_1
LBL_1:
%27 = urem i32 %11, %25
%28 = icmp eq i32 %27, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %28, label LBL_2, label LBL_9
LBL_2:
%29 = udiv i32 %11, %25
%30 = add i64 %3, 8
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
%32 = add i64 %3, 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_4, label LBL_3
LBL_3:
%36 = add i64 %3, 24
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp ult i32 %38, %29
store i64 %34, i64* %.reg2mem
br i1 %39, label LBL_4, label LBL_6
LBL_4:
%40 = call i64 @FUNC(i64 %34)
%41 = load i32, i32* %31, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 %42, 8
%44 = call i64 @FUNC(i64 %43)
store i64 %44, i64* %33, align 8
%45 = icmp eq i64 %44, 0
%46 = icmp eq i1 %45, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %46, label LBL_5, label LBL_9
LBL_5:
%47 = load i32, i32* %31, align 4
%48 = add i64 %3, 24
%49 = inttoptr i64 %48 to i32*
store i32 %47, i32* %49, align 4
%.pre = load i64, i64* %33, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_6
LBL_6:
%.reload = load i64, i64* %.reg2mem
%50 = inttoptr i64 %.reload to i32*
store i32 0, i32* %50, align 4
%51 = load i64, i64* %33, align 8
%52 = add i64 %51, 4
%53 = inttoptr i64 %52 to i32*
store i32 0, i32* %53, align 4
%54 = load i32, i32* %31, align 4
%55 = icmp eq i32 %54, 0
store i32 0, i32* %storemerge1.reg2mem
br i1 %55, label LBL_8, label LBL_7
LBL_7:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%56 = load i32, i32* %20, align 8
%57 = zext i32 %56 to i64
%58 = call i64 @FUNC(i64* nonnull %sv_0, i64 %57)
%59 = trunc i64 %58 to i32
%60 = load i64, i64* %33, align 8
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = add i32 %62, %59
store i32 %63, i32* %61, align 4
%64 = load i32, i32* %23, align 4
%65 = zext i32 %64 to i64
%66 = call i64 @FUNC(i64* nonnull %sv_0, i64 %65)
%67 = trunc i64 %66 to i32
%68 = load i64, i64* %33, align 8
%69 = add i64 %68, 4
%70 = inttoptr i64 %69 to i32*
store i32 %67, i32* %70, align 4
%71 = add i32 %storemerge1.reload, 1
%72 = load i32, i32* %31, align 4
%73 = zext i32 %72 to i64
%74 = sext i32 %71 to i64
%75 = icmp slt i64 %74, %73
store i32 %71, i32* %storemerge1.reg2mem
br i1 %75, label LBL_7, label LBL_8
LBL_8:
store i32 1, i32* %31, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %34, { 1, 0, 2 }
uselistorder i64* %33, { 1, 2, 3, 0, 4, 5 }
uselistorder i32* %31, { 2, 1, 0, 3, 4, 5 }
uselistorder i32 %12, { 1, 0 }
uselistorder i64 %3, { 0, 2, 1, 3, 4, 5 }
uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64 (i64*, i64)* @get_bits_long, { 1, 0 }
uselistorder i32 7, { 1, 0 }
uselistorder label LBL_9, { 3, 0, 2, 1 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
CompRealVul | callbackValDup_13173 | callbackValDup | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64* @malloc(i32 0)
%1 = ptrtoint i64* %0 to i64
ret i64 %1
} | 1 |
CompRealVul | ethereum_extractThorchainData_11240 | ethereum_extractThorchainData | define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i16* %arg1 to i64
%3 = trunc i64 %1 to i16
%4 = add i16 %3, -164
%5 = add i64 %2, 2
%6 = inttoptr i64 %5 to i8*
%7 = load i8, i8* %6, align 1
%8 = icmp eq i8 %7, 0
%9 = icmp slt i16 %4, 1
%or.cond = or i1 %9, %8
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_1
LBL_1:
%10 = sext i16 %4 to i32
%11 = add i64 %2, 167
%12 = inttoptr i64 %11 to i64*
%13 = call i64* @memcpy(i64* %arg2, i64* %12, i32 %10)
%14 = icmp sgt i16 %4, 255
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = urem i32 %10, 65536
%16 = zext i32 %15 to i64
store i64 %16, 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 i16 %4, { 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 1 |
CompRealVul | getsid_12976 | getsid | define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp eq i32 %0, -1
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_7
LBL_1:
%sext = mul i64 %arg1, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = trunc i64 %3 to i32
%5 = icmp sgt i32 %4, 9
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = ashr exact i64 %sext, 29
%7 = add i64 %6, ptrtoint ([10 x i8*]* @gv_0 to i64)
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
store i64 %9, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%sext4 = mul i64 %arg3, 4294967296
%10 = add nsw i64 %3, 4294967286
%11 = and i64 %10, 4294967295
%12 = ashr exact i64 %sext4, 32
%13 = icmp slt i64 %12, %11
br i1 %13, label LBL_4, label LBL_6
LBL_4:
%14 = add i64 %arg3, 10
%15 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @globalFUNCvarFUNC402050, i64 0, i64 0))
%16 = and i64 %14, 4294967295
%17 = and i64 %3, 4294967295
%18 = call i64 @FUNC(i64 %15, i64 %17, i64 %16)
%19 = icmp eq i8* %arg4, null
store i64 0, i64* %rax.0.reg2mem
br i1 %19, label LBL_7, label LBL_5
LBL_5:
store i8 1, i8* %arg4, align 1
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%20 = ptrtoint i64* %arg2 to i64
%21 = ashr exact i64 %sext, 29
%22 = add nsw i64 %21, -80
%23 = add i64 %22, %20
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
store i64 %25, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 0, 2, 1 }
uselistorder i64 %sext, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 4, 3 }
uselistorder i8* %arg4, { 1, 0 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_7, { 3, 1, 0, 4, 2 }
} | 1 |
CompRealVul | close_peer_eventfds_2672 | close_peer_eventfds | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge79.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = icmp sgt i32 %2, -1
%5 = and i64 %1, 4294967295
%6 = icmp slt i64 %3, %5
%or.cond = icmp eq i1 %4, %6
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%7 = ptrtoint i64* %arg1 to i64
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = ashr exact i64 %sext, 28
%12 = add i64 %10, %11
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = call i64 @FUNC(i64 %7, i64 1)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_7, label LBL_3
LBL_3:
%18 = call i64 @FUNC()
%19 = icmp sgt i32 %14, 0
br i1 %19, label LBL_4, label LBL_6
LBL_4:
%20 = and i64 %3, 4294967295
store i32 0, i32* %storemerge79.reg2mem
br label LBL_5
LBL_5:
%storemerge79.reload = load i32, i32* %storemerge79.reg2mem
%21 = call i64 @FUNC(i64 %7, i64 %20, i32 %storemerge79.reload)
%22 = add nuw nsw i32 %storemerge79.reload, 1
%exitcond11 = icmp eq i32 %22, %14
store i32 %22, i32* %storemerge79.reg2mem
br i1 %exitcond11, label LBL_6, label LBL_5
LBL_6:
%23 = call i64 @FUNC()
br label LBL_7
LBL_7:
%24 = icmp sgt i32 %14, 0
%25 = load i64, i64* %9, align 8
%26 = or i64 %11, 8
%27 = add i64 %25, %26
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
store i64 %29, i64* %.lcssa.reg2mem
br i1 %24, label LBL_8, label LBL_10
LBL_8:
%wide.trip.count = zext i32 %14 to i64
store i64 0, i64* %indvars.iv.reg2mem
store i64 %29, i64* %.reg2mem
br label LBL_9
LBL_9:
%.reload = load i64, i64* %.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%30 = add i64 %.reload, %indvars.iv.reload
%31 = call i64 @FUNC(i64 %30)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%32 = load i64, i64* %9, align 8
%33 = add i64 %32, %26
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %35, i64* %.reg2mem
store i64 %35, i64* %.lcssa.reg2mem
br i1 %exitcond, label LBL_10, label LBL_9
LBL_10:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%36 = call i64 @FUNC(i64 %.lcssa.reload)
%37 = load i64, i64* %9, align 8
%38 = add i64 %37, %11
%39 = inttoptr i64 %38 to i32*
store i32 0, i32* %39, align 4
ret i64 %38
uselistorder i64 %38, { 1, 0 }
uselistorder i64 %29, { 1, 0 }
uselistorder i32 %storemerge79.reload, { 1, 0 }
uselistorder i32 %14, { 1, 2, 0, 3 }
uselistorder i64 %11, { 0, 2, 1 }
uselistorder i64* %9, { 1, 2, 0, 3 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i32* %storemerge79.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32 0, { 3, 1, 0, 2, 4 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | pch_write_line_5207 | pch_write_line | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sext = mul i64 %arg1, 4294967296
%0 = ashr exact i64 %sext, 29
%1 = add i64 %0, ptrtoint (i64* @gv_0 to i64)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
%.pre7 = ashr exact i64 %sext, 24
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %.pre7, add (i64 ptrtoint (i8** @gv_1 to i64), i64 -1)
%6 = add i64 %5, %3
%7 = inttoptr i64 %6 to i8*
%8 = load i8, i8* %7, align 1
%9 = icmp eq i8 %8, 10
%10 = icmp eq i1 %9, false
store i64 1, i64* %storemerge.reg2mem
br i1 %10, label LBL_2, label LBL_3
LBL_2:
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%11 = add i64 %.pre7, ptrtoint (i8** @gv_1 to i64)
%12 = inttoptr i64 %11 to i64*
%13 = trunc i64 %3 to i32
%14 = inttoptr i64 %arg2 to %_IO_FILE*
%15 = call i32 @fwrite(i64* %12, i32 1, i32 %13, %_IO_FILE* %14)
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = call i64 @FUNC()
unreachable
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 ptrtoint (i8** @gv_1 to i64), { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | __inject_sigp_stop_18118 | __inject_sigp_stop | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 24, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_5
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
store i32 1, i32* %4, align 4
%5 = call i64 @FUNC(i64 %3)
%6 = add i64 %3, 64
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = urem i64 %9, 2
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_2
LBL_2:
%13 = add i64 %3, 40
%14 = add i64 %0, 8
%15 = call i64 @FUNC(i64 %14, i64 %13)
%16 = add i64 %3, 56
%17 = call i64 @FUNC(i64 %16, i64 1)
%18 = load i64, i64* %7, align 8
%19 = call i64 @FUNC(i64 2, i64 %18)
%20 = add i64 %3, 120
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = trunc i64 %arg2 to i32
%24 = or i32 %22, %23
store i32 %24, i32* %21, align 4
%25 = add i64 %3, 72
%26 = call i64 @FUNC(i64 %25)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label LBL_4, label LBL_3
LBL_3:
%29 = call i64 @FUNC(i64 %25)
br label LBL_4
LBL_4:
%30 = call i64 @FUNC(i64 %3)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 4, 0, 1, 3, 2, 6, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_4, { 2, 0, 1 }
} | 1 |
CompRealVul | xscom_read_360 | xscom_read | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%4 = call i64 @FUNC(i64 %3, i64 %arg2)
%5 = and i64 %4, 4294967295
%6 = call i64 @FUNC(i64 %3, i64 %5)
%7 = icmp eq i64 %6, -1
%8 = icmp eq i1 %7, false
store i64 %6, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_3, label LBL_1
LBL_1:
%9 = mul i64 %4, 8
%10 = and i64 %9, 34359738360
%11 = bitcast i32* %sv_1 to i64*
%12 = call i64 @FUNC(i64 %3, i64 %10, i64 0, i64* nonnull %11)
%13 = and i64 %12, 4294967295
%14 = load i32, i32* %sv_1, align 4
%15 = icmp eq i32 %14, 0
store i64 %13, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %5, i64 %2, i64 %1)
%17 = load i64, i64* @gv_1, align 8
%18 = call i64 @FUNC(i64 %17, i64 6)
store i64 0, i64* %storemerge.reg2mem
br label LBL_4
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%19 = load i64, i64* @gv_1, align 8
%20 = call i64 @FUNC(i64 %19, i64 4)
store i64 %sv_0.0.reload, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @xscom_complete, { 1, 0 }
uselistorder i64 -1, { 1, 0 }
} | 0 |
CompRealVul | virtio_net_set_status_9783 | virtio_net_set_status | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge5.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = urem i64 %arg2, 256
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = trunc i64 %1 to i32
%6 = and i64 %1, 4294967295
%7 = icmp eq i32 %5, 0
br i1 %7, label LBL_14, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 72057594037927936
%8 = add i64 %2, 24
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i32*
%12 = add i64 %2, 4
%13 = inttoptr i64 %12 to i32*
%14 = ashr exact i64 %sext, 56
%15 = add i64 %2, 12
%16 = inttoptr i64 %15 to i32*
%17 = add i64 %2, 16
%18 = inttoptr i64 %17 to i32*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge7.reg2mem
br label LBL_2
LBL_2:
%storemerge7.reload = load i32, i32* %storemerge7.reg2mem
%.reload = load i64, i64* %.reg2mem
%19 = load i64, i64* %9, align 8
%20 = load i32, i32* %11, align 4
%21 = icmp eq i32 %20, 0
%22 = icmp eq i32 %storemerge7.reload, 0
%23 = icmp eq i1 %22, false
%or.cond = icmp eq i1 %23, %21
store i64 0, i64* %storemerge5.reg2mem
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%24 = load i32, i32* %13, align 4
%25 = zext i32 %24 to i64
%26 = icmp slt i64 %.reload, %25
%spec.select = select i1 %26, i64 %14, i64 0
store i64 %spec.select, i64* %storemerge5.reg2mem
br label LBL_4
LBL_4:
%27 = mul nsw i64 %.reload, 24
%28 = add i64 %19, %27
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_13, label LBL_5
LBL_5:
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%32 = urem i64 %storemerge5.reload, 256
%33 = call i64 @FUNC(i64 %2, i64 %32)
%34 = trunc i64 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label LBL_10, label LBL_6
LBL_6:
%36 = load i32, i32* %16, align 4
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_10, label LBL_7
LBL_7:
%39 = add i64 %28, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
br i1 %42, label LBL_9, label LBL_8
LBL_8:
%43 = call i64 @FUNC(i64 0)
%44 = trunc i64 %43 to i32
%45 = load i32, i32* %18, align 4
%46 = add i32 %45, %44
%47 = load i64, i64* %40, align 8
%48 = zext i32 %46 to i64
%49 = call i64 @FUNC(i64 %47, i64 %48)
br label LBL_13
LBL_9:
%50 = add i64 %28, 16
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = call i64 @FUNC(i64 %52)
br label LBL_13
LBL_10:
%54 = add i64 %28, 8
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = icmp eq i64 %56, 0
br i1 %57, label LBL_12, label LBL_11
LBL_11:
%58 = call i64 @FUNC(i64 %56)
br label LBL_13
LBL_12:
%59 = add i64 %28, 16
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = call i64 @FUNC(i64 %61)
br label LBL_13
LBL_13:
%63 = add i32 %storemerge7.reload, 1
%64 = sext i32 %63 to i64
%65 = icmp sgt i64 %6, %64
store i64 %64, i64* %.reg2mem
store i32 %63, i32* %storemerge7.reg2mem
br i1 %65, label LBL_2, label LBL_14
LBL_14:
ret i64 %6
uselistorder i64 %.reload, { 1, 0 }
uselistorder i32 %storemerge7.reload, { 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %2, { 2, 0, 1, 3, 4, 5, 6 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 3, 4, 5, 2, 6, 0, 1 }
uselistorder label LBL_13, { 1, 2, 3, 4, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | cgroup_sk_free_6139 | cgroup_sk_free | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%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 i32* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 %7)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | ath9k_btcoex_stop_gen_timer_4146 | ath9k_btcoex_stop_gen_timer | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %4, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = zext i32 %7 to i64
%12 = call i64 @FUNC(i64 %10, i64 %11)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
CompRealVul | vnc_display_close_14796 | vnc_display_close | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi15.reg2mem = alloca i64*
%.pre-phi19.reg2mem = alloca i64*
%storemerge3.reg2mem = alloca i64
%.pre-phi7.reg2mem = alloca i64*
%.pre-phi11.reg2mem = alloca i64*
%storemerge14.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_17, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = bitcast i64* %arg1 to i8*
store i8 0, i8* %2, align 1
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_1.LBL_7_crit_edge, label LBL_3
LBL_2:
%.pre = add i64 %1, 24
%.pre6 = inttoptr i64 %.pre to i64*
%.pre8 = add i64 %1, 32
%.pre10 = inttoptr i64 %.pre8 to i64*
store i64* %.pre10, i64** %.pre-phi11.reg2mem
store i64* %.pre6, i64** %.pre-phi7.reg2mem
br label LBL_7
LBL_3:
%7 = add i64 %1, 32
%8 = inttoptr i64 %7 to i64*
%9 = add i64 %1, 24
%10 = inttoptr i64 %9 to i64*
store i64 0, i64* %storemerge14.reg2mem
br label LBL_4
LBL_4:
%storemerge14.reload = load i64, i64* %storemerge14.reg2mem
%11 = load i64, i64* %8, align 8
%12 = mul i64 %storemerge14.reload, 4
%13 = add i64 %11, %12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = zext i32 %15 to i64
%18 = call i64 @FUNC(i64 %17)
br label LBL_6
LBL_6:
%19 = load i64, i64* %10, align 8
%20 = add i64 %19, %12
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = sext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23)
%25 = add nuw i64 %storemerge14.reload, 1
%26 = load i64, i64* %4, align 8
%27 = icmp ult i64 %25, %26
store i64 %25, i64* %storemerge14.reg2mem
store i64* %8, i64** %.pre-phi11.reg2mem
store i64* %10, i64** %.pre-phi7.reg2mem
br i1 %27, label LBL_4, label LBL_7
LBL_7:
%.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem
%.pre-phi11.reload = load i64*, i64** %.pre-phi11.reg2mem
%28 = load i64, i64* %.pre-phi7.reload, align 8
%29 = call i64 @FUNC(i64 %28)
%30 = load i64, i64* %.pre-phi11.reload, align 8
%31 = call i64 @FUNC(i64 %30)
store i64 0, i64* %.pre-phi7.reload, align 8
store i64 0, i64* %.pre-phi11.reload, align 8
store i64 0, i64* %4, align 8
%32 = add i64 %1, 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_7.LBL_13_crit_edge, label LBL_9
LBL_8:
%.pre12 = add i64 %1, 40
%.pre14 = inttoptr i64 %.pre12 to i64*
%.pre16 = add i64 %1, 48
%.pre18 = inttoptr i64 %.pre16 to i64*
store i64* %.pre18, i64** %.pre-phi19.reg2mem
store i64* %.pre14, i64** %.pre-phi15.reg2mem
br label LBL_13
LBL_9:
%36 = add i64 %1, 48
%37 = inttoptr i64 %36 to i64*
%38 = add i64 %1, 40
%39 = inttoptr i64 %38 to i64*
store i64 0, i64* %storemerge3.reg2mem
br label LBL_10
LBL_10:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%40 = load i64, i64* %37, align 8
%41 = mul i64 %storemerge3.reload, 4
%42 = add i64 %40, %41
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label LBL_12, label LBL_11
LBL_11:
%46 = zext i32 %44 to i64
%47 = call i64 @FUNC(i64 %46)
br label LBL_12
LBL_12:
%48 = load i64, i64* %39, align 8
%49 = add i64 %48, %41
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = sext i32 %51 to i64
%53 = call i64 @FUNC(i64 %52)
%54 = add nuw i64 %storemerge3.reload, 1
%55 = load i64, i64* %33, align 8
%56 = icmp ult i64 %54, %55
store i64 %54, i64* %storemerge3.reg2mem
store i64* %37, i64** %.pre-phi19.reg2mem
store i64* %39, i64** %.pre-phi15.reg2mem
br i1 %56, label LBL_10, label LBL_13
LBL_13:
%.pre-phi15.reload = load i64*, i64** %.pre-phi15.reg2mem
%.pre-phi19.reload = load i64*, i64** %.pre-phi19.reg2mem
%57 = load i64, i64* %.pre-phi15.reload, align 8
%58 = call i64 @FUNC(i64 %57)
%59 = load i64, i64* %.pre-phi19.reload, align 8
%60 = call i64 @FUNC(i64 %59)
store i64 0, i64* %.pre-phi15.reload, align 8
store i64 0, i64* %.pre-phi19.reload, align 8
store i64 0, i64* %33, align 8
%61 = add i64 %1, 56
%62 = inttoptr i64 %61 to i32*
store i32 -1, i32* %62, align 4
%63 = add i64 %1, 60
%64 = inttoptr i64 %63 to i32*
store i32 -1, i32* %64, align 4
%65 = add i64 %1, 64
%66 = inttoptr i64 %65 to i64*
%67 = load i64, i64* %66, align 8
%68 = icmp eq i64 %67, 0
br i1 %68, label LBL_15, label LBL_14
LBL_14:
%69 = call i64 @FUNC(i64 %67)
store i64 0, i64* %66, align 8
br label LBL_15
LBL_15:
%70 = add i64 %1, 72
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = call i64 @FUNC(i64 %72)
store i64 0, i64* %71, align 8
%74 = add i64 %1, 88
%75 = inttoptr i64 %74 to i64*
%76 = load i64, i64* %75, align 8
%77 = icmp eq i64 %76, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %77, label LBL_17, label LBL_16
LBL_16:
%78 = add i64 %1, 80
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
%81 = call i64 @FUNC(i64 %80)
store i64 %81, i64* %rax.0.reg2mem
br label LBL_17
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %41, { 1, 0 }
uselistorder i64* %33, { 0, 2, 1 }
uselistorder i64 %12, { 1, 0 }
uselistorder i64* %4, { 0, 2, 1 }
uselistorder i64 %1, { 4, 5, 6, 7, 8, 9, 10, 12, 0, 1, 11, 13, 15, 2, 3, 14 }
uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64 48, { 1, 0 }
uselistorder i64 40, { 1, 0 }
uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @object_unref, { 1, 0 }
uselistorder i64 (i64)* @g_source_remove, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 24, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_17, { 1, 2, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | pci_vpd_truncate_4782 | pci_vpd_truncate | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
%2 = icmp ult i64 %0, %arg2
%or.cond = or i1 %1, %2
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_1
LBL_1:
store i64 %arg2, i64* %arg1, align 8
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = inttoptr i64 %5 to i64*
store i64 %arg2, i64* %7, 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 %0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 %arg2, { 1, 2, 0 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 0 |
CompRealVul | pci_device_reset_601 | pci_device_reset | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 0, i32* %1, align 4
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = and i32 %4, -8
store i32 %5, i32* %3, align 4
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %0, 12
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, align 4
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%10 = mul i64 %indvars.iv.reload, 8
%11 = add i64 %10, %0
%12 = add i64 %11, 16
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = add i64 %11, 20
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload)
%sext = mul i64 %19, 4294967296
%20 = ashr exact i64 %sext, 30
%21 = add i64 %20, %2
%22 = zext i32 %18 to i64
%23 = call i64 @FUNC(i64 %21, i64 %22)
br label LBL_3
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 6
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
%24 = call i64 @FUNC(i64 %0)
ret i64 %24
uselistorder i64 %0, { 1, 2, 0, 3, 4, 5 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | spapr_query_hotpluggable_cpus_861 | spapr_query_hotpluggable_cpus | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = load i32, i32* @gv_0, align 4
%1 = load i32, i32* inttoptr (i64 4210728 to i32*), align 8
%2 = ashr i32 %0, 31
%3 = zext i32 %0 to i64
%4 = zext i32 %2 to i64
%5 = mul i64 %4, 4294967296
%6 = or i64 %5, %3
%7 = zext i32 %1 to i64
%8 = sdiv i64 %6, %7
%9 = trunc i64 %8 to i32
%10 = icmp sgt i32 %9, 0
store i64 0, i64* %sv_0.0.lcssa.reg2mem
br i1 %10, label LBL_1, label LBL_5
LBL_1:
%wide.trip.count = and i64 %8, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
store i64 0, i64* %sv_0.01.reg2mem
br label LBL_2
LBL_2:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%11 = call i64* @calloc(i32 1, i32 16)
%12 = call i64* @calloc(i32 1, i32 32)
%13 = ptrtoint i64* %12 to i64
%14 = call i64* @calloc(i32 1, i32 8)
%15 = ptrtoint i64* %14 to i64
%16 = call i64 @FUNC(i64 1)
store i64 %16, i64* %12, align 8
%17 = load i32, i32* @gv_1, align 4
%18 = add i64 %13, 8
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = bitcast i64* %14 to i8*
store i8 1, i8* %20, align 1
%21 = load i32, i32* @gv_1, align 4
%22 = trunc i64 %indvars.iv.reload to i32
%23 = mul i32 %21, %22
%24 = add i64 %15, 4
%25 = inttoptr i64 %24 to i32*
store i32 %23, i32* %25, align 4
%26 = add i64 %13, 24
%27 = inttoptr i64 %26 to i64*
store i64 %15, i64* %27, align 8
%28 = mul i64 %indvars.iv.reload, 8
%29 = or i64 %28, 1
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label LBL_4, label LBL_3
LBL_3:
%33 = add i64 %13, 12
%34 = inttoptr i64 %33 to i8*
store i8 1, i8* %34, align 1
%35 = load i64, i64* %30, align 8
%36 = call i64 @FUNC(i64 %35)
%37 = add i64 %13, 16
%38 = inttoptr i64 %37 to i64*
store i64 %36, i64* %38, align 8
br label LBL_4
LBL_4:
%39 = ptrtoint i64* %11 to i64
store i64 %13, i64* %11, align 8
%40 = add i64 %39, 8
%41 = inttoptr i64 %40 to i64*
store i64 %sv_0.01.reload, i64* %41, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %39, i64* %sv_0.01.reg2mem
store i64 %39, i64* %sv_0.0.lcssa.reg2mem
br i1 %exitcond, label LBL_5, label LBL_2
LBL_5:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
ret i64 %sv_0.0.lcssa.reload
uselistorder i64 %13, { 2, 0, 1, 3, 4 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64 8, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | url_find_protocol_16178 | url_find_protocol | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%0 = inttoptr i64 %arg1 to i8*
%1 = call i32 @strspn(i8* %0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0))
%2 = sext i32 %1 to i64
%3 = add i64 %2, %arg1
%4 = inttoptr i64 %3 to i8*
%5 = load i8, i8* %4, align 1
%6 = icmp eq i8 %5, 58
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = icmp eq i8 %5, 44
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_4, label LBL_2
LBL_2:
%9 = add i64 %3, 1
%10 = inttoptr i64 %9 to i8*
%11 = call i8* @strchr(i8* %10, i32 58)
%12 = icmp eq i8* %11, null
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %arg1)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_5, label LBL_4
LBL_4:
store i64 1701603686, i64* %sv_1, align 8
br label LBL_6
LBL_5:
%16 = add nsw i64 %2, 1
%17 = icmp ult i64 %16, 128
%18 = select i1 %17, i64 %16, i64 128
%19 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1, i64 %18)
br label LBL_6
LBL_6:
%20 = bitcast i64* %sv_1 to i8*
%21 = call i8* @strchr(i8* nonnull %20, i32 44)
%22 = icmp eq i8* %21, null
br i1 %22, label LBL_8, label LBL_7
LBL_7:
store i8 0, i8* %21, align 1
br label LBL_8
LBL_8:
%23 = ptrtoint i64* %sv_1 to i64
%24 = call i64 @FUNC(i64* nonnull %sv_0, i64 %23, i64 128)
%25 = bitcast i64* %sv_0 to i8*
%26 = call i8* @strchr(i8* nonnull %25, i32 43)
%27 = icmp eq i8* %26, null
br i1 %27, label LBL_10, label LBL_9
LBL_9:
store i8 0, i8* %26, align 1
br label LBL_10
LBL_10:
%28 = call i64 @FUNC(i64 0)
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
store i64 %28, i64* %.reg2mem
store i64 %28, i64* %.lcssa.reg2mem
br i1 %30, label LBL_11, label LBL_15
LBL_11:
%.reload = load i64, i64* %.reg2mem
%31 = inttoptr i64 %.reload to i64*
%32 = load i64, i64* %31, align 8
%33 = inttoptr i64 %32 to i8*
%34 = call i32 @strcmp(i8* nonnull %20, i8* %33)
%35 = icmp eq i32 %34, 0
store i64 %.reload, i64* %.lcssa.reg2mem
br i1 %35, label LBL_15, label LBL_12
LBL_12:
%36 = add i64 %.reload, 8
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = urem i32 %38, 2
%40 = icmp eq i32 %39, 0
br i1 %40, label LBL_13, label LBL_14
LBL_13:
%41 = call i64 @FUNC(i64 %.reload)
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
store i64 %41, i64* %.reg2mem
store i64 %41, i64* %.lcssa.reg2mem
br i1 %43, label LBL_11, label LBL_15
LBL_14:
%44 = load i64, i64* %31, align 8
%45 = inttoptr i64 %44 to i8*
%46 = call i32 @strcmp(i8* nonnull %25, i8* %45)
%47 = icmp eq i32 %46, 0
store i64 %.reload, i64* %.lcssa.reg2mem
br i1 %47, label LBL_15, label LBL_13
LBL_15:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %.reload, { 0, 4, 2, 1, 3 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %sv_1, { 2, 0, 1, 3 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2, 4 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
uselistorder i64 (i64)* @ffurl_protocol_next, { 1, 0 }
uselistorder i64 (i64*, i64, i64)* @av_strlcpy, { 1, 0 }
uselistorder i64 128, { 2, 0, 1 }
uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i32 1, { 4, 3, 1, 0, 2 }
uselistorder i64 %arg1, { 1, 2, 0, 3 }
uselistorder label LBL_15, { 2, 0, 1, 3 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
} | 1 |
CompRealVul | qed_dcbx_set_app_data_7653 | qed_dcbx_set_app_data | define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.reg2mem = alloca i32
%.pre-phi4.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i32*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 0
%5 = trunc i64 %1 to i32
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%6 = or i32 %5, 1
%7 = bitcast i64* %arg2 to i32*
store i32 %6, i32* %7, align 4
br label LBL_3
LBL_2:
%8 = and i32 %5, -2
%9 = bitcast i64* %arg2 to i32*
store i32 %8, i32* %9, align 4
br label LBL_3
LBL_3:
%10 = ptrtoint i64* %arg3 to i64
%11 = add i64 %10, 1
%12 = inttoptr i64 %11 to i8*
%13 = load i8, i8* %12, align 1
%14 = icmp eq i8 %13, 0
br i1 %14, label LBL_5, label LBL_4
LBL_4:
%15 = or i32 %5, 2
%16 = bitcast i64* %arg2 to i32*
store i32 %15, i32* %16, align 4
store i32* %16, i32** %.pre-phi.reg2mem
br label LBL_6
LBL_5:
%17 = and i32 %5, -3
%18 = bitcast i64* %arg2 to i32*
store i32 %17, i32* %18, align 4
store i32* %18, i32** %.pre-phi.reg2mem
br label LBL_6
LBL_6:
%19 = ptrtoint i64* %arg2 to i64
%.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem
%20 = and i32 %5, -253
store i32 %20, i32* %.pre-phi.reload, align 4
%21 = add i64 %10, 4
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = mul i32 %23, 4
%25 = or i32 %24, %5
store i32 %25, i32* %.pre-phi.reload, align 4
%26 = add i64 %19, 4
%27 = trunc i64 %arg4 to i8
%28 = icmp eq i8 %27, 0
%29 = add i64 %10, 8
%30 = add i64 %10, 12
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_7
LBL_7:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%31 = mul i64 %indvars.iv.reload, 4
%32 = add i64 %26, %31
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
br i1 %28, label LBL_15, label LBL_8
LBL_8:
%35 = and i32 %34, -4081
store i32 %35, i32* %33, align 4
%36 = mul i64 %indvars.iv.reload, 16
%37 = add i64 %29, %36
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = icmp eq i32 %39, 4
br i1 %40, label LBL_14, label LBL_9
LBL_9:
%41 = icmp ult i32 %39, 5
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %35, i32* %.reg2mem
br i1 %41, label LBL_10, label LBL_18
LBL_10:
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %35, i32* %.reg2mem
switch i32 %39, label LBL_18 [
i32 3, label LBL_13
i32 1, label LBL_11
i32 2, label LBL_12
]
LBL_11:
%42 = or i32 %35, 272
store i32 %42, i32* %33, align 4
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %42, i32* %.reg2mem
br label LBL_18
LBL_12:
%43 = or i32 %35, 592
store i32 %43, i32* %33, align 4
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %43, i32* %.reg2mem
br label LBL_18
LBL_13:
%44 = or i32 %35, 848
store i32 %44, i32* %33, align 4
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %44, i32* %.reg2mem
br label LBL_18
LBL_14:
%45 = or i32 %35, 1104
store i32 %45, i32* %33, align 4
store i64 %36, i64* %.pre-phi4.reg2mem
store i32 %45, i32* %.reg2mem
br label LBL_18
LBL_15:
%46 = and i32 %34, -241
store i32 %46, i32* %33, align 4
%47 = mul i64 %indvars.iv.reload, 16
%48 = add i64 %30, %47
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_17, label LBL_16
LBL_16:
%52 = or i32 %46, 16
store i32 %52, i32* %33, align 4
store i64 %47, i64* %.pre-phi4.reg2mem
store i32 %52, i32* %.reg2mem
br label LBL_18
LBL_17:
%53 = or i32 %46, 80
store i32 %53, i32* %33, align 4
store i64 %47, i64* %.pre-phi4.reg2mem
store i32 %53, i32* %.reg2mem
br label LBL_18
LBL_18:
%.reload = load i32, i32* %.reg2mem
%.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem
%54 = and i32 %.reload, -61441
store i32 %54, i32* %33, align 4
%55 = add i64 %.pre-phi4.reload, %10
%56 = add i64 %55, 16
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = mul i32 %58, 4096
%60 = or i32 %59, %54
%61 = and i32 %60, -983041
store i32 %61, i32* %33, align 4
%62 = add i64 %55, 20
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%65 = mul i32 %64, 65536
%66 = or i32 %61, %65
store i32 %66, i32* %33, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_19, label LBL_7
LBL_19:
ret i64 %32
uselistorder i64 %47, { 1, 0, 2 }
uselistorder i64 %36, { 3, 2, 1, 0, 5, 4, 6 }
uselistorder i32 %35, { 2, 3, 5, 4, 1, 0, 6 }
uselistorder i32 %34, { 1, 0 }
uselistorder i32* %33, { 4, 5, 6, 7, 8, 10, 3, 2, 0, 1, 11, 9 }
uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }
uselistorder i32 %5, { 0, 1, 3, 2, 4, 5 }
uselistorder i32** %.pre-phi.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %.pre-phi4.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 8, 7 }
uselistorder i32* %.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 8, 7 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64* %arg2, { 4, 1, 2, 0, 3 }
uselistorder label LBL_18, { 2, 3, 4, 5, 6, 7, 0, 1 }
} | 1 |
CompRealVul | mg_parse_http_5874 | mg_parse_http | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_0.07.reg2mem = alloca i64
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 %arg1, i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp slt i32 %2, 0
%5 = icmp eq i1 %4, false
%6 = icmp eq i1 %3, false
%7 = icmp eq i1 %5, %6
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = and i64 %1, 4294967295
store i64 %8, i64* %rax.0.reg2mem
br label LBL_20
LBL_2:
%9 = ptrtoint i64* %arg3 to i64
%10 = call i64* @memset(i64* %arg3, i32 0, i32 120)
store i64 %arg1, i64* %arg3, align 8
%sext2 = mul i64 %1, 4294967296
%11 = ashr exact i64 %sext2, 32
%12 = add i64 %11, %arg1
%13 = add i64 %9, 16
%14 = inttoptr i64 %13 to i64*
store i64 %12, i64* %14, align 8
%15 = add i64 %9, 24
%16 = inttoptr i64 %15 to i64*
store i64 -1, i64* %16, align 8
%17 = add i64 %9, 8
%18 = inttoptr i64 %17 to i64*
store i64 -1, i64* %18, align 8
%19 = icmp ugt i64 %12, %arg1
%20 = icmp eq i1 %19, false
store i64 %arg1, i64* %sv_0.07.reg2mem
store i64 %arg1, i64* %sv_0.0.lcssa.reg2mem
br i1 %20, label LBL_5, label LBL_4
LBL_3:
%21 = add i64 %sv_0.07.reload, 1
%22 = icmp ult i64 %21, %12
%23 = icmp eq i1 %22, false
store i64 %21, i64* %sv_0.07.reg2mem
store i64 %21, i64* %sv_0.0.lcssa.reg2mem
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem
%24 = call i16** @__ctype_b_loc()
%25 = load i16*, i16** %24, align 8
%26 = ptrtoint i16* %25 to i64
%27 = inttoptr i64 %sv_0.07.reload to i8*
%28 = load i8, i8* %27, align 1
%29 = zext i8 %28 to i64
%30 = mul i64 %29, 2
%31 = add i64 %30, %26
%32 = inttoptr i64 %31 to i16*
%33 = load i16, i16* %32, align 2
%34 = and i16 %33, 8192
%35 = icmp eq i16 %34, 0
%36 = icmp eq i1 %35, false
store i64 %sv_0.07.reload, i64* %sv_0.0.lcssa.reg2mem
br i1 %36, label LBL_3, label LBL_5
LBL_5:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%37 = trunc i64 %arg4 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_10, label LBL_6
LBL_6:
%39 = add i64 %9, 32
%40 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 %12, i64* nonnull @gv_0, i64 %39)
%41 = add i64 %9, 48
%42 = call i64 @FUNC(i64 %40, i64 %12, i64* nonnull @gv_0, i64 %41)
%43 = add i64 %9, 64
%44 = call i64 @FUNC(i64 %42, i64 %12, i64* bitcast ([3 x i8]* @gv_1 to i64*), i64 %43)
%45 = inttoptr i64 %41 to i64*
%46 = load i64, i64* %45, align 8
%47 = inttoptr i64 %39 to i64*
%48 = load i64, i64* %47, align 8
%49 = icmp ugt i64 %46, %48
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %49, label LBL_7, label LBL_20
LBL_7:
%50 = inttoptr i64 %43 to i64*
%51 = load i64, i64* %50, align 8
%52 = icmp ugt i64 %51, %46
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %52, label LBL_8, label LBL_20
LBL_8:
%53 = add i64 %9, 56
%54 = inttoptr i64 %53 to i64*
%55 = load i64, i64* %54, align 8
%56 = inttoptr i64 %46 to i64*
%57 = trunc i64 %55 to i32
%58 = call i64* @memchr(i64* %56, i32 63, i32 %57)
%59 = icmp eq i64* %58, null
store i64 %44, i64* %sv_0.1.reg2mem
br i1 %59, label LBL_15, label LBL_9
LBL_9:
%60 = ptrtoint i64* %58 to i64
%61 = add i64 %60, 1
%62 = add i64 %9, 80
%63 = inttoptr i64 %62 to i64*
store i64 %61, i64* %63, align 8
%64 = load i64, i64* %45, align 8
%65 = load i64, i64* %54, align 8
%66 = sub i64 0, %60
%67 = sub i64 %66, 1
%68 = add i64 %64, %67
%69 = add i64 %68, %65
%70 = add i64 %9, 88
%71 = inttoptr i64 %70 to i64*
store i64 %69, i64* %71, align 8
%72 = load i64, i64* %45, align 8
%73 = sub i64 %60, %72
store i64 %73, i64* %54, align 8
store i64 %44, i64* %sv_0.1.reg2mem
br label LBL_15
LBL_10:
%74 = add i64 %9, 64
%75 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 %12, i64* nonnull @gv_0, i64 %74)
%76 = sub i64 %12, %75
%77 = icmp slt i64 %76, 4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %77, label LBL_20, label LBL_11
LBL_11:
%78 = call i16** @__ctype_b_loc()
%79 = load i16*, i16** %78, align 8
%80 = ptrtoint i16* %79 to i64
%81 = inttoptr i64 %75 to i8*
%82 = load i8, i8* %81, align 1
%83 = sext i8 %82 to i64
%84 = mul i64 %83, 2
%85 = add i64 %84, %80
%86 = inttoptr i64 %85 to i16*
%87 = load i16, i16* %86, align 2
%88 = and i16 %87, 8192
%89 = icmp eq i16 %88, 0
%90 = icmp eq i1 %89, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %90, label LBL_20, label LBL_12
LBL_12:
%91 = add i64 %75, 3
%92 = inttoptr i64 %91 to i8*
%93 = load i8, i8* %92, align 1
%94 = icmp eq i8 %93, 32
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %94, label LBL_13, label LBL_20
LBL_13:
%95 = call i32 @atoi(i8* %81)
%96 = add i64 %9, 112
%97 = inttoptr i64 %96 to i32*
store i32 %95, i32* %97, align 4
%.off = add i32 %95, -100
%98 = icmp ult i32 %.off, 500
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %98, label LBL_14, label LBL_20
LBL_14:
%99 = add i64 %75, 4
%100 = add i64 %9, 96
%101 = call i64 @FUNC(i64 %99, i64 %12, i64* bitcast ([3 x i8]* @gv_1 to i64*), i64 %100)
store i64 %101, i64* %sv_0.1.reg2mem
br label LBL_15
LBL_15:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%102 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %12, i32 %2, i64 %9)
%103 = load i64, i64* %16, align 8
%104 = icmp eq i64 %103, -1
%105 = icmp eq i1 %104, false
%or.cond6 = or i1 %38, %105
br i1 %or.cond6, label LBL_19, label LBL_16
LBL_16:
%106 = add i64 %9, 32
%107 = call i64 @FUNC(i64 %106, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%108 = trunc i64 %107 to i32
%109 = icmp eq i32 %108, 0
br i1 %109, label LBL_19, label LBL_17
LBL_17:
%110 = call i64 @FUNC(i64 %106, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))
%111 = trunc i64 %110 to i32
%112 = icmp eq i32 %111, 0
br i1 %112, label LBL_19, label LBL_18
LBL_18:
store i64 0, i64* %16, align 8
store i64 %11, i64* %18, align 8
br label LBL_19
LBL_19:
%113 = and i64 %1, 4294967295
store i64 %113, 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 %75, { 0, 2, 1, 3 }
uselistorder i64 %60, { 1, 0, 2 }
uselistorder i64* %58, { 1, 0 }
uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }
uselistorder i64 %12, { 5, 4, 2, 3, 8, 6, 7, 1, 0, 9 }
uselistorder i64 %11, { 1, 0 }
uselistorder i64 %9, { 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 10, 11, 12, 13 }
uselistorder i32 %2, { 0, 2, 1 }
uselistorder i64 %1, { 1, 0, 2, 3 }
uselistorder i64* %sv_0.07.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 4, 3, 2, 6, 5, 7 }
uselistorder i64 (i64, i8*)* @mg_vcasecmp, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 (i64, i64, i64*, i64)* @mg_skip, { 4, 3, 2, 1, 0 }
uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }
uselistorder i64 -1, { 1, 0, 2 }
uselistorder i64 32, { 1, 2, 0 }
uselistorder i1 false, { 2, 3, 4, 5, 0, 6, 1 }
uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }
uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5 }
uselistorder label LBL_20, { 6, 0, 3, 2, 1, 5, 4, 7 }
uselistorder label LBL_5, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | cmd_write_dma_10434 | cmd_write_dma | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i32* %arg1 to i64
%6 = call i64 @FUNC(i64 %5)
store i64 1, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%7 = trunc i64 %arg2 to i8
%8 = icmp eq i8 %7, 53
%9 = ptrtoint i32* %arg1 to i64
%10 = zext i1 %8 to i64
%11 = call i64 @FUNC(i64 %9, i64 %10)
%12 = call i64 @FUNC(i64 %9, i64 1)
%13 = add i64 %9, 4
%14 = inttoptr i64 %13 to i32*
store i32 1, i32* %14, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i32* %arg1, { 1, 0 }
} | 0 |
CompRealVul | crypto_alg_match_10448 | crypto_alg_match | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%.reg2mem13 = alloca i8
%.reg2mem11 = alloca i64
%sv_1.0.shrunk.in.reg2mem = alloca i32
%.reg2mem9 = alloca i64
%storemerge3.reg2mem = alloca i64
%.reg2mem7 = alloca i8
%.reg2mem = alloca i64
%0 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*))
%storemerge2 = load i64, i64* inttoptr (i64 4210752 to i64*), align 64
%1 = icmp eq i64 %storemerge2, 4210752
%2 = icmp eq i1 %1, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_1, label LBL_10
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 16
%5 = inttoptr i64 %4 to i32*
%6 = add i64 %3, 20
%7 = inttoptr i64 %6 to i32*
%8 = trunc i64 %arg2 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
%11 = add i64 %3, 8
%12 = inttoptr i64 %11 to i64*
store i64 ptrtoint (i8** @gv_0 to i64), i64* %.reg2mem
store i8 ptrtoint (i8** @gv_0 to i8), i8* %.reg2mem7
store i64 %storemerge2, i64* %storemerge3.reg2mem
br label LBL_2
LBL_2:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%.reload8 = load i8, i8* %.reg2mem7
%.reload = load i64, i64* %.reg2mem
%13 = add i64 %storemerge3.reload, 16
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = load i32, i32* %5, align 4
%17 = xor i32 %16, %15
%18 = load i32, i32* %7, align 4
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
store i64 %.reload, i64* %.reg2mem11
store i8 %.reload8, i8* %.reg2mem13
br i1 %21, label LBL_9, label LBL_3
LBL_3:
%22 = icmp eq i8 %.reload8, 0
br i1 %22, label LBL_5, label LBL_4
LBL_4:
%23 = inttoptr i64 %storemerge3.reload to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i8*
%26 = inttoptr i64 %.reload to i8*
%27 = call i32 @strcmp(i8* %25, i8* %26)
store i64 %24, i64* %.reg2mem9
store i32 %27, i32* %sv_1.0.shrunk.in.reg2mem
br label LBL_7
LBL_5:
store i64 %.reload, i64* %.reg2mem11
store i8 0, i8* %.reg2mem13
br i1 %10, label LBL_9, label LBL_6
LBL_6:
%28 = load i64, i64* %12, align 8
%29 = add i64 %storemerge3.reload, 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = inttoptr i64 %31 to i8*
%33 = inttoptr i64 %28 to i8*
%34 = call i32 @strcmp(i8* %32, i8* %33)
store i64 %31, i64* %.reg2mem9
store i32 %34, i32* %sv_1.0.shrunk.in.reg2mem
br label LBL_7
LBL_7:
%sv_1.0.shrunk.in.reload = load i32, i32* %sv_1.0.shrunk.in.reg2mem
%.reload10 = load i64, i64* %.reg2mem9
%35 = trunc i64 %.reload10 to i8
%sv_1.0.shrunk = icmp eq i32 %sv_1.0.shrunk.in.reload, 0
%36 = icmp eq i1 %sv_1.0.shrunk, false
store i64 %.reload10, i64* %.reg2mem11
store i8 %35, i8* %.reg2mem13
br i1 %36, label LBL_9, label LBL_8
LBL_8:
%37 = call i64 @FUNC(i64 %storemerge3.reload)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
%41 = icmp eq i1 %40, false
%42 = trunc i64 %storemerge3.reload to i8
store i64 %storemerge3.reload, i64* %.reg2mem11
store i8 %42, i8* %.reg2mem13
store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem
br i1 %41, label LBL_9, label LBL_10
LBL_9:
%.reload14 = load i8, i8* %.reg2mem13
%.reload12 = load i64, i64* %.reg2mem11
%43 = add i64 %storemerge3.reload, 24
%44 = inttoptr i64 %43 to i64*
%storemerge = load i64, i64* %44, align 8
%45 = icmp eq i64 %storemerge, 4210752
%46 = icmp eq i1 %45, false
store i64 %.reload12, i64* %.reg2mem
store i8 %.reload14, i8* %.reg2mem7
store i64 %storemerge, i64* %storemerge3.reg2mem
store i64 0, i64* %sv_0.0.reg2mem
br i1 %46, label LBL_2, label LBL_10
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%47 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*))
ret i64 %sv_0.0.reload
uselistorder i64 %.reload, { 1, 2, 0 }
uselistorder i8 %.reload8, { 1, 0 }
uselistorder i64 %storemerge3.reload, { 6, 0, 1, 7, 2, 4, 5, 3 }
uselistorder i64 %3, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i8* %.reg2mem7, { 1, 0, 2 }
uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem9, { 0, 2, 1 }
uselistorder i32* %sv_1.0.shrunk.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem11, { 0, 3, 2, 4, 1 }
uselistorder i8* %.reg2mem13, { 0, 3, 2, 4, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i32 0, { 1, 0, 3, 2 }
uselistorder i64 16, { 1, 0 }
uselistorder i1 false, { 6, 3, 2, 1, 5, 4, 0 }
uselistorder i64 4210752, { 1, 0, 2 }
uselistorder i8** @gv_0, { 0, 2, 1 }
uselistorder label LBL_9, { 1, 2, 0, 3 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | mm_decode_inter_457 | mm_decode_inter | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i32
%sv_0.3.ph21.reg2mem = alloca i32
%sv_1.0.ph22.reg2mem = alloca i32
%sv_2.0.ph23.reg2mem = alloca i32
%sv_0.217.reg2mem = alloca i32
%sv_3.118.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%rdx.0.reg2mem = alloca i64
%sv_0.114.reg2mem = alloca i32
%sv_3.015.reg2mem = alloca i32
%storemerge416.reg2mem = alloca i32
%sv_1.011.reg2mem = alloca i32
%sv_2.012.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
store i64 %2, i64* %rdi, align 8
%3 = trunc i64 %1 to i16
%4 = icmp eq i16 %3, 0
store i32 2, i32* %rax.0.in.reg2mem
br i1 %4, label LBL_18, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg4 to i64
%6 = trunc i64 %1 to i32
%7 = urem i32 %6, 65536
%8 = add nuw nsw i32 %7, 2
%9 = trunc i64 %arg3 to i32
%10 = bitcast i64* %rdi to i32*
%11 = add i64 %2, 8
%12 = inttoptr i64 %11 to i64*
%13 = add i64 %2, 16
%14 = inttoptr i64 %13 to i32*
%15 = trunc i64 %arg2 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i32 %9, 0
%18 = add i32 %15, 1
store i32 0, i32* %sv_2.0.ph23.reg2mem
store i32 2, i32* %sv_1.0.ph22.reg2mem
store i32 %8, i32* %sv_0.3.ph21.reg2mem
br label LBL_2.lr.ph
LBL_2:
%sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem
%sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem
%19 = sext i32 %sv_1.011.reload to i64
%20 = add i64 %19, %5
%21 = inttoptr i64 %20 to i8*
%22 = load i8, i8* %21, align 1
%23 = urem i8 %22, -128
%24 = add i64 %20, 1
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = zext i8 %22 to i32
%28 = mul i32 %27, 2
%29 = and i32 %28, 256
%30 = zext i8 %26 to i32
%31 = or i32 %29, %30
%32 = add i32 %sv_1.011.reload, 2
%33 = icmp eq i8 %23, 0
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_4, label LBL_3
LBL_3:
%35 = add i32 %31, %sv_2.012.reload
%36 = icmp slt i32 %32, %8
store i32 %35, i32* %sv_2.012.reg2mem
store i32 %32, i32* %sv_1.011.reg2mem
store i32 %32, i32* %rax.0.in.reg2mem
br i1 %36, label LBL_2, label LBL_18
LBL_4:
%37 = add i32 %sv_2.012.reload, %9
%38 = load i32, i32* %10, align 8
%39 = icmp ult i32 %37, %38
store i32 %38, i32* %rax.0.in.reg2mem
br i1 %39, label LBL_5, label LBL_18
LBL_5:
%40 = zext i8 %23 to i32
%41 = add i32 %sv_2.012.reload, 1
%wide.trip.count = zext i8 %23 to i64
store i64 0, i64* %indvars.iv.reg2mem
store i32 %31, i32* %sv_3.118.reg2mem
store i32 %sv_0.3.ph21.reload, i32* %sv_0.217.reg2mem
br label LBL_15
LBL_6:
%sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem
%sv_3.015.reload = load i32, i32* %sv_3.015.reg2mem
%storemerge416.reload = load i32, i32* %storemerge416.reg2mem
%42 = load i8, i8* %94, align 1
%43 = zext i8 %42 to i64
%44 = sub nuw nsw i32 7, %storemerge416.reload
%45 = icmp eq i32 %44, 0
store i64 %43, i64* %rdx.0.reg2mem
br i1 %45, label %50, label %46
LBL_7:
%53 = sext i32 %sv_0.114.reload to i64
%54 = add i64 %53, %5
%55 = inttoptr i64 %54 to i8*
%56 = load i8, i8* %55, align 1
%57 = load i64, i64* %12, align 8
%58 = load i32, i32* %14, align 4
%59 = mul i32 %58, %sv_2.012.reload
%60 = add i32 %59, %sv_3.015.reload
%61 = sext i32 %60 to i64
%62 = add i64 %57, %61
%63 = inttoptr i64 %62 to i8*
store i8 %56, i8* %63, align 1
br i1 %16, label LBL_9, label LBL_8
LBL_8:
%64 = load i64, i64* %12, align 8
%65 = load i32, i32* %14, align 4
%66 = mul i32 %65, %sv_2.012.reload
%67 = add i32 %66, %sv_3.015.reload
%68 = sext i32 %67 to i64
%69 = add i64 %64, 1
%70 = add i64 %69, %68
%71 = inttoptr i64 %70 to i8*
store i8 %56, i8* %71, align 1
br label LBL_9
LBL_9:
br i1 %17, label LBL_12, label LBL_10
LBL_10:
%72 = load i64, i64* %12, align 8
%73 = load i32, i32* %14, align 4
%74 = mul i32 %73, %41
%75 = add i32 %74, %sv_3.015.reload
%76 = sext i32 %75 to i64
%77 = add i64 %72, %76
%78 = inttoptr i64 %77 to i8*
store i8 %56, i8* %78, align 1
br i1 %16, label LBL_12, label LBL_11
LBL_11:
%79 = load i64, i64* %12, align 8
%80 = load i32, i32* %14, align 4
%81 = mul i32 %80, %41
%82 = add i32 %81, %sv_3.015.reload
%83 = sext i32 %82 to i64
%84 = add i64 %79, 1
%85 = add i64 %84, %83
%86 = inttoptr i64 %85 to i8*
store i8 %56, i8* %86, align 1
br label LBL_12
LBL_12:
%87 = add i32 %sv_0.114.reload, 1
store i32 %87, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_13:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%88 = add i32 %18, %sv_3.015.reload
%89 = add nuw nsw i32 %storemerge416.reload, 1
%exitcond = icmp eq i32 %89, 8
store i32 %89, i32* %storemerge416.reg2mem
store i32 %88, i32* %sv_3.015.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem
br i1 %exitcond, label LBL_14, label LBL_6
LBL_14:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond37 = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %88, i32* %sv_3.118.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.217.reg2mem
br i1 %exitcond37, label LBL_16, label LBL_15
LBL_15:
%sv_0.217.reload = load i32, i32* %sv_0.217.reg2mem
%sv_3.118.reload = load i32, i32* %sv_3.118.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%90 = trunc i64 %indvars.iv.reload to i32
%91 = add i32 %32, %90
%92 = sext i32 %91 to i64
%93 = add i64 %92, %5
%94 = inttoptr i64 %93 to i8*
store i32 0, i32* %storemerge416.reg2mem
store i32 %sv_3.118.reload, i32* %sv_3.015.reg2mem
store i32 %sv_0.217.reload, i32* %sv_0.114.reg2mem
br label LBL_6
LBL_16:
%95 = add i32 %32, %40
%96 = add i32 %37, 1
%97 = icmp slt i32 %95, %8
store i32 %96, i32* %sv_2.0.ph23.reg2mem
store i32 %95, i32* %sv_1.0.ph22.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.3.ph21.reg2mem
store i32 %95, i32* %rax.0.in.reg2mem
br i1 %97, label LBL_2.lr.ph, label LBL_18
LBL_17:
%sv_0.3.ph21.reload = load i32, i32* %sv_0.3.ph21.reg2mem
%sv_1.0.ph22.reload = load i32, i32* %sv_1.0.ph22.reg2mem
%sv_2.0.ph23.reload = load i32, i32* %sv_2.0.ph23.reg2mem
store i32 %sv_2.0.ph23.reload, i32* %sv_2.012.reg2mem
store i32 %sv_1.0.ph22.reload, i32* %sv_1.011.reg2mem
br label LBL_2
LBL_18:
%rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem
%rax.0 = zext i32 %rax.0.in.reload to i64
ret i64 %rax.0
uselistorder i64 %indvars.iv.reload, { 1, 0 }
uselistorder i32 %44, { 1, 0 }
uselistorder i32 %sv_3.015.reload, { 0, 4, 3, 2, 1 }
uselistorder i32 %sv_0.114.reload, { 1, 2, 0 }
uselistorder i32 %32, { 2, 3, 0, 1, 4 }
uselistorder i8 %22, { 1, 0 }
uselistorder i32 %sv_2.012.reload, { 4, 3, 1, 2, 0 }
uselistorder i32* %14, { 1, 2, 0, 3 }
uselistorder i64* %12, { 1, 2, 0, 3 }
uselistorder i32 %8, { 1, 2, 0 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_2.012.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.011.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge416.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_3.015.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.114.reg2mem, { 2, 1, 0 }
uselistorder i64 1, { 0, 2, 3, 1 }
uselistorder i32 0, { 1, 4, 0, 2, 3 }
uselistorder i32 2, { 3, 2, 1, 4, 0 }
uselistorder label LBL_18, { 1, 0, 2, 3 }
uselistorder label LBL_2.lr.ph, { 1, 0 }
uselistorder label %50, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
CompRealVul | gen_exception_return_3291 | gen_exception_return | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = call i64 @FUNC(i64 %0, i64 15, i32 %1)
%3 = call i64 @FUNC(i64 0)
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 4294967295)
%6 = call i64 @FUNC(i64 %4)
store i32 1, i32* %arg1, align 4
ret i64 %0
uselistorder i64 4294967295, { 1, 0 }
} | 0 |
CompRealVul | set_seg_16359 | set_seg | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 24
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = bitcast i64* %rsi to i16*
%8 = trunc i64 %1 to i16
%9 = bitcast i64* %arg1 to i16*
store i16 %8, i16* %9, align 2
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = add i64 %3, 8
%14 = inttoptr i64 %13 to i64*
store i64 %12, i64* %14, align 8
%15 = add i64 %2, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = add i64 %3, 16
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
%20 = udiv i32 %6, 256
%21 = trunc i32 %20 to i8
%22 = urem i8 %21, 16
%23 = add i64 %3, 24
%24 = inttoptr i64 %23 to i8*
store i8 %22, i8* %24, align 1
%25 = trunc i32 %6 to i8
%26 = icmp sgt i8 %25, -1
%27 = icmp eq i1 %26, false
%28 = zext i1 %27 to i8
%29 = add i64 %3, 25
%30 = inttoptr i64 %29 to i8*
store i8 %28, i8* %30, align 1
%31 = load i16, i16* %7, align 8
%32 = trunc i16 %31 to i8
%33 = urem i8 %32, 4
%34 = add i64 %3, 26
%35 = inttoptr i64 %34 to i8*
store i8 %33, i8* %35, align 1
%36 = udiv i32 %6, 128
%37 = trunc i32 %36 to i8
%38 = urem i8 %37, 2
%39 = add i64 %3, 27
%40 = inttoptr i64 %39 to i8*
store i8 %38, i8* %40, align 1
%41 = and i32 %6, 16
%42 = icmp eq i32 %41, 0
%43 = icmp eq i1 %42, false
%44 = zext i1 %43 to i8
%45 = add i64 %3, 28
%46 = inttoptr i64 %45 to i8*
store i8 %44, i8* %46, align 1
%47 = udiv i32 %6, 512
%48 = trunc i32 %47 to i8
%49 = urem i8 %48, 2
%50 = add i64 %3, 29
%51 = inttoptr i64 %50 to i8*
store i8 %49, i8* %51, align 1
%52 = and i32 %6, 8192
%53 = icmp eq i32 %52, 0
%54 = icmp eq i1 %53, false
%55 = zext i1 %54 to i8
%56 = add i64 %3, 30
%57 = inttoptr i64 %56 to i8*
store i8 %55, i8* %57, align 1
%58 = add i64 %3, 31
%59 = inttoptr i64 %58 to i8*
store i8 %44, i8* %59, align 1
%60 = add i64 %3, 32
%61 = inttoptr i64 %60 to i8*
store i8 0, i8* %61, align 1
ret i64 %3
uselistorder i32 %6, { 4, 0, 5, 1, 3, 2 }
uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }
} | 1 |
CompRealVul | bm_putc_6727 | bm_putc | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%sext5 = mul i64 %arg4, 72057594037927936
%0 = ashr exact i64 %sext5, 56
store i64 %0, i64* %sv_0, align 8
%1 = icmp eq i64* %arg1, null
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%3 = ptrtoint i64* %arg1 to i64
%4 = trunc i64 %arg3 to i32
%5 = trunc i64 %arg2 to i32
%6 = bitcast i64* %sv_0 to i8*
%7 = call i64 @FUNC(i64 %3, i32 %5, i32 %4, i8* nonnull %6)
ret i64 %7
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
CompRealVul | ecc_mem_writel_1089 | ecc_mem_writel | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = udiv i64 %arg2, 4
%4 = urem i64 %3, 1073741824
store i64 %4, i64* @0, align 8
%5 = mul i64 %4, 8
%6 = add i64 %5, ptrtoint (i64* @gv_0 to i64)
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%trunc = trunc i64 %4 to i32
store i64 %8, i64* %rax.0.reg2mem
switch i32 %trunc, label LBL_8 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_5
i32 5, label LBL_6
i32 6, label LBL_7
]
LBL_1:
%9 = trunc i64 %1 to i32
%10 = urem i32 %9, 4
%11 = and i32 %arg3, -4
%12 = or i32 %10, %11
%13 = bitcast i64* %arg1 to i32*
store i32 %12, i32* %13, align 4
%14 = zext i32 %arg3 to i64
%15 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %14)
store i64 %15, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%16 = add i64 %2, 4
%17 = inttoptr i64 %16 to i32*
store i32 %arg3, i32* %17, align 4
%18 = zext i32 %arg3 to i64
%19 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %18)
store i64 %19, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%20 = add i64 %2, 8
%21 = inttoptr i64 %20 to i32*
store i32 %arg3, i32* %21, align 4
%22 = zext i32 %arg3 to i64
%23 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %22)
store i64 %23, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%24 = add i64 %2, 12
%25 = inttoptr i64 %24 to i32*
store i32 %arg3, i32* %25, align 4
%26 = zext i32 %arg3 to i64
%27 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %26)
store i64 %27, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%28 = add i64 %2, 16
%29 = inttoptr i64 %28 to i32*
store i32 %arg3, i32* %29, align 4
%30 = zext i32 %arg3 to i64
%31 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i64 %30)
store i64 %31, i64* %rax.0.reg2mem
br label LBL_8
LBL_6:
%32 = add i64 %2, 20
%33 = inttoptr i64 %32 to i32*
store i32 %arg3, i32* %33, align 4
%34 = zext i32 %arg3 to i64
%35 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %34)
store i64 %35, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%36 = add i64 %2, 20
%37 = inttoptr i64 %36 to i32*
store i32 %arg3, i32* %37, align 4
%38 = zext i32 %arg3 to i64
%39 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_7, i64 0, i64 0), i64 %38)
store i64 %39, 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 %4, { 1, 0, 2 }
uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 8 }
uselistorder i64 (i8*, i64)* @DPRINTF, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i32 %arg3, { 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 }
} | 0 |
CompRealVul | snd_ctl_remove_numid_conflict_4549 | snd_ctl_remove_numid_conflict | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge3.in4.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %arg2 to i32
%3 = trunc i64 %1 to i32
%4 = sub i32 0, %2
%5 = sub i32 %4, 1
%6 = icmp ult i32 %3, %5
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = bitcast i64* %arg1 to i32*
store i32 0, i32* %7, align 4
br label LBL_2
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 8
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_3, label LBL_8
LBL_3:
%12 = add i32 %3, 1
%13 = add i32 %12, %2
store i64 %9, i64* %storemerge3.in4.reg2mem
br label LBL_4
LBL_4:
%storemerge3.in4.reload = load i64, i64* %storemerge3.in4.reg2mem
%storemerge3 = inttoptr i64 %storemerge3.in4.reload to i32*
%14 = load i32, i32* %storemerge3, align 4
%15 = icmp ult i32 %14, %13
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_7, label LBL_5
LBL_5:
%17 = add i64 %storemerge3.in4.reload, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = add i32 %19, %14
%21 = icmp ugt i32 %20, %12
br i1 %21, label LBL_6, label LBL_7
LBL_6:
%22 = add i32 %20, -1
%23 = bitcast i64* %arg1 to i32*
store i32 %22, i32* %23, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_8
LBL_7:
%24 = add i64 %storemerge3.in4.reload, 8
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = icmp eq i64 %26, 0
%28 = icmp eq i1 %27, false
store i64 %26, i64* %storemerge3.in4.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %28, label LBL_4, label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %12, { 1, 0 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %storemerge3.in4.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_8, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | ufx_ops_open_5984 | ufx_ops_open | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i32 %1, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = load i32, i32* @gv_0, align 4
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 4294967280, i64* %rax.0.reg2mem
br i1 %9, label LBL_2, label LBL_10
LBL_2:
%10 = inttoptr i64 %4 to i32*
%11 = call i64 @FUNC(i64* nonnull @gv_1)
%12 = load i32, i32* %10, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64* nonnull @gv_1)
store i64 4294967277, i64* %rax.0.reg2mem
br label LBL_10
LBL_4:
%15 = add i64 %4, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, 1
store i32 %18, i32* %16, align 4
%19 = add i64 %4, 8
%20 = call i64 @FUNC(i64 %19)
%21 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label LBL_9, label LBL_5
LBL_5:
%23 = add i64 %0, 16
%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
br i1 %27, label LBL_9, label LBL_6
LBL_6:
%28 = call i64 @FUNC(i64 16, i64 0)
%29 = icmp eq i64 %28, 0
br i1 %29, label LBL_8, label LBL_7
LBL_7:
%30 = inttoptr i64 %28 to i32*
store i32 100, i32* %30, align 4
%31 = add i64 %28, 8
%32 = inttoptr i64 %31 to i64*
store i64 4199061, i64* %32, align 8
br label LBL_8
LBL_8:
store i64 %28, i64* %24, align 8
%33 = call i64 @FUNC(i64 %0)
br label LBL_9
LBL_9:
%34 = and i64 %arg2, 4294967295
%35 = load i32, i32* %16, align 4
%36 = bitcast i64* %rdi to i32*
%37 = load i32, i32* %36, align 8
%38 = zext i32 %35 to i64
%39 = zext i32 %37 to i64
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %39, i64 %34, i64* %arg1, i64 %38)
%41 = call i64 @FUNC(i64* nonnull @gv_1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 0 }
uselistorder label LBL_10, { 1, 2, 0 }
} | 0 |
CompRealVul | nfs_lock_4415 | nfs_lock | define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg3 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = trunc i64 %1 to i32
%12 = add i64 %3, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %14, i32 %11, i64 %10, i64 %6)
%16 = call i64 @FUNC(i64 %3, i64 0)
%17 = add i64 %3, 16
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = and i32 %19, 8256
%21 = icmp eq i32 %20, 8192
%22 = icmp eq i1 %21, false
%23 = icmp eq i32 %11, 2
%or.cond = or i1 %23, %22
store i64 4294967259, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_6
LBL_1:
%sext = mul i64 %arg2, 4294967296
%24 = ashr exact i64 %sext, 32
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 1
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_3, label LBL_2
LBL_2:
%28 = and i64 %24, 4294967295
%29 = call i64 @FUNC(i64 %3, i64 %28, i64 %2)
store i64 %29, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%30 = icmp eq i1 %23, false
%31 = and i64 %24, 4294967295
br i1 %30, label LBL_5, label LBL_4
LBL_4:
%32 = call i64 @FUNC(i64 %3, i64 %31, i64 %2)
store i64 %32, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%33 = call i64 @FUNC(i64 %3, i64 %31, i64 %2)
store i64 %33, 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 %31, { 1, 0 }
uselistorder i64 %24, { 1, 2, 0 }
uselistorder i1 %23, { 1, 0 }
uselistorder i64 %3, { 1, 2, 0, 3, 4, 5 }
uselistorder i64 %2, { 1, 2, 0, 3, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder label LBL_6, { 1, 2, 3, 0 }
} | 0 |
CompRealVul | kvm_vcpu_kick_8929 | kvm_vcpu_kick | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %3)
%8 = add i64 %2, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i32 %10, 1
store i32 %11, i32* %9, align 4
br label LBL_2
LBL_2:
%12 = trunc i64 %1 to i32
%13 = call i64 @FUNC()
%14 = trunc i64 %13 to i32
%15 = icmp ne i32 %12, %14
%16 = icmp ult i32 %12, 4
%or.cond = icmp eq i1 %16, %15
br i1 %or.cond, label LBL_3, label LBL_6
LBL_3:
%17 = and i64 %1, 4294967295
%18 = call i64 @FUNC(i64 %17)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_6, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %2)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %17)
br label LBL_6
LBL_6:
%25 = call i64 @FUNC()
ret i64 %25
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 3, 0 }
} | 0 |
CompRealVul | blk_mig_init_1021 | blk_mig_init | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = call i64 @FUNC(i64* nonnull @gv_1)
%2 = call i64 @FUNC(i64* nonnull @gv_2)
%3 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 1, i64* nonnull @gv_4, i64* nonnull @gv_0)
ret i64 %3
uselistorder i64 (i64*)* @QSIMPLEQ_INIT, { 1, 0 }
} | 0 |
CompRealVul | get_line_size_10380 | get_line_size | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge1331.reg2mem = alloca i32
%sv_0.012.lcssa.reg2mem = alloca i64
%storemerge13.lcssa.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i64
%storemerge1335.reg2mem = alloca i32
%sv_0.01237.reg2mem = alloca i64
%.reg2mem = alloca i8
%0 = icmp sgt i64 %arg2, 0
br i1 %0, label LBL_1, label LBL_16
LBL_1:
%1 = inttoptr i64 %arg1 to i8*
%2 = load i8, i8* %1, align 1
%3 = icmp eq i8 %2, 13
store i8 %2, i8* %.reg2mem
store i64 %arg1, i64* %sv_0.01237.reg2mem
store i32 0, i32* %storemerge1335.reg2mem
store i64 0, i64* %.lcssa.reg2mem
store i32 0, i32* %storemerge13.lcssa.reg2mem
store i64 %arg1, i64* %sv_0.012.lcssa.reg2mem
br i1 %3, label LBL_7, label LBL_3
LBL_2:
%4 = add i64 %sv_0.01237.reload, 1
%5 = inttoptr i64 %4 to i8*
%6 = load i8, i8* %5, align 1
%7 = icmp eq i8 %6, 13
store i8 %6, i8* %.reg2mem
store i64 %4, i64* %sv_0.01237.reg2mem
store i32 %23, i32* %storemerge1335.reg2mem
store i64 %24, i64* %.lcssa.reg2mem
store i32 %23, i32* %storemerge13.lcssa.reg2mem
store i64 %4, i64* %sv_0.012.lcssa.reg2mem
br i1 %7, label LBL_7, label LBL_3
LBL_3:
%storemerge1335.reload = load i32, i32* %storemerge1335.reg2mem
%sv_0.01237.reload = load i64, i64* %sv_0.01237.reg2mem
%.reload = load i8, i8* %.reg2mem
%8 = icmp sgt i8 %.reload, 13
br i1 %8, label LBL_15, label LBL_4
LBL_4:
store i32 %storemerge1335.reload, i32* %storemerge1331.reg2mem
switch i8 %.reload, label LBL_15 [
i8 0, label LBL_5
i8 10, label LBL_12
]
LBL_5:
%9 = icmp eq i64* %arg3, null
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %9, label LBL_18, label LBL_6
LBL_6:
store i64 0, i64* %arg3, align 8
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_18
LBL_7:
%storemerge13.lcssa.reload = load i32, i32* %storemerge13.lcssa.reg2mem
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%10 = sub i64 %arg2, %.lcssa.reload
%11 = icmp slt i64 %10, 2
store i32 %storemerge13.lcssa.reload, i32* %storemerge1331.reg2mem
br i1 %11, label LBL_12, label LBL_8
LBL_8:
%sv_0.012.lcssa.reload = load i64, i64* %sv_0.012.lcssa.reg2mem
%12 = add i64 %sv_0.012.lcssa.reload, 1
%13 = inttoptr i64 %12 to i8*
%14 = load i8, i8* %13, align 1
%15 = icmp eq i8 %14, 10
%16 = icmp eq i1 %15, false
store i32 %storemerge13.lcssa.reload, i32* %storemerge1331.reg2mem
br i1 %16, label LBL_12, label LBL_9
LBL_9:
%17 = icmp eq i64* %arg3, null
br i1 %17, label LBL_11, label LBL_10
LBL_10:
store i64 2, i64* %arg3, align 8
br label LBL_11
LBL_11:
%18 = add i32 %storemerge13.lcssa.reload, 2
%19 = zext i32 %18 to i64
store i64 %19, i64* %rax.0.reg2mem
br label LBL_18
LBL_12:
%storemerge1331.reload = load i32, i32* %storemerge1331.reg2mem
%20 = icmp eq i64* %arg3, null
br i1 %20, label LBL_14, label LBL_13
LBL_13:
store i64 1, i64* %arg3, align 8
br label LBL_14
LBL_14:
%21 = add i32 %storemerge1331.reload, 1
%22 = zext i32 %21 to i64
store i64 %22, i64* %rax.0.reg2mem
br label LBL_18
LBL_15:
%23 = add i32 %storemerge1335.reload, 1
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %24, %arg2
br i1 %25, label LBL_2, label LBL_16
LBL_16:
%26 = icmp eq i64* %arg3, null
store i64 %arg2, i64* %rax.0.reg2mem
br i1 %26, label LBL_18, label LBL_17
LBL_17:
store i64 0, i64* %arg3, align 8
store i64 %arg2, 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 %24, { 1, 0 }
uselistorder i32 %23, { 2, 1, 0 }
uselistorder i32 %storemerge13.lcssa.reload, { 2, 1, 0 }
uselistorder i32 %storemerge1335.reload, { 1, 0 }
uselistorder i8* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.01237.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge1335.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge1331.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 5, 4, 3 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i64* null, { 3, 2, 0, 1 }
uselistorder i8 10, { 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i8 13, { 1, 2, 0 }
uselistorder i64* %arg3, { 6, 7, 4, 5, 0, 1, 2, 3 }
uselistorder i64 %arg2, { 1, 0, 3, 4, 2 }
uselistorder label LBL_18, { 1, 0, 4, 5, 3, 2 }
uselistorder label LBL_12, { 1, 2, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | qmp_query_blockstats_17199 | qmp_query_blockstats | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem2 = alloca i64
%sv_0.01.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_1 = alloca i64, align 8
store i64 0, i64* %sv_1, align 8
%0 = call i64 @FUNC(i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %.reg2mem2
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %sv_1 to i64
store i64 %0, i64* %.reg2mem
store i64 %3, i64* %sv_0.01.reg2mem
br label LBL_2
LBL_2:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%.reload = load i64, i64* %.reg2mem
%4 = call i64 @FUNC(i64 16)
%5 = call i64 @FUNC(i64 %.reload)
%6 = inttoptr i64 %4 to i64*
store i64 %5, i64* %6, align 8
%7 = inttoptr i64 %sv_0.01.reload to i64*
store i64 %4, i64* %7, align 8
%8 = add i64 %4, 8
%9 = call i64 @FUNC(i64 %.reload)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 %9, i64* %.reg2mem
store i64 %8, i64* %sv_0.01.reg2mem
br i1 %11, label LBL_2, label LBL_3
LBL_3:
%.pre = load i64, i64* %sv_1, align 8
store i64 %.pre, i64* %.reg2mem2
br label LBL_4
LBL_4:
%.reload3 = load i64, i64* %.reg2mem2
ret i64 %.reload3
uselistorder i64 %.reload, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem2, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 (i64)* @bdrv_next, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | kvaser_usb_get_card_info_17989 | kvaser_usb_get_card_info | 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, i64 1, i64 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_5
LBL_2:
%5 = bitcast i32* %sv_0 to i64*
%6 = call i64 @FUNC(i64 %0, i64 2, i64* nonnull %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = and i64 %6, 4294967295
store i64 %9, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%10 = load i32, i32* %sv_0, align 4
%11 = bitcast i64* %arg1 to i32*
store i32 %10, i32* %11, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
} | 1 |
CompRealVul | conditional_12422 | conditional | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 %arg1, i64 %0)
%2 = call i64 @FUNC(i64 %arg1, i64 63)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
store i64 %1, i64* %storemerge.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %arg1, i64 0)
%6 = call i64 @FUNC(i64 %arg1, i64 58)
%7 = call i64 @FUNC(i64 %arg1, i64 %0)
%8 = call i64 @FUNC(i64 0, i64 %1, i64 %5, i64 %7)
store i64 %8, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @assignment, { 1, 0 }
uselistorder i64 %arg1, { 2, 1, 0, 3, 4 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | scsi_req_cancel_16795 | scsi_req_cancel | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 12
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = zext i32 %8 to i64
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %10, i64 %9, i32 %5)
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i8*
%14 = load i8, i8* %13, align 1
%15 = xor i8 %14, 1
%16 = zext i8 %15 to i64
%17 = icmp eq i8 %15, 0
%18 = icmp eq i1 %17, false
store i64 %16, i64* %rax.0.reg2mem
br i1 %18, label LBL_4, label LBL_1
LBL_1:
%19 = call i64 @FUNC(i64 %2)
%20 = call i64 @FUNC(i64 %2)
%21 = add i64 %2, 17
%22 = inttoptr i64 %21 to i8*
store i8 1, i8* %22, align 1
%23 = add i64 %2, 24
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label LBL_3, label LBL_2
LBL_2:
%27 = call i64 @FUNC(i64 %25)
store i64 %27, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%28 = call i64 @FUNC(i64 %2)
store i64 %28, 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 %2, { 1, 0, 4, 3, 2, 5, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i8 1, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 1 |
CompRealVul | sdhci_set_inserted_2538 | sdhci_set_inserted | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i8
%4 = icmp eq i8 %3, 0
%. = select i1 %4, i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64 ptrtoint ([7 x i8]* @gv_1 to i64)
%5 = call i64 @FUNC(i64 %.)
%6 = urem i64 %1, 2
%7 = icmp eq i64 %6, 0
%or.cond = or i1 %4, %7
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 0)
%9 = add i64 %8, 1000
%10 = add i64 %2, 24
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12, i64 %9)
store i64 %13, i64* %storemerge.reg2mem
br label LBL_8
LBL_2:
%14 = bitcast i64* %rdi to i32*
%15 = add i64 %2, 8
%16 = inttoptr i64 %15 to i32*
br i1 %4, label LBL_5, label LBL_3
LBL_3:
store i32 33488896, i32* %16, align 4
%17 = add i64 %2, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = and i32 %19, 4
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_7, label LBL_4
LBL_4:
%22 = load i32, i32* %14, align 8
%23 = or i32 %22, 2
%24 = bitcast i64* %arg1 to i32*
store i32 %23, i32* %24, align 4
br label LBL_7
LBL_5:
store i32 33161216, i32* %16, align 4
%25 = add i64 %2, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = and i32 %27, -5
store i32 %28, i32* %26, align 4
%29 = add i64 %2, 16
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = and i32 %31, -9
store i32 %32, i32* %30, align 4
%33 = add i64 %2, 4
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = and i32 %35, 8
%37 = icmp eq i32 %36, 0
br i1 %37, label LBL_7, label LBL_6
LBL_6:
%38 = load i32, i32* %14, align 8
%39 = or i32 %38, 1
%40 = bitcast i64* %arg1 to i32*
store i32 %39, i32* %40, align 4
br label LBL_7
LBL_7:
%41 = call i64 @FUNC(i64 %2)
store i64 %41, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32* %16, { 1, 0 }
uselistorder i32* %14, { 1, 0 }
uselistorder i64 %2, { 2, 3, 4, 5, 1, 6, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
CompRealVul | rar_unpack_18513 | rar_unpack | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rcx.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%sext = mul i64 %arg1, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = trunc i64 %arg2 to i32
%sext5 = mul i64 %arg3, 4294967296
%3 = ashr exact i64 %sext5, 32
%4 = icmp eq i32 %2, 29
br i1 %4, label LBL_7, label LBL_1
LBL_1:
%5 = icmp sgt i32 %2, 29
br i1 %5, label LBL_8, label LBL_2
LBL_2:
%6 = icmp eq i32 %2, 26
br i1 %6, label LBL_6, label LBL_3
LBL_3:
%7 = icmp sgt i32 %2, 26
br i1 %7, label LBL_8, label LBL_4
LBL_4:
switch i32 %2, label LBL_8 [
i32 15, label LBL_5
i32 20, label LBL_6
]
LBL_5:
%8 = and i64 %3, 4294967295
%9 = and i64 %1, 4294967295
%10 = call i64 @FUNC(i64 %9, i64 %8, i64 %0)
store i64 %10, i64* %sv_0.0.reg2mem
store i64 %8, i64* %rcx.0.reg2mem
br label LBL_11
LBL_6:
%11 = and i64 %3, 4294967295
%12 = and i64 %1, 4294967295
%13 = call i64 @FUNC(i64 %12, i64 %11, i64 %0)
store i64 %13, i64* %sv_0.0.reg2mem
store i64 %11, i64* %rcx.0.reg2mem
br label LBL_11
LBL_7:
%14 = and i64 %3, 4294967295
%15 = and i64 %1, 4294967295
%16 = call i64 @FUNC(i64 %15, i64 %14, i64 %0)
store i64 %16, i64* %sv_0.0.reg2mem
store i64 %14, i64* %rcx.0.reg2mem
br label LBL_11
LBL_8:
%17 = and i64 %3, 4294967295
%18 = and i64 %1, 4294967295
%19 = call i64 @FUNC(i64 %18, i64 %17, i64 %0)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
store i64 %19, i64* %sv_0.0.reg2mem
store i64 %17, i64* %rcx.0.reg2mem
br i1 %22, label LBL_11, label LBL_9
LBL_9:
%23 = call i64 @FUNC(i64 %18, i64 %17, i64 %0)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
store i64 %23, i64* %sv_0.0.reg2mem
store i64 %17, i64* %rcx.0.reg2mem
br i1 %26, label LBL_11, label LBL_10
LBL_10:
%27 = call i64 @FUNC(i64 %18, i64 %17, i64 %0)
store i64 %27, i64* %sv_0.0.reg2mem
store i64 %17, i64* %rcx.0.reg2mem
br label LBL_11
LBL_11:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%28 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.0.reload)
%29 = add i64 %0, 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %31)
%33 = and i64 %sv_0.0.reload, 4294967295
ret i64 %33
uselistorder i64 %18, { 1, 0, 2 }
uselistorder i64 %17, { 0, 4, 1, 3, 2, 5 }
uselistorder i64 %3, { 2, 3, 1, 0 }
uselistorder i32 %2, { 3, 2, 1, 0, 4 }
uselistorder i64 %1, { 2, 3, 1, 0 }
uselistorder i64 %0, { 4, 1, 2, 3, 6, 0, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 5, 6, 2, 1 }
uselistorder i64* %rcx.0.reg2mem, { 0, 3, 4, 5, 6, 2, 1 }
uselistorder i64 (i8*, i64)* @rar_dbgmsg, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @rar_unpack29, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @rar_unpack20, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @rar_unpack15, { 1, 0 }
uselistorder i32 26, { 1, 0 }
uselistorder i32 29, { 1, 0 }
uselistorder label LBL_11, { 2, 1, 0, 3, 4, 5 }
} | 1 |
CompRealVul | moduleLoad_4463 | moduleLoad | define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%4 = inttoptr i64 %arg1 to i8*
%5 = call i64* @dlopen(i8* %4, i32 2)
%6 = icmp eq i64* %5, null
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i8* @dlerror()
%9 = ptrtoint i8* %8 to i64
%10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %9, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%11 = call i64* @dlsym(i64* %5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))
%12 = icmp eq i64* %11, null
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %3, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%15 = ptrtoint i64* %5 to i64
%16 = ptrtoint i64* %11 to i64
%17 = load i64, i64* @gv_3, align 8
%18 = call i64 @FUNC(i64 %17, i64 undef, i64 0)
store i64 %15, i64* inttoptr (i64 8 to i64*), align 8
%19 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 undef, i64 %arg1, i64 %16, i64 %1)
%20 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %11, { 1, 0 }
uselistorder i64* %5, { 2, 0, 1 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @serverLog, { 2, 1, 0 }
uselistorder i64 %arg1, { 2, 1, 0, 3 }
} | 0 |
CompRealVul | get_buffer_sao_3242 | get_buffer_sao | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%.reg2mem13 = alloca i32
%.pre-phi8.reg2mem = alloca i32*
%storemerge34.reg2mem = alloca i32
%.reg2mem11 = alloca i64
%.reg2mem9 = alloca i64*
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = trunc i64 %1 to i32
%5 = add i32 %4, 2
%6 = bitcast i64* %arg2 to i32*
store i32 %5, i32* %6, align 4
%7 = add i64 %3, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i32 %9, 2
%11 = add i64 %2, 4
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
store i64 %3, i64* %rdi, align 8
%13 = call i64 @FUNC(i64 %3, i64 %2, i64 1)
%14 = trunc i64 %13 to i32
%15 = icmp slt i32 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_1, label LBL_3
LBL_1:
%17 = trunc i64 %3 to i32
%18 = add i64 %2, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = icmp eq i64 %20, 0
%22 = icmp eq i1 %21, false
store i32* %8, i32** %.pre-phi8.reg2mem
store i32 %17, i32* %.reg2mem13
br i1 %22, label LBL_2, label LBL_6
LBL_2:
%23 = bitcast i64* %rdi to i32*
%24 = add i64 %2, 72
store i64 %20, i64* %.reg2mem
store i64* %19, i64** %.reg2mem9
store i64 0, i64* %.reg2mem11
store i32 0, i32* %storemerge34.reg2mem
br label LBL_4
LBL_3:
%25 = and i64 %13, 4294967295
store i64 %25, i64* %storemerge.reg2mem
br label LBL_7
LBL_4:
%storemerge34.reload = load i32, i32* %storemerge34.reg2mem
%.reload12 = load i64, i64* %.reg2mem11
%.reload10 = load i64*, i64** %.reg2mem9
%.reload = load i64, i64* %.reg2mem
%26 = mul i64 %.reload12, 4
%27 = add i64 %24, %26
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = urem i32 %29, 32
%31 = shl i32 1, %30
%32 = add i32 %31, %29
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 4
%35 = add i64 %34, %.reload
store i64 %35, i64* %.reload10, align 8
%36 = add i32 %storemerge34.reload, 1
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 8
%39 = add i64 %38, %18
%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* %.reg2mem
store i64* %40, i64** %.reg2mem9
store i64 %37, i64* %.reg2mem11
store i32 %36, i32* %storemerge34.reg2mem
br i1 %43, label LBL_4, label LBL_5
LBL_5:
%.pre = load i32, i32* %23, align 8
%.pre5 = load i64, i64* %rdi, align 8
%.pre6 = add i64 %.pre5, 4
%.pre7 = inttoptr i64 %.pre6 to i32*
store i32* %.pre7, i32** %.pre-phi8.reg2mem
store i32 %.pre, i32* %.reg2mem13
br label LBL_6
LBL_6:
%.reload14 = load i32, i32* %.reg2mem13
%.pre-phi8.reload = load i32*, i32** %.pre-phi8.reg2mem
store i32 %.reload14, i32* %6, align 4
%44 = load i32, i32* %.pre-phi8.reload, align 4
store i32 %44, i32* %12, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %29, { 1, 0 }
uselistorder i64* %rdi, { 0, 2, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64** %.reg2mem9, { 1, 0, 2 }
uselistorder i64* %.reg2mem11, { 1, 0, 2 }
uselistorder i32* %storemerge34.reg2mem, { 1, 0, 2 }
uselistorder i32** %.pre-phi8.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem13, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 2, 0, 1 }
uselistorder i64 4, { 3, 0, 1, 4, 5, 2, 6 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | bmp_getint32_13536 | bmp_getint32 | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge1.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, -1
%4 = icmp eq i1 %3, false
store i64 %1, i64* %.reg2mem
store i64 0, i64* %storemerge3.reg2mem
store i32 4, i32* %sv_0.02.reg2mem
store i64 4294967295, i64* %storemerge1.reg2mem
br i1 %4, label LBL_1, label LBL_5
LBL_1:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%sext = mul i64 %.reload, 4294967296
%5 = ashr exact i64 %sext, 8
%6 = or i64 %5, %storemerge3.reload
%7 = add nsw i32 %sv_0.02.reload, -1
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = udiv i64 %6, 256
%10 = call i64 @FUNC(i64 %0)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, -1
%13 = icmp eq i1 %12, false
store i64 %10, i64* %.reg2mem
store i64 %9, i64* %storemerge3.reg2mem
store i32 %7, i32* %sv_0.02.reg2mem
store i64 4294967295, i64* %storemerge1.reg2mem
br i1 %13, label LBL_1, label LBL_5
LBL_3:
%14 = icmp eq i64* %arg2, null
store i64 0, i64* %storemerge1.reg2mem
br i1 %14, label LBL_5, label LBL_4
LBL_4:
store i64 %6, i64* %arg2, align 8
store i64 0, i64* %storemerge1.reg2mem
br label LBL_5
LBL_5:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
ret i64 %storemerge1.reload
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge1.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i32 -1, { 2, 1, 0 }
uselistorder i64 (i64)* @jas_stream_getc, { 1, 0 }
uselistorder label LBL_5, { 3, 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | handle_tracking_8931 | handle_tracking | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%1 = alloca i16
%2 = ptrtoint i64* %arg2 to i64
%3 = load i32, i32* %0
%4 = load i32, i32* %0
%5 = load i32, i32* %0
%6 = load i32, i32* %0
%7 = load i32, i32* %0
%8 = load i32, i32* %0
%9 = load i32, i32* %0
%10 = load i32, i32* %0
%11 = load i32, i32* %0
%sv_0 = alloca i64, align 8
%12 = load i16, i16* %1
%13 = load i16, i16* %1
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%14 = bitcast i32* %sv_2 to i64*
%15 = call i64 @FUNC(i64* nonnull %14)
%16 = call i16 @htons(i16 0)
%17 = bitcast i64* %arg2 to i16*
store i16 %16, i16* %17, align 2
%18 = call i16 @htons(i16 1)
%19 = add i64 %2, 2
%20 = inttoptr i64 %19 to i16*
store i16 %18, i16* %20, align 2
%21 = load i32, i32* %sv_2, align 4
%22 = call i32 @htonl(i32 %21)
%23 = add i64 %2, 8
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = add i64 %2, 12
%26 = call i64 @FUNC(i64* nonnull %sv_1, i64 %25)
%27 = call i16 @htons(i16 %13)
%28 = add i64 %2, 16
%29 = inttoptr i64 %28 to i16*
store i16 %27, i16* %29, align 2
%30 = call i16 @htons(i16 %12)
%31 = add i64 %2, 18
%32 = inttoptr i64 %31 to i16*
store i16 %30, i16* %32, align 2
%33 = add i64 %2, 24
%34 = call i64 @FUNC(i64* nonnull %sv_0, i64 %33)
%35 = call i128 @FUNC(i32 %11)
%36 = call i128 @FUNC()
%37 = call i32 @__asm_movd.2(i128 %36)
%38 = add i64 %2, 40
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = call i128 @FUNC(i32 %10)
%41 = call i128 @FUNC()
%42 = call i32 @__asm_movd.2(i128 %41)
%43 = add i64 %2, 44
%44 = inttoptr i64 %43 to i32*
store i32 %42, i32* %44, align 4
%45 = call i128 @FUNC(i32 %9)
%46 = call i128 @FUNC()
%47 = call i32 @__asm_movd.2(i128 %46)
%48 = add i64 %2, 48
%49 = inttoptr i64 %48 to i32*
store i32 %47, i32* %49, align 4
%50 = call i128 @FUNC(i32 %8)
%51 = call i128 @FUNC()
%52 = call i32 @__asm_movd.2(i128 %51)
%53 = add i64 %2, 52
%54 = inttoptr i64 %53 to i32*
store i32 %52, i32* %54, align 4
%55 = call i128 @FUNC(i32 %7)
%56 = call i128 @FUNC()
%57 = call i32 @__asm_movd.2(i128 %56)
%58 = add i64 %2, 56
%59 = inttoptr i64 %58 to i32*
store i32 %57, i32* %59, align 4
%60 = call i128 @FUNC(i32 %6)
%61 = call i128 @FUNC()
%62 = call i32 @__asm_movd.2(i128 %61)
%63 = add i64 %2, 60
%64 = inttoptr i64 %63 to i32*
store i32 %62, i32* %64, align 4
%65 = call i128 @FUNC(i32 %5)
%66 = call i128 @FUNC()
%67 = call i32 @__asm_movd.2(i128 %66)
%68 = add i64 %2, 64
%69 = inttoptr i64 %68 to i32*
store i32 %67, i32* %69, align 4
%70 = call i128 @FUNC(i32 %4)
%71 = call i128 @FUNC()
%72 = call i32 @__asm_movd.2(i128 %71)
%73 = add i64 %2, 68
%74 = inttoptr i64 %73 to i32*
store i32 %72, i32* %74, align 4
%75 = call i128 @FUNC(i32 %3)
%76 = call i128 @FUNC()
%77 = call i32 @__asm_movd.2(i128 %76)
%78 = sext i32 %77 to i64
%79 = add i64 %2, 72
%80 = inttoptr i64 %79 to i32*
store i32 %77, i32* %80, align 4
ret i64 %78
uselistorder i64 %2, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i16* %1, { 1, 0 }
uselistorder i32* %0, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i128 ()* @UTI_FloatHostToNetwork, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 (i32)* @htonl, { 3, 2, 1, 0 }
uselistorder i16 (i16)* @htons, { 3, 2, 1, 0 }
} | 0 |
CompRealVul | gdi_CopyOverlap_4433 | gdi_CopyOverlap | define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%1 = load i32, i32* %0
%2 = load i32, i32* %0
%3 = load i32, i32* %0
%4 = load i32, i32* %0
%5 = load i32, i32* %0
%6 = load i32, i32* %0
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%7 = trunc i64 %arg6 to i32
%8 = and i64 %arg1, 4294967295
%9 = bitcast i32* %sv_1 to i64*
%10 = call i64 @FUNC(i64 %8, i32 %arg2, i32 %arg3, i32 %arg4, i64* nonnull %9)
%11 = and i64 %arg5, 4294967295
%12 = bitcast i32* %sv_0 to i64*
%13 = call i64 @FUNC(i64 %11, i32 %7, i32 %arg3, i32 %arg4, i64* nonnull %12)
%14 = load i32, i32* %sv_0, align 4
%15 = icmp ult i32 %6, %14
%16 = load i32, i32* %sv_1, align 4
%17 = icmp ugt i32 %16, %5
%or.cond = or i1 %15, %17
%18 = icmp ult i32 %4, %3
%or.cond4 = or i1 %18, %or.cond
%19 = icmp ugt i32 %2, %1
%or.cond5 = or i1 %19, %or.cond4
%not.or.cond5 = icmp ne i1 %or.cond5, true
%storemerge = zext i1 %not.or.cond5 to i64
ret i64 %storemerge
uselistorder i32* %0, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i32, i32, i32, i64*)* @gdi_CRgnToRect, { 1, 0 }
uselistorder i32 1, { 1, 2, 0 }
} | 0 |
CompRealVul | gen_rot_rm_T1_146 | gen_rot_rm_T1 | define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%sext = mul i64 %arg2, 4294967296
%2 = ashr exact i64 %sext, 32
%sext5 = mul i64 %arg3, 4294967296
%3 = ashr exact i64 %sext5, 32
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %1, %2
%8 = and i64 %7, 4294967295
%9 = call i64 @FUNC(i64 %8)
br label LBL_3
LBL_2:
%10 = and i64 %2, 4294967295
%11 = call i64 @FUNC(i64 %10, i64 0, i32 %4)
br label LBL_3
LBL_3:
%12 = trunc i64 %arg2 to i32
%13 = icmp eq i32 %12, 4
%14 = icmp eq i1 %13, false
%. = select i1 %14, i64 31, i64 63
%.pre-phi = trunc i64 %2 to i32
%15 = load i32, i32* @gv_0, align 4
%16 = zext i32 %15 to i64
%17 = call i64 @FUNC(i64 %16, i64 %16, i64 %.)
switch i32 %.pre-phi, label LBL_6 [
i32 1, label LBL_4
i32 2, label LBL_5
]
LBL_4:
%18 = load i32, i32* @gv_1, align 4
%19 = zext i32 %18 to i64
%20 = call i64 @FUNC(i64 %19, i64 %19)
%21 = load i32, i32* @gv_1, align 4
%22 = zext i32 %21 to i64
%23 = call i64 @FUNC(i64 %22, i64 %22, i64 16843009)
br label LBL_6
LBL_5:
%24 = load i32, i32* @gv_1, align 4
%25 = zext i32 %24 to i64
%26 = call i64 @FUNC(i64 %25, i32 %24, i32 %24, i64 16, i64 16)
br label LBL_6
LBL_6:
%27 = trunc i64 %arg4 to i32
%28 = icmp eq i32 %27, 0
%29 = load i32, i32* @gv_0, align 4
%30 = load i32, i32* @gv_1, align 4
%31 = zext i32 %30 to i64
br i1 %28, label LBL_8, label LBL_7
LBL_7:
%32 = call i64 @FUNC(i64 %31, i64 %31, i32 %29)
br label LBL_9
LBL_8:
%33 = call i64 @FUNC(i64 %31, i64 %31, i32 %29)
br label LBL_9
LBL_9:
br i1 %6, label LBL_11, label LBL_10
LBL_10:
%34 = add i64 %1, %2
%35 = and i64 %34, 4294967295
%36 = call i64 @FUNC(i64 %35)
br label LBL_12
LBL_11:
%37 = and i64 %3, 4294967295
%38 = and i64 %2, 4294967295
%39 = call i64 @FUNC(i64 %38, i64 %37)
br label LBL_12
LBL_12:
%40 = ptrtoint i32* %arg1 to i64
%41 = call i64 @FUNC(i64 %40)
br i1 %28, label LBL_14, label LBL_13
LBL_13:
%42 = add nsw i64 %., -1
%43 = load i32, i32* @gv_1, align 4
%44 = load i32, i32* @gv_2, align 4
%45 = zext i32 %43 to i64
%46 = zext i32 %44 to i64
%47 = call i64 @FUNC(i64 %46, i64 %45, i64 %42)
%48 = load i32, i32* @gv_1, align 4
%49 = load i32, i32* @gv_3, align 4
%50 = zext i32 %48 to i64
%51 = zext i32 %49 to i64
%52 = call i64 @FUNC(i64 %51, i64 %50, i64 %.)
br label LBL_15
LBL_14:
%53 = load i32, i32* @gv_1, align 4
%54 = load i32, i32* @gv_2, align 4
%55 = zext i32 %53 to i64
%56 = zext i32 %54 to i64
%57 = call i64 @FUNC(i64 %56, i64 %55, i64 %.)
%58 = load i32, i32* @gv_1, align 4
%59 = load i32, i32* @gv_3, align 4
%60 = zext i32 %58 to i64
%61 = zext i32 %59 to i64
%62 = call i64 @FUNC(i64 %61, i64 %60, i64 1)
br label LBL_15
LBL_15:
%63 = load i32, i32* @gv_2, align 4
%64 = zext i32 %63 to i64
%65 = call i64 @FUNC(i64 %64, i64 %64, i64 1)
%66 = load i32, i32* @gv_3, align 4
%67 = load i32, i32* @gv_2, align 4
%68 = zext i32 %67 to i64
%69 = call i64 @FUNC(i64 %68, i64 %68, i32 %66)
%70 = call i64 @FUNC(i64 0)
%71 = trunc i64 %70 to i32
%72 = call i64 @FUNC()
%73 = trunc i64 %72 to i32
%74 = load i32, i32* @gv_0, align 4
%75 = zext i32 %74 to i64
%76 = and i64 %72, 4294967295
%77 = call i64 @FUNC(i64 %76, i64 %75)
%78 = load i32, i32* @gv_4, align 4
%79 = zext i32 %78 to i64
%80 = call i64 @FUNC(i64 %79, i64 1)
%81 = load i32, i32* @gv_5, align 4
%82 = zext i32 %81 to i64
%83 = call i64 @FUNC(i64 %82, i64 2)
%84 = load i32, i32* @gv_5, align 4
%85 = load i32, i32* @gv_4, align 4
%86 = load i32, i32* @gv_6, align 4
%87 = zext i32 %84 to i64
%88 = zext i32 %85 to i64
%89 = zext i32 %86 to i64
%90 = call i64 @FUNC(i64 4, i64 %89, i32 %73, i32 %71, i64 %88, i64 %87)
%91 = and i64 %70, 4294967295
%92 = call i64 @FUNC(i64 %91)
%93 = call i64 @FUNC(i64 %76)
%94 = call i64 @FUNC(i64 %40, i64 3)
ret i64 %94
uselistorder i64 %68, { 1, 0 }
uselistorder i64 %64, { 1, 0 }
uselistorder i64 %31, { 3, 0, 2, 1 }
uselistorder i32 %29, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %., { 2, 0, 1, 3 }
uselistorder i64 %2, { 3, 0, 2, 4, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 }
uselistorder i32* @gv_5, { 1, 0 }
uselistorder i64 (i64, i64)* @tcg_gen_movi_i32, { 1, 0 }
uselistorder i32* @gv_4, { 1, 0 }
uselistorder i32* @gv_3, { 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @tcg_gen_shri_tl, { 2, 1, 0 }
uselistorder i32* @gv_2, { 3, 2, 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i32* @gv_1, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_tl, { 2, 1, 0 }
uselistorder i32* @gv_0, { 2, 1, 0 }
uselistorder i64 4294967295, { 5, 6, 3, 4, 0, 2, 1, 7 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
} | 1 |
CompRealVul | gen_push_v_9966 | gen_push_v | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = trunc i64 %4 to i32
%6 = call i64 @FUNC(i64 %2)
%7 = urem i32 %5, 32
%8 = shl i32 1, %7
%9 = load i32, i32* @gv_0, align 4
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 0, i64 %10, i32 %8)
%12 = add i64 %2, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = call i64 @FUNC(i64 3, i64 0)
store i32 3, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%17 = trunc i64 %6 to i32
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%18 = call i64 @FUNC(i64 %2, i32 %17, i64 0, i64 2, i64 4294967295)
%19 = trunc i64 %arg2 to i32
%20 = call i64 @FUNC(i64 %2, i32 %5, i32 %19, i64 0)
%21 = and i64 %6, 4294967295
%22 = call i64 @FUNC(i64 %21, i64 1, i32 %sv_0.0.reload)
ret i64 %22
uselistorder i32 %5, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2, 3, 4 }
uselistorder i64 4294967295, { 1, 2, 0 }
} | 0 |
CompRealVul | kvm_pin_pages_5266 | kvm_pin_pages | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.02.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %arg2)
%2 = call i64 @FUNC(i64 %1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_1, label LBL_3
LBL_1:
%5 = add i64 %arg3, %arg2
%sv_0.01 = add i64 %arg2, 1
%6 = icmp ult i64 %sv_0.01, %5
store i64 %sv_0.01, i64* %sv_0.02.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
%sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem
%7 = call i64 @FUNC(i64 %0, i64 %sv_0.02.reload)
%sv_0.0 = add i64 %sv_0.02.reload, 1
%exitcond = icmp eq i64 %sv_0.0, %5
store i64 %sv_0.0, i64* %sv_0.02.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
ret i64 %1
uselistorder i64 %sv_0.02.reload, { 1, 0 }
uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64, i64)* @gfn_to_pfn_memslot, { 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | q35_host_class_init_3216 | q35_host_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198694, i64* %arg1, align 8
%1 = load i64, i64* @gv_0, align 8
%2 = add i64 %0, 32
%3 = inttoptr i64 %2 to i64*
store i64 %1, i64* %3, align 8
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i8*
store i8 0, i8* %5, align 1
%6 = add i64 %0, 24
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = or i64 %8, 1
store i64 %9, i64* %7, align 8
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i64*
store i64 ptrtoint ([4 x i8]* @gv_1 to i64), i64* %11, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4 }
} | 0 |
CompRealVul | fix_table_storage_name_4722 | fix_table_storage_name | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = inttoptr i64 %arg1 to i8*
%1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 9)
%2 = icmp eq i32 %1, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = add i64 %arg1, 9
%4 = call i64 @FUNC(i64* nonnull %sv_0, i64 356, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3)
%5 = call i64 @FUNC(i64* nonnull %sv_0)
%6 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = trunc i64 %5 to i32
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* %0, i8* %10)
br label LBL_3
LBL_3:
%12 = and i64 %5, 4294967295
store i64 %12, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 0, { 5, 6, 1, 2, 3, 4, 7, 8, 9, 10, 0, 11, 12, 13, 14 }
uselistorder i32 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | utf16be_to_utf8_12126 | utf16be_to_utf8 | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.reg2mem43 = alloca i64
%sv_0.0.lcssa.in.reg2mem = alloca i64
%sv_1.015.reg2mem = alloca i32
%sv_0.0.in16.reg2mem = alloca i64
%sv_1.0.ph.ph.reg2mem = alloca i32
%sv_2.110.ph.ph.reg2mem = alloca i32
%sv_0.118.in.reg2mem = alloca i64
%.reg2mem41 = alloca i32*
%.reg2mem39 = alloca i64
%sv_3.0.lcssa.reg2mem = alloca i32
%sv_3.0.be.reg2mem = alloca i32
%.reg2mem37 = alloca i32*
%.reg2mem35 = alloca i32*
%sv_3.020.reg2mem = alloca i32
%.reg2mem33 = alloca i32*
%.reg2mem = alloca i64
%sv_4 = alloca i32*, align 8
%sext = mul i64 %arg2, 4294967296
store i32* %arg1, i32** %sv_4, align 8
%0 = icmp slt i64 %arg2, 0
%1 = trunc i64 %arg2 to i32
%2 = zext i1 %0 to i32
%3 = add i32 %2, %1
%4 = urem i32 %3, 2
%5 = sub nsw i32 %4, %2
%6 = icmp eq i32 %5, 1
%7 = icmp eq i1 %6, false
%sext5 = add i64 %sext, -4294967296
%spec.select = select i1 %7, i64 %sext, i64 %sext5
%8 = udiv i64 %spec.select, 4294967296
%9 = trunc i64 %8 to i32
%10 = lshr i64 %spec.select, 63
%11 = trunc i64 %10 to i32
%12 = add i32 %11, %9
%13 = ashr i32 %12, 1
%14 = zext i32 %13 to i64
%15 = mul i64 %14, 2
%16 = ptrtoint i32* %arg1 to i64
%17 = add i64 %15, %16
%18 = icmp ugt i64 %17, %16
store i64 %16, i64* %.reg2mem
store i32* %arg1, i32** %.reg2mem33
store i32 0, i32* %sv_3.020.reg2mem
br i1 %18, label LBL_2, label LBL_1
LBL_1:
%19 = bitcast i32** %sv_4 to i64*
store i64 %16, i64* %19, align 8
%20 = call i64 @FUNC(i64 4202512, i64 0)
store i64 %20, i64* %.reg2mem43
br label LBL_25
LBL_2:
%sv_3.020.reload = load i32, i32* %sv_3.020.reg2mem
%.reload34 = load i32*, i32** %.reg2mem33
%.reload = load i64, i64* %.reg2mem
%21 = add i64 %.reload, 1
%22 = bitcast i32* %.reload34 to i8*
%23 = load i8, i8* %22, align 1
%24 = zext i8 %23 to i32
%25 = inttoptr i64 %21 to i8*
%26 = load i8, i8* %25, align 1
%27 = add i64 %.reload, 2
%28 = inttoptr i64 %27 to i32*
store i32* %28, i32** %sv_4, align 8
%29 = and i32 %24, 252
%30 = icmp eq i32 %29, 216
%31 = icmp eq i1 %30, false
store i32* %28, i32** %.reg2mem35
br i1 %31, label LBL_5, label LBL_3
LBL_3:
%32 = icmp ugt i64 %17, %27
%33 = icmp eq i1 %32, false
store i32 %sv_3.020.reload, i32* %sv_3.0.lcssa.reg2mem
br i1 %33, label LBL_12, label LBL_4
LBL_4:
%34 = inttoptr i64 %27 to i8*
%35 = load i8, i8* %34, align 1
%36 = add i64 %.reload, 4
%37 = inttoptr i64 %36 to i32*
store i32* %37, i32** %sv_4, align 8
%38 = and i8 %35, -4
%39 = icmp eq i8 %38, -36
%40 = icmp eq i1 %39, false
store i32* %37, i32** %.reg2mem35
br i1 %40, label LBL_5, label LBL_11
LBL_5:
%41 = mul i32 %24, 256
%42 = zext i8 %26 to i32
%43 = or i32 %41, %42
%.reload36 = load i32*, i32** %.reg2mem35
%44 = icmp ult i32 %43, 128
br i1 %44, label LBL_6, label LBL_8
LBL_6:
%45 = add i32 %sv_3.020.reload, 1
store i32* %.reload36, i32** %.reg2mem37
store i32 %45, i32* %sv_3.0.be.reg2mem
br label LBL_7
LBL_7:
%sv_3.0.be.reload = load i32, i32* %sv_3.0.be.reg2mem
%.reload38 = load i32*, i32** %.reg2mem37
%46 = ptrtoint i32* %.reload38 to i64
%47 = icmp ugt i64 %17, %46
store i64 %46, i64* %.reg2mem
store i32* %.reload38, i32** %.reg2mem33
store i32 %sv_3.0.be.reload, i32* %sv_3.020.reg2mem
store i32 %sv_3.0.be.reload, i32* %sv_3.0.lcssa.reg2mem
br i1 %47, label LBL_2, label LBL_12
LBL_8:
%48 = icmp ult i32 %43, 2048
br i1 %48, label LBL_9, label LBL_10
LBL_9:
%49 = add i32 %sv_3.020.reload, 2
store i32* %.reload36, i32** %.reg2mem37
store i32 %49, i32* %sv_3.0.be.reg2mem
br label LBL_7
LBL_10:
%50 = add i32 %sv_3.020.reload, 3
store i32* %.reload36, i32** %.reg2mem37
store i32 %50, i32* %sv_3.0.be.reg2mem
br label LBL_7
LBL_11:
%51 = add i32 %sv_3.020.reload, 4
store i32* %37, i32** %.reg2mem37
store i32 %51, i32* %sv_3.0.be.reg2mem
br label LBL_7
LBL_12:
%sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem
%52 = bitcast i32** %sv_4 to i64*
store i64 %16, i64* %52, align 8
%53 = zext i32 %sv_3.0.lcssa.reload to i64
%54 = call i64 @FUNC(i64 4202512, i64 %53)
store i64 %16, i64* %.reg2mem39
store i32* %arg1, i32** %.reg2mem41
store i64 %54, i64* %sv_0.118.in.reg2mem
br label LBL_13
LBL_13:
%sv_0.118.in.reload = load i64, i64* %sv_0.118.in.reg2mem
%.reload42 = load i32*, i32** %.reg2mem41
%.reload40 = load i64, i64* %.reg2mem39
%sv_0.118 = inttoptr i64 %sv_0.118.in.reload to i8*
%55 = add i64 %.reload40, 1
%56 = bitcast i32* %.reload42 to i8*
%57 = load i8, i8* %56, align 1
%58 = zext i8 %57 to i32
%59 = mul i32 %58, 256
%60 = inttoptr i64 %55 to i8*
%61 = load i8, i8* %60, align 1
%62 = zext i8 %61 to i32
%63 = or i32 %59, %62
%64 = add i64 %.reload40, 2
%65 = inttoptr i64 %64 to i32*
store i32* %65, i32** %sv_4, align 8
%66 = and i32 %58, 252
%67 = icmp eq i32 %66, 216
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_17, label LBL_14
LBL_14:
%69 = icmp ugt i64 %17, %64
%70 = icmp eq i1 %69, false
store i64 %54, i64* %.reg2mem43
br i1 %70, label LBL_25, label LBL_15
LBL_15:
%71 = add i64 %.reload40, 3
%72 = inttoptr i64 %64 to i8*
%73 = load i8, i8* %72, align 1
%74 = zext i8 %73 to i32
%75 = inttoptr i64 %71 to i8*
%76 = load i8, i8* %75, align 1
%77 = add i64 %.reload40, 4
%78 = inttoptr i64 %77 to i32*
store i32* %78, i32** %sv_4, align 8
%79 = and i32 %74, 252
%80 = icmp eq i32 %79, 220
%81 = icmp eq i1 %80, false
br i1 %81, label LBL_17, label LBL_16
LBL_16:
%82 = mul i32 %74, 256
%83 = zext i8 %76 to i32
%84 = mul i32 %63, 1024
%85 = and i32 %84, 1047552
%.masked = and i32 %82, 768
%86 = or i32 %85, %83
%87 = or i32 %86, %.masked
%88 = add nuw nsw i32 %87, 65536
%89 = udiv i32 %88, 262144
%90 = trunc i32 %89 to i8
%91 = urem i8 %90, 8
%92 = or i8 %91, -16
store i8 %92, i8* %sv_0.118, align 1
store i32 %88, i32* %sv_2.110.ph.ph.reg2mem
store i32 12, i32* %sv_1.0.ph.ph.reg2mem
br label LBL_22
LBL_17:
%93 = icmp ult i32 %63, 128
br i1 %93, label LBL_21, label LBL_18
LBL_18:
%94 = icmp ult i32 %63, 2048
br i1 %94, label LBL_19, label LBL_20
LBL_19:
%95 = udiv i32 %63, 64
%96 = trunc i32 %95 to i8
%97 = urem i8 %96, 32
%98 = or i8 %97, -64
store i8 %98, i8* %sv_0.118, align 1
store i32 %63, i32* %sv_2.110.ph.ph.reg2mem
store i32 0, i32* %sv_1.0.ph.ph.reg2mem
br label LBL_22
LBL_20:
%99 = udiv i8 %57, 16
%100 = or i8 %99, -32
store i8 %100, i8* %sv_0.118, align 1
store i32 %63, i32* %sv_2.110.ph.ph.reg2mem
store i32 6, i32* %sv_1.0.ph.ph.reg2mem
br label LBL_22
LBL_21:
store i8 %61, i8* %sv_0.118, align 1
%sv_0.0.in13 = add i64 %sv_0.118.in.reload, 1
store i64 %sv_0.0.in13, i64* %sv_0.0.lcssa.in.reg2mem
br label LBL_24
LBL_22:
%sv_1.0.ph.ph.reload = load i32, i32* %sv_1.0.ph.ph.reg2mem
%sv_2.110.ph.ph.reload = load i32, i32* %sv_2.110.ph.ph.reg2mem
%sv_0.0.in1326 = add i64 %sv_0.118.in.reload, 1
store i64 %sv_0.0.in1326, i64* %sv_0.0.in16.reg2mem
store i32 %sv_1.0.ph.ph.reload, i32* %sv_1.015.reg2mem
br label LBL_23
LBL_23:
%sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem
%sv_0.0.in16.reload = load i64, i64* %sv_0.0.in16.reg2mem
%sv_0.017 = inttoptr i64 %sv_0.0.in16.reload to i8*
%101 = and i32 %sv_1.015.reload, 30
%102 = lshr i32 %sv_2.110.ph.ph.reload, %101
%103 = trunc i32 %102 to i8
%104 = urem i8 %103, 64
%105 = or i8 %104, -128
store i8 %105, i8* %sv_0.017, align 1
%106 = add i32 %sv_1.015.reload, -6
%sv_0.0.in = add i64 %sv_0.0.in16.reload, 1
%107 = icmp slt i32 %106, 0
%108 = icmp eq i1 %107, false
store i64 %sv_0.0.in, i64* %sv_0.0.in16.reg2mem
store i32 %106, i32* %sv_1.015.reg2mem
store i64 %sv_0.0.in, i64* %sv_0.0.lcssa.in.reg2mem
br i1 %108, label LBL_23, label LBL_24
LBL_24:
%sv_0.0.lcssa.in.reload = load i64, i64* %sv_0.0.lcssa.in.reg2mem
%109 = load i32*, i32** %sv_4, align 8
%110 = ptrtoint i32* %109 to i64
%111 = icmp ugt i64 %17, %110
store i64 %110, i64* %.reg2mem39
store i32* %109, i32** %.reg2mem41
store i64 %sv_0.0.lcssa.in.reload, i64* %sv_0.118.in.reg2mem
store i64 %54, i64* %.reg2mem43
br i1 %111, label LBL_13, label LBL_25
LBL_25:
%.reload44 = load i64, i64* %.reg2mem43
ret i64 %.reload44
uselistorder i32 %63, { 0, 1, 3, 4, 5, 2 }
uselistorder i32 %58, { 1, 0 }
uselistorder i8* %sv_0.118, { 1, 3, 2, 0 }
uselistorder i64 %.reload40, { 0, 2, 1, 3 }
uselistorder i64 %sv_0.118.in.reload, { 1, 2, 0 }
uselistorder i32* %.reload38, { 1, 0 }
uselistorder i32 %sv_3.020.reload, { 1, 4, 3, 2, 0 }
uselistorder i64 %17, { 2, 1, 4, 3, 0 }
uselistorder i64 %16, { 0, 4, 3, 1, 5, 2 }
uselistorder i64 %spec.select, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i32** %sv_4, { 7, 6, 5, 1, 4, 3, 0, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32** %.reg2mem33, { 2, 0, 1 }
uselistorder i32* %sv_3.020.reg2mem, { 2, 0, 1 }
uselistorder i32** %.reg2mem35, { 0, 2, 1 }
uselistorder i32** %.reg2mem37, { 1, 2, 3, 0, 4 }
uselistorder i32* %sv_3.0.be.reg2mem, { 1, 2, 3, 0, 4 }
uselistorder i64* %.reg2mem39, { 1, 0, 2 }
uselistorder i32** %.reg2mem41, { 1, 0, 2 }
uselistorder i64* %sv_0.118.in.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.110.ph.ph.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_1.0.ph.ph.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %sv_0.0.in16.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 }
uselistorder i32 2048, { 1, 0 }
uselistorder i32 128, { 1, 0 }
uselistorder i32 216, { 1, 0 }
uselistorder i32 252, { 1, 2, 0 }
uselistorder i64 1, { 2, 0, 1, 3, 4 }
uselistorder i64 (i64, i64)* @sdsnewlen, { 1, 0 }
uselistorder i64 4202512, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i64 2, { 1, 2, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i64 4294967296, { 1, 0 }
uselistorder i64 %arg2, { 2, 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_22, { 1, 2, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_7, { 3, 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | guest_cpuid_has_xsave_4215 | guest_cpuid_has_xsave | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 0)
%1 = trunc i64 %0 to i8
%2 = icmp eq i8 %1, 1
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 1, i64 0)
%5 = icmp eq i64 %4, 0
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = inttoptr i64 %4 to i32*
%7 = load i32, i32* %6, align 4
%8 = urem i32 %7, 2
%9 = icmp eq i32 %8, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %9, label LBL_3, label LBL_4
LBL_3:
store i64 0, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 1, { 0, 2, 1 }
} | 0 |
CompRealVul | rv40_loop_filter_62 | rv40_loop_filter | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%.lcssa.reg2mem = alloca i64
%indvars.iv126.reg2mem = alloca i64
%storemerge43.reg2mem = alloca i32
%sv_0.0103.reg2mem = alloca i64
%indvars.iv120.reg2mem = alloca i64
%storemerge4108.reg2mem = alloca i32
%indvars.iv123.reg2mem = alloca i64
%storemerge44.reg2mem = alloca i32
%sv_1.095.reg2mem = alloca i32
%sv_2.096.reg2mem = alloca i64
%storemerge22101.reg2mem = alloca i32
%indvars.iv116.reg2mem = alloca i64
%.pre-phi129.reg2mem = alloca i32*
%indvars.iv.reg2mem = alloca i64
%sv_3.1110.reg2mem = alloca i32
%sv_4.1111.reg2mem = alloca i32
%sv_3.0112.reg2mem = alloca i32
%sv_4.0113.reg2mem = alloca i32
%rdi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = load i32, i32* %1
%5 = load i32, i32* %1
%6 = load i32, i32* %1
%7 = load i32, i32* %1
%8 = load i32, i32* %1
%9 = load i32, i32* %1
%10 = load i32, i32* %1
%11 = load i32, i32* %1
%12 = load i32, i32* %1
%13 = load i32, i32* %1
%14 = load i32, i32* %1
%15 = load i32, i32* %1
%16 = load i32, i32* %1
%sv_5 = alloca i64, align 8
%sv_6 = alloca i64, align 8
%17 = add i64 %3, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %20, label LBL_58, label LBL_1
LBL_1:
%21 = ptrtoint i64* %sv_6 to i64
%22 = ptrtoint i64* %sv_5 to i64
%23 = bitcast i64* %rdi to i32*
%24 = trunc i64 %arg2 to i32
%25 = trunc i64 %2 to i32
%26 = mul i32 %25, %24
%27 = add i64 %3, 24
%28 = inttoptr i64 %27 to i64*
%29 = add i64 %3, 56
%30 = inttoptr i64 %29 to i64*
%31 = add i64 %3, 40
%32 = inttoptr i64 %31 to i64*
%33 = add i64 %3, 48
%34 = inttoptr i64 %33 to i64*
store i32 %26, i32* %sv_4.0113.reg2mem
store i32 0, i32* %sv_3.0112.reg2mem
br label LBL_2
LBL_2:
%sv_3.0112.reload = load i32, i32* %sv_3.0112.reg2mem
%sv_4.0113.reload = load i32, i32* %sv_4.0113.reg2mem
%35 = load i64, i64* %28, align 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = sext i32 %sv_4.0113.reload to i64
%39 = mul i64 %38, 4
%40 = add i64 %37, %39
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = urem i32 %42, 4
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_4, label LBL_3
LBL_3:
%45 = load i64, i64* %30, align 8
%46 = add i64 %45, %39
%47 = inttoptr i64 %46 to i32*
store i32 65535, i32* %47, align 4
%48 = load i64, i64* %32, align 8
%49 = add i64 %48, %39
%50 = inttoptr i64 %49 to i32*
store i32 65535, i32* %50, align 4
br label LBL_4
LBL_4:
%51 = urem i32 %42, 2
%52 = icmp eq i32 %51, 0
br i1 %52, label LBL_6, label LBL_5
LBL_5:
%53 = load i64, i64* %34, align 8
%54 = add i64 %53, %39
%55 = inttoptr i64 %54 to i32*
store i32 255, i32* %55, align 4
br label LBL_6
LBL_6:
%56 = add i32 %sv_3.0112.reload, 1
%57 = add i32 %sv_4.0113.reload, 1
%58 = load i32, i32* %18, align 4
%59 = zext i32 %58 to i64
%60 = sext i32 %56 to i64
%61 = icmp slt i64 %60, %59
store i32 %57, i32* %sv_4.0113.reg2mem
store i32 %56, i32* %sv_3.0112.reg2mem
br i1 %61, label LBL_2, label LBL_7
LBL_7:
%62 = icmp eq i32 %58, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %62, label LBL_58, label LBL_8
LBL_8:
%63 = load i32, i32* %23, align 8
%64 = mul i32 %63, %24
%65 = add i64 %3, 12
%66 = inttoptr i64 %65 to i32*
%67 = add i64 %3, 16
%68 = inttoptr i64 %67 to i32*
%69 = add i64 %21, -224
%70 = add i64 %21, -220
%71 = mul i32 %15, 65536
%72 = or i32 %71, %16
%73 = mul i32 %14, 16
%74 = or i32 %72, %73
%75 = mul i32 %14, 2
%76 = and i32 %75, -4
%77 = udiv i32 %13, 8
%78 = urem i32 %77, 2
%79 = or i32 %76, %78
%80 = or i32 %79, %72
%81 = and i32 %80, -3
%82 = icmp eq i32 %24, 0
%83 = icmp eq i1 %82, false
%84 = and i32 %74, -2
%sv_7.0 = select i1 %83, i32 %74, i32 %84
%85 = add i64 %3, 8
%86 = inttoptr i64 %85 to i32*
%87 = or i32 %12, %11
%88 = icmp eq i32 %87, 0
%89 = and i32 %sv_7.0, -65537
%90 = mul i32 %24, 16
%91 = add i64 %3, 32
%92 = inttoptr i64 %91 to i32*
%93 = add i64 %3, 64
%94 = add i64 %22, -8
%95 = inttoptr i64 %94 to i64*
%96 = add i64 %22, -16
%97 = inttoptr i64 %96 to i64*
%98 = add i64 %22, -24
%99 = inttoptr i64 %98 to i64*
%100 = add i64 %22, -32
%101 = inttoptr i64 %100 to i64*
%102 = add i64 %22, -40
%103 = inttoptr i64 %102 to i64*
%104 = add i64 %22, -48
%105 = inttoptr i64 %104 to i64*
%106 = or i32 %12, %9
%107 = icmp eq i32 %106, 0
%108 = icmp eq i1 %107, false
%109 = or i32 %12, %6
%110 = icmp eq i32 %109, 0
%111 = mul i32 %24, 2
%112 = add i64 %3, 36
%113 = inttoptr i64 %112 to i32*
store i32 %64, i32* %sv_4.1111.reg2mem
store i32 0, i32* %sv_3.1110.reg2mem
br label LBL_9
LBL_9:
%sv_3.1110.reload = load i32, i32* %sv_3.1110.reg2mem
%sv_4.1111.reload = load i32, i32* %sv_4.1111.reg2mem
%114 = load i64, i64* %28, align 8
%115 = add i64 %114, 8
%116 = inttoptr i64 %115 to i64*
%117 = load i64, i64* %116, align 8
%118 = sext i32 %sv_4.1111.reload to i64
%119 = mul i64 %118, 4
%120 = add i64 %117, %119
%121 = inttoptr i64 %120 to i32*
%122 = load i32, i32* %121, align 4
%123 = sext i32 %122 to i64
%124 = mul i64 %123, 4
%125 = add i64 %124, ptrtoint (i32** @gv_0 to i64)
%126 = inttoptr i64 %125 to i32*
%127 = load i32, i32* %126, align 4
%128 = add i64 %124, ptrtoint (i32** @gv_1 to i64)
%129 = inttoptr i64 %128 to i32*
%130 = load i32, i32* %129, align 4
%131 = load i32, i32* %66, align 4
%132 = load i32, i32* %68, align 4
%133 = mul i32 %132, %131
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_10
LBL_10:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%134 = mul i64 %indvars.iv.reload, 4
%135 = add i64 %134, %21
%136 = add i64 %135, -272
%137 = inttoptr i64 %136 to i32*
%138 = load i32, i32* %137, align 4
%139 = icmp eq i32 %138, 0
br i1 %139, label LBL_12, label LBL_11
LBL_11:
%140 = add i64 %134, ptrtoint (i32** @gv_2 to i64)
%141 = inttoptr i64 %140 to i32*
%142 = load i32, i32* %141, align 4
%143 = add i32 %142, %sv_4.1111.reload
%144 = add i64 %134, ptrtoint (i32** @gv_3 to i64)
%145 = inttoptr i64 %144 to i32*
%146 = load i32, i32* %145, align 4
%147 = load i32, i32* %23, align 8
%148 = mul i32 %147, %146
%149 = add i32 %143, %148
%150 = load i64, i64* %30, align 8
%151 = sext i32 %149 to i64
%152 = mul i64 %151, 4
%153 = add i64 %152, %150
%154 = inttoptr i64 %153 to i32*
%155 = load i32, i32* %154, align 4
%156 = add i64 %135, -240
%157 = inttoptr i64 %156 to i32*
store i32 %155, i32* %157, align 4
%158 = load i64, i64* %28, align 8
%159 = inttoptr i64 %158 to i64*
%160 = load i64, i64* %159, align 8
%161 = add i64 %160, %152
%162 = inttoptr i64 %161 to i32*
%163 = load i32, i32* %162, align 4
%164 = add i64 %135, -144
%165 = inttoptr i64 %164 to i32*
store i32 %163, i32* %165, align 4
%166 = load i64, i64* %32, align 8
%167 = add i64 %166, %152
%168 = inttoptr i64 %167 to i32*
%169 = load i32, i32* %168, align 4
%170 = add i64 %135, -192
%171 = inttoptr i64 %170 to i32*
store i32 %169, i32* %171, align 4
%172 = load i64, i64* %34, align 8
%173 = add i64 %172, %152
%174 = inttoptr i64 %173 to i32*
%175 = load i32, i32* %174, align 4
%176 = urem i32 %175, 16
%177 = mul i64 %indvars.iv.reload, 8
%178 = add i64 %177, %69
%179 = inttoptr i64 %178 to i32*
store i32 %176, i32* %179, align 8
%180 = load i64, i64* %34, align 8
%181 = add i64 %180, %152
%182 = inttoptr i64 %181 to i32*
%183 = load i32, i32* %182, align 4
%184 = ashr i32 %183, 4
%185 = add i64 %177, %70
%186 = inttoptr i64 %185 to i32*
store i32 %184, i32* %186, align 4
store i32* %165, i32** %.pre-phi129.reg2mem
br label LBL_13
LBL_12:
%187 = add i64 %135, -240
%188 = inttoptr i64 %187 to i32*
store i32 0, i32* %188, align 4
%189 = add i64 %135, -144
%190 = inttoptr i64 %189 to i32*
%191 = add i64 %135, -192
%192 = inttoptr i64 %191 to i32*
store i32 0, i32* %192, align 4
%193 = mul i64 %indvars.iv.reload, 8
%194 = add i64 %193, %70
%195 = inttoptr i64 %194 to i32*
store i32 0, i32* %195, align 4
%196 = add i64 %193, %69
%197 = inttoptr i64 %196 to i32*
store i32 0, i32* %197, align 8
store i32* %190, i32** %.pre-phi129.reg2mem
br label LBL_13
LBL_13:
%.pre-phi129.reload = load i32*, i32** %.pre-phi129.reg2mem
%198 = load i32, i32* %.pre-phi129.reload, align 4
%199 = urem i32 %198, 2
%200 = icmp eq i32 %199, 0
%201 = icmp eq i1 %200, false
%202 = and i32 %198, 2
%203 = icmp ne i32 %202, 0
%narrow91 = or i1 %203, %201
%storemerge42 = zext i1 %narrow91 to i32
%204 = add i64 %135, -160
%205 = inttoptr i64 %204 to i32*
store i32 %storemerge42, i32* %205, align 4
%206 = select i1 %narrow91, i64 512, i64 256
%207 = add nsw i64 %206, %123
%208 = mul i64 %207, 4
%209 = add i64 %208, ptrtoint (i32** @gv_4 to i64)
%210 = inttoptr i64 %209 to i32*
%211 = load i32, i32* %210, align 4
%212 = add i64 %135, -176
%213 = inttoptr i64 %212 to i32*
store i32 %211, i32* %213, align 4
%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_14, label LBL_10
LBL_14:
%214 = mul i32 %130, 4
%215 = icmp eq i32 %sv_3.1110.reload, 0
%216 = icmp eq i1 %215, false
%217 = load i32, i32* %86, align 4
%218 = add i32 %217, -1
%219 = icmp ne i32 %218, %24
store i64 0, i64* %indvars.iv116.reg2mem
br label LBL_15
LBL_15:
%indvars.iv116.reload = load i64, i64* %indvars.iv116.reg2mem
%220 = mul i64 %indvars.iv116.reload, 4
%221 = add nuw nsw i64 %220, %21
%222 = add i64 %221, -216
%223 = inttoptr i64 %222 to i32*
%224 = load i32, i32* %223, align 4
%225 = mul i32 %224, 16
%226 = add i64 %221, -224
%227 = inttoptr i64 %226 to i32*
%228 = load i32, i32* %227, align 4
%229 = or i32 %225, %228
%230 = add i64 %221, -280
%231 = inttoptr i64 %230 to i32*
store i32 %229, i32* %231, align 4
%232 = load i32, i32* %227, align 4
%233 = mul i32 %232, 2
%234 = and i32 %233, -130
%235 = or i32 %234, %229
%236 = add i64 %221, -200
%237 = inttoptr i64 %236 to i32*
%238 = load i32, i32* %237, align 4
%239 = udiv i32 %238, 2
%240 = and i32 %239, 512
%241 = or i32 %235, %240
%242 = add i64 %221, -248
%243 = inttoptr i64 %242 to i32*
store i32 %241, i32* %243, align 4
%244 = load i32, i32* %231, align 4
%245 = add i64 %221, -208
%246 = inttoptr i64 %245 to i32*
%247 = load i32, i32* %246, align 4
%248 = udiv i32 %247, 4
%249 = and i32 %248, 128
%250 = or i32 %249, %244
%251 = load i32, i32* %227, align 4
%252 = mul i32 %251, 4
%253 = or i32 %250, %252
%254 = add i64 %221, -256
%255 = inttoptr i64 %254 to i32*
store i32 %253, i32* %255, align 4
br i1 %216, label LBL_17, label LBL_16
LBL_16:
%256 = load i32, i32* %243, align 4
%257 = and i32 %256, -129
store i32 %257, i32* %243, align 4
br label LBL_17
LBL_17:
br i1 %83, label LBL_19, label LBL_18
LBL_18:
%258 = load i32, i32* %255, align 4
%259 = and i32 %258, -257
store i32 %259, i32* %255, align 4
br label LBL_19
LBL_19:
%260 = load i32, i32* %86, align 4
%261 = add i32 %260, -1
%262 = icmp ne i32 %261, %24
%or.cond78 = icmp eq i1 %88, %262
br i1 %or.cond78, label LBL_21, label LBL_20
LBL_20:
%263 = load i32, i32* %255, align 4
%264 = and i32 %263, -4097
store i32 %264, i32* %255, align 4
br label LBL_21
LBL_21:
%indvars.iv.next117 = add nuw nsw i64 %indvars.iv116.reload, 1
%exitcond118 = icmp eq i64 %indvars.iv.next117, 2
store i64 %indvars.iv.next117, i64* %indvars.iv116.reg2mem
br i1 %exitcond118, label LBL_22, label LBL_15
LBL_22:
%265 = icmp sgt i32 %133, 25344
%or.cond76 = icmp eq i1 %88, %219
%266 = mul i32 %130, 3
%spec.select = select i1 %265, i32 %266, i32 %214
%spec.select74 = select i1 %216, i32 %80, i32 %81
%sv_7.1 = select i1 %or.cond76, i32 %sv_7.0, i32 %89
%267 = mul i32 %sv_3.1110.reload, 16
%268 = sext i32 %267 to i64
%269 = zext i32 %spec.select to i64
%270 = zext i32 %130 to i64
%271 = zext i32 %127 to i64
store i32 0, i32* %storemerge22101.reg2mem
br label LBL_23
LBL_23:
%storemerge22101.reload = load i32, i32* %storemerge22101.reg2mem
%272 = load i64, i64* %28, align 8
%273 = add i64 %272, 16
%274 = inttoptr i64 %273 to i64*
%275 = load i64, i64* %274, align 8
%276 = add nuw nsw i32 %storemerge22101.reload, %90
%277 = load i32, i32* %92, align 4
%278 = mul i32 %277, %276
%279 = sext i32 %278 to i64
%280 = add i64 %275, %268
%281 = add i64 %280, %279
%282 = icmp eq i32 %storemerge22101.reload, 0
%283 = icmp eq i1 %282, false
%284 = shl i32 2048, %storemerge22101.reload
%285 = and i32 %284, %8
%286 = icmp eq i32 %285, 0
%narrow65 = select i1 %286, i32 0, i32 %7
store i64 %281, i64* %sv_2.096.reg2mem
store i32 0, i32* %sv_1.095.reg2mem
br label LBL_24
LBL_24:
%sv_1.095.reload = load i32, i32* %sv_1.095.reg2mem
%sv_2.096.reload = load i64, i64* %sv_2.096.reg2mem
%287 = add nuw nsw i32 %sv_1.095.reload, %storemerge22101.reload
%288 = shl i32 16, %287
%289 = and i32 %288, %72
%290 = icmp eq i32 %289, 0
%narrow59 = select i1 %290, i32 0, i32 %10
%291 = mul i32 %sv_1.095.reload, 4
%rax.0.in = select i1 %283, i32 %287, i32 %291
%292 = shl i32 32, %287
%293 = and i32 %292, %sv_7.1
%294 = icmp eq i32 %293, 0
br i1 %294, label LBL_26, label LBL_25
LBL_25:
%295 = and i32 %292, %72
%296 = icmp eq i32 %295, 0
%narrow62 = select i1 %296, i32 0, i32 %10
%storemerge38 = zext i32 %narrow62 to i64
%297 = load i32, i32* %92, align 4
%298 = mul i32 %297, 4
%299 = sext i32 %298 to i64
%300 = add i64 %sv_2.096.reload, %299
store i64 0, i64* %95, align 8
store i64 0, i64* %97, align 8
store i64 0, i64* %99, align 8
store i64 %269, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%301 = zext i32 %rax.0.in to i64
%302 = zext i32 %297 to i64
%303 = call i64 @FUNC(i64 %93, i64 %300, i64 %302, i64 %301, i64 %storemerge38, i32 %narrow59)
br label LBL_26
LBL_26:
%304 = and i32 %288, %spec.select74
%305 = icmp eq i32 %304, 0
br i1 %305, label LBL_31, label LBL_27
LBL_27:
%306 = icmp eq i32 %sv_1.095.reload, 0
%307 = icmp eq i1 %306, false
br i1 %307, label LBL_29, label LBL_28
LBL_28:
store i32 %narrow65, i32* %storemerge44.reg2mem
br i1 %108, label LBL_31, label LBL_30
LBL_29:
%308 = add nuw nsw i32 %287, 31
%309 = urem i32 %308, 32
%310 = shl i32 16, %309
%311 = and i32 %310, %72
%312 = icmp eq i32 %311, 0
%storemerge37 = select i1 %312, i32 0, i32 %10
store i32 %storemerge37, i32* %storemerge44.reg2mem
br label LBL_30
LBL_30:
%storemerge44.reload = load i32, i32* %storemerge44.reg2mem
%313 = load i32, i32* %92, align 4
%314 = zext i32 %313 to i64
%315 = zext i32 %narrow59 to i64
%316 = zext i32 %rax.0.in to i64
store i64 1, i64* %95, align 8
store i64 0, i64* %97, align 8
store i64 0, i64* %99, align 8
store i64 %269, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%317 = call i64 @FUNC(i64 %93, i64 %sv_2.096.reload, i64 %314, i64 %316, i64 %315, i32 %storemerge44.reload)
br label LBL_31
LBL_31:
br i1 %283, label LBL_34, label LBL_32
LBL_32:
%318 = shl i32 16, %sv_1.095.reload
%319 = and i32 %318, %sv_7.1
%320 = icmp eq i32 %319, 0
%or.cond80 = or i1 %110, %320
br i1 %or.cond80, label LBL_34, label LBL_33
LBL_33:
%321 = shl i32 4096, %sv_1.095.reload
%322 = and i32 %321, %5
%323 = icmp eq i32 %322, 0
%narrow68 = select i1 %323, i32 0, i32 %4
%324 = load i32, i32* %92, align 4
%325 = zext i32 %324 to i64
%326 = zext i32 %rax.0.in to i64
store i64 0, i64* %95, align 8
store i64 1, i64* %97, align 8
store i64 0, i64* %99, align 8
store i64 %269, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%327 = zext i32 %narrow59 to i64
%328 = call i64 @FUNC(i64 %93, i64 %sv_2.096.reload, i64 %325, i64 %326, i64 %327, i32 %narrow68)
br label LBL_34
LBL_34:
%329 = icmp eq i32 %sv_1.095.reload, 0
%330 = icmp eq i1 %329, false
%or.cond82 = or i1 %330, %305
%or.cond84 = or i1 %107, %or.cond82
br i1 %or.cond84, label LBL_36, label LBL_35
LBL_35:
%331 = load i32, i32* %92, align 4
%332 = zext i32 %331 to i64
%333 = zext i32 %narrow59 to i64
%334 = zext i32 %rax.0.in to i64
store i64 1, i64* %95, align 8
store i64 1, i64* %97, align 8
store i64 0, i64* %99, align 8
store i64 %269, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%335 = call i64 @FUNC(i64 %93, i64 %sv_2.096.reload, i64 %332, i64 %334, i64 %333, i32 %narrow65)
br label LBL_36
LBL_36:
%336 = add nuw nsw i32 %sv_1.095.reload, 1
%337 = add i64 %sv_2.096.reload, 4
%exitcond119 = icmp eq i32 %336, 4
store i64 %337, i64* %sv_2.096.reg2mem
store i32 %336, i32* %sv_1.095.reg2mem
br i1 %exitcond119, label LBL_37, label LBL_24
LBL_37:
%338 = add nuw nsw i32 %storemerge22101.reload, 4
%339 = icmp ult i32 %338, 16
store i32 %338, i32* %storemerge22101.reg2mem
br i1 %339, label LBL_23, label LBL_38
LBL_38:
%340 = mul i32 %sv_3.1110.reload, 8
%341 = sext i32 %340 to i64
%342 = zext i32 %266 to i64
store i64 0, i64* %indvars.iv126.reg2mem
br label LBL_56
LBL_39:
%storemerge4108.reload = load i32, i32* %storemerge4108.reg2mem
%indvars.iv123.reload = load i64, i64* %indvars.iv123.reg2mem
%343 = load i64, i64* %28, align 8
%344 = add i64 %425, %343
%345 = inttoptr i64 %344 to i64*
%346 = load i64, i64* %345, align 8
%347 = add nuw nsw i32 %storemerge4108.reload, %111
%348 = load i32, i32* %113, align 4
%349 = mul i32 %347, 4
%350 = mul i32 %349, %348
%351 = sext i32 %350 to i64
%352 = add i64 %346, %341
%353 = add i64 %352, %351
%354 = mul i64 %indvars.iv123.reload, 2
%355 = trunc i64 %354 to i32
%356 = or i32 %355, 1
%357 = shl i32 16, %356
%358 = mul i64 %indvars.iv123.reload, 8
%359 = icmp eq i64 %indvars.iv123.reload, 0
%360 = icmp eq i1 %359, false
store i64 0, i64* %indvars.iv120.reg2mem
store i64 %353, i64* %sv_0.0103.reg2mem
br label LBL_40
LBL_40:
%sv_0.0103.reload = load i64, i64* %sv_0.0103.reg2mem
%indvars.iv120.reload = load i64, i64* %indvars.iv120.reg2mem
%361 = add nuw nsw i64 %indvars.iv120.reload, %354
%362 = load i32, i32* %429, align 4
%363 = trunc i64 %361 to i32
%364 = shl i32 16, %363
%365 = and i32 %364, %362
%366 = icmp eq i32 %365, 0
%narrow = select i1 %366, i32 0, i32 %10
%367 = load i32, i32* %431, align 4
%368 = add i32 %363, 2
%369 = shl i32 16, %368
%370 = and i32 %369, %367
%371 = icmp eq i32 %370, 0
br i1 %371, label LBL_42, label LBL_41
LBL_41:
%372 = and i32 %369, %362
%373 = icmp eq i32 %372, 0
%narrow49 = select i1 %373, i32 0, i32 %10
%storemerge20 = zext i32 %narrow49 to i64
%374 = mul i64 %indvars.iv120.reload, 8
%375 = load i32, i32* %113, align 4
%376 = mul i32 %375, 4
%377 = sext i32 %376 to i64
%378 = add i64 %sv_0.0103.reload, %377
store i64 0, i64* %95, align 8
store i64 0, i64* %97, align 8
store i64 1, i64* %99, align 8
store i64 %342, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%379 = zext i32 %375 to i64
%380 = call i64 @FUNC(i64 %93, i64 %378, i64 %379, i64 %374, i64 %storemerge20, i32 %narrow)
br label LBL_42
LBL_42:
%381 = load i32, i32* %433, align 4
%382 = and i32 %381, %364
%383 = icmp eq i32 %382, 0
br i1 %383, label LBL_48, label LBL_43
LBL_43:
%384 = icmp eq i64 %indvars.iv120.reload, 0
%385 = icmp eq i1 %384, false
br i1 %385, label LBL_46, label LBL_44
LBL_44:
br i1 %108, label LBL_48, label LBL_45
LBL_45:
%386 = load i32, i32* %435, align 4
%387 = and i32 %386, %357
%388 = icmp eq i32 %387, 0
%narrow51 = select i1 %388, i32 0, i32 %7
store i32 %narrow51, i32* %storemerge43.reg2mem
br label LBL_47
LBL_46:
%389 = load i32, i32* %429, align 4
%390 = add i32 %363, 31
%391 = urem i32 %390, 32
%392 = shl i32 16, %391
%393 = and i32 %389, %392
%394 = icmp eq i32 %393, 0
%storemerge19 = select i1 %394, i32 0, i32 %10
store i32 %storemerge19, i32* %storemerge43.reg2mem
br label LBL_47
LBL_47:
%storemerge43.reload = load i32, i32* %storemerge43.reg2mem
%395 = load i32, i32* %113, align 4
%396 = zext i32 %395 to i64
%397 = zext i32 %narrow to i64
store i64 1, i64* %95, align 8
store i64 0, i64* %97, align 8
store i64 1, i64* %99, align 8
store i64 %342, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%398 = call i64 @FUNC(i64 %93, i64 %sv_0.0103.reload, i64 %396, i64 %358, i64 %397, i32 %storemerge43.reload)
br label LBL_48
LBL_48:
br i1 %360, label LBL_51, label LBL_49
LBL_49:
%399 = load i32, i32* %431, align 4
%400 = and i32 %399, %364
%401 = icmp eq i32 %400, 0
%or.cond86 = or i1 %110, %401
br i1 %or.cond86, label LBL_51, label LBL_50
LBL_50:
%402 = load i32, i32* %437, align 4
%403 = and i32 %402, %369
%404 = icmp eq i32 %403, 0
%narrow54 = select i1 %404, i32 0, i32 %4
%405 = mul i64 %indvars.iv120.reload, 8
%406 = load i32, i32* %113, align 4
%407 = zext i32 %406 to i64
%408 = zext i32 %narrow to i64
store i64 0, i64* %95, align 8
store i64 1, i64* %97, align 8
store i64 1, i64* %99, align 8
store i64 %342, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%409 = call i64 @FUNC(i64 %93, i64 %sv_0.0103.reload, i64 %407, i64 %405, i64 %408, i32 %narrow54)
br label LBL_51
LBL_51:
%410 = load i32, i32* %433, align 4
%411 = and i32 %410, %364
%412 = icmp eq i32 %411, 0
%413 = icmp eq i64 %indvars.iv120.reload, 0
%414 = icmp eq i1 %413, false
%or.cond88 = or i1 %414, %412
%or.cond90 = or i1 %107, %or.cond88
br i1 %or.cond90, label LBL_53, label LBL_52
LBL_52:
%415 = load i32, i32* %435, align 4
%416 = and i32 %415, %357
%417 = icmp eq i32 %416, 0
%narrow56 = select i1 %417, i32 0, i32 %7
%418 = load i32, i32* %113, align 4
%419 = zext i32 %418 to i64
%420 = zext i32 %narrow to i64
store i64 1, i64* %95, align 8
store i64 1, i64* %97, align 8
store i64 1, i64* %99, align 8
store i64 %342, i64* %101, align 8
store i64 %270, i64* %103, align 8
store i64 %271, i64* %105, align 8
%421 = call i64 @FUNC(i64 %93, i64 %sv_0.0103.reload, i64 %419, i64 %358, i64 %420, i32 %narrow56)
br label LBL_53
LBL_53:
%indvars.iv.next121 = add nuw nsw i64 %indvars.iv120.reload, 1
%422 = add i64 %sv_0.0103.reload, 4
%exitcond122 = icmp eq i64 %indvars.iv.next121, 2
store i64 %indvars.iv.next121, i64* %indvars.iv120.reg2mem
store i64 %422, i64* %sv_0.0103.reg2mem
br i1 %exitcond122, label LBL_54, label LBL_40
LBL_54:
%indvars.iv.next124 = add nuw nsw i64 %indvars.iv123.reload, 1
%423 = add nuw nsw i32 %storemerge4108.reload, 1
%exitcond125 = icmp eq i64 %indvars.iv.next124, 2
store i64 %indvars.iv.next124, i64* %indvars.iv123.reg2mem
store i32 %423, i32* %storemerge4108.reg2mem
br i1 %exitcond125, label LBL_55, label LBL_39
LBL_55:
%exitcond128 = icmp eq i64 %indvars.iv.next127, 2
store i64 %indvars.iv.next127, i64* %indvars.iv126.reg2mem
br i1 %exitcond128, label LBL_57, label LBL_56
LBL_56:
%indvars.iv126.reload = load i64, i64* %indvars.iv126.reg2mem
%indvars.iv.next127 = add nuw nsw i64 %indvars.iv126.reload, 1
%424 = mul i64 %indvars.iv.next127, 8
%425 = add nuw nsw i64 %424, 16
%426 = mul i64 %indvars.iv126.reload, 4
%427 = add nuw nsw i64 %426, %21
%428 = add i64 %427, -280
%429 = inttoptr i64 %428 to i32*
%430 = add i64 %427, -256
%431 = inttoptr i64 %430 to i32*
%432 = add i64 %427, -248
%433 = inttoptr i64 %432 to i32*
%434 = add i64 %427, -200
%435 = inttoptr i64 %434 to i32*
%436 = add i64 %427, -208
%437 = inttoptr i64 %436 to i32*
store i64 0, i64* %indvars.iv123.reg2mem
store i32 0, i32* %storemerge4108.reg2mem
br label LBL_39
LBL_57:
%438 = add i32 %sv_3.1110.reload, 1
%439 = add i32 %sv_4.1111.reload, 1
%440 = load i32, i32* %18, align 4
%441 = zext i32 %440 to i64
%442 = sext i32 %438 to i64
%443 = icmp slt i64 %442, %441
store i32 %439, i32* %sv_4.1111.reg2mem
store i32 %438, i32* %sv_3.1110.reg2mem
store i64 %441, i64* %.lcssa.reg2mem
br i1 %443, label LBL_9, label LBL_58
LBL_58:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i32* %435, { 1, 0 }
uselistorder i32* %433, { 1, 0 }
uselistorder i32* %431, { 1, 0 }
uselistorder i32* %429, { 1, 0 }
uselistorder i64 %indvars.iv.next127, { 1, 2, 0 }
uselistorder i64 %indvars.iv126.reload, { 1, 0 }
uselistorder i32 %375, { 1, 0 }
uselistorder i32 %narrow, { 3, 2, 1, 0 }
uselistorder i64 %indvars.iv120.reload, { 0, 1, 5, 2, 4, 3 }
uselistorder i64 %sv_0.0103.reload, { 3, 2, 1, 0, 4 }
uselistorder i64 %358, { 1, 0 }
uselistorder i64 %354, { 1, 0 }
uselistorder i64 %indvars.iv123.reload, { 0, 1, 3, 2 }
uselistorder i32 %297, { 1, 0 }
uselistorder i32 %narrow59, { 3, 2, 1, 0 }
uselistorder i32 %287, { 3, 1, 2, 0 }
uselistorder i64 %sv_2.096.reload, { 3, 2, 1, 0, 4 }
uselistorder i32 %sv_1.095.reload, { 2, 0, 3, 4, 1, 6, 5 }
uselistorder i32 %narrow65, { 1, 0 }
uselistorder i32 %storemerge22101.reload, { 0, 4, 2, 1, 3 }
uselistorder i32 %266, { 1, 0 }
uselistorder i32* %255, { 3, 2, 1, 0, 4 }
uselistorder i32* %243, { 1, 0, 2 }
uselistorder i64 %221, { 0, 4, 1, 5, 2, 3, 6 }
uselistorder i1 %216, { 1, 0 }
uselistorder i32 %198, { 1, 0 }
uselistorder i64 %193, { 1, 0 }
uselistorder i64 %177, { 1, 0 }
uselistorder i64 %152, { 4, 3, 2, 1, 0 }
uselistorder i64 %134, { 1, 0, 2 }
uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }
uselistorder i32 %130, { 1, 2, 0 }
uselistorder i64 %124, { 1, 0 }
uselistorder i64 %123, { 1, 0 }
uselistorder i32 %sv_4.1111.reload, { 0, 2, 1 }
uselistorder i32 %sv_3.1110.reload, { 0, 3, 2, 1 }
uselistorder i32* %113, { 3, 2, 1, 0, 4 }
uselistorder i32* %92, { 3, 2, 1, 0, 4 }
uselistorder i32 %72, { 0, 1, 2, 4, 3 }
uselistorder i32 %42, { 1, 0 }
uselistorder i64 %39, { 3, 2, 1, 0 }
uselistorder i64* %34, { 1, 0, 2 }
uselistorder i64* %28, { 3, 2, 1, 0, 4 }
uselistorder i32 %24, { 6, 5, 0, 1, 4, 2, 3 }
uselistorder i32* %18, { 0, 2, 1 }
uselistorder i32 %14, { 1, 0 }
uselistorder i32 %12, { 2, 1, 0 }
uselistorder i32 %10, { 2, 1, 0, 5, 4, 3 }
uselistorder i32 %7, { 1, 0, 2 }
uselistorder i64 %3, { 0, 1, 2, 3, 5, 4, 6, 7, 8, 9, 10 }
uselistorder i32* %sv_4.0113.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.0112.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.1111.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.1110.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32** %.pre-phi129.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv116.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge22101.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.096.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.095.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge44.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv123.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge4108.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv120.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0103.reg2mem, { 1, 0, 2 }
uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* %1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64, i32)* @rv40_adaptive_loop_filter, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 2, { 1, 2, 3, 0, 4 }
uselistorder i64 -256, { 1, 0 }
uselistorder i64 -208, { 1, 0 }
uselistorder i64 -248, { 1, 0 }
uselistorder i64 -200, { 1, 0 }
uselistorder i64 -280, { 1, 0 }
uselistorder i1 false, { 0, 3, 2, 1, 5, 6, 9, 8, 4, 7 }
uselistorder i32 16, { 9, 11, 12, 10, 5, 7, 6, 8, 0, 1, 4, 2, 3 }
uselistorder i32 2, { 7, 3, 0, 8, 4, 1, 5, 2, 6 }
uselistorder i32 4, { 0, 1, 9, 8, 2, 3, 4, 6, 5, 10, 7 }
uselistorder i32 0, { 0, 20, 21, 22, 23, 24, 25, 26, 19, 27, 28, 29, 30, 31, 32, 33, 34, 9, 12, 13, 35, 14, 36, 38, 39, 17, 40, 41, 18, 43, 1, 15, 16, 42, 2, 51, 45, 46, 8, 47, 48, 49, 50, 3, 10, 37, 11, 44, 5, 52, 7, 4, 6 }
uselistorder i64 4, { 0, 9, 10, 1, 8, 2, 3, 4, 5, 6, 7, 11 }
uselistorder label LBL_58, { 0, 2, 1 }
uselistorder label LBL_39, { 1, 0 }
uselistorder label LBL_30, { 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | iSLT_Write_5862 | iSLT_Write | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 1, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_4
LBL_1:
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = and i64 %4, 4294967295
store i64 %7, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%8 = call i64 @FUNC(i64 %2, i64 %3)
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* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.