dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | sctp_wspace_10305 | sctp_wspace | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%.pre-phi2.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, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%.pre = add i64 %2, 16
%.pre1 = inttoptr i64 %.pre to i64*
store i64* %.pre1, i64** %.pre-phi2.reg2mem
store i32 %7, i32* %storemerge.reg2mem
br label LBL_3
LBL_2:
%8 = add i64 %2, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
store i64* %9, i64** %.pre-phi2.reg2mem
store i32 %12, i32* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem
%13 = load i64, i64* %.pre-phi2.reload, align 8
%14 = add i64 %13, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = zext i32 %16 to i64
%18 = sext i32 %storemerge.reload to i64
%19 = icmp slt i64 %18, %17
br i1 %19, label LBL_6, label LBL_4
LBL_4:
%20 = add i64 %13, 8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = urem i32 %22, 2
%24 = icmp eq i32 %23, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %24, label LBL_5, label LBL_7
LBL_5:
%25 = call i64 @FUNC(i64 %13)
%26 = trunc i64 %25 to i32
%27 = icmp slt i32 %26, 0
%28 = icmp eq i1 %27, false
%spec.store.select = select i1 %28, i32 %26, i32 0
store i32 %spec.store.select, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_6:
%29 = sub i32 %16, %storemerge.reload
store i32 %29, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%30 = zext i32 %sv_0.0.reload to i64
ret i64 %30
uselistorder i32 %storemerge.reload, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 16, { 1, 0 }
uselistorder label LBL_7, { 2, 1, 0 }
} | 0 |
BinRealVul | propagate_mnt_17819 | propagate_mnt | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rdi.0.reg2mem = alloca i64
%rdi.19.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%storemerge111.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%storemerge212.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg3 to i64
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = load i64, i64* @gv_0, align 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
store i64 %10, i64* @gv_1, align 8
store i64 %3, i64* @gv_2, align 8
store i64 %1, i64* @gv_3, align 8
store i64 %2, i64* @gv_4, align 8
store i64 %0, i64* @gv_5, align 8
store i64 %3, i64* @gv_6, align 8
%11 = call i64 @FUNC(i64 %3)
%12 = icmp eq i64 %11, %3
%13 = icmp eq i1 %12, false
store i64 %11, i64* %storemerge212.reg2mem
store i64 0, i64* %sv_0.0.lcssa.reg2mem
br i1 %13, label LBL_1, label LBL_3
LBL_1:
%storemerge212.reload = load i64, i64* %storemerge212.reg2mem
%14 = call i64 @FUNC(i64 %storemerge212.reload)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
store i64 %14, i64* %sv_0.2.reg2mem
br i1 %17, label LBL_8, label LBL_2
LBL_2:
%18 = call i64 @FUNC(i64 %storemerge212.reload)
%19 = icmp eq i64 %18, %3
%20 = icmp eq i1 %19, false
store i64 %18, i64* %storemerge212.reg2mem
store i64 %14, i64* %sv_0.0.lcssa.reg2mem
br i1 %20, label LBL_1, label LBL_3
LBL_3:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%21 = call i64 @FUNC(i64 %3, i64 %3)
%22 = icmp eq i64 %21, 0
%23 = icmp eq i1 %22, false
store i64 %21, i64* %storemerge111.reg2mem
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.2.reg2mem
br i1 %23, label LBL_4.preheader, label LBL_8
LBL_4:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%24 = call i64 @FUNC(i64 %sv_1.0.reload)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
store i64 %24, i64* %sv_0.2.reg2mem
br i1 %27, label LBL_8, label LBL_5
LBL_5:
%28 = call i64 @FUNC(i64 %sv_1.0.reload)
%29 = icmp eq i64 %28, %storemerge111.reload
%30 = icmp eq i1 %29, false
store i64 %28, i64* %sv_1.0.reg2mem
br i1 %30, label LBL_4, label LBL_6
LBL_6:
%31 = call i64 @FUNC(i64 %storemerge111.reload, i64 %3)
%32 = icmp eq i64 %31, 0
%33 = icmp eq i1 %32, false
store i64 %31, i64* %storemerge111.reg2mem
store i64 %24, i64* %sv_0.2.reg2mem
br i1 %33, label LBL_4.preheader, label LBL_8
LBL_7:
%storemerge111.reload = load i64, i64* %storemerge111.reg2mem
store i64 %storemerge111.reload, i64* %sv_1.0.reg2mem
br label LBL_4
LBL_8:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%34 = call i64 @FUNC(i64* nonnull @gv_7)
%35 = icmp eq i64* %arg4, null
%36 = icmp eq i1 %35, false
store i64 %0, i64* %storemerge10.reg2mem
store i64 ptrtoint (i64* @gv_7 to i64), i64* %rdi.19.reg2mem
br i1 %36, label LBL_9, label LBL_12
LBL_9:
%rdi.19.reload = load i64, i64* %rdi.19.reg2mem
%storemerge10.reload = load i64, i64* %storemerge10.reg2mem
%37 = add i64 %storemerge10.reload, 8
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, %rdi.19.reload
store i64 %rdi.19.reload, i64* %rdi.0.reg2mem
br i1 %42, label LBL_11, label LBL_10
LBL_10:
%43 = call i64 @FUNC(i64 %41)
store i64 %41, i64* %rdi.0.reg2mem
br label LBL_11
LBL_11:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%44 = add i64 %storemerge10.reload, 16
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = icmp eq i64 %46, 0
%48 = icmp eq i1 %47, false
store i64 %46, i64* %storemerge10.reg2mem
store i64 %rdi.0.reload, i64* %rdi.19.reg2mem
br i1 %48, label LBL_9, label LBL_12
LBL_12:
%49 = call i64 @FUNC(i64* nonnull @gv_7)
%50 = and i64 %sv_0.2.reload, 4294967295
ret i64 %50
uselistorder i64 %storemerge111.reload, { 2, 0, 1 }
uselistorder i64 %sv_1.0.reload, { 1, 0 }
uselistorder i64 %14, { 1, 0, 2 }
uselistorder i64 %3, { 1, 4, 3, 2, 0, 5, 6, 7 }
uselistorder i64* %storemerge212.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 2, 0 }
uselistorder i64* %storemerge111.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 }
uselistorder i64* %rdi.19.reg2mem, { 2, 0, 1 }
uselistorder i64* @gv_7, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @next_group, { 1, 0 }
uselistorder i64 (i64)* @propagate_one, { 1, 0 }
uselistorder i1 false, { 3, 2, 6, 4, 5, 1, 8, 7, 0 }
uselistorder i64 (i64)* @next_peer, { 2, 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 3, 0 }
uselistorder label LBL_4.preheader, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | linux_get_freq_4163 | linux_get_freq | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%storemerge.reg2mem = alloca i64
%sv_0.1.off0.reg2mem = alloca i64
%sv_0.0.off0.ph.reg2mem = alloca i32
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%sv_1 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %1)
%4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32)
%5 = add i64 %3, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = bitcast i64* %sv_1 to i8*
%10 = inttoptr i64 %7 to i8*
%11 = call i8* @strncpy(i8* nonnull %9, i8* %10, i32 16)
br label LBL_3
LBL_2:
%12 = call i64 @FUNC(i64 %1)
%13 = bitcast i64* %sv_1 to i8*
%14 = inttoptr i64 %12 to i8*
%15 = call i8* @strncpy(i8* nonnull %13, i8* %14, i32 16)
br label LBL_3
LBL_3:
%16 = add i64 %3, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp eq i32 %18, 1
%20 = icmp eq i1 %19, false
%21 = add i64 %3, 4
%spec.select = select i1 %20, i64 %3, i64 %21
%sv_2.0.in = inttoptr i64 %spec.select to i32*
%sv_2.0 = load i32, i32* %sv_2.0.in, align 4
%22 = call i32 (i32, i32, ...) @ioctl(i32 %sv_2.0, i32 35589)
%23 = icmp slt i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %24, label LBL_4, label LBL_12
LBL_4:
%25 = icmp slt i32 %2, 100000001
br i1 %25, label LBL_6, label LBL_5
LBL_5:
%26 = sext i32 %2 to i64
%27 = mul nsw i64 %26, 351843721
%28 = udiv i64 %27, 4294967296
%29 = trunc i64 %28 to i32
%30 = ashr i32 %29, 13
store i32 %30, i32* %sv_0.0.off0.ph.reg2mem
br label LBL_8
LBL_6:
%31 = icmp slt i32 %2, 1000001
%sv_0.0.off05 = sext i32 %2 to i64
br i1 %31, label LBL_9, label LBL_7
LBL_7:
%32 = mul nsw i64 %sv_0.0.off05, 274877907
%33 = udiv i64 %32, 4294967296
%34 = trunc i64 %33 to i32
%35 = ashr i32 %34, 6
store i32 %35, i32* %sv_0.0.off0.ph.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.off0.ph.reload = load i32, i32* %sv_0.0.off0.ph.reg2mem
%sv_0.0.off0511 = sext i32 %sv_0.0.off0.ph.reload to i64
store i64 %sv_0.0.off0511, i64* %sv_0.1.off0.reg2mem
br label LBL_11
LBL_9:
%36 = icmp sgt i32 %2, 499
store i64 %sv_0.0.off05, i64* %sv_0.1.off0.reg2mem
br i1 %36, label LBL_11, label LBL_10
LBL_10:
%37 = and i64 %sv_0.0.off05, 4294967295
%38 = call i64 @FUNC(i64 %37)
%sext = mul i64 %38, 4294967296
%extract.t10 = ashr exact i64 %sext, 32
store i64 %extract.t10, i64* %sv_0.1.off0.reg2mem
br label LBL_11
LBL_11:
%sv_0.1.off0.reload = load i64, i64* %sv_0.1.off0.reg2mem
%39 = and i64 %sv_0.1.off0.reload, 4294967295
store i64 %39, i64* %storemerge.reg2mem
br label LBL_12
LBL_12:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_0.0.off05, { 2, 0, 1 }
uselistorder i32 %2, { 4, 3, 0, 2, 1 }
uselistorder i64* %sv_0.1.off0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i8* (i8*, i8*, i32)* @strncpy, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_11, { 1, 2, 0 }
} | 0 |
BinRealVul | tcp_disconnect_11334 | tcp_disconnect | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %2)
%5 = call i64 @FUNC(i64 %2)
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_3, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %2, i64 0)
%9 = icmp eq i32 %6, 1
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %2)
br label LBL_11
LBL_3:
%12 = inttoptr i64 %5 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = add i64 %2, 4
%18 = inttoptr i64 %17 to i32*
store i32 100, i32* %18, align 4
br label LBL_11
LBL_5:
%19 = and i64 %1, 4294967295
%20 = call i64 @FUNC(i64 %19)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_8, label LBL_6
LBL_6:
%24 = add i64 %5, 4
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %5, 8
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp eq i32 %26, %29
br i1 %30, label LBL_9, label LBL_7
LBL_7:
%31 = urem i32 %6, 32
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_8, label %33
LBL_8:
%35 = call i64 @FUNC()
%36 = and i64 %35, 4294967295
%37 = call i64 @FUNC(i64 %2, i64 %36)
%38 = add i64 %2, 4
%39 = inttoptr i64 %38 to i32*
store i32 101, i32* %39, align 4
br label LBL_11
LBL_9:
%40 = icmp eq i32 %6, 2
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_11, label LBL_10
LBL_10:
%42 = add i64 %2, 4
%43 = inttoptr i64 %42 to i32*
store i32 101, i32* %43, align 4
br label LBL_11
LBL_11:
%44 = inttoptr i64 %3 to i32*
%45 = call i64 @FUNC(i64 %2)
%46 = add i64 %2, 24
%47 = call i64 @FUNC(i64 %46)
%48 = call i64 @FUNC(i64 %2)
%49 = call i64 @FUNC(i64 %2)
%50 = add i64 %5, 48
%51 = call i64 @FUNC(i64 %50)
store i32 0, i32* %44, align 4
%52 = add i64 %2, 8
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = urem i32 %54, 2
%56 = icmp eq i32 %55, 0
%57 = icmp eq i1 %56, false
br i1 %57, label LBL_13, label LBL_12
LBL_12:
%58 = call i64 @FUNC(i64 %2)
br label LBL_13
LBL_13:
%59 = inttoptr i64 %4 to i32*
%60 = add i64 %2, 12
%61 = inttoptr i64 %60 to i32*
store i32 0, i32* %61, align 4
%62 = call i64 @FUNC(i64 %2, i64 2)
%63 = add i64 %5, 12
%64 = inttoptr i64 %63 to i32*
store i32 0, i32* %64, align 4
%65 = add i64 %5, 8
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = add i64 %5, 40
%69 = inttoptr i64 %68 to i32*
%70 = load i32, i32* %69, align 4
%71 = add i32 %67, 2
%72 = add i32 %71, %70
%73 = icmp eq i32 %72, 0
%74 = icmp eq i1 %73, false
%spec.store.select = select i1 %74, i32 %72, i32 1
store i32 %spec.store.select, i32* %66, align 4
store i32 0, i32* %59, align 4
%75 = add i64 %5, 16
%76 = inttoptr i64 %75 to i32*
store i32 2, i32* %76, align 4
%77 = add i64 %4, 4
%78 = inttoptr i64 %77 to i32*
store i32 0, i32* %78, align 4
%79 = add i64 %5, 20
%80 = inttoptr i64 %79 to i32*
store i32 0, i32* %80, align 4
%81 = add i64 %5, 24
%82 = inttoptr i64 %81 to i32*
store i32 -1, i32* %82, align 4
%83 = add i64 %5, 28
%84 = inttoptr i64 %83 to i32*
store i32 0, i32* %84, align 4
%85 = add i64 %5, 32
%86 = inttoptr i64 %85 to i32*
store i32 0, i32* %86, align 4
%87 = call i64 @FUNC(i64 %2, i64 3)
%88 = call i64 @FUNC(i64 %5)
%89 = call i64 @FUNC(i64 %2)
%90 = call i64 @FUNC(i64 %2)
%91 = add i64 %5, 36
%92 = inttoptr i64 %91 to i64*
%93 = call i64* @memset(i64* %92, i32 0, i32 4)
%94 = call i64 @FUNC(i64 %2)
%95 = call i64 @FUNC(i64 %5)
%96 = call i64 @FUNC(i64 %5)
%97 = add i64 %3, 4
%98 = inttoptr i64 %97 to i32*
store i32 0, i32* %98, align 4
%99 = add i64 %3, 8
%100 = inttoptr i64 %99 to i32*
%101 = load i32, i32* %100, align 4
%102 = icmp eq i32 %101, 0
br i1 %102, label LBL_15, label LBL_14
LBL_14:
%103 = add i64 %4, 8
%104 = inttoptr i64 %103 to i32*
%105 = load i32, i32* %104, align 4
%106 = icmp eq i32 %105, 0
%107 = icmp eq i1 %106, false
store i64 1, i64* %storemerge.reg2mem
br i1 %107, label LBL_15, label LBL_16
LBL_15:
store i64 0, i64* %storemerge.reg2mem
br label LBL_16
LBL_16:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%108 = call i64 @FUNC(i64 %storemerge.reload)
ret i64 0
uselistorder i32 %31, { 1, 0 }
uselistorder i32 %6, { 3, 0, 2, 1 }
uselistorder i64 %5, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 1, 15 }
uselistorder i64 %2, { 4, 7, 6, 5, 8, 9, 11, 10, 15, 14, 13, 12, 3, 17, 16, 2, 1, 0, 18, 19, 20 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 3, 4, 0, 2, 1 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 }
uselistorder i32 0, { 2, 3, 4, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 17, 18, 19 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | superh_cpu_realizefn_2021 | superh_cpu_realizefn | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
ret i64 %arg1
} | 0 |
BinRealVul | usb_packet_unmap_16237 | usb_packet_unmap | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = add i64 %2, 16
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = trunc i64 %1 to i32
%8 = icmp eq i32 %7, 1
%9 = zext i1 %8 to i32
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_2
LBL_2:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%12 = load i64, i64* %11, align 8
%13 = mul i64 %.reload, 16
%14 = add i64 %12, %13
%15 = add i64 %14, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %14 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 %19, i64 %17, i32 %9, i64 %17)
%21 = add i32 %storemerge2.reload, 1
%22 = load i32, i32* %4, align 4
%23 = zext i32 %22 to i64
%24 = sext i32 %21 to i64
%25 = icmp slt i64 %24, %23
store i64 %24, i64* %.reg2mem
store i32 %21, i32* %storemerge2.reg2mem
store i64 %23, i64* %.lcssa.reg2mem
br i1 %25, label LBL_2, label LBL_3
LBL_3:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %17, { 1, 0 }
uselistorder i32* %4, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | kvm_arch_insert_sw_breakpoint_2259 | kvm_arch_insert_sw_breakpoint | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%3 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4
store i32 %3, i32* %sv_0, align 4
%4 = ptrtoint i32* %arg2 to i64
%5 = add i64 %4, 4
%6 = trunc i64 %1 to i32
%7 = call i64 @FUNC(i64 %2, i32 %6, i64 %5, i64 4, i64 0)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = ptrtoint i32* %sv_0 to i64
%12 = call i64 @FUNC(i64 %2, i32 %6, i64 %11, i64 4, i64 1)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%spec.select = select i1 %14, i64 0, i64 4294967274
ret i64 %spec.select
LBL_2:
ret i64 4294967274
uselistorder i64 (i64, i32, i64, i64, i64)* @cpu_memory_rw_debug, { 1, 0 }
} | 0 |
BinRealVul | decode_pic_hdr_19226 | decode_pic_hdr | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%storemerge1.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 24
%8 = call i64 @FUNC(i64 %7, i64 5)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 31
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_16
LBL_2:
%12 = trunc i64 %3 to i32
%13 = bitcast i64* %rdi to i32*
%14 = add i64 %6, 4
%15 = inttoptr i64 %14 to i32*
store i32 %12, i32* %15, align 4
%16 = call i64 @FUNC(i64 %7, i64 3)
%17 = trunc i64 %16 to i32
%18 = bitcast i64* %arg1 to i32*
store i32 %17, i32* %18, align 4
%19 = load i32, i32* %13, align 8
%20 = icmp slt i32 %19, 5
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = zext i32 %19 to i64
%22 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_16
LBL_4:
%23 = call i64 @FUNC(i64 %7, i64 8)
%24 = trunc i64 %23 to i32
%25 = add i64 %6, 8
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = load i32, i32* %13, align 8
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_6, label LBL_5
LBL_5:
%30 = call i64 @FUNC(i64 %6, i64 %5)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %32, label LBL_6, label LBL_16
LBL_6:
%33 = icmp eq i32 %27, 1
br i1 %33, label LBL_15, label LBL_7
LBL_7:
%34 = call i64 @FUNC(i64 %7, i64 8)
%35 = trunc i64 %34 to i32
%36 = add i64 %6, 12
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
%38 = urem i32 %35, 2
%39 = icmp eq i32 %38, 0
store i32 0, i32* %storemerge1.reg2mem
br i1 %39, label LBL_9, label LBL_8
LBL_8:
%40 = call i64 @FUNC(i64 %7, i64 24)
%phitmp = trunc i64 %40 to i32
store i32 %phitmp, i32* %storemerge1.reg2mem
br label LBL_9
LBL_9:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%41 = add i64 %6, 16
%42 = inttoptr i64 %41 to i32*
store i32 %storemerge1.reload, i32* %42, align 4
%43 = load i32, i32* %37, align 4
%44 = and i32 %43, 16
%45 = icmp eq i32 %44, 0
store i32 0, i32* %storemerge.reg2mem
br i1 %45, label LBL_11, label LBL_10
LBL_10:
%46 = call i64 @FUNC(i64 %7, i64 16)
%phitmp2 = trunc i64 %46 to i32
store i32 %phitmp2, i32* %storemerge.reg2mem
br label LBL_11
LBL_11:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%47 = add i64 %6, 20
%48 = inttoptr i64 %47 to i32*
store i32 %storemerge.reload, i32* %48, align 4
%49 = load i32, i32* %37, align 4
%50 = and i32 %49, 32
%51 = icmp eq i32 %50, 0
store i32 %49, i32* %.reg2mem
br i1 %51, label LBL_13, label LBL_12
LBL_12:
%52 = call i64 @FUNC(i64 %7)
%.pre = load i32, i32* %37, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_13
LBL_13:
%.reload = load i32, i32* %.reg2mem
%53 = and i32 %.reload, 64
%54 = zext i32 %53 to i64
%55 = call i64 @FUNC(i64 %7, i64 %54, i64 0, i64 %7, i64 %5)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %57, label LBL_14, label LBL_16
LBL_14:
%58 = call i64 @FUNC(i64 %7, i64 3)
br label LBL_15
LBL_15:
%59 = call i64 @FUNC(i64 %7)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %7, { 7, 2, 3, 4, 1, 0, 6, 5, 8, 9, 10 }
uselistorder i64 %6, { 1, 2, 3, 0, 4, 5, 6 }
uselistorder i64 %5, { 3, 2, 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i32 0, { 2, 3, 0, 4, 1, 5, 6, 7 }
uselistorder i64 8, { 0, 2, 1 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i64 0, { 0, 9, 10, 5, 6, 11, 7, 8, 1, 2, 3, 4, 12 }
uselistorder i64 (i64, i64)* @get_bits, { 4, 3, 2, 1, 0 }
uselistorder label LBL_16, { 2, 0, 1, 3, 4 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
BinRealVul | d_tmpfile_11526 | d_tmpfile | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %1, 16
%4 = icmp eq i64 %3, %0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%6 = add i64 %1, 284
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %1)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
call void @exit(i32 1)
unreachable
LBL_4:
%14 = add i64 %1, 272
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = add i64 %16, 280
%18 = call i64 @FUNC(i64 %17)
%19 = add i64 %1, 280
%20 = call i64 @FUNC(i64 %19, i64 0)
%21 = inttoptr i64 %3 to i8*
%22 = call i32 (i8*, i8*, ...) @sprintf(i8* %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0)
%23 = add i64 %1, 8
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = call i64 @FUNC(i64 %19)
%26 = load i64, i64* %15, align 8
%27 = add i64 %26, 280
%28 = call i64 @FUNC(i64 %27)
%29 = call i64 @FUNC(i64 %1, i64 %0)
ret i64 %29
uselistorder i64 %1, { 0, 1, 3, 2, 4, 5, 6 }
uselistorder i64 (i64)* @spin_unlock, { 1, 0 }
} | 1 |
BinRealVul | yuv4_write_header_1344 | yuv4_write_header | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = add i64 %2, 16
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 1
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_8
LBL_1:
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 1
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%18 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%19 = add i64 %14, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 1
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%24 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_1, i64 0, i64 0))
br label LBL_7
LBL_5:
%.off = add i32 %21, -2
%switch = icmp ult i32 %.off, 4
br i1 %switch, label LBL_7, label LBL_6
LBL_6:
%25 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([117 x i8], [117 x i8]* @gv_2, i64 0, i64 0))
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%26 = inttoptr i64 %5 to i32*
store i32 1, i32* %26, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 3, 2, 1, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64, i64, i8*)* @av_log, { 2, 1, 0 }
uselistorder i64 4294967291, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | lame_window_init_2073 | lame_window_init | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%storemerge5.reg2mem = alloca i32
%.reg2mem9 = alloca i64
%.reg2mem = alloca i64
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
store i64 %3, i64* %.lcssa.reg2mem
br i1 %4, label LBL_8, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = bitcast i64* %rsi to i32*
%8 = add i64 %5, 4
%9 = inttoptr i64 %8 to i32*
%10 = add i64 %5, 8
%11 = inttoptr i64 %10 to i32*
%12 = add i64 %5, 12
%13 = inttoptr i64 %12 to i32*
store i64 0, i64* %.reg2mem
store i64 %3, i64* %.reg2mem9
store i32 0, i32* %storemerge5.reg2mem
br label LBL_2
LBL_2:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload = load i64, i64* %.reg2mem
%14 = load i32, i32* %9, align 4
%15 = urem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = load i32, i32* %11, align 4
%18 = sdiv i32 %17, 10
%19 = sext i32 %18 to i64
%20 = mul i64 %19, 4
%21 = add i64 %20, ptrtoint (i32** @gv_0 to i64)
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = call i128 @FUNC(i32 %23)
%25 = call i64 @__asm_movss.1(i128 %24)
%26 = trunc i64 %25 to i32
store i32 %26, i32* %storemerge3.reg2mem
br label LBL_5
LBL_4:
%.reload10 = load i64, i64* %.reg2mem9
%27 = load i32, i32* %13, align 4
%28 = ashr i32 %27, 31
%29 = zext i32 %27 to i64
%30 = zext i32 %28 to i64
%31 = mul i64 %30, 4294967296
%32 = or i64 %31, %29
%33 = sdiv i64 %32, %.reload10
%sext = mul i64 %33, 4294967296
%34 = ashr exact i64 %sext, 32
%narrow = mul nsw i64 %34, 274877907
%35 = udiv i64 %narrow, 4294967296
%36 = trunc i64 %35 to i32
%37 = ashr i32 %36, 6
%38 = trunc i64 %33 to i32
%39 = ashr i32 %38, 31
%40 = sub nsw i32 %37, %39
%41 = zext i32 %40 to i64
%42 = call i128 @FUNC(i64 %41)
%43 = call i32 @FUNC(i128 %42)
store i32 %43, i32* %storemerge3.reg2mem
br label LBL_5
LBL_5:
%44 = mul nsw i64 %.reload, 132
%45 = add i64 %44, %6
%46 = inttoptr i64 %45 to i32*
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
store i32 %storemerge3.reload, i32* %46, align 4
%47 = add i64 %45, 4
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_6
LBL_6:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%48 = call i128 @FUNC(i32 1092616192)
%49 = call i64 @__asm_movss.1(i128 %48)
%50 = mul i64 %indvars.iv.reload, 4
%51 = add i64 %47, %50
%52 = trunc i64 %49 to i32
%53 = inttoptr i64 %51 to i32*
store i32 %52, i32* %53, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_7, label LBL_6
LBL_7:
%54 = add i32 %storemerge5.reload, 1
%55 = load i32, i32* %7, align 8
%56 = zext i32 %55 to i64
%57 = sext i32 %54 to i64
%58 = icmp slt i64 %57, %56
store i64 %57, i64* %.reg2mem
store i64 %56, i64* %.reg2mem9
store i32 %54, i32* %storemerge5.reg2mem
store i64 %56, i64* %.lcssa.reg2mem
br i1 %58, label LBL_2, label LBL_8
LBL_8:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %33, { 1, 0 }
uselistorder i64 %5, { 2, 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem9, { 1, 0, 2 }
uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 4294967296, { 2, 0, 1 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | qed_dcbx_get_config_params_18304 | qed_dcbx_get_config_params | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = add i64 %1, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
store i64 %1, i64* %arg2, align 8
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%9 = call i64 @FUNC(i64 3, i64 0)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%13 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_1 to i64*), i32 1, i32 40, %_IO_FILE* %12)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%14 = call i64 @FUNC(i64 %1, i64 %9, i64 0)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = call i64 @FUNC(i64 %9)
%18 = and i64 %14, 4294967295
store i64 %18, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%19 = add i64 %1, 4
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
%21 = add i64 %1, 8
%22 = inttoptr i64 %21 to i32*
store i32 0, i32* %22, align 4
%23 = add i64 %9, 2
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp ne i8 %25, 0
%spec.store.select = zext i1 %26 to i32
store i32 %spec.store.select, i32* %22, align 4
%27 = add i64 %9, 1
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = icmp eq i8 %29, 0
br i1 %30, label LBL_8, label LBL_7
LBL_7:
%31 = or i32 %spec.store.select, 2
store i32 %31, i32* %22, align 4
br label LBL_8
LBL_8:
%32 = inttoptr i64 %9 to i8*
%33 = load i8, i8* %32, align 1
%34 = add i64 %1, 12
%35 = inttoptr i64 %34 to i8*
store i8 %33, i8* %35, align 1
%36 = bitcast i64* %arg1 to i8*
store i8 1, i8* %36, align 1
%37 = inttoptr i64 %21 to i64*
%38 = load i64, i64* %37, align 8
store i64 %1, i64* %arg2, align 8
%39 = add i64 %0, 8
%40 = inttoptr i64 %39 to i64*
store i64 %38, i64* %40, align 8
%41 = call i64 @FUNC(i64 %9)
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 i32* %22, { 1, 0, 2 }
uselistorder i64 %9, { 0, 5, 1, 2, 3, 4, 6 }
uselistorder i64 %1, { 0, 1, 2, 3, 7, 5, 4, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
} | 1 |
BinRealVul | cpu_mips_translate_address_1002 | cpu_mips_translate_address | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %arg2, i32 %arg3, i32 0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %0, i64 %arg2, i32 %arg3, i32 %3)
store i64 -1, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%6 = load i64, i64* %sv_0, align 8
store i64 %6, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 0, 2 }
} | 0 |
BinRealVul | filter_session_io_5767 | filter_session_io | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%4 = trunc i64 %arg2 to i32
%5 = call i64 @FUNC(i64 %3)
%6 = and i64 %arg2, 4294967295
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %7, i64 %5)
%9 = icmp eq i32 %4, 2
%10 = icmp eq i1 %9, false
store i64 %8, i64* %rax.0.reg2mem
br i1 %10, label LBL_4, label LBL_1
LBL_1:
%11 = add i64 %2, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_0)
%15 = icmp eq i64 %14, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %15, label LBL_4, label LBL_2
LBL_2:
%16 = and i64 %1, 4294967295
store i64 %14, i64* %.reg2mem
br label LBL_3
LBL_3:
%.reload = load i64, i64* %.reg2mem
%17 = call i64 @FUNC(i64 %16, i64 %.reload)
%18 = load i64, i64* %12, align 8
%19 = call i64 @FUNC(i64 %18, i64* nonnull %sv_0)
%20 = icmp eq i64 %19, 0
store i64 %19, i64* %.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_4, label LBL_3
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %12, { 1, 0 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64*)* @io_getline, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | current_is_64bit_10418 | current_is_64bit | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 4198694)
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i64
ret i64 %4
} | 0 |
BinRealVul | js_RegExp_prototype_exec_6278 | js_RegExp_prototype_exec | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%6 = urem i64 %1, 2
%7 = icmp eq i64 %6, 0
store i64 %arg3, i64* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %7, label LBL_5, label LBL_1
LBL_1:
%8 = add i64 %2, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = inttoptr i64 %arg3 to i8*
%12 = call i32 @strlen(i8* %11)
%13 = icmp ugt i32 %10, %12
br i1 %13, label LBL_2, label LBL_3
LBL_2:
store i32 0, i32* %9, align 4
%14 = call i64 @FUNC(i64 %3)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_16
LBL_3:
%15 = load i32, i32* %9, align 4
%16 = icmp slt i32 %15, 1
store i64 %arg3, i64* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = sext i32 %15 to i64
%18 = add i64 %17, %arg3
store i64 %18, i64* %sv_1.0.reg2mem
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%19 = add i64 %2, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = bitcast i32* %sv_2 to i64*
%23 = call i64 @FUNC(i64 %21, i64 %sv_1.0.reload, i64* nonnull %22, i32 %sv_0.0.reload)
%24 = trunc i64 %23 to i32
%25 = icmp slt i32 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_7, label LBL_6
LBL_6:
%27 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))
br label LBL_7
LBL_7:
%28 = icmp eq i32 %24, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_13, label LBL_8
LBL_8:
%30 = call i64 @FUNC(i64 %3)
%31 = call i64 @FUNC(i64 %3, i64 %sv_1.0.reload)
%32 = call i64 @FUNC(i64 %3, i64 4294967294, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
%33 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %5)
%34 = and i64 %33, 4294967295
%35 = call i64 @FUNC(i64 %3, i64 %34)
%36 = call i64 @FUNC(i64 %3, i64 4294967294, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))
%37 = load i32, i32* %sv_2, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_11, label LBL_9
LBL_9:
%39 = ptrtoint i64* %sv_3 to i64
%40 = add i64 %39, -16
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_10
LBL_10:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%41 = mul i64 %.reload, 16
%42 = add i64 %40, %41
%43 = add i64 %42, -176
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = add i64 %42, -184
%47 = inttoptr i64 %46 to i64*
%48 = load i64, i64* %47, align 8
%49 = sub i64 %45, %48
%50 = call i64 @FUNC(i64 %3, i64 %48, i64 %49)
%51 = call i64 @FUNC(i64 %3, i64 4294967294, i32 %storemerge2.reload)
%52 = add i32 %storemerge2.reload, 1
%53 = load i32, i32* %sv_2, align 4
%54 = zext i32 %53 to i64
%55 = sext i32 %52 to i64
%56 = icmp slt i64 %55, %54
store i64 %55, i64* %.reg2mem
store i32 %52, i32* %storemerge2.reg2mem
br i1 %56, label LBL_10, label LBL_11
LBL_11:
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_16, label LBL_12
LBL_12:
%57 = add i64 %2, 4
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 4
%60 = sub i64 %4, %sv_1.0.reload
%61 = trunc i64 %60 to i32
%62 = add i32 %59, %61
store i32 %62, i32* %58, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_16
LBL_13:
br i1 %7, label LBL_15, label LBL_14
LBL_14:
%63 = add i64 %2, 4
%64 = inttoptr i64 %63 to i32*
store i32 0, i32* %64, align 4
br label LBL_15
LBL_15:
%65 = call i64 @FUNC(i64 %3)
store i64 %65, 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 %storemerge2.reload, { 1, 0 }
uselistorder i64 %sv_1.0.reload, { 3, 1, 2, 0 }
uselistorder i32* %9, { 1, 0, 2 }
uselistorder i1 %7, { 2, 1, 0 }
uselistorder i32* %sv_2, { 1, 0, 2 }
uselistorder i64 %3, { 9, 3, 2, 5, 4, 8, 7, 6, 1, 0 }
uselistorder i64 %2, { 3, 0, 2, 4, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*)* @js_setproperty, { 1, 0 }
uselistorder i64 (i64)* @js_pushnull, { 1, 0 }
uselistorder i32 0, { 4, 0, 3, 5, 6, 1, 7, 2 }
uselistorder i64 %arg3, { 2, 0, 3, 1 }
uselistorder label LBL_16, { 2, 1, 0, 3 }
uselistorder label LBL_10, { 1, 0 }
} | 0 |
BinRealVul | qmp_guest_set_time_1066 | qmp_guest_set_time | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg3 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%4 = trunc i64 %arg1 to i8
store i64 0, i64* %sv_3, align 8
%5 = icmp eq i8 %4, 0
br i1 %5, label LBL_5, label LBL_1
LBL_1:
store i32 0, i32* %sv_2, align 4
%6 = lshr i64 %arg2, 63
store i64 %6, i64* %sv_1, align 8
%7 = bitcast i32* %sv_2 to i64*
%8 = call i64 @FUNC(i64* nonnull %7, i64 %6)
%9 = load i32, i32* %sv_2, align 4
%.off = add i32 %9, -1970
%10 = icmp ult i32 %.off, 100
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i32* @__errno_location()
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64 %3, i64 %13, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))
store i64 %14, i64* %rax.0.reg2mem
br label LBL_15
LBL_3:
%15 = bitcast i64* %sv_1 to %timeval*
%16 = call i32 @settimeofday(%timeval* nonnull %15, %timezone* null)
%17 = icmp slt i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = call i32* @__errno_location()
%20 = load i32, i32* %19, align 4
%21 = zext i32 %20 to i64
%22 = call i64 @FUNC(i64 %3, i64 %21, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))
store i64 %22, i64* %rax.0.reg2mem
br label LBL_15
LBL_5:
%23 = call i32 @fork()
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%26 = call i32 @setsid()
%27 = call i64 @FUNC(i64 0)
%28 = call i64 @FUNC(i64 1)
%29 = call i64 @FUNC(i64 2)
%30 = call i32 (i8*, i8*, ...) @execle(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))
call void @_exit(i32 1)
unreachable
LBL_7:
%31 = icmp slt i32 %23, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_9, label LBL_8
LBL_8:
%33 = call i32* @__errno_location()
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = call i64 @FUNC(i64 %3, i64 %35, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0))
store i64 %36, i64* %rax.0.reg2mem
br label LBL_15
LBL_9:
%37 = zext i32 %23 to i64
%38 = bitcast i32* %sv_0 to i64*
%39 = call i64 @FUNC(i64 %37, i64* nonnull %38, i64* nonnull %sv_3)
%40 = load i64, i64* %sv_3, align 8
%41 = icmp eq i64 %40, 0
br i1 %41, label LBL_11, label LBL_10
LBL_10:
%42 = call i64 @FUNC(i64 %3, i64 %40)
store i64 %42, i64* %rax.0.reg2mem
br label LBL_15
LBL_11:
%43 = ptrtoint i64* %sv_3 to i64
%44 = ptrtoint i32* %sv_0 to i64
%45 = load i32, i32* %sv_0, align 4
%46 = urem i32 %45, 128
%47 = icmp eq i32 %46, 0
br i1 %47, label LBL_13, label LBL_12
LBL_12:
%48 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i64 %43, i64 %44, i64 %2, i64 %1)
store i64 %48, i64* %rax.0.reg2mem
br label LBL_15
LBL_13:
%49 = and i32 %45, 65280
%50 = icmp eq i32 %49, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %50, label LBL_15, label LBL_14
LBL_14:
%51 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_6, i64 0, i64 0), i64 %43, i64 %44, i64 %2, i64 %1)
store i64 %51, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %45, { 1, 0 }
uselistorder i64 %44, { 1, 0 }
uselistorder i64 %43, { 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64* %sv_3, { 2, 1, 0, 3 }
uselistorder i32* %sv_2, { 1, 2, 0 }
uselistorder i32* %sv_0, { 1, 0, 2 }
uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 4, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 }
uselistorder i64 (i64)* @reopen_fd_to_null, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*)* @error_setg_errno, { 3, 2, 1, 0 }
uselistorder i32 0, { 0, 3, 4, 5, 6, 1, 2 }
} | 0 |
BinRealVul | enl_ipc_get_11750 | enl_ipc_get | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge34.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%4 = icmp eq i64 %arg1, ptrtoint ([8 x i8]* @gv_0 to i64)
%5 = icmp eq i1 %4, false
store i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_8
LBL_1:
%6 = ptrtoint i64* %sv_1 to i64
%7 = add i64 %6, -38
store i64 0, i64* %storemerge34.reg2mem
br label LBL_2
LBL_2:
%storemerge34.reload = load i64, i64* %storemerge34.reg2mem
%8 = urem i64 %storemerge34.reload, 256
%9 = add i64 %8, %arg1
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = add i64 %7, %8
%13 = inttoptr i64 %12 to i8*
store i8 %11, i8* %13, align 1
%14 = add nuw nsw i64 %storemerge34.reload, 1
%15 = and i64 %14, 4294967295
%16 = trunc i64 %14 to i8
%17 = icmp ult i8 %16, 12
store i64 %15, i64* %storemerge34.reg2mem
br i1 %17, label LBL_2, label LBL_3
LBL_3:
%18 = bitcast i64* %sv_0 to i8*
%19 = call i32 @strlen(i8* nonnull %18)
%sext = mul i32 %19, 16777216
%20 = ashr exact i32 %sext, 24
%21 = load i8*, i8** @gv_1, align 8
%22 = icmp eq i8* %21, null
br i1 %22, label LBL_5, label LBL_4
LBL_4:
%23 = load i16, i16* bitcast (i32* @gv_2 to i16*), align 4
%24 = trunc i32 %20 to i16
%25 = urem i16 %24, 256
%26 = add i16 %23, %25
store i16 %26, i16* bitcast (i32* @gv_2 to i16*), align 4
%27 = ptrtoint i8* %21 to i64
%28 = call i64 @FUNC(i64 %27, i64 sext (i32 ptrtoint (i32* @gv_3 to i32) to i64))
%29 = inttoptr i64 %28 to i8*
store i8* %29, i8** @gv_1, align 8
%30 = call i8* @strcat(i8* %29, i8* nonnull %18)
br label LBL_6
LBL_5:
%31 = trunc i32 %20 to i16
%32 = urem i16 %31, 256
store i16 %32, i16* bitcast (i32* @gv_2 to i16*), align 4
%33 = call i64 @FUNC(i64 sext (i32 ptrtoint (i32* @gv_3 to i32) to i64))
%34 = inttoptr i64 %33 to i8*
store i8* %34, i8** @gv_1, align 8
%35 = call i8* @strcpy(i8* %34, i8* nonnull %18)
br label LBL_6
LBL_6:
%36 = trunc i32 %20 to i8
%37 = icmp ult i8 %36, 12
store i64 0, i64* %storemerge.reg2mem
br i1 %37, label LBL_7, label LBL_8
LBL_7:
%rdx.0 = ptrtoint i64* %sv_0 to i64
%38 = load i8*, i8** @gv_1, align 8
%39 = ptrtoint i8* %38 to i64
store i8* null, i8** @gv_1, align 8
%40 = call i64 @FUNC(i64 %39, i64 %rdx.0, i64 %rdx.0, i64 %3, i64 %2, i64 %1)
store i64 %39, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i8* %18, { 1, 0, 2 }
uselistorder i64* %storemerge34.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i16* bitcast (i32* @gv_2 to i16*), { 2, 1, 0 }
uselistorder i8* null, { 1, 0 }
uselistorder i8** @gv_1, { 4, 3, 2, 1, 0 }
uselistorder i32 1, { 8, 7, 4, 3, 2, 9, 1, 0, 5, 6 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | xan_decode_chroma_48 | xan_decode_chroma | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.113.reg2mem = alloca i64
%sv_1.115.reg2mem = alloca i64
%sv_2.317.reg2mem = alloca i8*
%sv_3.018.reg2mem = alloca i64
%sv_4.020.reg2mem = alloca i64
%storemerge422.reg2mem = alloca i32
%.reg2mem83 = alloca i32
%.reg2mem81 = alloca i32
%.reg2mem79 = alloca i32
%.reg2mem77 = alloca i32
%.reg2mem75 = alloca i32
%sv_2.2.lcssa.reg2mem = alloca i8*
%.reg2mem73 = alloca i32
%.reg2mem71 = alloca i32
%.reg2mem69 = alloca i32
%.reg2mem67 = alloca i32
%.reg2mem65 = alloca i32
%.reg2mem63 = alloca i32
%sv_2.210.reg2mem = alloca i8*
%storemerge511.reg2mem = alloca i32
%.reg2mem61 = alloca i64
%.reg2mem59 = alloca i32
%sv_0.026.reg2mem = alloca i64
%sv_1.028.reg2mem = alloca i64
%sv_2.130.reg2mem = alloca i8*
%storemerge31.reg2mem = alloca i32
%.reg2mem57 = alloca i32
%.reg2mem55 = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i8*
%.reg2mem53 = alloca i32
%.reg2mem51 = alloca i32
%sv_2.023.reg2mem = alloca i8*
%storemerge324.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = trunc i64 %arg2 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_25
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = trunc i64 %8 to i32
%10 = add i32 %9, 4
%11 = call i64 @FUNC(i64 %7)
%12 = trunc i64 %11 to i32
%13 = icmp ult i32 %10, %12
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_25
LBL_3:
%15 = add nsw i64 %8, 4
%16 = and i64 %15, 4294967295
%17 = call i64 @FUNC(i64 %7, i64 %16, i64 0)
%18 = call i64 @FUNC(i64 %7)
%19 = call i64 @FUNC(i64 %7)
%20 = trunc i64 %19 to i32
%21 = mul i32 %20, 2
%22 = call i64 @FUNC(i64 %7)
%23 = sext i32 %21 to i64
%24 = icmp sgt i64 %22, %23
br i1 %24, label LBL_5, label LBL_4
LBL_4:
%25 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_25
LBL_5:
%26 = zext i32 %21 to i64
%27 = call i64 @FUNC(i64 %7, i64 %26)
%28 = add i64 %7, 56
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i64 %7, 48
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = inttoptr i64 %33 to i64*
%35 = call i64* @memset(i64* %34, i32 0, i32 %30)
%36 = load i32, i32* %29, align 4
%37 = load i64, i64* %32, align 8
%38 = call i64 @FUNC(i64 %7, i64 %37, i32 %36)
%39 = trunc i64 %38 to i32
%40 = icmp slt i32 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_7, label LBL_6
LBL_6:
%42 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %37, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_25
LBL_7:
%43 = trunc i64 %18 to i32
%44 = add i64 %7, 16
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = add i64 %7, 24
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = load i64, i64* %32, align 8
%51 = inttoptr i64 %50 to i8*
%52 = icmp eq i32 %43, 0
br i1 %52, label LBL_17, label LBL_8
LBL_8:
%53 = add i64 %7, 12
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = icmp ugt i32 %55, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %56, label LBL_9, label LBL_25
LBL_9:
%sext6 = mul i64 %38, 4294967296
%57 = ashr exact i64 %sext6, 32
%58 = add i64 %50, %57
%59 = add i64 %7, 8
%60 = inttoptr i64 %59 to i32*
%61 = add i64 %7, 36
%62 = inttoptr i64 %61 to i32*
%63 = add i64 %7, 40
%64 = inttoptr i64 %63 to i32*
%.pre = load i32, i32* %60, align 4
store i32 %55, i32* %.reg2mem55
store i32 %.pre, i32* %.reg2mem57
store i32 0, i32* %storemerge31.reg2mem
store i8* %51, i8** %sv_2.130.reg2mem
store i64 %49, i64* %sv_1.028.reg2mem
store i64 %46, i64* %sv_0.026.reg2mem
br label LBL_13.preheader
LBL_10:
%sv_2.023.reload = load i8*, i8** %sv_2.023.reg2mem
%storemerge324.reload = load i32, i32* %storemerge324.reg2mem
%65 = load i8, i8* %sv_2.023.reload, align 1
%66 = icmp eq i8 %65, 0
br i1 %66, label LBL_12, label LBL_11
LBL_11:
%.reload = load i64, i64* %.reg2mem
%67 = zext i8 %65 to i64
%68 = mul i64 %67, 2
%69 = add i64 %68, %7
%70 = inttoptr i64 %69 to i16*
%71 = load i16, i16* %70, align 2
%72 = zext i16 %71 to i32
%73 = udiv i32 %72, 8
%74 = and i32 %73, 248
%75 = udiv i32 %72, 256
%76 = and i32 %75, 248
%77 = udiv i32 %74, 32
%78 = or i32 %77, %74
%79 = add i64 %.reload, %sv_0.026.reload
%80 = trunc i32 %78 to i8
%81 = inttoptr i64 %79 to i8*
store i8 %80, i8* %81, align 1
%82 = udiv i32 %72, 8192
%83 = or i32 %76, %82
%84 = add i64 %.reload, %sv_1.028.reload
%85 = trunc i32 %83 to i8
%86 = inttoptr i64 %84 to i8*
store i8 %85, i8* %86, align 1
br label LBL_12
LBL_12:
%87 = ptrtoint i8* %sv_2.023.reload to i64
%88 = add i64 %87, 1
%89 = icmp eq i64 %58, %88
%90 = icmp eq i1 %89, false
store i64 0, i64* %rax.0.reg2mem
br i1 %90, label LBL_13, label LBL_25
LBL_13:
%91 = inttoptr i64 %88 to i8*
%92 = add i32 %storemerge324.reload, 1
%93 = load i32, i32* %60, align 4
%94 = ashr i32 %93, 1
%95 = zext i32 %94 to i64
%96 = sext i32 %92 to i64
%97 = icmp slt i64 %96, %95
store i64 %96, i64* %.reg2mem
store i32 %92, i32* %storemerge324.reg2mem
store i8* %91, i8** %sv_2.023.reg2mem
br i1 %97, label LBL_10, label LBL_13.LBL_15_crit_edge
LBL_14:
%.pre34 = load i32, i32* %54, align 4
store i32 %.pre34, i32* %.reg2mem51
store i32 %93, i32* %.reg2mem53
store i8* %91, i8** %sv_2.0.lcssa.reg2mem
br label LBL_15
LBL_15:
%sv_2.0.lcssa.reload = load i8*, i8** %sv_2.0.lcssa.reg2mem
%.reload54 = load i32, i32* %.reg2mem53
%.reload52 = load i32, i32* %.reg2mem51
%98 = load i32, i32* %62, align 4
%99 = sext i32 %98 to i64
%100 = add i64 %sv_0.026.reload, %99
%101 = load i32, i32* %64, align 4
%102 = sext i32 %101 to i64
%103 = add i64 %sv_1.028.reload, %102
%104 = add i32 %storemerge31.reload, 1
%105 = ashr i32 %.reload52, 1
%106 = zext i32 %105 to i64
%107 = sext i32 %104 to i64
%108 = icmp slt i64 %107, %106
store i32 %.reload52, i32* %.reg2mem55
store i32 %.reload54, i32* %.reg2mem57
store i32 %104, i32* %storemerge31.reg2mem
store i8* %sv_2.0.lcssa.reload, i8** %sv_2.130.reg2mem
store i64 %103, i64* %sv_1.028.reg2mem
store i64 %100, i64* %sv_0.026.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %108, label LBL_13.preheader, label LBL_25
LBL_16:
%sv_0.026.reload = load i64, i64* %sv_0.026.reg2mem
%sv_1.028.reload = load i64, i64* %sv_1.028.reg2mem
%sv_2.130.reload = load i8*, i8** %sv_2.130.reg2mem
%storemerge31.reload = load i32, i32* %storemerge31.reg2mem
%.reload58 = load i32, i32* %.reg2mem57
%.reload56 = load i32, i32* %.reg2mem55
%109 = icmp ugt i32 %.reload58, 1
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge324.reg2mem
store i8* %sv_2.130.reload, i8** %sv_2.023.reg2mem
store i32 %.reload56, i32* %.reg2mem51
store i32 %.reload58, i32* %.reg2mem53
store i8* %sv_2.130.reload, i8** %sv_2.0.lcssa.reg2mem
br i1 %109, label LBL_10, label LBL_15
LBL_17:
%110 = add i64 %7, 12
%111 = inttoptr i64 %110 to i32*
%112 = load i32, i32* %111, align 4
%113 = icmp ugt i32 %112, 3
store i64 0, i64* %rax.0.reg2mem
br i1 %113, label LBL_18, label LBL_25
LBL_18:
%114 = add i64 %7, 36
%115 = inttoptr i64 %114 to i32*
%116 = add i64 %7, 40
%117 = inttoptr i64 %116 to i32*
%118 = load i32, i32* %117, align 4
%119 = sext i32 %118 to i64
%120 = add i64 %49, %119
%121 = load i32, i32* %115, align 4
%122 = sext i32 %121 to i64
%123 = add i64 %46, %122
%124 = add i64 %7, 8
%125 = inttoptr i64 %124 to i32*
%.pre35 = load i32, i32* %125, align 4
store i32 %112, i32* %.reg2mem75
store i32 %118, i32* %.reg2mem77
store i32 %121, i32* %.reg2mem79
store i32 %.pre35, i32* %.reg2mem81
store i32 %.pre35, i32* %.reg2mem83
store i32 0, i32* %storemerge422.reg2mem
store i64 %120, i64* %sv_4.020.reg2mem
store i64 %123, i64* %sv_3.018.reg2mem
store i8* %51, i8** %sv_2.317.reg2mem
store i64 %49, i64* %sv_1.115.reg2mem
store i64 %46, i64* %sv_0.113.reg2mem
br label LBL_24
LBL_19:
%sv_2.210.reload = load i8*, i8** %sv_2.210.reg2mem
%storemerge511.reload = load i32, i32* %storemerge511.reg2mem
%.reload60 = load i32, i32* %.reg2mem59
%126 = load i8, i8* %sv_2.210.reload, align 1
%127 = icmp eq i8 %126, 0
store i32 %.reload60, i32* %.reg2mem63
br i1 %127, label LBL_21, label LBL_20
LBL_20:
%.reload62 = load i64, i64* %.reg2mem61
%128 = zext i8 %126 to i64
%129 = mul i64 %128, 2
%130 = add i64 %129, %7
%131 = inttoptr i64 %130 to i16*
%132 = load i16, i16* %131, align 2
%133 = zext i16 %132 to i32
%134 = udiv i32 %133, 8
%135 = and i32 %134, 248
%136 = udiv i32 %133, 256
%137 = and i32 %136, 248
%138 = udiv i32 %135, 32
%139 = or i32 %138, %135
%140 = or i32 %storemerge511.reload, 1
%141 = sext i32 %140 to i64
%142 = add i64 %sv_3.018.reload, %141
%143 = trunc i32 %139 to i8
%144 = inttoptr i64 %142 to i8*
store i8 %143, i8* %144, align 1
%145 = add i64 %.reload62, %sv_3.018.reload
%146 = inttoptr i64 %145 to i8*
store i8 %143, i8* %146, align 1
%147 = add i64 %sv_0.113.reload, %141
%148 = inttoptr i64 %147 to i8*
store i8 %143, i8* %148, align 1
%149 = add i64 %.reload62, %sv_0.113.reload
%150 = inttoptr i64 %149 to i8*
store i8 %143, i8* %150, align 1
%151 = udiv i32 %133, 8192
%152 = or i32 %137, %151
%153 = add i64 %sv_4.020.reload, %141
%154 = trunc i32 %152 to i8
%155 = inttoptr i64 %153 to i8*
store i8 %154, i8* %155, align 1
%156 = add i64 %.reload62, %sv_4.020.reload
%157 = inttoptr i64 %156 to i8*
store i8 %154, i8* %157, align 1
%158 = add i64 %sv_1.115.reload, %141
%159 = inttoptr i64 %158 to i8*
store i8 %154, i8* %159, align 1
%160 = add i64 %.reload62, %sv_1.115.reload
%161 = inttoptr i64 %160 to i8*
store i8 %154, i8* %161, align 1
%.pre36 = load i32, i32* %125, align 4
store i32 %.pre36, i32* %.reg2mem63
br label LBL_21
LBL_21:
%162 = ptrtoint i8* %sv_2.210.reload to i64
%163 = add i64 %162, 1
%164 = inttoptr i64 %163 to i8*
%.reload64 = load i32, i32* %.reg2mem63
%165 = add i32 %storemerge511.reload, 2
%166 = ashr i32 %.reload64, 1
%167 = zext i32 %166 to i64
%168 = sext i32 %165 to i64
%169 = icmp slt i64 %168, %167
store i32 %.reload64, i32* %.reg2mem59
store i64 %168, i64* %.reg2mem61
store i32 %165, i32* %storemerge511.reg2mem
store i8* %164, i8** %sv_2.210.reg2mem
br i1 %169, label LBL_19, label LBL_22
LBL_22:
%.pre37 = load i32, i32* %115, align 4
%.pre38 = load i32, i32* %117, align 4
%.pre39 = load i32, i32* %111, align 4
store i32 %.pre39, i32* %.reg2mem65
store i32 %.pre38, i32* %.reg2mem67
store i32 %.pre37, i32* %.reg2mem69
store i32 %.reload64, i32* %.reg2mem71
store i32 %.reload64, i32* %.reg2mem73
store i8* %164, i8** %sv_2.2.lcssa.reg2mem
br label LBL_23
LBL_23:
%sv_2.2.lcssa.reload = load i8*, i8** %sv_2.2.lcssa.reg2mem
%.reload74 = load i32, i32* %.reg2mem73
%.reload72 = load i32, i32* %.reg2mem71
%.reload70 = load i32, i32* %.reg2mem69
%.reload68 = load i32, i32* %.reg2mem67
%.reload66 = load i32, i32* %.reg2mem65
%170 = mul i32 %.reload70, 2
%171 = sext i32 %170 to i64
%172 = add i64 %sv_0.113.reload, %171
%173 = mul i32 %.reload68, 2
%174 = sext i32 %173 to i64
%175 = add i64 %sv_1.115.reload, %174
%176 = add i64 %sv_3.018.reload, %171
%177 = add i64 %sv_4.020.reload, %174
%178 = add i32 %storemerge422.reload, 1
%179 = ashr i32 %.reload66, 2
%180 = zext i32 %179 to i64
%181 = sext i32 %178 to i64
%182 = icmp slt i64 %181, %180
store i32 %.reload66, i32* %.reg2mem75
store i32 %.reload68, i32* %.reg2mem77
store i32 %.reload70, i32* %.reg2mem79
store i32 %.reload72, i32* %.reg2mem81
store i32 %.reload74, i32* %.reg2mem83
store i32 %178, i32* %storemerge422.reg2mem
store i64 %177, i64* %sv_4.020.reg2mem
store i64 %176, i64* %sv_3.018.reg2mem
store i8* %sv_2.2.lcssa.reload, i8** %sv_2.317.reg2mem
store i64 %175, i64* %sv_1.115.reg2mem
store i64 %172, i64* %sv_0.113.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %182, label LBL_24, label LBL_25
LBL_24:
%sv_0.113.reload = load i64, i64* %sv_0.113.reg2mem
%sv_1.115.reload = load i64, i64* %sv_1.115.reg2mem
%sv_2.317.reload = load i8*, i8** %sv_2.317.reg2mem
%sv_3.018.reload = load i64, i64* %sv_3.018.reg2mem
%sv_4.020.reload = load i64, i64* %sv_4.020.reg2mem
%storemerge422.reload = load i32, i32* %storemerge422.reg2mem
%.reload84 = load i32, i32* %.reg2mem83
%.reload82 = load i32, i32* %.reg2mem81
%.reload80 = load i32, i32* %.reg2mem79
%.reload78 = load i32, i32* %.reg2mem77
%.reload76 = load i32, i32* %.reg2mem75
%183 = icmp ugt i32 %.reload84, 1
store i32 %.reload82, i32* %.reg2mem59
store i64 0, i64* %.reg2mem61
store i32 0, i32* %storemerge511.reg2mem
store i8* %sv_2.317.reload, i8** %sv_2.210.reg2mem
store i32 %.reload76, i32* %.reg2mem65
store i32 %.reload78, i32* %.reg2mem67
store i32 %.reload80, i32* %.reg2mem69
store i32 %.reload82, i32* %.reg2mem71
store i32 %.reload84, i32* %.reg2mem73
store i8* %sv_2.317.reload, i8** %sv_2.2.lcssa.reg2mem
br i1 %183, label LBL_19, label LBL_23
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.reload82, { 1, 0 }
uselistorder i32 %.reload84, { 1, 0 }
uselistorder i64 %sv_4.020.reload, { 2, 0, 1 }
uselistorder i64 %sv_3.018.reload, { 2, 0, 1 }
uselistorder i8* %sv_2.317.reload, { 1, 0 }
uselistorder i64 %sv_1.115.reload, { 2, 0, 1 }
uselistorder i64 %sv_0.113.reload, { 2, 0, 1 }
uselistorder i32 %.reload64, { 0, 1, 3, 2 }
uselistorder i8 %154, { 1, 0, 2, 3 }
uselistorder i8 %143, { 1, 0, 2, 3 }
uselistorder i32 %135, { 1, 0 }
uselistorder i64 %.reload62, { 3, 2, 1, 0 }
uselistorder i32 %storemerge511.reload, { 1, 0 }
uselistorder i32 %.reload58, { 1, 0 }
uselistorder i8* %sv_2.130.reload, { 1, 0 }
uselistorder i64 %88, { 1, 0 }
uselistorder i32 %74, { 1, 0 }
uselistorder i64 %.reload, { 1, 0 }
uselistorder i32* %60, { 1, 0 }
uselistorder i64 %49, { 0, 2, 1 }
uselistorder i64 %46, { 0, 2, 1 }
uselistorder i64 %7, { 0, 9, 11, 12, 10, 1, 5, 6, 7, 8, 14, 13, 4, 15, 17, 16, 18, 3, 19, 20, 21, 22, 2, 23 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 1, 2, 0 }
uselistorder i32* %storemerge324.reg2mem, { 1, 2, 0 }
uselistorder i8** %sv_2.023.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem51, { 1, 0, 2 }
uselistorder i32* %.reg2mem53, { 1, 0, 2 }
uselistorder i8** %sv_2.0.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem59, { 1, 2, 0 }
uselistorder i64* %.reg2mem61, { 1, 2, 0 }
uselistorder i32* %storemerge511.reg2mem, { 1, 2, 0 }
uselistorder i8** %sv_2.210.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem63, { 0, 2, 1 }
uselistorder i32* %.reg2mem65, { 1, 0, 2 }
uselistorder i32* %.reg2mem67, { 1, 0, 2 }
uselistorder i32* %.reg2mem69, { 1, 0, 2 }
uselistorder i32* %.reg2mem71, { 1, 0, 2 }
uselistorder i32* %.reg2mem73, { 1, 0, 2 }
uselistorder i8** %sv_2.2.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 1, 2, 4, 9, 8, 7, 6 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 2, { 4, 0, 1, 3, 2 }
uselistorder i64 (i64)* @bytestream2_get_le16, { 1, 0 }
uselistorder i64 4294967295, { 2, 1, 3, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }
uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 }
uselistorder i32 0, { 1, 0, 3, 2, 5, 6, 4, 7 }
uselistorder label LBL_25, { 2, 4, 0, 1, 3, 6, 7, 8, 5 }
uselistorder label LBL_24, { 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_13.preheader, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
} | 1 |
BinRealVul | format_DEC_TTL_8101 | format_DEC_TTL | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%5 = load i64*, i64** @gv_0, align 8
%6 = ptrtoint i64* %5 to i64
%7 = load i64*, i64** @gv_1, align 8
%8 = ptrtoint i64* %7 to i64
%9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %6, i64 %2, i64 %1)
%10 = trunc i64 %3 to i32
%11 = and i64 %3, 4294967295
%12 = icmp eq i32 %10, 1
%13 = icmp eq i1 %12, false
store i64 %11, i64* %rax.0.reg2mem
br i1 %13, label LBL_7, label LBL_1
LBL_1:
%14 = ptrtoint i64* %arg1 to i64
%15 = load i64*, i64** @gv_0, align 8
%16 = ptrtoint i64* %15 to i64
%17 = load i64*, i64** @gv_1, align 8
%18 = ptrtoint i64* %17 to i64
%19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %16, i64 %2, i64 %1)
%20 = add i64 %14, 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label LBL_6, label LBL_2
LBL_2:
%24 = add i64 %14, 16
store i64 0, i64* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%25 = icmp eq i64 %storemerge1.reload, 0
br i1 %25, label LBL_5, label LBL_4
LBL_4:
%26 = call i64 @FUNC(i64 %4, i64* nonnull @gv_4)
br label LBL_5
LBL_5:
%27 = mul i64 %storemerge1.reload, 2
%28 = add i64 %24, %27
%29 = inttoptr i64 %28 to i16*
%30 = load i16, i16* %29, align 2
%31 = zext i16 %30 to i64
%32 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %31, i64 %16, i64 %2, i64 %1)
%33 = add nuw i64 %storemerge1.reload, 1
%34 = load i64, i64* %21, align 8
%35 = icmp ult i64 %33, %34
store i64 %33, i64* %storemerge1.reg2mem
br i1 %35, label LBL_3, label LBL_6
LBL_6:
%36 = load i64*, i64** @gv_0, align 8
%37 = ptrtoint i64* %36 to i64
%38 = load i64*, i64** @gv_1, align 8
%39 = ptrtoint i64* %38 to i64
%40 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 %39, i64 %37, i64 %2, i64 %1)
store i64 %40, 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 %storemerge1.reload, { 0, 2, 1 }
uselistorder i64* %21, { 1, 0 }
uselistorder i64 %4, { 0, 2, 1, 3, 4 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ds_put_format, { 2, 3, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | tipc_sk_reinit_10744 | tipc_sk_reinit | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = call i64 @FUNC()
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = zext i32 %7 to i64
store i32 0, i32* %storemerge.reg2mem
br label LBL_1
LBL_1:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%9 = sext i32 %storemerge.reload to i64
%10 = icmp slt i64 %9, %8
%11 = add i32 %storemerge.reload, 1
store i32 %11, i32* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_2:
%12 = call i64 @FUNC()
ret i64 %12
uselistorder i32 %storemerge.reload, { 1, 0 }
uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }
} | 0 |
BinRealVul | qeth_mpc_initialize_17526 | qeth_mpc_initialize | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i32 @puts(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))
%4 = call i64 @FUNC(i64 %2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %4, 4294967295
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %7)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_19
LBL_2:
%9 = call i64 @FUNC(i64 %2)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = and i64 %9, 4294967295
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %12)
store i64 %12, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_4:
%14 = call i64 @FUNC(i64 %2)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = and i64 %14, 4294967295
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %17)
store i64 %17, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_6:
%19 = call i64 @FUNC(i64 %2)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_8, label LBL_7
LBL_7:
%22 = and i64 %19, 4294967295
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %22)
store i64 %22, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_8:
%24 = call i64 @FUNC(i64 %2)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label LBL_10, label LBL_9
LBL_9:
%27 = and i64 %24, 4294967295
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %27)
store i64 %27, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_10:
%29 = call i64 @FUNC(i64 %2)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_12, label LBL_11
LBL_11:
%32 = and i64 %29, 4294967295
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %32)
store i64 %32, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_12:
%34 = call i64 @FUNC(i64 %2)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label LBL_14, label LBL_13
LBL_13:
%37 = and i64 %34, 4294967295
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %37)
%39 = call i64 @FUNC(i64 %2)
store i64 %37, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_14:
%40 = call i64 @FUNC(i64 %2)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label LBL_16, label LBL_15
LBL_15:
%43 = and i64 %40, 4294967295
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), i64 %43)
store i64 %43, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_16:
%45 = call i64 @FUNC(i64 %2)
%46 = trunc i64 %45 to i32
%47 = icmp eq i32 %46, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %47, label LBL_19, label LBL_17
LBL_17:
%48 = and i64 %45, 4294967295
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i64 %48)
store i64 %48, i64* %.pre-phi.reg2mem
br label LBL_18
LBL_18:
%50 = trunc i64 %1 to i32
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%51 = icmp eq i32 %50, 1
%52 = icmp eq i1 %51, false
%53 = zext i1 %52 to i64
%54 = call i64 @FUNC(i64 %2, i64 %53)
store i64 %.pre-phi.reload, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 0, 2, 3, 1, 4, 5, 6, 7, 8, 9, 10 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_19, { 1, 0, 2 }
} | 1 |
BinRealVul | mov_flush_fragment_70 | mov_flush_fragment | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.3.reg2mem = alloca i32
%sv_0.211.reg2mem = alloca i32
%.reg2mem60 = alloca i32
%sv_0.210.reg2mem = alloca i32
%sv_1.012.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i64
%sv_0.417.reg2mem = alloca i32
%storemerge618.reg2mem = alloca i32
%.reg2mem58 = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_3.0.reg2mem = alloca i32
%sv_3.122.reg2mem = alloca i32
%sv_0.123.reg2mem = alloca i32
%storemerge824.reg2mem = alloca i32
%.reg2mem56 = alloca i64
%.reg2mem54 = alloca i32
%.pre-phi43.reg2mem = alloca i32*
%storemerge29.reg2mem = alloca i32
%.reg2mem52 = alloca i64
%.reg2mem50 = alloca i32
%storemerge430.reg2mem = alloca i32
%.reg2mem48 = alloca i64
%.lcssa15.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%storemerge531.reg2mem = alloca i32
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
%2 = trunc i64 %1 to i32
%3 = urem i32 %2, 2
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_1, label LBL_45
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = bitcast i64* %rdi to i32*
%8 = add i64 %6, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
%13 = add i64 %6, 8
br i1 %12, label LBL_2, label LBL_4
LBL_2:
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_45, label LBL_3
LBL_3:
%17 = add i64 %6, 16
%18 = inttoptr i64 %17 to i64*
store i32 %2, i32* %.reg2mem54
store i64 0, i64* %.reg2mem56
store i32 0, i32* %storemerge824.reg2mem
store i32 0, i32* %sv_0.123.reg2mem
store i32 -1, i32* %sv_3.122.reg2mem
br label LBL_23
LBL_4:
%19 = inttoptr i64 %13 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = inttoptr i64 %13 to i32*
%23 = load i32, i32* %22, align 4
%24 = icmp eq i32 %23, 0
store i64 0, i64* %.pre-phi.reg2mem
store i64 0, i64* %.lcssa15.reg2mem
br i1 %24, label LBL_8, label LBL_5
LBL_5:
%25 = add i64 %6, 16
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = zext i32 %23 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge531.reg2mem
br label LBL_6
LBL_6:
%.reload = load i64, i64* %.reg2mem
%29 = mul nsw i64 %.reload, 56
%30 = add i64 %29, %27
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
store i64 %28, i64* %.pre-phi.reg2mem
store i64 %.reload, i64* %.lcssa15.reg2mem
br i1 %33, label LBL_8, label LBL_7
LBL_7:
%storemerge531.reload = load i32, i32* %storemerge531.reg2mem
%34 = add i32 %storemerge531.reload, 1
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %35, %28
store i64 %35, i64* %.reg2mem
store i32 %34, i32* %storemerge531.reg2mem
store i64 %28, i64* %.pre-phi.reg2mem
store i64 %35, i64* %.lcssa15.reg2mem
br i1 %36, label LBL_6, label LBL_8
LBL_8:
%.lcssa15.reload = load i64, i64* %.lcssa15.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%37 = icmp slt i64 %.lcssa15.reload, %.pre-phi.reload
br i1 %37, label LBL_45, label LBL_9
LBL_9:
%38 = call i64 @FUNC(i64 %6)
%39 = load i32, i32* %22, align 4
%40 = icmp eq i32 %39, 0
store i32 %2, i32* %.reg2mem50
br i1 %40, label LBL_13, label LBL_10
LBL_10:
%sext = mul i64 %21, 4294967296
%41 = ashr exact i64 %sext, 32
%sext9 = mul i64 %38, 4294967296
%42 = ashr exact i64 %sext9, 32
%43 = add i64 %6, 16
%44 = inttoptr i64 %43 to i64*
%45 = add nsw i64 %41, 8
%46 = add nsw i64 %45, %42
store i64 0, i64* %.reg2mem48
store i32 0, i32* %storemerge430.reg2mem
br label LBL_11
LBL_11:
%storemerge430.reload = load i32, i32* %storemerge430.reg2mem
%.reload49 = load i64, i64* %.reg2mem48
%47 = load i64, i64* %44, align 8
%48 = mul nsw i64 %.reload49, 56
%49 = add nsw i64 %48, 8
%50 = add i64 %49, %47
%51 = inttoptr i64 %50 to i64*
store i64 %46, i64* %51, align 8
%52 = add i32 %storemerge430.reload, 1
%53 = load i32, i32* %22, align 4
%54 = zext i32 %53 to i64
%55 = sext i32 %52 to i64
%56 = icmp slt i64 %55, %54
store i64 %55, i64* %.reg2mem48
store i32 %52, i32* %storemerge430.reg2mem
br i1 %56, label LBL_11, label LBL_12
LBL_12:
%.pre = load i32, i32* %7, align 8
store i32 %.pre, i32* %.reg2mem50
br label LBL_13
LBL_13:
%.reload51 = load i32, i32* %.reg2mem50
%57 = and i32 %.reload51, 2
%58 = icmp eq i32 %57, 0
%59 = load i64, i64* %19, align 8
br i1 %58, label LBL_17, label LBL_14
LBL_14:
%60 = call i64 @FUNC(i64 %59, i64 %6)
%61 = load i64, i64* %19, align 8
%62 = call i64 @FUNC(i64 %61, i64 %6, i64 %6)
%63 = and i32 %.reload51, 4
%64 = icmp eq i32 %63, 0
br i1 %64, label LBL_16, label LBL_15
LBL_15:
%65 = load i64, i64* %19, align 8
%66 = call i64 @FUNC(i64 %65)
%sext3 = mul i64 %66, 4294967296
%67 = ashr exact i64 %sext3, 32
%68 = add i64 %6, 40
%69 = inttoptr i64 %68 to i64*
store i64 %67, i64* %69, align 8
br label LBL_16
LBL_16:
%70 = load i64, i64* %19, align 8
%71 = call i64 @FUNC(i64 %70)
%72 = load i32, i32* %9, align 4
%73 = add i32 %72, 1
store i32 %73, i32* %9, align 4
br label LBL_45
LBL_17:
%74 = call i64 @FUNC(i64 %59, i64 %6, i64 %6)
%75 = add i64 %6, 24
%76 = inttoptr i64 %75 to i64*
%77 = load i64, i64* %76, align 8
%78 = call i64 @FUNC(i64 %77, i64* nonnull %sv_5)
%79 = trunc i64 %78 to i32
store i64 0, i64* %76, align 8
%80 = add i64 %78, 8
%81 = load i64, i64* %19, align 8
%82 = and i64 %80, 4294967295
%83 = call i64 @FUNC(i64 %81, i64 %82)
%84 = load i64, i64* %19, align 8
%85 = call i64 @FUNC(i64 %84, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%86 = load i64, i64* %sv_5, align 8
%87 = load i64, i64* %19, align 8
%88 = call i64 @FUNC(i64 %87, i64 %86, i32 %79)
%89 = load i64, i64* %sv_5, align 8
%90 = call i64 @FUNC(i64 %89)
%91 = load i32, i32* %9, align 4
%92 = add i32 %91, 1
store i32 %92, i32* %9, align 4
%93 = add i64 %6, 32
%94 = inttoptr i64 %93 to i64*
store i64 0, i64* %94, align 8
%95 = load i32, i32* %22, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label LBL_22, label LBL_18
LBL_18:
%97 = add i64 %6, 16
%98 = inttoptr i64 %97 to i64*
store i64 0, i64* %.reg2mem52
store i32 0, i32* %storemerge29.reg2mem
br label LBL_19
LBL_19:
%storemerge29.reload = load i32, i32* %storemerge29.reg2mem
%.reload53 = load i64, i64* %.reg2mem52
%99 = load i64, i64* %98, align 8
%100 = mul nsw i64 %.reload53, 56
%101 = add i64 %99, %100
%102 = inttoptr i64 %101 to i32*
%103 = load i32, i32* %102, align 4
%104 = icmp eq i32 %103, 0
store i32* %102, i32** %.pre-phi43.reg2mem
br i1 %104, label LBL_21, label LBL_20
LBL_20:
%105 = add i64 %101, 16
%106 = inttoptr i64 %105 to i64*
%107 = load i64, i64* %106, align 8
%108 = add i64 %101, 24
%109 = inttoptr i64 %108 to i64*
%110 = load i64, i64* %109, align 8
%111 = add i64 %101, 32
%112 = inttoptr i64 %111 to i64*
%113 = load i64, i64* %112, align 8
%114 = add i64 %101, 40
%115 = inttoptr i64 %114 to i64*
%116 = load i64, i64* %115, align 8
%117 = inttoptr i64 %116 to i64*
%118 = load i64, i64* %117, align 8
%119 = add i64 %110, %107
%120 = add i64 %119, %113
%121 = sub i64 %120, %118
store i64 %121, i64* %106, align 8
%.pre38 = load i64, i64* %98, align 8
%.pre41 = add i64 %.pre38, %100
%.pre42 = inttoptr i64 %.pre41 to i32*
store i32* %.pre42, i32** %.pre-phi43.reg2mem
br label LBL_21
LBL_21:
%.pre-phi43.reload = load i32*, i32** %.pre-phi43.reg2mem
store i32 0, i32* %.pre-phi43.reload, align 4
%122 = add i32 %storemerge29.reload, 1
%123 = load i32, i32* %22, align 4
%124 = zext i32 %123 to i64
%125 = sext i32 %122 to i64
%126 = icmp slt i64 %125, %124
store i64 %125, i64* %.reg2mem52
store i32 %122, i32* %storemerge29.reg2mem
br i1 %126, label LBL_19, label LBL_22
LBL_22:
%127 = load i64, i64* %19, align 8
%128 = call i64 @FUNC(i64 %127)
br label LBL_45
LBL_23:
%sv_3.122.reload = load i32, i32* %sv_3.122.reg2mem
%sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem
%storemerge824.reload = load i32, i32* %storemerge824.reg2mem
%.reload57 = load i64, i64* %.reg2mem56
%.reload55 = load i32, i32* %.reg2mem54
%129 = load i64, i64* %18, align 8
%130 = mul nsw i64 %.reload57, 56
%131 = add i64 %129, %130
%132 = and i32 %.reload55, 8
%133 = icmp eq i32 %132, 0
br i1 %133, label LBL_25, label LBL_24
LBL_24:
%134 = add i64 %131, 8
%135 = inttoptr i64 %134 to i64*
store i64 0, i64* %135, align 8
br label LBL_26
LBL_25:
%136 = sext i32 %sv_0.123.reload to i64
%137 = add i64 %131, 8
%138 = inttoptr i64 %137 to i64*
store i64 %136, i64* %138, align 8
br label LBL_26
LBL_26:
%139 = add i64 %131, 48
%140 = inttoptr i64 %139 to i64*
%141 = load i64, i64* %140, align 8
%142 = icmp eq i64 %141, 0
store i32 %sv_3.122.reload, i32* %sv_3.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br i1 %142, label LBL_28, label LBL_27
LBL_27:
%143 = call i64 @FUNC(i64 %141)
%144 = trunc i64 %143 to i32
%145 = add i32 %sv_0.123.reload, %144
%146 = icmp slt i32 %sv_3.122.reload, 0
%147 = icmp eq i1 %146, false
%spec.select = select i1 %147, i32 %sv_3.122.reload, i32 %storemerge824.reload
store i32 %spec.select, i32* %sv_3.0.reg2mem
store i32 %145, i32* %sv_0.0.reg2mem
br label LBL_28
LBL_28:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%148 = add i32 %storemerge824.reload, 1
%149 = load i32, i32* %14, align 4
%150 = zext i32 %149 to i64
%151 = sext i32 %148 to i64
%152 = icmp slt i64 %151, %150
br i1 %152, label LBL_28.LBL_23_crit_edge, label LBL_30
LBL_29:
%.pre39 = load i32, i32* %7, align 8
store i32 %.pre39, i32* %.reg2mem54
store i64 %151, i64* %.reg2mem56
store i32 %148, i32* %storemerge824.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.123.reg2mem
store i32 %sv_3.0.reload, i32* %sv_3.122.reg2mem
br label LBL_23
LBL_30:
%153 = icmp eq i32 %sv_0.0.reload, 0
%154 = icmp eq i1 %153, false
br i1 %154, label LBL_31, label LBL_45
LBL_31:
%155 = icmp eq i32 %149, 0
%.pre44 = inttoptr i64 %13 to i64*
store i64 0, i64* %.reg2mem58
store i32 0, i32* %storemerge618.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.417.reg2mem
br i1 %155, label LBL_44, label LBL_32
LBL_32:
%sv_0.417.reload = load i32, i32* %sv_0.417.reg2mem
%storemerge618.reload = load i32, i32* %storemerge618.reg2mem
%.reload59 = load i64, i64* %.reg2mem58
%156 = load i64, i64* %18, align 8
%157 = mul nsw i64 %.reload59, 56
%158 = add i64 %156, %157
%159 = inttoptr i64 %158 to i32*
%160 = load i32, i32* %159, align 4
%161 = icmp eq i32 %160, 0
store i64 0, i64* %sv_2.0.reg2mem
br i1 %161, label LBL_34, label LBL_33
LBL_33:
%162 = add i64 %158, 24
%163 = inttoptr i64 %162 to i64*
%164 = load i64, i64* %163, align 8
%165 = add i64 %158, 32
%166 = inttoptr i64 %165 to i64*
%167 = load i64, i64* %166, align 8
%168 = add i64 %167, %164
%169 = add i64 %158, 40
%170 = inttoptr i64 %169 to i64*
%171 = load i64, i64* %170, align 8
%172 = inttoptr i64 %171 to i64*
%173 = load i64, i64* %172, align 8
%174 = sub i64 %168, %173
store i64 %174, i64* %sv_2.0.reg2mem
br label LBL_34
LBL_34:
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%175 = load i32, i32* %7, align 8
%176 = and i32 %175, 8
%177 = icmp eq i32 %176, 0
br i1 %177, label LBL_37, label LBL_35
LBL_35:
%178 = add i64 %158, 48
%179 = inttoptr i64 %178 to i64*
%180 = load i64, i64* %179, align 8
%181 = icmp eq i64 %180, 0
store i32 %sv_0.417.reload, i32* %sv_0.3.reg2mem
br i1 %181, label LBL_43, label LBL_36
LBL_36:
%182 = call i64 @FUNC(i64 %180)
%183 = trunc i64 %182 to i32
store i32 %storemerge618.reload, i32* %sv_1.012.reg2mem
store i32 %183, i32* %sv_0.210.reg2mem
br label LBL_38
LBL_37:
%184 = icmp eq i32 %storemerge618.reload, %sv_3.0.reload
%185 = icmp eq i1 %184, false
store i32 -1, i32* %sv_1.012.reg2mem
store i32 %sv_0.417.reload, i32* %sv_0.210.reg2mem
store i32 %160, i32* %.reg2mem60
store i32 %sv_0.417.reload, i32* %sv_0.211.reg2mem
br i1 %185, label LBL_39, label LBL_38
LBL_38:
%sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem
%sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem
%186 = load i64, i64* %.pre44, align 8
%187 = call i64 @FUNC(i64 %186)
%188 = load i64, i64* %.pre44, align 8
%189 = sext i32 %sv_0.210.reload to i64
%190 = call i64 @FUNC(i64 %188, i64 %6, i32 %sv_1.012.reload, i64 %189)
%191 = load i32, i32* %9, align 4
%192 = add i32 %191, 1
store i32 %192, i32* %9, align 4
%193 = add i32 %sv_0.210.reload, 8
%194 = load i64, i64* %.pre44, align 8
%195 = zext i32 %193 to i64
%196 = call i64 @FUNC(i64 %194, i64 %195)
%197 = load i64, i64* %.pre44, align 8
%198 = call i64 @FUNC(i64 %197, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%.pre40 = load i32, i32* %159, align 4
store i32 %.pre40, i32* %.reg2mem60
store i32 %sv_0.210.reload, i32* %sv_0.211.reg2mem
br label LBL_39
LBL_39:
%sv_0.211.reload = load i32, i32* %sv_0.211.reg2mem
%.reload61 = load i32, i32* %.reg2mem60
%199 = icmp eq i32 %.reload61, 0
br i1 %199, label LBL_41, label LBL_40
LBL_40:
%200 = add i64 %158, 16
%201 = inttoptr i64 %200 to i64*
%202 = load i64, i64* %201, align 8
%203 = add i64 %202, %sv_2.0.reload
store i64 %203, i64* %201, align 8
br label LBL_41
LBL_41:
store i32 0, i32* %159, align 4
%204 = add i64 %158, 48
%205 = inttoptr i64 %204 to i64*
%206 = load i64, i64* %205, align 8
%207 = icmp eq i64 %206, 0
store i32 %sv_0.211.reload, i32* %sv_0.3.reg2mem
br i1 %207, label LBL_43, label LBL_42
LBL_42:
%208 = call i64 @FUNC(i64 %206, i64* nonnull %sv_4)
%209 = trunc i64 %208 to i32
store i64 0, i64* %205, align 8
%210 = load i64, i64* %sv_4, align 8
%211 = load i64, i64* %.pre44, align 8
%212 = call i64 @FUNC(i64 %211, i64 %210, i32 %209)
%213 = load i64, i64* %sv_4, align 8
%214 = call i64 @FUNC(i64 %213)
store i32 %sv_0.211.reload, i32* %sv_0.3.reg2mem
br label LBL_43
LBL_43:
%sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem
%215 = add i32 %storemerge618.reload, 1
%216 = load i32, i32* %14, align 4
%217 = zext i32 %216 to i64
%218 = sext i32 %215 to i64
%219 = icmp slt i64 %218, %217
store i64 %218, i64* %.reg2mem58
store i32 %215, i32* %storemerge618.reg2mem
store i32 %sv_0.3.reload, i32* %sv_0.417.reg2mem
br i1 %219, label LBL_32, label LBL_44
LBL_44:
%220 = add i64 %6, 32
%221 = inttoptr i64 %220 to i64*
store i64 0, i64* %221, align 8
%222 = load i64, i64* %.pre44, align 8
%223 = call i64 @FUNC(i64 %222)
br label LBL_45
LBL_45:
ret i64 0
uselistorder i32 %sv_0.210.reload, { 0, 2, 1 }
uselistorder i32* %159, { 1, 0, 2 }
uselistorder i32 %storemerge618.reload, { 2, 1, 0 }
uselistorder i32 %sv_0.417.reload, { 1, 2, 0 }
uselistorder i64* %.pre44, { 0, 5, 3, 4, 2, 1 }
uselistorder i32 %storemerge824.reload, { 1, 0 }
uselistorder i32 %sv_0.123.reload, { 2, 0, 1 }
uselistorder i32 %sv_3.122.reload, { 1, 2, 0 }
uselistorder i64 %59, { 1, 0 }
uselistorder i64 %28, { 0, 2, 1 }
uselistorder i32* %22, { 0, 2, 1, 3, 4 }
uselistorder i64* %19, { 3, 4, 6, 5, 2, 1, 7, 0, 8 }
uselistorder i32* %14, { 0, 2, 1 }
uselistorder i64 %13, { 2, 1, 0, 3 }
uselistorder i32* %9, { 5, 4, 3, 2, 1, 0, 6 }
uselistorder i32* %7, { 2, 0, 1 }
uselistorder i64 %6, { 13, 12, 4, 5, 6, 0, 1, 3, 8, 7, 2, 9, 10, 11, 15, 14, 16 }
uselistorder i32 %2, { 1, 0, 2 }
uselistorder i64* %sv_5, { 1, 2, 0 }
uselistorder i64* %sv_4, { 1, 2, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge531.reg2mem, { 1, 0, 2 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %.lcssa15.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %.reg2mem48, { 1, 0, 2 }
uselistorder i32* %storemerge430.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem52, { 1, 0, 2 }
uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 }
uselistorder i32** %.pre-phi43.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem54, { 1, 0, 2 }
uselistorder i64* %.reg2mem56, { 1, 0, 2 }
uselistorder i32* %storemerge824.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.123.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.122.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem58, { 2, 0, 1 }
uselistorder i32* %storemerge618.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.417.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem60, { 0, 2, 1 }
uselistorder i32* %sv_0.211.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @av_free, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @avio_write, { 1, 0 }
uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 1, 0 }
uselistorder i64 (i64, i64)* @avio_wb32, { 1, 0 }
uselistorder i64 (i64, i64*)* @avio_close_dyn_buf, { 1, 0 }
uselistorder i64 (i64)* @avio_flush, { 2, 3, 1, 0 }
uselistorder i64 32, { 4, 3, 5, 6, 1, 0, 2 }
uselistorder i64 56, { 1, 0, 4, 3, 2 }
uselistorder i64 (i64)* @avio_tell, { 3, 2, 1, 0 }
uselistorder i64 16, { 0, 2, 3, 4, 5, 1 }
uselistorder i64 8, { 3, 4, 2, 0, 1, 5 }
uselistorder i1 false, { 0, 2, 1, 3, 4 }
uselistorder i32 0, { 12, 13, 14, 15, 0, 6, 11, 16, 17, 18, 19, 3, 8, 20, 21, 4, 9, 22, 5, 10, 1, 2, 7, 23, 24 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_45, { 4, 1, 5, 6, 2, 0, 3 }
uselistorder label LBL_43, { 2, 0, 1 }
uselistorder label LBL_38, { 1, 0 }
uselistorder label LBL_32, { 1, 0 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | packet_enable_delayed_compress_17659 | packet_enable_delayed_compress | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%0 = mul i64 %indvars.iv.reload, 8
%1 = add i64 %0, ptrtoint (i64* @gv_1 to i64)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_8, label LBL_2
LBL_2:
%5 = inttoptr i64 %3 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = icmp eq i32 %6, 0
%9 = icmp eq i1 %8, false
store i64 %7, i64* %rax.0.reg2mem
br i1 %9, label LBL_8, label LBL_3
LBL_3:
%10 = add i64 %3, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = icmp eq i32 %12, 1
%15 = icmp eq i1 %14, false
store i64 %13, i64* %rax.0.reg2mem
br i1 %15, label LBL_8, label LBL_4
LBL_4:
%16 = call i64 @FUNC()
%17 = icmp eq i64 %indvars.iv.reload, 1
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = call i64 @FUNC(i64 6)
br label LBL_7
LBL_6:
%20 = call i64 @FUNC()
br label LBL_7
LBL_7:
store i32 1, i32* %5, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 2
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_9, label LBL_1
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 0, 1, 3, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 1 |
BinRealVul | file_check_mem_13505 | file_check_mem | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.pre-phi4.reg2mem = alloca i64*
%.reg2mem = alloca i64
%storemerge.in.reg2mem = alloca i64*
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = and i64 %arg2, 4294967295
%3 = icmp ult i64 %2, %0
br i1 %3, label LBL_0.LBL_7_crit_edge, label LBL_2
LBL_1:
%.pre = add i64 %0, 8
%.pre3 = inttoptr i64 %.pre to i64*
%.pre5 = load i64, i64* %.pre3, align 8
store i64 %.pre5, i64* %.reg2mem
store i64* %.pre3, i64** %.pre-phi4.reg2mem
br label LBL_7
LBL_2:
%4 = add nsw i64 %1, 20
%5 = and i64 %4, 4294967295
store i64 %5, i64* %arg1, align 8
%6 = trunc i64 %0 to i32
%7 = mul i32 %6, 12
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = call i64* @malloc(i32 %7)
store i64* %13, i64** %storemerge.in.reg2mem
br label LBL_5
LBL_4:
%14 = inttoptr i64 %10 to i64*
%15 = call i64* @realloc(i64* %14, i32 %7)
store i64* %15, i64** %storemerge.in.reg2mem
br label LBL_5
LBL_5:
%storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem
%storemerge = ptrtoint i64* %storemerge.in.reload to i64
store i64 %storemerge, i64* %9, align 8
%16 = icmp eq i64* %storemerge.in.reload, null
%17 = icmp eq i1 %16, false
store i64 %storemerge, i64* %.reg2mem
store i64* %9, i64** %.pre-phi4.reg2mem
br i1 %17, label LBL_7, label LBL_6
LBL_6:
%18 = sext i32 %7 to i64
%19 = call i64 @FUNC(i64 %0, i64 %18)
unreachable
LBL_7:
%.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem
%.reload = load i64, i64* %.reg2mem
%20 = and i64 %1, 4294967295
%21 = mul nuw nsw i64 %20, 12
%22 = add i64 %.reload, %21
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = load i64, i64* %.pre-phi4.reload, align 8
%25 = add nuw nsw i64 %21, 4
%26 = add i64 %25, %24
%27 = inttoptr i64 %26 to i32*
store i32 0, i32* %27, align 4
%28 = load i64, i64* %.pre-phi4.reload, align 8
%29 = add nuw nsw i64 %21, 8
%30 = add i64 %29, %28
%31 = inttoptr i64 %30 to i32*
store i32 0, i32* %31, align 4
ret i64 0
uselistorder i64 %21, { 1, 2, 0 }
uselistorder i64* %storemerge.in.reload, { 1, 0 }
uselistorder i32 %7, { 0, 2, 1 }
uselistorder i64 %0, { 1, 2, 3, 0, 4 }
uselistorder i64** %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
BinRealVul | jp2_box_put_11243 | jp2_box_put | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.13.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.pre-phi5.reg2mem = alloca i64*
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = urem i64 %1, 4
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_0.LBL_6_crit_edge, label LBL_2
LBL_1:
%.pre = add i64 %2, 8
%.pre4 = inttoptr i64 %.pre to i64*
store i64* %.pre4, i64** %.pre-phi5.reg2mem
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_2:
%6 = call i64 @FUNC(i64 0, i64 0)
%7 = icmp eq i64 %6, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %7, label LBL_15, label LBL_3
LBL_3:
%8 = add i64 %2, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = trunc i64 %2 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i64 %6, i64* %sv_0.13.reg2mem
br i1 %16, label LBL_14, label LBL_5
LBL_5:
%17 = call i64 @FUNC(i64 %6)
%18 = add i64 %17, 8
%19 = add i64 %2, 8
%20 = inttoptr i64 %19 to i64*
store i64 %18, i64* %20, align 8
%21 = call i64 @FUNC(i64 %6)
store i64* %20, i64** %.pre-phi5.reg2mem
store i64 %6, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%22 = ptrtoint i64* %arg2 to i64
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem
%23 = load i64, i64* %.pre-phi5.reload, align 8
%24 = icmp ult i64 %23, 4294967296
%25 = icmp ne i1 %24, true
%26 = icmp eq i1 %25, false
%27 = and i64 %23, 4294967295
%spec.select = select i1 %26, i64 %27, i64 1
%28 = call i64 @FUNC(i64 %22, i64 %spec.select)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_13, label LBL_7
LBL_7:
%32 = add i64 %2, 24
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = call i64 @FUNC(i64 %22, i64 %35)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_13, label LBL_8
LBL_8:
br i1 %26, label LBL_10, label LBL_9
LBL_9:
%40 = load i64, i64* %.pre-phi5.reload, align 8
%41 = call i64 @FUNC(i64 %22, i64 %40)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_13, label LBL_10
LBL_10:
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_15, label LBL_11
LBL_11:
%45 = load i64, i64* %.pre-phi5.reload, align 8
%46 = add i64 %45, -8
%47 = call i64 @FUNC(i64 %22, i64 %sv_0.0.reload, i64 %46)
%48 = trunc i64 %47 to i32
%49 = icmp eq i32 %48, 0
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_13, label LBL_12
LBL_12:
%51 = call i64 @FUNC(i64 %sv_0.0.reload)
store i64 0, i64* %storemerge.reg2mem
br label LBL_15
LBL_13:
%52 = icmp eq i64 %sv_0.0.reload, 0
store i64 %sv_0.0.reload, i64* %sv_0.13.reg2mem
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %52, label LBL_15, label LBL_14
LBL_14:
%sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem
%53 = call i64 @FUNC(i64 %sv_0.13.reload)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_15
LBL_15:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i1 %26, { 1, 0 }
uselistorder i64* %.pre-phi5.reload, { 1, 0, 2 }
uselistorder i64 %sv_0.0.reload, { 0, 3, 2, 1 }
uselistorder i64 %22, { 1, 0, 2, 3 }
uselistorder i64 %6, { 1, 2, 3, 0, 4 }
uselistorder i64 %2, { 4, 1, 3, 2, 0 }
uselistorder i64* %sv_0.13.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 5, 4, 1 }
uselistorder i64 (i64)* @jas_stream_close, { 1, 0 }
uselistorder i64 (i64, i64)* @jp2_putuint32, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }
uselistorder i64 4294967295, { 2, 1, 3, 0 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder i1 false, { 2, 3, 4, 5, 0, 6, 1 }
uselistorder i64 0, { 11, 1, 0, 12, 13, 9, 8, 2, 7, 3, 4, 5, 6, 10 }
uselistorder label LBL_15, { 2, 1, 4, 3, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | xen_host_pci_dev_is_virtfn_14582 | xen_host_pci_dev_is_virtfn | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 4096)
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = bitcast i64* %sv_1 to i8*
%5 = bitcast i64* %sv_0 to %stat*
%6 = call i32 @stat(i8* nonnull %4, %stat* nonnull %5)
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i64
%9 = and i32 %6, -256
%10 = sext i32 %9 to i64
%11 = or i64 %10, %8
store i64 %11, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | gfs2_init_inode_once_4315 | gfs2_init_inode_once | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %0, 8
%4 = call i64 @FUNC(i64 %3)
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
store i64 0, i64* %6, align 8
ret i64 %0
uselistorder i64 %0, { 3, 4, 2, 1, 0 }
} | 0 |
BinRealVul | vrrp_print_data_10979 | vrrp_print_data | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load [14 x i8]*, [14 x i8]** @gv_0, align 8
%3 = getelementptr inbounds [14 x i8], [14 x i8]* %2, i64 0, i64 0
%4 = call %_IO_FILE* @fopen(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%5 = icmp eq %_IO_FILE* %4, null
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i32* @__errno_location()
%8 = load i32, i32* %7, align 4
%9 = call i8* @strerror(i32 %8)
%10 = ptrtoint i8* %9 to i64
%11 = call i32* @__errno_location()
%12 = load i32, i32* %11, align 4
%13 = load [14 x i8]*, [14 x i8]** @gv_0, align 8
%14 = ptrtoint [14 x i8]* %13 to i64
%15 = zext i32 %12 to i64
%16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %15, i64 %10, i64 %1)
store i64 %16, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%17 = ptrtoint %_IO_FILE* %4 to i64
%18 = call i64 @FUNC(i64 %17)
%19 = call i32 @fclose(%_IO_FILE* %4)
%20 = sext i32 %19 to i64
store i64 %20, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder %_IO_FILE* %4, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 0, { 6, 7, 0, 1, 4, 5, 2, 3, 8 }
uselistorder i32 1, { 3, 2, 4, 5, 1, 0 }
} | 1 |
BinRealVul | gdCtxPrintf_13476 | gdCtxPrintf | define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%2 = load i64, i64* %1
%3 = load i128, i128* %0
%4 = load i128, i128* %0
%5 = load i128, i128* %0
%6 = load i128, i128* %0
%7 = load i128, i128* %0
%8 = load i128, i128* %0
%9 = load i128, i128* %0
%10 = load i128, i128* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%11 = trunc i64 %2 to i8
%12 = icmp eq i8 %11, 0
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = call i64 @FUNC(i128 %10)
%14 = call i64 @FUNC(i128 %9)
%15 = call i64 @FUNC(i128 %8)
%16 = call i64 @FUNC(i128 %7)
%17 = call i64 @FUNC(i128 %6)
%18 = call i64 @FUNC(i128 %5)
%19 = call i64 @FUNC(i128 %4)
%20 = call i64 @FUNC(i128 %3)
br label LBL_2
LBL_2:
%21 = ptrtoint i64* %arg1 to i64
store i32 16, i32* %sv_1, align 4
%22 = ptrtoint i32* %sv_1 to i64
%23 = bitcast i64* %sv_0 to i8*
%24 = call i32 @vsnprintf(i8* nonnull %23, i32 1023, i8* %arg2, i64 %22)
ret i64 %21
uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i8 0, { 1, 0 }
} | 0 |
BinRealVul | av_register_all_82 | av_register_all | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%1 = zext i32 %0 to i64
%2 = icmp eq i32 %0, 0
%3 = icmp eq i1 %2, false
store i64 %1, i64* %rax.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8
%4 = call i64 @FUNC()
%5 = call i64 @FUNC()
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_11, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_12, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_13, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_14, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_15, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_17, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_18, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_19, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_20, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_21, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_22, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_23, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_24, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_25, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_26, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_27, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_28, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_29, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_30, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_31, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_32, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_33, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_34, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_35, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_36, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_37, i64 0, i64 0))
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_38, i64 0, i64 0))
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_39, i64 0, i64 0))
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_40, i64 0, i64 0))
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_41, i64 0, i64 0))
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_42, i64 0, i64 0))
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_43, i64 0, i64 0))
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_44, i64 0, i64 0))
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_45, i64 0, i64 0))
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_46, i64 0, i64 0))
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_47, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_48, i64 0, i64 0))
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_49, i64 0, i64 0))
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_50, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_51, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_52, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_53, i64 0, i64 0))
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_54, i64 0, i64 0))
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_55, i64 0, i64 0))
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_56, i64 0, i64 0))
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_57, i64 0, i64 0))
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_58, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_59, i64 0, i64 0))
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_60, i64 0, i64 0))
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_61, i64 0, i64 0))
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_62, i64 0, i64 0))
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_63, i64 0, i64 0))
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_64, i64 0, i64 0))
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_65, i64 0, i64 0))
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_66, i64 0, i64 0))
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_67, i64 0, i64 0))
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_68, i64 0, i64 0))
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_69, i64 0, i64 0))
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_70, i64 0, i64 0))
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_71, i64 0, i64 0))
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_72, i64 0, i64 0))
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_73, i64 0, i64 0))
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_74, i64 0, i64 0))
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_75, i64 0, i64 0))
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_76, i64 0, i64 0))
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_77, i64 0, i64 0))
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_78, i64 0, i64 0))
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_79, i64 0, i64 0))
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_80, i64 0, i64 0))
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_81, i64 0, i64 0))
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_82, i64 0, i64 0))
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_83, i64 0, i64 0))
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_84, i64 0, i64 0))
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_85, i64 0, i64 0))
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_86, i64 0, i64 0))
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_87, i64 0, i64 0))
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_88, i64 0, i64 0))
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_89, i64 0, i64 0))
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_90, i64 0, i64 0))
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_91, i64 0, i64 0))
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_92, i64 0, i64 0))
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_93, i64 0, i64 0))
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_94, i64 0, i64 0))
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_95, i64 0, i64 0))
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_96, i64 0, i64 0))
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_97, i64 0, i64 0))
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_98, i64 0, i64 0))
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_99, i64 0, i64 0))
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_100, i64 0, i64 0))
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_101, i64 0, i64 0))
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_102, i64 0, i64 0))
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_103, i64 0, i64 0))
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_104, i64 0, i64 0))
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_105, i64 0, i64 0))
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_106, i64 0, i64 0))
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_107, i64 0, i64 0))
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_108, i64 0, i64 0))
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_109, i64 0, i64 0))
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_110, i64 0, i64 0))
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_111, i64 0, i64 0))
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_112, i64 0, i64 0))
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_113, i64 0, i64 0))
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_114, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_115, i64 0, i64 0))
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_116, i64 0, i64 0))
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_117, i64 0, i64 0))
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_118, i64 0, i64 0))
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_119, i64 0, i64 0))
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_120, i64 0, i64 0))
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_121, i64 0, i64 0))
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_122, i64 0, i64 0))
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_123, i64 0, i64 0))
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_124, i64 0, i64 0))
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_125, i64 0, i64 0))
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_126, i64 0, i64 0))
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_127, i64 0, i64 0))
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_128, i64 0, i64 0))
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_130, i64 0, i64 0))
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_131, i64 0, i64 0))
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_132, i64 0, i64 0))
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_101, i64 0, i64 0))
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_133, i64 0, i64 0))
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_129, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_134, i64 0, i64 0))
%137 = sext i32 %136 to i64
store i64 %137, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 (i8*, ...)* @printf, { 0, 1, 3, 2, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | xen_free_irq_7177 | xen_free_irq | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %arg1, 4294967295
%3 = call i64 @FUNC(i64 %2)
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 %6, i64* %rax.0.reg2mem
br i1 %9, label LBL_5, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)
%11 = add i64 %3, 8
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %3)
br label LBL_3
LBL_3:
%sext = mul i64 %arg1, 4294967296
%17 = ashr exact i64 %sext, 32
%18 = inttoptr i64 %3 to i32*
%19 = add i64 %3, 24
%20 = call i64 @FUNC(i64 %19)
%21 = and i64 %17, 4294967295
%22 = call i64 @FUNC(i64 %21, i64 0)
%23 = load i32, i32* %18, align 4
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
%26 = zext i1 %25 to i64
%27 = call i64 @FUNC(i64 %26)
%28 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)
%29 = call i64 @FUNC(i64 %3)
%30 = call i64 @FUNC()
%31 = trunc i64 %17 to i32
%32 = trunc i64 %30 to i32
%33 = icmp ult i32 %31, %32
store i64 %30, i64* %rax.0.reg2mem
br i1 %33, label LBL_5, label LBL_4
LBL_4:
%34 = call i64 @FUNC(i64 %21)
store i64 %34, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 0, 1, 4, 2, 3, 5 }
uselistorder i64 (i64)* @WARN_ON, { 1, 0 }
uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_5, { 2, 0, 1 }
} | 0 |
BinRealVul | nfs_co_generic_bh_cb_813 | nfs_co_generic_bh_cb | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
ret i64 %9
uselistorder i64 %0, { 1, 0 }
} | 0 |
BinRealVul | redisIvykisAttach_13179 | redisIvykisAttach | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64 %3, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i64 @FUNC(i64 48)
%6 = inttoptr i64 %5 to i64*
store i64 %0, i64* %6, align 8
%7 = add i64 %0, 16
%8 = inttoptr i64 %7 to i64*
store i64 4198736, i64* %8, align 8
%9 = add i64 %0, 24
%10 = inttoptr i64 %9 to i64*
store i64 4198751, i64* %10, align 8
%11 = add i64 %0, 32
%12 = inttoptr i64 %11 to i64*
store i64 4198766, i64* %12, align 8
%13 = add i64 %0, 40
%14 = inttoptr i64 %13 to i64*
store i64 4198781, i64* %14, align 8
%15 = add i64 %0, 48
%16 = inttoptr i64 %15 to i64*
store i64 4198796, i64* %16, align 8
store i64 %5, i64* %2, align 8
%17 = add i64 %5, 8
%18 = call i64 @FUNC(i64 %17)
%19 = bitcast i64* %rdi to i32*
%20 = load i32, i32* %19, align 8
%21 = inttoptr i64 %17 to i32*
store i32 %20, i32* %21, align 4
%22 = add i64 %5, 16
%23 = inttoptr i64 %22 to i64*
store i64 4198807, i64* %23, align 8
%24 = add i64 %5, 24
%25 = inttoptr i64 %24 to i64*
store i64 4198818, i64* %25, align 8
%26 = add i64 %5, 32
%27 = inttoptr i64 %26 to i64*
store i64 0, i64* %27, align 8
%28 = load i64, i64* %6, align 8
%29 = add i64 %5, 40
%30 = inttoptr i64 %29 to i64*
store i64 %28, i64* %30, align 8
%31 = call i64 @FUNC(i64 %17)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 48, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | unix_inflight_13456 | unix_inflight | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rdi.1.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64* nonnull @gv_0)
%3 = icmp eq i64 %1, 0
store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdi.1.reg2mem
br i1 %3, label LBL_5, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %1)
%5 = call i64 @FUNC(i64 %4)
%6 = icmp eq i64 %5, 1
%7 = icmp eq i1 %6, false
%8 = add i64 %4, 8
%9 = call i64 @FUNC(i64 %8)
%10 = urem i64 %9, 256
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%11 = icmp eq i64 %10, 0
%12 = zext i1 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = call i64 @FUNC(i64 %8, i64 4210736)
store i64 %8, i64* %rdi.0.reg2mem
br label LBL_4
LBL_3:
%15 = call i64 @FUNC(i64 %10)
store i64 %10, i64* %rdi.0.reg2mem
br label LBL_4
LBL_4:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%16 = load i64, i64* @gv_1, align 8
%17 = add i64 %16, 1
store i64 %17, i64* @gv_1, align 8
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br label LBL_5
LBL_5:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%18 = add i64 %rdi.1.reload, 1
store i64 %18, i64* %arg1, align 8
%19 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %19
uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @BUG_ON, { 1, 0 }
uselistorder i64 1, { 2, 3, 0, 1, 4 }
uselistorder i64* @gv_0, { 0, 2, 1 }
} | 0 |
BinRealVul | icp_accept_16233 | icp_accept | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = mul i32 %9, 16777216
%11 = bitcast i64* %arg1 to i32*
store i32 %10, i32* %11, align 4
%12 = and i64 %1, 4294967295
%13 = call i64 @FUNC(i64 %12, i64 %12)
ret i64 %12
uselistorder i64 %12, { 1, 0, 2 }
} | 1 |
BinRealVul | imap_hcache_open_18952 | imap_hcache_open | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%1 = icmp eq i64 %arg2, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0, i64 %arg2, i64* nonnull %sv_3, i64 4096)
br label LBL_5
LBL_2:
%3 = icmp eq i64* %arg1, null
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_6, label LBL_3
LBL_3:
%4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)
%5 = trunc i64 %4 to i32
%6 = icmp slt i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 0, i64* %storemerge.reg2mem
br i1 %7, label LBL_4, label LBL_6
LBL_4:
%8 = load i64, i64* %sv_2, align 8
%9 = call i64 @FUNC(i64 %0, i64 %8, i64* nonnull %sv_3, i64 4096)
%10 = call i64 @FUNC(i64* nonnull %sv_2)
br label LBL_5
LBL_5:
%11 = add i64 %0, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_1)
%15 = ptrtoint i64* %sv_3 to i64
store i64 %15, i64* %sv_1, align 8
%16 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0, i64 4096, i64 0)
%17 = call i64 @FUNC(i64 0, i64* nonnull %sv_0, i64 4199006)
store i64 %17, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_3, { 2, 0, 1 }
uselistorder i64* %sv_2, { 0, 2, 1 }
uselistorder i64* %sv_1, { 0, 2, 1 }
uselistorder i64 %0, { 1, 2, 3, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 (i64, i64, i64*, i64)* @imap_cachepath, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
} | 1 |
BinRealVul | tcm_loop_dump_proto_id_10509 | tcm_loop_dump_proto_id | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 3
store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem
br i1 %3, label LBL_5, label LBL_1
LBL_1:
%4 = icmp sgt i32 %2, 3
br i1 %4, label LBL_4, label LBL_2
LBL_2:
store i64 ptrtoint ([4 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem
switch i32 %2, label LBL_4 [
i32 1, label LBL_5
i32 2, label LBL_3
]
LBL_3:
store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
store i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %2, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32 3, { 1, 0 }
uselistorder label LBL_5, { 2, 3, 1, 0 }
} | 0 |
BinRealVul | atol10_11609 | atol10 | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.07.reg2mem = alloca i64
%sv_2.08.reg2mem = alloca i64
%sv_0.09.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%sext = mul i32 %2, 16777216
%storemerge.in4 = ashr exact i32 %sext, 24
%storemerge5 = add nsw i32 %storemerge.in4, -48
%3 = icmp ult i32 %storemerge5, 10
%4 = icmp eq i64 %arg2, 0
%5 = icmp eq i1 %4, false
%or.cond6 = icmp eq i1 %5, %3
store i32 %storemerge5, i32* %storemerge10.reg2mem
store i64 0, i64* %sv_0.09.reg2mem
store i64 %arg2, i64* %sv_2.08.reg2mem
store i64 %arg1, i64* %sv_1.07.reg2mem
store i64 0, i64* %sv_0.0.lcssa.reg2mem
br i1 %or.cond6, label LBL_1, label LBL_2
LBL_1:
%sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem
%sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem
%sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem
%storemerge10.reload = load i32, i32* %storemerge10.reg2mem
%6 = add i64 %sv_2.08.reload, -1
%7 = mul i64 %sv_0.09.reload, 10
%8 = sext i32 %storemerge10.reload to i64
%9 = add i64 %7, %8
%10 = add i64 %sv_1.07.reload, 1
%11 = inttoptr i64 %10 to i8*
%storemerge.in.in = load i8, i8* %11, align 1
%storemerge.in = sext i8 %storemerge.in.in to i32
%storemerge = add nsw i32 %storemerge.in, -48
%12 = icmp ult i32 %storemerge, 10
%13 = icmp eq i64 %6, 0
%14 = icmp eq i1 %13, false
%or.cond = icmp eq i1 %14, %12
store i32 %storemerge, i32* %storemerge10.reg2mem
store i64 %9, i64* %sv_0.09.reg2mem
store i64 %6, i64* %sv_2.08.reg2mem
store i64 %10, i64* %sv_1.07.reg2mem
store i64 %9, i64* %sv_0.0.lcssa.reg2mem
br i1 %or.cond, label LBL_1, label LBL_2
LBL_2:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
ret i64 %sv_0.0.lcssa.reload
uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.09.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.08.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.07.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 10, { 1, 0 }
uselistorder i32 -48, { 1, 0 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | replace_map_fd_with_map_ptr_6229 | replace_map_fd_with_map_ptr | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rsi.1.reg2mem = alloca i64
%rdx.1.reg2mem = alloca i64
%rcx.1.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i32
%rsi.0.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%storemerge39.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_1.141.reg2mem = alloca i32
%rcx.242.reg2mem = alloca i64
%rdx.243.reg2mem = alloca i64
%rsi.244.reg2mem = alloca i64
%sv_0.145.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp sgt i32 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_33
LBL_1:
%8 = add i32 %6, -1
%9 = add i64 %3, 88
%10 = inttoptr i64 %9 to i32*
store i64 %3, i64* %sv_0.145.reg2mem
store i32 0, i32* %sv_1.141.reg2mem
br label LBL_2
LBL_2:
%sv_1.141.reload = load i32, i32* %sv_1.141.reg2mem
%rcx.242.reload = load i64, i64* %rcx.242.reg2mem
%rdx.243.reload = load i64, i64* %rdx.243.reg2mem
%rsi.244.reload = load i64, i64* %rsi.244.reg2mem
%sv_0.145.reload = load i64, i64* %sv_0.145.reg2mem
%11 = inttoptr i64 %sv_0.145.reload to i32*
%12 = load i32, i32* %11, align 4
%13 = urem i32 %12, 8
%14 = icmp eq i32 %13, 1
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_6, label LBL_3
LBL_3:
%16 = and i32 %12, 56
%17 = icmp eq i32 %16, 48
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = add i64 %sv_0.145.reload, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label LBL_6, label LBL_5
LBL_5:
%23 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.244.reload, i64 %rdx.243.reload, i64 %rcx.242.reload, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_33
LBL_6:
%24 = icmp eq i32 %13, 2
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_10, label LBL_7
LBL_7:
%26 = and i32 %12, 56
%27 = icmp ne i32 %26, 48
%28 = icmp eq i32 %26, 56
%29 = icmp eq i1 %28, false
%or.cond = icmp eq i1 %27, %29
br i1 %or.cond, label LBL_9, label LBL_8
LBL_8:
%30 = add i64 %sv_0.145.reload, 16
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label LBL_10, label LBL_9
LBL_9:
%34 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %rsi.244.reload, i64 %rdx.243.reload, i64 %rcx.242.reload, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_33
LBL_10:
%35 = icmp eq i32 %12, 7
%36 = icmp eq i1 %35, false
store i32 %sv_1.141.reload, i32* %sv_1.0.reg2mem
store i64 %rcx.242.reload, i64* %rcx.1.reg2mem
store i64 %rdx.243.reload, i64* %rdx.1.reg2mem
store i64 %rsi.244.reload, i64* %rsi.1.reg2mem
store i64 %sv_0.145.reload, i64* %sv_0.0.reg2mem
br i1 %36, label LBL_32, label LBL_11
LBL_11:
%37 = icmp eq i32 %sv_1.141.reload, %8
br i1 %37, label LBL_16, label LBL_12
LBL_12:
%38 = add i64 %sv_0.145.reload, 20
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = icmp eq i32 %40, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_16, label LBL_13
LBL_13:
%43 = add i64 %sv_0.145.reload, 24
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = icmp eq i32 %45, 0
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_16, label LBL_14
LBL_14:
%48 = add i64 %sv_0.145.reload, 28
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = icmp eq i32 %50, 0
%52 = icmp eq i1 %51, false
br i1 %52, label LBL_16, label LBL_15
LBL_15:
%53 = add i64 %sv_0.145.reload, 32
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label LBL_17, label LBL_16
LBL_16:
%57 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.244.reload, i64 %rdx.243.reload, i64 %rcx.242.reload, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_33
LBL_17:
%58 = add i64 %sv_0.145.reload, 8
%59 = inttoptr i64 %58 to i32*
%60 = load i32, i32* %59, align 4
store i64 %rcx.242.reload, i64* %rcx.0.reg2mem
store i64 %rdx.243.reload, i64* %rdx.0.reg2mem
store i64 %rsi.244.reload, i64* %rsi.0.reg2mem
switch i32 %60, label LBL_18 [
i32 0, label LBL_31
i32 8, label LBL_19
]
LBL_18:
%61 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %rsi.244.reload, i64 %rdx.243.reload, i64 %rcx.242.reload, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_33
LBL_19:
%62 = add i64 %sv_0.145.reload, 16
%63 = inttoptr i64 %62 to i32*
%64 = load i32, i32* %63, align 4
%65 = zext i32 %64 to i64
%66 = call i64 @FUNC(i64 %65)
%67 = call i64 @FUNC()
%68 = call i64 @FUNC(i64 %67)
%69 = trunc i64 %68 to i32
%70 = icmp eq i32 %69, 0
br i1 %70, label LBL_21, label LBL_20
LBL_20:
%71 = load i32, i32* %63, align 4
%72 = zext i32 %71 to i64
%73 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %72, i64 %rdx.243.reload, i64 %rcx.242.reload, i64 %2, i64 %1)
%sext = mul i64 %67, 4294967296
%74 = ashr exact i64 %sext, 32
%75 = call i64 @FUNC(i64 %74)
store i64 %75, i64* %rax.0.reg2mem
br label LBL_33
LBL_21:
%76 = trunc i64 %67 to i32
store i32 %76, i32* %63, align 4
%77 = ashr i32 %76, 31
%78 = add i64 %sv_0.145.reload, 36
%79 = inttoptr i64 %78 to i32*
store i32 %77, i32* %79, align 4
%80 = load i32, i32* %10, align 4
%81 = icmp eq i32 %80, 0
%.pre = mul i64 %67, 4294967296
%.pre137 = ashr exact i64 %.pre, 32
br i1 %81, label LBL_28, label LBL_22
LBL_22:
%82 = zext i32 %80 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge39.reg2mem
br label LBL_23
LBL_23:
%.reload = load i64, i64* %.reg2mem
%83 = mul i64 %.reload, 8
%84 = add i64 %83, %4
%85 = inttoptr i64 %84 to i64*
%86 = load i64, i64* %85, align 8
%87 = icmp eq i64 %86, %.pre137
%88 = icmp eq i1 %87, false
br i1 %88, label LBL_25, label LBL_24
LBL_24:
%89 = call i64 @FUNC()
store i64 %rcx.242.reload, i64* %rcx.0.reg2mem
store i64 %.reload, i64* %rdx.0.reg2mem
store i64 %rsi.244.reload, i64* %rsi.0.reg2mem
br label LBL_31
LBL_25:
%storemerge39.reload = load i32, i32* %storemerge39.reg2mem
%90 = add i32 %storemerge39.reload, 1
%91 = sext i32 %90 to i64
%92 = icmp slt i64 %91, %82
store i64 %91, i64* %.reg2mem
store i32 %90, i32* %storemerge39.reg2mem
br i1 %92, label LBL_23, label LBL_26
LBL_26:
%93 = icmp slt i32 %80, 10
br i1 %93, label LBL_28, label LBL_27
LBL_27:
%94 = call i64 @FUNC()
store i64 4294967289, i64* %rax.0.reg2mem
br label LBL_33
LBL_28:
%95 = call i64 @FUNC(i64 %.pre137, i64 0)
%96 = call i64 @FUNC(i64 %95)
%97 = trunc i64 %96 to i32
%98 = icmp eq i32 %97, 0
br i1 %98, label LBL_30, label LBL_29
LBL_29:
%99 = call i64 @FUNC()
%sext3 = mul i64 %95, 4294967296
%100 = ashr exact i64 %sext3, 32
%101 = call i64 @FUNC(i64 %100)
store i64 %101, i64* %rax.0.reg2mem
br label LBL_33
LBL_30:
%102 = load i32, i32* %10, align 4
%103 = add i32 %102, 1
store i32 %103, i32* %10, align 4
%104 = sext i32 %102 to i64
%sext4 = mul i64 %95, 4294967296
%105 = ashr exact i64 %sext4, 32
%106 = mul i64 %104, 8
%107 = add i64 %106, %4
%108 = inttoptr i64 %107 to i64*
store i64 %105, i64* %108, align 8
%109 = call i64 @FUNC()
store i64 %105, i64* %rcx.0.reg2mem
store i64 %3, i64* %rdx.0.reg2mem
store i64 0, i64* %rsi.0.reg2mem
br label LBL_31
LBL_31:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%110 = add i32 %sv_1.141.reload, 1
store i32 %110, i32* %sv_1.0.reg2mem
store i64 %rcx.0.reload, i64* %rcx.1.reg2mem
store i64 %rdx.0.reload, i64* %rdx.1.reg2mem
store i64 %rsi.0.reload, i64* %rsi.1.reg2mem
store i64 %38, i64* %sv_0.0.reg2mem
br label LBL_32
LBL_32:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%rdx.1.reload = load i64, i64* %rdx.1.reg2mem
%rcx.1.reload = load i64, i64* %rcx.1.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%111 = add i32 %sv_1.0.reload, 1
%112 = add i64 %sv_0.0.reload, 20
%113 = icmp slt i32 %111, %6
store i64 %112, i64* %sv_0.145.reg2mem
store i64 %rsi.1.reload, i64* %rsi.244.reg2mem
store i64 %rdx.1.reload, i64* %rdx.243.reg2mem
store i64 %rcx.1.reload, i64* %rcx.242.reg2mem
store i32 %111, i32* %sv_1.141.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %113, label LBL_2, label LBL_33
LBL_33:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %67, { 0, 2, 1, 3 }
uselistorder i32* %63, { 1, 0, 2 }
uselistorder i32 %13, { 1, 0 }
uselistorder i32 %12, { 1, 2, 3, 0 }
uselistorder i64 %sv_0.145.reload, { 10, 4, 5, 6, 7, 8, 9, 0, 1, 3, 2 }
uselistorder i64 %rsi.244.reload, { 1, 5, 2, 6, 0, 4, 3 }
uselistorder i64 %rdx.243.reload, { 4, 5, 1, 6, 0, 3, 2 }
uselistorder i64 %rcx.242.reload, { 1, 5, 6, 2, 7, 0, 4, 3 }
uselistorder i32 %sv_1.141.reload, { 1, 2, 0 }
uselistorder i32* %10, { 1, 0, 2 }
uselistorder i32 %6, { 2, 1, 0 }
uselistorder i64 %2, { 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 4, 3, 2, 1, 0 }
uselistorder i64* %sv_0.145.reg2mem, { 1, 0, 2 }
uselistorder i64* %rsi.244.reg2mem, { 1, 0 }
uselistorder i64* %rdx.243.reg2mem, { 1, 0 }
uselistorder i64* %rcx.242.reg2mem, { 1, 0 }
uselistorder i32* %sv_1.141.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 8, 7, 6, 5, 9, 4, 3, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 ()* @fdput, { 3, 2, 0, 1 }
uselistorder i64 (i64)* @PTR_ERR, { 1, 0 }
uselistorder i64 (i64)* @IS_ERR, { 1, 0 }
uselistorder i64 32, { 1, 2, 0, 3, 4 }
uselistorder i64 4294967274, { 2, 3, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @verbose, { 4, 3, 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }
uselistorder i32 8, { 1, 0, 2 }
uselistorder i64 0, { 0, 2, 16, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 4, 5, 17 }
uselistorder i32 0, { 5, 0, 2, 6, 4, 7, 8, 9, 10, 11, 12, 1, 3 }
uselistorder label LBL_33, { 0, 2, 3, 4, 5, 6, 7, 8, 1 }
uselistorder label LBL_31, { 1, 2, 0 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | parse_audio_1476 | parse_audio | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.in22.reg2mem = alloca i64
%storemerge23.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp slt i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = and i64 %1, 4294967295
store i64 %5, i64* %rax.0.reg2mem
br label LBL_16
LBL_2:
%sext = mul i64 %arg2, 4294967296
%storemerge21 = ashr exact i64 %sext, 32
%6 = trunc i64 %arg3 to i32
%7 = trunc i64 %storemerge21 to i32
%8 = icmp slt i32 %7, %6
br i1 %8, label LBL_3, label LBL_15
LBL_3:
%sext6 = mul i64 %arg4, 4294967296
%9 = add i64 %0, 8
%10 = inttoptr i64 %9 to i64*
%11 = ashr exact i64 %sext6, 29
%12 = trunc i64 %arg4 to i32
%13 = add i64 %0, 16
%14 = inttoptr i64 %13 to i64*
store i64 %storemerge21, i64* %storemerge23.reg2mem
store i64 %sext, i64* %storemerge.in22.reg2mem
br label LBL_4
LBL_4:
%storemerge.in22.reload = load i64, i64* %storemerge.in22.reg2mem
%15 = ashr exact i64 %storemerge.in22.reload, 30
%16 = add i64 %15, %0
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_6, label LBL_5
LBL_5:
%21 = load i64, i64* %10, align 8
%22 = add i64 %21, %11
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = add i64 %24, %15
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
br label LBL_14
LBL_6:
%27 = zext i32 %18 to i64
%28 = call i64 @FUNC(i64 %0, i64 %27, i32 %2)
%29 = trunc i64 %28 to i32
%30 = icmp slt i32 %29, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_8, label LBL_7
LBL_7:
%32 = and i64 %28, 4294967295
store i64 %32, i64* %rax.0.reg2mem
br label LBL_16
LBL_8:
%storemerge23.reload = load i64, i64* %storemerge23.reg2mem
%33 = and i64 %storemerge23.reload, 4294967295
%34 = call i64 @FUNC(i64 %0, i64 %33, i32 %12)
%35 = trunc i64 %34 to i32
%36 = icmp slt i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_12, label LBL_9
LBL_9:
%38 = load i64, i64* %14, align 8
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = urem i32 %40, 2
%42 = icmp eq i32 %41, 0
br i1 %42, label LBL_11, label LBL_10
LBL_10:
%43 = and i64 %34, 4294967295
store i64 %43, i64* %rax.0.reg2mem
br label LBL_16
LBL_11:
%44 = load i64, i64* %10, align 8
%45 = add i64 %44, %11
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = add i64 %47, %15
%49 = inttoptr i64 %48 to i32*
store i32 0, i32* %49, align 4
br label LBL_12
LBL_12:
%50 = load i32, i32* %17, align 4
%51 = zext i32 %50 to i64
%52 = call i64 @FUNC(i64 %0, i64 %51)
%53 = trunc i64 %52 to i32
%54 = icmp slt i32 %53, 0
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_14, label LBL_13
LBL_13:
%56 = and i64 %52, 4294967295
store i64 %56, i64* %rax.0.reg2mem
br label LBL_16
LBL_14:
%sext11 = add i64 %storemerge.in22.reload, 4294967296
%storemerge = ashr exact i64 %sext11, 32
%57 = trunc i64 %storemerge to i32
%58 = icmp slt i32 %57, %6
store i64 %storemerge, i64* %storemerge23.reg2mem
store i64 %sext11, i64* %storemerge.in22.reg2mem
br i1 %58, label LBL_4, label LBL_15
LBL_15:
%59 = call i64 @FUNC(i64 %0, i64 1)
store i64 %59, 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 %6, { 1, 0 }
uselistorder i64 %0, { 1, 4, 5, 6, 0, 3, 2, 7 }
uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.in22.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 4, 3, 1 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 4294967296, { 2, 1, 0 }
uselistorder i64 %arg4, { 1, 0 }
uselistorder label LBL_16, { 3, 0, 1, 2, 4 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | vrrp_print_data_11379 | vrrp_print_data | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load [14 x i8]*, [14 x i8]** @gv_0, align 8
%3 = getelementptr inbounds [14 x i8], [14 x i8]* %2, i64 0, i64 0
%4 = call %_IO_FILE* @fopen(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%5 = icmp eq %_IO_FILE* %4, null
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i32* @__errno_location()
%8 = load i32, i32* %7, align 4
%9 = call i8* @strerror(i32 %8)
%10 = ptrtoint i8* %9 to i64
%11 = call i32* @__errno_location()
%12 = load i32, i32* %11, align 4
%13 = load [14 x i8]*, [14 x i8]** @gv_0, align 8
%14 = ptrtoint [14 x i8]* %13 to i64
%15 = zext i32 %12 to i64
%16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %15, i64 %10, i64 %1)
store i64 %16, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%17 = ptrtoint %_IO_FILE* %4 to i64
%18 = call i64 @FUNC(i64 %17)
%19 = call i32 @fclose(%_IO_FILE* %4)
%20 = sext i32 %19 to i64
store i64 %20, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder %_IO_FILE* %4, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i32 1, { 3, 2, 4, 5, 1, 0 }
} | 1 |
BinRealVul | qmp_tmp105_get_temperature_3047 | qmp_tmp105_get_temperature | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))
%2 = and i64 %1, 4294967295
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))
%5 = call i64 @FUNC(i64 %0)
%6 = and i64 %4, 4294967295
ret i64 %6
} | 0 |
BinRealVul | patch_cs4213_4688 | patch_cs4213 | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 4, i64 0)
%sext = mul i64 %0, 4294967296
%1 = icmp eq i64 %sext, 0
%2 = icmp eq i1 %1, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = ashr exact i64 %sext, 32
%5 = inttoptr i64 %4 to i32*
store i64 %4, i64* %arg1, align 8
store i32 0, i32* %5, align 4
%6 = call i64 @FUNC(i64 %3)
%7 = trunc i64 %6 to i32
%8 = icmp slt i32 %7, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = load i64, i64* @gv_0, align 8
%10 = add i64 %3, 8
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%12 = call i64 @FUNC(i64 %3)
store i64 0, i64* %arg1, align 8
%13 = and i64 %6, 4294967295
store i64 %13, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | describe_object_10324 | describe_object | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg2 to i64
%6 = call i64 @FUNC(i64* nonnull @gv_0)
%7 = call i64 @FUNC(i64 %5)
%8 = call i64 @FUNC(i64* nonnull @gv_0, i64 %7)
%9 = trunc i64 %3 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_3, label LBL_1
LBL_1:
%11 = and i64 %3, 4294967295
%12 = call i64 @FUNC(i64 %11, i64 %5)
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64* nonnull @gv_0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %4, i64 %2, i64 %1)
br label LBL_3
LBL_3:
%15 = load i64, i64* @gv_0, align 8
ret i64 %15
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64* @gv_0, { 3, 0, 1, 2 }
} | 0 |
BinRealVul | WriteUncompressed_10220 | WriteUncompressed | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem5 = alloca i64
%storemerge12.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp sgt i64* %arg1, null
store i64 %0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_8
LBL_1:
%2 = ptrtoint i64* %arg2 to i64
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i64*
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i32*
%.pre = load i64, i64* %4, align 8
store i64 %.pre, i64* %.reg2mem
store i64 0, i64* %storemerge3.reg2mem
br label LBL_2
LBL_2:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%7 = call i64 @FUNC(i64 %0, i64 0, i64 %storemerge3.reload, i64 %.reload, i64 1, i64 %2)
%8 = icmp eq i64 %7, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_8, label LBL_3
LBL_3:
%9 = load i64, i64* %4, align 8
%10 = icmp sgt i64 %9, 0
store i64 0, i64* %storemerge12.reg2mem
store i64 %9, i64* %.reg2mem5
br i1 %10, label LBL_4, label LBL_7
LBL_4:
%storemerge12.reload = load i64, i64* %storemerge12.reg2mem
%11 = call i128 @FUNC(i64 %7)
%12 = call i64 @FUNC(i128 %11)
%13 = call i128 @__asm_movq.2(i64 %12)
%14 = call i64 @FUNC()
%15 = urem i64 %14, 256
%16 = call i64 @FUNC(i64 %0, i64 %15)
%17 = call i128 @FUNC(i64 %7)
%18 = call i64 @FUNC(i128 %17)
%19 = call i128 @__asm_movq.2(i64 %18)
%20 = call i64 @FUNC()
%21 = urem i64 %20, 256
%22 = call i64 @FUNC(i64 %0, i64 %21)
%23 = call i128 @FUNC(i64 %7)
%24 = call i64 @FUNC(i128 %23)
%25 = call i128 @__asm_movq.2(i64 %24)
%26 = call i64 @FUNC()
%27 = urem i64 %26, 256
%28 = call i64 @FUNC(i64 %0, i64 %27)
%29 = load i32, i32* %6, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_6, label LBL_5
LBL_5:
%31 = call i128 @FUNC(i64 %7)
%32 = call i64 @FUNC(i128 %31)
%33 = call i128 @__asm_movq.2(i64 %32)
%34 = call i64 @FUNC()
%35 = urem i64 %34, 256
%36 = call i64 @FUNC(i64 %0, i64 %35)
br label LBL_6
LBL_6:
%37 = add nuw nsw i64 %storemerge12.reload, 1
%38 = load i64, i64* %4, align 8
%39 = icmp slt i64 %37, %38
store i64 %37, i64* %storemerge12.reg2mem
store i64 %38, i64* %.reg2mem5
br i1 %39, label LBL_4, label LBL_7
LBL_7:
%.reload6 = load i64, i64* %.reg2mem5
%40 = add nuw nsw i64 %storemerge3.reload, 1
%41 = icmp slt i64 %40, %0
store i64 %.reload6, i64* %.reg2mem
store i64 %40, i64* %storemerge3.reg2mem
store i64 %0, i64* %rax.0.reg2mem
br i1 %41, label LBL_2, label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %4, { 2, 1, 0 }
uselistorder i64 %0, { 0, 2, 3, 4, 6, 7, 9, 5, 8, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @WriteBlobByte, { 3, 2, 1, 0 }
uselistorder i64 ()* @ScaleQuantumToChar, { 3, 2, 1, 0 }
uselistorder i64 1, { 2, 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | apertures_overlap_10595 | apertures_overlap | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %1 to i32
%4 = trunc i64 %2 to i32
%5 = icmp eq i32 %3, %4
%6 = icmp eq i1 %5, false
store i64 1, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_4
LBL_1:
%7 = icmp ugt i32 %3, %4
br i1 %7, label LBL_2, label LBL_3
LBL_2:
%8 = ptrtoint i64* %arg2 to i64
%9 = add i64 %8, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i32 %11, %4
%13 = icmp ugt i32 %12, %3
store i64 1, i64* %rax.0.reg2mem
br i1 %13, label LBL_4, label LBL_3
LBL_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 i32 %4, { 0, 2, 1 }
uselistorder i32 %3, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_4, { 2, 0, 1 }
} | 0 |
BinRealVul | grow_array_13984 | grow_array | define i64 @FUNC(i64 %arg1, i32 %arg2, i32* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = sext i32 %arg4 to i64
%5 = udiv i32 2147483647, %arg2
%6 = zext i32 %5 to i64
%7 = icmp slt i64 %4, %6
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_2:
%9 = and i64 %3, 4294967295
%10 = icmp slt i64 %9, %4
store i64 %arg1, i64* %storemerge.reg2mem
br i1 %10, label LBL_3, label LBL_6
LBL_3:
%11 = mul i32 %arg4, %arg2
%12 = sext i32 %11 to i64
%13 = call i64 @FUNC(i64 %arg1, i64 %12)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_5, label LBL_4
LBL_4:
%16 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_5:
%17 = trunc i64 %3 to i32
%18 = sub i32 %arg4, %17
%19 = mul i32 %18, %arg2
%20 = mul i32 %17, %arg2
%21 = sext i32 %20 to i64
%22 = add i64 %13, %21
%23 = inttoptr i64 %22 to i64*
%24 = call i64* @memset(i64* %23, i32 0, i32 %19)
store i32 %arg4, i32* %arg3, align 4
store i64 %13, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %4, { 2, 0, 1, 3 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i32 %arg4, { 1, 2, 0, 3 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | idr_3680 | idr | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = bitcast i64* %arg1 to i32*
store i32 -1, i32* %2, align 4
%3 = add i64 %0, 4
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 12
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = add i64 %0, 16
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, 4
%11 = add i64 %9, %10
%12 = inttoptr i64 %11 to i32*
store i32 -2147483648, i32* %12, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 0 |
BinRealVul | ff_mlp_calculate_parity_16849 | ff_mlp_calculate_parity | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.02.reg2mem = alloca i32*
%sv_0.03.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i32* %arg1 to i64
%1 = and i64 %arg2, 4294967295
%2 = add i64 %1, %0
%3 = add i64 %2, -3
%4 = icmp ugt i64 %3, %0
store i64 %0, i64* %.reg2mem
store i32 0, i32* %sv_0.03.reg2mem
store i32* %arg1, i32** %sv_1.02.reg2mem
store i64 0, i64* %sv_0.0.lcssa.reg2mem
store i64 %0, i64* %.lcssa.reg2mem
br i1 %4, label LBL_1, label LBL_3
LBL_1:
%sv_1.02.reload = load i32*, i32** %sv_1.02.reg2mem
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%.reload = load i64, i64* %.reg2mem
%5 = load i32, i32* %sv_1.02.reload, align 4
%6 = xor i32 %5, %sv_0.03.reload
%7 = add i64 %.reload, 4
%8 = inttoptr i64 %7 to i32*
%9 = icmp ugt i64 %3, %7
store i64 %7, i64* %.reg2mem
store i32 %6, i32* %sv_0.03.reg2mem
store i32* %8, i32** %sv_1.02.reg2mem
br i1 %9, label LBL_1, label LBL_2
LBL_2:
%phitmp = zext i32 %6 to i64
store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem
store i64 %7, i64* %.lcssa.reg2mem
br label LBL_3
LBL_3:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%10 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload)
%11 = icmp ugt i64 %2, %.lcssa.reload
%12 = icmp eq i1 %11, false
%13 = urem i64 %10, 256
%spec.select = select i1 %12, i64 %.lcssa.reload, i64 %13
ret i64 %spec.select
uselistorder i64 %.lcssa.reload, { 1, 0 }
uselistorder i32 %6, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %0, { 0, 1, 3, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i32** %sv_1.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 0, 2, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | pvscsi_reset_state_10869 | pvscsi_reset_state | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 4
%2 = inttoptr i64 %1 to i32*
store i32 0, i32* %2, align 4
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 12
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %0, 16
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = call i64 @FUNC(i64 %0)
%10 = add i64 %0, 20
%11 = inttoptr i64 %10 to i8*
store i8 0, i8* %11, align 1
%12 = add i64 %0, 21
%13 = inttoptr i64 %12 to i8*
store i8 0, i8* %13, align 1
%14 = add i64 %0, 24
%15 = inttoptr i64 %14 to i64*
store i64 0, i64* %15, align 8
%16 = add i64 %0, 32
%17 = inttoptr i64 %16 to i64*
store i64 %14, i64* %17, align 8
%18 = add i64 %0, 40
%19 = inttoptr i64 %18 to i64*
store i64 0, i64* %19, align 8
%20 = add i64 %0, 48
%21 = inttoptr i64 %20 to i64*
store i64 %18, i64* %21, align 8
ret i64 %0
uselistorder i64 %0, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 }
} | 0 |
BinRealVul | pred8x8_dc_rv40_c_15231 | pred8x8_dc_rv40_c | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%indvars.iv14.reg2mem = alloca i64
%sv_0.012.reg2mem = alloca i32
%indvars.iv17.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = mul i64 %arg2, 4294967296
store i64 0, i64* %indvars.iv17.reg2mem
store i32 0, i32* %sv_0.012.reg2mem
br label LBL_1
LBL_1:
%sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem
%indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem
%3 = mul i64 %2, %indvars.iv17.reload
%sext20 = add i64 %3, -4294967296
%4 = ashr exact i64 %sext20, 32
%5 = add i64 %4, %0
%6 = inttoptr i64 %5 to i8*
%7 = load i8, i8* %6, align 1
%8 = sub i64 %indvars.iv17.reload, %arg2
%sext21 = mul i64 %8, 4294967296
%9 = ashr exact i64 %sext21, 32
%10 = add i64 %9, %0
%11 = inttoptr i64 %10 to i8*
%12 = load i8, i8* %11, align 1
%13 = zext i8 %12 to i32
%14 = zext i8 %7 to i32
%15 = trunc i64 %indvars.iv17.reload to i32
%16 = add i32 %15, 4
%17 = sub i32 %16, %1
%18 = sext i32 %17 to i64
%19 = add i64 %18, %0
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i32
%23 = mul i32 %16, %1
%24 = add i32 %23, -1
%25 = sext i32 %24 to i64
%26 = add i64 %25, %0
%27 = inttoptr i64 %26 to i8*
%28 = load i8, i8* %27, align 1
%29 = zext i8 %28 to i32
%30 = add i32 %sv_0.012.reload, %14
%31 = add i32 %30, %13
%32 = add i32 %31, %22
%33 = add i32 %32, %29
%indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1
%exitcond19 = icmp eq i64 %indvars.iv.next18, 4
store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem
store i32 %33, i32* %sv_0.012.reg2mem
br i1 %exitcond19, label LBL_2, label LBL_1
LBL_2:
%34 = add i32 %33, 8
%35 = ashr i32 %34, 4
%36 = mul i32 %35, 16843009
%37 = add i64 %0, 4
store i64 0, i64* %indvars.iv14.reg2mem
br label LBL_3
LBL_3:
%indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem
%sext22 = mul i64 %2, %indvars.iv14.reload
%38 = ashr exact i64 %sext22, 32
%39 = add i64 %38, %0
%40 = inttoptr i64 %39 to i32*
store i32 %36, i32* %40, align 4
%41 = add i64 %38, %37
%42 = inttoptr i64 %41 to i32*
store i32 %36, i32* %42, align 4
%indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1
%exitcond16 = icmp eq i64 %indvars.iv.next15, 4
store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem
store i64 4, i64* %indvars.iv.reg2mem
br i1 %exitcond16, label LBL_4, label LBL_3
LBL_4:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%sext23 = mul i64 %2, %indvars.iv.reload
%43 = ashr exact i64 %sext23, 32
%44 = add i64 %43, %0
%45 = inttoptr i64 %44 to i32*
store i32 %36, i32* %45, align 4
%46 = add i64 %43, %37
%47 = inttoptr i64 %46 to i32*
store i32 %36, i32* %47, 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_5, label LBL_4
LBL_5:
%rax.1 = zext i32 %36 to i64
ret i64 %rax.1
uselistorder i32 %33, { 1, 0 }
uselistorder i64 %indvars.iv17.reload, { 0, 2, 1, 3 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %0, { 0, 1, 6, 2, 3, 4, 5 }
uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.012.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64 4, { 0, 2, 3, 1 }
uselistorder i64 1, { 2, 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | audio_capture_notify_9380 | audio_capture_notify | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
store i64 %0, i64* %rax.0.reg2mem
switch i32 %1, label LBL_3 [
i32 0, label LBL_1
i32 1, label LBL_2
]
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0, i64 0)
%4 = call i64 @FUNC(i64 %0, i64 1)
%5 = call i64 @FUNC(i64 %0, i64 2)
%6 = call i64 @FUNC(i64 %0)
%7 = call i64 @FUNC(i64 %0)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%8 = call i64 @FUNC(i64 %0)
%9 = call i64 @FUNC(i64 %0, i64 0)
%10 = call i64 @FUNC(i64 %0, i64 1)
%11 = call i64 @FUNC(i64 %0, i64 3)
%12 = call i64 @FUNC(i64 %0)
%13 = call i64 @FUNC(i64 %0)
store i64 %13, 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, { 6, 5, 4, 3, 2, 1, 12, 11, 10, 9, 8, 7, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @vnc_flush, { 1, 0 }
uselistorder i64 (i64)* @vnc_unlock_output, { 1, 0 }
uselistorder i64 (i64, i64)* @vnc_write_u16, { 1, 0 }
uselistorder i64 (i64, i64)* @vnc_write_u8, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @vnc_lock_output, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
} | 0 |
BinRealVul | halfpel_interpol_1738 | halfpel_interpol | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge522.reg2mem = alloca i32
%indvars.iv31.reg2mem = alloca i64
%storemerge719.reg2mem = alloca i32
%indvars.iv26.reg2mem = alloca i64
%storemerge916.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge11.in.reg2mem = alloca i32
%storemerge1213.reg2mem = alloca i32
%storemerge424.reg2mem = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
store i64 %1, i64* %rdi, align 8
%2 = bitcast i64* %rdi to i32*
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i32*
%5 = add i64 %1, 12
%6 = inttoptr i64 %5 to i32*
%7 = ptrtoint i32* %arg3 to i64
%8 = add i64 %7, 16
%9 = trunc i64 %1 to i32
store i32 %9, i32* %.reg2mem
store i32 0, i32* %storemerge424.reg2mem
br label LBL_1
LBL_1:
%storemerge424.reload = load i32, i32* %storemerge424.reg2mem
%.reload = load i32, i32* %.reg2mem
%10 = icmp eq i32 %storemerge424.reload, 0
%11 = icmp eq i1 %10, false
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_2, label LBL_3
LBL_2:
%13 = load i64, i64* %rdi, align 8
%14 = add i64 %13, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
store i32 %.reload, i32* %storemerge1213.reg2mem
store i32 %16, i32* %storemerge11.in.reg2mem
br label LBL_4
LBL_3:
%17 = load i32, i32* %4, align 4
%18 = urem i32 %17, 32
%19 = ashr i32 %.reload, %18
%20 = load i64, i64* %rdi, align 8
%21 = add i64 %20, 4
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = load i32, i32* %6, align 4
%25 = urem i32 %24, 32
%26 = ashr i32 %23, %25
store i32 %19, i32* %storemerge1213.reg2mem
store i32 %26, i32* %storemerge11.in.reg2mem
br label LBL_4
LBL_4:
%storemerge11.in.reload = load i32, i32* %storemerge11.in.reg2mem
%storemerge11 = zext i32 %storemerge11.in.reload to i64
%27 = sext i32 %storemerge424.reload to i64
%28 = mul i64 %27, 4
%29 = add i64 %28, %7
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = mul i64 %27, 8
%33 = add i64 %8, %32
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = mul i64 %storemerge11, 4294967296
%sext = add i64 %36, 8589934592
%37 = udiv i64 %sext, 4294967296
%38 = trunc i64 %37 to i32
%39 = mul i32 %31, %38
%40 = sext i32 %39 to i64
%41 = call i64 @FUNC(i64 %40)
%42 = add i32 %31, 1
%43 = sext i32 %42 to i64
%44 = add i64 %41, %43
%45 = add i64 %32, %0
%46 = add i64 %45, 32
%47 = inttoptr i64 %46 to i64*
store i64 %44, i64* %47, align 8
%48 = call i64 @FUNC(i64 %40)
%49 = add i64 %48, %43
%50 = add i64 %45, 64
%51 = inttoptr i64 %50 to i64*
store i64 %49, i64* %51, align 8
store i64 %40, i64* %rdi, align 8
%52 = call i64 @FUNC(i64 %40)
%53 = add i64 %52, %43
%54 = add i64 %45, 96
%55 = inttoptr i64 %54 to i64*
store i64 %53, i64* %55, align 8
%56 = load i64, i64* %47, align 8
%57 = icmp eq i64 %56, 0
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %57, label LBL_24, label LBL_5
LBL_5:
%58 = load i64, i64* %51, align 8
%59 = icmp ne i64 %58, 0
%60 = icmp eq i64 %53, 0
%61 = icmp eq i1 %60, false
%or.cond = icmp eq i1 %61, %59
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %or.cond, label LBL_6, label LBL_24
LBL_6:
%62 = inttoptr i64 %45 to i64*
store i64 %35, i64* %62, align 8
%63 = icmp sgt i32 %storemerge11.in.reload, 0
br i1 %63, label LBL_7, label LBL_22
LBL_7:
%storemerge1213.reload = load i32, i32* %storemerge1213.reg2mem
%64 = icmp sgt i32 %storemerge1213.reload, 0
%wide.trip.count = zext i32 %storemerge1213.reload to i64
store i32 0, i32* %storemerge916.reg2mem
br label LBL_11
LBL_8:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%65 = trunc i64 %indvars.iv.reload to i32
%66 = add i32 %108, %65
%67 = sext i32 %66 to i64
%68 = add i64 %35, %67
%69 = inttoptr i64 %68 to i8*
%70 = load i8, i8* %69, align 1
%71 = add i64 %68, 1
%72 = inttoptr i64 %71 to i8*
%73 = load i8, i8* %72, align 1
%74 = zext i8 %70 to i32
%75 = zext i8 %73 to i32
%76 = add nuw nsw i32 %75, %74
%77 = mul nuw nsw i32 %76, 20
%78 = add i64 %68, -1
%79 = inttoptr i64 %78 to i8*
%80 = load i8, i8* %79, align 1
%81 = add i64 %68, 2
%82 = inttoptr i64 %81 to i8*
%83 = load i8, i8* %82, align 1
%84 = zext i8 %80 to i32
%85 = zext i8 %83 to i32
%86 = add nuw nsw i32 %85, %84
%87 = mul nsw i32 %86, -5
%88 = add i64 %68, -2
%89 = inttoptr i64 %88 to i8*
%90 = load i8, i8* %89, align 1
%91 = add i64 %68, 3
%92 = inttoptr i64 %91 to i8*
%93 = load i8, i8* %92, align 1
%94 = zext i8 %93 to i32
%95 = zext i8 %90 to i32
%96 = add nuw nsw i32 %77, 16
%97 = add nuw nsw i32 %96, %95
%98 = add nuw nsw i32 %97, %94
%99 = add nsw i32 %98, %87
%100 = udiv i32 %99, 32
%101 = load i64, i64* %47, align 8
%102 = add i64 %101, %67
%103 = trunc i32 %100 to i8
%104 = inttoptr i64 %102 to i8*
store i8 %103, i8* %104, align 1
%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
br i1 %exitcond, label LBL_9, label LBL_8
LBL_9:
%105 = add nuw nsw i32 %storemerge916.reload, 1
%exitcond25 = icmp eq i32 %105, %storemerge11.in.reload
store i32 %105, i32* %storemerge916.reg2mem
br i1 %exitcond25, label LBL_10, label LBL_11
LBL_10:
%106 = mul i32 %31, 2
%107 = mul i32 %31, 3
store i32 0, i32* %storemerge719.reg2mem
br label LBL_15
LBL_11:
%storemerge916.reload = load i32, i32* %storemerge916.reg2mem
br i1 %64, label LBL_8.lr.ph, label LBL_9
LBL_12:
%108 = mul i32 %storemerge916.reload, %31
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_8
LBL_13:
%indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem
%109 = trunc i64 %indvars.iv26.reload to i32
%110 = add i32 %160, %109
%111 = sext i32 %110 to i64
%112 = add i64 %35, %111
%113 = inttoptr i64 %112 to i8*
%114 = load i8, i8* %113, align 1
%115 = add i32 %110, %31
%116 = sext i32 %115 to i64
%117 = add i64 %35, %116
%118 = inttoptr i64 %117 to i8*
%119 = load i8, i8* %118, align 1
%120 = zext i8 %114 to i32
%121 = zext i8 %119 to i32
%122 = add nuw nsw i32 %121, %120
%123 = mul nuw nsw i32 %122, 20
%124 = sub i32 %110, %31
%125 = sext i32 %124 to i64
%126 = add i64 %35, %125
%127 = inttoptr i64 %126 to i8*
%128 = load i8, i8* %127, align 1
%129 = add i32 %110, %106
%130 = sext i32 %129 to i64
%131 = add i64 %35, %130
%132 = inttoptr i64 %131 to i8*
%133 = load i8, i8* %132, align 1
%134 = zext i8 %128 to i32
%135 = zext i8 %133 to i32
%136 = add nuw nsw i32 %135, %134
%137 = mul nsw i32 %136, -5
%138 = sub i32 %110, %106
%139 = sext i32 %138 to i64
%140 = add i64 %35, %139
%141 = inttoptr i64 %140 to i8*
%142 = load i8, i8* %141, align 1
%143 = add i32 %110, %107
%144 = sext i32 %143 to i64
%145 = add i64 %35, %144
%146 = inttoptr i64 %145 to i8*
%147 = load i8, i8* %146, align 1
%148 = zext i8 %147 to i32
%149 = zext i8 %142 to i32
%150 = add nuw nsw i32 %123, 16
%151 = add nuw nsw i32 %150, %149
%152 = add nuw nsw i32 %151, %148
%153 = add nsw i32 %152, %137
%154 = udiv i32 %153, 32
%155 = load i64, i64* %51, align 8
%156 = add i64 %155, %111
%157 = trunc i32 %154 to i8
%158 = inttoptr i64 %156 to i8*
store i8 %157, i8* %158, align 1
%indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1
%exitcond29 = icmp eq i64 %indvars.iv.next27, %wide.trip.count
store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem
br i1 %exitcond29, label LBL_14, label LBL_13
LBL_14:
%159 = add nuw nsw i32 %storemerge719.reload, 1
%exitcond30 = icmp eq i32 %159, %storemerge11.in.reload
store i32 %159, i32* %storemerge719.reg2mem
br i1 %exitcond30, label LBL_17, label LBL_15
LBL_15:
%storemerge719.reload = load i32, i32* %storemerge719.reg2mem
br i1 %64, label LBL_13.lr.ph, label LBL_14
LBL_16:
%160 = mul i32 %storemerge719.reload, %31
store i64 0, i64* %indvars.iv26.reg2mem
br label LBL_13
LBL_17:
%161 = load i64, i64* %47, align 8
store i32 0, i32* %storemerge522.reg2mem
br label LBL_20
LBL_18:
%indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem
%162 = trunc i64 %indvars.iv31.reload to i32
%163 = add i32 %213, %162
%164 = sext i32 %163 to i64
%165 = add i64 %161, %164
%166 = inttoptr i64 %165 to i8*
%167 = load i8, i8* %166, align 1
%168 = add i32 %163, %31
%169 = sext i32 %168 to i64
%170 = add i64 %161, %169
%171 = inttoptr i64 %170 to i8*
%172 = load i8, i8* %171, align 1
%173 = zext i8 %167 to i32
%174 = zext i8 %172 to i32
%175 = add nuw nsw i32 %174, %173
%176 = mul nuw nsw i32 %175, 20
%177 = sub i32 %163, %31
%178 = sext i32 %177 to i64
%179 = add i64 %161, %178
%180 = inttoptr i64 %179 to i8*
%181 = load i8, i8* %180, align 1
%182 = add i32 %163, %106
%183 = sext i32 %182 to i64
%184 = add i64 %161, %183
%185 = inttoptr i64 %184 to i8*
%186 = load i8, i8* %185, align 1
%187 = zext i8 %181 to i32
%188 = zext i8 %186 to i32
%189 = add nuw nsw i32 %188, %187
%190 = mul nsw i32 %189, -5
%191 = sub i32 %163, %106
%192 = sext i32 %191 to i64
%193 = add i64 %161, %192
%194 = inttoptr i64 %193 to i8*
%195 = load i8, i8* %194, align 1
%196 = add i32 %163, %107
%197 = sext i32 %196 to i64
%198 = add i64 %161, %197
%199 = inttoptr i64 %198 to i8*
%200 = load i8, i8* %199, align 1
%201 = zext i8 %200 to i32
%202 = zext i8 %195 to i32
%203 = add nuw nsw i32 %176, 16
%204 = add nuw nsw i32 %203, %202
%205 = add nuw nsw i32 %204, %201
%206 = add nsw i32 %205, %190
%207 = udiv i32 %206, 32
%208 = load i64, i64* %55, align 8
%209 = add i64 %208, %164
%210 = trunc i32 %207 to i8
%211 = inttoptr i64 %209 to i8*
store i8 %210, i8* %211, align 1
%indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1
%exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count
store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem
br i1 %exitcond34, label LBL_19, label LBL_18
LBL_19:
%212 = add nuw nsw i32 %storemerge522.reload, 1
%exitcond35 = icmp eq i32 %212, %storemerge11.in.reload
store i32 %212, i32* %storemerge522.reg2mem
br i1 %exitcond35, label LBL_22, label LBL_20
LBL_20:
%storemerge522.reload = load i32, i32* %storemerge522.reg2mem
br i1 %64, label LBL_18.lr.ph, label LBL_19
LBL_21:
%213 = mul i32 %storemerge522.reload, %31
store i64 0, i64* %indvars.iv31.reg2mem
br label LBL_18
LBL_22:
%214 = add nuw i32 %storemerge424.reload, 1
%215 = icmp ult i32 %214, 3
store i64 0, i64* %storemerge.reg2mem
br i1 %215, label LBL_22.LBL_1_crit_edge, label LBL_24
LBL_23:
%.pre = load i32, i32* %2, align 8
store i32 %.pre, i32* %.reg2mem
store i32 %214, i32* %storemerge424.reg2mem
br label LBL_1
LBL_24:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %storemerge522.reload, { 1, 0 }
uselistorder i64 %164, { 1, 0 }
uselistorder i32 %163, { 0, 3, 1, 4, 2, 5 }
uselistorder i32 %storemerge719.reload, { 1, 0 }
uselistorder i64 %111, { 1, 0 }
uselistorder i32 %110, { 0, 3, 1, 4, 2, 5 }
uselistorder i32 %storemerge916.reload, { 1, 0 }
uselistorder i32 %106, { 1, 3, 0, 2 }
uselistorder i64 %67, { 1, 0 }
uselistorder i32 %storemerge1213.reload, { 1, 0 }
uselistorder i64 %40, { 1, 0, 2, 3 }
uselistorder i64 %35, { 1, 2, 3, 4, 5, 6, 0, 7 }
uselistorder i64 %32, { 1, 0 }
uselistorder i32 %31, { 3, 7, 2, 5, 8, 4, 6, 9, 0, 10, 1 }
uselistorder i32 %storemerge11.in.reload, { 4, 3, 2, 1, 0 }
uselistorder i32 %.reload, { 1, 0 }
uselistorder i64 %1, { 0, 2, 1, 3 }
uselistorder i64* %rdi, { 1, 3, 0, 2, 4 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge424.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1213.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge11.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv26.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv31.reg2mem, { 2, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 16, { 2, 1, 0 }
uselistorder i32 -5, { 1, 0, 2 }
uselistorder i32 20, { 1, 0, 2 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder i64 (i64)* @av_malloc, { 2, 1, 0 }
uselistorder i64 4294967296, { 1, 0 }
uselistorder i32 0, { 0, 1, 2, 4, 5, 6, 3 }
uselistorder label LBL_24, { 1, 0, 2 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | kvm_read_guest_virt_11419 | kvm_read_guest_virt | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg5 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 3
%4 = icmp eq i1 %3, false
%. = select i1 %4, i64 0, i64 4
%5 = call i64 @FUNC(i64 %arg2, i64 %arg3, i32 %arg4, i64 %1, i64 %., i64 %0)
ret i64 %5
} | 1 |
BinRealVul | h2o_websocket_proceed_3898 | h2o_websocket_proceed | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i32*
br label LBL_1
LBL_1:
%5 = load i64, i64* %2, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i32 0, i32* %sv_0.0.reg2mem
br i1 %9, label LBL_5, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %5)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %12, label LBL_5, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %5)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_16, label LBL_4
LBL_4:
%17 = load i32, i32* %4, align 4
%18 = icmp eq i32 %17, 0
%spec.select = zext i1 %18 to i32
store i32 %spec.select, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%19 = load i64, i64* %2, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = icmp eq i32 %23, 0
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %24, label LBL_8, label LBL_6
LBL_6:
%25 = call i64 @FUNC(i64 %5)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %27, label LBL_8, label LBL_7
LBL_7:
%28 = call i64 @FUNC(i64 %5)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
%31 = icmp eq i1 %30, false
store i32 1, i32* %sv_0.1.reg2mem
br i1 %31, label LBL_16, label LBL_8
LBL_8:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%32 = icmp eq i32 %sv_0.1.reload, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_1, label LBL_9
LBL_9:
%34 = load i32, i32* %4, align 4
%35 = icmp slt i32 %34, 1
store i64 %5, i64* %rdi.0.reg2mem
br i1 %35, label LBL_11, label LBL_10
LBL_10:
%36 = add i64 %0, 24
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = load i64, i64* %2, align 8
%40 = call i64 @FUNC(i64 %39, i64 %38, i32 %34, i64 4198785)
store i32 0, i32* %4, align 4
store i64 %39, i64* %rdi.0.reg2mem
br label LBL_11
LBL_11:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%41 = call i64 @FUNC(i64 %rdi.0.reload)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = load i64, i64* %2, align 8
br i1 %43, label LBL_13, label LBL_12
LBL_12:
%45 = call i64 @FUNC(i64 %44, i64 4198792)
store i64 %45, i64* %rax.0.reg2mem
br label LBL_17
LBL_13:
%46 = call i64 @FUNC(i64 %44)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_15, label LBL_14
LBL_14:
%50 = call i64 @FUNC(i64 %44)
%51 = trunc i64 %50 to i32
%52 = icmp eq i32 %51, 0
br i1 %52, label LBL_16, label LBL_15
LBL_15:
%53 = load i64, i64* %2, align 8
%54 = call i64 @FUNC(i64 %53)
store i64 %54, i64* %rax.0.reg2mem
br label LBL_17
LBL_16:
%55 = call i64 @FUNC(i64 %0)
store i64 %55, 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 %44, { 0, 2, 1 }
uselistorder i64 %5, { 0, 3, 4, 1, 2, 5 }
uselistorder i32* %4, { 1, 0, 2 }
uselistorder i64* %2, { 2, 0, 1, 3, 4 }
uselistorder i64 %0, { 1, 2, 0, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @wslay_event_want_read, { 1, 0 }
uselistorder i64 (i64)* @wslay_event_want_write, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12, 1, 13 }
uselistorder i64 (i64)* @h2o_socket_is_writing, { 1, 0 }
uselistorder label LBL_16, { 2, 0, 1 }
} | 0 |
BinRealVul | show_object_6183 | show_object | define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp slt i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 %1, i64* %sv_0.0.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i8* %arg2 to i64
%6 = call i64 @FUNC(i64 %0, i64 %5)
store i64 %6, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%7 = ptrtoint i64* %arg3 to i64
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%8 = and i64 %sv_0.0.reload, 4294967295
%9 = call i64 @FUNC(i64 %7, i64 %8)
ret i64 %9
uselistorder i64 4294967295, { 1, 0 }
} | 0 |
BinRealVul | sock_queue_err_skb_4335 | sock_queue_err_skb | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 4
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = trunc i64 %2 to i32
%8 = add i32 %6, %7
%9 = trunc i64 %1 to i32
%10 = icmp ult i32 %8, %9
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%11 = ptrtoint i64* %arg2 to i64
%12 = bitcast i64* %rsi to i32*
%13 = call i64 @FUNC(i64 %11)
%14 = add i64 %11, 8
%15 = inttoptr i64 %14 to i64*
store i64 %3, i64* %15, align 8
%16 = add i64 %11, 16
%17 = inttoptr i64 %16 to i64*
store i64 4198811, i64* %17, align 8
%18 = load i32, i32* %12, align 8
%19 = zext i32 %18 to i64
%20 = call i64 @FUNC(i64 %19, i64 %4)
%21 = call i64 @FUNC(i64 %11)
%22 = call i64 @FUNC(i64 %11)
%23 = add i64 %3, 8
%24 = call i64 @FUNC(i64 %23, i64 %11)
%25 = call i64 @FUNC(i64 %3, i64 1)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %11, { 2, 1, 0, 3, 5, 4 }
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | aio_dispatch_17045 | aio_dispatch | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.2.lcssa.reg2mem = alloca i8
%sv_0.1.reg2mem = alloca i8
%sv_0.0.reg2mem = alloca i8
%sv_0.25.reg2mem = alloca i8
%sv_1.06.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i8 0, i8* %sv_0.2.lcssa.reg2mem
br i1 %1, label LBL_1, label LBL_10
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i32*
store i64 %2, i64* %sv_1.06.reg2mem
store i8 0, i8* %sv_0.25.reg2mem
br label LBL_2
LBL_2:
%sv_0.25.reload = load i8, i8* %sv_0.25.reg2mem
%sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem
%5 = load i32, i32* %4, align 4
%6 = add i32 %5, 1
store i32 %6, i32* %4, align 4
%7 = add i64 %sv_1.06.reload, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %sv_1.06.reload, 12
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = and i32 %12, %9
store i32 0, i32* %8, align 4
%14 = add i64 %sv_1.06.reload, 40
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp eq i8 %16, 1
%18 = and i32 %13, 13
%19 = icmp eq i32 %18, 0
%or.cond = or i1 %17, %19
store i8 %sv_0.25.reload, i8* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%20 = add i64 %sv_1.06.reload, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
%spec.select = select i1 %23, i8 %sv_0.25.reload, i8 1
store i8 %spec.select, i8* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem
%24 = and i32 %13, 10
%25 = icmp eq i32 %24, 0
%or.cond3 = or i1 %25, %17
store i8 %sv_0.0.reload, i8* %sv_0.1.reg2mem
br i1 %or.cond3, label LBL_6, label LBL_5
LBL_5:
%26 = add i64 %sv_1.06.reload, 24
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = icmp eq i64 %28, 0
%spec.select4 = select i1 %29, i8 %sv_0.0.reload, i8 1
store i8 %spec.select4, i8* %sv_0.1.reg2mem
br label LBL_6
LBL_6:
%sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem
%30 = inttoptr i64 %sv_1.06.reload to i64*
%31 = load i64, i64* %30, align 8
%32 = load i32, i32* %4, align 4
%33 = add i32 %32, -1
store i32 %33, i32* %4, align 4
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_7, label LBL_8
LBL_7:
%36 = icmp eq i64 %31, 0
%37 = icmp eq i1 %36, false
store i64 %31, i64* %sv_1.06.reg2mem
store i8 %sv_0.1.reload, i8* %sv_0.25.reg2mem
store i8 %sv_0.1.reload, i8* %sv_0.2.lcssa.reg2mem
br i1 %37, label LBL_2, label LBL_10
LBL_8:
%38 = load i8, i8* %15, align 1
%39 = icmp eq i8 %38, 0
br i1 %39, label LBL_7, label LBL_9
LBL_9:
%40 = call i64 @FUNC(i64 %sv_1.06.reload)
br label LBL_7
LBL_10:
%sv_0.2.lcssa.reload = load i8, i8* %sv_0.2.lcssa.reg2mem
%41 = zext i8 %sv_0.2.lcssa.reload to i64
ret i64 %41
uselistorder i8 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %sv_1.06.reload, { 0, 1, 2, 4, 3, 6, 5 }
uselistorder i8 %sv_0.25.reload, { 1, 0 }
uselistorder i32* %4, { 1, 0, 2, 3 }
uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_0.25.reg2mem, { 1, 0, 2 }
uselistorder i32 0, { 2, 0, 1, 3 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_7, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | find_unused_picture_10533 | find_unused_picture | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge13.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul i64 %indvars.iv.reload, 4
%2 = add i64 %1, %0
%3 = call i64 @FUNC(i64 %0, i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_4, label LBL_2
LBL_2:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%7 = icmp ult i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %7, label LBL_1, label LBL_3
LBL_3:
%8 = trunc i64 %indvars.iv.next to i32
%9 = icmp eq i32 %8, 10
%10 = icmp eq i1 %9, false
store i32 10, i32* %storemerge13.reg2mem
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %10, label LBL_5, label LBL_8
LBL_4:
%11 = trunc i64 %indvars.iv.reload to i32
store i32 %11, i32* %storemerge13.reg2mem
br label LBL_5
LBL_5:
%storemerge13.reload = load i32, i32* %storemerge13.reg2mem
%12 = sext i32 %storemerge13.reload to i64
%13 = mul i64 %12, 4
%14 = add i64 %13, %0
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_7, label LBL_6
LBL_6:
store i32 0, i32* %15, align 4
%18 = call i64 @FUNC(i64 %0, i64 %14)
br label LBL_7
LBL_7:
%19 = zext i32 %storemerge13.reload to i64
store i64 %19, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %indvars.iv.next, { 1, 0, 2 }
uselistorder i64 %indvars.iv.reload, { 1, 0, 2 }
uselistorder i64 %0, { 2, 0, 3, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge13.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | piix3_xen_class_init_5114 | piix3_xen_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i8*
store i8 1, i8* %4, align 1
%5 = inttoptr i64 %3 to i32*
store i32 1, i32* %5, align 4
store i64 4198662, i64* %arg1, align 8
store i64 4198669, i64* %2, align 8
%6 = add i64 %0, 20
%7 = inttoptr i64 %6 to i32*
store i32 32902, i32* %7, align 4
%8 = add i64 %0, 24
%9 = inttoptr i64 %8 to i32*
store i32 28947, i32* %9, align 4
%10 = add i64 %0, 28
%11 = inttoptr i64 %10 to i32*
store i32 393472, i32* %11, align 4
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }
} | 0 |
BinRealVul | v9fs_read_2373 | v9fs_read | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.3.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%sv_0.2.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_2.0.ph.reg2mem = alloca i64
%sv_0.0.ph.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i32, align 4
%sv_4 = alloca i64, align 8
%sv_5 = alloca i32, align 4
%sv_6 = alloca i64, align 8
%sv_7 = alloca i32, align 4
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = bitcast i32* %sv_5 to i64*
%7 = bitcast i32* %sv_7 to i64*
%8 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %6, i64* nonnull %sv_6, i64* nonnull %7)
%9 = load i32, i32* %sv_7, align 4
%10 = load i64, i64* %sv_6, align 8
%11 = load i32, i32* %sv_5, align 4
%12 = zext i32 %11 to i64
%13 = add i64 %2, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %9 to i64
%17 = and i64 %1, 4294967295
%18 = call i64 @FUNC(i64 %17, i32 %15, i64 %12, i64 %10, i64 %16)
%19 = load i32, i32* %sv_5, align 4
%20 = zext i32 %19 to i64
%21 = call i64 @FUNC(i64 %2, i64 %20)
%22 = icmp eq i64 %21, 0
%23 = icmp eq i1 %22, false
store i32 -22, i32* %sv_1.1.reg2mem
store i32 0, i32* %sv_0.3.reg2mem
br i1 %23, label LBL_1, label LBL_17
LBL_1:
%24 = ptrtoint i32* %sv_7 to i64
%25 = inttoptr i64 %21 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 1
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_6, label LBL_2
LBL_2:
%29 = load i64, i64* %sv_6, align 8
%30 = icmp eq i64 %29, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_4, label LBL_3
LBL_3:
%32 = call i64 @FUNC(i64 %2, i64 %21)
br label LBL_4
LBL_4:
%33 = load i32, i32* %sv_7, align 4
%34 = zext i32 %33 to i64
%35 = call i64 @FUNC(i64 %2, i64 %21, i64 %34)
%36 = trunc i64 %35 to i32
%37 = icmp slt i32 %36, 0
%38 = icmp eq i1 %37, false
store i32 %36, i32* %sv_1.0.reg2mem
store i32 %36, i32* %sv_0.2.reg2mem
br i1 %38, label LBL_5, label LBL_16
LBL_5:
%39 = and i64 %35, 4294967295
%40 = call i64 @FUNC(i64 %2, i64 7, i64 4202516, i64 %39, i64 %16, i64 %24)
%41 = trunc i64 %40 to i32
%42 = add i32 %36, 7
%43 = add i32 %42, %41
store i32 %43, i32* %sv_1.0.reg2mem
store i32 %36, i32* %sv_0.2.reg2mem
br label LBL_16
LBL_6:
%44 = icmp eq i32 %26, 2
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_14, label LBL_7
LBL_7:
%46 = ptrtoint i64* %sv_4 to i64
%47 = ptrtoint i32* %sv_3 to i64
%48 = call i64 @FUNC(i64 %2, i64 11, i64 4202518, i64 %46, i64 %47, i64 %24)
%49 = load i32, i32* %sv_7, align 4
%50 = zext i32 %49 to i64
%51 = bitcast i32* %sv_3 to i64*
%52 = call i64 @FUNC(i64 %46, i64 %50, i64* nonnull %51)
%53 = add i64 %2, 16
%54 = inttoptr i64 %53 to i32*
store i32 0, i32* %sv_0.0.ph.reg2mem
store i64 %52, i64* %sv_2.0.ph.reg2mem
br label LBL_8
LBL_8:
%sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
br label LBL_9
LBL_9:
%55 = load i64, i64* %sv_6, align 8
%56 = load i32, i32* %sv_3, align 4
%57 = zext i32 %56 to i64
%58 = call i64 @FUNC(i64 %2, i64 %21, i64 %sv_2.0.ph.reload, i64 %57, i64 %55)
%59 = trunc i64 %58 to i32
%60 = icmp slt i32 %59, 0
br i1 %60, label LBL_10, label LBL_12
LBL_10:
%61 = icmp eq i32 %59, -4
%62 = icmp eq i1 %61, false
store i32 %59, i32* %sv_1.0.reg2mem
store i32 %sv_0.0.ph.reload, i32* %sv_0.2.reg2mem
br i1 %62, label LBL_16, label LBL_11
LBL_11:
%63 = load i32, i32* %54, align 4
%64 = icmp eq i32 %63, 0
store i32 %59, i32* %sv_1.0.reg2mem
store i32 %sv_0.0.ph.reload, i32* %sv_0.2.reg2mem
br i1 %64, label LBL_9, label LBL_16
LBL_12:
%sext = mul i64 %58, 4294967296
%65 = ashr exact i64 %sext, 32
%66 = load i64, i64* %sv_6, align 8
%67 = add i64 %66, %65
store i64 %67, i64* %sv_6, align 8
%68 = add i32 %sv_0.0.ph.reload, %59
%69 = and i64 %58, 4294967295
%70 = call i64 @FUNC(i64 %sv_2.0.ph.reload, i64 %69, i64* nonnull %51)
%71 = load i32, i32* %sv_7, align 4
%72 = zext i32 %71 to i64
%73 = sext i32 %68 to i64
%74 = icmp slt i64 %73, %72
%75 = icmp eq i32 %59, 0
%76 = icmp eq i1 %75, false
%or.cond = icmp eq i1 %76, %74
store i32 %68, i32* %sv_0.0.ph.reg2mem
store i64 %70, i64* %sv_2.0.ph.reg2mem
br i1 %or.cond, label LBL_8, label LBL_13
LBL_13:
%77 = zext i32 %68 to i64
%78 = call i64 @FUNC(i64 %2, i64 7, i64 ptrtoint (i64* @gv_1 to i64), i64 %77, i64 %55, i64 %24)
%79 = trunc i64 %78 to i32
%80 = add i32 %68, 7
%81 = add i32 %80, %79
store i32 %81, i32* %sv_1.0.reg2mem
store i32 %68, i32* %sv_0.2.reg2mem
br label LBL_16
LBL_14:
%82 = icmp eq i32 %26, 3
%83 = icmp eq i1 %82, false
store i32 -22, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.2.reg2mem
br i1 %83, label LBL_16, label LBL_15
LBL_15:
%84 = load i32, i32* %sv_7, align 4
%85 = load i64, i64* %sv_6, align 8
%86 = zext i32 %84 to i64
%87 = call i64 @FUNC(i64 %5, i64 %2, i64 %21, i64 %85, i64 %86)
%88 = trunc i64 %87 to i32
store i32 %88, i32* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.2.reg2mem
br label LBL_16
LBL_16:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%89 = call i64 @FUNC(i64 %2, i64 %21)
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem
br label LBL_17
LBL_17:
%sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%90 = load i32, i32* %14, align 4
%91 = sext i32 %sv_1.1.reload to i64
%92 = call i64 @FUNC(i64 %17, i32 %90, i32 %sv_0.3.reload, i64 %91)
%93 = call i64 @FUNC(i64 %5, i64 %2, i64 %91)
ret i64 %93
uselistorder i32 %68, { 0, 2, 3, 1, 4 }
uselistorder i32 %59, { 2, 3, 1, 0, 4, 5 }
uselistorder i64 %58, { 1, 0, 2 }
uselistorder i32 %sv_0.0.ph.reload, { 2, 1, 0 }
uselistorder i32 %36, { 1, 3, 0, 2, 4 }
uselistorder i64 %24, { 1, 2, 0 }
uselistorder i64 %21, { 1, 4, 0, 2, 3, 5, 6 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i32* %sv_7, { 5, 4, 3, 2, 0, 1, 6 }
uselistorder i64* %sv_6, { 1, 2, 3, 4, 5, 6, 0 }
uselistorder i32* %sv_5, { 1, 0, 2 }
uselistorder i32* %sv_3, { 1, 2, 0 }
uselistorder i64 %2, { 8, 9, 7, 4, 5, 3, 6, 1, 2, 0, 10, 11, 12, 13 }
uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.0.ph.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 7, 3, 6, 2, 1, 5, 4 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 7, 3, 6, 2, 1, 5, 4 }
uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64, i64, i64, i64)* @pdu_marshal, { 2, 1, 0 }
uselistorder i32 0, { 2, 1, 4, 5, 6, 3, 7, 0 }
uselistorder i32 -22, { 1, 0 }
uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7 }
uselistorder i64 4294967295, { 1, 2, 0 }
uselistorder i64 7, { 1, 0, 2 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_16, { 4, 2, 5, 1, 0, 6, 3 }
uselistorder label LBL_9, { 1, 0 }
} | 0 |
BinRealVul | oprofile_timer_init_17997 | oprofile_timer_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = and i64 %0, 4294967295
store i64 %3, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%4 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %arg1, align 8
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
store i64 0, i64* %6, align 8
%7 = add i64 %4, 16
%8 = inttoptr i64 %7 to i64*
store i64 0, i64* %8, align 8
%9 = add i64 %4, 24
%10 = inttoptr i64 %9 to i64*
store i64 4198694, i64* %10, align 8
%11 = add i64 %4, 32
%12 = inttoptr i64 %11 to i64*
store i64 4198705, i64* %12, align 8
%13 = add i64 %4, 40
%14 = inttoptr i64 %13 to i64*
store i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64* %14, align 8
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 }
} | 1 |
BinRealVul | acpi_dsdt_add_cpus_14301 | acpi_dsdt_add_cpus | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i32
%.reg2mem = alloca i64
%sext = mul i64 %arg2, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = icmp sgt i64 %sext, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge5.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %1, label LBL_1, label LBL_2
LBL_1:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload = load i64, i64* %.reg2mem
%2 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %.reload)
%3 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))
%4 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %3)
%5 = call i64 @FUNC(i64 %2, i64 %4)
%6 = call i64 @FUNC(i64 %.reload)
%7 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %6)
%8 = call i64 @FUNC(i64 %2, i64 %7)
%9 = call i64 @FUNC(i64 %arg1, i64 %2)
%10 = mul i32 %storemerge5.reload, 65536
%sext4 = add i32 %10, 65536
%11 = ashr exact i32 %sext4, 16
%12 = urem i32 %11, 65536
%13 = zext i32 %12 to i64
%14 = icmp sgt i64 %0, %13
store i64 %13, i64* %.reg2mem
store i32 %11, i32* %storemerge5.reg2mem
store i64 %13, i64* %.lcssa.reg2mem
br i1 %14, label LBL_1, label LBL_2
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %sext, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }
uselistorder i32 65536, { 1, 2, 0 }
uselistorder i64 (i64, i64)* @aml_append, { 2, 1, 0 }
uselistorder i64 (i8*, i64)* @aml_name_decl, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | security_vm_enough_memory_6600 | security_vm_enough_memory | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = load i64, i64* @gv_0, align 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
ret i64 %8
} | 0 |
BinRealVul | auth_client_request_abort_5779 | auth_client_request_abort | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i64 %0, i64 %4)
%6 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0)
%7 = load i32, i32* %2, align 4
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i64 %0, i64 %8)
%10 = add i64 %0, 16
%11 = call i64 @FUNC(i64 %10)
ret i64 %11
} | 0 |
BinRealVul | flv_write_trailer_16891 | flv_write_trailer | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%2 = load i64, i64* %1
%3 = load i128, i128* %0
%4 = ptrtoint i32* %arg1 to i64
%5 = add i64 %4, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %4, 24
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = trunc i64 %2 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_6, label LBL_1
LBL_1:
%13 = add i64 %4, 8
%14 = inttoptr i64 %13 to i64*
%15 = and i64 %2, 4294967295
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_2
LBL_2:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%16 = load i64, i64* %14, align 8
%17 = mul i64 %.reload, 8
%18 = add i64 %16, %17
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_5, label LBL_3
LBL_3:
%27 = add i64 %22, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp eq i32 %29, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_5, label LBL_4
LBL_4:
%32 = add i64 %20, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %7, i64 %36)
br label LBL_5
LBL_5:
%38 = add i32 %storemerge2.reload, 1
%39 = sext i32 %38 to i64
%40 = icmp sgt i64 %15, %39
store i64 %39, i64* %.reg2mem
store i32 %38, i32* %storemerge2.reg2mem
br i1 %40, label LBL_2, label LBL_6
LBL_6:
%41 = call i64 @FUNC(i64 %7)
%42 = add i64 %10, 8
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = call i64 @FUNC(i64 %7, i64 %44, i64 0)
%46 = inttoptr i64 %10 to i64*
%47 = load i64, i64* %46, align 8
%48 = call i128 @__asm_movsd.1(i64 %47)
%49 = call i128 @__asm_movsd.1(i64 4652007308841189376)
%50 = call i128 @FUNC(i128 %48, i128 %49)
%51 = call i64 @FUNC(i128 %50)
%52 = call i128 @__asm_movq.2(i64 %51)
%53 = call i64 @FUNC(i64 %7)
%54 = add i64 %10, 16
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = call i64 @FUNC(i64 %7, i64 %56, i64 0)
%58 = call i128 @FUNC(i128 %3, i128 %3)
%59 = call i128 @FUNC(i64 %41)
%60 = call i64 @FUNC(i128 %59)
%61 = call i128 @__asm_movq.2(i64 %60)
%62 = call i64 @FUNC(i64 %7)
%63 = call i64 @FUNC(i64 %7, i64 %41, i64 0)
ret i64 0
uselistorder i64 %10, { 0, 2, 1 }
uselistorder i64 %7, { 0, 2, 1, 3, 5, 4, 6 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64)* @put_amf_double, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @avio_seek, { 2, 1, 0 }
uselistorder i64 8, { 3, 1, 0, 2 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ebcdic_read_7997 | ebcdic_read | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg2, null
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_5, label LBL_1
LBL_1:
%1 = trunc i64 %arg3 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i64* %arg1, null
%4 = or i1 %3, %2
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_5
LBL_2:
%6 = ptrtoint i64* %arg2 to i64
%7 = ptrtoint i64* %arg1 to i64
%8 = call i64 @FUNC(i64 %7, i64 %6, i32 %1)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %9, 1
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = call i64 @FUNC(i64 %6, i64 %6, i32 %9)
br label LBL_4
LBL_4:
%12 = and i64 %8, 4294967295
store i64 %12, 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 }
uselistorder i32 0, { 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_5, { 2, 1, 0 }
} | 0 |
BinRealVul | usb_serial_initfn_2217 | usb_serial_initfn | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%8 = call i64 @FUNC(i64 %4, i64 4198776, i64 4198783, i64 4198790, i64 %0)
%9 = call i64 @FUNC(i64 %0)
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 0, { 0, 1, 2, 6, 3, 4, 5 }
} | 0 |
BinRealVul | pred8x8_left_dc_rv40_c_355 | pred8x8_left_dc_rv40_c | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%sv_0.07.reg2mem = alloca i32
%indvars.iv9.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = mul i64 %arg2, 4294967296
store i64 0, i64* %indvars.iv9.reg2mem
store i32 0, i32* %sv_0.07.reg2mem
br label LBL_1
LBL_1:
%sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem
%indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem
%2 = mul i64 %1, %indvars.iv9.reload
%sext12 = add i64 %2, -4294967296
%3 = ashr exact i64 %sext12, 32
%4 = add i64 %3, %0
%5 = inttoptr i64 %4 to i8*
%6 = load i8, i8* %5, align 1
%7 = zext i8 %6 to i32
%8 = add i32 %sv_0.07.reload, %7
%indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1
%exitcond11 = icmp eq i64 %indvars.iv.next10, 8
store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem
store i32 %8, i32* %sv_0.07.reg2mem
br i1 %exitcond11, label LBL_2, label LBL_1
LBL_2:
%9 = add i32 %8, 4
%10 = udiv i32 %9, 8
%11 = mul i32 %10, 16843009
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%sext13 = mul i64 %1, %indvars.iv.reload
%12 = ashr exact i64 %sext13, 32
%13 = add i64 %12, %0
%14 = add i64 %13, 4
%15 = inttoptr i64 %14 to i32*
store i32 %11, i32* %15, align 4
%16 = inttoptr i64 %13 to i32*
store i32 %11, i32* %16, 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_4, label LBL_3
LBL_4:
%rax.0 = zext i32 %11 to i64
ret i64 %rax.0
uselistorder i32 %11, { 0, 2, 1 }
uselistorder i32 %8, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 1, { 1, 0 }
} | 0 |
BinRealVul | avcodec_align_dimensions_18184 | avcodec_align_dimensions | define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.2.reg2mem = alloca i32
%sv_1.2.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%.reg2mem23 = alloca i32
%sv_1.0.reg2mem = alloca i32
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = trunc i64 %1 to i32
%5 = and i64 %1, 4294967295
store i64 %5, i64* @0, align 8
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_1.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
store i32 16, i32* %sv_0.2.reg2mem
switch i32 %4, label LBL_8 [
i32 0, label LBL_9
i32 1, label LBL_9
i32 2, label LBL_9
i32 3, label LBL_9
i32 4, label LBL_9
i32 5, label LBL_9
i32 6, label LBL_9
i32 7, label LBL_9
i32 8, label LBL_9
i32 9, label LBL_9
i32 10, label LBL_9
i32 11, label LBL_9
i32 12, label LBL_3
i32 13, label LBL_3
i32 14, label LBL_4
i32 15, label LBL_0.LBL_5_crit_edge
i32 16, label LBL_0.LBL_6_crit_edge
i32 17, label LBL_7
]
LBL_1:
%.pre = ptrtoint i32* %arg1 to i64
%.pre11 = add i64 %.pre, 4
%.pre13 = inttoptr i64 %.pre11 to i32*
%.pre21 = load i32, i32* %.pre13, align 4
store i32 %.pre21, i32* %.reg2mem
store i32 1, i32* %sv_1.0.reg2mem
br label LBL_5
LBL_2:
%.pre15 = ptrtoint i32* %arg1 to i64
%.pre17 = add i64 %.pre15, 4
%.pre19 = inttoptr i64 %.pre17 to i32*
%.pre22 = load i32, i32* %.pre19, align 4
store i32 %.pre22, i32* %.reg2mem23
store i32 1, i32* %sv_1.1.reg2mem
br label LBL_6
LBL_3:
store i32 32, i32* %sv_1.2.reg2mem
store i32 8, i32* %sv_0.2.reg2mem
br label LBL_9
LBL_4:
%6 = ptrtoint i32* %arg1 to i64
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
%spec.select = select i1 %11, i32 1, i32 64
store i32 %9, i32* %.reg2mem
store i32 %spec.select, i32* %sv_1.0.reg2mem
br label LBL_5
LBL_5:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%.reload = load i32, i32* %.reg2mem
%12 = icmp eq i32 %.reload, 1
%13 = icmp eq i1 %12, false
%spec.select4 = select i1 %13, i32 %sv_1.0.reload, i32 4
store i32 %.reload, i32* %.reg2mem23
store i32 %spec.select4, i32* %sv_1.1.reg2mem
br label LBL_6
LBL_6:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%.reload24 = load i32, i32* %.reg2mem23
%14 = icmp eq i32 %.reload24, 2
%15 = icmp eq i1 %14, false
%spec.select6 = select i1 %15, i32 %sv_1.1.reload, i32 4
store i32 %spec.select6, i32* %sv_1.2.reg2mem
store i32 %spec.select6, i32* %sv_0.2.reg2mem
br label LBL_9
LBL_7:
%16 = ptrtoint i32* %arg1 to i64
%17 = add i64 %16, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp ne i32 %19, 3
%21 = icmp eq i32 %19, 4
%22 = icmp eq i1 %21, false
%or.cond = icmp eq i1 %20, %22
%spec.select9 = select i1 %or.cond, i32 1, i32 4
store i32 %spec.select9, i32* %sv_1.2.reg2mem
store i32 %spec.select9, i32* %sv_0.2.reg2mem
br label LBL_9
LBL_8:
store i32 1, i32* %sv_1.2.reg2mem
store i32 1, i32* %sv_0.2.reg2mem
br label LBL_9
LBL_9:
%23 = ptrtoint i64* %arg3 to i64
%24 = trunc i64 %2 to i32
%25 = trunc i64 %3 to i32
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem
%26 = add i32 %24, -1
%27 = add i32 %26, %sv_1.2.reload
%28 = sub i32 0, %sv_1.2.reload
%29 = and i32 %27, %28
store i32 %29, i32* %arg2, align 4
%30 = add i32 %25, -1
%31 = add i32 %30, %sv_0.2.reload
%32 = sub i32 0, %sv_0.2.reload
%33 = and i32 %31, %32
%34 = bitcast i64* %arg3 to i32*
store i32 %33, i32* %34, align 4
ret i64 %23
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_1.2.reg2mem, { 0, 16, 1, 2, 15, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 16, 1, 2, 15, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 4, { 2, 3, 0, 1 }
uselistorder i32 16, { 24, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }
uselistorder i32* %arg1, { 3, 2, 0, 1 }
uselistorder label LBL_9, { 15, 0, 1, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | addMultirowsForm_5600 | addMultirowsForm | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rax.0.reg2mem = alloca i64
%rdi.2.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%storemerge621.reg2mem = alloca i32
%.reg2mem57 = alloca i64
%.pre-phi.reg2mem = alloca i32*
%storemerge52747.reg2mem = alloca i32
%sv_0.02248.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%storemerge72046.reg2mem = alloca i64
%storemerge919.reg2mem = alloca i64
%rdi.329.reg2mem = alloca i64
%storemerge31.reg2mem = alloca i32
%.reg2mem55 = alloca i64
%.reg2mem = alloca i64
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%sv_2 = alloca i32*, align 8
%4 = load i32, i32* %1
%5 = load i32, i32* %1
%6 = load i32, i32* %1
%sv_3 = alloca i64, align 8
store i64 %3, i64* %sv_3, align 8
%7 = icmp eq i64* %arg2, null
br i1 %7, label LBL_25, label LBL_1
LBL_1:
%8 = trunc i64 %2 to i32
%9 = icmp eq i32 %8, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_25, label LBL_2
LBL_2:
%10 = ptrtoint i64* %arg1 to i64
%11 = ptrtoint i64* %sv_3 to i64
%12 = bitcast i64* %rsi to i32*
%13 = zext i32 %5 to i64
%14 = zext i32 %4 to i64
%15 = add i64 %10, 8
%16 = inttoptr i64 %15 to i64*
%17 = add i64 %10, 16
%18 = inttoptr i64 %17 to i64*
%19 = add i64 %11, -16
%20 = inttoptr i64 %19 to i64*
%21 = add i64 %11, -24
%22 = inttoptr i64 %21 to i64*
%23 = add i64 %11, -32
%24 = inttoptr i64 %23 to i64*
%25 = bitcast i32** %sv_2 to i64*
store i64 %3, i64* %.reg2mem
store i64 0, i64* %.reg2mem55
store i32 0, i32* %storemerge31.reg2mem
store i64 %10, i64* %rdi.329.reg2mem
br label LBL_3
LBL_3:
%rdi.329.reload = load i64, i64* %rdi.329.reg2mem
%storemerge31.reload = load i32, i32* %storemerge31.reg2mem
%.reload56 = load i64, i64* %.reg2mem55
%.reload = load i64, i64* %.reg2mem
%26 = add i64 %.reload, 8
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = mul nsw i64 %.reload56, 48
%30 = add i64 %28, %29
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = add i64 %30, 8
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = trunc i64 %32 to i32
%37 = trunc i64 %35 to i32
%38 = add i64 %30, 24
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = add i64 %30, 40
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = add i64 %30, 32
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = trunc i64 %43 to i32
%48 = inttoptr i64 %41 to i32*
store i32 1, i32* %48, align 4
%49 = icmp sgt i32 %36, -1
%50 = icmp sgt i32 %47, 1
%or.cond.not = icmp eq i1 %49, %50
%51 = icmp eq i64 %rdi.329.reload, 0
%52 = icmp eq i1 %51, false
%or.cond41 = icmp eq i1 %52, %or.cond.not
store i64 %rdi.329.reload, i64* %storemerge919.reg2mem
store i64 %rdi.329.reload, i64* %rdi.2.reg2mem
br i1 %or.cond41, label LBL_4, label LBL_23
LBL_4:
%storemerge919.reload = load i64, i64* %storemerge919.reg2mem
%53 = inttoptr i64 %storemerge919.reload to i32*
%54 = load i32, i32* %53, align 4
%55 = icmp eq i32 %54, %6
br i1 %55, label LBL_6, label LBL_5
LBL_5:
%56 = add i64 %storemerge919.reload, 24
%57 = inttoptr i64 %56 to i64*
%58 = load i64, i64* %57, align 8
%59 = icmp eq i64 %58, 0
%60 = icmp eq i1 %59, false
store i64 %58, i64* %storemerge919.reg2mem
store i64 %rdi.329.reload, i64* %rdi.2.reg2mem
br i1 %60, label LBL_4, label LBL_23
LBL_6:
%61 = icmp eq i32 %6, %37
%62 = icmp eq i1 %61, false
store i64 %storemerge919.reload, i64* %sv_1.0.reg2mem
br i1 %62, label LBL_7, label LBL_11
LBL_7:
%63 = icmp eq i64 %storemerge919.reload, 0
%64 = icmp eq i1 %63, false
store i64 %rdi.329.reload, i64* %rdi.2.reg2mem
br i1 %64, label LBL_8, label LBL_23
LBL_8:
%65 = icmp ult i32 %6, %37
%storemerge8.in.in.v = select i1 %65, i64 24, i64 32
store i64 %storemerge919.reload, i64* %storemerge72046.reg2mem
br label LBL_9
LBL_9:
%storemerge72046.reload = load i64, i64* %storemerge72046.reg2mem
%storemerge8.in.in = add i64 %storemerge72046.reload, %storemerge8.in.in.v
%storemerge8.in = inttoptr i64 %storemerge8.in.in to i64*
%storemerge8 = load i64, i64* %storemerge8.in, align 8
%66 = icmp eq i64 %storemerge8, 0
%67 = icmp eq i1 %66, false
store i64 %rdi.329.reload, i64* %rdi.2.reg2mem
br i1 %67, label LBL_9.dec_label_pc_4012b6_crit_edge, label LBL_23
LBL_10:
%.phi.trans.insert = inttoptr i64 %storemerge8 to i32*
%.pre38 = load i32, i32* %.phi.trans.insert, align 4
%68 = icmp eq i32 %.pre38, %37
store i64 %storemerge8, i64* %storemerge72046.reg2mem
store i64 %storemerge8, i64* %sv_1.0.reg2mem
br i1 %68, label LBL_11, label LBL_9
LBL_11:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%69 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %13)
%70 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %14)
%71 = icmp eq i64 %storemerge919.reload, 0
store i64 %sv_1.0.reload, i64* %rdi.2.reg2mem
br i1 %71, label LBL_23, label LBL_12
LBL_12:
%72 = and i64 %43, 4294967295
%73 = trunc i64 %70 to i32
%74 = trunc i64 %69 to i32
%75 = and i64 %69, 4294967295
%sext = mul i64 %32, 4294967296
%76 = ashr exact i64 %sext, 29
%77 = or i64 %76, 4
%78 = sub i32 %73, %74
%79 = icmp eq i64 %72, 0
store i64 %storemerge919.reload, i64* %sv_0.02248.reg2mem
store i32 0, i32* %storemerge52747.reg2mem
store i64 %sv_1.0.reload, i64* %rdi.2.reg2mem
br i1 %79, label LBL_23, label LBL_13
LBL_13:
%storemerge52747.reload = load i32, i32* %storemerge52747.reg2mem
%sv_0.02248.reload = load i64, i64* %sv_0.02248.reg2mem
%80 = call i64 @FUNC(i64 %sv_0.02248.reload, i64 %75)
%81 = trunc i64 %80 to i32
%82 = icmp eq i32 %storemerge52747.reload, 0
%83 = icmp eq i1 %82, false
br i1 %83, label LBL_13.LBL_16_crit_edge, label LBL_15
LBL_14:
%.pre39 = inttoptr i64 %sv_0.02248.reload to i32*
store i32* %.pre39, i32** %.pre-phi.reg2mem
br label LBL_16
LBL_15:
%84 = load i64, i64* %16, align 8
%85 = inttoptr i64 %84 to i64*
%86 = load i64, i64* %85, align 8
%87 = add i64 %86, %76
%88 = inttoptr i64 %sv_0.02248.reload to i32*
%89 = load i32, i32* %88, align 4
%90 = inttoptr i64 %87 to i32*
store i32 %89, i32* %90, align 4
%91 = load i64, i64* %16, align 8
%92 = inttoptr i64 %91 to i64*
%93 = load i64, i64* %92, align 8
%94 = add i64 %93, %77
%95 = inttoptr i64 %94 to i32*
store i32 %81, i32* %95, align 4
store i32* %88, i32** %.pre-phi.reg2mem
br label LBL_16
LBL_16:
%.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem
%96 = load i32, i32* %.pre-phi.reload, align 4
%97 = icmp eq i32 %96, %37
store i64 %sv_0.02248.reload, i64* %rdi.0.reg2mem
br i1 %97, label LBL_22, label LBL_17
LBL_17:
%98 = zext i32 %96 to i64
%99 = load i64, i64* %18, align 8
%100 = and i64 %80, 4294967295
store i64 %100, i64* %20, align 8
store i64 %98, i64* %22, align 8
store i64 0, i64* %24, align 8
%sext12 = mul i64 %80, 4294967296
%101 = ashr exact i64 %sext12, 32
%102 = call i64 @FUNC(i64 %99, i64 %40, i64 %46, i64* nonnull %25, i64 0, i64 0, i64 %101)
store i64 %102, i64* %18, align 8
%103 = load i32*, i32** %sv_2, align 8
store i32 %36, i32* %103, align 4
%104 = load i32*, i32** %sv_2, align 8
%105 = ptrtoint i32* %104 to i64
%106 = add i64 %105, 4
%107 = inttoptr i64 %106 to i32*
%108 = load i32*, i32** %sv_2, align 8
%109 = ptrtoint i32* %108 to i64
%110 = add i32 %78, %81
%111 = add i64 %109, 20
%112 = inttoptr i64 %111 to i32*
store i32 %110, i32* %112, align 4
%113 = icmp slt i32 %81, 1
store i64 %99, i64* %rdi.0.reg2mem
br i1 %113, label LBL_22, label LBL_18
LBL_18:
%114 = load i32*, i32** %sv_2, align 8
%115 = ptrtoint i32* %114 to i64
%116 = add i64 %115, 20
%117 = inttoptr i64 %116 to i32*
%118 = load i32, i32* %117, align 4
%119 = add i64 %sv_0.02248.reload, 4
%120 = inttoptr i64 %119 to i32*
%121 = load i32, i32* %120, align 4
%122 = icmp ult i32 %118, %121
store i64 %99, i64* %rdi.0.reg2mem
br i1 %122, label LBL_19, label LBL_22
LBL_19:
%123 = add i64 %sv_0.02248.reload, 8
%124 = inttoptr i64 %123 to i64*
%125 = load i64, i64* %124, align 8
%126 = add nsw i64 %101, -1
%127 = add i64 %126, %125
%128 = inttoptr i64 %127 to i8*
store i8 91, i8* %128, align 1
%129 = load i64, i64* %124, align 8
%130 = load i32*, i32** %sv_2, align 8
%131 = ptrtoint i32* %130 to i64
%132 = add i64 %131, 20
%133 = inttoptr i64 %132 to i32*
%134 = load i32, i32* %133, align 4
%135 = sext i32 %134 to i64
%136 = add i64 %129, %135
%137 = inttoptr i64 %136 to i8*
store i8 93, i8* %137, align 1
%138 = load i32*, i32** %sv_2, align 8
%139 = ptrtoint i32* %138 to i64
%140 = add i64 %139, 20
%141 = inttoptr i64 %140 to i32*
%142 = load i32, i32* %141, align 4
%143 = zext i32 %142 to i64
%144 = icmp slt i64 %101, %143
store i64 %99, i64* %rdi.0.reg2mem
br i1 %144, label LBL_20, label LBL_22
LBL_20:
%145 = add i64 %sv_0.02248.reload, 16
%146 = inttoptr i64 %145 to i64*
store i64 %101, i64* %.reg2mem57
store i32 %81, i32* %storemerge621.reg2mem
br label LBL_21
LBL_21:
%storemerge621.reload = load i32, i32* %storemerge621.reg2mem
%.reload58 = load i64, i64* %.reg2mem57
%147 = load i64, i64* %146, align 8
%148 = add i64 %147, %.reload58
%149 = inttoptr i64 %148 to i8*
%150 = load i8, i8* %149, align 1
%151 = or i8 %150, 1
store i8 %151, i8* %149, align 1
%152 = add i32 %storemerge621.reload, 1
%153 = load i32*, i32** %sv_2, align 8
%154 = ptrtoint i32* %153 to i64
%155 = add i64 %154, 20
%156 = inttoptr i64 %155 to i32*
%157 = load i32, i32* %156, align 4
%158 = zext i32 %157 to i64
%159 = sext i32 %152 to i64
%160 = icmp slt i64 %159, %158
store i64 %159, i64* %.reg2mem57
store i32 %152, i32* %storemerge621.reg2mem
store i64 %99, i64* %rdi.0.reg2mem
br i1 %160, label LBL_21, label LBL_22
LBL_22:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%161 = add i64 %sv_0.02248.reload, 24
%162 = inttoptr i64 %161 to i64*
%163 = load i64, i64* %162, align 8
%164 = add i32 %storemerge52747.reload, 1
%165 = icmp ne i64 %163, 0
%166 = sext i32 %164 to i64
%167 = icmp sgt i64 %72, %166
%or.cond = icmp eq i1 %165, %167
store i64 %163, i64* %sv_0.02248.reg2mem
store i32 %164, i32* %storemerge52747.reg2mem
store i64 %rdi.0.reload, i64* %rdi.2.reg2mem
br i1 %or.cond, label LBL_13, label LBL_23
LBL_23:
%168 = add i32 %storemerge31.reload, 1
%169 = load i32, i32* %12, align 8
%170 = zext i32 %169 to i64
%171 = sext i32 %168 to i64
%172 = icmp slt i64 %171, %170
store i64 %170, i64* %rax.0.reg2mem
br i1 %172, label LBL_23.LBL_3_crit_edge, label LBL_25
LBL_24:
%rdi.2.reload = load i64, i64* %rdi.2.reg2mem
%.pre = load i64, i64* %sv_3, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %171, i64* %.reg2mem55
store i32 %168, i32* %storemerge31.reg2mem
store i64 %rdi.2.reload, i64* %rdi.329.reg2mem
br label LBL_3
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %96, { 1, 0 }
uselistorder i32 %81, { 0, 3, 1, 2 }
uselistorder i64 %sv_0.02248.reload, { 2, 3, 5, 4, 0, 7, 1, 6 }
uselistorder i32 %storemerge52747.reload, { 1, 0 }
uselistorder i64 %storemerge919.reload, { 0, 6, 2, 5, 1, 3, 4 }
uselistorder i32 %36, { 1, 0 }
uselistorder i64 %30, { 4, 3, 2, 1, 0 }
uselistorder i64 %rdi.329.reload, { 1, 2, 0, 3, 4, 5 }
uselistorder i64 %11, { 2, 1, 0 }
uselistorder i64 %10, { 0, 2, 1 }
uselistorder i64* %sv_3, { 0, 2, 1 }
uselistorder i32** %sv_2, { 6, 0, 5, 4, 3, 2, 1, 7 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem55, { 1, 0, 2 }
uselistorder i32* %storemerge31.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.329.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge919.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge72046.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.02248.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge52747.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem57, { 1, 0, 2 }
uselistorder i32* %storemerge621.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.2.reg2mem, { 0, 3, 4, 6, 2, 5, 1, 7 }
uselistorder i32* %1, { 2, 1, 0 }
uselistorder i64 20, { 1, 0, 2, 3, 4 }
uselistorder i64 4, { 1, 2, 0 }
uselistorder i64 (i64, i64)* @COLPOS, { 1, 0 }
uselistorder i1 false, { 2, 3, 1, 4, 5, 0 }
uselistorder i64 32, { 1, 0, 2 }
uselistorder i64 24, { 1, 0, 2, 3 }
uselistorder i64 8, { 0, 2, 3, 1 }
uselistorder i32 0, { 2, 0, 1, 3 }
uselistorder label LBL_25, { 0, 2, 1 }
uselistorder label LBL_23, { 0, 3, 6, 2, 5, 1, 4 }
uselistorder label LBL_22, { 0, 1, 3, 2, 4 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | encode_close_14303 | encode_close | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %1)
br label LBL_2
LBL_2:
ret i64 0
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
} | 1 |
BinRealVul | kvm_create_vm_10124 | kvm_create_vm | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%indvars.iv4.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_15
LBL_1:
%3 = call i64 @FUNC(i64 %0, i64 %arg1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 %3, i64* %sv_0.2.reg2mem
br i1 %6, label LBL_12, label LBL_2
LBL_2:
%7 = call i64 @FUNC()
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 %7, i64* %sv_0.2.reg2mem
br i1 %10, label LBL_12, label LBL_3
LBL_3:
%11 = call i64 @FUNC(i64 0, i64 0)
%12 = inttoptr i64 %0 to i64*
store i64 %11, i64* %12, align 8
%13 = icmp eq i64 %11, 0
store i64 -12, i64* %sv_0.1.reg2mem
br i1 %13, label LBL_11, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 %0)
%15 = add i64 %0, 152
%16 = call i64 @FUNC(i64 %15)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
store i64 -12, i64* %sv_0.1.reg2mem
br i1 %19, label LBL_11, label LBL_5
LBL_5:
%20 = add i64 %0, 8
store i64 0, i64* %indvars.iv4.reg2mem
br label LBL_6
LBL_6:
%indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem
%21 = call i64 @FUNC(i64 0, i64 0)
%22 = mul i64 %indvars.iv4.reload, 8
%23 = add i64 %20, %22
%24 = inttoptr i64 %23 to i64*
store i64 %21, i64* %24, align 8
%25 = icmp eq i64 %21, 0
store i64 -12, i64* %sv_0.0.reg2mem
br i1 %25, label LBL_10, label LBL_7
LBL_7:
%indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1
%26 = icmp ult i64 %indvars.iv.next5, 16
store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem
br i1 %26, label LBL_6, label LBL_8
LBL_8:
%27 = add i64 %0, 192
%28 = call i64 @FUNC(i64 %27)
%29 = load i64, i64* @gv_0, align 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = add i64 %0, 144
%33 = inttoptr i64 %32 to i64*
store i64 %31, i64* %33, align 8
%34 = call i64 @FUNC(i64 %31)
%35 = call i64 @FUNC(i64 %0)
%36 = add i64 %0, 160
%37 = call i64 @FUNC(i64 %36)
%38 = add i64 %0, 168
%39 = call i64 @FUNC(i64 %38)
%40 = add i64 %0, 176
%41 = call i64 @FUNC(i64 %40)
%42 = add i64 %0, 136
%43 = call i64 @FUNC(i64 %42, i64 1)
%44 = call i64 @FUNC(i64 %0)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
%47 = icmp eq i1 %46, false
store i64 %44, i64* %sv_0.0.reg2mem
br i1 %47, label LBL_10, label LBL_9
LBL_9:
%48 = call i64 @FUNC(i64* nonnull @gv_1)
%49 = add i64 %0, 184
%50 = call i64 @FUNC(i64 %49, i64* nonnull @gv_2)
%51 = call i64 @FUNC(i64* nonnull @gv_1)
store i64 %0, i64* %rax.0.reg2mem
br label LBL_15
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%52 = call i64 @FUNC(i64 %15)
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_11
LBL_11:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%53 = call i64 @FUNC()
store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem
br label LBL_12
LBL_12:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%54 = add i64 %0, 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_13
LBL_13:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%55 = mul i64 %indvars.iv.reload, 8
%56 = add i64 %54, %55
%57 = inttoptr i64 %56 to i64*
%58 = load i64, i64* %57, align 8
%59 = call i64 @FUNC(i64 %58)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_14, label LBL_13
LBL_14:
%60 = inttoptr i64 %0 to i64*
%61 = load i64, i64* %60, align 8
%62 = call i64 @FUNC(i64 %61)
%63 = call i64 @FUNC(i64 %0)
%sext = mul i64 %sv_0.2.reload, 4294967296
%64 = ashr exact i64 %sext, 32
store i64 %64, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 14, 16, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18 }
uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @mutex_init, { 2, 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i64 8, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @kzalloc, { 1, 0 }
uselistorder i32 1, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 16, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_15, { 1, 2, 0 }
uselistorder label LBL_12, { 2, 0, 1 }
uselistorder label LBL_11, { 2, 0, 1 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | caldav_delete_cal_3887 | caldav_delete_cal | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
store i64 0, i64* %sv_2, align 8
store i64 0, i64* %sv_1, align 8
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_21
LBL_1:
%6 = ptrtoint i64* %arg4 to i64
%7 = ptrtoint i64* %arg2 to i64
%8 = ptrtoint i64* %arg1 to i64
%9 = trunc i64 %3 to i32
%10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%11 = urem i32 %10, 2
%12 = icmp eq i32 %11, 0
%13 = icmp eq i32 %9, 0
%or.cond = or i1 %13, %12
store i32 0, i32* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %8, i64 %7, i64 0, i64 %6, i64* nonnull %sv_2, i64* nonnull %sv_1)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
store i32 %15, i32* %sv_0.0.reg2mem
store i32 %15, i32* %sv_0.1.reg2mem
br i1 %17, label LBL_18, label LBL_3
LBL_3:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%18 = add i64 %6, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = icmp eq i64 %20, 0
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %21, label LBL_18, label LBL_4
LBL_4:
%22 = call i64 @FUNC(i64 %8, i64 %7)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %24, label LBL_18, label LBL_5
LBL_5:
%25 = load i64, i64* %sv_2, align 8
%26 = icmp eq i64 %25, 0
%27 = icmp eq i1 %26, false
store i64 %25, i64* %.reg2mem
br i1 %27, label LBL_7, label LBL_6
LBL_6:
%28 = ptrtoint i64* %arg3 to i64
%29 = call i64 @FUNC(i64 %7, i64 %28, i64* nonnull %sv_1)
store i64 %29, i64* %sv_2, align 8
store i64 %29, i64* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i64, i64* %.reg2mem
%30 = icmp eq i64 %.reload, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_9, label LBL_8
LBL_8:
%32 = trunc i64 %2 to i32
%33 = add i64 %8, 8
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = inttoptr i64 %37 to i8*
call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i8* %38, i32 %32)
store i64 500, i64* %rax.0.reg2mem
br label LBL_21
LBL_9:
%39 = load i64, i64* %sv_1, align 8
%40 = icmp eq i64 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_11, label LBL_10
LBL_10:
%42 = call i64 @FUNC(i64 %8, i64* nonnull %sv_1)
br label LBL_12
LBL_11:
%43 = call i64 @FUNC(i64* nonnull %sv_1, i64 %39)
store i64 0, i64* %sv_1, align 8
br label LBL_12
LBL_12:
%44 = add i64 %8, 8
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = inttoptr i64 %46 to i64*
%48 = load i64, i64* %47, align 8
%49 = call i64 @FUNC(i64 %48)
%50 = load i64, i64* %19, align 8
%51 = call i64 @FUNC(i64* nonnull %sv_1, i64 %50, i64 0)
%52 = trunc i64 %51 to i32
%53 = icmp slt i32 %52, 0
br i1 %53, label LBL_14, label LBL_13
LBL_13:
%54 = load i64, i64* %sv_2, align 8
%55 = load i64, i64* %19, align 8
%56 = call i64 @FUNC(i64 %49, i64 %55, i64 %54, i64 0)
br label LBL_17
LBL_14:
%57 = add i64 %8, 16
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label LBL_16, label LBL_15
LBL_15:
%62 = inttoptr i64 %60 to i64*
%63 = load i64, i64* %62, align 8
%64 = inttoptr i64 %63 to i8*
%65 = call i32 @strcasecmp(i8* %64, i8* inttoptr (i64 4202603 to i8*))
%66 = icmp eq i32 %65, 0
br i1 %66, label LBL_17, label LBL_16
LBL_16:
%67 = load i64, i64* %sv_2, align 8
%68 = call i64 @FUNC(i64* nonnull %sv_1, i64 0)
%sext = mul i64 %68, 4294967296
%69 = ashr exact i64 %sext, 32
%70 = call i64 @FUNC(i64 %49, i64 %69, i64 %67, i64 0)
br label LBL_17
LBL_17:
%71 = inttoptr i64 %49 to i64*
call void @free(i64* %71)
%72 = call i64 @FUNC(i64* nonnull %sv_1)
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br label LBL_18
LBL_18:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%73 = load i64, i64* %sv_2, align 8
%74 = icmp eq i64 %73, 0
br i1 %74, label LBL_20, label LBL_19
LBL_19:
%75 = call i64 @FUNC(i64 %73)
br label LBL_20
LBL_20:
%76 = load i64, i64* %sv_1, align 8
%77 = inttoptr i64 %76 to i64*
call void @free(i64* %77)
%78 = call i64 @FUNC(i64* nonnull %sv_2)
%79 = zext i32 %sv_0.1.reload to i64
store i64 %79, i64* %rax.0.reg2mem
br label LBL_21
LBL_21:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %49, { 1, 2, 0 }
uselistorder i64 %8, { 3, 4, 2, 1, 5, 0 }
uselistorder i64 %7, { 1, 2, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64* %sv_2, { 0, 2, 3, 4, 5, 6, 1, 7 }
uselistorder i64* %sv_1, { 7, 0, 1, 2, 8, 3, 4, 9, 5, 6, 10 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6, 7 }
uselistorder i64 0, { 19, 9, 10, 20, 5, 6, 11, 12, 16, 21, 7, 8, 22, 23, 24, 13, 0, 17, 18, 1, 2, 3, 4, 14, 15 }
uselistorder label LBL_21, { 1, 2, 0 }
uselistorder label LBL_18, { 3, 1, 0, 2 }
} | 0 |
BinRealVul | visit_end_list_14336 | visit_end_list | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(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:
call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%4 = ptrtoint i64* %arg1 to i64
ret i64 %4
} | 1 |
BinRealVul | tls1_mac_7631 | tls1_mac | define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i32
%.reg2mem = alloca i64
%storemerge211.reg2mem = alloca i32
%storemerge312.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge6.in.reg2mem = alloca i64*
%rsi.1.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge8.in.in.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%0 = icmp eq i32 %arg4, 0
%1 = ptrtoint i32* %arg1 to i64
%2 = add i64 %1, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = add i64 %1, 8
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %1, 16
store i64 %6, i64* %sv_1.0.reg2mem
store i64 %7, i64* %storemerge8.in.in.reg2mem
br label LBL_3
LBL_2:
%8 = call i64 @FUNC(i64 %5)
%9 = add i64 %1, 24
store i64 %8, i64* %sv_1.0.reg2mem
store i64 %9, i64* %storemerge8.in.in.reg2mem
br label LBL_3
LBL_3:
%storemerge8.in.in.reload = load i64, i64* %storemerge8.in.in.reg2mem
%storemerge8.in = inttoptr i64 %storemerge8.in.in.reload to i64*
%storemerge8 = load i64, i64* %storemerge8.in, align 8
%10 = call i64 @FUNC(i64 %storemerge8)
%11 = icmp sgt i64 %10, -1
%12 = zext i1 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_4, label LBL_33
LBL_4:
%17 = ptrtoint i64* %arg2 to i64
%storemerge9.in.v = select i1 %0, i32 2, i32 1
%storemerge9.in = and i32 %4, %storemerge9.in.v
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sext = mul i64 %10, 4294967296
%18 = ashr exact i64 %sext, 32
store i64 %18, i64* %sv_4, align 8
%19 = icmp eq i32 %storemerge9.in, 0
store i64 0, i64* %sv_0.0.reg2mem
store i64 %17, i64* %rsi.0.reg2mem
store i64 %storemerge8, i64* %storemerge7.reg2mem
br i1 %19, label LBL_5, label LBL_7
LBL_5:
%20 = call i64 @FUNC()
%21 = icmp eq i64 %20, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_33, label LBL_6
LBL_6:
%22 = call i64 @FUNC(i64 %20, i64 %storemerge8)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
store i64 %20, i64* %sv_0.0.reg2mem
store i64 %storemerge8, i64* %rsi.0.reg2mem
store i64 %20, i64* %storemerge7.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %25, label LBL_7, label LBL_33
LBL_7:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%26 = call i64 @FUNC(i64 %1)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label LBL_12, label LBL_8
LBL_8:
br i1 %0, label LBL_10, label LBL_9
LBL_9:
%29 = call i64 @FUNC(i64 %5)
store i64 %29, i64* %storemerge5.reg2mem
br label LBL_11
LBL_10:
%30 = call i64 @FUNC(i64 %5)
store i64 %30, i64* %storemerge5.reg2mem
br label LBL_11
LBL_11:
%31 = ptrtoint i64* %sv_3 to i64
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%32 = and i64 %storemerge5.reload, 4294967295
%33 = call i64 @FUNC(i64 %32, i64 %31)
%34 = add i64 %sv_1.0.reload, 2
%35 = inttoptr i64 %34 to i64*
%36 = call i64* @memcpy(i64* nonnull %sv_3, i64* %35, i32 6)
store i64 %34, i64* %rsi.1.reg2mem
store i64* %sv_3, i64** %storemerge6.in.reg2mem
br label LBL_13
LBL_12:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%37 = inttoptr i64 %sv_1.0.reload to i64*
store i64 %rsi.0.reload, i64* %rsi.1.reg2mem
store i64* %37, i64** %storemerge6.in.reg2mem
br label LBL_13
LBL_13:
%38 = ptrtoint i64* %arg3 to i64
%storemerge6.in.reload = load i64*, i64** %storemerge6.in.reg2mem
%storemerge6 = load i64, i64* %storemerge6.in.reload, align 8
store i64 %storemerge6, i64* %sv_2, align 8
%39 = icmp eq i1 %0, false
br i1 %39, label LBL_19, label LBL_14
LBL_14:
%40 = call i64 @FUNC(i64 %1)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_19, label LBL_15
LBL_15:
%44 = add i64 %1, 32
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = call i64 @FUNC(i64 %46)
%48 = trunc i64 %47 to i32
%49 = icmp eq i32 %48, 1
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_19, label LBL_16
LBL_16:
%51 = call i64 @FUNC(i64 %storemerge7.reload)
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 0
br i1 %53, label LBL_19, label LBL_17
LBL_17:
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%54 = add i64 %17, 8
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = load i64, i64* %sv_4, align 8
%58 = add i64 %57, %56
%59 = call i64 @FUNC(i64 %storemerge7.reload, i64 %38, i64* nonnull %sv_4, i64* nonnull %sv_2, i64 %rsi.1.reload, i64 %58)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, 0
%62 = icmp slt i32 %60, 0
%63 = icmp eq i1 %62, false
%64 = icmp eq i1 %61, false
%65 = icmp eq i1 %63, %64
br i1 %65, label LBL_23, label LBL_18
LBL_18:
%66 = call i64 @FUNC(i64 %sv_0.0.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_33
LBL_19:
%67 = call i64 @FUNC(i64 %storemerge7.reload, i64* nonnull %sv_2, i64 13)
%68 = trunc i64 %67 to i32
%69 = icmp slt i32 %68, 1
br i1 %69, label LBL_22, label LBL_20
LBL_20:
%70 = add i64 %17, 8
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = call i64 @FUNC(i64 %storemerge7.reload, i64* nonnull %sv_2, i64 %72)
%74 = trunc i64 %73 to i32
%75 = icmp slt i32 %74, 1
br i1 %75, label LBL_22, label LBL_21
LBL_21:
%76 = call i64 @FUNC(i64 %storemerge7.reload, i64 %38, i64* nonnull %sv_4)
%77 = trunc i64 %76 to i32
%78 = icmp eq i32 %77, 0
%79 = icmp slt i32 %77, 0
%80 = icmp eq i1 %79, false
%81 = icmp eq i1 %78, false
%82 = icmp eq i1 %80, %81
br i1 %82, label LBL_23, label LBL_22
LBL_22:
%83 = call i64 @FUNC(i64 %sv_0.0.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_33
LBL_23:
%84 = call i64 @FUNC(i64 %sv_0.0.reload)
%85 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%86 = call i32 @fwrite(i64* bitcast ([5 x i8]* @gv_1 to i64*), i32 1, i32 4, %_IO_FILE* %85)
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_24
LBL_24:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%87 = add i64 %indvars.iv.reload, %sv_1.0.reload
%88 = inttoptr i64 %87 to i8*
%89 = load i8, i8* %88, align 1
%90 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%91 = zext i8 %89 to i32
%92 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %90, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %91)
%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_25, label LBL_24
LBL_25:
%93 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%94 = call i32 @fputc(i32 10, %_IO_FILE* %93)
%95 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%96 = call i32 @fwrite(i64* bitcast ([5 x i8]* @gv_3 to i64*), i32 1, i32 4, %_IO_FILE* %95)
%97 = add i64 %17, 8
%98 = inttoptr i64 %97 to i64*
%99 = load i64, i64* %98, align 8
%100 = icmp eq i64 %99, 0
br i1 %100, label LBL_28, label LBL_26
LBL_26:
%101 = add i64 %17, 28
store i64 0, i64* %storemerge312.reg2mem
br label LBL_27
LBL_27:
%storemerge312.reload = load i64, i64* %storemerge312.reg2mem
%102 = add i64 %101, %storemerge312.reload
%103 = inttoptr i64 %102 to i8*
%104 = load i8, i8* %103, align 1
%105 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%106 = zext i8 %104 to i32
%107 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %105, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %106)
%108 = add nuw i64 %storemerge312.reload, 1
%109 = load i64, i64* %98, align 8
%110 = icmp ult i64 %108, %109
store i64 %108, i64* %storemerge312.reg2mem
br i1 %110, label LBL_27, label LBL_28
LBL_28:
%111 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%112 = call i32 @fputc(i32 10, %_IO_FILE* %111)
%113 = call i64 @FUNC(i64 %1)
%114 = trunc i64 %113 to i32
%115 = icmp eq i32 %114, 0
%116 = icmp eq i1 %115, false
store i32 7, i32* %storemerge211.reg2mem
br i1 %116, label LBL_30, label LBL_29
LBL_29:
%storemerge211.reload = load i32, i32* %storemerge211.reg2mem
%117 = sext i32 %storemerge211.reload to i64
%118 = add i64 %sv_1.0.reload, %117
%119 = inttoptr i64 %118 to i8*
%120 = load i8, i8* %119, align 1
%121 = add i8 %120, 1
store i8 %121, i8* %119, align 1
%122 = icmp eq i8 %121, 0
%123 = add i32 %storemerge211.reload, -1
%124 = icmp slt i32 %123, 0
%125 = icmp eq i1 %124, false
%or.cond = icmp eq i1 %122, %125
store i32 %123, i32* %storemerge211.reg2mem
br i1 %or.cond, label LBL_29, label LBL_30
LBL_30:
%126 = load i64, i64* %sv_4, align 8
%127 = icmp eq i64 %126, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge10.reg2mem
br i1 %127, label LBL_32, label LBL_31
LBL_31:
%storemerge10.reload = load i32, i32* %storemerge10.reg2mem
%.reload = load i64, i64* %.reg2mem
%128 = add i64 %.reload, %38
%129 = inttoptr i64 %128 to i8*
%130 = load i8, i8* %129, align 1
%131 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%132 = zext i8 %130 to i32
%133 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %131, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %132)
%134 = add i32 %storemerge10.reload, 1
%135 = zext i32 %134 to i64
%136 = load i64, i64* %sv_4, align 8
%137 = icmp ugt i64 %136, %135
store i64 %135, i64* %.reg2mem
store i32 %134, i32* %storemerge10.reg2mem
br i1 %137, label LBL_31, label LBL_32
LBL_32:
%138 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%139 = call i32 @fputc(i32 10, %_IO_FILE* %138)
store i64 1, i64* %rax.0.reg2mem
br label LBL_33
LBL_33:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge312.reload, { 1, 0 }
uselistorder i64* %98, { 1, 0 }
uselistorder i32 %77, { 1, 0 }
uselistorder i32 %60, { 1, 0 }
uselistorder i64 %38, { 0, 2, 1 }
uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }
uselistorder i64 %storemerge7.reload, { 2, 1, 0, 4, 3 }
uselistorder i64 %sv_1.0.reload, { 3, 2, 0, 1 }
uselistorder i64 %17, { 1, 3, 4, 2, 0 }
uselistorder i64 %storemerge8, { 1, 2, 0, 3 }
uselistorder i64 %5, { 0, 1, 3, 2 }
uselistorder i64 %1, { 2, 0, 1, 3, 5, 6, 4, 7 }
uselistorder i1 %0, { 1, 0, 3, 2 }
uselistorder i64* %sv_4, { 3, 0, 1, 2, 4, 5 }
uselistorder i64* %sv_2, { 0, 2, 3, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge8.in.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }
uselistorder i64** %storemerge6.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge312.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge211.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 2, 1, 3 }
uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 2, 0, 1 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 }
uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), { 2, 1, 0 }
uselistorder %_IO_FILE** @gv_0, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64*, i64)* @EVP_DigestSignUpdate, { 1, 0 }
uselistorder i64 (i64)* @EVP_MD_CTX_free, { 2, 1, 0 }
uselistorder i64 (i64)* @SSL_IS_DTLS, { 1, 0 }
uselistorder i64 32, { 2, 1, 0 }
uselistorder i1 false, { 0, 3, 4, 1, 5, 2, 6, 7, 8, 9, 10 }
uselistorder i64 8, { 1, 0, 2, 3, 4 }
uselistorder i32 0, { 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 2 }
uselistorder label LBL_33, { 3, 4, 5, 1, 0, 2 }
uselistorder label LBL_31, { 1, 0 }
uselistorder label LBL_29, { 1, 0 }
uselistorder label LBL_27, { 1, 0 }
} | 1 |
BinRealVul | create_worker_threads_5714 | create_worker_threads | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge2.reg2mem = alloca i64
%sv_0.019.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i64*
%indvars.iv.reg2mem = alloca i64
%indvars.iv32.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = and i64 %arg1, 4294967295
%4 = mul nuw nsw i64 %3, 208
%5 = call i64 @FUNC(i64 %4, i64 0)
%6 = trunc i64 %arg1 to i32
store i64 0, i64* %indvars.iv32.reg2mem
br label LBL_7
LBL_1:
%7 = mul nuw nsw i64 %indvars.iv32.reload, 208
%8 = add i64 %7, %5
%9 = trunc i64 %indvars.iv32.reload to i32
%10 = add i32 %9, 1
%11 = inttoptr i64 %8 to i32*
store i32 %10, i32* %11, align 4
%12 = add i64 %8, 4
%13 = inttoptr i64 %12 to i32*
store i32 0, i32* %13, align 4
%14 = add i64 %8, 8
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
%16 = add i64 %8, 12
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
%18 = call i64 @FUNC(i64 1088, i64 0)
%19 = add i64 %8, 16
%20 = inttoptr i64 %19 to i64*
store i64 %18, i64* %20, align 8
%21 = add i64 %8, 32
%22 = inttoptr i64 %21 to i64*
%23 = call i32 @pthread_mutex_init(i64* %22, i64* null)
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_14, label LBL_2
LBL_2:
%26 = add i64 %8, 72
%27 = inttoptr i64 %26 to i64*
%28 = call i32 @pthread_cond_init(i64* %27, i64* null)
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_14, label LBL_3
LBL_3:
%31 = add i64 %8, 120
%32 = inttoptr i64 %31 to i64*
%33 = call i32 @pthread_mutex_init(i64* %32, i64* null)
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_14, label LBL_4
LBL_4:
%36 = add i64 %8, 160
%37 = inttoptr i64 %36 to i64*
%38 = call i32 @pthread_cond_init(i64* %37, i64* null)
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_14, label LBL_5
LBL_5:
%41 = call i32 @pthread_mutex_lock(i64* %22)
%42 = add i64 %8, 24
%43 = inttoptr i64 %42 to i32*
%44 = inttoptr i64 %8 to i64*
%45 = call i32 @pthread_create(i32* %43, i64* null, i64* (i64*)* inttoptr (i64 4198894 to i64* (i64*)*), i64* %44)
%46 = icmp eq i32 %45, 0
%indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1
store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem
br i1 %46, label LBL_7, label LBL_6
LBL_6:
%47 = call i32* @__errno_location()
%48 = load i32, i32* %47, align 4
%49 = zext i32 %48 to i64
%50 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %49, i64 4198894, i64 %8, i64 %2, i64 %1)
%51 = call i32 @pthread_mutex_unlock(i64* %22)
br label LBL_14
LBL_7:
%indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem
%52 = icmp ult i64 %indvars.iv32.reload, %3
br i1 %52, label LBL_1, label LBL_8
LBL_8:
%53 = icmp eq i32 %6, 0
store i64 0, i64* %indvars.iv.reg2mem
store i64 %5, i64* %storemerge2.reg2mem
br i1 %53, label LBL_18, label LBL_9
LBL_9:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%54 = mul nuw nsw i64 %indvars.iv.reload, 208
%55 = add i64 %54, %5
%56 = add i64 %55, 4
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = icmp eq i32 %58, 0
%60 = add i64 %55, 32
br i1 %59, label LBL_11, label LBL_9.LBL_13_crit_edge
LBL_10:
%.pre = inttoptr i64 %60 to i64*
store i64* %.pre, i64** %.pre-phi.reg2mem
br label LBL_13
LBL_11:
%61 = add i64 %55, 72
%62 = inttoptr i64 %61 to i64*
%63 = inttoptr i64 %60 to i64*
br label LBL_12
LBL_12:
%64 = call i32 @pthread_cond_wait(i64* %62, i64* %63)
%65 = load i32, i32* %57, align 4
%66 = icmp eq i32 %65, 0
store i64* %63, i64** %.pre-phi.reg2mem
br i1 %66, label LBL_12, label LBL_13
LBL_13:
%.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem
%67 = call i32 @pthread_mutex_unlock(i64* %.pre-phi.reload)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %3
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %5, i64* %storemerge2.reg2mem
br i1 %exitcond, label LBL_18, label LBL_9
LBL_14:
%68 = icmp eq i32 %9, 0
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_15, label LBL_17
LBL_15:
%70 = add i64 %5, 32
store i32 %9, i32* %sv_0.019.reg2mem
br label LBL_16
LBL_16:
%sv_0.019.reload = load i32, i32* %sv_0.019.reg2mem
%71 = add i32 %sv_0.019.reload, -1
%72 = zext i32 %71 to i64
%73 = mul nuw nsw i64 %72, 208
%74 = add i64 %70, %73
%75 = inttoptr i64 %74 to i64*
%76 = call i32 @pthread_mutex_unlock(i64* %75)
%77 = icmp eq i32 %71, 0
%78 = icmp eq i1 %77, false
store i32 %71, i32* %sv_0.019.reg2mem
br i1 %78, label LBL_16, label LBL_17
LBL_17:
%79 = call i64 @FUNC(i64 %5)
store i64 0, i64* %storemerge2.reg2mem
br label LBL_18
LBL_18:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
ret i64 %storemerge2.reload
uselistorder i64 %60, { 1, 0 }
uselistorder i32* %57, { 1, 0 }
uselistorder i64 %55, { 1, 2, 0 }
uselistorder i64 %indvars.iv32.reload, { 1, 3, 2, 0 }
uselistorder i64 %8, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11 }
uselistorder i64 %5, { 4, 5, 0, 3, 1, 2 }
uselistorder i64* %indvars.iv32.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.019.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge2.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 (i64*)* @pthread_mutex_unlock, { 2, 1, 0 }
uselistorder i32 (i64*, i64*)* @pthread_cond_init, { 1, 0 }
uselistorder i32 0, { 3, 2, 4, 1, 0, 5, 6, 7, 8, 9, 10, 11, 12 }
uselistorder i64 (i64, i64)* @my_malloc, { 1, 0 }
uselistorder i64 208, { 0, 2, 1, 3 }
uselistorder label LBL_18, { 2, 0, 1 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 4, 0, 1, 3, 2 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 0 |
BinRealVul | NsInitDrivers_10815 | NsInitDrivers | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))
%1 = trunc i64 %0 to i32
store i32 %1, i32* bitcast (i64* @gv_1 to i32*), align 8
%2 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
%3 = trunc i64 %2 to i32
store i32 %3, i32* bitcast (i64* @gv_3 to i32*), align 8
%4 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0))
%5 = trunc i64 %4 to i32
store i32 %5, i32* bitcast (i64* @gv_5 to i32*), align 8
%6 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0))
%7 = trunc i64 %6 to i32
store i32 %7, i32* bitcast (i64* @gv_7 to i32*), align 8
%8 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0))
%9 = trunc i64 %8 to i32
store i32 %9, i32* bitcast (i64* @gv_9 to i32*), align 8
%10 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_10, i64 0, i64 0))
%11 = trunc i64 %10 to i32
store i32 %11, i32* bitcast (i64* @gv_11 to i32*), align 8
%12 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_12, i64 0, i64 0))
%13 = trunc i64 %12 to i32
store i32 %13, i32* bitcast (i64* @gv_13 to i32*), align 8
%14 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_14, i64 0, i64 0))
%15 = trunc i64 %14 to i32
store i32 %15, i32* bitcast (i64* @gv_15 to i32*), align 8
%16 = call i64 @FUNC(i64* nonnull @gv_16)
%17 = call i64 @FUNC(i64* nonnull @gv_17)
%18 = call i64 @FUNC(i64* nonnull @gv_16, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_18, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_19, i64 0, i64 0))
%19 = call i64 @FUNC(i64* nonnull @gv_17, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_20, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_21, i64 0, i64 0))
ret i64 %19
uselistorder i64 (i64*, i8*, i8*)* @Ns_MutexSetName2, { 1, 0 }
uselistorder i64 (i64*)* @Ns_MutexInit, { 1, 0 }
uselistorder i64 (i8*)* @Ns_CreateLogSeverity, { 7, 6, 5, 4, 3, 2, 1, 0 }
} | 0 |
BinRealVul | tipc_accept_8834 | tipc_accept | define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%sv_1 = alloca i64, align 8
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = trunc i64 %1 to i32
%8 = icmp eq i32 %7, 1
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_1, label LBL_9
LBL_1:
%9 = urem i32 %arg3, 2
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %5, i64 %10)
%12 = call i64 @FUNC(i64 %2, i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 %12, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_9, label LBL_2
LBL_2:
%16 = ptrtoint i64* %arg2 to i64
%17 = call i64 @FUNC(i64 %5)
%18 = load i64, i64* %4, align 8
%19 = call i64 @FUNC(i64 %18)
%20 = and i64 %19, 4294967295
%21 = call i64 @FUNC(i64 %20, i64 %16, i64 0, i64 1)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 %21, i64* %sv_0.0.reg2mem
br i1 %24, label LBL_9, label LBL_3
LBL_3:
%25 = add i64 %16, 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = load i64, i64* %4, align 8
%29 = call i64 @FUNC(i64 %28, i64 %27)
%30 = load i64, i64* %26, align 8
%31 = call i64 @FUNC(i64 %30)
%32 = call i64 @FUNC(i64 %17)
%33 = call i64 @FUNC(i64 %30, i64 0)
%34 = call i64 @FUNC(i64 %30)
%35 = call i64 @FUNC(i64 %32)
%36 = call i64 @FUNC(i64 %32)
%37 = and i64 %35, 4294967295
%38 = and i64 %36, 4294967295
%39 = call i64 @FUNC(i64 %31, i64 %38, i64 %37)
%40 = bitcast i64* %arg2 to i32*
store i32 2, i32* %40, align 4
%41 = call i64 @FUNC(i64 %32)
%42 = and i64 %41, 4294967295
%43 = call i64 @FUNC(i64 %31, i64 %42)
%44 = call i64 @FUNC(i64 %32)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_5, label LBL_4
LBL_4:
%47 = inttoptr i64 %31 to i32*
%48 = call i64 @FUNC(i64 %32)
%49 = trunc i64 %48 to i32
store i32 %49, i32* %47, align 4
%50 = call i64 @FUNC(i64 %32)
%51 = trunc i64 %50 to i32
%52 = add i64 %31, 4
%53 = inttoptr i64 %52 to i32*
store i32 %51, i32* %53, align 4
br label LBL_5
LBL_5:
%54 = call i64 @FUNC(i64 %32)
%55 = trunc i64 %54 to i32
%56 = icmp eq i32 %55, 0
%57 = icmp eq i1 %56, false
br i1 %57, label LBL_7, label LBL_6
LBL_6:
store i64 0, i64* %sv_1, align 8
%58 = call i64 @FUNC(i64 %5)
%59 = call i64 @FUNC(i64 %16, i64* nonnull %sv_1, i64 0)
br label LBL_8
LBL_7:
%60 = call i64 @FUNC(i64 %5)
%61 = call i64 @FUNC(i64 %30, i64 %17)
%62 = call i64 @FUNC(i64 %17, i64 %30)
br label LBL_8
LBL_8:
%63 = call i64 @FUNC(i64 %30)
store i64 %21, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%64 = call i64 @FUNC(i64 %5)
%65 = and i64 %sv_0.0.reload, 4294967295
ret i64 %65
uselistorder i64 %32, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder i64 %30, { 0, 2, 1, 3, 4, 5 }
uselistorder i64 %17, { 1, 0, 2 }
uselistorder i64 %5, { 3, 1, 0, 2, 4, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64 (i64)* @release_sock, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_9, { 3, 1, 2, 0 }
} | 0 |
BinRealVul | visit_type_any_15099 | visit_type_any | define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
ret i64 %0
} | 1 |
BinRealVul | update_thread_context_8106 | update_thread_context | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, %arg2
%1 = icmp eq i1 %0, false
store i64 0, i64* %rax.0.shrunk.reg2mem
br i1 %1, label LBL_1, label LBL_9
LBL_1:
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 %3)
%5 = icmp eq i64* %arg1, null
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %3, i64 %2)
%7 = trunc i64 %6 to i32
%8 = icmp slt i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 %6, i64* %rax.0.shrunk.reg2mem
br i1 %9, label LBL_3, label LBL_9
LBL_3:
%10 = add i64 %3, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 1
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_8, label LBL_4
LBL_4:
%15 = add i64 %2, 24
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %3, 24
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = add i64 %2, 28
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %3, 28
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = add i64 %2, 32
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %3, 32
%29 = inttoptr i64 %28 to i32*
store i32 %27, i32* %29, align 4
%30 = add i64 %2, 36
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = add i64 %3, 36
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = add i64 %2, 40
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i64 %3, 40
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = add i64 %2, 44
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = add i64 %3, 44
%44 = inttoptr i64 %43 to i32*
store i32 %42, i32* %44, align 4
%45 = add i64 %2, 48
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i64 %3, 48
%49 = inttoptr i64 %48 to i32*
store i32 %47, i32* %49, align 4
%50 = add i64 %2, 52
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = add i64 %3, 52
%54 = inttoptr i64 %53 to i32*
store i32 %52, i32* %54, align 4
%55 = add i64 %2, 56
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = add i64 %3, 56
%59 = inttoptr i64 %58 to i32*
store i32 %57, i32* %59, align 4
%60 = add i64 %2, 60
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = add i64 %3, 60
%64 = inttoptr i64 %63 to i32*
store i32 %62, i32* %64, align 4
%65 = add i64 %2, 64
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = add i64 %3, 64
%69 = inttoptr i64 %68 to i32*
store i32 %67, i32* %69, align 4
%70 = add i64 %2, 68
%71 = inttoptr i64 %70 to i32*
%72 = load i32, i32* %71, align 4
%73 = add i64 %3, 68
%74 = inttoptr i64 %73 to i32*
store i32 %72, i32* %74, align 4
%75 = add i64 %2, 80
%76 = add i64 %3, 80
%77 = inttoptr i64 %76 to i64*
%78 = inttoptr i64 %75 to i64*
%79 = call i64* @memcpy(i64* %77, i64* %78, i32 12)
%80 = add i64 %2, 72
%81 = inttoptr i64 %80 to i32*
%82 = load i32, i32* %81, align 4
%83 = add i64 %3, 72
%84 = inttoptr i64 %83 to i32*
store i32 %82, i32* %84, align 4
%85 = add i64 %2, 92
%86 = add i64 %3, 92
%87 = inttoptr i64 %86 to i64*
%88 = inttoptr i64 %85 to i64*
%89 = call i64* @memcpy(i64* %87, i64* %88, i32 1024)
%90 = add i64 %3, 76
%91 = inttoptr i64 %90 to i32*
%92 = load i32, i32* %91, align 4
%93 = add i64 %2, 76
%94 = inttoptr i64 %93 to i32*
%95 = load i32, i32* %94, align 4
%96 = urem i32 %95, 4
%97 = or i32 %96, %92
store i32 %97, i32* %91, align 4
%98 = call i64 @FUNC(i64 %3, i64 %10)
%99 = add i64 %2, 8
%100 = inttoptr i64 %99 to i64*
%101 = load i64, i64* %100, align 8
%102 = inttoptr i64 %101 to i64*
%103 = load i64, i64* %102, align 8
%104 = icmp eq i64 %103, 0
br i1 %104, label LBL_6, label LBL_5
LBL_5:
%105 = call i64 @FUNC(i64 %10, i64 %99)
%106 = trunc i64 %105 to i32
%107 = icmp slt i32 %106, 0
%108 = icmp eq i1 %107, false
store i64 %105, i64* %rax.0.shrunk.reg2mem
br i1 %108, label LBL_6, label LBL_9
LBL_6:
%109 = add i64 %3, 16
%110 = call i64 @FUNC(i64 %3, i64 %109)
%111 = add i64 %2, 16
%112 = inttoptr i64 %111 to i64*
%113 = load i64, i64* %112, align 8
%114 = inttoptr i64 %113 to i64*
%115 = load i64, i64* %114, align 8
%116 = icmp eq i64 %115, 0
br i1 %116, label LBL_8, label LBL_7
LBL_7:
%117 = call i64 @FUNC(i64 %109, i64 %111)
%118 = trunc i64 %117 to i32
%119 = icmp slt i32 %118, 0
%120 = icmp eq i1 %119, false
store i64 %117, i64* %rax.0.shrunk.reg2mem
br i1 %120, label LBL_8, label LBL_9
LBL_8:
store i64 0, i64* %rax.0.shrunk.reg2mem
br label LBL_9
LBL_9:
%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 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 0, 22, 21 }
uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64 (i64, i64)* @ff_thread_ref_frame, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @ff_thread_release_buffer, { 2, 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_9, { 4, 0, 1, 2, 3 }
} | 0 |
BinRealVul | dec_sr_2494 | dec_sr | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 1
%6 = icmp eq i1 %5, false
%7 = ptrtoint i32* %arg1 to i64
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%8 = add i64 %7, 16
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %7, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = add i64 %7, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = zext i32 %16 to i64
%18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %13, i32 %10, i64 %2, i64 %1)
br label LBL_3
LBL_2:
%19 = add i64 %7, 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = add i64 %7, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %7, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = zext i32 %27 to i64
%29 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %24, i32 %21, i64 %2, i64 %1)
br label LBL_3
LBL_3:
%30 = add i64 %7, 24
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = urem i32 %34, 2
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
%or.cond = or i1 %5, %37
br i1 %or.cond, label LBL_6, label LBL_4
LBL_4:
%38 = add i64 %7, 16
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label LBL_6, label LBL_5
LBL_5:
%42 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0))
store i64 %42, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
br i1 %6, label LBL_8, label LBL_7
LBL_7:
%43 = add i64 %7, 16
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = add i64 %7, 4
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = sext i32 %48 to i64
%50 = mul i64 %49, 4
%51 = add i64 %50, ptrtoint (i32** @gv_3 to i64)
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = add i64 %7, 8
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 4
%59 = add i64 %58, ptrtoint (i32** @gv_3 to i64)
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = zext i32 %53 to i64
%63 = zext i32 %61 to i64
%64 = call i64 @FUNC(i64 %63, i64 %62, i32 %45)
store i64 %64, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%65 = call i64 @FUNC()
%66 = trunc i64 %65 to i32
%67 = add i64 %7, 8
%68 = inttoptr i64 %67 to i32*
%69 = load i32, i32* %68, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 4
%72 = add i64 %71, ptrtoint (i32** @gv_3 to i64)
%73 = inttoptr i64 %72 to i32*
%74 = load i32, i32* %73, align 4
%75 = zext i32 %74 to i64
%76 = and i64 %65, 4294967295
%77 = call i64 @FUNC(i64 %76, i64 %75, i64 31)
%78 = add i64 %7, 4
%79 = inttoptr i64 %78 to i32*
%80 = load i32, i32* %79, align 4
%81 = sext i32 %80 to i64
%82 = mul i64 %81, 4
%83 = add i64 %82, ptrtoint (i32** @gv_3 to i64)
%84 = inttoptr i64 %83 to i32*
%85 = load i32, i32* %84, align 4
%86 = add i64 %7, 12
%87 = inttoptr i64 %86 to i32*
%88 = load i32, i32* %87, align 4
%89 = sext i32 %88 to i64
%90 = mul i64 %89, 4
%91 = add i64 %90, ptrtoint (i32** @gv_3 to i64)
%92 = inttoptr i64 %91 to i32*
%93 = load i32, i32* %92, align 4
%94 = zext i32 %85 to i64
%95 = zext i32 %93 to i64
%96 = call i64 @FUNC(i64 %95, i64 %94, i32 %66)
%97 = call i64 @FUNC(i64 %76)
store i64 %97, 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 %7, { 4, 3, 5, 2, 1, 0, 7, 6, 10, 11, 13, 8, 9, 12 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @LOG_DIS, { 1, 0 }
uselistorder i64 4, { 0, 1, 5, 2, 3, 4, 6, 7, 8 }
} | 0 |
BinRealVul | tcp_done_8526 | tcp_done | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC(i64 %arg1)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = trunc i64 %1 to i32
%6 = icmp ne i32 %5, 1
%7 = icmp eq i32 %5, 2
%8 = icmp eq i1 %7, false
%or.cond = icmp eq i1 %6, %8
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %arg1)
%10 = and i64 %9, 4294967295
%11 = call i64 @FUNC(i64 %10, i64 0)
br label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %arg1, i64 3)
%13 = call i64 @FUNC(i64 %arg1)
%14 = icmp eq i64 %4, 0
br i1 %14, label LBL_4, label LBL_3
LBL_3:
%15 = call i64 @FUNC(i64 %arg1, i64 %4, i64 0)
br label LBL_4
LBL_4:
%16 = add i64 %arg1, 4
%17 = inttoptr i64 %16 to i32*
store i32 255, i32* %17, align 4
%18 = call i64 @FUNC(i64 %arg1, i64 1)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
store i64 %arg1, i64* %storemerge.reg2mem
br i1 %21, label LBL_5, label LBL_6
LBL_5:
%22 = call i64 @FUNC(i64 %arg1)
store i64 %22, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %5, { 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i64 %arg1, { 2, 0, 3, 4, 1, 6, 5, 7, 8 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | open_log_file_13380 | open_log_file | define i64 @FUNC(i8* %arg1, i8* %arg2, i8* %arg3, i8* %arg4) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%rax.0.reg2mem = alloca i64
%0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%1 = ptrtoint %_IO_FILE* %0 to i64
%2 = icmp eq %_IO_FILE* %0, null
store i64 %1, i64* %rax.0.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i32 @fclose(%_IO_FILE* nonnull %0)
%4 = sext i32 %3 to i64
store %_IO_FILE* null, %_IO_FILE** @gv_0, align 8
store i64 %4, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%5 = icmp eq i8* %arg1, null
store i64 %rax.0.reload, i64* %rax.1.reg2mem
br i1 %5, label LBL_6, label LBL_3
LBL_3:
%6 = ptrtoint i8* %arg4 to i64
%7 = ptrtoint i8* %arg3 to i64
%8 = ptrtoint i8* %arg2 to i64
%9 = ptrtoint i8* %arg1 to i64
%10 = call i64 @FUNC(i64 %9, i64 %8, i64 %7, i64 %6)
%11 = call i64 @FUNC(i64 %10, i64* nonnull @gv_1)
%12 = inttoptr i64 %11 to %_IO_FILE*
store %_IO_FILE* %12, %_IO_FILE** @gv_0, align 8
%13 = icmp eq i64 %11, 0
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i32 @fileno(%_IO_FILE* %12)
%15 = call i32 (i32, i32, ...) @fcntl(i32 %14, i32 1)
%16 = call i32 (i32, i32, ...) @fcntl(i32 %14, i32 2)
%17 = call i32 (i32, i32, ...) @fcntl(i32 %14, i32 3)
%18 = call i32 (i32, i32, ...) @fcntl(i32 %14, i32 4)
br label LBL_5
LBL_5:
%19 = call i64 @FUNC(i64 %10)
store i64 %19, i64* %rax.1.reg2mem
br label LBL_6
LBL_6:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 (i32, i32, ...)* @fcntl, { 3, 2, 1, 0 }
uselistorder %_IO_FILE* null, { 1, 0, 2 }
uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder i8* %arg1, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | fuse_dev_fasync_6192 | fuse_dev_fasync | define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = and i64 %arg1, 4294967295
%5 = inttoptr i64 %1 to i64*
%6 = load i64, i64* %5, align 8
%7 = trunc i64 %arg3 to i32
%8 = call i64 @FUNC(i64 %4, i64 %0, i32 %7, i64 %6)
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* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | kvm_create_vcpu_debugfs_10676 | kvm_create_vcpu_debugfs | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = call i64 @FUNC()
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_5
LBL_1:
%6 = call i64 @FUNC()
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_2, label LBL_5
LBL_2:
%10 = ptrtoint i64* %arg1 to i64
%11 = and i64 %1, 4294967295
%12 = bitcast i64* %sv_0 to i8*
%13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %12, i32 40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %11)
%14 = add i64 %10, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64* nonnull %sv_0, i64 %18)
%20 = add i64 %10, 16
%21 = inttoptr i64 %20 to i64*
store i64 %19, i64* %21, align 8
%22 = icmp eq i64 %19, 0
%23 = icmp eq i1 %22, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %23, label LBL_3, label LBL_5
LBL_3:
%24 = call i64 @FUNC(i64 %10)
%25 = trunc i64 %24 to i32
%26 = icmp slt i32 %25, 0
%27 = icmp eq i1 %26, false
store i64 0, i64* %rax.0.reg2mem
br i1 %27, label LBL_5, label LBL_4
LBL_4:
%28 = load i64, i64* %21, align 8
%29 = call i64 @FUNC(i64 %28)
%30 = and i64 %24, 4294967295
store i64 %30, 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, 5, 1, 2, 3, 4 }
uselistorder label LBL_5, { 4, 0, 1, 2, 3 }
} | 0 |
BinRealVul | parse_numa_2836 | parse_numa | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32*, align 8
store i32* null, i32** %sv_1, align 8
store i64 0, i64* %sv_0, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = bitcast i32** %sv_1 to i64*
%3 = call i64 @FUNC(i64 %1, i64 0, i64* nonnull %2, i64* nonnull %sv_0)
%4 = call i64 @FUNC(i64 %1)
%5 = load i64, i64* %sv_0, align 8
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_5, label LBL_1
LBL_1:
%8 = load i32*, i32** %sv_1, align 8
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%12 = ptrtoint i32* %8 to i64
%13 = add i64 %12, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 %15, i64 %0, i64* nonnull %sv_0)
%17 = load i64, i64* %sv_0, align 8
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_5, label LBL_3
LBL_3:
store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8
br label LBL_5
LBL_4:
call void @abort()
unreachable
LBL_5:
%20 = load i32*, i32** %sv_1, align 8
%21 = ptrtoint i32* %20 to i64
%22 = call i64 @FUNC(i64 %21)
%23 = load i64, i64* %sv_0, align 8
%24 = icmp eq i64 %23, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %24, label LBL_7, label LBL_6
LBL_6:
%25 = call i64 @FUNC(i64 %23)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32** %sv_1, { 2, 1, 3, 0 }
uselistorder i64* %sv_0, { 2, 3, 0, 4, 1, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_5, { 2, 0, 1 }
} | 0 |
BinRealVul | decode0_3316 | decode0 | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = trunc i64 %arg5 to i32
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_5
LBL_1:
%3 = ptrtoint i64* %arg2 to i64
%4 = and i64 %arg5, 4294967295
%5 = add i64 %3, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = zext i32 %arg3 to i64
%9 = mul i64 %7, %8
%10 = udiv i64 %9, %4
%11 = add i64 %3, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = add i64 %10, 1
%15 = and i64 %14, 4294967295
%16 = add i64 %15, %13
store i64 %16, i64* %12, align 8
%17 = load i64, i64* %6, align 8
%18 = add i32 %arg4, %arg3
%19 = zext i32 %18 to i64
%20 = mul i64 %17, %19
%21 = udiv i64 %20, %4
%22 = sub i64 %21, %15
store i64 %22, i64* %6, align 8
%23 = icmp ult i64 %22, 4294967295
store i64 0, i64* %storemerge.reg2mem
br i1 %23, label LBL_2, label LBL_5
LBL_2:
%24 = ptrtoint i64* %arg1 to i64
%25 = mul i64 %4, 256
br label LBL_4
LBL_3:
%26 = call i64 @FUNC(i64 %24)
%27 = and i64 %26, 4294967295
%28 = or i64 %27, %25
store i64 %28, i64* %arg2, align 8
%29 = load i64, i64* %12, align 8
%30 = mul i64 %29, 256
store i64 %30, i64* %12, align 8
%31 = load i64, i64* %6, align 8
%32 = mul i64 %31, 256
store i64 %32, i64* %6, align 8
%33 = icmp ult i64 %32, 4294967295
store i64 0, i64* %storemerge.reg2mem
br i1 %33, label LBL_4, label LBL_5
LBL_4:
%34 = call i64 @FUNC(i64 %24)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
store i64 0, i64* %storemerge.reg2mem
br i1 %37, label LBL_3, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %24, { 1, 0 }
uselistorder i64 %15, { 1, 0 }
uselistorder i64* %12, { 1, 0, 2, 3 }
uselistorder i64* %6, { 1, 2, 0, 3, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4 }
uselistorder label LBL_5, { 1, 0, 2, 3 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | rgb16tobgr24_528 | rgb16tobgr24 | define i64 @FUNC(i16* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i16*
%.reg2mem = alloca i64
%0 = ptrtoint i16* %arg1 to i64
%1 = lshr i64 %arg3, 63
%2 = add i64 %1, %arg3
%3 = and i64 %2, -2
%4 = add i64 %3, %0
%5 = icmp ugt i64 %4, %0
store i64 %0, i64* %.lcssa.reg2mem
br i1 %5, label LBL_1, label LBL_3
LBL_1:
%6 = ptrtoint i64* %arg2 to i64
store i64 %0, i64* %.reg2mem
store i16* %arg1, i16** %sv_1.03.reg2mem
store i64 %6, i64* %sv_0.02.reg2mem
br label LBL_2
LBL_2:
%sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem
%sv_1.03.reload = load i16*, i16** %sv_1.03.reg2mem
%.reload = load i64, i64* %.reg2mem
%7 = add i64 %.reload, 2
%8 = inttoptr i64 %7 to i16*
%9 = load i16, i16* %sv_1.03.reload, align 2
%10 = udiv i16 %9, 256
%11 = add i64 %sv_0.02.reload, 1
%12 = trunc i16 %10 to i8
%13 = and i8 %12, -8
%14 = inttoptr i64 %sv_0.02.reload to i8*
store i8 %13, i8* %14, align 1
%15 = udiv i16 %9, 8
%16 = add i64 %sv_0.02.reload, 2
%17 = trunc i16 %15 to i8
%18 = and i8 %17, -4
%19 = inttoptr i64 %11 to i8*
store i8 %18, i8* %19, align 1
%20 = trunc i16 %9 to i8
%21 = mul i8 %20, 8
%22 = add i64 %sv_0.02.reload, 3
%23 = inttoptr i64 %16 to i8*
store i8 %21, i8* %23, align 1
%24 = icmp ugt i64 %4, %7
store i64 %7, i64* %.reg2mem
store i16* %8, i16** %sv_1.03.reg2mem
store i64 %22, i64* %sv_0.02.reg2mem
store i64 %7, i64* %.lcssa.reg2mem
br i1 %24, label LBL_2, label LBL_3
LBL_3:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i16 %9, { 2, 0, 1 }
uselistorder i64 %sv_0.02.reload, { 3, 2, 0, 1 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %0, { 1, 0, 3, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i16** %sv_1.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | io_ring_ctx_free_19261 | io_ring_ctx_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%.pre-phi2.reg2mem = alloca i64*
%0 = call i64 @FUNC(i64 %arg1)
%1 = icmp eq i64 %arg1, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %arg1)
br label LBL_2
LBL_2:
%3 = call i64 @FUNC(i64 %arg1)
%4 = call i64 @FUNC(i64 %arg1)
%5 = call i64 @FUNC(i64 %arg1)
%6 = call i64 @FUNC(i64 %arg1)
%7 = add i64 %arg1, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %arg1, 24
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %arg1, 64
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %arg1, 68
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_2.LBL_5_crit_edge, label LBL_4
LBL_3:
%.pre = add i64 %arg1, 32
%.pre1 = inttoptr i64 %.pre to i64*
store i64* %.pre1, i64** %.pre-phi2.reg2mem
br label LBL_5
LBL_4:
%21 = add i64 %arg1, 44
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = add i64 %arg1, 40
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = zext i32 %23 to i64
%28 = zext i32 %26 to i64
%29 = call i64 @FUNC(i64 %28, i64 %27)
%30 = add i64 %arg1, 32
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = and i64 %29, 4294967295
%34 = call i64 @FUNC(i64 %32, i64 %33)
store i64* %31, i64** %.pre-phi2.reg2mem
br label LBL_5
LBL_5:
%.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem
%35 = load i64, i64* %.pre-phi2.reload, align 8
%36 = call i64 @FUNC(i64 %35)
%37 = add i64 %arg1, 48
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %39)
%41 = add i64 %arg1, 56
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = load i64, i64* @gv_0, align 8
%45 = call i64 @FUNC(i64 %44, i64 %43)
%46 = call i64 @FUNC(i64 %arg1)
ret i64 %46
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 (i64)* @io_mem_free, { 1, 0 }
uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 4, 3, 5, 2, 7, 8, 0, 6, 10, 9, 15, 14, 13, 12, 11, 1, 16, 17 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | qemu_chr_open_stdio_1842 | qemu_chr_open_stdio | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = call i64 @FUNC()
%1 = trunc i64 %0 to i8
%2 = icmp eq i8 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %storemerge.reg2mem
br label LBL_7
LBL_2:
%4 = load i8, i8* @gv_1, align 1
%5 = icmp eq i8 %4, 0
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_4:
store i8 1, i8* @gv_1, align 1
%7 = call i32 (i32, i32, ...) @fcntl(i32 0, i32 3)
store i32 %7, i32* bitcast (i64* @gv_3 to i32*), align 8
%8 = call i32 @tcgetattr(i32 0, %termios* bitcast (%termios** @gv_4 to %termios*))
%9 = call i64 @FUNC(i64 0)
%10 = call i64 @FUNC(i64 4198845, i64 ptrtoint (%termios** @gv_4 to i64))
%11 = call i64 @FUNC(i64 0, i64 1)
%12 = inttoptr i64 %11 to i64*
store i64 4198896, i64* %12, align 8
%13 = add i64 %11, 8
%14 = inttoptr i64 %13 to i64*
store i64 4198903, i64* %14, align 8
%15 = bitcast i64* %rdi to i8*
%16 = load i8, i8* %15, align 8
%17 = icmp eq i8 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = ptrtoint i64* %arg1 to i64
%19 = add i64 %18, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
%24 = zext i1 %23 to i8
store i8 %24, i8* inttoptr (i64 4210908 to i8*), align 4
br label LBL_6
LBL_6:
%25 = call i64 @FUNC(i64 %11, i64 0)
store i64 %11, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder %termios** @gv_4, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i8* @gv_1, { 1, 0 }
uselistorder i64 (i8*)* @error_report, { 1, 0 }
uselistorder i8 0, { 2, 3, 4, 0, 1 }
} | 0 |
BinRealVul | ff_vorbis_ready_floor1_list_17158 | ff_vorbis_ready_floor1_list | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge8.reg2mem = alloca i32
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i32
%indvars.iv14.reg2mem = alloca i64
%indvars.iv16.reg2mem = alloca i64
%indvars.iv19.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = add i64 %0, 12
%3 = inttoptr i64 %2 to i32*
store i32 0, i32* %3, align 4
%4 = add i64 %0, 28
%5 = inttoptr i64 %4 to i32*
store i32 1, i32* %5, align 4
%6 = trunc i64 %1 to i32
%7 = icmp sgt i32 %6, 2
br i1 %7, label LBL_1, label LBL_11
LBL_1:
%wide.trip.count21 = and i64 %1, 4294967295
store i64 2, i64* %indvars.iv19.reg2mem
br label LBL_2
LBL_2:
%indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem
%8 = mul i64 %indvars.iv19.reload, 16
%9 = add i64 %8, %0
%10 = add i64 %9, 4
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %9, 8
%13 = inttoptr i64 %12 to i32*
store i32 1, i32* %13, align 4
%14 = add i64 %9, 12
%15 = inttoptr i64 %14 to i32*
%16 = trunc i64 %indvars.iv19.reload to i32
store i32 %16, i32* %15, align 4
%17 = icmp ugt i64 %indvars.iv19.reload, 2
br i1 %17, label LBL_3, label LBL_10
LBL_3:
%18 = inttoptr i64 %9 to i32*
store i64 2, i64* %indvars.iv16.reg2mem
br label LBL_4
LBL_4:
%indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem
%19 = mul i64 %indvars.iv16.reload, 16
%20 = add i64 %19, %0
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = load i32, i32* %18, align 4
%24 = zext i32 %23 to i64
%25 = sext i32 %22 to i64
%26 = icmp slt i64 %25, %24
br i1 %26, label LBL_5, label LBL_7
LBL_5:
%27 = load i32, i32* %11, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 16
%30 = add i64 %29, %0
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = zext i32 %32 to i64
%34 = icmp sgt i64 %25, %33
br i1 %34, label LBL_6, label LBL_9
LBL_6:
%35 = trunc i64 %indvars.iv16.reload to i32
store i32 %35, i32* %11, align 4
br label LBL_9
LBL_7:
%36 = load i32, i32* %13, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 16
%39 = add i64 %38, %0
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = zext i32 %41 to i64
%43 = icmp slt i64 %25, %42
br i1 %43, label LBL_8, label LBL_9
LBL_8:
%44 = trunc i64 %indvars.iv16.reload to i32
store i32 %44, i32* %13, align 4
br label LBL_9
LBL_9:
%indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1
%exitcond18 = icmp eq i64 %indvars.iv.next17, %indvars.iv19.reload
store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem
br i1 %exitcond18, label LBL_10, label LBL_4
LBL_10:
%indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1
%exitcond22 = icmp eq i64 %indvars.iv.next20, %wide.trip.count21
store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem
br i1 %exitcond22, label LBL_11, label LBL_2
LBL_11:
%45 = add nsw i64 %1, 4294967295
%46 = and i64 %45, 4294967295
%47 = icmp eq i64 %46, 0
store i32 1, i32* %indvars.iv.reg2mem
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge8.reg2mem
br i1 %47, label LBL_18, label LBL_16
LBL_12:
%indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem
%48 = load i32, i32* %70, align 4
%49 = sext i32 %48 to i64
%50 = mul i64 %49, 16
%51 = add i64 %50, %0
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = mul i64 %indvars.iv14.reload, 16
%55 = add i64 %54, %2
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 16
%60 = add i64 %59, %0
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = icmp ugt i32 %53, %62
br i1 %63, label LBL_13, label LBL_14
LBL_13:
store i32 %57, i32* %70, align 4
store i32 %48, i32* %56, align 4
br label LBL_14
LBL_14:
%indvars.iv.next15 = add nsw i64 %indvars.iv14.reload, 1
%lftr.wideiv23 = trunc i64 %indvars.iv.next15 to i32
%exitcond24 = icmp eq i32 %lftr.wideiv23, %6
store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem
br i1 %exitcond24, label LBL_15, label LBL_12
LBL_15:
%64 = sext i32 %storemerge26 to i64
%65 = icmp sgt i64 %46, %64
%indvars.iv.next = add i32 %indvars.iv.reload, 1
store i32 %indvars.iv.next, i32* %indvars.iv.reg2mem
store i64 %64, i64* %.reg2mem
store i32 %storemerge26, i32* %storemerge8.reg2mem
br i1 %65, label LBL_16, label LBL_18
LBL_16:
%storemerge8.reload = load i32, i32* %storemerge8.reg2mem
%indvars.iv.reload = load i32, i32* %indvars.iv.reg2mem
%storemerge26 = add i32 %storemerge8.reload, 1
%66 = icmp slt i32 %storemerge26, %6
br i1 %66, label LBL_12.lr.ph, label LBL_15
LBL_17:
%.reload = load i64, i64* %.reg2mem
%67 = sext i32 %indvars.iv.reload to i64
%68 = mul i64 %.reload, 16
%69 = add i64 %68, %2
%70 = inttoptr i64 %69 to i32*
store i64 %67, i64* %indvars.iv14.reg2mem
br label LBL_12
LBL_18:
ret i64 %46
uselistorder i32* %70, { 1, 0 }
uselistorder i32 %storemerge26, { 2, 1, 0 }
uselistorder i32 %indvars.iv.reload, { 1, 0 }
uselistorder i64 %46, { 0, 2, 1 }
uselistorder i32* %13, { 1, 0, 2 }
uselistorder i32* %11, { 1, 0, 2 }
uselistorder i64 %indvars.iv19.reload, { 0, 3, 2, 1, 4 }
uselistorder i32 %6, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6, 7 }
uselistorder i64* %indvars.iv19.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv14.reg2mem, { 2, 1, 0 }
uselistorder i32* %indvars.iv.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 }
uselistorder i64 2, { 0, 2, 1 }
uselistorder i64 4294967295, { 1, 2, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 2, 0, 3, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | crypto_ablkcipher_report_12130 | crypto_ablkcipher_report | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = bitcast i64* %sv_1 to i8*
%2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))
%3 = bitcast i64* %sv_0 to i8*
%4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* inttoptr (i64 64 to i8*))
%5 = call i64 @FUNC(i64 %0, i64 1, i64 144, i64* nonnull %sv_1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
%storemerge = select i1 %8, i64 4294967206, i64 0
ret i64 %storemerge
} | 1 |
BinRealVul | parse_byte_size_string_4919 | parse_byte_size_string | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.06.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i8*
%1 = load i64, i64* %0
%sv_1 = alloca i128, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i16, align 2
%sv_4 = alloca i64, align 8
store i16 0, i16* %sv_3, align 2
%2 = icmp eq i64 %arg1, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %2, label LBL_19, label LBL_1
LBL_1:
%3 = trunc i64 %1 to i8
%4 = icmp eq i8 %3, 0
%5 = icmp eq i1 %4, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_19
LBL_2:
%6 = bitcast i64* %sv_2 to i8*
%7 = inttoptr i64 %arg1 to i8*
%8 = call i8* @stpncpy(i8* nonnull %6, i8* %7, i32 22)
%9 = load i8, i8* %8, align 1
%10 = icmp eq i8 %9, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %10, label LBL_3, label LBL_19
LBL_3:
%11 = ptrtoint i8* %8 to i64
%12 = call i16** @__ctype_b_loc()
%13 = load i16*, i16** %12, align 8
%14 = ptrtoint i16* %13 to i64
%15 = add i64 %11, -1
%16 = inttoptr i64 %15 to i8*
%17 = load i8, i8* %16, align 1
%18 = sext i8 %17 to i64
%19 = mul i64 %18, 2
%20 = add i64 %19, %14
%21 = inttoptr i64 %20 to i16*
%22 = load i16, i16* %21, align 2
%23 = and i16 %22, 2048
%24 = icmp eq i16 %23, 0
store i32 0, i32* %sv_0.06.reg2mem
br i1 %24, label LBL_4, label LBL_9
LBL_4:
%25 = call i16** @__ctype_b_loc()
%26 = load i16*, i16** %25, align 8
%27 = ptrtoint i16* %26 to i64
%28 = load i8, i8* %16, align 1
%29 = sext i8 %28 to i64
%30 = mul i64 %29, 2
%31 = add i64 %30, %27
%32 = inttoptr i64 %31 to i16*
%33 = load i16, i16* %32, align 2
%34 = and i16 %33, 1024
%35 = icmp eq i16 %34, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %35, label LBL_19, label LBL_5
LBL_5:
%36 = add i64 %11, -2
%37 = ptrtoint i64* %sv_2 to i64
%38 = icmp eq i64 %36, %37
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_5.LBL_8_crit_edge, label LBL_7
LBL_6:
%.pre = inttoptr i64 %36 to i8*
store i8* %.pre, i8** %.pre-phi.reg2mem
br label LBL_8
LBL_7:
%40 = call i16** @__ctype_b_loc()
%41 = load i16*, i16** %40, align 8
%42 = ptrtoint i16* %41 to i64
%43 = inttoptr i64 %36 to i8*
%44 = load i8, i8* %43, align 1
%45 = sext i8 %44 to i64
%46 = mul i64 %45, 2
%47 = add i64 %46, %42
%48 = inttoptr i64 %47 to i16*
%49 = load i16, i16* %48, align 2
%50 = and i16 %49, 2048
%51 = icmp eq i16 %50, 0
%52 = icmp eq i1 %51, false
store i8* %43, i8** %.pre-phi.reg2mem
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %52, label LBL_8, label LBL_19
LBL_8:
%.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem
%53 = call i16** @__ctype_b_loc()
%54 = load i16*, i16** %53, align 8
%55 = ptrtoint i16* %54 to i64
%56 = load i8, i8* %.pre-phi.reload, align 1
%57 = sext i8 %56 to i64
%58 = mul i64 %57, 2
%59 = add i64 %58, %55
%60 = inttoptr i64 %59 to i16*
%61 = load i16, i16* %60, align 2
%62 = and i16 %61, 1024
%63 = icmp eq i16 %62, 0
%spec.select = select i1 %63, i32 1, i32 2
%64 = zext i32 %spec.select to i64
%65 = sub i64 %11, %64
%66 = bitcast i16* %sv_3 to i64*
%67 = inttoptr i64 %65 to i64*
%68 = call i64* @memcpy(i64* nonnull %66, i64* %67, i32 %spec.select)
%69 = ptrtoint i16* %sv_3 to i64
%70 = add i64 %64, %69
%71 = inttoptr i64 %70 to i8*
store i8 0, i8* %71, align 1
%72 = inttoptr i64 %65 to i8*
store i8 0, i8* %72, align 1
store i32 %spec.select, i32* %sv_0.06.reg2mem
br label LBL_9
LBL_9:
%73 = ptrtoint i64* %sv_4 to i64
%sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem
%74 = call i32 @strlen(i8* nonnull %6)
%75 = sext i32 %74 to i64
%76 = call i64 @FUNC(i64* nonnull %sv_2, i64 %75)
%sext = mul i64 %76, 4294967296
%77 = ashr exact i64 %sext, 32
%78 = add i64 %73, -80
%79 = add i64 %78, %77
%80 = inttoptr i64 %79 to i8*
store i8 0, i8* %80, align 1
%81 = bitcast i128* %sv_1 to i64*
%82 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %81)
%83 = trunc i64 %82 to i32
%84 = icmp slt i32 %83, 0
%85 = icmp eq i1 %84, false
br i1 %85, label LBL_11, label LBL_10
LBL_10:
%86 = sub i64 0, %82
%87 = and i64 %86, 4294967295
store i64 %87, i64* %rax.0.reg2mem
br label LBL_19
LBL_11:
%88 = icmp eq i32 %sv_0.06.reload, 2
br i1 %88, label LBL_13, label LBL_12
LBL_12:
%89 = load i128, i128* %sv_1, align 8
%90 = trunc i128 %89 to i64
store i64 %90, i64* %arg2, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_13:
%91 = bitcast i16* %sv_3 to i8*
%92 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))
%93 = icmp eq i32 %92, 0
%94 = icmp eq i1 %93, false
br i1 %94, label LBL_14, label LBL_16
LBL_14:
%95 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))
%96 = icmp eq i32 %95, 0
%97 = icmp eq i1 %96, false
br i1 %97, label LBL_15, label LBL_16
LBL_15:
%98 = call i32 @strcasecmp(i8* nonnull %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))
%99 = icmp eq i32 %98, 0
%100 = icmp eq i1 %99, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %100, label LBL_19, label LBL_16
LBL_16:
%101 = load i128, i128* %sv_1, align 8
%102 = trunc i128 %101 to i64
%103 = icmp eq i64 %102, 0
br i1 %103, label LBL_18, label LBL_17
LBL_17:
store i64 4294967262, i64* %rax.0.reg2mem
br i1 false, label LBL_18, label LBL_19
LBL_18:
store i64 0, i64* %arg2, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %spec.select, { 0, 2, 1 }
uselistorder i64 %36, { 1, 0, 2 }
uselistorder i8* %8, { 1, 0 }
uselistorder i16* %sv_3, { 0, 2, 1, 3 }
uselistorder i64* %sv_2, { 0, 1, 3, 2 }
uselistorder i128* %sv_1, { 1, 0, 2 }
uselistorder i32* %sv_0.06.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 2, 9, 8, 3, 4, 5, 7, 6 }
uselistorder i32 (i8*, i8*)* @strcasecmp, { 0, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder i16 1024, { 1, 0 }
uselistorder i16** ()* @__ctype_b_loc, { 2, 3, 4, 0, 1 }
uselistorder i8 0, { 1, 2, 3, 4, 0, 5 }
uselistorder i64 4294967274, { 0, 1, 2, 3, 5, 4, 6, 7 }
uselistorder i16 0, { 1, 2, 0, 3, 5, 4 }
uselistorder label LBL_19, { 7, 0, 1, 8, 9, 2, 3, 4, 6, 5 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
BinRealVul | vtd_interrupt_remap_msi_7698 | vtd_interrupt_remap_msi | define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%2 = alloca i8
%rax.0.reg2mem = alloca i64
%.pre-phi12.reg2mem = alloca i32*
%sv_0.0.reg2mem = alloca i32
%rsi.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%6 = ptrtoint i64* %arg2 to i64
%7 = load i8, i8* %2
%8 = load i32, i32* %1
%9 = load i32, i32* %1
%10 = load i8, i8* %2
%11 = load i32, i32* %1
%sv_1 = alloca i32, align 4
store i32 0, i32* %sv_1, align 4
%12 = icmp ne i64* %arg2, null
%13 = icmp eq i64* %arg3, null
%14 = icmp eq i1 %13, false
%or.cond = icmp eq i1 %12, %14
store i64 %6, i64* %rsi.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([24 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem
store i64 ptrtoint ([57 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem
br label LBL_2
LBL_2:
%15 = ptrtoint i64* %arg3 to i64
%16 = trunc i64 %5 to i32
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%17 = icmp eq i32* %arg1, null
%18 = icmp eq i32 %16, 0
%or.cond13 = or i1 %17, %18
br i1 %or.cond13, label LBL_18, label LBL_3
LBL_3:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%19 = icmp ult i64 %rsi.0.reload, 4294967296
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = udiv i64 %rsi.0.reload, 4294967296
%21 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_3, i64 0, i64 0), i64 %20, i64 %rcx.0.reload, i64 %4, i64 %3)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_5:
%22 = urem i32 %11, 65536
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23)
%25 = trunc i64 %24 to i16
%26 = icmp eq i16 %25, 4078
br i1 %26, label LBL_7, label LBL_6
LBL_6:
%27 = and i64 %rsi.0.reload, 4294967295
%28 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_4, i64 0, i64 0), i64 %27, i64 %rcx.0.reload, i64 %4, i64 %3)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_7:
%29 = icmp eq i8 %10, 1
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_18, label LBL_8
LBL_8:
%31 = mul i32 %9, 32768
%32 = urem i32 %8, 65536
%33 = zext i32 %32 to i64
%34 = call i64 @FUNC(i64 %33)
%35 = trunc i64 %34 to i32
%36 = or i32 %31, %35
%sext = mul i32 %36, 65536
%37 = ashr exact i32 %sext, 16
%38 = icmp eq i8 %7, 0
store i32 %37, i32* %sv_0.0.reg2mem
br i1 %38, label LBL_10, label LBL_9
LBL_9:
%39 = add i64 %6, 8
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = add i32 %41, %37
%sext9 = mul i32 %42, 65536
%43 = ashr exact i32 %sext9, 16
store i32 %43, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%44 = urem i32 %sv_0.0.reload, 65536
%45 = zext i32 %44 to i64
%46 = ptrtoint i32* %arg1 to i64
%47 = bitcast i32* %sv_1 to i64*
%48 = call i64 @FUNC(i64 %46, i64 %45, i64* nonnull %47)
%49 = trunc i64 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label LBL_12, label LBL_11
LBL_11:
%51 = and i64 %48, 4294967295
store i64 %51, i64* %rax.0.reg2mem
br label LBL_19
LBL_12:
%52 = ptrtoint i32* %sv_1 to i64
br i1 %38, label LBL_15, label LBL_13
LBL_13:
%53 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i64 %52, i64 %45, i64 %4, i64 %3)
%54 = add i64 %6, 8
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = icmp slt i32 %56, 0
%58 = icmp eq i1 %57, false
store i32* %55, i32** %.pre-phi12.reg2mem
br i1 %58, label LBL_17, label LBL_14
LBL_14:
%59 = zext i32 %56 to i64
%60 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_6, i64 0, i64 0), i64 %59, i64 %45, i64 %4, i64 %3)
store i64 1, i64* %rax.0.reg2mem
br label LBL_19
LBL_15:
%61 = add i64 %6, 8
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = trunc i32 %63 to i8
%65 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_7, i64 0, i64 0), i64 %52, i64 %45, i64 %4, i64 %3)
%66 = load i32, i32* %sv_1, align 4
%67 = trunc i32 %66 to i8
%68 = icmp eq i8 %64, %67
store i32* %62, i32** %.pre-phi12.reg2mem
br i1 %68, label LBL_17, label LBL_16
LBL_16:
%69 = urem i32 %63, 256
%70 = urem i32 %66, 256
%71 = zext i32 %70 to i64
%72 = zext i32 %69 to i64
%73 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_8, i64 0, i64 0), i64 %72, i64 %71, i64 %45, i64 %3)
store i32* %62, i32** %.pre-phi12.reg2mem
br label LBL_17
LBL_17:
%.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem
%74 = call i64 @FUNC(i64* nonnull %47, i64 %15)
%75 = add i64 %15, 8
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = zext i32 %77 to i64
%79 = load i32, i32* %.pre-phi12.reload, align 4
%80 = zext i32 %79 to i64
%81 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_9, i64 0, i64 0), i64 %78, i64 %80, i64 %15, i64 %78)
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_18:
%82 = add i64 %6, 8
%83 = inttoptr i64 %82 to i64*
%84 = load i64, i64* %83, align 8
store i64 %rsi.0.reload, i64* %arg3, align 8
%85 = add i64 %15, 8
%86 = inttoptr i64 %85 to i64*
store i64 %84, i64* %86, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %62, { 1, 0, 2 }
uselistorder i64 %52, { 1, 0 }
uselistorder i64 %45, { 0, 3, 1, 2, 4 }
uselistorder i32 %37, { 1, 0 }
uselistorder i64 %rsi.0.reload, { 0, 1, 3, 2 }
uselistorder i64 %15, { 3, 1, 2, 0 }
uselistorder i32* %sv_1, { 2, 1, 3, 0 }
uselistorder i64 %6, { 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 4, 3, 2, 1, 0 }
uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }
uselistorder i32** %.pre-phi12.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i8* %2, { 1, 0 }
uselistorder i32* %1, { 2, 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }
uselistorder i32 65536, { 2, 0, 1, 3, 4 }
uselistorder i64 1, { 3, 4, 2, 5, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @VTD_DPRINTF, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder [24 x i8]* @gv_2, { 1, 0 }
uselistorder [57 x i8]* @gv_1, { 1, 0 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder i64* %arg3, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | do_token_out_521 | do_token_out | define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i32* %arg1 to i64
store i64 %5, i64* %rax.0.reg2mem
br label LBL_10
LBL_2:
%6 = trunc i64 %1 to i32
store i64 4294967295, i64* %rax.0.reg2mem
switch i32 %6, label LBL_10 [
i32 1, label LBL_3
i32 2, label LBL_5
]
LBL_3:
%7 = ptrtoint i32* %arg1 to i64
%8 = add i64 %7, 12
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = icmp slt i8 %10, 0
%12 = icmp eq i1 %11, false
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_10, label LBL_4
LBL_4:
store i32 0, i32* %arg1, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_5:
%13 = ptrtoint i32* %arg1 to i64
%14 = add i64 %13, 12
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp slt i8 %16, 0
br i1 %17, label LBL_9, label LBL_6
LBL_6:
%18 = add i64 %13, 4
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = add i64 %13, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = sub i32 %20, %23
%25 = ptrtoint i32* %arg2 to i64
%26 = add i64 %25, 4
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = zext i32 %28 to i64
%30 = sext i32 %24 to i64
%31 = icmp sgt i64 %30, %29
%spec.select = select i1 %31, i32 %28, i32 %24
%32 = add i64 %13, 20
%33 = sext i32 %23 to i64
%34 = add i64 %32, %33
%35 = call i64 @FUNC(i64 %25, i64 %34, i32 %spec.select)
%36 = load i32, i32* %22, align 4
%37 = add i32 %spec.select, %36
store i32 %37, i32* %22, align 4
%38 = load i32, i32* %19, align 4
%39 = icmp ult i32 %37, %38
br i1 %39, label LBL_8, label LBL_7
LBL_7:
store i32 1, i32* %arg1, align 4
br label LBL_8
LBL_8:
%40 = zext i32 %spec.select to i64
store i64 %40, i64* %rax.0.reg2mem
br label LBL_10
LBL_9:
store i32 0, i32* %arg1, align 4
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %spec.select, { 2, 0, 1 }
uselistorder i32* %22, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 3, 2, 1, 4 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32* %arg1, { 3, 1, 2, 5, 4, 0 }
uselistorder label LBL_10, { 3, 4, 2, 1, 0, 5 }
} | 0 |
BinRealVul | getRate_12609 | getRate | define i128 @FUNC(i64 %arg1, i8 %arg2, i16 %arg3, i8 %arg4) local_unnamed_addr {
LBL_0:
%sv_0.0.in.reg2mem = alloca i64
%storemerge3.in.reg2mem = alloca i64
%xmm0.1.reg2mem = alloca i128
%storemerge2.in.reg2mem = alloca i64
%xmm0.0.reg2mem = alloca i128
%sv_1 = alloca i64, align 8
%0 = ptrtoint i64* %sv_1 to i64
%1 = trunc i64 %arg1 to i8
%2 = call i128 @FUNC(i32 1065353216)
%3 = call i64 @__asm_movss.1(i128 %2)
%4 = call i128 @FUNC(i32 1073741824)
%5 = call i64 @__asm_movss.1(i128 %4)
%6 = call i128 @FUNC(i32 1085276160)
%7 = call i64 @__asm_movss.1(i128 %6)
%8 = call i128 @FUNC(i32 1093664768)
%9 = call i64 @__asm_movss.1(i128 %8)
%10 = call i128 @FUNC(i32 1086324736)
%11 = call i64 @__asm_movss.1(i128 %10)
%12 = call i128 @FUNC(i32 1091567616)
%13 = call i64 @__asm_movss.1(i128 %12)
%14 = call i128 @FUNC(i32 1094713344)
%15 = call i64 @__asm_movss.1(i128 %14)
%16 = call i128 @FUNC(i32 1099956224)
%17 = call i64 @__asm_movss.1(i128 %16)
%18 = call i128 @FUNC(i32 1103101952)
%19 = call i64 @__asm_movss.1(i128 %18)
%20 = call i128 @FUNC(i32 1108344832)
%21 = call i64 @__asm_movss.1(i128 %20)
%22 = call i128 @FUNC(i32 1111490560)
%23 = call i64 @__asm_movss.1(i128 %22)
%24 = call i128 @FUNC(i32 1113063424)
%25 = call i64 @__asm_movss.1(i128 %24)
%26 = call i128 @FUNC(i128 %24, i128 %24)
%27 = call i64 @__asm_movss.1(i128 %26)
%28 = icmp eq i8 %1, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_2, label LBL_1
LBL_1:
%30 = zext i8 %arg2 to i64
%31 = mul i64 %30, 4
%32 = add nsw i64 %31, -64
%33 = add i64 %32, %0
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = call i128 @FUNC(i32 %35)
%37 = call i64 @__asm_movss.1(i128 %36)
store i64 %37, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_2:
%38 = icmp ne i8 %1, 1
%39 = icmp eq i8 %1, 2
%40 = icmp eq i1 %39, false
%or.cond = icmp eq i1 %38, %40
%41 = urem i16 %arg3, 2
%42 = icmp eq i16 %41, 0
br i1 %or.cond, label LBL_7, label LBL_3
LBL_3:
br i1 %42, label LBL_5, label LBL_4
LBL_4:
%43 = call i128 @FUNC(i32 1080452710)
%44 = call i64 @__asm_movss.1(i128 %43)
store i128 %43, i128* %xmm0.0.reg2mem
store i64 %44, i64* %storemerge2.in.reg2mem
br label LBL_6
LBL_5:
%45 = call i128 @FUNC(i32 1082130432)
%46 = call i64 @__asm_movss.1(i128 %45)
store i128 %45, i128* %xmm0.0.reg2mem
store i64 %46, i64* %storemerge2.in.reg2mem
br label LBL_6
LBL_6:
%storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem
%xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem
%storemerge2 = trunc i64 %storemerge2.in.reload to i32
%47 = and i16 %arg3, 2
%48 = icmp eq i16 %47, 0
%49 = and i8 %arg2, -8
%50 = zext i8 %49 to i64
%51 = zext i8 %arg2 to i64
%52 = sub nsw i64 %51, %50
%53 = mul i64 %52, 4
%storemerge.in.in.v.v = select i1 %48, i64 -96, i64 -128
%storemerge.in.in.v = add nsw i64 %53, %storemerge.in.in.v.v
%storemerge.in.in = add i64 %storemerge.in.in.v, %0
%storemerge.in = inttoptr i64 %storemerge.in.in to i32*
%storemerge = load i32, i32* %storemerge.in, align 4
%54 = udiv i8 %arg2, 8
%narrow = add nuw nsw i8 %54, 1
%55 = zext i8 %narrow to i32
%56 = mul i32 %storemerge, %55
%57 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload)
%58 = call i128 @FUNC(i32 %56)
%59 = call i128 @FUNC(i128 %58, i32 %storemerge2)
%60 = call i64 @__asm_movss.1(i128 %59)
store i64 %60, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_7:
br i1 %42, label LBL_9, label LBL_8
LBL_8:
%61 = call i128 @FUNC(i32 1080452710)
%62 = call i64 @__asm_movss.1(i128 %61)
store i128 %61, i128* %xmm0.1.reg2mem
store i64 %62, i64* %storemerge3.in.reg2mem
br label LBL_10
LBL_9:
%63 = call i128 @FUNC(i32 1082130432)
%64 = call i64 @__asm_movss.1(i128 %63)
store i128 %63, i128* %xmm0.1.reg2mem
store i64 %64, i64* %storemerge3.in.reg2mem
br label LBL_10
LBL_10:
%storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem
%xmm0.1.reload = load i128, i128* %xmm0.1.reg2mem
%storemerge3 = trunc i64 %storemerge3.in.reload to i32
%65 = icmp ult i8 %arg2, 9
%spec.select = select i1 %65, i8 %arg2, i8 9
%66 = and i16 %arg3, 2
%67 = icmp eq i16 %66, 0
br i1 %67, label LBL_12, label LBL_11
LBL_11:
%68 = mul i8 %spec.select, 4
%69 = zext i8 %68 to i64
%70 = add nsw i64 %69, -224
%71 = add i64 %70, %0
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = zext i8 %arg4 to i32
%75 = mul i32 %73, %74
%76 = call i128 @FUNC(i128 %xmm0.1.reload, i128 %xmm0.1.reload)
%77 = call i128 @FUNC(i32 %75)
%78 = call i128 @FUNC(i128 %77, i32 %storemerge3)
%79 = call i64 @__asm_movss.1(i128 %78)
store i64 %79, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_12:
%80 = and i16 %arg3, 4
%81 = icmp eq i16 %80, 0
br i1 %81, label LBL_14, label LBL_13
LBL_13:
%82 = mul i8 %spec.select, 4
%83 = zext i8 %82 to i64
%84 = add nsw i64 %83, -272
%85 = add i64 %84, %0
%86 = inttoptr i64 %85 to i32*
%87 = load i32, i32* %86, align 4
%88 = zext i8 %arg4 to i32
%89 = mul i32 %87, %88
%90 = call i128 @FUNC(i128 %xmm0.1.reload, i128 %xmm0.1.reload)
%91 = call i128 @FUNC(i32 %89)
%92 = call i128 @FUNC(i128 %91, i32 %storemerge3)
%93 = call i64 @__asm_movss.1(i128 %92)
store i64 %93, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_14:
%94 = icmp ugt i8 %arg2, 8
%95 = icmp eq i8 %arg4, 3
%96 = icmp eq i1 %94, %95
br i1 %96, label LBL_15, label LBL_16
LBL_15:
%97 = load i32, i32* inttoptr (i64 4202584 to i32*), align 8
%98 = call i128 @FUNC(i32 %97)
%99 = call i128 @FUNC(i128 %98, i32 %storemerge3)
%100 = call i64 @__asm_movss.1(i128 %99)
store i64 %100, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_16:
store i64 %27, i64* %sv_0.0.in.reg2mem
br i1 %65, label LBL_17, label LBL_18
LBL_17:
%101 = mul i8 %spec.select, 4
%102 = zext i8 %101 to i64
%103 = add nsw i64 %102, -176
%104 = add i64 %103, %0
%105 = inttoptr i64 %104 to i32*
%106 = load i32, i32* %105, align 4
%107 = zext i8 %arg4 to i32
%108 = mul i32 %106, %107
%109 = call i128 @FUNC(i128 %xmm0.1.reload, i128 %xmm0.1.reload)
%110 = call i128 @FUNC(i32 %108)
%111 = call i128 @FUNC(i128 %110, i32 %storemerge3)
%112 = call i64 @__asm_movss.1(i128 %111)
store i64 %112, i64* %sv_0.0.in.reg2mem
br label LBL_18
LBL_18:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%113 = call i128 @FUNC(i32 %sv_0.0)
ret i128 %113
uselistorder i32 %storemerge3, { 3, 2, 1, 0 }
uselistorder i1 %42, { 1, 0 }
uselistorder i128 %24, { 2, 1, 0 }
uselistorder i8 %1, { 1, 0, 2 }
uselistorder i128* %xmm0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 }
uselistorder i128* %xmm0.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 6, 5, 4, 3, 2, 7, 1 }
uselistorder i8 8, { 1, 0 }
uselistorder i16 0, { 0, 1, 3, 2 }
uselistorder i16 2, { 1, 2, 0 }
uselistorder i8 %arg4, { 3, 0, 2, 1 }
uselistorder i16 %arg3, { 2, 1, 3, 0 }
uselistorder i8 %arg2, { 1, 2, 3, 0, 6, 5, 4 }
uselistorder label LBL_18, { 1, 0, 2, 3, 4, 5, 6 }
} | 1 |
BinRealVul | __page_check_address_4457 | __page_check_address | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = and i64 %2, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %0, i64 %arg3)
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_2, label LBL_13
LBL_2:
%10 = call i64 @FUNC(i64 %1)
%11 = and i64 %10, 4294967295
%12 = call i64 @FUNC(i64 %11, i64 %0, i64 %7)
store i64 %7, i64* %sv_0.0.reg2mem
store i64 %12, i64* %storemerge.reg2mem
br label LBL_9
LBL_3:
%13 = call i64 @FUNC(i64 %0, i64 %arg3)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
store i64 0, i64* %rax.0.reg2mem
br i1 %15, label LBL_4, label LBL_13
LBL_4:
%16 = call i64 @FUNC()
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_5, label LBL_13
LBL_5:
%19 = call i64 @FUNC(i64 %13, i64 %arg3)
%20 = trunc i64 %arg5 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_8, label LBL_6
LBL_6:
%23 = call i64 @FUNC()
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_8, label LBL_7
LBL_7:
%27 = call i64 @FUNC(i64 %19)
store i64 0, i64* %rax.0.reg2mem
br label LBL_13
LBL_8:
%28 = call i64 @FUNC(i64 %0, i64 %13)
store i64 %19, i64* %sv_0.0.reg2mem
store i64 %28, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%29 = call i64 @FUNC(i64 %storemerge.reload)
%30 = call i64 @FUNC()
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_12, label LBL_10
LBL_10:
%33 = call i64 @FUNC(i64 %1)
%34 = call i64 @FUNC()
%35 = icmp eq i64 %33, %34
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_12, label LBL_11
LBL_11:
store i64 %storemerge.reload, i64* %arg4, align 8
store i64 %sv_0.0.reload, i64* %rax.0.reg2mem
br label LBL_13
LBL_12:
%37 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_13
LBL_13:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %storemerge.reload, { 1, 2, 0 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 %0, { 1, 2, 0, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 }
uselistorder i64 ()* @pte_present, { 1, 0 }
uselistorder label LBL_13, { 3, 4, 5, 0, 1, 2 }
} | 0 |
BinRealVul | pci_ivshmem_exit_2673 | pci_ivshmem_exit | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem17 = alloca i64
%storemerge2.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i64
%.reg2mem15 = alloca i32
%.reg2mem13 = alloca i64
%storemerge13.reg2mem = alloca i32
%.reg2mem11 = alloca i64
%.reg2mem9 = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %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_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %5)
%8 = load i64, i64* %4, align 8
%9 = call i64 @FUNC(i64 %8)
br label LBL_2
LBL_2:
%10 = add i64 %1, 16
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_5, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64 %10)
%15 = call i64 @FUNC(i64 %10, i64 %0)
%16 = add i64 %1, 24
%17 = call i64 @FUNC(i64 %16, i64 %10)
%18 = add i64 %1, 72
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = inttoptr i64 %14 to i64*
%22 = trunc i64 %20 to i32
%23 = call i32 @munmap(i64* %21, i32 %22)
%24 = icmp eq i32 %23, -1
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_5, label LBL_4
LBL_4:
%26 = call i32* @__errno_location()
%27 = load i32, i32* %26, align 4
%28 = call i8* @strerror(i32 %27)
%29 = ptrtoint i8* %28 to i64
%30 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %29)
br label LBL_5
LBL_5:
%31 = add i64 %1, 32
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label LBL_11, label LBL_6
LBL_6:
%35 = add i64 %1, 40
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = icmp eq i32 %37, 0
store i64 %33, i64* %.reg2mem
store i32 %37, i32* %.reg2mem9
store i64 0, i64* %.reg2mem11
store i32 0, i32* %storemerge13.reg2mem
store i64 %33, i64* %.lcssa.reg2mem
br i1 %38, label LBL_10, label LBL_7
LBL_7:
%storemerge13.reload = load i32, i32* %storemerge13.reg2mem
%.reload12 = load i64, i64* %.reg2mem11
%.reload10 = load i32, i32* %.reg2mem9
%.reload = load i64, i64* %.reg2mem
%39 = mul i64 %.reload12, 8
%40 = add i64 %39, %.reload
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = icmp eq i64 %42, 0
store i64 %.reload, i64* %.reg2mem13
store i32 %.reload10, i32* %.reg2mem15
br i1 %43, label LBL_9, label LBL_8
LBL_8:
%44 = call i64 @FUNC(i64 %42)
%.pre = load i32, i32* %36, align 4
%.pre5 = load i64, i64* %32, align 8
store i64 %.pre5, i64* %.reg2mem13
store i32 %.pre, i32* %.reg2mem15
br label LBL_9
LBL_9:
%.reload16 = load i32, i32* %.reg2mem15
%.reload14 = load i64, i64* %.reg2mem13
%45 = add i32 %storemerge13.reload, 1
%46 = zext i32 %.reload16 to i64
%47 = sext i32 %45 to i64
%48 = icmp slt i64 %47, %46
store i64 %.reload14, i64* %.reg2mem
store i32 %.reload16, i32* %.reg2mem9
store i64 %47, i64* %.reg2mem11
store i32 %45, i32* %storemerge13.reg2mem
store i64 %.reload14, i64* %.lcssa.reg2mem
br i1 %48, label LBL_7, label LBL_10
LBL_10:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%49 = call i64 @FUNC(i64 %.lcssa.reload)
br label LBL_11
LBL_11:
%50 = add i64 %1, 48
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label LBL_16, label LBL_12
LBL_12:
%54 = add i64 %1, 56
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = icmp eq i32 %56, 0
store i32 0, i32* %storemerge2.reg2mem
store i64 %52, i64* %.reg2mem17
br i1 %57, label LBL_15, label LBL_13
LBL_13:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%58 = zext i32 %storemerge2.reload to i64
%59 = call i64 @FUNC(i64 %1, i64 %58)
%60 = add i32 %storemerge2.reload, 1
%61 = load i32, i32* %55, align 4
%62 = zext i32 %61 to i64
%63 = sext i32 %60 to i64
%64 = icmp slt i64 %63, %62
store i32 %60, i32* %storemerge2.reg2mem
br i1 %64, label LBL_13, label LBL_14
LBL_14:
%.pre6 = load i64, i64* %51, align 8
store i64 %.pre6, i64* %.reg2mem17
br label LBL_15
LBL_15:
%.reload18 = load i64, i64* %.reg2mem17
%65 = call i64 @FUNC(i64 %.reload18)
br label LBL_16
LBL_16:
%66 = call i64 @FUNC(i64 %1, i64 1)
%67 = trunc i64 %66 to i32
%68 = icmp eq i32 %67, 0
br i1 %68, label LBL_18, label LBL_17
LBL_17:
%69 = call i64 @FUNC(i64 %0)
br label LBL_18
LBL_18:
%70 = add i64 %1, 64
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = call i64 @FUNC(i64 %72)
ret i64 %73
uselistorder i32 %storemerge2.reload, { 1, 0 }
uselistorder i32* %55, { 1, 0 }
uselistorder i32 %.reload16, { 1, 0 }
uselistorder i64 %10, { 2, 1, 0, 3 }
uselistorder i64 %1, { 5, 6, 4, 3, 7, 2, 8, 0, 1, 9, 10, 11 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem9, { 2, 0, 1 }
uselistorder i64* %.reg2mem11, { 2, 0, 1 }
uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem13, { 0, 2, 1 }
uselistorder i32* %.reg2mem15, { 0, 2, 1 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder i64 (i64)* @g_free, { 2, 1, 0 }
uselistorder i32 0, { 4, 0, 2, 1, 3, 5 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.