dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | tta_read_seek_1286 | tta_read_seek | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg4 to i32
%2 = add i64 %0, 16
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%sext = mul i64 %arg2, 4294967296
%5 = ashr exact i64 %sext, 29
%6 = add i64 %4, %5
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i64 %arg3, i32 %1)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %12, label LBL_1, label LBL_3
LBL_1:
%13 = inttoptr i64 %8 to i64*
%14 = load i64, i64* %13, align 8
%sext1 = mul i64 %9, 4294967296
%15 = ashr exact i64 %sext1, 29
%16 = add i64 %14, %15
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %0, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21, i64 %18, i64 0)
%23 = trunc i64 %22 to i32
%24 = icmp slt i32 %23, 0
%25 = icmp eq i1 %24, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %25, label LBL_2, label LBL_3
LBL_2:
%26 = bitcast i64* %arg1 to i32*
store i32 %10, i32* %26, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 0 |
BinRealVul | put_audio_specific_config_15275 | put_audio_specific_config | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = mul i32 %6, 8
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %8)
%10 = call i64 @FUNC(i64* nonnull %sv_0, i64 5, i64 2)
%11 = inttoptr i64 %3 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64* nonnull %sv_0, i64 4, i64 %13)
%15 = add i64 %3, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = zext i32 %17 to i64
%19 = call i64 @FUNC(i64* nonnull %sv_0, i64 4, i64 %18)
%20 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64 0)
%21 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64 0)
%22 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64 0)
%23 = call i64 @FUNC(i64* nonnull %sv_0, i64 11, i64 695)
%24 = call i64 @FUNC(i64* nonnull %sv_0, i64 5, i64 5)
%25 = call i64 @FUNC(i64* nonnull %sv_0, i64 1, i64 0)
%26 = call i64 @FUNC(i64* nonnull %sv_0)
ret i64 %26
uselistorder i64 4, { 0, 2, 1 }
uselistorder i64 (i64*, i64, i64)* @put_bits, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 5, { 1, 0, 2 }
} | 1 |
BinRealVul | mt9t112_init_pll_4158 | mt9t112_init_pll | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%storemerge1.reg2mem = alloca i32
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%3 = load i32, i32* %0
%4 = call i64 @FUNC(i64 %1)
%5 = zext i32 %3 to i64
%6 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 3, i64 1)
%7 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 8517)
%8 = inttoptr i64 %4 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %9, 16
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = add i64 %9, 12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = add i64 %9, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i64 %9, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = inttoptr i64 %9 to i32*
%23 = load i32, i32* %22, align 4
%24 = zext i32 %12 to i64
%25 = zext i32 %15 to i64
%26 = call i64 @FUNC(i64 %1, i32 %23, i32 %21, i32 %18, i64 %25, i64 %24)
%27 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 9509)
%28 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 9511)
%29 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 13351)
%30 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 12327)
%31 = call i64 @FUNC(i64 10)
%32 = call i64 @FUNC(i64 %5, i64 %1, i64 20, i64 12358)
%33 = call i64 @FUNC(i64 %5, i64 %1, i64 22, i64 1024)
%34 = call i64 @FUNC(i64 %5, i64 %1, i64 34, i64 400)
%35 = call i64 @FUNC(i64 %5, i64 %1, i64 15236, i64 530)
%36 = call i64 @FUNC(i64 %5, i64 %1, i64 46, i64 1280)
%37 = call i64 @FUNC(i64 %5, i64 %1, i64 24, i64 2, i64 2)
%38 = call i64 @FUNC(i64 %5, i64 %1, i64 15234, i64 4, i64 4)
%39 = call i64 @FUNC(i64 %5, i64 %1, i64 24, i64 4, i64 4)
%40 = call i64 @FUNC(i64 %5, i64 %1, i64 24, i64 1, i64 0)
%41 = call i64 @FUNC(i64 50)
%42 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%43 = call i64 @FUNC(i64 1)
%44 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%45 = call i64 @FUNC(i64 1)
%46 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%47 = call i64 @FUNC(i64 1)
%48 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%49 = call i64 @FUNC(i64 1)
%50 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%51 = call i64 @FUNC(i64 1)
%52 = call i64 @FUNC(i64 %5, i64 %1, i64 1556, i64 1)
%53 = call i64 @FUNC(i64 1)
%54 = sext i32 %2 to i64
%55 = and i32 %2, 16384
%56 = icmp eq i32 %55, 0
store i32 0, i32* %storemerge1.reg2mem
br label LBL_1
LBL_1:
%57 = call i64 @FUNC(i64 %54, i64 %1, i64 24)
br i1 %56, label LBL_3, label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%58 = call i64 @FUNC(i64 10)
%59 = add nuw nsw i32 %storemerge1.reload, 1
%60 = icmp ult i32 %59, 100
store i32 %59, i32* %storemerge1.reg2mem
br i1 %60, label LBL_1, label LBL_3
LBL_3:
ret i64 %5
uselistorder i64 %9, { 0, 2, 1, 3, 4 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i32* %0, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64)* @mdelay, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4, { 1, 0, 3, 2, 4 }
uselistorder i64 (i64, i64, i64, i64)* @mt9t112_reg_write, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64)* @mt9t112_reg_mask_set, { 4, 3, 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | i82374_init_15281 | i82374_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 1, i64 0)
%1 = call i64* @memset(i64* %arg1, i32 0, i32 1024)
%2 = ptrtoint i64* %1 to i64
ret i64 %2
} | 1 |
BinRealVul | dnxhd_decode_init_15042 | dnxhd_decode_init | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%rdi = alloca i64, align 8
%0 = ptrtoint i32* %arg1 to i64
%1 = add i64 %0, 24
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i64*
store i64 %0, i64* %4, align 8
%5 = add i64 %3, 8
%6 = inttoptr i64 %5 to i32*
store i32 -1, i32* %6, align 4
%7 = add i64 %0, 12
%8 = inttoptr i64 %7 to i32*
store i32 1, i32* %8, align 4
%9 = add i64 %0, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i32 %11, 15
%13 = and i32 %12, -16
%14 = add i64 %0, 16
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
%16 = add i64 %0, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i32 %18, 15
%20 = and i32 %19, -16
%21 = add i64 %0, 20
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = bitcast i64* %rdi to i32*
%24 = load i32, i32* %23, align 8
%25 = sext i32 %24 to i64
%26 = call i64 @FUNC(i64 %25, i64 0)
%27 = add i64 %3, 16
%28 = inttoptr i64 %27 to i64*
store i64 %26, i64* %28, align 8
%29 = icmp eq i64 %26, 0
%30 = icmp eq i1 %29, false
%. = select i1 %30, i64 0, i64 4294967284
ret i64 %.
} | 1 |
BinRealVul | php_openssl_load_rand_file_7938 | php_openssl_load_rand_file | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1 = alloca i64, align 8
%0 = bitcast i64* %arg2 to i32*
store i32 0, i32* %0, align 4
%1 = bitcast i64* %arg3 to i32*
store i32 0, i32* %1, align 4
%2 = icmp eq i64 %arg1, 0
%3 = icmp eq i1 %2, false
store i64 %arg1, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64* nonnull %sv_1, i64 4096)
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%5 = icmp eq i64 %sv_0.0.reload, 0
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = call i64 @FUNC(i64 %sv_0.0.reload, i64 4294967295)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_6, label LBL_4
LBL_4:
%10 = call i64 @FUNC()
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i64 0, i64* %rax.0.reg2mem
br i1 %13, label LBL_7, label LBL_5
LBL_5:
%14 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
store i32 1, i32* %1, align 4
store i64 1, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 0 |
BinRealVul | qdict_get_qdict_13886 | qdict_get_qdict | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 1)
%1 = call i64 @FUNC(i64 %0)
ret i64 %1
} | 1 |
BinRealVul | monitor_get_msr_816 | monitor_get_msr | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
ret i64 %2
} | 0 |
BinRealVul | ipv4_blackhole_route_9526 | ipv4_blackhole_route | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64* nonnull @gv_0, i64 0, i64 1, i64 0, i64 0)
%2 = icmp eq i64 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %1 to i32*
store i32 1, i32* %4, align 4
%5 = add i64 %1, 16
%6 = inttoptr i64 %5 to i64*
store i64 4198710, i64* %6, align 8
%7 = add i64 %1, 24
%8 = inttoptr i64 %7 to i64*
store i64 4198717, i64* %8, align 8
%9 = add i64 %1, 8
%10 = inttoptr i64 %9 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %10, align 8
%11 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))
%12 = add i64 %0, 32
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %1, 32
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%17 = add i64 %0, 36
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = add i64 %1, 36
%21 = inttoptr i64 %20 to i32*
store i32 %19, i32* %21, align 4
%22 = add i64 %0, 40
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %1, 40
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = call i64 @FUNC(i64 %3)
%28 = trunc i64 %27 to i32
%29 = add i64 %1, 44
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = add i64 %0, 48
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = add i64 %1, 48
%35 = inttoptr i64 %34 to i32*
store i32 %33, i32* %35, align 4
%36 = add i64 %0, 52
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = add i64 %1, 52
%40 = inttoptr i64 %39 to i32*
store i32 %38, i32* %40, align 4
%41 = add i64 %0, 56
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = add i64 %1, 56
%45 = inttoptr i64 %44 to i32*
store i32 %43, i32* %45, align 4
%46 = add i64 %0, 60
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = add i64 %1, 60
%50 = inttoptr i64 %49 to i32*
store i32 %48, i32* %50, align 4
%51 = add i64 %1, 64
%52 = call i64 @FUNC(i64 %51)
br label LBL_2
LBL_2:
%53 = call i64 @FUNC(i64 %0)
%storemerge = select i1 %2, i64 -12, i64 %1
ret i64 %storemerge
uselistorder i64 %0, { 7, 0, 1, 2, 3, 4, 5, 6 }
uselistorder i64* @gv_0, { 1, 0 }
} | 0 |
BinRealVul | freeClient_5911 | freeClient | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem5 = alloca i32
%.reg2mem = alloca i32
%.pre-phi4.reg2mem = alloca i64*
%0 = call i64 @FUNC(i64 %arg1)
%1 = inttoptr i64 %arg1 to i64*
store i64 0, i64* %1, align 8
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = urem i32 %4, 2
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %arg1)
br label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %arg1)
%9 = add i64 %arg1, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = call i64 @FUNC(i64 %arg1, i64 0)
%14 = call i64 @FUNC(i64 %arg1, i64 0)
%15 = add i64 %arg1, 24
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = add i64 %arg1, 32
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21)
%23 = add i64 %arg1, 12
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = load i64, i64* @gv_0, align 8
%27 = zext i32 %25 to i64
%28 = call i64 @FUNC(i64 %26, i64 %27, i64 128)
%29 = load i32, i32* %24, align 4
%30 = load i64, i64* @gv_0, align 8
%31 = zext i32 %29 to i64
%32 = call i64 @FUNC(i64 %30, i64 %31, i64 256)
%33 = add i64 %arg1, 40
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = call i64 @FUNC(i64 %35)
%37 = call i64 @FUNC(i64 %arg1)
%38 = load i32, i32* %24, align 4
%39 = call i32 @close(i32 %38)
%40 = load i64, i64* @gv_1, align 8
%41 = call i64 @FUNC(i64 %40, i64 %arg1)
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
%44 = zext i1 %43 to i64
%45 = call i64 @FUNC(i64 %44)
%46 = load i64, i64* @gv_1, align 8
%47 = call i64 @FUNC(i64 %46, i64 %41)
%48 = load i32, i32* %3, align 4
%49 = and i32 %48, 2
%50 = icmp eq i32 %49, 0
br i1 %50, label LBL_2.LBL_9_crit_edge, label LBL_4
LBL_3:
%.pre2 = add i64 %arg1, 48
%.pre3 = inttoptr i64 %.pre2 to i64*
store i64* %.pre3, i64** %.pre-phi4.reg2mem
br label LBL_9
LBL_4:
%51 = load i32, i32* @gv_2, align 4
%52 = zext i32 %51 to i64
%53 = call i64 @FUNC(i64 %52)
%54 = add i64 %arg1, 48
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = call i64 @FUNC(i64 %56)
%58 = trunc i64 %57 to i32
%59 = icmp eq i32 %58, 0
%60 = icmp eq i1 %59, false
br i1 %60, label LBL_5, label LBL_6
LBL_5:
%61 = load i64, i64* %55, align 8
%62 = call i64 @FUNC(i64 %61)
%63 = trunc i64 %62 to i32
%64 = icmp eq i32 %63, 0
%65 = icmp eq i1 %64, false
br i1 %65, label LBL_7, label LBL_8
LBL_6:
%66 = load i64, i64* @gv_3, align 8
%67 = call i64 @FUNC(i64 %66, i64 %arg1)
%68 = icmp eq i64 %67, 0
%69 = icmp eq i1 %68, false
%70 = zext i1 %69 to i64
%71 = call i64 @FUNC(i64 %70)
%72 = load i64, i64* @gv_3, align 8
%73 = call i64 @FUNC(i64 %72, i64 %67)
br label LBL_8
LBL_7:
%74 = load i64, i64* %55, align 8
%75 = call i64 @FUNC(i64 %74)
%76 = inttoptr i64 %75 to i64*
%77 = load i64, i64* %76, align 8
%78 = call i64 @FUNC(i64 %arg1, i64 %77)
%79 = load i64, i64* %55, align 8
%80 = call i64 @FUNC(i64 %79)
%81 = trunc i64 %80 to i32
%82 = icmp eq i32 %81, 0
%83 = icmp eq i1 %82, false
br i1 %83, label LBL_7, label LBL_8
LBL_8:
%84 = load i32, i32* @gv_4, align 4
%85 = add i32 %84, -1
store i32 %85, i32* @gv_4, align 4
store i64* %55, i64** %.pre-phi4.reg2mem
br label LBL_9
LBL_9:
%.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem
%86 = load i64, i64* %.pre-phi4.reload, align 8
%87 = call i64 @FUNC(i64 %86)
%88 = load i32, i32* %3, align 4
%89 = and i32 %88, 4
%90 = icmp eq i32 %89, 0
store i32 %88, i32* %.reg2mem5
br i1 %90, label LBL_14, label LBL_10
LBL_10:
%91 = add i64 %arg1, 64
%92 = inttoptr i64 %91 to i32*
%93 = load i32, i32* %92, align 4
%94 = icmp eq i32 %93, 16
%95 = icmp eq i1 %94, false
store i32 %88, i32* %.reg2mem
br i1 %95, label LBL_13, label LBL_11
LBL_11:
%96 = add i64 %arg1, 68
%97 = inttoptr i64 %96 to i32*
%98 = load i32, i32* %97, align 4
%99 = icmp eq i32 %98, -1
store i32 %88, i32* %.reg2mem
br i1 %99, label LBL_13, label LBL_12
LBL_12:
%100 = call i32 @close(i32 %98)
%.pre = load i32, i32* %3, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_13
LBL_13:
%.reload = load i32, i32* %.reg2mem
%101 = and i32 %.reload, 32
%102 = icmp eq i32 %101, 0
%global_var_404070.val = load i64, i64* @gv_5, align 8
%global_var_404078.val = load i64, i64* @gv_6, align 8
%storemerge = select i1 %102, i64 %global_var_404070.val, i64 %global_var_404078.val
%103 = call i64 @FUNC(i64 %storemerge, i64 %arg1)
%104 = icmp eq i64 %103, 0
%105 = icmp eq i1 %104, false
%106 = zext i1 %105 to i64
%107 = call i64 @FUNC(i64 %106)
%108 = call i64 @FUNC(i64 %storemerge, i64 %103)
%.pre1 = load i32, i32* %3, align 4
store i32 %.pre1, i32* %.reg2mem5
br label LBL_14
LBL_14:
%.reload6 = load i32, i32* %.reg2mem5
%109 = and i32 %.reload6, 8
%110 = icmp eq i32 %109, 0
br i1 %110, label LBL_17, label LBL_15
LBL_15:
store i64 0, i64* @gv_7, align 8
store i32 64, i32* bitcast (i64* @gv_8 to i32*), align 8
%111 = load i64, i64* @gv_5, align 8
%112 = call i64 @FUNC(i64 %111)
%113 = trunc i64 %112 to i32
%114 = icmp eq i32 %113, 0
%115 = icmp eq i1 %114, false
br i1 %115, label LBL_16, label LBL_17
LBL_16:
%116 = load i64, i64* @gv_5, align 8
%117 = call i64 @FUNC(i64 %116)
%118 = inttoptr i64 %117 to i64*
%119 = load i64, i64* %118, align 8
%120 = call i64 @FUNC(i64 %119)
%121 = load i64, i64* @gv_5, align 8
%122 = call i64 @FUNC(i64 %121)
%123 = trunc i64 %122 to i32
%124 = icmp eq i32 %123, 0
%125 = icmp eq i1 %124, false
br i1 %125, label LBL_16, label LBL_17
LBL_17:
%126 = add i64 %arg1, 56
%127 = inttoptr i64 %126 to i64*
%128 = load i64, i64* %127, align 8
%129 = call i64 @FUNC(i64 %128)
%130 = call i64 @FUNC(i64 %arg1)
%131 = call i64 @FUNC(i64 %arg1)
ret i64 %131
uselistorder i32 %88, { 2, 1, 0, 3 }
uselistorder i64* %55, { 0, 3, 2, 1, 4 }
uselistorder i32* %.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %.reg2mem5, { 0, 2, 1 }
uselistorder i64 (i64)* @zfree, { 1, 0 }
uselistorder i64* @gv_5, { 2, 3, 0, 1 }
uselistorder i32* @gv_4, { 1, 0 }
uselistorder i64 (i64)* @listFirst, { 1, 0 }
uselistorder i64 (i64)* @listLength, { 4, 1, 3, 0, 2 }
uselistorder i64 48, { 1, 0 }
uselistorder i64 (i64, i64)* @listDelNode, { 2, 1, 0 }
uselistorder i64 (i64)* @redisAssert, { 3, 2, 1, 0 }
uselistorder i1 false, { 2, 1, 3, 4, 5, 6, 0, 7, 8 }
uselistorder i64 (i64, i64)* @listSearchKey, { 2, 1, 0 }
uselistorder i32 (i32)* @close, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @aeDeleteFileEvent, { 1, 0 }
uselistorder i64 (i64)* @listRelease, { 3, 2, 1, 0 }
uselistorder i32 0, { 4, 1, 5, 6, 7, 8, 0, 9, 10, 11, 2, 3 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 6, 7, 8, 5, 10, 9, 3, 2, 4, 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 1, 21, 22, 23 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 0, 2, 1 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
BinRealVul | qemu_console_lookup_by_device_17204 | qemu_console_lookup_by_device | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge23.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%0 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4
%1 = icmp eq i32 %0, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %1, label LBL_7, label LBL_1
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge23.reg2mem
br label LBL_2
LBL_2:
%storemerge23.reload = load i32, i32* %storemerge23.reg2mem
%.reload = load i64, i64* %.reg2mem
%4 = mul i64 %.reload, 8
%5 = add i64 %4, ptrtoint (i64* @gv_0 to i64)
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_6, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0)
%10 = icmp eq i64 %9, %2
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_6, label LBL_4
LBL_4:
%12 = load i64, i64* %6, align 8
%13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, %3
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = load i64, i64* %6, align 8
store i64 %17, i64* %storemerge.reg2mem
br label LBL_7
LBL_6:
%18 = add i32 %storemerge23.reload, 1
%19 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4
%20 = zext i32 %19 to i64
%21 = sext i32 %18 to i64
%22 = icmp slt i64 %21, %20
store i64 %21, i64* %.reg2mem
store i32 %18, i32* %storemerge23.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %22, label LBL_2, label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* inttoptr (i64 4210716 to i32*), { 1, 0 }
uselistorder label LBL_7, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ff_cmap_read_palette_337 | ff_cmap_read_palette | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge3.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = trunc i64 %3 to i32
%6 = icmp slt i32 %5, 9
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = ptrtoint i32* %arg1 to i64
%8 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967295, i64* %storemerge3.reg2mem
br label LBL_5
LBL_2:
%9 = urem i32 %5, 32
%10 = shl i32 1, %9
%11 = ptrtoint i32* %arg1 to i64
%12 = add i64 %11, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = sdiv i32 %14, 3
%16 = sub i32 %10, %15
%17 = xor i32 %15, %10
%18 = xor i32 %16, %10
%19 = and i32 %18, %17
%20 = icmp slt i32 %19, 0
%21 = icmp eq i32 %16, 0
%22 = icmp slt i32 %16, 0
%23 = icmp eq i1 %22, %20
%24 = icmp eq i1 %21, false
%25 = icmp eq i1 %23, %24
%26 = select i1 %25, i32 %15, i32 %10
%27 = icmp sgt i32 %26, 0
store i64 0, i64* %storemerge3.reg2mem
br i1 %27, label LBL_3, label LBL_5
LBL_3:
%28 = ptrtoint i64* %arg2 to i64
%29 = add i64 %11, 8
%30 = inttoptr i64 %29 to i64*
%wide.trip.count = zext i32 %26 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_4
LBL_4:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%31 = load i64, i64* %30, align 8
%sext = mul i64 %indvars.iv.reload, 12884901888
%32 = ashr exact i64 %sext, 32
%33 = add i64 %32, %31
%34 = inttoptr i64 %33 to i8*
%35 = load i8, i8* %34, align 1
%36 = zext i8 %35 to i32
%37 = mul i32 %36, 65536
%38 = add i64 %33, 1
%39 = inttoptr i64 %38 to i8*
%40 = load i8, i8* %39, align 1
%41 = zext i8 %40 to i32
%42 = mul i32 %41, 256
%43 = add i64 %33, 2
%44 = inttoptr i64 %43 to i8*
%45 = load i8, i8* %44, align 1
%46 = zext i8 %45 to i32
%47 = mul i64 %indvars.iv.reload, 4
%48 = add i64 %47, %28
%49 = or i32 %37, %42
%50 = or i32 %49, %46
%51 = or i32 %50, -16777216
%52 = inttoptr i64 %48 to i32*
store i32 %51, i32* %52, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 0, i64* %storemerge3.reg2mem
br i1 %exitcond, label LBL_5, label LBL_4
LBL_5:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
ret i64 %storemerge3.reload
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i32 %16, { 1, 2, 0 }
uselistorder i32 %15, { 1, 2, 0 }
uselistorder i32 %10, { 3, 0, 1, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i32* %arg1, { 1, 0 }
} | 0 |
BinRealVul | flic_read_header_52 | flic_read_header | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
%sv_6 = alloca i64, align 8
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = bitcast i64* %arg1 to i32*
store i32 0, i32* %7, align 4
%8 = call i64 @FUNC(i64 %6, i64* nonnull %sv_6, i64 128)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 128
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %10, label LBL_1, label LBL_17
LBL_1:
%11 = call i64 @FUNC(i64* nonnull %sv_5)
%12 = call i64 @FUNC(i64* nonnull %sv_4)
%13 = call i64 @FUNC(i64 %3, i64 0)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %15, label LBL_2, label LBL_17
LBL_2:
%16 = add i64 %13, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i64 %3, 4
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 4
%21 = inttoptr i64 %13 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = load i64, i64* %21, align 8
%25 = add i64 %24, 4
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
%27 = load i64, i64* %21, align 8
%28 = add i64 %27, 8
%29 = inttoptr i64 %28 to i32*
store i32 0, i32* %29, align 4
%30 = load i64, i64* %21, align 8
%31 = call i64 @FUNC(i64* nonnull %sv_3)
%32 = trunc i64 %31 to i32
%33 = add i64 %30, 12
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = load i64, i64* %21, align 8
%36 = call i64 @FUNC(i64* nonnull %sv_2)
%37 = trunc i64 %36 to i32
%38 = add i64 %35, 16
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = load i64, i64* %21, align 8
%41 = add i64 %40, 12
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_4, label LBL_3
LBL_3:
%45 = add i64 %40, 16
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
store i64 %40, i64* %.reg2mem
br i1 %49, label LBL_5, label LBL_4
LBL_4:
%50 = ptrtoint i64* %sv_6 to i64
%51 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %50, i64 %2, i64 %1)
%52 = load i64, i64* %21, align 8
%53 = add i64 %52, 12
%54 = inttoptr i64 %53 to i32*
store i32 640, i32* %54, align 4
%55 = load i64, i64* %21, align 8
%56 = add i64 %55, 16
%57 = inttoptr i64 %56 to i32*
store i32 480, i32* %57, align 4
%.pre = load i64, i64* %21, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_5
LBL_5:
%.reload = load i64, i64* %.reg2mem
%58 = add i64 %.reload, 20
%59 = inttoptr i64 %58 to i32*
store i32 128, i32* %59, align 4
%60 = load i64, i64* %21, align 8
%61 = call i64 @FUNC(i64 128)
%62 = add i64 %60, 24
%63 = inttoptr i64 %62 to i64*
store i64 %61, i64* %63, align 8
%64 = load i64, i64* %21, align 8
%65 = add i64 %64, 24
%66 = inttoptr i64 %65 to i64*
%67 = load i64, i64* %66, align 8
%68 = load i64, i64* %sv_6, align 8
%69 = load i64, i64* %sv_3, align 8
%70 = inttoptr i64 %67 to i64*
store i64 %68, i64* %70, align 8
%71 = add i64 %67, 8
%72 = inttoptr i64 %71 to i64*
store i64 %69, i64* %72, align 8
%73 = load i64, i64* %sv_4, align 8
%74 = add i64 %67, 16
%75 = inttoptr i64 %74 to i64*
store i64 %73, i64* %75, align 8
%76 = add i64 %67, 24
%77 = inttoptr i64 %76 to i64*
%78 = add i64 %67, 32
%79 = inttoptr i64 %78 to i64*
%80 = add i64 %67, 40
%81 = inttoptr i64 %80 to i64*
%82 = add i64 %67, 48
%83 = inttoptr i64 %82 to i64*
%84 = add i64 %67, 56
%85 = inttoptr i64 %84 to i64*
%86 = add i64 %67, 64
%87 = inttoptr i64 %86 to i64*
%88 = add i64 %67, 72
%89 = inttoptr i64 %88 to i64*
%90 = add i64 %67, 80
%91 = inttoptr i64 %90 to i64*
%92 = add i64 %67, 88
%93 = inttoptr i64 %92 to i64*
%94 = add i64 %67, 96
%95 = inttoptr i64 %94 to i64*
%96 = add i64 %67, 104
%97 = inttoptr i64 %96 to i64*
%98 = add i64 %67, 112
%99 = inttoptr i64 %98 to i64*
%100 = add i64 %67, 120
%101 = inttoptr i64 %100 to i64*
%102 = ptrtoint i64* %sv_1 to i64
%103 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1, i64 16)
%104 = trunc i64 %103 to i32
%105 = icmp eq i32 %104, 16
br i1 %105, label LBL_7, label LBL_6
LBL_6:
%106 = call i64 @FUNC(i64 %3, i64 2, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %102, i64 %2, i64 %1)
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_17
LBL_7:
%107 = call i64 @FUNC(i64 %6, i64 4294967280, i64 1)
%108 = call i64 @FUNC(i64* nonnull %sv_0)
%109 = trunc i64 %108 to i32
%110 = icmp eq i32 %109, 1414809156
%111 = icmp eq i1 %110, false
br i1 %111, label LBL_10, label LBL_8
LBL_8:
%112 = call i64 @FUNC(i64 %3, i64 0)
%113 = icmp eq i64 %112, 0
%114 = icmp eq i1 %113, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %114, label LBL_9, label LBL_17
LBL_9:
%115 = add i64 %112, 8
%116 = inttoptr i64 %115 to i32*
%117 = load i32, i32* %116, align 4
%118 = inttoptr i64 %4 to i32*
store i32 %117, i32* %118, align 4
%119 = inttoptr i64 %112 to i64*
%120 = load i64, i64* %119, align 8
%121 = call i64 @FUNC(i64* nonnull %sv_1)
%122 = trunc i64 %121 to i32
%123 = add i64 %120, 32
%124 = inttoptr i64 %123 to i32*
store i32 %122, i32* %124, align 4
%125 = load i64, i64* %119, align 8
%126 = inttoptr i64 %125 to i32*
store i32 1, i32* %126, align 4
%127 = load i64, i64* %119, align 8
%128 = add i64 %127, 4
%129 = inttoptr i64 %128 to i32*
store i32 1, i32* %129, align 4
%130 = load i64, i64* %119, align 8
%131 = add i64 %130, 8
%132 = inttoptr i64 %131 to i32*
store i32 0, i32* %132, align 4
%133 = load i64, i64* %119, align 8
%134 = add i64 %133, 36
%135 = inttoptr i64 %134 to i32*
store i32 22050, i32* %135, align 4
%136 = load i64, i64* %119, align 8
%137 = add i64 %136, 40
%138 = inttoptr i64 %137 to i32*
store i32 1, i32* %138, align 4
%139 = load i64, i64* %21, align 8
%140 = add i64 %139, 36
%141 = inttoptr i64 %140 to i32*
%142 = load i32, i32* %141, align 4
%143 = load i64, i64* %119, align 8
%144 = mul i32 %142, 8
%145 = add i64 %143, 44
%146 = inttoptr i64 %145 to i32*
store i32 %144, i32* %146, align 4
%147 = load i64, i64* %119, align 8
%148 = add i64 %147, 48
%149 = inttoptr i64 %148 to i32*
store i32 8, i32* %149, align 4
%150 = load i64, i64* %119, align 8
%151 = add i64 %150, 52
%152 = inttoptr i64 %151 to i32*
store i32 0, i32* %152, align 4
%153 = load i64, i64* %119, align 8
%154 = add i64 %153, 20
%155 = inttoptr i64 %154 to i32*
store i32 0, i32* %155, align 4
%156 = load i64, i64* %119, align 8
%157 = add i64 %156, 32
%158 = inttoptr i64 %157 to i32*
%159 = load i32, i32* %158, align 4
%160 = call i64 @FUNC(i64 %13, i64 64, i32 %159, i64 22050)
%161 = call i64 @FUNC(i64 %112, i64 64, i32 1, i64 22050)
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_10:
%162 = call i64 @FUNC(i64* nonnull %sv_4)
%163 = trunc i64 %162 to i32
%164 = icmp eq i32 %163, 1
%165 = icmp eq i1 %164, false
br i1 %165, label LBL_12, label LBL_11
LBL_11:
%166 = call i64 @FUNC(i64 %13, i64 64, i32 1000, i64 70)
%167 = call i64 @FUNC(i64 %6, i64 12, i64 0)
%168 = load i64, i64* %21, align 8
%169 = add i64 %168, 24
%170 = inttoptr i64 %169 to i64*
%171 = load i64, i64* %170, align 8
%172 = call i64 @FUNC(i64 %171)
%173 = load i64, i64* %21, align 8
%174 = add i64 %173, 20
%175 = inttoptr i64 %174 to i32*
store i32 12, i32* %175, align 4
%176 = load i64, i64* %21, align 8
%177 = call i64 @FUNC(i64 12)
%178 = add i64 %176, 24
%179 = inttoptr i64 %178 to i64*
store i64 %177, i64* %179, align 8
%180 = load i64, i64* %21, align 8
%181 = add i64 %180, 24
%182 = inttoptr i64 %181 to i64*
%183 = load i64, i64* %182, align 8
%184 = inttoptr i64 %183 to i64*
%185 = call i64* @memcpy(i64* %184, i64* nonnull %sv_6, i32 12)
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_12:
%186 = trunc i64 %11 to i32
%187 = trunc i64 %12 to i32
%188 = icmp eq i32 %187, 0
%189 = icmp eq i1 %188, false
%spec.select = select i1 %189, i32 %187, i32 1000
%190 = icmp eq i32 %186, 2
%191 = icmp eq i1 %190, false
br i1 %191, label LBL_14, label LBL_13
LBL_13:
%192 = call i64 @FUNC(i64 %13, i64 64, i32 %spec.select, i64 70)
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_14:
%193 = icmp ne i32 %186, 3
%194 = icmp eq i32 %186, 4
%195 = icmp eq i1 %194, false
%or.cond = icmp eq i1 %193, %195
br i1 %or.cond, label LBL_16, label LBL_15
LBL_15:
%196 = call i64 @FUNC(i64 %13, i64 64, i32 %spec.select, i64 1000)
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_16:
%197 = call i64 @FUNC(i64 %3, i64 2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %102, i64 %2, i64 %1)
store i64 1, i64* %rax.0.reg2mem
br label LBL_17
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %spec.select, { 1, 0 }
uselistorder i32 %186, { 0, 2, 1 }
uselistorder i64 %102, { 1, 0 }
uselistorder i64 %67, { 15, 14, 13, 0, 8, 1, 11, 2, 3, 4, 5, 6, 7, 9, 10, 12 }
uselistorder i64* %21, { 2, 3, 4, 5, 1, 6, 7, 0, 8, 9, 10, 11, 12, 13, 14, 15 }
uselistorder i64 %13, { 3, 2, 1, 0, 4, 5, 6 }
uselistorder i64* %sv_6, { 0, 2, 3, 1 }
uselistorder i64* %sv_4, { 0, 2, 1 }
uselistorder i64* %sv_3, { 1, 0 }
uselistorder i64 %3, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 4, 3, 2, 1, 5, 8, 6, 7 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i32, i64)* @avpriv_set_pts_info, { 4, 3, 2, 1, 0 }
uselistorder i32 8, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 }
uselistorder i64 (i64)* @av_malloc, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }
uselistorder i1 false, { 0, 1, 7, 2, 3, 4, 5, 6, 8 }
uselistorder i64 (i64, i64)* @avformat_new_stream, { 1, 0 }
uselistorder i64 0, { 5, 6, 3, 2, 1, 11, 0, 15, 12, 7, 8, 9, 10, 16, 13, 4, 14 }
uselistorder i64 (i64*)* @AV_RL32, { 1, 0 }
uselistorder i64 (i64*)* @AV_RL16, { 4, 3, 2, 1, 0 }
uselistorder i64 4294967291, { 1, 0 }
uselistorder i32 128, { 1, 0 }
uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 }
uselistorder i32 0, { 8, 0, 1, 2, 3, 4, 5, 6, 7, 9 }
uselistorder label LBL_17, { 7, 3, 2, 1, 0, 4, 8, 5, 6 }
} | 1 |
BinRealVul | initSSL_12611 | initSSL | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = trunc i64 %1 to i32
%3 = bitcast i64* %arg1 to i32*
store i32 %2, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
store i64 0, i64* %5, align 8
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
store i64 0, i64* %7, align 8
%8 = add i64 %0, 24
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, align 4
%10 = add i64 %0, 28
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %0, 32
%13 = call i64 @FUNC(i64 %12, i64 4198681, i64 %0)
ret i64 %13
uselistorder i64 %0, { 4, 3, 2, 1, 0, 5 }
} | 1 |
BinRealVul | get_che_156 | get_che | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem30 = alloca i32
%.reg2mem28 = alloca i32
%.reg2mem26 = alloca i32
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%sext = mul i64 %arg2, 4294967296
%sext3 = mul i64 %arg3, 4294967296
%1 = add i64 %0, 4
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ashr exact i64 %sext3, 32
%7 = ashr exact i64 %sext, 28
%8 = add nsw i64 %6, %7
%9 = mul i64 %8, 8
%10 = add i64 %0, 16
%11 = add i64 %10, %9
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
store i64 %13, i64* %rax.0.reg2mem
br label LBL_32
LBL_2:
%14 = ashr exact i64 %sext, 32
%15 = add i64 %0, 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_7, label LBL_3
LBL_3:
%20 = trunc i64 %14 to i32
%21 = icmp eq i32 %20, 1
%22 = icmp eq i32 %3, 1
%23 = icmp eq i1 %21, %22
br i1 %23, label LBL_4, label LBL_7
LBL_4:
%24 = call i64 @FUNC(i64 %0)
%25 = add i64 %0, 624
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = bitcast i32* %sv_1 to i64*
%29 = call i64 @FUNC(i64 %27, i64* nonnull %sv_0, i64* nonnull %28, i64 2)
%30 = trunc i64 %29 to i32
%31 = icmp slt i32 %30, 0
%32 = icmp eq i1 %31, false
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_5, label LBL_32
LBL_5:
%33 = load i32, i32* %sv_1, align 4
%34 = zext i32 %33 to i64
%35 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 %34, i64 2, i64 0)
%36 = trunc i64 %35 to i32
%37 = icmp slt i32 %36, 0
%38 = icmp eq i1 %37, false
store i64 0, i64* %rax.0.reg2mem
br i1 %38, label LBL_6, label LBL_32
LBL_6:
store i32 2, i32* %2, align 4
br label LBL_7
LBL_7:
store i64 %0, i64* @0, align 8
store i64 0, i64* %rax.0.reg2mem
switch i64 %0, label LBL_32 [
i64 1, label LBL_7.LBL_29_crit_edge
i64 2, label LBL_25
i64 3, label LBL_25
i64 4, label LBL_7.LBL_21_crit_edge
i64 5, label LBL_7.LBL_18_crit_edge
i64 6, label LBL_7.LBL_15_crit_edge
i64 7, label LBL_12
]
LBL_8:
%.pre25 = load i32, i32* %16, align 4
store i32 %.pre25, i32* %.reg2mem30
br label LBL_29
LBL_9:
%.pre24 = load i32, i32* %16, align 4
store i32 %.pre24, i32* %.reg2mem28
br label LBL_21
LBL_10:
%.pre23 = load i32, i32* %16, align 4
store i32 %.pre23, i32* %.reg2mem26
br label LBL_18
LBL_11:
%.pre = load i32, i32* %16, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_15
LBL_12:
%39 = load i32, i32* %16, align 4
%40 = icmp eq i32 %39, 3
%41 = icmp eq i1 %40, false
store i32 %39, i32* %.reg2mem
br i1 %41, label LBL_15, label LBL_13
LBL_13:
%42 = trunc i64 %14 to i32
%43 = icmp eq i32 %42, 1
%44 = icmp eq i1 %43, false
store i32 %39, i32* %.reg2mem
br i1 %44, label LBL_15, label LBL_14
LBL_14:
%45 = add i32 %39, 1
store i32 %45, i32* %16, align 4
%46 = load i64, i64* inttoptr (i64 575 to i64*), align 8
%47 = ashr exact i64 %sext3, 29
%48 = add nsw i64 %47, 151
%49 = inttoptr i64 %48 to i64*
store i64 %46, i64* %49, align 8
store i64 %46, i64* %rax.0.reg2mem
br label LBL_32
LBL_15:
%.reload = load i32, i32* %.reg2mem
%50 = load i32, i32* %2, align 4
%51 = sext i32 %50 to i64
%52 = mul i64 %51, 4
%53 = add i64 %52, ptrtoint (i32** @gv_0 to i64)
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = add i32 %55, -1
%57 = icmp eq i32 %.reload, %56
%58 = icmp eq i1 %57, false
store i32 %.reload, i32* %.reg2mem26
br i1 %58, label LBL_18, label LBL_16
LBL_16:
%59 = trunc i64 %14 to i32
%60 = icmp ne i32 %59, 3
%61 = icmp eq i32 %59, 2
%62 = icmp eq i1 %61, false
%or.cond = icmp eq i1 %60, %62
store i32 %.reload, i32* %.reg2mem26
br i1 %or.cond, label LBL_18, label LBL_17
LBL_17:
%63 = add i32 %.reload, 1
store i32 %63, i32* %16, align 4
%64 = add i64 %0, 600
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = ashr exact i64 %sext3, 32
%68 = ashr exact i64 %sext, 28
%69 = add nsw i64 %67, %68
%70 = mul i64 %69, 8
%71 = add i64 %0, 16
%72 = add i64 %71, %70
%73 = inttoptr i64 %72 to i64*
store i64 %66, i64* %73, align 8
store i64 %66, i64* %rax.0.reg2mem
br label LBL_32
LBL_18:
%.reload27 = load i32, i32* %.reg2mem26
%74 = icmp eq i32 %.reload27, 2
%75 = icmp eq i1 %74, false
store i32 %.reload27, i32* %.reg2mem28
br i1 %75, label LBL_21, label LBL_19
LBL_19:
%76 = trunc i64 %14 to i32
%77 = icmp eq i32 %76, 1
%78 = icmp eq i1 %77, false
store i32 %.reload27, i32* %.reg2mem28
br i1 %78, label LBL_21, label LBL_20
LBL_20:
%79 = add i32 %.reload27, 1
store i32 %79, i32* %16, align 4
%80 = add i64 %0, 560
%81 = inttoptr i64 %80 to i64*
%82 = load i64, i64* %81, align 8
%83 = ashr exact i64 %sext3, 29
%84 = add i64 %0, 144
%85 = add i64 %84, %83
%86 = inttoptr i64 %85 to i64*
store i64 %82, i64* %86, align 8
store i64 %82, i64* %rax.0.reg2mem
br label LBL_32
LBL_21:
%.reload29 = load i32, i32* %.reg2mem28
%87 = icmp eq i32 %.reload29, 2
%88 = icmp eq i1 %87, false
br i1 %88, label LBL_25, label LBL_22
LBL_22:
%89 = load i32, i32* %2, align 4
%90 = icmp eq i32 %89, 4
%91 = icmp eq i1 %90, false
br i1 %91, label LBL_25, label LBL_23
LBL_23:
%92 = trunc i64 %14 to i32
%93 = icmp eq i32 %92, 2
%94 = icmp eq i1 %93, false
br i1 %94, label LBL_25, label LBL_24
LBL_24:
%95 = add i32 %.reload29, 1
store i32 %95, i32* %16, align 4
%96 = add i64 %0, 584
%97 = inttoptr i64 %96 to i64*
%98 = load i64, i64* %97, align 8
%99 = ashr exact i64 %sext3, 29
%100 = add i64 %0, 272
%101 = add i64 %100, %99
%102 = inttoptr i64 %101 to i64*
store i64 %98, i64* %102, align 8
store i64 %98, i64* %rax.0.reg2mem
br label LBL_32
LBL_25:
%103 = load i32, i32* %16, align 4
%104 = load i32, i32* %2, align 4
%105 = icmp eq i32 %104, 2
%106 = icmp eq i1 %105, false
%107 = zext i1 %106 to i32
%108 = icmp eq i32 %103, %107
%109 = icmp eq i1 %108, false
br i1 %109, label LBL_28, label LBL_26
LBL_26:
%110 = trunc i64 %14 to i32
%111 = icmp eq i32 %110, 1
%112 = icmp eq i1 %111, false
br i1 %112, label LBL_28, label LBL_27
LBL_27:
%113 = add i32 %103, 1
store i32 %113, i32* %16, align 4
%114 = add i64 %0, 552
%115 = inttoptr i64 %114 to i64*
%116 = load i64, i64* %115, align 8
%117 = ashr exact i64 %sext3, 29
%118 = add i64 %0, 144
%119 = add i64 %118, %117
%120 = inttoptr i64 %119 to i64*
store i64 %116, i64* %120, align 8
store i64 %116, i64* %rax.0.reg2mem
br label LBL_32
LBL_28:
store i32 %103, i32* %.reg2mem30
store i64 0, i64* %rax.0.reg2mem
br i1 %106, label LBL_29, label LBL_32
LBL_29:
%.reload31 = load i32, i32* %.reg2mem30
%121 = icmp eq i32 %.reload31, 0
%122 = icmp eq i1 %121, false
store i64 0, i64* %rax.0.reg2mem
br i1 %122, label LBL_32, label LBL_30
LBL_30:
%123 = trunc i64 %14 to i32
%124 = icmp eq i32 %123, 2
%125 = icmp eq i1 %124, false
store i64 0, i64* %rax.0.reg2mem
br i1 %125, label LBL_32, label LBL_31
LBL_31:
%126 = add i32 %.reload31, 1
store i32 %126, i32* %16, align 4
%127 = add i64 %0, 576
%128 = inttoptr i64 %127 to i64*
%129 = load i64, i64* %128, align 8
%130 = ashr exact i64 %sext3, 29
%131 = add i64 %0, 272
%132 = add i64 %131, %130
%133 = inttoptr i64 %132 to i64*
store i64 %129, i64* %133, align 8
store i64 %129, i64* %rax.0.reg2mem
br label LBL_32
LBL_32:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.reload27, { 2, 1, 0, 3 }
uselistorder i32 %.reload, { 2, 1, 0, 3 }
uselistorder i32 %39, { 2, 1, 0, 3 }
uselistorder i32* %16, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12 }
uselistorder i64 %14, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32* %2, { 3, 2, 1, 0, 4 }
uselistorder i64 %sext3, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %sext, { 2, 0, 1 }
uselistorder i64 %0, { 0, 13, 1, 12, 2, 11, 3, 10, 4, 9, 6, 14, 7, 8, 16, 15, 5, 17 }
uselistorder i32* %.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %.reg2mem26, { 0, 2, 1, 3 }
uselistorder i32* %.reg2mem28, { 0, 2, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 13, 3, 2, 4, 12, 11, 10, 9, 8, 1, 5, 6, 7 }
uselistorder i32 2, { 1, 2, 3, 4, 5, 0, 6 }
uselistorder i64 2, { 2, 0, 1 }
uselistorder i64 8, { 0, 2, 1 }
uselistorder i64 32, { 0, 2, 1 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 12, 13, 14, 15, 16, 17 }
uselistorder label LBL_32, { 6, 2, 1, 3, 7, 8, 9, 10, 11, 0, 4, 5, 12 }
uselistorder label LBL_29, { 1, 0 }
uselistorder label LBL_21, { 1, 2, 0 }
uselistorder label LBL_18, { 1, 2, 0 }
uselistorder label LBL_15, { 1, 2, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
} | 1 |
BinRealVul | privsep_read_loop_7785 | privsep_read_loop | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i1
%2 = load i64, i64* %1
%3 = load i64, i64* %1
%sv_0 = alloca i64, align 8
%4 = load i128, i128* %0
%sv_1 = alloca i32, align 4
%5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%6 = zext i32 %5 to i64
%7 = bitcast i32* %sv_1 to i64*
%8 = call i64 @FUNC(i64 %6, i64* nonnull %7, i64 24)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp slt i32 %9, 0
%12 = icmp eq i1 %11, false
%13 = icmp eq i1 %10, false
%14 = icmp eq i1 %12, %13
store i1 %12, i1* %.lcssa.reg2mem
br i1 %14, label LBL_1, label LBL_2
LBL_1:
%15 = trunc i128 %4 to i32
%.off = add i32 %15, -1
%16 = icmp ult i32 %.off, 255
%17 = trunc i128 %4 to i64
%18 = ptrtoint i64* %sv_0 to i64
%19 = and i64 %17, 4294967295
%.off4 = add i32 %15, -1280
%20 = icmp ult i32 %.off4, 221
%21 = icmp ult i32 %15, 3600001
%22 = mul nuw nsw i64 %19, 274877907
%23 = udiv i64 %22, 274877906944
%24 = mul nuw nsw i64 %23, 100
store i32 %9, i32* %.reg2mem
br label LBL_6
LBL_2:
%25 = ptrtoint i32* %sv_1 to i64
%.lcssa.reload = load i1, i1* %.lcssa.reg2mem
br i1 %.lcssa.reload, label LBL_4, label LBL_3
LBL_3:
%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(i64 3, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %25, i64 %3, i64 %2)
br label LBL_5
LBL_4:
%31 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64 24, i64 %25, i64 %3, i64 %2)
br label LBL_5
LBL_5:
%32 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%33 = call i32 @close(i32 %32)
call void @_exit(i32 0)
unreachable
LBL_6:
%.reload = load i32, i32* %.reg2mem
%34 = icmp eq i32 %.reload, 24
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_24, label LBL_7
LBL_7:
%36 = load i32, i32* %sv_1, align 4
%37 = icmp eq i32 %36, 4
br i1 %37, label LBL_20, label LBL_8
LBL_8:
%38 = icmp sgt i32 %36, 4
br i1 %38, label LBL_24, label LBL_9
LBL_9:
switch i32 %36, label LBL_24 [
i32 3, label LBL_16
i32 1, label LBL_10
i32 2, label LBL_13
]
LBL_10:
br i1 %20, label LBL_12, label LBL_11
LBL_11:
%39 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %19, i64 %3, i64 %2)
br label LBL_24
LBL_12:
%40 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i64 %19)
br label LBL_24
LBL_13:
br i1 %16, label LBL_15, label LBL_14
LBL_14:
%41 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_6, i64 0, i64 0), i64 %18, i64 %19, i64 %3, i64 %2)
br label LBL_24
LBL_15:
%42 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_8, i64 0, i64 0), i64 %19)
br label LBL_24
LBL_16:
br i1 %21, label LBL_18, label LBL_17
LBL_17:
%43 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_9, i64 0, i64 0), i64 %18, i64 %19, i64 %3, i64 %2)
br label LBL_24
LBL_18:
%44 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_11, i64 0, i64 0), i64 %19)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_24, label LBL_19
LBL_19:
%47 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_13, i64 0, i64 0), i64 %23)
br label LBL_24
LBL_20:
br i1 %21, label LBL_22, label LBL_21
LBL_21:
%48 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_14, i64 0, i64 0), i64 %18, i64 %19, i64 %3, i64 %2)
br label LBL_24
LBL_22:
%49 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_15, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_16, i64 0, i64 0), i64 %19)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_24, label LBL_23
LBL_23:
%52 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_15, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_17, i64 0, i64 0), i64 %24)
br label LBL_24
LBL_24:
%53 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%54 = zext i32 %53 to i64
%55 = call i64 @FUNC(i64 %54, i64* nonnull %7, i64 24)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
%58 = icmp slt i32 %56, 0
%59 = icmp eq i1 %58, false
%60 = icmp eq i1 %57, false
%61 = icmp eq i1 %59, %60
store i1 %59, i1* %.lcssa.reg2mem
store i32 %56, i32* %.reg2mem
br i1 %61, label LBL_6, label LBL_2
uselistorder i32 %56, { 0, 2, 1 }
uselistorder i64 %25, { 1, 0 }
uselistorder i64 %19, { 0, 1, 2, 4, 7, 8, 5, 6, 3 }
uselistorder i64 %18, { 0, 1, 3, 2 }
uselistorder i64* %7, { 1, 0 }
uselistorder i32* %sv_1, { 1, 0, 2 }
uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }
uselistorder i1* %.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %1, { 1, 0 }
uselistorder i64 (i64*, i8*, i8*, i64)* @set_interface_var, { 5, 4, 3, 2, 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @flog, { 5, 4, 3, 2, 1, 0 }
uselistorder i1 false, { 4, 2, 3, 0, 1 }
uselistorder i32 0, { 5, 6, 3, 4, 2, 0, 1 }
uselistorder i64 (i64, i64*, i64)* @readn, { 1, 0 }
uselistorder i64 24, { 2, 1, 0 }
uselistorder i32* bitcast (i64* @gv_0 to i32*), { 2, 1, 0 }
uselistorder label LBL_24, { 7, 8, 6, 5, 12, 4, 3, 2, 1, 0, 10, 9, 11 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | load_reg_15200 | load_reg | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = and i64 %arg2, 4294967295
%3 = call i64 @FUNC(i64 %0, i64 %2)
ret i64 %3
} | 1 |
BinRealVul | bgp_attr_aigp_valid_13314 | bgp_attr_aigp_valid | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.013.reg2mem = alloca i32*
%sv_1.014.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%sv_2 = alloca i32, align 4
%5 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%6 = ashr exact i64 %sext, 32
%7 = icmp sgt i32 %5, 2
br i1 %7, label LBL_1, label LBL_3
LBL_1:
%8 = trunc i64 %6 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 1, i64* %rax.0.reg2mem
br i1 %10, label LBL_2, label LBL_11
LBL_2:
%11 = bitcast i32* %sv_2 to i64*
store i32 %8, i32* %.reg2mem
store i64 %6, i64* %sv_1.014.reg2mem
store i32* %arg1, i32** %sv_0.013.reg2mem
br label LBL_4
LBL_3:
%12 = and i64 %6, 4294967295
%13 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %3, i64 %4, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_4:
%sv_0.013.reload = load i32*, i32** %sv_0.013.reg2mem
%sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem
%14 = bitcast i32* %sv_0.013.reload to i8*
%15 = load i8, i8* %14, align 1
%16 = ptrtoint i32* %sv_0.013.reload to i64
%17 = add i64 %16, 1
%18 = call i64 @FUNC(i64 %17, i64* nonnull %11)
%19 = load i32, i32* %sv_2, align 4
%20 = urem i32 %19, 65536
%21 = zext i32 %20 to i64
%22 = icmp slt i64 %sv_1.014.reload, %21
br i1 %22, label LBL_5, label LBL_6
LBL_5:
%23 = and i64 %sv_1.014.reload, 4294967295
%24 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %21, i64 %4, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_6:
%25 = trunc i32 %19 to i16
%26 = icmp ult i16 %25, 3
br i1 %26, label LBL_7, label LBL_8
LBL_7:
%27 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %17, i64 %4, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_8:
%28 = icmp eq i8 %15, 1
%29 = icmp eq i1 %28, false
%30 = icmp eq i16 %25, 4
%or.cond = or i1 %29, %30
br i1 %or.cond, label LBL_10, label LBL_9
LBL_9:
%31 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([7 x i8]* @gv_4 to i64), i64 %21, i64 %4, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_10:
%.reload = load i32, i32* %.reg2mem
%32 = add i64 %21, %16
%33 = inttoptr i64 %32 to i32*
%34 = sub i32 %.reload, %20
%35 = sext i32 %34 to i64
%36 = icmp eq i32 %34, 0
%37 = icmp eq i1 %36, false
store i32 %34, i32* %.reg2mem
store i64 %35, i64* %sv_1.014.reg2mem
store i32* %33, i32** %sv_0.013.reg2mem
store i64 1, i64* %rax.0.reg2mem
br i1 %37, label LBL_4, label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %21, { 3, 2, 1, 0, 4 }
uselistorder i32 %20, { 1, 0 }
uselistorder i32 %19, { 1, 0 }
uselistorder i64 %sv_1.014.reload, { 1, 0 }
uselistorder i32* %sv_0.013.reload, { 1, 0 }
uselistorder i64 %6, { 2, 0, 1 }
uselistorder i64 %4, { 3, 2, 1, 0 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.014.reg2mem, { 1, 0, 2 }
uselistorder i32** %sv_0.013.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 5, 6, 3, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @zlog_err, { 3, 2, 1, 0 }
uselistorder i64 1, { 0, 2, 1, 3 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_11, { 0, 2, 3, 4, 5, 1 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | atalk_destroy_socket_10505 | atalk_destroy_socket | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1)
%2 = call i64 @FUNC(i64 %arg1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %arg1, 8
%6 = call i64 @FUNC(i64 %5, i64 4198787, i64 %arg1)
%7 = load i64, i64* @gv_0, align 8
%8 = add i64 %7, 5
%9 = inttoptr i64 %5 to i64*
store i64 %8, i64* %9, align 8
%10 = call i64 @FUNC(i64 %5)
store i64 %10, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%11 = call i64 @FUNC(i64 %arg1)
store i64 %11, 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 %arg1, { 0, 2, 1, 3, 4, 5 }
} | 0 |
BinRealVul | png_write_gAMA_10206 | png_write_gAMA | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%storemerge.reg2mem = alloca i64
%1 = load i128, i128* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%2 = icmp ult i64* %sv_1, inttoptr (i64 32 to i64*)
%3 = call i64 @FUNC(i128 %1)
%4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))
%5 = call i128 @__asm_movsd.1(i64 %3)
%6 = call i128 @__asm_movsd.1(i64 4681608360884174848)
%7 = call i128 @FUNC(i128 %5, i128 %6)
%8 = call i128 @__asm_movsd.1(i64 4602678819172646912)
%9 = call i128 @FUNC(i128 %8, i128 %7)
%10 = load i128, i128* @gv_1, align 8
call void @FUNC(i128 %9, i128 %10)
%11 = icmp eq i1 %2, false
br i1 %11, label LBL_2, label LBL_1
LBL_1:
%12 = call i64 @FUNC(i128 %9)
store i64 %12, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%13 = trunc i128 %10 to i64
%14 = call i128 @__asm_movsd.1(i64 %13)
%15 = call i128 @FUNC(i128 %9, i128 %14)
%16 = call i64 @FUNC(i128 %15)
%17 = xor i64 %16, -9223372036854775808
store i64 %17, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %storemerge.reload)
%19 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 4)
ret i64 %19
uselistorder i128 %9, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 5, 4, 3, 0, 2, 1 }
} | 0 |
BinRealVul | bmpr_read_rle_6658 | bmpr_read_rle | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 1
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %2, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 8
br i1 %9, label LBL_5, label LBL_2
LBL_2:
%10 = icmp eq i32 %3, 2
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = add i64 %2, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 4
br i1 %15, label LBL_5, label LBL_4
LBL_4:
%16 = add i64 %2, 24
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_5:
%20 = add i64 %2, 8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = add i64 %2, 24
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0))
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_7:
%28 = add i64 %2, 16
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = inttoptr i64 %30 to i32*
store i32 3, i32* %31, align 4
%32 = load i64, i64* %29, align 8
%33 = add i64 %32, 4
%34 = inttoptr i64 %33 to i32*
store i32 8, i32* %34, align 4
%35 = add i64 %2, 12
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = load i64, i64* %29, align 8
%39 = zext i32 %37 to i64
%40 = call i64 @FUNC(i64 %39, i64 32)
%41 = trunc i64 %40 to i32
%42 = add i64 %38, 8
%43 = inttoptr i64 %42 to i32*
store i32 %41, i32* %43, align 4
%44 = load i64, i64* %29, align 8
%45 = add i64 %44, 24
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i64 %44, 8
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = add i64 %2, 24
%52 = inttoptr i64 %51 to i64*
%53 = load i64, i64* %52, align 8
%54 = zext i32 %50 to i64
%55 = call i64 @FUNC(i64 %53, i64 %54, i32 %47)
%56 = add i64 %44, 16
%57 = inttoptr i64 %56 to i64*
store i64 %55, i64* %57, align 8
%58 = load i64, i64* %29, align 8
%59 = add i64 %58, 16
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = icmp eq i64 %61, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %62, label LBL_11, label LBL_8
LBL_8:
%63 = call i64 @FUNC(i64 %2)
%64 = trunc i64 %63 to i32
%65 = icmp eq i32 %64, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %65, label LBL_11, label LBL_9
LBL_9:
%66 = load i64, i64* %29, align 8
%67 = call i64 @FUNC(i64 %66)
%68 = trunc i64 %67 to i32
%69 = icmp eq i32 %68, 0
%70 = icmp eq i1 %69, false
store i64 1, i64* %sv_0.0.reg2mem
br i1 %70, label LBL_11, label LBL_10
LBL_10:
%71 = load i64, i64* %29, align 8
%72 = call i64 @FUNC(i64 %71)
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_11:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %2, { 1, 2, 3, 6, 5, 4, 8, 7, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 4, 5, 3, 6 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 (i64, i8*)* @iw_set_error, { 1, 0 }
uselistorder i32 8, { 1, 0 }
uselistorder label LBL_11, { 1, 0, 2, 3, 4, 5 }
} | 0 |
BinRealVul | vmstate_n_elems_2194 | vmstate_n_elems | define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = urem i32 %2, 2
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i32* %arg2 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
store i32 %8, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_2:
%9 = and i32 %2, 2
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = ptrtoint i32* %arg2 to i64
%12 = add i64 %11, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = sext i32 %14 to i64
%16 = add i64 %15, %arg1
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
store i32 %18, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_4:
%19 = and i32 %2, 4
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_6, label LBL_5
LBL_5:
%21 = ptrtoint i32* %arg2 to i64
%22 = add i64 %21, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = sext i32 %24 to i64
%26 = add i64 %25, %arg1
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
store i32 %28, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_6:
%29 = and i32 %2, 8
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_8, label LBL_7
LBL_7:
%31 = ptrtoint i32* %arg2 to i64
%32 = add i64 %31, 8
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = sext i32 %34 to i64
%36 = add i64 %35, %arg1
%37 = inttoptr i64 %36 to i16*
%38 = load i16, i16* %37, align 2
%39 = zext i16 %38 to i32
store i32 %39, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_8:
%40 = and i32 %2, 16
%41 = icmp eq i32 %40, 0
store i32 1, i32* %sv_0.0.reg2mem
br i1 %41, label LBL_10, label LBL_9
LBL_9:
%42 = ptrtoint i32* %arg2 to i64
%43 = add i64 %42, 8
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = sext i32 %45 to i64
%47 = add i64 %46, %arg1
%48 = inttoptr i64 %47 to i8*
%49 = load i8, i8* %48, align 1
%50 = zext i8 %49 to i32
store i32 %50, i32* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%51 = zext i32 %sv_0.0.reload to i64
ret i64 %51
uselistorder i32 %2, { 4, 3, 2, 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1 }
uselistorder i32* %arg2, { 4, 3, 2, 1, 0 }
} | 0 |
BinRealVul | alloc_temp_1700 | alloc_temp | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp sgt i32 %3, 23
%5 = add i64 %2, 4
%6 = inttoptr i64 %5 to i32*
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%7 = add i64 %2, 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%8 = load i32, i32* %6, align 4
%9 = add i32 %8, 16
%10 = sext i32 %9 to i64
%11 = call i64 @FUNC(i64 %10)
%12 = mul i64 %indvars.iv.reload, 8
%13 = add i64 %7, %12
%14 = inttoptr i64 %13 to i64*
store i64 %11, i64* %14, align 8
%15 = icmp eq i64 %11, 0
%16 = icmp eq i1 %15, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %16, label LBL_3, label LBL_6
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%17 = icmp ult i64 %indvars.iv.next, 3
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %17, label LBL_2, label LBL_5
LBL_4:
%18 = load i32, i32* %6, align 4
%19 = mul i32 %18, 4
%20 = add i32 %19, 16
%21 = sext i32 %20 to i64
%22 = call i64 @FUNC(i64 %21)
%23 = add i64 %2, 8
%24 = inttoptr i64 %23 to i64*
store i64 %22, i64* %24, align 8
%25 = icmp eq i64 %22, 0
%26 = icmp eq i1 %25, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %26, label LBL_5, label LBL_6
LBL_5:
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %6, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | tcp_sockclosed_228 | tcp_sockclosed | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32*
%1 = load i64, i64* %0
%2 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32* %arg1)
%4 = sext i32 %3 to i64
%5 = icmp eq i32* %arg1, null
store i64 %4, i64* %rax.0.reg2mem
br i1 %5, label LBL_9, label LBL_1
LBL_1:
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 5
br i1 %7, label LBL_7, label LBL_2
LBL_2:
%8 = icmp sgt i32 %6, 5
store i32* %arg1, i32** %sv_0.0.reg2mem
br i1 %8, label LBL_8, label LBL_3
LBL_3:
%9 = icmp sgt i32 %6, 2
br i1 %9, label LBL_6, label LBL_4
LBL_4:
%10 = icmp slt i32 %6, 0
%11 = icmp eq i1 %10, false
store i32* %arg1, i32** %sv_0.0.reg2mem
br i1 %11, label LBL_5, label LBL_8
LBL_5:
store i32 0, i32* %arg1, align 4
%12 = ptrtoint i32* %arg1 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = inttoptr i64 %13 to i32*
store i32* %14, i32** %sv_0.0.reg2mem
br label LBL_8
LBL_6:
store i32 6, i32* %arg1, align 4
store i32* %arg1, i32** %sv_0.0.reg2mem
br label LBL_8
LBL_7:
store i32 7, i32* %arg1, align 4
store i32* %arg1, i32** %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem
%15 = ptrtoint i32* %sv_0.0.reload to i64
%16 = call i64 @FUNC(i64 %15)
store i64 %16, 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 %6, { 3, 2, 1, 0 }
uselistorder i32** %sv_0.0.reg2mem, { 0, 5, 3, 2, 1, 4 }
uselistorder i32 5, { 1, 0 }
uselistorder i32* %arg1, { 3, 7, 1, 6, 5, 4, 0, 2, 8, 9 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 3, 0, 4 }
} | 0 |
reposvul_c_test | getimmed8_45 | getimmed8 | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i32
%sv_0.02.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i32
%0 = call i64 @FUNC(i64 %arg1)
%1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%2 = icmp eq i32 %1, 0
store i32 0, i32* %rax.0.shrunk.reg2mem
br i1 %2, label LBL_1, label LBL_6
LBL_1:
%3 = trunc i64 %0 to i32
%4 = icmp ult i32 %3, 256
store i32 1, i32* %storemerge3.reg2mem
store i32 %3, i32* %sv_0.02.reg2mem
store i32 %3, i32* %rax.0.shrunk.reg2mem
br i1 %4, label LBL_6, label LBL_2
LBL_2:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%5 = mul i32 %sv_0.02.reload, 4
%6 = udiv i32 %sv_0.02.reload, 1073741824
%7 = or i32 %6, %5
%8 = and i32 %sv_0.02.reload, 1073741760
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = mul i32 %storemerge3.reload, 256
%12 = or i32 %7, %11
store i32 %12, i32* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_4:
%13 = add nuw nsw i32 %storemerge3.reload, 1
%14 = icmp ult i32 %13, 16
store i32 %13, i32* %storemerge3.reg2mem
store i32 %7, i32* %sv_0.02.reg2mem
br i1 %14, label LBL_2, label LBL_5
LBL_5:
store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 0, i32* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_6:
%rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem
%rax.0 = zext i32 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 4, 1, 2 }
uselistorder label LBL_6, { 3, 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | tb_find_fast_18657 | tb_find_fast | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = add i64 %0, 2600
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = and i64 %3, 24
%5 = add i64 %0, 216
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
%9 = mul i64 %8, 8
%10 = add i64 %0, 424
%11 = add i64 %10, %9
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_4, label LBL_1
LBL_1:
%17 = inttoptr i64 %13 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %7, %18
%20 = icmp eq i1 %19, false
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_2, label LBL_4
LBL_2:
%22 = add i64 %13, 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = icmp eq i64 %24, 0
%26 = icmp eq i1 %25, false
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_3, label LBL_4
LBL_3:
%28 = add i64 %13, 16
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = icmp eq i64 %4, %30
%32 = icmp eq i1 %31, false
%33 = icmp eq i1 %32, false
store i64 %13, i64* %sv_0.0.reg2mem
br i1 %33, label LBL_6, label LBL_4
LBL_4:
%34 = call i64 @FUNC(i64 %7, i64 0, i64 %4)
%35 = load i32, i32* @gv_1, align 4
%36 = icmp eq i32 %35, 0
store i64 %34, i64* %sv_0.0.reg2mem
br i1 %36, label LBL_6, label LBL_5
LBL_5:
store i64 0, i64* @gv_2, align 8
store i64 %34, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder i1 false, { 0, 4, 1, 5, 2, 6, 7, 3 }
uselistorder i64 8, { 1, 0 }
uselistorder label LBL_4, { 3, 2, 0, 1 }
} | 1 |
BinRealVul | handle_allowall_9901 | handle_allowall | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.in.reg2mem = alloca i16
%0 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = call i32 @ntohl(i32 %4)
%6 = call i64 @FUNC(i64* nonnull %sv_0, i32 %5, i64 1, i64 1)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i16 @htons(i16 0)
%10 = bitcast i64* %arg2 to i16*
store i16 %9, i16* %10, align 2
store i16 %9, i16* %rax.0.in.reg2mem
br label LBL_3
LBL_2:
%11 = call i16 @htons(i16 1)
%12 = bitcast i64* %arg2 to i16*
store i16 %11, i16* %12, align 2
store i16 %11, i16* %rax.0.in.reg2mem
br label LBL_3
LBL_3:
%rax.0.in.reload = load i16, i16* %rax.0.in.reg2mem
%rax.0 = sext i16 %rax.0.in.reload to i64
ret i64 %rax.0
uselistorder i16* %rax.0.in.reg2mem, { 0, 2, 1 }
uselistorder i16 (i16)* @htons, { 1, 0 }
uselistorder i64 1, { 2, 1, 0 }
} | 0 |
BinRealVul | vmx_set_msr_11859 | vmx_set_msr | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = load i64, i64* %0
%5 = trunc i64 %arg2 to i32
%6 = call i64 @FUNC(i64 %3)
%7 = icmp eq i32 %5, -1073741567
br i1 %7, label LBL_19, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 4294967296
%8 = ashr exact i64 %sext, 32
%9 = trunc i64 %8 to i32
%10 = icmp ult i32 %9, -1073741566
br i1 %10, label LBL_2, label LBL_27
LBL_2:
%11 = icmp eq i32 %9, -1073741568
br i1 %11, label LBL_18, label LBL_3
LBL_3:
%12 = icmp ult i32 %9, -1073741567
br i1 %12, label LBL_4, label LBL_27
LBL_4:
%13 = icmp eq i32 %9, -1073741696
br i1 %13, label LBL_17, label LBL_5
LBL_5:
%14 = icmp ult i32 %9, -1073741695
br i1 %14, label LBL_6, label LBL_27
LBL_6:
%15 = icmp eq i32 %9, 631
br i1 %15, label LBL_25, label LBL_7
LBL_7:
%16 = icmp ult i32 %9, 632
br i1 %16, label LBL_8, label LBL_27
LBL_8:
%17 = icmp eq i32 %9, 118
br i1 %17, label LBL_22, label LBL_9
LBL_9:
%18 = icmp ult i32 %9, 119
br i1 %18, label LBL_10, label LBL_27
LBL_10:
%19 = icmp eq i32 %9, 117
br i1 %19, label LBL_21, label LBL_11
LBL_11:
%20 = icmp ult i32 %9, 118
br i1 %20, label LBL_12, label LBL_27
LBL_12:
%21 = icmp eq i32 %9, 116
br i1 %21, label LBL_20, label LBL_13
LBL_13:
%22 = icmp ult i32 %9, 117
br i1 %22, label LBL_14, label LBL_27
LBL_14:
%23 = icmp ult i32 %9, 16
br i1 %23, label LBL_15, label LBL_16
LBL_15:
%24 = icmp ult i32 %9, 12
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_24, label LBL_27
LBL_16:
%26 = icmp eq i32 %9, 16
br i1 %26, label LBL_23, label LBL_27
LBL_17:
%27 = call i64 @FUNC(i64 %6)
%28 = and i64 %8, 4294967295
%29 = call i64 @FUNC(i64 %3, i64 %28, i64 %arg3)
store i64 %29, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_18:
%30 = call i64 @FUNC(i64 0, i64 %arg3)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_19:
%31 = call i64 @FUNC(i64 1, i64 %arg3)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_20:
%32 = and i64 %arg3, 4294967295
%33 = call i64 @FUNC(i64 2, i64 %32)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_21:
%34 = call i64 @FUNC(i64 3, i64 %arg3)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_22:
%35 = call i64 @FUNC(i64 4, i64 %arg3)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_23:
%36 = call i64 @FUNC(i64 %4)
%37 = call i64 @FUNC(i64 %arg3, i64 %4)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_24:
%38 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i32 %9, i64 %arg3, i64 %2, i64 %1)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_25:
%39 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8
%40 = urem i32 %39, 2
%41 = icmp eq i32 %40, 0
br i1 %41, label LBL_27, label LBL_26
LBL_26:
%42 = call i64 @FUNC(i64 5, i64 %arg3)
store i64 %arg3, i64* %arg1, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_27:
%43 = call i64 @FUNC(i64 %6)
%44 = and i64 %8, 4294967295
%45 = call i64 @FUNC(i64 %6, i64 %44)
%46 = icmp eq i64 %45, 0
br i1 %46, label LBL_29, label LBL_28
LBL_28:
%47 = inttoptr i64 %45 to i64*
store i64 %arg3, i64* %47, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_29:
%48 = call i64 @FUNC(i64 %3, i64 %44, i64 %arg3)
store i64 %48, i64* %sv_0.0.reg2mem
br label LBL_30
LBL_30:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%49 = and i64 %sv_0.0.reload, 4294967295
ret i64 %49
uselistorder i32 %9, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }
uselistorder i64 %6, { 1, 0, 2 }
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 7, 6, 2, 1, 5, 4, 3, 11, 10, 9 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @vmcs_writel, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @kvm_set_msr_common, { 1, 0 }
uselistorder i64 (i64)* @vmx_load_host_state, { 1, 0 }
uselistorder i64 %arg3, { 8, 7, 6, 5, 1, 0, 4, 3, 2, 11, 10, 9 }
uselistorder label LBL_27, { 9, 0, 1, 2, 3, 4, 5, 6, 7, 8 }
} | 1 |
BinRealVul | use_normal_update_speed_15699 | use_normal_update_speed | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.1.lcssa.reg2mem = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem39 = alloca i64
%.reg2mem37 = alloca i64
%storemerge1216.reg2mem = alloca i32
%.reg2mem35 = alloca i64
%.reg2mem33 = alloca i64
%storemerge815.reg2mem = alloca i32
%.reg2mem31 = alloca i64
%storemerge18.reg2mem = alloca i32
%.reg2mem29 = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 30
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i32*
store i32 8, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %6, %1
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = icmp slt i32 %9, 0
%12 = icmp eq i1 %11, false
store i64 %10, i64* %rax.1.lcssa.reg2mem
br i1 %12, label LBL_1, label LBL_8
LBL_1:
%13 = add i64 %0, 24
%14 = inttoptr i64 %13 to i64*
%15 = ashr exact i64 %sext, 29
%16 = add i64 %0, 16
%17 = inttoptr i64 %16 to i32*
%.pre = load i64, i64* %14, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %.pre, i64* %.reg2mem29
store i32 %9, i32* %storemerge18.reg2mem
br label LBL_2
LBL_2:
%storemerge18.reload = load i32, i32* %storemerge18.reg2mem
%.reload = load i64, i64* %.reg2mem
%18 = sext i32 %storemerge18.reload to i64
%19 = mul i64 %18, 16
%20 = load i32, i32* %17, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_4, label LBL_3
LBL_3:
%.reload30 = load i64, i64* %.reg2mem29
%22 = add i64 %.reload30, %15
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = or i64 %19, 4
%26 = add i64 %25, %24
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = add i64 %19, %24
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = icmp eq i32 %31, 0
store i64 %29, i64* %.reg2mem31
store i32 0, i32* %storemerge815.reg2mem
store i64 %.reload, i64* %.reg2mem37
store i64 %.reload30, i64* %.reg2mem39
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_7, label LBL_5
LBL_4:
%33 = add i64 %.reload, %15
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %35, %19
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp eq i32 %38, 0
store i64 0, i64* %.reg2mem33
store i64 %36, i64* %.reg2mem35
store i32 0, i32* %storemerge1216.reg2mem
store i64 %.reload, i64* %.reg2mem37
store i64 %.reload, i64* %.reg2mem39
store i64 0, i64* %rax.0.reg2mem
br i1 %39, label LBL_7, label LBL_6
LBL_5:
%storemerge815.reload = load i32, i32* %storemerge815.reg2mem
%.reload32 = load i64, i64* %.reg2mem31
%40 = add i64 %.reload32, 8
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = add i32 %storemerge815.reload, %28
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 4
%46 = add i64 %45, %42
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = icmp slt i32 %48, 0
%50 = zext i1 %49 to i32
%51 = add i32 %48, %50
%52 = ashr i32 %51, 1
store i32 %52, i32* %47, align 4
%53 = add i32 %storemerge815.reload, 1
%54 = load i64, i64* %14, align 8
%55 = add i64 %54, %15
%56 = inttoptr i64 %55 to i64*
%57 = load i64, i64* %56, align 8
%58 = add i64 %57, %19
%59 = inttoptr i64 %58 to i32*
%60 = load i32, i32* %59, align 4
%61 = zext i32 %60 to i64
%62 = sext i32 %53 to i64
%63 = icmp slt i64 %62, %61
store i64 %58, i64* %.reg2mem31
store i32 %53, i32* %storemerge815.reg2mem
store i64 %54, i64* %.reg2mem37
store i64 %54, i64* %.reg2mem39
store i64 %61, i64* %rax.0.reg2mem
br i1 %63, label LBL_5, label LBL_7
LBL_6:
%storemerge1216.reload = load i32, i32* %storemerge1216.reg2mem
%.reload36 = load i64, i64* %.reg2mem35
%.reload34 = load i64, i64* %.reg2mem33
%64 = add i64 %.reload36, 8
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = mul i64 %.reload34, 4
%68 = add i64 %66, %67
%69 = inttoptr i64 %68 to i32*
%70 = load i32, i32* %69, align 4
%71 = icmp slt i32 %70, 0
%72 = zext i1 %71 to i32
%73 = add i32 %70, %72
%74 = ashr i32 %73, 1
store i32 %74, i32* %69, align 4
%75 = add i32 %storemerge1216.reload, 1
%76 = load i64, i64* %14, align 8
%77 = add i64 %76, %15
%78 = inttoptr i64 %77 to i64*
%79 = load i64, i64* %78, align 8
%80 = add i64 %79, %19
%81 = inttoptr i64 %80 to i32*
%82 = load i32, i32* %81, align 4
%83 = zext i32 %82 to i64
%84 = sext i32 %75 to i64
%85 = icmp slt i64 %84, %83
store i64 %84, i64* %.reg2mem33
store i64 %80, i64* %.reg2mem35
store i32 %75, i32* %storemerge1216.reg2mem
store i64 %76, i64* %.reg2mem37
store i64 %76, i64* %.reg2mem39
store i64 %83, i64* %rax.0.reg2mem
br i1 %85, label LBL_6, label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%.reload40 = load i64, i64* %.reg2mem39
%.reload38 = load i64, i64* %.reg2mem37
%86 = add i32 %storemerge18.reload, -1
%87 = icmp slt i32 %86, 0
%88 = icmp eq i1 %87, false
store i64 %.reload38, i64* %.reg2mem
store i64 %.reload40, i64* %.reg2mem29
store i32 %86, i32* %storemerge18.reg2mem
store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem
br i1 %88, label LBL_2, label LBL_8
LBL_8:
%rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem
ret i64 %rax.1.lcssa.reload
uselistorder i64 %19, { 4, 2, 3, 1, 0 }
uselistorder i64 %.reload, { 0, 2, 3, 1 }
uselistorder i64 %15, { 0, 2, 1, 3 }
uselistorder i64* %14, { 2, 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %0, { 1, 2, 3, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem29, { 1, 0, 2 }
uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem31, { 2, 0, 1 }
uselistorder i32* %storemerge815.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem33, { 2, 0, 1 }
uselistorder i64* %.reg2mem35, { 2, 0, 1 }
uselistorder i32* %storemerge1216.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem37, { 0, 2, 1, 4, 3 }
uselistorder i64* %.reg2mem39, { 0, 2, 1, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 3, 2 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | GetOutboundPinholeTimeout_5538 | GetOutboundPinholeTimeout | define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%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:
%4 = call i64 @FUNC(i64 %0, i64 702, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))
store i64 %4, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%5 = add i64 %0, 12
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = sext i32 %10 to i64
%12 = zext i32 %7 to i64
%13 = call i64 @FUNC(i64 %11, i64 %12, i64* nonnull %sv_0)
%14 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))
%15 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
%16 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))
%17 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0))
%18 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0))
%19 = icmp ne i64 %15, 0
%20 = icmp ne i64 %17, 0
%or.cond.not = icmp eq i1 %19, %20
%21 = icmp eq i64 %18, 0
%22 = icmp eq i1 %21, false
%or.cond12 = icmp eq i1 %or.cond.not, %22
br i1 %or.cond12, label LBL_4, label LBL_3
LBL_3:
%23 = call i64 @FUNC(i64* nonnull %sv_0)
%24 = call i64 @FUNC(i64 %0, i64 402, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0))
store i64 %24, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%25 = inttoptr i64 %17 to i8*
%26 = inttoptr i64 %16 to i8*
%27 = inttoptr i64 %15 to i8*
%28 = inttoptr i64 %14 to i8*
%29 = call i32 @atoi(i8* %25)
%30 = call i32 @atoi(i8* %27)
%31 = inttoptr i64 %18 to i8*
%32 = trunc i32 %30 to i16
%33 = trunc i32 %29 to i16
call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_7, i64 0, i64 0), i8* %arg2, i8* %28, i16 %32, i8* %26, i16 %33, i8* %31)
%34 = call i64 @FUNC(i64 %0, i64 501, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0))
%35 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 %35, 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 %18, { 1, 0 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %0, { 0, 1, 3, 2, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32 (i8*)* @atoi, { 1, 0 }
uselistorder i64 (i64*)* @ClearNameValueList, { 1, 0 }
uselistorder i64 (i64*, i8*)* @GetValueFromNameValueList, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i8*)* @SoapError, { 2, 1, 0 }
} | 0 |
BinRealVul | vm_brk_flags_10829 | vm_brk_flags | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
store i64 0, i64* %sv_0, align 8
%3 = add i64 %arg2, 4095
%4 = and i64 %3, -4096
%5 = icmp ult i64 %4, %arg2
%6 = icmp eq i1 %5, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_7
LBL_1:
%7 = icmp eq i64 %4, 0
%8 = icmp eq i1 %7, false
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_7
LBL_2:
%9 = add i64 %2, 4
%10 = call i64 @FUNC(i64 %9)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 4294967292, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_7
LBL_3:
%13 = inttoptr i64 %2 to i32*
%14 = call i64 @FUNC(i64 %arg1, i64 %4, i64 %arg3, i64* nonnull %sv_0)
%15 = load i32, i32* %13, align 4
%16 = urem i32 %15, 2
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
%19 = call i64 @FUNC(i64 %9)
%20 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0)
%21 = icmp eq i1 %18, false
br i1 %21, label LBL_6, label LBL_4
LBL_4:
%22 = trunc i64 %14 to i32
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_6, label LBL_5
LBL_5:
%25 = call i64 @FUNC(i64 %arg1, i64 %4)
br label LBL_6
LBL_6:
%26 = and i64 %14, 4294967295
store i64 %26, 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 %2, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i1 false, { 1, 0, 2, 3, 4 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_7, { 3, 0, 1, 2 }
} | 0 |
BinRealVul | activate_844 | activate | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_11, label LBL_1
LBL_1:
store i64 0, i64* %sv_4, align 8
store i64 0, i64* %sv_3, align 8
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_4)
%11 = trunc i64 %10 to i32
%12 = icmp slt i32 %11, 1
store i32 %11, i32* %sv_0.0.reg2mem
br i1 %12, label LBL_5, label LBL_2
LBL_2:
%13 = load i64, i64* %sv_4, align 8
%14 = call i64 @FUNC(i64 %2, i64* nonnull %sv_3, i64 %13, i64 %13)
%15 = trunc i64 %14 to i32
%16 = call i64 @FUNC(i64* nonnull %sv_4)
%17 = icmp slt i32 %15, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = and i64 %14, 4294967295
store i64 %19, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%20 = load i64, i64* %sv_3, align 8
%21 = add i64 %2, 16
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = call i64 @FUNC(i64 %25, i64 %20)
%27 = trunc i64 %26 to i32
store i32 %27, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%28 = icmp slt i32 %sv_0.0.reload, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = zext i32 %sv_0.0.reload to i64
store i64 %30, i64* %rax.0.reg2mem
br label LBL_12
LBL_7:
%31 = load i64, i64* %6, align 8
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = bitcast i32* %sv_1 to i64*
%35 = call i64 @FUNC(i64 %33, i64* nonnull %34, i64* nonnull %sv_2)
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label LBL_9, label LBL_8
LBL_8:
%38 = load i64, i64* %sv_2, align 8
%39 = load i32, i32* %sv_1, align 4
%40 = add i64 %2, 16
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = zext i32 %39 to i64
%46 = call i64 @FUNC(i64 %44, i64 %45, i64 %38)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_9:
%47 = add i64 %2, 16
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = call i64 @FUNC(i64 %51)
%53 = trunc i64 %52 to i32
%54 = icmp eq i32 %53, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %54, label LBL_12, label LBL_10
LBL_10:
%55 = load i64, i64* %6, align 8
%56 = inttoptr i64 %55 to i64*
%57 = load i64, i64* %56, align 8
%58 = call i64 @FUNC(i64 %57)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_11:
%59 = add i64 %2, 8
%60 = call i64 @FUNC(i64 %59)
store i64 %60, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %13, { 1, 0 }
uselistorder i64* %sv_4, { 0, 2, 1, 3 }
uselistorder i64* %sv_3, { 1, 0, 2 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64 %2, { 5, 3, 2, 0, 1, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 }
uselistorder label LBL_12, { 2, 1, 0, 3, 4, 5 }
} | 0 |
BinRealVul | ext4_ext_truncate_11602 | ext4_ext_truncate | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.pre-phi2.reg2mem = alloca i32*
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 24
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %2)
%7 = call i64 @FUNC(i64 %2)
%8 = and i64 %7, 4294967295
%9 = call i64 @FUNC(i64 %2, i64 %8)
%10 = icmp eq i64 %9, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_11, label LBL_1
LBL_1:
%11 = trunc i64 %1 to i32
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i32 %11, -1
%16 = and i32 %14, %15
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%18 = call i64 @FUNC(i64 %9, i64 %5, i32 %14)
br label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %9, i64 %2)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_3.LBL_8_crit_edge, label LBL_5
LBL_4:
%.pre = add i64 %2, 12
%.pre1 = inttoptr i64 %.pre to i32*
store i32* %.pre1, i32** %.pre-phi2.reg2mem
br label LBL_8
LBL_5:
%23 = bitcast i64* %rdi to i32*
%24 = call i64 @FUNC(i64 %2)
%25 = call i64 @FUNC(i64 %2)
%26 = call i64 @FUNC(i64 %2)
%27 = load i32, i32* %13, align 4
%28 = add i64 %2, 4
%29 = inttoptr i64 %28 to i32*
store i32 %27, i32* %29, align 4
%30 = call i64 @FUNC(i64 %9, i64 %2)
%31 = load i32, i32* %13, align 4
%32 = load i32, i32* %23, align 8
%33 = add i32 %31, -1
%34 = add i32 %33, %32
%35 = urem i32 %32, 32
%36 = ashr i32 %34, %35
%37 = zext i32 %36 to i64
%38 = call i64 @FUNC(i64 %2, i64 %37, i64 4294967295)
%39 = add i64 %2, 12
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = icmp slt i32 %41, 1
br i1 %42, label LBL_7, label LBL_6
LBL_6:
%43 = call i64 @FUNC(i64 %9)
br label LBL_7
LBL_7:
%44 = call i64 @FUNC(i64 %2)
store i32* %40, i32** %.pre-phi2.reg2mem
br label LBL_8
LBL_8:
%.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem
%45 = load i32, i32* %.pre-phi2.reload, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_10, label LBL_9
LBL_9:
%47 = call i64 @FUNC(i64 %9, i64 %2)
br label LBL_10
LBL_10:
%48 = call i64 @FUNC(i64 %2)
%49 = trunc i64 %48 to i32
%50 = add i64 %2, 20
%51 = inttoptr i64 %50 to i32*
store i32 %49, i32* %51, align 4
%52 = add i64 %2, 16
%53 = inttoptr i64 %52 to i32*
store i32 %49, i32* %53, align 4
%54 = call i64 @FUNC(i64 %9, i64 %2)
%55 = call i64 @FUNC(i64 %9)
store i64 %55, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %14, { 1, 0 }
uselistorder i64 %9, { 4, 3, 2, 0, 1, 5, 6, 7 }
uselistorder i64 %2, { 9, 10, 12, 11, 13, 1, 3, 2, 4, 8, 7, 6, 5, 0, 14, 15, 16, 17, 18, 19 }
uselistorder i64 (i64, i64)* @ext4_mark_inode_dirty, { 1, 0 }
uselistorder i64 12, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
BinRealVul | evutil_found_ifaddr_10634 | evutil_found_ifaddr | define i64 @FUNC(i16* %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
store i64 0, i64* %sv_0, align 8
%2 = trunc i64 %1 to i16
%3 = icmp eq i16 %2, 2
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%5 = ptrtoint i16* %arg1 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = call i32 @ntohl(i32 %8)
%10 = sext i32 %9 to i64
store i64 %10, i64* %rax.0.reg2mem
store i64 %10, i64* %rax.0.reg2mem
switch i32 %9, label LBL_2 [
i32 2130706433, label LBL_12
i32 0, label LBL_12
]
LBL_2:
%11 = and i32 %9, -268435456
%12 = icmp eq i32 %11, -536870912
store i64 3758096384, i64* %rax.0.reg2mem
br i1 %12, label LBL_12, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))
store i32 1, i32* bitcast (i64* @gv_1 to i32*), align 8
store i64 %13, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%14 = urem i64 %1, 65536
%15 = icmp eq i16 %2, 10
%16 = icmp eq i1 %15, false
store i64 %14, i64* %rax.0.reg2mem
br i1 %16, label LBL_12, label LBL_5
LBL_5:
%17 = ptrtoint i16* %arg1 to i64
%18 = add i64 %17, 8
%19 = inttoptr i64 %18 to i64*
%20 = call i32 @memcmp(i64* %19, i64* nonnull %sv_0, i32 8)
%21 = icmp eq i32 %20, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_12, label LBL_6
LBL_6:
%22 = inttoptr i64 %18 to i8*
%23 = load i8, i8* %22, align 1
%24 = and i8 %23, -2
%25 = icmp eq i8 %24, -4
store i64 252, i64* %rax.0.reg2mem
br i1 %25, label LBL_12, label LBL_7
LBL_7:
%26 = icmp eq i8 %23, -2
%27 = icmp eq i1 %26, false
br i1 %27, label LBL_10, label LBL_8
LBL_8:
%28 = add i64 %17, 9
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%31 = and i8 %30, -64
%32 = icmp eq i8 %31, -128
store i64 128, i64* %rax.0.reg2mem
br i1 %32, label LBL_12, label LBL_9
LBL_9:
%33 = zext i8 %31 to i64
%34 = icmp ugt i8 %30, -65
store i64 %33, i64* %rax.0.reg2mem
br i1 %34, label LBL_12, label LBL_10
LBL_10:
%35 = icmp eq i8 %23, -1
store i64 255, i64* %rax.0.reg2mem
br i1 %35, label LBL_12, label LBL_11
LBL_11:
%36 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0))
store i32 1, i32* inttoptr (i64 4210764 to i32*), align 4
store i64 %36, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %9, { 1, 0, 2 }
uselistorder i16 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 8, 6, 5, 9, 10, 11, 2, 3, 1, 4 }
uselistorder i64 (i8*)* @event_debug, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i16* %arg1, { 1, 0 }
uselistorder label LBL_12, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 1 }
uselistorder label LBL_10, { 1, 0 }
} | 0 |
BinRealVul | matroska_read_packet_1103 | matroska_read_packet | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 0, i64* %storemerge.reg2mem
br i1 %7, label LBL_1, label LBL_3
LBL_1:
%8 = trunc i64 %1 to i32
%9 = icmp eq i32 %8, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %9, label LBL_2, label LBL_3
LBL_2:
%10 = call i64 @FUNC(i64 %3)
%11 = call i64 @FUNC(i64 %3, i64 %2)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %13, label LBL_3, label LBL_2
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 2, 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 (i64, i64)* @matroska_deliver_packet, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | concat_opt_exact_str_5660 | concat_opt_exact_str | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i1
%sv_0.1.lcssa.reg2mem = alloca i64
%sv_1.1.lcssa.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_1.04.reg2mem = alloca i32
%sv_0.05.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%sv_1.19.reg2mem = alloca i32
%sv_0.110.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %1, 100
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = zext i32 %arg4 to i64
%6 = icmp ult i64 %0, %arg3
%7 = icmp slt i32 %4, 100
%or.cond8 = icmp eq i1 %6, %7
store i64 %0, i64* %sv_0.110.reg2mem
store i32 %4, i32* %sv_1.19.reg2mem
store i32 %4, i32* %sv_1.1.lcssa.reg2mem
store i64 %0, i64* %sv_0.1.lcssa.reg2mem
store i1 %6, i1* %.lcssa.reg2mem
br i1 %or.cond8, label LBL_1, label LBL_6
LBL_1:
%sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem
%sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem
%8 = call i64 @FUNC(i64 %5, i64 %sv_0.110.reload)
%9 = trunc i64 %8 to i32
%10 = add i32 %sv_1.19.reload, %9
%11 = icmp sgt i32 %10, 99
br i1 %11, label LBL_2, label LBL_3
LBL_2:
store i32 %sv_1.19.reload, i32* %3, align 4
store i64 %sv_0.110.reload, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%12 = icmp sgt i32 %9, 0
%13 = icmp ult i64 %sv_0.110.reload, %arg3
%or.cond23 = icmp eq i1 %13, %12
store i32 0, i32* %storemerge6.reg2mem
store i64 %sv_0.110.reload, i64* %sv_0.05.reg2mem
store i32 %sv_1.19.reload, i32* %sv_1.04.reg2mem
store i32 %sv_1.19.reload, i32* %sv_1.0.lcssa.reg2mem
store i64 %sv_0.110.reload, i64* %sv_0.0.lcssa.reg2mem
br i1 %or.cond23, label LBL_4, label LBL_5
LBL_4:
%sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem
%sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%14 = add nuw i64 %sv_0.05.reload, 1
%15 = add i32 %sv_1.04.reload, 1
%16 = inttoptr i64 %sv_0.05.reload to i8*
%17 = load i8, i8* %16, align 1
%18 = sext i32 %sv_1.04.reload to i64
%19 = add i64 %18, %1
%20 = inttoptr i64 %19 to i8*
store i8 %17, i8* %20, align 1
%21 = add nuw nsw i32 %storemerge6.reload, 1
%22 = icmp slt i32 %21, %9
%23 = icmp ult i64 %14, %arg3
%or.cond2 = icmp eq i1 %22, %23
store i32 %21, i32* %storemerge6.reg2mem
store i64 %14, i64* %sv_0.05.reg2mem
store i32 %15, i32* %sv_1.04.reg2mem
store i32 %15, i32* %sv_1.0.lcssa.reg2mem
store i64 %14, i64* %sv_0.0.lcssa.reg2mem
br i1 %or.cond2, label LBL_4, label LBL_5
LBL_5:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%24 = icmp ult i64 %sv_0.0.lcssa.reload, %arg3
%25 = icmp slt i32 %sv_1.0.lcssa.reload, 100
%or.cond = icmp eq i1 %25, %24
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.110.reg2mem
store i32 %sv_1.0.lcssa.reload, i32* %sv_1.19.reg2mem
store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.lcssa.reg2mem
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem
store i1 %24, i1* %.lcssa.reg2mem
br i1 %or.cond, label LBL_1, label LBL_6
LBL_6:
%.lcssa.reload = load i1, i1* %.lcssa.reg2mem
%sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem
store i32 %sv_1.1.lcssa.reload, i32* %3, align 4
store i64 %sv_0.1.lcssa.reload, i64* %rax.0.reg2mem
br i1 %.lcssa.reload, label LBL_8, label LBL_7
LBL_7:
%26 = add i64 %1, 104
%27 = inttoptr i64 %26 to i32*
store i32 1, i32* %27, align 4
store i64 %1, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_1.0.lcssa.reload, { 0, 2, 1 }
uselistorder i64 %sv_0.0.lcssa.reload, { 0, 2, 1 }
uselistorder i64 %sv_0.05.reload, { 1, 0 }
uselistorder i32 %sv_1.04.reload, { 1, 0 }
uselistorder i32 %9, { 2, 1, 0 }
uselistorder i64 %sv_0.110.reload, { 1, 2, 3, 0, 4 }
uselistorder i32 %sv_1.19.reload, { 0, 1, 3, 2 }
uselistorder i32* %3, { 1, 0, 2 }
uselistorder i64 %1, { 0, 2, 1, 3 }
uselistorder i64* %sv_0.110.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.19.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 100, { 1, 0 }
uselistorder i64 %arg3, { 3, 2, 1, 0 }
uselistorder label LBL_8, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | usb_hub_release_all_ports_10394 | usb_hub_release_all_ports | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%.reg2mem8 = alloca i32
%storemerge2.reg2mem = alloca i32
%.reg2mem6 = alloca i64
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %1 to i32
%5 = and i64 %1, 4294967295
%6 = icmp eq i32 %4, 0
store i64 %5, i64* %.lcssa.reg2mem
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = ptrtoint i64* %arg2 to i64
%8 = bitcast i64* %rdi to i32*
%9 = inttoptr i64 %3 to i64*
store i32 %4, i32* %.reg2mem
store i64 0, i64* %.reg2mem6
store i32 0, i32* %storemerge2.reg2mem
br label LBL_2
LBL_2:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload7 = load i64, i64* %.reg2mem6
%.reload = load i32, i32* %.reg2mem
%10 = load i64, i64* %9, align 8
%11 = mul i64 %.reload7, 8
%12 = add i64 %10, %11
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = icmp eq i64 %16, %7
%18 = icmp eq i1 %17, false
store i32 %.reload, i32* %.reg2mem8
br i1 %18, label LBL_4, label LBL_3
LBL_3:
store i64 0, i64* %15, align 8
%.pre = load i32, i32* %8, align 8
store i32 %.pre, i32* %.reg2mem8
br label LBL_4
LBL_4:
%.reload9 = load i32, i32* %.reg2mem8
%19 = add i32 %storemerge2.reload, 1
%20 = zext i32 %.reload9 to i64
%21 = sext i32 %19 to i64
%22 = icmp slt i64 %21, %20
store i32 %.reload9, i32* %.reg2mem
store i64 %21, i64* %.reg2mem6
store i32 %19, i32* %storemerge2.reg2mem
store i64 %20, i64* %.lcssa.reg2mem
br i1 %22, label LBL_2, label LBL_5
LBL_5:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i32 %.reload9, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem6, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem8, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | LogFilePrep_5828 | LogFilePrep | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i8*, align 8
%sv_1 = alloca i8*, align 8
%4 = load i32, i32* %1
%sv_2 = alloca i64, align 8
%sv_3 = alloca i8*, align 8
store i8* null, i8** %sv_3, align 8
%5 = inttoptr i64 %arg1 to i8*
%6 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_3, i8* %5)
%7 = icmp eq i32 %6, -1
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg3, i64 %arg1, i64 %3, i64 %2)
unreachable
LBL_2:
%10 = trunc i64 %arg1 to i8
%11 = icmp eq i64 %arg2, 0
%12 = icmp eq i8 %10, 0
%or.cond = or i1 %11, %12
%13 = load i8*, i8** %sv_3, align 8
br i1 %or.cond, label LBL_11, label LBL_3
LBL_3:
%14 = bitcast i64* %sv_2 to %stat*
%15 = call i32 @stat(i8* %13, %stat* nonnull %14)
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_14, label LBL_4
LBL_4:
%18 = and i32 %4, 61440
%19 = icmp eq i32 %18, 32768
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_14, label LBL_5
LBL_5:
%21 = inttoptr i64 %arg2 to i8*
%22 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_1, i8* %21)
%23 = icmp eq i32 %22, -1
store i64 %arg2, i64* %.reg2mem
store i64 %arg2, i64* %rcx.0.reg2mem
store i64 %arg3, i64* %rdx.0.reg2mem
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = load i8*, i8** %sv_1, align 8
%25 = ptrtoint i8* %24 to i64
%26 = load i8*, i8** %sv_3, align 8
%27 = ptrtoint i8* %26 to i64
%28 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* %26, i8* %24)
%29 = icmp eq i32 %28, -1
%30 = icmp eq i1 %29, false
store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %.reg2mem
store i64 %25, i64* %rcx.0.reg2mem
store i64 %27, i64* %rdx.0.reg2mem
br i1 %30, label LBL_8, label LBL_7
LBL_7:
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%.reload = load i64, i64* %.reg2mem
%31 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %3, i64 %2)
unreachable
LBL_8:
%32 = load i8*, i8** %sv_1, align 8
%33 = bitcast i8* %32 to i64*
call void @free(i64* %33)
%34 = load i8*, i8** %sv_0, align 8
%35 = load i8*, i8** %sv_3, align 8
%36 = call i32 @rename(i8* %35, i8* %34)
%37 = icmp eq i32 %36, -1
%38 = icmp eq i1 %37, false
%39 = load i8*, i8** %sv_0, align 8
br i1 %38, label LBL_10, label LBL_9
LBL_9:
%40 = ptrtoint i8* %39 to i64
%41 = load i8*, i8** %sv_3, align 8
%42 = ptrtoint i8* %41 to i64
%43 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %42, i64 %40, i64 %25, i64 %3, i64 %2)
unreachable
LBL_10:
%44 = bitcast i8* %39 to i64*
call void @free(i64* %44)
br label LBL_14
LBL_11:
%45 = call i32 @remove(i8* %13)
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_14, label LBL_12
LBL_12:
%47 = call i32* @__errno_location()
%48 = load i32, i32* %47, align 4
%49 = icmp eq i32 %48, 2
br i1 %49, label LBL_14, label LBL_13
LBL_13:
%50 = call i32* @__errno_location()
%51 = load i32, i32* %50, align 4
%52 = call i8* @strerror(i32 %51)
%53 = ptrtoint i8* %52 to i64
%54 = load i8*, i8** %sv_3, align 8
%55 = ptrtoint i8* %54 to i64
%56 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %53, i64 %arg1, i64 %3, i64 %2)
unreachable
LBL_14:
%57 = load i8*, i8** %sv_3, align 8
%58 = ptrtoint i8* %57 to i64
ret i64 %58
uselistorder i8* %39, { 1, 0 }
uselistorder i64 %25, { 1, 0 }
uselistorder i8* %13, { 1, 0 }
uselistorder i8** %sv_3, { 6, 5, 3, 2, 1, 4, 7, 0 }
uselistorder i8** %sv_1, { 1, 0, 2 }
uselistorder i8** %sv_0, { 1, 0, 2 }
uselistorder i64 %3, { 3, 2, 1, 0 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder [5 x i8]* @gv_1, { 1, 0 }
uselistorder i8 0, { 0, 2, 1 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FatalError, { 3, 2, 1, 0 }
uselistorder i64 %arg1, { 3, 0, 2, 1, 4 }
uselistorder label LBL_14, { 3, 4, 2, 1, 0 }
} | 0 |
BinRealVul | do_change_3461 | do_change | define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
%3 = ptrtoint i8* %arg2 to i64
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %3)
store i64 %4, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%5 = ptrtoint i8* %arg1 to i64
%6 = call i64 @FUNC(i64 %5, i64 %3, i64 %arg3)
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 %3, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
BinRealVul | _process_request_next_key_6788 | _process_request_next_key | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i64
%sv_1.01.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %3, %0
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = trunc i64 %7 to i32
%9 = trunc i64 %3 to i32
%10 = sub i32 %8, %9
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 %3, i64* %.reg2mem
store i32 %10, i32* %sv_0.02.reg2mem
store i64 %4, i64* %sv_1.01.reg2mem
store i64 %4, i64* %sv_1.0.lcssa.reg2mem
store i32 %10, i32* %sv_0.0.lcssa.reg2mem
br i1 %12, label LBL_1, label LBL_3
LBL_1:
%sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%13 = inttoptr i64 %sv_1.01.reload to i8*
%14 = load i8, i8* %13, align 1
%15 = icmp eq i8 %14, 32
%16 = icmp eq i1 %15, false
store i64 %sv_1.01.reload, i64* %sv_1.0.lcssa.reg2mem
store i32 %sv_0.02.reload, i32* %sv_0.0.lcssa.reg2mem
br i1 %16, label LBL_3, label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
%17 = add i32 %sv_0.02.reload, -1
%18 = add i64 %sv_1.01.reload, 1
%19 = add i64 %.reload, 1
store i64 %19, i64* %2, align 8
%20 = icmp eq i32 %17, 0
%21 = icmp eq i1 %20, false
store i64 %19, i64* %.reg2mem
store i32 %17, i32* %sv_0.02.reg2mem
store i64 %18, i64* %sv_1.01.reg2mem
store i64 %18, i64* %sv_1.0.lcssa.reg2mem
store i32 %17, i32* %sv_0.0.lcssa.reg2mem
br i1 %21, label LBL_1, label LBL_3
LBL_3:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem
%22 = inttoptr i64 %sv_1.0.lcssa.reload to i64*
%23 = call i64* @memchr(i64* %22, i32 32, i32 %sv_0.0.lcssa.reload)
%24 = icmp eq i64* %23, null
br i1 %24, label LBL_5, label LBL_4
LBL_4:
%25 = ptrtoint i64* %23 to i64
%26 = sub i64 %25, %sv_1.0.lcssa.reload
%27 = add i64 %0, 24
%28 = inttoptr i64 %27 to i64*
store i64 %26, i64* %28, align 8
%29 = load i64, i64* %2, align 8
%30 = add i64 %29, %26
store i64 %30, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%31 = sext i32 %sv_0.0.lcssa.reload to i64
%32 = add i64 %0, 24
%33 = inttoptr i64 %32 to i64*
store i64 %31, i64* %33, align 8
%34 = load i64, i64* %2, align 8
%35 = add i64 %34, %31
store i64 %35, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
store i64 %storemerge.reload, i64* %2, align 8
ret i64 0
uselistorder i64* %23, { 1, 0 }
uselistorder i32 %sv_0.02.reload, { 1, 0 }
uselistorder i64 %sv_1.01.reload, { 1, 0, 2 }
uselistorder i64 %3, { 0, 2, 1 }
uselistorder i64* %2, { 0, 2, 1, 3, 4 }
uselistorder i64 %0, { 2, 1, 3, 0, 4 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | do_POWER_abso_17182 | do_POWER_abso | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.in.reg2mem = alloca i32
%0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%1 = icmp eq i32 %0, -2147483648
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
store i32 2147483647, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 1, i32* @gv_1, align 4
store i32 1, i32* @gv_2, align 4
store i32 %0, i32* %rax.0.in.reg2mem
br label LBL_3
LBL_2:
%3 = sub i32 0, %0
store i32 %3, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 0, i32* @gv_1, align 4
store i32 %3, i32* %rax.0.in.reg2mem
br label LBL_3
LBL_3:
%rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem
%rax.0 = zext i32 %rax.0.in.reload to i64
ret i64 %rax.0
uselistorder i32 %0, { 1, 0, 2 }
uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 2, 0 }
} | 1 |
BinRealVul | migrate_page_copy_11055 | migrate_page_copy | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %arg2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = call i64 @FUNC(i64 %arg1, i64 %arg2)
br label LBL_4
LBL_3:
%8 = call i64 @FUNC(i64 %arg1, i64 %arg2)
br label LBL_4
LBL_4:
%9 = call i64 @FUNC(i64 %arg2)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_6, label LBL_5
LBL_5:
%12 = call i64 @FUNC(i64 %arg1)
br label LBL_6
LBL_6:
%13 = call i64 @FUNC(i64 %arg2)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_8, label LBL_7
LBL_7:
%16 = call i64 @FUNC(i64 %arg1)
br label LBL_8
LBL_8:
%17 = call i64 @FUNC(i64 %arg2)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_10, label LBL_9
LBL_9:
%20 = call i64 @FUNC(i64 %arg1)
br label LBL_10
LBL_10:
%21 = call i64 @FUNC(i64 %arg2)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label LBL_12, label LBL_11
LBL_11:
%24 = call i64 @FUNC(i64 %arg2)
%25 = and i64 %24, 4294967295
%26 = call i64 @FUNC(i64 %25, i64 %arg2)
%27 = call i64 @FUNC(i64 %arg1)
br label LBL_14
LBL_12:
%28 = call i64 @FUNC(i64 %arg2)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_14, label LBL_13
LBL_13:
%31 = call i64 @FUNC(i64 %arg1)
br label LBL_14
LBL_14:
%32 = call i64 @FUNC(i64 %arg2)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
br i1 %34, label LBL_16, label LBL_15
LBL_15:
%35 = call i64 @FUNC(i64 %arg1)
br label LBL_16
LBL_16:
%36 = call i64 @FUNC(i64 %arg2)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_18, label LBL_17
LBL_17:
%39 = call i64 @FUNC(i64 %arg1)
br label LBL_18
LBL_18:
%40 = call i64 @FUNC(i64 %arg2)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label LBL_22, label LBL_19
LBL_19:
%43 = call i64 @FUNC(i64 %arg2)
%44 = call i64 @FUNC(i64 %arg2)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_21, label LBL_20
LBL_20:
%47 = call i64 @FUNC(i64 %arg1)
br label LBL_22
LBL_21:
%48 = call i64 @FUNC(i64 %arg1)
br label LBL_22
LBL_22:
%49 = call i64 @FUNC(i64 %arg2)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_24, label LBL_23
LBL_23:
%52 = call i64 @FUNC(i64 %arg1)
br label LBL_24
LBL_24:
%53 = call i64 @FUNC(i64 %arg2)
%54 = trunc i64 %53 to i32
%55 = icmp eq i32 %54, 0
br i1 %55, label LBL_26, label LBL_25
LBL_25:
%56 = call i64 @FUNC(i64 %arg1)
br label LBL_26
LBL_26:
%57 = call i64 @FUNC(i64 %arg2, i64 4294967295)
%58 = and i64 %57, 4294967295
%59 = call i64 @FUNC(i64 %arg1, i64 %58)
%60 = call i64 @FUNC(i64 %arg1, i64 %arg2)
%61 = call i64 @FUNC(i64 %arg2)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label LBL_28, label LBL_27
LBL_27:
%64 = call i64 @FUNC(i64 %arg2)
br label LBL_28
LBL_28:
%65 = call i64 @FUNC(i64 %arg2)
%66 = call i64 @FUNC(i64 %arg2, i64 0)
%67 = call i64 @FUNC(i64 %arg1)
%68 = trunc i64 %67 to i32
%69 = icmp eq i32 %68, 0
store i64 %67, i64* %rax.0.reg2mem
br i1 %69, label LBL_30, label LBL_29
LBL_29:
%70 = call i64 @FUNC(i64 %arg1)
store i64 %70, i64* %rax.0.reg2mem
br label LBL_30
LBL_30:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 (i64, i64)* @page_cpupid_xchg_last, { 1, 0 }
uselistorder i64 4294967295, { 0, 2, 1 }
uselistorder i32 1, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg2, { 6, 7, 5, 8, 9, 10, 11, 12, 3, 4, 13, 14, 15, 16, 2, 17, 18, 19, 20, 21, 0, 22, 1, 23 }
uselistorder i64 %arg1, { 12, 13, 15, 14, 11, 10, 8, 9, 7, 6, 5, 4, 3, 2, 1, 0, 16 }
} | 1 |
BinRealVul | ff_h264_field_end_15852 | ff_h264_field_end | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg3 to i32
%2 = add i64 %0, 48
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = add i64 %0, 4
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = icmp eq i32 %1, 0
%8 = icmp eq i1 %7, false
%.phi.trans.insert = bitcast i64* %rdi to i32*
%.pre = load i32, i32* %.phi.trans.insert, align 8
br i1 %8, label LBL_4, label LBL_1
LBL_1:
%9 = icmp eq i32 %.pre, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = add i64 %0, 56
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 1
%15 = add i64 %0, 40
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = zext i1 %14 to i64
%19 = call i64 @FUNC(i64 %17, i64 2147483647, i64 %18)
br label LBL_3
LBL_3:
%20 = inttoptr i64 %4 to i32*
%21 = load i32, i32* %20, align 4
%22 = urem i32 %21, 2
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 0, i64* %sv_0.1.reg2mem
br i1 %24, label LBL_7, label LBL_4
LBL_4:
%25 = icmp eq i32 %.pre, 0
%26 = icmp eq i1 %25, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %26, label LBL_6, label LBL_5
LBL_5:
%27 = call i64 @FUNC(i64 %0)
%28 = add i64 %0, 32
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i64 %0, 8
%32 = inttoptr i64 %31 to i32*
store i32 %30, i32* %32, align 4
%33 = add i64 %0, 36
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = add i64 %0, 12
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
store i64 %27, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%38 = add i64 %0, 24
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = add i64 %0, 16
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
%43 = add i64 %0, 28
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = add i64 %0, 20
%47 = inttoptr i64 %46 to i32*
store i32 %45, i32* %47, align 4
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_7
LBL_7:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%48 = add i64 %4, 8
%49 = inttoptr i64 %48 to i64*
%50 = load i64, i64* %49, align 8
%51 = icmp eq i64 %50, 0
br i1 %51, label LBL_10, label LBL_8
LBL_8:
%52 = trunc i64 %4 to i32
%53 = icmp slt i32 %52, 0
%54 = icmp eq i1 %53, false
br i1 %54, label LBL_10, label LBL_9
LBL_9:
%55 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0))
br label LBL_10
LBL_10:
%56 = add i64 %0, 60
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label LBL_16, label LBL_11
LBL_11:
%60 = ptrtoint i64* %arg2 to i64
%61 = add i64 %0, 40
%62 = inttoptr i64 %61 to i64*
%63 = load i64, i64* %62, align 8
%64 = call i64 @FUNC(i64 %60, i64 %63)
%65 = add i64 %60, 24
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = icmp eq i32 %67, 0
store i64 0, i64* %storemerge3.reg2mem
br i1 %68, label LBL_13, label LBL_12
LBL_12:
%69 = add i64 %60, 32
%70 = inttoptr i64 %69 to i64*
%71 = load i64, i64* %70, align 8
store i64 %71, i64* %storemerge3.reg2mem
br label LBL_13
LBL_13:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%72 = add i64 %60, 8
%73 = call i64 @FUNC(i64 %72, i64 %storemerge3.reload)
%74 = add i64 %60, 28
%75 = inttoptr i64 %74 to i32*
%76 = load i32, i32* %75, align 4
%77 = icmp eq i32 %76, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %77, label LBL_15, label LBL_14
LBL_14:
%78 = add i64 %60, 40
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
store i64 %80, i64* %storemerge.reg2mem
br label LBL_15
LBL_15:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%81 = add i64 %60, 16
%82 = call i64 @FUNC(i64 %81, i64 %storemerge.reload)
%83 = call i64 @FUNC(i64 %60)
br label LBL_16
LBL_16:
%84 = call i64 @FUNC()
%85 = add i64 %0, 64
%86 = inttoptr i64 %85 to i32*
store i32 0, i32* %86, align 4
%87 = and i64 %sv_0.1.reload, 4294967295
ret i64 %87
uselistorder i64 %60, { 3, 2, 1, 5, 4, 0, 7, 6 }
uselistorder i64 %0, { 7, 9, 8, 11, 10, 13, 12, 3, 2, 4, 6, 5, 1, 0, 14, 15 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @h264_set_erpic, { 2, 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | read_matrix_params_83 | read_matrix_params | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%storemerge27.reg2mem = alloca i32
%storemerge8.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 2464
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i32 %6, 1
store i32 %7, i32* %5, align 4
%8 = icmp slt i32 %6, 2
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = zext i32 %7 to i64
%10 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_18
LBL_2:
%11 = ptrtoint i64* %arg3 to i64
%12 = and i64 %arg2, 4294967295
%narrow = mul nuw nsw i64 %12, 1228
%13 = add i64 %narrow, %3
%14 = add i64 %13, 8
%15 = inttoptr i64 %14 to i32*
%16 = call i64 @FUNC(i64 %11, i64 4)
%17 = trunc i64 %16 to i32
store i32 %17, i32* %15, align 4
%18 = icmp ugt i32 %17, 16
br i1 %18, label LBL_5, label LBL_3
LBL_3:
%19 = icmp eq i32 %17, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %19, label LBL_18, label LBL_4
LBL_4:
%20 = add i64 %13, 12
%21 = add i64 %13, 1228
%22 = inttoptr i64 %21 to i32*
%23 = add i64 %13, 1232
%24 = inttoptr i64 %23 to i32*
%25 = add i64 %13, 140
%26 = add i64 %13, 1164
store i32 0, i32* %storemerge8.reg2mem
br label LBL_6
LBL_5:
%27 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 16, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_18
LBL_6:
%storemerge8.reload = load i32, i32* %storemerge8.reg2mem
%28 = call i64 @FUNC(i64 %11, i64 4)
%29 = zext i32 %storemerge8.reload to i64
%30 = trunc i64 %28 to i32
%31 = mul i64 %29, 4
%32 = add i64 %31, %20
%33 = inttoptr i64 %32 to i32*
store i32 %30, i32* %33, align 4
%34 = call i64 @FUNC(i64 %11, i64 4)
%35 = call i64 @FUNC(i64 %11)
%36 = add nuw nsw i64 %29, 16
%37 = trunc i64 %35 to i32
%38 = mul i64 %36, 4
%39 = add i64 %38, %20
%40 = inttoptr i64 %39 to i32*
store i32 %37, i32* %40, align 4
%41 = load i32, i32* %33, align 4
%42 = load i32, i32* %22, align 4
%43 = icmp ugt i32 %41, %42
br i1 %43, label LBL_7, label LBL_8
LBL_7:
%44 = zext i32 %41 to i64
%45 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64 %44, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_18
LBL_8:
%46 = trunc i64 %34 to i32
%47 = icmp slt i32 %46, 15
br i1 %47, label LBL_10, label LBL_9
LBL_9:
%48 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %36, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_18
LBL_10:
%49 = load i32, i32* %24, align 4
%50 = icmp eq i32 %49, 0
%51 = icmp eq i1 %50, false
%52 = add i32 %42, 2
%spec.select = select i1 %51, i32 %42, i32 %52
%53 = add i64 %34, 2
%54 = and i64 %53, 4294967295
%55 = sub i32 14, %46
%56 = urem i32 %55, 32
%57 = mul i64 %29, 16
store i32 0, i32* %storemerge27.reg2mem
br label LBL_11
LBL_11:
%storemerge27.reload = load i32, i32* %storemerge27.reg2mem
%58 = call i64 @FUNC(i64 %11)
%59 = trunc i64 %58 to i32
%60 = icmp eq i32 %59, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %60, label LBL_13, label LBL_12
LBL_12:
%61 = call i64 @FUNC(i64 %11, i64 %54)
%62 = trunc i64 %61 to i32
store i32 %62, i32* %sv_0.0.reg2mem
br label LBL_13
LBL_13:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%63 = shl i32 %sv_0.0.reload, %56
%64 = zext i32 %storemerge27.reload to i64
%65 = add nuw nsw i64 %57, %64
%66 = mul i64 %65, 4
%67 = add i64 %25, %66
%68 = inttoptr i64 %67 to i32*
store i32 %63, i32* %68, align 4
%69 = add i32 %storemerge27.reload, 1
%70 = icmp ugt i32 %69, %spec.select
store i32 %69, i32* %storemerge27.reg2mem
br i1 %70, label LBL_14, label LBL_11
LBL_14:
%71 = load i32, i32* %24, align 4
%72 = icmp eq i32 %71, 0
br i1 %72, label LBL_16, label LBL_15
LBL_15:
%73 = call i64 @FUNC(i64 %11, i64 4)
%74 = trunc i64 %73 to i32
%75 = add i64 %31, %26
%76 = inttoptr i64 %75 to i32*
store i32 %74, i32* %76, align 4
br label LBL_17
LBL_16:
%77 = add i64 %31, %26
%78 = inttoptr i64 %77 to i32*
store i32 0, i32* %78, align 4
br label LBL_17
LBL_17:
%79 = add i32 %storemerge8.reload, 1
%80 = load i32, i32* %15, align 4
%81 = icmp ult i32 %79, %80
store i32 %79, i32* %storemerge8.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %81, label LBL_6, label LBL_18
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %36, { 1, 0 }
uselistorder i64 %31, { 2, 1, 0 }
uselistorder i64 %29, { 0, 2, 1 }
uselistorder i64 %11, { 3, 1, 2, 0, 4, 6, 5, 7, 8, 9 }
uselistorder i32 %7, { 1, 0 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 5, 6, 2, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @get_bits1, { 1, 0 }
uselistorder i64 16, { 0, 2, 1 }
uselistorder i32 0, { 4, 6, 0, 5, 1, 7, 2, 3 }
uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 }
uselistorder i64 4, { 3, 0, 1, 4, 2, 5, 6 }
uselistorder i64 4294967295, { 4, 1, 2, 3, 5, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_18, { 0, 2, 3, 4, 1, 5 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | test_tco_timeout_1306 | test_tco_timeout | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%2 = load i64, i64* %0
%3 = load i32, i32* %1
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%4 = call i64 @FUNC(i64* nonnull %sv_0)
%5 = call i64 @FUNC(i64* nonnull %sv_0)
%6 = call i64 @FUNC(i64* nonnull %sv_0)
%7 = call i64 @FUNC(i64 0)
%8 = call i64 @FUNC(i64* nonnull %sv_0, i64 4000)
%9 = call i64 @FUNC(i64* nonnull %sv_0)
%10 = call i64 @FUNC(i64* nonnull %sv_0)
%11 = call i64 @FUNC(i64 4000000)
%12 = zext i32 %3 to i64
%13 = call i64 @FUNC(i64 %2, i64 %12, i64 2)
%14 = urem i64 %13, 2
%15 = icmp ne i64 %14, 0
%16 = zext i1 %15 to i64
%17 = call i64 @FUNC(i64 %16)
%18 = and i64 %13, 4294967294
%19 = or i64 %18, 1
%20 = call i64 @FUNC(i64 %2, i32 %3, i64 2, i64 %19)
%21 = call i64 @FUNC(i64 %2, i64 %12, i64 2)
%22 = urem i64 %21, 2
%23 = icmp eq i64 %22, 0
%24 = zext i1 %23 to i64
%25 = call i64 @FUNC(i64 %24)
%26 = call i64 @FUNC(i64 4000000)
%27 = call i64 @FUNC(i64 %2, i64 %12, i64 2)
%28 = urem i64 %27, 2
%29 = icmp ne i64 %28, 0
%30 = zext i1 %29 to i64
%31 = call i64 @FUNC(i64 %30)
%32 = call i64 @FUNC(i64 %2, i64 %12, i64 4)
%33 = and i64 %32, 8
%34 = icmp ne i64 %33, 0
%35 = zext i1 %34 to i64
%36 = call i64 @FUNC(i64 %35)
%37 = call i64 @FUNC(i64* nonnull %sv_0)
%38 = call i64 @FUNC()
ret i64 %38
uselistorder i64 %13, { 1, 0 }
uselistorder i64 (i64)* @g_assert, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @qpci_io_readw, { 3, 2, 1, 0 }
uselistorder i64 2, { 0, 3, 1, 4, 5, 2, 6 }
uselistorder i64 (i64)* @clock_step, { 1, 0 }
uselistorder i64 (i64*)* @stop_tco, { 1, 0 }
uselistorder i32 1, { 11, 9, 8, 7, 10, 6, 5, 4, 3, 2, 1, 0 }
} | 0 |
reposvul_c_test | copy_to_user_auth_235 | copy_to_user_auth | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %1, 96
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = sdiv i32 %4, 16384
%6 = add nsw i32 %5, 100
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i64 %0, i64 1, i64 %7)
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 1, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%11 = call i64 @FUNC(i64 %8)
%12 = inttoptr i64 %11 to i8*
%13 = bitcast i64* %arg1 to i8*
%14 = call i8* @strcpy(i8* %12, i8* %13)
%15 = load i32, i32* %3, align 4
%16 = sdiv i32 %15, 16384
%17 = add i64 %1, 32
%18 = add i64 %11, 32
%19 = inttoptr i64 %18 to i64*
%20 = inttoptr i64 %17 to i64*
%21 = call i64* @memcpy(i64* %19, i64* %20, i32 %16)
%22 = load i32, i32* %3, align 4
%23 = add i64 %11, 96
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | __kill_pgrp_info_8830 | __kill_pgrp_info | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
ret i64 4294967293
} | 0 |
BinRealVul | rose_parse_ccitt_5473 | rose_parse_ccitt | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i32
%.reg2mem13 = alloca i8
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.reg2mem = alloca i8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%2 = ptrtoint i64* %sv_4 to i64
%sext = mul i64 %arg3, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = add i64 %2, -13
%5 = add i64 %0, 40
%6 = add i64 %0, 20
%7 = inttoptr i64 %6 to i64*
%8 = add i64 %0, 51
%.phi.trans.insert = bitcast i64* %arg1 to i8*
%.pre = load i8, i8* %.phi.trans.insert, align 1
store i8 %.pre, i8* %.reg2mem
store i64 %1, i64* %sv_2.0.reg2mem
store i64 %3, i64* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%.reload = load i8, i8* %.reg2mem
%9 = icmp ugt i8 %.reload, -65
br i1 %9, label LBL_8, label LBL_2
LBL_2:
%10 = and i8 %.reload, -64
%11 = icmp eq i8 %10, -128
br i1 %11, label LBL_7, label LBL_3
LBL_3:
%12 = icmp ugt i8 %10, -128
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %12, label LBL_15, label LBL_4
LBL_4:
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
switch i8 %10, label LBL_15 [
i8 0, label LBL_5
i8 64, label LBL_6
]
LBL_5:
%13 = add i64 %sv_2.0.reload, 2
%14 = mul i32 %sv_0.0.reload, 16777216
%sext6 = add i32 %14, 33554432
%15 = ashr exact i32 %sext6, 24
%16 = mul i64 %sv_1.0.reload, 4294967296
%sext7 = add i64 %16, -8589934592
%17 = ashr exact i64 %sext7, 32
store i64 %13, i64* %sv_2.1.reg2mem
store i64 %17, i64* %sv_1.1.reg2mem
store i32 %15, i32* %sv_0.1.reg2mem
br label LBL_15
LBL_6:
%18 = add i64 %sv_2.0.reload, 3
%19 = mul i32 %sv_0.0.reload, 16777216
%sext4 = add i32 %19, 50331648
%20 = ashr exact i32 %sext4, 24
%21 = mul i64 %sv_1.0.reload, 4294967296
%sext5 = add i64 %21, -12884901888
%22 = ashr exact i64 %sext5, 32
store i64 %18, i64* %sv_2.1.reg2mem
store i64 %22, i64* %sv_1.1.reg2mem
store i32 %20, i32* %sv_0.1.reg2mem
br label LBL_15
LBL_7:
%23 = add i64 %sv_2.0.reload, 4
%24 = mul i32 %sv_0.0.reload, 16777216
%sext8 = add i32 %24, 67108864
%25 = ashr exact i32 %sext8, 24
%26 = mul i64 %sv_1.0.reload, 4294967296
%sext9 = add i64 %26, -17179869184
%27 = ashr exact i64 %sext9, 32
store i64 %23, i64* %sv_2.1.reg2mem
store i64 %27, i64* %sv_1.1.reg2mem
store i32 %25, i32* %sv_0.1.reg2mem
br label LBL_15
LBL_8:
%28 = add i64 %sv_2.0.reload, 1
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%.off = add i8 %30, -10
%31 = icmp ult i8 %.off, 11
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %31, label LBL_9, label LBL_18
LBL_9:
%32 = sext i8 %30 to i32
%33 = icmp eq i8 %.reload, -64
%34 = icmp eq i1 %33, false
store i8 %.reload, i8* %.reg2mem13
br i1 %34, label LBL_11, label LBL_10
LBL_10:
%35 = inttoptr i64 %sv_2.0.reload to i8*
%36 = add i64 %sv_2.0.reload, 7
%37 = inttoptr i64 %36 to i64*
%38 = call i64* @memcpy(i64* %arg2, i64* %37, i32 20)
%39 = urem i32 %32, 256
%40 = add nsw i32 %39, -10
%41 = add i64 %sv_2.0.reload, 12
%42 = inttoptr i64 %41 to i64*
%43 = call i64* @memcpy(i64* nonnull %sv_3, i64* %42, i32 %40)
%44 = sext i32 %40 to i64
%45 = add i64 %4, %44
%46 = inttoptr i64 %45 to i8*
store i8 0, i8* %46, align 1
%47 = call i64 @FUNC(i64 %5, i64* nonnull %sv_3)
%.pre11 = load i8, i8* %35, align 1
store i8 %.pre11, i8* %.reg2mem13
br label LBL_11
LBL_11:
%.reload14 = load i8, i8* %.reg2mem13
%48 = icmp eq i8 %.reload14, -63
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_11.LBL_14_crit_edge, label LBL_13
LBL_12:
%.pre12 = urem i32 %32, 256
store i32 %.pre12, i32* %.pre-phi.reg2mem
br label LBL_14
LBL_13:
%50 = add i64 %sv_2.0.reload, 7
%51 = inttoptr i64 %50 to i64*
%52 = call i64* @memcpy(i64* %7, i64* %51, i32 20)
%53 = urem i32 %32, 256
%54 = add nsw i32 %53, -10
%55 = add i64 %sv_2.0.reload, 12
%56 = inttoptr i64 %55 to i64*
%57 = call i64* @memcpy(i64* nonnull %sv_3, i64* %56, i32 %54)
%58 = sext i32 %54 to i64
%59 = add i64 %4, %58
%60 = inttoptr i64 %59 to i8*
store i8 0, i8* %60, align 1
%61 = call i64 @FUNC(i64 %8, i64* nonnull %sv_3)
store i32 %53, i32* %.pre-phi.reg2mem
br label LBL_14
LBL_14:
%.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem
%narrow = add nuw nsw i32 %.pre-phi.reload, 2
%62 = zext i32 %narrow to i64
%63 = add i64 %sv_2.0.reload, %62
%64 = add i32 %sv_0.0.reload, %32
%65 = mul i32 %64, 16777216
%sext10 = add i32 %65, 33554432
%66 = ashr exact i32 %sext10, 24
%67 = trunc i64 %sv_1.0.reload to i32
%68 = sub i32 %67, %narrow
%69 = sext i32 %68 to i64
store i64 %63, i64* %sv_2.1.reg2mem
store i64 %69, i64* %sv_1.1.reg2mem
store i32 %66, i32* %sv_0.1.reg2mem
br label LBL_15
LBL_15:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%70 = inttoptr i64 %sv_2.1.reload to i8*
%71 = load i8, i8* %70, align 1
%72 = icmp eq i8 %71, 0
br i1 %72, label LBL_17, label LBL_16
LBL_16:
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%73 = trunc i64 %sv_1.1.reload to i32
%74 = icmp eq i32 %73, 0
%75 = icmp slt i32 %73, 0
%76 = icmp eq i1 %75, false
%77 = icmp eq i1 %74, false
%78 = icmp eq i1 %76, %77
store i8 %71, i8* %.reg2mem
store i64 %sv_2.1.reload, i64* %sv_2.0.reg2mem
store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem
br i1 %78, label LBL_1, label LBL_17
LBL_17:
%79 = urem i32 %sv_0.1.reload, 256
%80 = zext i32 %79 to i64
store i64 %80, i64* %storemerge.reg2mem
br label LBL_18
LBL_18:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %73, { 1, 0 }
uselistorder i64 %sv_1.1.reload, { 1, 0 }
uselistorder i64 %sv_2.1.reload, { 1, 0 }
uselistorder i32 %32, { 3, 0, 1, 2 }
uselistorder i8 %30, { 1, 0 }
uselistorder i8 %.reload, { 0, 1, 3, 2 }
uselistorder i64 %sv_2.0.reload, { 11, 6, 5, 7, 4, 2, 3, 8, 10, 9, 0, 1 }
uselistorder i64 %sv_1.0.reload, { 2, 5, 4, 3, 0, 1 }
uselistorder i32 %sv_0.0.reload, { 2, 5, 4, 3, 0, 1 }
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i8* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i8* %.reg2mem13, { 0, 2, 1 }
uselistorder i64* %sv_2.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64*)* @asc2ax, { 1, 0 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }
uselistorder i1 false, { 1, 0, 2, 3 }
uselistorder i32 24, { 0, 1, 3, 2 }
uselistorder i8 0, { 1, 2, 3, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 32, { 0, 2, 1, 3 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_15, { 1, 2, 3, 4, 0, 5 }
uselistorder label LBL_14, { 1, 0 }
} | 0 |
BinRealVul | ecryptfs_init_messaging_7879 | ecryptfs_init_messaging | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%.reg2mem7 = alloca i64
%.reg2mem = alloca i32
%storemerge2.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i32, i32* @gv_0, align 4
%5 = icmp slt i32 %4, 11
br i1 %5, label LBL_2, label LBL_1
LBL_1:
store i32 10, i32* @gv_0, align 4
%6 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 10, i64 %3, i64 %2, i64 %1)
br label LBL_2
LBL_2:
%7 = call i64 @FUNC(i64* nonnull @gv_3)
%8 = call i64 @FUNC(i64* nonnull @gv_3)
%9 = load i32, i32* @gv_0, align 4
store i32 1, i32* %storemerge2.reg2mem
br label LBL_3
LBL_3:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%10 = urem i32 %storemerge2.reload, 32
%11 = ashr i32 %9, %10
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i32 ptrtoint (i32* @gv_4 to i32), i32* %storemerge2.reg2mem
br i1 %13, label LBL_3, label LBL_4
LBL_4:
store i32 %storemerge2.reload, i32* @gv_5, align 4
%14 = zext i32 %storemerge2.reload to i64
%15 = call i64 @FUNC(i64 0, i64 0)
store i64 %15, i64* @gv_6, align 8
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_5, label LBL_7
LBL_5:
%18 = load i32, i32* @gv_5, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_9, label LBL_6
LBL_6:
%20 = call i64 @FUNC(i64 %15)
%21 = load i32, i32* @gv_5, align 4
%22 = icmp ugt i32 %21, 1
store i32 1, i32* %.reg2mem
br i1 %22, label LBL_8, label LBL_9
LBL_7:
%rdx.0.le = zext i32 %11 to i64
%23 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.0.le, i64 %14, i64 %2, i64 %1)
%24 = call i64 @FUNC(i64* nonnull @gv_3)
store i64 4294967284, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_8:
%.reload = load i32, i32* %.reg2mem
%.pre = load i64, i64* @gv_6, align 8
%25 = call i64 @FUNC(i64 %.pre)
%26 = add i32 %.reload, 1
%27 = load i32, i32* @gv_5, align 4
%28 = zext i32 %27 to i64
%29 = sext i32 %26 to i64
%30 = icmp slt i64 %29, %28
store i32 %26, i32* %.reg2mem
br i1 %30, label LBL_8, label LBL_9
LBL_9:
%31 = call i64 @FUNC(i64* nonnull @gv_3)
%32 = load i32, i32* inttoptr (i64 4210784 to i32*), align 32
%33 = sext i32 %32 to i64
%34 = mul nsw i64 %33, 88
%35 = call i64 @FUNC(i64 %34, i64 0)
store i64 %35, i64* @gv_8, align 8
%36 = icmp eq i64 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_11, label LBL_10
LBL_10:
%38 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %33, i64 %14, i64 %2, i64 %1)
store i64 4294967284, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_11:
%39 = call i64 @FUNC(i64* nonnull @gv_9)
%40 = call i64 @FUNC(i64* nonnull @gv_9)
store i32 0, i32* bitcast (i64* @gv_10 to i32*), align 8
%41 = load i32, i32* @gv_11, align 4
%42 = icmp eq i32 %41, 0
store i64 0, i64* %.reg2mem7
store i32 0, i32* %storemerge3.reg2mem
br i1 %42, label LBL_13, label LBL_12
LBL_12:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload8 = load i64, i64* %.reg2mem7
%43 = load i64, i64* @gv_8, align 8
%44 = mul nsw i64 %.reload8, 88
%45 = add nsw i64 %44, 32
%46 = add i64 %45, %43
%47 = call i64 @FUNC(i64 %46)
%48 = load i64, i64* @gv_8, align 8
%49 = add nsw i64 %44, 40
%50 = add i64 %49, %48
%51 = call i64 @FUNC(i64 %50)
%52 = load i64, i64* @gv_8, align 8
%53 = add nsw i64 %44, 48
%54 = add i64 %52, %53
%55 = inttoptr i64 %54 to i64*
%56 = call i64 @FUNC(i64* %55)
%57 = load i64, i64* @gv_8, align 8
%58 = add i64 %57, %53
%59 = inttoptr i64 %58 to i64*
%60 = call i64 @FUNC(i64* %59)
%61 = load i64, i64* @gv_8, align 8
%62 = add i64 %61, %44
%63 = inttoptr i64 %62 to i32*
store i32 %storemerge3.reload, i32* %63, align 4
%64 = load i64, i64* @gv_8, align 8
%65 = or i64 %44, 4
%66 = add i64 %64, %65
%67 = inttoptr i64 %66 to i32*
store i32 0, i32* %67, align 4
%68 = load i64, i64* @gv_8, align 8
%69 = add nsw i64 %44, 8
%70 = add i64 %69, %68
%71 = inttoptr i64 %70 to i32*
store i32 0, i32* %71, align 4
%72 = load i64, i64* @gv_8, align 8
%73 = add nsw i64 %44, 16
%74 = add i64 %73, %72
%75 = inttoptr i64 %74 to i64*
store i64 0, i64* %75, align 8
%76 = load i64, i64* @gv_8, align 8
%77 = add nsw i64 %44, 24
%78 = add i64 %77, %76
%79 = inttoptr i64 %78 to i64*
store i64 0, i64* %79, align 8
%80 = load i64, i64* @gv_8, align 8
%81 = add i64 %80, %45
%82 = call i64 @FUNC(i64 %81, i64* nonnull @gv_12)
%83 = load i64, i64* @gv_8, align 8
%84 = add i64 %83, %53
%85 = inttoptr i64 %84 to i64*
%86 = call i64 @FUNC(i64* %85)
%87 = add i32 %storemerge3.reload, 1
%88 = load i32, i32* @gv_11, align 4
%89 = zext i32 %88 to i64
%90 = sext i32 %87 to i64
%91 = icmp slt i64 %90, %89
store i64 %90, i64* %.reg2mem7
store i32 %87, i32* %storemerge3.reg2mem
br i1 %91, label LBL_12, label LBL_13
LBL_13:
%92 = call i64 @FUNC(i64* nonnull @gv_9)
%93 = call i64 @FUNC()
%94 = trunc i64 %93 to i32
%95 = icmp eq i32 %94, 0
store i64 %93, i64* %sv_0.0.reg2mem
br i1 %95, label LBL_15, label LBL_14
LBL_14:
%96 = call i64 @FUNC()
store i64 %93, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_15:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%97 = and i64 %sv_0.0.reload, 4294967295
ret i64 %97
uselistorder i64 %44, { 2, 3, 4, 1, 0, 5, 6, 7 }
uselistorder i64 %14, { 1, 0 }
uselistorder i32 %storemerge2.reload, { 1, 0, 2 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem7, { 2, 0, 1 }
uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }
uselistorder i32* @gv_11, { 1, 0 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder i64 (i64*)* @mutex_unlock, { 2, 3, 1, 0 }
uselistorder i64 (i64)* @INIT_HLIST_HEAD, { 1, 0 }
uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 }
uselistorder i32* @gv_5, { 3, 0, 2, 1 }
uselistorder i64 (i64*)* @mutex_lock, { 2, 1, 0 }
uselistorder i64 (i64*)* @mutex_init, { 2, 1, 0 }
uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @printk, { 2, 1, 0 }
uselistorder i32* @gv_0, { 2, 1, 0 }
uselistorder i32 1, { 16, 17, 10, 14, 12, 13, 11, 9, 8, 7, 6, 5, 4, 3, 2, 15, 1, 0 }
uselistorder label LBL_15, { 1, 0, 2, 3 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
BinRealVul | nfs4_set_delegation_4446 | nfs4_set_delegation | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%rdx = alloca i64, align 8
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 -11, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_9
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = ptrtoint i64* %arg2 to i64
%6 = call i64 @FUNC(i64 %4, i64 %5)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_9
LBL_2:
%9 = ptrtoint i64* %arg3 to i64
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64* nonnull @gv_0)
%12 = add i64 %9, 24
%13 = inttoptr i64 %12 to i64*
%14 = call i64 @FUNC(i64* %13)
%15 = inttoptr i64 %6 to i64*
store i64 %9, i64* %15, align 8
%16 = add i64 %9, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = call i64 @FUNC(i64 %12)
%22 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))
%23 = call i64 @FUNC(i64 %6)
%24 = trunc i64 %23 to i32
store i32 %24, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_4:
%25 = bitcast i64* %rdx to i32*
%26 = load i32, i32* %25, align 8
%27 = icmp eq i32 %26, 0
store i32 -11, i32* %storemerge.reg2mem
br i1 %27, label LBL_5, label LBL_6
LBL_5:
%28 = add i64 %9, 16
%29 = call i64 @FUNC(i64 %28)
%30 = call i64 @FUNC(i64 %6, i64 %9)
store i32 0, i32* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%31 = call i64 @FUNC(i64 %12)
%32 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))
store i32 %storemerge.reload, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%33 = icmp eq i32 %sv_0.0.reload, 0
store i64 %6, i64* %rax.0.reg2mem
br i1 %33, label LBL_9, label LBL_8
LBL_8:
%34 = call i64 @FUNC(i64 %6)
%35 = sext i32 %sv_0.0.reload to i64
store i64 %35, 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 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %12, { 1, 0, 2 }
uselistorder i64 %9, { 1, 2, 0, 3, 5, 4 }
uselistorder i64 %6, { 2, 0, 3, 1, 4, 5 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 (i64)* @spin_unlock, { 3, 2, 1, 0 }
uselistorder i64 (i64*)* @spin_lock, { 1, 0 }
uselistorder i64* @gv_0, { 1, 0 }
uselistorder i32 0, { 1, 0, 2, 3 }
uselistorder label LBL_9, { 3, 0, 1, 2 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | js_newregexp_6633 | js_newregexp | define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %0, i64 1, i64 %3)
%5 = urem i64 %arg3, 2
%6 = icmp ne i64 %5, 0
%spec.select = zext i1 %6 to i32
%7 = trunc i64 %arg3 to i32
%8 = and i32 %7, 2
%9 = or i32 %8, %spec.select
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = ptrtoint i8* %arg2 to i64
%14 = call i64 @FUNC(i64 %0, i64 %12, i64 %13, i32 %9, i64* nonnull %sv_0)
%15 = icmp eq i64 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_2, label LBL_1
LBL_1:
%17 = load i64, i64* %sv_0, align 8
%18 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %17)
br label LBL_2
LBL_2:
%19 = inttoptr i64 %4 to i64*
store i64 %14, i64* %19, align 8
%20 = call i64 @FUNC(i64 %0, i64 %13)
%21 = add i64 %4, 8
%22 = inttoptr i64 %21 to i64*
store i64 %20, i64* %22, align 8
%23 = add i64 %4, 16
%24 = inttoptr i64 %23 to i32*
store i32 %7, i32* %24, align 4
%25 = add i64 %4, 20
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
%27 = call i64 @FUNC(i64 %0, i64 %4)
ret i64 %27
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6 }
uselistorder i64 %arg3, { 1, 0 }
} | 0 |
BinRealVul | block_save_setup_15846 | block_save_setup | define i64 @FUNC(i64* %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 = ptrtoint i64* %arg1 to i64
%5 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
%6 = load i32, i32* @gv_0, align 4
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i64 %7, i32 %5, i64 %3, i64 %2, i64 %1)
%9 = call i64 @FUNC()
%10 = call i64 @FUNC(i64 %4)
%11 = call i64 @FUNC()
%12 = call i64 @FUNC()
%13 = call i64 @FUNC(i64 %4)
%14 = call i64 @FUNC()
%15 = call i64 @FUNC(i64 %4, i64 -1)
%16 = and i64 %13, 4294967295
ret i64 %16
uselistorder i64* %0, { 2, 1, 0 }
} | 1 |
BinRealVul | nfs4_xdr_dec_open_noattr_9059 | nfs4_xdr_dec_open_noattr | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%2 = bitcast i32* %sv_0 to i64*
%3 = call i64 @FUNC(i64* nonnull %2, i64 %1, i64 %0)
%4 = call i64 @FUNC(i64* nonnull %2, i64* nonnull %2)
%5 = trunc i64 %4 to i32
store i32 %5, i32* %sv_0, align 4
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i32 %5, i32* %.reg2mem
br i1 %7, label LBL_4, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64* nonnull %2)
%9 = trunc i64 %8 to i32
store i32 %9, i32* %sv_0, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i32 %9, i32* %.reg2mem
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%12 = ptrtoint i64* %arg3 to i64
%13 = call i64 @FUNC(i64* nonnull %2, i64 %12)
%14 = trunc i64 %13 to i32
store i32 %14, i32* %sv_0, align 4
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i32 %14, i32* %.reg2mem
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = add i64 %12, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64* nonnull %2, i64 %19, i64 %19)
%.pre = load i32, i32* %sv_0, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i32, i32* %.reg2mem
%21 = zext i32 %.reload to i64
ret i64 %21
uselistorder i64 %19, { 1, 0 }
uselistorder i64* %2, { 0, 1, 2, 4, 3, 5 }
uselistorder i32* %sv_0, { 0, 3, 2, 1, 4 }
uselistorder i32* %.reg2mem, { 0, 1, 4, 3, 2 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
} | 0 |
BinRealVul | flakey_ioctl_12077 | flakey_ioctl | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = call i64 @FUNC(i64 %0, i32 %4, i32 %1, i64 %arg3)
ret i64 %5
} | 1 |
BinRealVul | __aa_fs_profile_migrate_dents_4784 | __aa_fs_profile_migrate_dents | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = 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
%2 = mul i64 %indvars.iv.reload, 8
%3 = add i64 %2, %1
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %2, %0
%7 = inttoptr i64 %6 to i64*
store i64 %5, i64* %7, align 8
%8 = icmp eq i64 %5, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = inttoptr i64 %5 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i32 @time(i32* null)
%12 = sext i32 %11 to i64
%13 = inttoptr i64 %10 to i64*
store i64 %12, i64* %13, align 8
br label LBL_3
LBL_3:
store i64 0, i64* %4, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
ret i64 %1
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 0 |
BinRealVul | cgroup_sk_alloc_6138 | cgroup_sk_alloc | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64*
%0 = load i8, i8* @gv_0, align 1
%1 = icmp eq i8 %0, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i32*
store i32 1, i32* %4, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%5 = call i64 @FUNC()
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 0
%8 = icmp eq i1 %7, false
store i64 %5, i64* %rax.0.reg2mem
br i1 %8, label LBL_6, label LBL_3
LBL_3:
%9 = call i64 @FUNC()
%10 = load i64, i64* @gv_1, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = urem i64 %14, 256
%16 = icmp eq i64 %15, 0
store i64* %12, i64** %.lcssa.reg2mem
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%.lcssa.reload = load i64*, i64** %.lcssa.reg2mem
%17 = load i64, i64* %.lcssa.reload, align 8
store i64 %17, i64* %arg1, align 8
%18 = call i64 @FUNC()
store i64 %18, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%19 = call i64 @FUNC()
%20 = load i64, i64* @gv_1, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23)
%25 = urem i64 %24, 256
%26 = icmp eq i64 %25, 0
store i64* %22, i64** %.lcssa.reg2mem
br i1 %26, label LBL_5, label LBL_4
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64** %.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @cgroup_tryget, { 1, 0 }
uselistorder i64 (i64)* @task_css_set, { 1, 0 }
uselistorder i64* @gv_1, { 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | PHP_GINIT_FUNCTION_5005 | PHP_GINIT_FUNCTION | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
store i64 0, i64* %1, align 8
%2 = load i64, i64* @gv_0, align 8
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
store i64 0, i64* %4, align 8
%5 = load i64, i64* @gv_0, align 8
%6 = add i64 %5, 16
%7 = inttoptr i64 %6 to i64*
store i64 0, i64* %7, align 8
%8 = load i64, i64* @gv_0, align 8
%9 = add i64 %8, 24
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
ret i64 %8
uselistorder i64 %8, { 1, 0 }
} | 0 |
BinRealVul | g364fb_update_display_16544 | g364fb_update_display | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_11, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_11, label LBL_2
LBL_2:
%9 = add i64 %4, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %2, %13
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = load i32, i32* %6, align 4
%17 = load i64, i64* %10, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %16, %19
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = load i32, i32* %6, align 4
%22 = load i64, i64* %10, align 8
%23 = and i64 %1, 4294967295
%24 = call i64 @FUNC(i64 %22, i64 %23, i32 %21)
br label LBL_5
LBL_5:
%25 = add i64 %4, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = urem i32 %27, 2
%29 = icmp eq i32 %28, 0
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = call i64 @FUNC(i64 %4)
br label LBL_10
LBL_7:
%31 = add i64 %4, 8
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = icmp eq i32 %33, 8
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_9, label LBL_8
LBL_8:
%36 = call i64 @FUNC(i64 %4)
br label LBL_10
LBL_9:
%37 = zext i32 %33 to i64
%38 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %37)
br label LBL_10
LBL_10:
%39 = add i64 %4, 24
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = call i64 @FUNC(i64 %41)
store i64 %42, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %10, { 1, 0, 2 }
uselistorder i32* %6, { 1, 0, 2 }
uselistorder i64 %4, { 0, 4, 3, 2, 1, 5, 6 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder label LBL_11, { 2, 1, 0 }
} | 1 |
BinRealVul | bdrv_init_14160 | bdrv_init | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = call i64 @FUNC(i64* nonnull @gv_1)
%2 = call i64 @FUNC(i64* nonnull @gv_2)
%3 = call i64 @FUNC(i64* nonnull @gv_3)
%4 = call i64 @FUNC(i64* nonnull @gv_4)
%5 = call i64 @FUNC(i64* nonnull @gv_5)
%6 = call i64 @FUNC(i64* nonnull @gv_6)
%7 = call i64 @FUNC(i64* nonnull @gv_7)
%8 = call i64 @FUNC(i64* nonnull @gv_8)
%9 = call i64 @FUNC(i64* nonnull @gv_9)
%10 = call i64 @FUNC(i64* nonnull @gv_10)
%11 = call i64 @FUNC(i64* nonnull @gv_11)
%12 = call i64 @FUNC(i64* nonnull @gv_12)
ret i64 %12
uselistorder i64 (i64*)* @bdrv_register, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
} | 1 |
BinRealVul | av_fifo_generic_read_15561 | av_fifo_generic_read | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = call i64 @FUNC(i64 %0)
%3 = trunc i64 %2 to i32
%4 = icmp slt i32 %3, %1
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %4, label LBL_5, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 4294967296
%5 = ashr exact i64 %sext, 32
%6 = ptrtoint i64* %arg4 to i64
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
%9 = icmp eq i64 %arg3, 0
store i64 %6, i64* %sv_0.0.reg2mem
store i64 %5, i64* %sv_1.0.reg2mem
br label LBL_2
LBL_2:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%10 = load i64, i64* %8, align 8
%11 = sub i64 %10, %0
%12 = sub i64 %sv_1.0.reload, %11
%13 = xor i64 %11, %sv_1.0.reload
%14 = xor i64 %12, %sv_1.0.reload
%15 = and i64 %14, %13
%16 = icmp slt i64 %15, 0
%17 = icmp eq i64 %12, 0
%18 = icmp slt i64 %12, 0
%19 = icmp eq i1 %18, %16
%20 = icmp eq i1 %17, false
%21 = icmp eq i1 %19, %20
%22 = select i1 %21, i64 %11, i64 %sv_1.0.reload
%23 = trunc i64 %22 to i32
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br i1 %9, label LBL_3, label LBL_4
LBL_3:
%24 = inttoptr i64 %sv_0.0.reload to i64*
%25 = call i64* @memcpy(i64* %24, i64* %arg1, i32 %23)
%sext3 = mul i64 %22, 4294967296
%26 = ashr exact i64 %sext3, 32
%27 = add i64 %26, %sv_0.0.reload
store i64 %27, i64* %sv_0.1.reg2mem
br label LBL_4
LBL_4:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%28 = and i64 %22, 4294967295
%29 = call i64 @FUNC(i64 %0, i64 %28)
%30 = trunc i64 %sv_1.0.reload to i32
%31 = sub i32 %30, %23
%32 = sext i32 %31 to i64
%33 = icmp eq i32 %31, 0
%34 = icmp slt i32 %31, 0
%35 = icmp eq i1 %34, false
%36 = icmp eq i1 %33, false
%37 = icmp eq i1 %35, %36
store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem
store i64 %32, i64* %sv_1.0.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %37, label LBL_2, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %31, { 2, 1, 0 }
uselistorder i64 %22, { 1, 0, 2 }
uselistorder i64 %12, { 1, 2, 0 }
uselistorder i64 %11, { 2, 0, 1 }
uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }
uselistorder i64 %sv_1.0.reload, { 0, 1, 4, 3, 2 }
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | AcquireRandomInfoThreadSet_12410 | AcquireRandomInfoThreadSet | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 0)
%1 = call i64 @FUNC(i64 %0, i64 8)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_5
LBL_1:
%4 = mul i64 %0, 8
%5 = call i64 @FUNC(i64 %1, i64 0, i64 %4)
%6 = icmp sgt i64 %0, 0
store i64 0, i64* %storemerge1.reg2mem
store i64 %1, i64* %rax.0.reg2mem
br i1 %6, label LBL_2, label LBL_5
LBL_2:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%7 = mul i64 %storemerge1.reload, 8
%8 = add i64 %7, %1
%9 = call i64 @FUNC()
%10 = inttoptr i64 %8 to i64*
store i64 %9, i64* %10, align 8
%11 = icmp eq i64 %9, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %1)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%14 = add nuw nsw i64 %storemerge1.reload, 1
%15 = icmp slt i64 %14, %0
store i64 %14, i64* %storemerge1.reg2mem
store i64 %1, i64* %rax.0.reg2mem
br i1 %15, label LBL_2, label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 0, 3, 2, 1, 4, 5 }
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i1 false, { 1, 2, 3, 0 }
uselistorder i64 8, { 0, 1, 3, 2 }
uselistorder i32 1, { 1, 0, 3, 2 }
uselistorder label LBL_5, { 0, 3, 1, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | s390_pci_iommu_enable_1567 | s390_pci_iommu_enable | 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 %1, 1
%4 = add i64 %2, 8
%5 = add i64 %2, 16
%6 = and i64 %3, 4294967295
%7 = call i64 @FUNC(i64 %5, i64 %4, i64* nonnull @gv_0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %6)
%8 = call i64 @FUNC(i64 %4, i64 0, i64 %5)
%9 = add i64 %2, 24
%10 = inttoptr i64 %9 to i8*
store i8 1, i8* %10, align 1
ret i64 %2
uselistorder i64 %2, { 1, 0, 2, 3 }
} | 0 |
BinRealVul | jsonGenObject_9163 | jsonGenObject | define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%.reg2mem6 = alloca i32
%storemerge5.reg2mem = alloca i32
%.reg2mem = alloca i32
%storemerge4.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%2 = trunc i64 %arg4 to i32
%3 = call i64 @FUNC(i64 %1, i64 1)
%4 = call i64 @FUNC(i64 %1, i64 0, i64 %3)
%5 = add i32 %2, 1
store i32 %5, i32* %sv_1, align 4
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp ugt i32 %8, %5
store i32 %5, i32* %.reg2mem6
br i1 %9, label LBL_1, label LBL_7
LBL_1:
%10 = mul i64 %arg4, 4
%11 = and i64 %10, 17179869180
%12 = inttoptr i64 %11 to i32*
%13 = ptrtoint i8* %arg3 to i64
%14 = bitcast i32* %sv_0 to i64*
store i32 %5, i32* %.reg2mem
store i32 0, i32* %storemerge5.reg2mem
br label LBL_6
LBL_2:
%15 = call i64 @FUNC(i64 %0, i64 %13, i32 %.reload, i64* nonnull %14)
%16 = load i32, i32* %sv_1, align 4
%17 = add i32 %16, 1
store i32 %17, i32* %sv_1, align 4
%18 = or i32 %storemerge5.reload, 1
%19 = load i32, i32* %12, align 4
%20 = icmp ult i32 %18, %19
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = call i64 @FUNC(i64 %1, i64 0)
store i64 %21, i64* %storemerge4.reg2mem
br label LBL_5
LBL_4:
%22 = sext i32 %17 to i64
%23 = call i64 @FUNC(i64 %1, i64 %0, i64 %13, i32 %17, i32* nonnull %sv_1, i64 0, i64 %22, i64 %15)
store i64 %23, i64* %storemerge4.reg2mem
br label LBL_5
LBL_5:
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%24 = call i64 @FUNC(i64* nonnull %14)
%25 = load i32, i32* %sv_0, align 4
%26 = zext i32 %25 to i64
%27 = call i64 @FUNC(i64* nonnull %14, i64 %15, i64 %26)
%28 = call i64 @FUNC(i64* nonnull %14)
%29 = call i64 @FUNC(i64 %1, i64 %3, i64 %28, i64 %storemerge4.reload, i64 0)
%30 = call i64 @FUNC(i64* nonnull %14)
%31 = load i32, i32* %sv_1, align 4
%32 = add i32 %31, 1
store i32 %32, i32* %sv_1, align 4
%33 = add i32 %storemerge5.reload, 2
%34 = load i32, i32* %7, align 4
%35 = icmp ugt i32 %34, %32
store i32 %32, i32* %.reg2mem
store i32 %33, i32* %storemerge5.reg2mem
store i32 %32, i32* %.reg2mem6
br i1 %35, label LBL_6, label LBL_7
LBL_6:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload = load i32, i32* %.reg2mem
%36 = load i32, i32* %12, align 4
%37 = icmp ult i32 %storemerge5.reload, %36
store i32 %.reload, i32* %.reg2mem6
br i1 %37, label LBL_2, label LBL_7
LBL_7:
%38 = icmp eq i64* %arg5, null
br i1 %38, label LBL_9, label LBL_8
LBL_8:
%.reload7 = load i32, i32* %.reg2mem6
%39 = bitcast i64* %arg5 to i32*
store i32 %.reload7, i32* %39, align 4
br label LBL_9
LBL_9:
ret i64 %4
uselistorder i32 %storemerge5.reload, { 2, 0, 1 }
uselistorder i32* %12, { 1, 0 }
uselistorder i32* %7, { 1, 0 }
uselistorder i32 %5, { 1, 0, 2, 3 }
uselistorder i32* %sv_1, { 1, 2, 0, 3, 4, 5 }
uselistorder i64 %1, { 1, 2, 0, 3, 4 }
uselistorder i64 %0, { 0, 2, 1 }
uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem6, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @Jsi_ValueMakeUndef, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | __submit_merged_bio_7975 | __submit_merged_bio | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %5, i64 %10, i32 %9)
%12 = call i64 @FUNC(i64 %10)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = load i64, i64* %4, align 8
%16 = inttoptr i64 %3 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %2, 16
%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 = zext i32 %17 to i64
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%24 = call i64 @FUNC(i64 %22, i64 %23, i64 %15)
br label LBL_4
LBL_3:
%25 = call i64 @FUNC(i64 %22, i64 %23, i64 %15)
br label LBL_4
LBL_4:
%26 = load i32, i32* %16, align 4
%27 = load i64, i64* %4, align 8
%28 = load i64, i64* %19, align 8
%29 = call i64 @FUNC(i64 %28, i64 %27, i32 %26)
store i64 0, i64* %4, align 8
store i64 %2, 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 %23, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %15, { 1, 0 }
uselistorder i64 %10, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | spapr_vio_quiesce_one_13911 | spapr_vio_quiesce_one | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = and i32 %3, -2
%5 = bitcast i64* %arg1 to i32*
store i32 %4, i32* %5, align 4
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = inttoptr i64 %8 to i64*
%11 = call i64* @memset(i64* %10, i32 0, i32 0)
br label LBL_2
LBL_2:
%12 = add i64 %2, 24
%13 = inttoptr i64 %12 to i64*
store i64 0, i64* %13, align 8
%14 = add i64 %2, 32
%15 = inttoptr i64 %14 to i64*
store i64 0, i64* %15, align 8
%16 = add i64 %2, 40
%17 = inttoptr i64 %16 to i64*
store i64 0, i64* %17, align 8
ret i64 %2
} | 1 |
BinRealVul | ehci_trace_qh_644 | ehci_trace_qh | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 12
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %2, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = trunc i64 %1 to i32
%14 = zext i32 %6 to i64
%15 = zext i32 %9 to i64
%16 = call i64 @FUNC(i64 %3, i64 %arg2, i32 %13, i32 %12, i64 %15, i64 %14)
%17 = add i64 %2, 16
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = zext i32 %19 to i64
%21 = call i64 @FUNC(i64 %20, i64 16)
%22 = load i32, i32* %18, align 4
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %23, i64 8)
%25 = load i32, i32* %18, align 4
%26 = zext i32 %25 to i64
%27 = call i64 @FUNC(i64 %26, i64 4)
%28 = load i32, i32* %18, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %29, i64 2)
%31 = load i32, i32* %18, align 4
%32 = zext i32 %31 to i64
%33 = call i64 @FUNC(i64 %32, i64 1)
%34 = and i64 %33, 4294967295
%35 = and i64 %21, 4294967295
%36 = and i64 %24, 4294967295
%37 = and i64 %27, 4294967295
%38 = and i64 %30, 4294967295
%39 = call i64 @FUNC(i64 %arg2, i64 %34, i64 %38, i64 %37, i64 %36, i64 %35)
%40 = load i32, i32* %18, align 4
%41 = and i32 %40, 256
%42 = icmp eq i32 %41, 0
%43 = icmp eq i1 %42, false
%44 = trunc i32 %40 to i8
%45 = icmp sgt i8 %44, -1
%46 = icmp eq i1 %45, false
%47 = zext i1 %46 to i64
%48 = and i32 %40, 64
%49 = icmp eq i32 %48, 0
%50 = icmp eq i1 %49, false
%51 = zext i1 %50 to i64
%52 = and i32 %40, 32
%53 = icmp eq i32 %52, 0
%54 = icmp eq i1 %53, false
%55 = zext i1 %54 to i64
%56 = zext i1 %43 to i64
%57 = call i64 @FUNC(i64 %arg2, i64 %55, i64 %51, i64 %47, i64 %56)
ret i64 %57
uselistorder i32* %18, { 0, 1, 3, 2, 4, 5 }
uselistorder i32 32, { 1, 0 }
uselistorder i64 (i64, i64)* @get_field, { 4, 3, 2, 1, 0 }
} | 0 |
BinRealVul | pdf_load_xobject_13676 | pdf_load_xobject | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1, i64 %arg3)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))
unreachable
LBL_2:
%5 = load i64, i64* @gv_1, align 8
%6 = call i64 @FUNC(i64 %arg1, i64 %5, i64 %arg3)
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_3, label LBL_4
LBL_3:
call void @llvm.trap()
unreachable
LBL_4:
ret i64 %6
uselistorder i64 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
} | 0 |
BinRealVul | dwt_encode97_float_15581 | dwt_encode97_float | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.lcssa.reg2mem = alloca i32
%storemerge2.lcssa.reg2mem = alloca i32
%storemerge221.reg2mem = alloca i32
%sv_0.119.reg2mem = alloca i32
%sv_1.120.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.016.reg2mem = alloca i32
%sv_1.017.reg2mem = alloca i32
%indvars.iv31.reg2mem = alloca i64
%storemerge411.reg2mem = alloca i32
%sv_2.19.reg2mem = alloca i32
%sv_3.110.reg2mem = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_2.07.reg2mem = alloca i32
%sv_3.08.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge26.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i32* %arg1 to i64
%4 = trunc i64 %1 to i32
%5 = add i32 %4, -1
%6 = sext i32 %5 to i64
%7 = mul i64 %6, 8
%8 = add i64 %3, 4
%9 = add i64 %7, %8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i64 %3, 168
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %14, 20
%16 = icmp slt i32 %5, 0
%17 = icmp eq i1 %16, false
store i32 %5, i32* %storemerge26.reg2mem
store i32 %5, i32* %rax.0.in.lcssa.reg2mem
br i1 %17, label LBL_1, label LBL_23
LBL_1:
%storemerge26.reload = load i32, i32* %storemerge26.reg2mem
%18 = sext i32 %storemerge26.reload to i64
%19 = mul i64 %18, 8
%20 = add i64 %19, %8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %19, %3
%24 = add i64 %23, 8
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %23, 88
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp sgt i32 %26, 0
br i1 %30, label LBL_2, label LBL_13
LBL_2:
%31 = add i64 %23, 84
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 4
%36 = add i64 %35, %15
%37 = icmp sgt i32 %22, 0
%38 = add i32 %33, %22
%39 = zext i32 %33 to i64
%40 = icmp slt i32 %33, %22
%41 = sub i32 1, %33
%42 = icmp slt i32 %41, %22
%wide.trip.count = zext i32 %22 to i64
store i32 0, i32* %storemerge411.reg2mem
br label LBL_11
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%43 = trunc i64 %indvars.iv.reload to i32
%44 = add i32 %97, %43
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 4
%47 = add i64 %46, %2
%48 = mul i64 %indvars.iv.reload, 4
%49 = add i64 %48, %36
%50 = inttoptr i64 %47 to i32*
%51 = load i32, i32* %50, align 4
%52 = call i128 @FUNC(i32 %51)
%53 = call i64 @__asm_movss.1(i128 %52)
%54 = trunc i64 %53 to i32
%55 = inttoptr i64 %49 to i32*
store i32 %54, i32* %55, align 4
%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_4, label LBL_3
LBL_4:
%56 = call i64 @FUNC(i64 %15, i64 %39, i32 %38)
store i32 0, i32* %sv_2.0.lcssa.reg2mem
br i1 %40, label LBL_5, label LBL_7
LBL_5:
%57 = mul i32 %storemerge411.reload, %11
store i32 %33, i32* %sv_3.08.reg2mem
store i32 0, i32* %sv_2.07.reg2mem
br label LBL_6
LBL_6:
%sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem
%sv_3.08.reload = load i32, i32* %sv_3.08.reg2mem
%58 = sext i32 %sv_3.08.reload to i64
%59 = mul i64 %58, 4
%60 = add i64 %59, %36
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = call i128 @FUNC(i32 %62)
%64 = add i32 %sv_2.07.reload, %57
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 4
%67 = add i64 %66, %2
%68 = load i32, i32* inttoptr (i64 4202512 to i32*), align 16
%69 = call i128 @FUNC(i32 %68)
%70 = call i128 @FUNC(i128 %63, i128 %69)
%71 = call i64 @__asm_movss.1(i128 %70)
%72 = trunc i64 %71 to i32
%73 = inttoptr i64 %67 to i32*
store i32 %72, i32* %73, align 4
%74 = add i32 %sv_3.08.reload, 2
%75 = add i32 %sv_2.07.reload, 1
%76 = icmp slt i32 %74, %22
store i32 %74, i32* %sv_3.08.reg2mem
store i32 %75, i32* %sv_2.07.reg2mem
store i32 %75, i32* %sv_2.0.lcssa.reg2mem
br i1 %76, label LBL_6, label LBL_7
LBL_7:
br i1 %42, label LBL_8, label LBL_10
LBL_8:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%77 = mul i32 %storemerge411.reload, %11
store i32 %41, i32* %sv_3.110.reg2mem
store i32 %sv_2.0.lcssa.reload, i32* %sv_2.19.reg2mem
br label LBL_9
LBL_9:
%sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem
%sv_3.110.reload = load i32, i32* %sv_3.110.reg2mem
%78 = sext i32 %sv_3.110.reload to i64
%79 = mul i64 %78, 4
%80 = add i64 %79, %36
%81 = inttoptr i64 %80 to i32*
%82 = load i32, i32* %81, align 4
%83 = call i128 @FUNC(i32 %82)
%84 = add i32 %sv_2.19.reload, %77
%85 = sext i32 %84 to i64
%86 = mul i64 %85, 4
%87 = add i64 %86, %2
%88 = call i128 @FUNC(i32 1073741824)
%89 = call i128 @FUNC(i128 %83, i128 %88)
%90 = call i64 @__asm_movss.1(i128 %89)
%91 = trunc i64 %90 to i32
%92 = inttoptr i64 %87 to i32*
store i32 %91, i32* %92, align 4
%93 = add i32 %sv_3.110.reload, 2
%94 = add i32 %sv_2.19.reload, 1
%95 = icmp slt i32 %93, %22
store i32 %93, i32* %sv_3.110.reg2mem
store i32 %94, i32* %sv_2.19.reg2mem
br i1 %95, label LBL_9, label LBL_10
LBL_10:
%96 = add nuw nsw i32 %storemerge411.reload, 1
%exitcond30 = icmp eq i32 %96, %26
store i32 %96, i32* %storemerge411.reg2mem
br i1 %exitcond30, label LBL_13, label LBL_11
LBL_11:
%storemerge411.reload = load i32, i32* %storemerge411.reg2mem
br i1 %37, label LBL_3.lr.ph, label LBL_4
LBL_12:
%97 = mul i32 %storemerge411.reload, %11
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_13:
%98 = icmp sgt i32 %22, 0
store i32 0, i32* %storemerge2.lcssa.reg2mem
br i1 %98, label LBL_14, label LBL_22
LBL_14:
%99 = sext i32 %29 to i64
%100 = mul i64 %99, 4
%101 = add i64 %100, %15
%102 = add i32 %29, %26
%103 = zext i32 %29 to i64
%104 = icmp slt i32 %29, %26
%105 = sub i32 1, %29
%106 = icmp slt i32 %105, %26
%wide.trip.count33 = zext i32 %26 to i64
store i32 0, i32* %storemerge221.reg2mem
br label LBL_21
LBL_15:
%indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem
%107 = trunc i64 %indvars.iv31.reload to i32
%108 = mul i32 %11, %107
%109 = add i32 %108, %storemerge221.reload
%110 = sext i32 %109 to i64
%111 = mul i64 %110, 4
%112 = add i64 %111, %2
%113 = mul i64 %indvars.iv31.reload, 4
%114 = add i64 %113, %101
%115 = inttoptr i64 %112 to i32*
%116 = load i32, i32* %115, align 4
%117 = call i128 @FUNC(i32 %116)
%118 = call i64 @__asm_movss.1(i128 %117)
%119 = trunc i64 %118 to i32
%120 = inttoptr i64 %114 to i32*
store i32 %119, i32* %120, align 4
%indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1
%exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count33
store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem
br i1 %exitcond34, label LBL_16, label LBL_15
LBL_16:
%121 = call i64 @FUNC(i64 %15, i64 %103, i32 %102)
store i32 %29, i32* %sv_1.017.reg2mem
store i32 0, i32* %sv_0.016.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %104, label LBL_17, label LBL_18
LBL_17:
%sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem
%sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem
%122 = sext i32 %sv_1.017.reload to i64
%123 = mul i64 %122, 4
%124 = add i64 %123, %101
%125 = inttoptr i64 %124 to i32*
%126 = load i32, i32* %125, align 4
%127 = call i128 @FUNC(i32 %126)
%128 = mul i32 %sv_0.016.reload, %11
%129 = add i32 %128, %storemerge221.reload
%130 = sext i32 %129 to i64
%131 = mul i64 %130, 4
%132 = add i64 %131, %2
%133 = call i128 @FUNC(i32 1073741824)
%134 = call i128 @FUNC(i128 %127, i128 %133)
%135 = call i64 @__asm_movss.1(i128 %134)
%136 = trunc i64 %135 to i32
%137 = inttoptr i64 %132 to i32*
store i32 %136, i32* %137, align 4
%138 = add i32 %sv_1.017.reload, 2
%139 = add i32 %sv_0.016.reload, 1
%140 = icmp slt i32 %138, %26
store i32 %138, i32* %sv_1.017.reg2mem
store i32 %139, i32* %sv_0.016.reg2mem
store i32 %139, i32* %sv_0.0.lcssa.reg2mem
br i1 %140, label LBL_17, label LBL_18
LBL_18:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
store i32 %105, i32* %sv_1.120.reg2mem
store i32 %sv_0.0.lcssa.reload, i32* %sv_0.119.reg2mem
br i1 %106, label LBL_19, label LBL_20
LBL_19:
%sv_0.119.reload = load i32, i32* %sv_0.119.reg2mem
%sv_1.120.reload = load i32, i32* %sv_1.120.reg2mem
%141 = sext i32 %sv_1.120.reload to i64
%142 = mul i64 %141, 4
%143 = add i64 %142, %101
%144 = inttoptr i64 %143 to i32*
%145 = load i32, i32* %144, align 4
%146 = call i128 @FUNC(i32 %145)
%147 = mul i32 %sv_0.119.reload, %11
%148 = add i32 %147, %storemerge221.reload
%149 = sext i32 %148 to i64
%150 = mul i64 %149, 4
%151 = add i64 %150, %2
%152 = call i128 @FUNC(i32 1073741824)
%153 = call i128 @FUNC(i128 %146, i128 %152)
%154 = call i64 @__asm_movss.1(i128 %153)
%155 = trunc i64 %154 to i32
%156 = inttoptr i64 %151 to i32*
store i32 %155, i32* %156, align 4
%157 = add i32 %sv_1.120.reload, 2
%158 = add i32 %sv_0.119.reload, 1
%159 = icmp slt i32 %157, %26
store i32 %157, i32* %sv_1.120.reg2mem
store i32 %158, i32* %sv_0.119.reg2mem
br i1 %159, label LBL_19, label LBL_20
LBL_20:
%160 = add nuw nsw i32 %storemerge221.reload, 1
%exitcond35 = icmp eq i32 %160, %22
store i32 %160, i32* %storemerge221.reg2mem
store i32 %22, i32* %storemerge2.lcssa.reg2mem
br i1 %exitcond35, label LBL_22, label LBL_21
LBL_21:
%storemerge221.reload = load i32, i32* %storemerge221.reg2mem
store i64 0, i64* %indvars.iv31.reg2mem
br i1 %30, label LBL_15, label LBL_16
LBL_22:
%storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem
%161 = add i32 %storemerge26.reload, -1
%162 = icmp slt i32 %161, 0
%163 = icmp eq i1 %162, false
store i32 %161, i32* %storemerge26.reg2mem
store i32 %storemerge2.lcssa.reload, i32* %rax.0.in.lcssa.reg2mem
br i1 %163, label LBL_1, label LBL_23
LBL_23:
%rax.0.in.lcssa.reload = load i32, i32* %rax.0.in.lcssa.reg2mem
%rax.0 = zext i32 %rax.0.in.lcssa.reload to i64
ret i64 %rax.0
uselistorder i32 %storemerge221.reload, { 1, 2, 3, 0 }
uselistorder i64 %indvars.iv31.reload, { 0, 2, 1 }
uselistorder i32 %storemerge411.reload, { 1, 2, 3, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i32 %33, { 0, 3, 2, 4, 1, 5 }
uselistorder i32 %29, { 0, 3, 2, 4, 1, 5 }
uselistorder i32 %26, { 6, 7, 1, 4, 5, 0, 2, 3 }
uselistorder i64 %23, { 1, 0, 2 }
uselistorder i32 %22, { 0, 2, 5, 8, 9, 3, 6, 7, 1, 4 }
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %15, { 2, 0, 3, 1 }
uselistorder i32 %11, { 1, 2, 0, 5, 3, 4 }
uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_3.08.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.110.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv31.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_1.017.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.016.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.120.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.119.reg2mem, { 2, 0, 1 }
uselistorder i32 1073741824, { 2, 1, 0, 3 }
uselistorder i64 (i64, i64, i32)* @sd_1d97_float, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 11, 2, 3, 1, 0, 8, 6, 5, 4, 7, 9, 10 }
uselistorder i64 8, { 2, 0, 1 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | qmp_query_migrate_capabilities_1322 | qmp_query_migrate_capabilities | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sv_0.12.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = call i64 @FUNC()
store i64 0, i64* %indvars.iv.reg2mem
store i64 0, i64* %sv_1.03.reg2mem
store i64 0, i64* %sv_0.12.reg2mem
br label LBL_1
LBL_1:
%sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = icmp eq i64 %sv_0.12.reload, 0
%2 = icmp eq i1 %1, false
%3 = call i64 @FUNC(i64 16)
store i64 %3, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_2, label LBL_3
LBL_2:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%4 = add i64 %sv_1.03.reload, 8
%5 = inttoptr i64 %4 to i64*
store i64 %3, i64* %5, align 8
store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%6 = call i64 @FUNC(i64 8)
%7 = inttoptr i64 %3 to i64*
store i64 %6, i64* %7, align 8
%8 = inttoptr i64 %6 to i32*
%9 = trunc i64 %indvars.iv.reload to i32
store i32 %9, i32* %8, align 4
%10 = load i64, i64* %7, align 8
%11 = mul i64 %indvars.iv.reload, 4
%12 = add i64 %11, %0
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %10, 4
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %3, i64* %sv_1.03.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
ret i64 %sv_0.0.reload
uselistorder i64 %3, { 1, 2, 3, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | intel_sdvo_tv_init_17450 | intel_sdvo_tv_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 8, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
%5 = bitcast i64* %arg1 to i32*
store i32 1, i32* %5, align 4
store i32 2, i32* %4, align 4
%6 = add i64 %3, 12
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = trunc i64 %arg2 to i32
%10 = or i32 %8, %9
store i32 %10, i32* %7, align 4
%11 = add i64 %0, 4
%12 = inttoptr i64 %11 to i32*
store i32 %9, i32* %12, align 4
%13 = add i64 %3, 16
%14 = inttoptr i64 %13 to i8*
store i8 1, i8* %14, align 1
%15 = add i64 %3, 4
%16 = inttoptr i64 %15 to i8*
store i8 1, i8* %16, align 1
%17 = add i64 %3, 8
%18 = inttoptr i64 %17 to i32*
store i32 1, i32* %18, align 4
%19 = call i64 @FUNC(i64 %3, i64 %0)
%20 = call i64 @FUNC(i64 %3, i64 %0, i32 %9)
%21 = trunc i64 %20 to i8
%22 = icmp eq i8 %21, 1
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_3, label LBL_2
LBL_2:
%24 = call i64 @FUNC(i64 %3, i64 %0)
%25 = trunc i64 %24 to i8
%26 = icmp eq i8 %25, 1
%27 = icmp eq i1 %26, false
store i64 1, i64* %rax.0.reg2mem
br i1 %27, label LBL_3, label LBL_4
LBL_3:
%28 = call i64 @FUNC(i64 %0)
%29 = call i64 @FUNC(i64 %0)
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 %9, { 1, 2, 0 }
uselistorder i64 %0, { 0, 4, 1, 2, 5, 3, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 8, { 1, 0 }
uselistorder label LBL_4, { 2, 0, 1 }
} | 1 |
BinRealVul | post_msg_5715 | post_msg | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_1, label LBL_2
LBL_1:
%7 = ptrtoint i64* %arg2 to i64
%8 = trunc i64 %1 to i32
%9 = trunc i64 %arg3 to i32
br label LBL_3
LBL_2:
%10 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_11
LBL_3:
%11 = call i32 @write(i32 %8, i64* %arg2, i32 %9)
%12 = icmp slt i32 %11, 0
%13 = icmp eq i1 %12, false
store i32 %11, i32* %sv_0.0.reg2mem
br i1 %13, label LBL_9, label LBL_4
LBL_4:
%14 = call i32* @__errno_location()
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 4
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_5, label LBL_3
LBL_5:
%18 = call i32* @__errno_location()
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 11
%21 = icmp eq i1 %20, false
store i32 0, i32* %sv_0.0.reg2mem
br i1 %21, label LBL_6, label LBL_9
LBL_6:
%22 = call i32* @__errno_location()
%23 = load i32, i32* %22, align 4
%24 = icmp eq i32 %23, 32
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %24, label LBL_11, label LBL_7
LBL_7:
%25 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4
%26 = icmp eq i32 %25, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %26, label LBL_11, label LBL_8
LBL_8:
%27 = call i32* @__errno_location()
%28 = load i32, i32* %27, align 4
%29 = call i8* @strerror(i32 %28)
%30 = ptrtoint i8* %29 to i64
%31 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %30)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_11
LBL_9:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%32 = icmp slt i32 %sv_0.0.reload, %9
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_10, label LBL_11
LBL_10:
%33 = sub i32 %9, %sv_0.0.reload
%34 = sext i32 %sv_0.0.reload to i64
%35 = add i64 %34, %7
%36 = add i64 %2, 8
%37 = inttoptr i64 %36 to i64*
%38 = inttoptr i64 %35 to i64*
%39 = call i64* @memcpy(i64* %37, i64* %38, i32 %33)
%40 = call i64 @FUNC(i64 %2, i64 1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 3, 6 }
uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }
uselistorder i64 4294967295, { 2, 1, 0, 3 }
uselistorder label LBL_11, { 0, 1, 4, 3, 2, 5 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | pci_device_iommu_address_space_16442 | pci_device_iommu_address_space | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
store i64 %3, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_3
LBL_1:
%7 = add i64 %3, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
store i64 4210725, i64* %rax.0.reg2mem
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %9)
store i64 %11, 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 %3, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 1 |
BinRealVul | t1_include_9173 | t1_include | define i64 @FUNC() local_unnamed_addr {
LBL_0:
br label LBL_1
LBL_1:
%0 = call i64 @FUNC()
%1 = call i64 @FUNC()
%2 = call i64 @FUNC()
%3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_1, label LBL_2
LBL_2:
%5 = call i64 @FUNC()
br label LBL_3
LBL_3:
%6 = call i64 @FUNC()
%7 = call i64 @FUNC()
%8 = call i64 @FUNC()
%9 = call i64 @FUNC()
%10 = trunc i64 %9 to i8
%11 = icmp eq i8 %10, 1
br i1 %11, label LBL_5, label LBL_4
LBL_4:
%12 = call i64 @FUNC()
%13 = trunc i64 %12 to i8
%14 = icmp eq i8 %13, 1
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_5
LBL_5:
store i8 1, i8* inttoptr (i64 4210724 to i8*), align 4
br label LBL_6
LBL_6:
%16 = call i64 @FUNC()
%17 = call i64 @FUNC()
%18 = call i64 @FUNC()
%19 = trunc i64 %18 to i8
%20 = icmp eq i8 %19, 1
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_6, label LBL_7
LBL_7:
%22 = call i64 @FUNC()
%23 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1
%24 = icmp eq i8 %23, 0
br i1 %24, label LBL_10, label LBL_8
LBL_8:
%25 = call i64 @FUNC()
%26 = call i64 @FUNC()
%27 = call i64 @FUNC()
%28 = trunc i64 %27 to i8
%29 = icmp eq i8 %28, 1
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_8, label LBL_9
LBL_9:
%31 = call i64 @FUNC()
br label LBL_10
LBL_10:
%32 = call i64 @FUNC()
ret i64 %32
uselistorder i8 0, { 1, 0 }
uselistorder i8 1, { 0, 1, 4, 2, 3 }
uselistorder i64 ()* @t1_putline, { 3, 2, 1, 0 }
uselistorder i64 ()* @t1_scan_param, { 1, 0 }
uselistorder i64 ()* @t1_getline, { 3, 2, 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
BinRealVul | check_offset_addition_12832 | check_offset_addition | define i64 @FUNC(i64 %arg1, i32 %arg2, i32* %arg3, i32* %arg4, i32* %arg5) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i32
%1 = sub i32 0, %arg2
%2 = sub i32 %1, 1
%3 = icmp ugt i32 %0, %2
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = ptrtoint i32* %arg5 to i64
%5 = ptrtoint i32* %arg4 to i64
%6 = ptrtoint i32* %arg3 to i64
%7 = call i64 @FUNC(i64 %6, i64 %5, i64* nonnull @gv_0, i64 %4, i64 0, i64 0)
%8 = call i64 @FUNC(i64 1)
br label LBL_2
LBL_2:
%9 = add i32 %0, %arg2
%10 = zext i32 %9 to i64
ret i64 %10
uselistorder i32 %arg2, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | perf_remove_from_owner_13747 | perf_remove_from_owner | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC()
%4 = icmp eq i64 %2, 0
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i64 @FUNC()
store i64 %5, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%6 = call i64 @FUNC(i64 %2)
%7 = call i64 @FUNC()
%8 = call i64 @FUNC(i64 %2, i64 0)
%9 = add i64 %0, 8
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64 %2)
%12 = call i64 @FUNC(i64 %2)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 2, 1, 3, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | DefragIPv4NoDataTest_11439 | DefragIPv4NoDataTest | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.045.reg2mem = alloca i64
%sv_0.0.ph.ph.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = call i64 @FUNC()
%2 = icmp eq i64 %1, 0
store i64 0, i64* %sv_0.045.reg2mem
br i1 %2, label LBL_6, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 12, i64 1, i64 0, i64 65, i64 0)
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_4, label LBL_2
LBL_2:
%5 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 0, i64* %sv_0.0.ph.ph.reg2mem
br i1 %7, label LBL_5, label LBL_3
LBL_3:
%8 = inttoptr i64 %1 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
store i64 1, i64* %sv_0.0.ph.ph.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %12, label LBL_5, label LBL_7
LBL_4:
%13 = call i64 @FUNC(i64 %1)
store i64 0, i64* %sv_0.045.reg2mem
br label LBL_6
LBL_5:
%sv_0.0.ph.ph.reload = load i64, i64* %sv_0.0.ph.ph.reg2mem
%14 = call i64 @FUNC(i64 %1)
%15 = call i64 @FUNC(i64 %3)
store i64 %sv_0.0.ph.ph.reload, i64* %sv_0.045.reg2mem
br label LBL_6
LBL_6:
%sv_0.045.reload = load i64, i64* %sv_0.045.reg2mem
%16 = call i64 @FUNC()
store i64 %sv_0.045.reload, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %1, { 0, 2, 1, 3 }
uselistorder i64* %sv_0.045.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder i32 1, { 4, 3, 2, 1, 5, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | iwjpeg_scan_exif_13586 | iwjpeg_scan_exif | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = icmp ult i64 %arg3, 8
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = ptrtoint i64* %arg2 to i64
%3 = call i64 @FUNC(i64* nonnull %sv_0, i64 24)
store i64 %2, i64* %sv_0, align 8
%4 = call i64 @FUNC(i64* nonnull %sv_0, i64 4)
%5 = trunc i64 %4 to i32
%6 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i32 %5)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 0, 1, 3, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | restore_sigcontext_1425 | restore_sigcontext | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = load i32, i32* %1
%6 = add i64 %4, 28
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = zext i32 %8 to i64
%10 = call i64 @FUNC(i64 %9, i64 %3)
%11 = add i64 %3, 4
%12 = add i64 %4, 36
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %15, i64 %11)
%17 = add i64 %3, 8
%18 = and i64 %2, 4294967295
%19 = call i64 @FUNC(i64 %18, i64 %17)
%20 = add i64 %3, 12
%21 = add i64 %4, 4
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64 %24, i64 %20)
%26 = add i64 %3, 16
%27 = add i64 %4, 64
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %30, i64 %26)
%32 = add i64 %3, 20
%33 = zext i32 %5 to i64
%34 = call i64 @FUNC(i64 %33, i64 %32)
%35 = add i64 %4, 68
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = and i32 %37, 65280
%39 = urem i32 %5, 256
%40 = or i32 %38, %39
store i32 %40, i32* %36, align 4
%41 = add i64 %3, 24
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = zext i32 %43 to i64
%45 = call i64 @FUNC(i64 %44)
%46 = trunc i64 %45 to i32
store i32 %46, i32* %arg3, align 4
ret i64 %45
uselistorder i64 %45, { 1, 0 }
uselistorder i32 %5, { 1, 0 }
uselistorder i64 (i64, i64)* @__get_user, { 5, 4, 3, 2, 1, 0 }
} | 0 |
BinRealVul | blk_mig_save_bulked_block_16531 | blk_mig_save_bulked_block | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i32
%rcx.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.05.reg2mem = alloca i64
%storemerge26.reg2mem = alloca i32*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge26.reg2mem
store i64 0, i64* %sv_0.05.reg2mem
br label LBL_1
LBL_1:
%sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem
%storemerge26.reload = load i32*, i32** %storemerge26.reg2mem
%4 = load i32, i32* %storemerge26.reload, align 4
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
%7 = ptrtoint i32* %storemerge26.reload to i64
br i1 %6, label LBL_5, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %3, i64 %7)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 1
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
store i32 1, i32* %storemerge26.reload, align 4
br label LBL_4
LBL_4:
%12 = add i64 %7, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %14, %sv_0.05.reload
store i64 1, i64* %sv_1.0.reg2mem
store i64 %15, i64* %sv_0.1.reg2mem
br label LBL_6
LBL_5:
%16 = add i64 %7, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %18, %sv_0.05.reload
%20 = add i64 %7, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i32*
%24 = icmp eq i64 %22, 0
%25 = icmp eq i1 %24, false
store i32* %23, i32** %storemerge26.reg2mem
store i64 %19, i64* %sv_0.05.reg2mem
store i64 0, i64* %sv_1.0.reg2mem
store i64 %19, i64* %sv_0.1.reg2mem
br i1 %25, label LBL_1, label LBL_6
LBL_6:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%26 = load i128, i128* @gv_1, align 8
%27 = trunc i128 %26 to i64
%28 = icmp eq i64 %27, 0
store i32 100, i32* %storemerge.reg2mem
br i1 %28, label LBL_8, label LBL_7
LBL_7:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%29 = mul i64 %sv_0.1.reload, 100
%30 = zext i64 %29 to i128
%31 = and i128 %26, 18446744073709551615
%32 = udiv i128 %30, %31
%33 = trunc i128 %32 to i32
store i64 %27, i64* %rcx.0.reg2mem
store i32 %33, i32* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%34 = load i32, i32* @gv_2, align 4
%35 = icmp eq i32 %storemerge.reload, %34
br i1 %35, label LBL_10, label LBL_9
LBL_9:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
store i32 %storemerge.reload, i32* @gv_2, align 4
%36 = mul i32 %storemerge.reload, 512
%37 = or i32 %36, 1
%38 = sext i32 %37 to i64
%39 = call i64 @FUNC(i64 %3, i64 %38)
%40 = zext i32 %storemerge.reload to i64
%41 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 %40, i64 %38, i64 %rcx.0.reload, i64 %2, i64 %1)
br label LBL_10
LBL_10:
ret i64 %sv_1.0.reload
uselistorder i64 %38, { 1, 0 }
uselistorder i32 %storemerge.reload, { 2, 3, 1, 0 }
uselistorder i64 %7, { 2, 3, 0, 1 }
uselistorder i32* %storemerge26.reload, { 2, 0, 1 }
uselistorder i32** %storemerge26.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32* @gv_2, { 1, 0 }
uselistorder i1 false, { 2, 0, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | mbname_free_4064 | mbname_free | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
store i64 %0, i64* %rax.0.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
store i64 0, i64* %arg1, align 8
%2 = add i64 %0, 56
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = inttoptr i64 %4 to i64*
call void @free(i64* %6)
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i64*
call void @free(i64* %10)
%11 = add i64 %0, 16
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = inttoptr i64 %13 to i64*
call void @free(i64* %14)
%15 = add i64 %0, 24
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i64*
call void @free(i64* %18)
%19 = add i64 %0, 32
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = inttoptr i64 %21 to i64*
call void @free(i64* %22)
%23 = add i64 %0, 40
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = inttoptr i64 %25 to i64*
call void @free(i64* %26)
%27 = add i64 %0, 48
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = inttoptr i64 %29 to i64*
call void @free(i64* %30)
call void @free(i64* nonnull %arg1)
store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 2, 1, 4, 3, 6, 5, 7, 0 }
uselistorder void (i64*)* @free, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | blk_exit_queue_6817 | blk_exit_queue | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0, i64 %0)
store i64 0, i64* %arg1, align 8
br label LBL_2
LBL_2:
%4 = call i64 @FUNC(i64 %0)
%5 = add i64 %0, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
ret i64 %8
uselistorder i64 %0, { 1, 0, 3, 4, 2 }
} | 0 |
BinRealVul | ad7280_event_handler_4791 | ad7280_event_handler | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = sext i32 %3 to i64
%5 = call i64 @FUNC(i64 %4, i64 4, i64 0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_1, label LBL_15
LBL_1:
%8 = load i32, i32* %2, align 4
%9 = zext i32 %8 to i64
%10 = call i64 @FUNC(i64 %1, i64 %9, i64 %5)
%11 = trunc i64 %10 to i32
%12 = icmp slt i32 %11, 0
br i1 %12, label LBL_14, label LBL_2
LBL_2:
%13 = load i32, i32* %2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_14, label LBL_3
LBL_3:
%15 = add i64 %1, 12
%16 = inttoptr i64 %15 to i32*
%17 = add i64 %1, 16
%18 = inttoptr i64 %17 to i32*
%19 = add i64 %1, 4
%20 = inttoptr i64 %19 to i32*
%21 = add i64 %1, 8
%22 = inttoptr i64 %21 to i32*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_4
LBL_4:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%23 = mul i64 %.reload, 4
%24 = add i64 %23, %5
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = and i32 %26, 125829120
%28 = icmp ult i32 %27, 58720256
%29 = udiv i32 %26, 2048
%30 = urem i32 %29, 4096
br i1 %28, label LBL_5, label LBL_9
LBL_5:
%31 = load i32, i32* %20, align 4
%32 = icmp ult i32 %30, %31
br i1 %32, label LBL_7, label LBL_6
LBL_6:
%33 = call i64 @FUNC()
%34 = call i64 @FUNC(i64 %0, i64 0, i64 %33)
br label LBL_13
LBL_7:
%35 = load i32, i32* %22, align 4
%36 = icmp ugt i32 %30, %35
br i1 %36, label LBL_13, label LBL_8
LBL_8:
%37 = call i64 @FUNC()
%38 = call i64 @FUNC(i64 %0, i64 0, i64 %37)
br label LBL_13
LBL_9:
%39 = load i32, i32* %16, align 4
%40 = icmp ult i32 %30, %39
br i1 %40, label LBL_11, label LBL_10
LBL_10:
%41 = call i64 @FUNC()
%42 = call i64 @FUNC(i64 %0, i64 0, i64 %41)
br label LBL_13
LBL_11:
%43 = load i32, i32* %18, align 4
%44 = icmp ugt i32 %30, %43
br i1 %44, label LBL_13, label LBL_12
LBL_12:
%45 = call i64 @FUNC()
%46 = call i64 @FUNC(i64 %0, i64 0, i64 %45)
br label LBL_13
LBL_13:
%47 = add i32 %storemerge2.reload, 1
%48 = load i32, i32* %2, align 4
%49 = zext i32 %48 to i64
%50 = sext i32 %47 to i64
%51 = icmp slt i64 %50, %49
store i64 %50, i64* %.reg2mem
store i32 %47, i32* %storemerge2.reg2mem
br i1 %51, label LBL_4, label LBL_14
LBL_14:
%52 = call i64 @FUNC(i64 %5)
br label LBL_15
LBL_15:
ret i64 1
uselistorder i32 %30, { 3, 1, 2, 0 }
uselistorder i64 %5, { 1, 0, 2, 3 }
uselistorder i32* %2, { 1, 0, 2, 3 }
uselistorder i64 %1, { 1, 3, 0, 2, 4, 5 }
uselistorder i64 %0, { 1, 0, 3, 2, 4 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64, i64, i64)* @iio_push_event, { 3, 2, 1, 0 }
uselistorder i64 ()* @iio_get_time_ns, { 3, 2, 1, 0 }
uselistorder i64 4, { 0, 2, 1 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 2, 0, 3, 4, 1, 5 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | flush_13920 | flush | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
store i32 1, i32* %2, align 4
%3 = add i64 %0, 12
%4 = inttoptr i64 %3 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = add i64 %0, 20
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = add i64 %0, 24
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
%11 = bitcast i64* %arg1 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %0, 4
%13 = inttoptr i64 %12 to i32*
store i32 0, i32* %13, align 4
%14 = add i64 %0, 40
%15 = add i64 %0, 32
%16 = call i64 @FUNC(i64 %15, i64 %14, i64 1024)
ret i64 %16
} | 1 |
BinRealVul | read_huffman_tables_15688 | read_huffman_tables | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i32
%.reg2mem79 = alloca i32
%sv_1.013.reg2mem = alloca i32
%sv_0.014.reg2mem = alloca i32
%.reg2mem77 = alloca i64
%.reg2mem75 = alloca i32*
%.reg2mem73 = alloca i32
%indvars.iv46.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i32
%sv_3.0.reg2mem = alloca i32
%sv_4.0.reg2mem = alloca i32
%sv_5.0.reg2mem = alloca i32
%sv_5.117.reg2mem = alloca i32
%sv_4.118.reg2mem = alloca i32
%sv_3.119.reg2mem = alloca i32
%sv_2.120.reg2mem = alloca i32
%indvars.iv43.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%.reg2mem71 = alloca i64
%.lcssa10.reg2mem = alloca i8
%.lcssa11.reg2mem = alloca i8*
%.lcssa12.reg2mem = alloca i64
%.reg2mem69 = alloca i8*
%.reg2mem = alloca i8
%indvars.iv48.reg2mem = alloca i64
%storemerge.in.in.reg2mem = alloca i8*
%sv_6.0.in.reg2mem = alloca i8
%sv_7.0.in.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%sv_8 = alloca i64, align 8
%sv_9 = alloca i64, align 8
%sv_10 = alloca i64, align 8
%sv_11 = alloca i64, align 8
%5 = ptrtoint i64* %sv_11 to i64
%6 = call i64* @memset(i64* nonnull %sv_10, i32 0, i32 2048)
%7 = call i64* @memset(i64* nonnull %sv_9, i32 -1, i32 2048)
%8 = add i64 %4, 1
%9 = trunc i64 %3 to i8
%10 = inttoptr i64 %8 to i8*
%11 = add i64 %5, -2096
store i64 %4, i64* %sv_7.0.in.in.reg2mem
store i8 %9, i8* %sv_6.0.in.reg2mem
store i8* %10, i8** %storemerge.in.in.reg2mem
br label LBL_1
LBL_1:
%storemerge.in.in.reload = load i8*, i8** %storemerge.in.in.reg2mem
%sv_6.0.in.reload = load i8, i8* %sv_6.0.in.reg2mem
%sv_7.0.in.in.reload = load i64, i64* %sv_7.0.in.in.reg2mem
%sv_7.0.in = add i64 %sv_7.0.in.in.reload, 2
%sv_7.0 = inttoptr i64 %sv_7.0.in to i8*
%storemerge.in = load i8, i8* %storemerge.in.in.reload, align 1
%12 = icmp ugt i8 %sv_6.0.in.reload, %storemerge.in
%13 = add i64 %sv_7.0.in.in.reload, 3
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %sv_7.0, align 1
store i64 %sv_7.0.in, i64* %.lcssa12.reg2mem
store i8* %14, i8** %.lcssa11.reg2mem
store i8 %15, i8* %.lcssa10.reg2mem
br i1 %12, label LBL_4, label LBL_2
LBL_2:
%storemerge = zext i8 %storemerge.in to i64
%16 = zext i8 %sv_6.0.in.reload to i64
store i64 %16, i64* %indvars.iv48.reg2mem
store i8 %15, i8* %.reg2mem
store i8* %14, i8** %.reg2mem69
br label LBL_3
LBL_3:
%.reload70 = load i8*, i8** %.reg2mem69
%.reload = load i8, i8* %.reg2mem
%indvars.iv48.reload = load i64, i64* %indvars.iv48.reg2mem
%17 = zext i8 %.reload to i32
%18 = mul i64 %indvars.iv48.reload, 4
%19 = add i64 %18, %11
%20 = inttoptr i64 %19 to i32*
store i32 %17, i32* %20, align 4
%indvars.iv.next49 = add nuw nsw i64 %indvars.iv48.reload, 1
%21 = ptrtoint i8* %.reload70 to i64
%22 = add i64 %21, 1
%23 = inttoptr i64 %22 to i8*
%24 = load i8, i8* %.reload70, align 1
%exitcond50 = icmp eq i64 %indvars.iv48.reload, %storemerge
store i64 %indvars.iv.next49, i64* %indvars.iv48.reg2mem
store i8 %24, i8* %.reg2mem
store i8* %23, i8** %.reg2mem69
store i64 %21, i64* %.lcssa12.reg2mem
store i8* %23, i8** %.lcssa11.reg2mem
store i8 %24, i8* %.lcssa10.reg2mem
br i1 %exitcond50, label LBL_4, label LBL_3
LBL_4:
%.lcssa10.reload = load i8, i8* %.lcssa10.reg2mem
%.lcssa11.reload = load i8*, i8** %.lcssa11.reg2mem
%.lcssa12.reload = load i64, i64* %.lcssa12.reg2mem
%25 = icmp eq i8 %.lcssa10.reload, 0
store i64 %.lcssa12.reload, i64* %sv_7.0.in.in.reg2mem
store i8 %.lcssa10.reload, i8* %sv_6.0.in.reg2mem
store i8* %.lcssa11.reload, i8** %storemerge.in.in.reg2mem
br i1 %25, label LBL_5, label LBL_1
LBL_5:
%26 = ptrtoint i8* %.lcssa11.reload to i64
%27 = sub i64 %26, %4
%28 = urem i64 %27, 4
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
store i64 %26, i64* %.reg2mem71
store i64 %26, i64* %.lcssa.reg2mem
br i1 %30, label LBL_6, label LBL_7
LBL_6:
%.reload72 = load i64, i64* %.reg2mem71
%31 = add i64 %.reload72, 1
%32 = sub i64 %31, %4
%33 = urem i64 %32, 4
%34 = icmp eq i64 %33, 0
%35 = icmp eq i1 %34, false
store i64 %31, i64* %.reg2mem71
store i64 %31, i64* %.lcssa.reg2mem
br i1 %35, label LBL_6, label LBL_7
LBL_7:
%36 = ptrtoint i64* %arg1 to i64
%37 = ptrtoint i64* %sv_9 to i64
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%38 = add i64 %5, -2608
%39 = add i64 %5, -4656
store i64 257, i64* %indvars.iv46.reg2mem
br label LBL_8.lr.ph
LBL_8:
%sv_5.117.reload = load i32, i32* %sv_5.117.reg2mem
%sv_4.118.reload = load i32, i32* %sv_4.118.reg2mem
%sv_3.119.reload = load i32, i32* %sv_3.119.reg2mem
%sv_2.120.reload = load i32, i32* %sv_2.120.reg2mem
%indvars.iv43.reload = load i64, i64* %indvars.iv43.reg2mem
%40 = mul i64 %indvars.iv43.reload, 4
%41 = add i64 %40, %11
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = icmp ne i32 %43, 0
%45 = icmp ult i32 %43, %sv_4.118.reload
%or.cond = icmp eq i1 %44, %45
store i32 %sv_5.117.reload, i32* %sv_5.0.reg2mem
store i32 %sv_4.118.reload, i32* %sv_4.0.reg2mem
store i32 %sv_3.119.reload, i32* %sv_3.0.reg2mem
store i32 %sv_2.120.reload, i32* %sv_2.0.reg2mem
br i1 %or.cond, label LBL_9, label LBL_10
LBL_9:
%46 = icmp ult i32 %43, %sv_5.117.reload
%spec.select = select i1 %46, i32 %43, i32 %sv_5.117.reload
%spec.select7 = select i1 %46, i32 %sv_5.117.reload, i32 %43
%47 = trunc i64 %indvars.iv43.reload to i32
%spec.select8 = select i1 %46, i32 %47, i32 %sv_3.119.reload
%spec.select9 = select i1 %46, i32 %sv_3.119.reload, i32 %47
store i32 %spec.select, i32* %sv_5.0.reg2mem
store i32 %spec.select7, i32* %sv_4.0.reg2mem
store i32 %spec.select8, i32* %sv_3.0.reg2mem
store i32 %spec.select9, i32* %sv_2.0.reg2mem
br label LBL_10
LBL_10:
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem
%sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem
%indvars.iv.next44 = add nuw nsw i64 %indvars.iv43.reload, 1
%exitcond45 = icmp eq i64 %indvars.iv.next44, %indvars.iv46.reload
store i64 %indvars.iv.next44, i64* %indvars.iv43.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.120.reg2mem
store i32 %sv_3.0.reload, i32* %sv_3.119.reg2mem
store i32 %sv_4.0.reload, i32* %sv_4.118.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.117.reg2mem
br i1 %exitcond45, label LBL_11, label LBL_8
LBL_11:
%48 = icmp eq i32 %sv_4.0.reload, 65536
br i1 %48, label LBL_14, label LBL_12
LBL_12:
%49 = add i32 %sv_4.0.reload, %sv_5.0.reload
%50 = mul i64 %indvars.iv46.reload, 4
%51 = add i64 %50, %11
%52 = inttoptr i64 %51 to i32*
store i32 %49, i32* %52, align 4
%53 = sext i32 %sv_3.0.reload to i64
%54 = add i64 %38, %53
%55 = inttoptr i64 %54 to i8*
store i8 0, i8* %55, align 1
%56 = sext i32 %sv_2.0.reload to i64
%57 = add i64 %38, %56
%58 = inttoptr i64 %57 to i8*
store i8 1, i8* %58, align 1
%59 = mul i64 %56, 4
%60 = add i64 %59, %39
%61 = inttoptr i64 %60 to i32*
%62 = trunc i64 %indvars.iv46.reload to i32
store i32 %62, i32* %61, align 4
%63 = mul i64 %53, 4
%64 = add i64 %63, %39
%65 = inttoptr i64 %64 to i32*
store i32 %62, i32* %65, align 4
%66 = add i64 %59, %11
%67 = inttoptr i64 %66 to i32*
store i32 0, i32* %67, align 4
%68 = add i64 %63, %11
%69 = inttoptr i64 %68 to i32*
store i32 0, i32* %69, align 4
%indvars.iv.next47 = add nuw nsw i64 %indvars.iv46.reload, 1
%70 = icmp ult i64 %indvars.iv.next47, 512
store i64 %indvars.iv.next47, i64* %indvars.iv46.reg2mem
br i1 %70, label LBL_8.lr.ph, label LBL_14
LBL_13:
%indvars.iv46.reload = load i64, i64* %indvars.iv46.reg2mem
store i64 0, i64* %indvars.iv43.reg2mem
store i32 0, i32* %sv_2.120.reg2mem
store i32 0, i32* %sv_3.119.reg2mem
store i32 65536, i32* %sv_4.118.reg2mem
store i32 65536, i32* %sv_5.117.reg2mem
br label LBL_8
LBL_14:
%71 = add i64 %5, -5968
%72 = add i64 %5, -4928
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_19
LBL_15:
%sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem
%sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem
%.reload78 = load i64, i64* %.reg2mem77
%.reload74 = load i32, i32* %.reg2mem73
%73 = add i64 %.reload78, %38
%74 = inttoptr i64 %73 to i8*
%75 = load i8, i8* %74, align 1
%76 = add i32 %sv_1.013.reload, 1
%77 = icmp slt i32 %76, 32
store i32 %.reload74, i32* %.reg2mem79
br i1 %77, label LBL_17, label LBL_16
LBL_16:
%.reload76 = load i32*, i32** %.reg2mem75
%78 = zext i32 %sv_1.013.reload to i64
%79 = call i64 @FUNC(i64 %37, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %78, i64 %2, i64 %1)
%.pre = load i32, i32* %.reload76, align 4
store i32 %.pre, i32* %.reg2mem79
br label LBL_17
LBL_17:
%80 = zext i8 %75 to i32
%81 = urem i32 %sv_1.013.reload, 32
%82 = shl i32 %80, %81
%83 = add i32 %82, %sv_0.014.reload
%.reload80 = load i32, i32* %.reg2mem79
%84 = sext i32 %.reload80 to i64
%85 = mul i64 %84, 4
%86 = add i64 %85, %39
%87 = inttoptr i64 %86 to i32*
%88 = load i32, i32* %87, align 4
%89 = icmp eq i32 %88, -1
%90 = icmp eq i1 %89, false
store i32 %88, i32* %.reg2mem73
store i32* %87, i32** %.reg2mem75
store i64 %84, i64* %.reg2mem77
store i32 %83, i32* %sv_0.014.reg2mem
store i32 %76, i32* %sv_1.013.reg2mem
store i32 %76, i32* %sv_1.0.lcssa.reg2mem
store i32 %83, i32* %sv_0.0.lcssa.reg2mem
br i1 %90, label LBL_15, label LBL_18
LBL_18:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%91 = add i64 %71, %96
%92 = inttoptr i64 %91 to i32*
store i32 %sv_0.0.lcssa.reload, i32* %92, align 4
%93 = trunc i32 %sv_1.0.lcssa.reload to i8
%94 = add i64 %72, %indvars.iv.reload
%95 = inttoptr i64 %94 to i8*
store i8 %93, i8* %95, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 257
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_20, label LBL_19
LBL_19:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%96 = mul i64 %indvars.iv.reload, 4
%97 = add i64 %96, %39
%98 = inttoptr i64 %97 to i32*
%99 = load i32, i32* %98, align 4
%100 = icmp eq i32 %99, -1
%101 = icmp eq i1 %100, false
store i32 %99, i32* %.reg2mem73
store i32* %98, i32** %.reg2mem75
store i64 %indvars.iv.reload, i64* %.reg2mem77
store i32 0, i32* %sv_0.014.reg2mem
store i32 0, i32* %sv_1.013.reg2mem
store i32 0, i32* %sv_1.0.lcssa.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %101, label LBL_15, label LBL_18
LBL_20:
%102 = add i64 %36, 8
%103 = call i64 @FUNC(i64 %102, i64 0, i64 257, i64* nonnull %sv_8, i64 1, i64 1)
ret i64 %.lcssa.reload
uselistorder i64 %96, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 3, 2, 1, 0 }
uselistorder i32 %sv_1.013.reload, { 2, 1, 0 }
uselistorder i64 %indvars.iv46.reload, { 2, 3, 1, 0 }
uselistorder i64 %63, { 1, 0 }
uselistorder i64 %59, { 1, 0 }
uselistorder i32 %sv_4.0.reload, { 1, 0, 2 }
uselistorder i32 %43, { 0, 1, 3, 2, 4 }
uselistorder i32 %sv_3.119.reload, { 1, 2, 0 }
uselistorder i32 %sv_5.117.reload, { 1, 2, 3, 0 }
uselistorder i64 %39, { 1, 0, 2, 3 }
uselistorder i64 %38, { 2, 0, 1 }
uselistorder i8 %.lcssa10.reload, { 1, 0 }
uselistorder i64 %indvars.iv48.reload, { 1, 0, 2 }
uselistorder i8* %.reload70, { 1, 0 }
uselistorder i8 %15, { 1, 0 }
uselistorder i8* %14, { 1, 0 }
uselistorder i64 %sv_7.0.in.in.reload, { 1, 0 }
uselistorder i8 %sv_6.0.in.reload, { 1, 0 }
uselistorder i64 %5, { 3, 4, 1, 2, 0 }
uselistorder i64* %sv_9, { 1, 0 }
uselistorder i64 %4, { 2, 1, 0, 3 }
uselistorder i64* %sv_7.0.in.in.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_6.0.in.reg2mem, { 1, 0, 2 }
uselistorder i8** %storemerge.in.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv48.reg2mem, { 1, 0, 2 }
uselistorder i8* %.reg2mem, { 1, 0, 2 }
uselistorder i8** %.reg2mem69, { 1, 0, 2 }
uselistorder i64* %.reg2mem71, { 2, 0, 1 }
uselistorder i64* %indvars.iv43.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_2.120.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_3.119.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_4.118.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_5.117.reg2mem, { 2, 1, 0 }
uselistorder i32* %.reg2mem73, { 1, 2, 0 }
uselistorder i32** %.reg2mem75, { 1, 2, 0 }
uselistorder i64* %.reg2mem77, { 1, 2, 0 }
uselistorder i32* %sv_0.014.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_1.013.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem79, { 0, 2, 1 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 257, { 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 0 }
uselistorder i8 0, { 1, 0, 2 }
uselistorder i64 4, { 0, 1, 2, 3, 4, 5, 7, 8, 6 }
uselistorder i64 1, { 5, 4, 3, 1, 2, 6, 7, 0, 8 }
uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }
uselistorder i32 0, { 0, 1, 2, 3, 4, 5, 6, 9, 8, 7 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | qemu_peek_buffer_17037 | qemu_peek_buffer | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 %0, i64* %rdi.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([26 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%sext = mul i64 %arg3, 4294967296
%4 = ashr exact i64 %sext, 32
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%5 = add i64 %0, 12
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = trunc i64 %arg4 to i32
%9 = add i32 %7, %8
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = sub i32 %12, %9
%14 = trunc i64 %4 to i32
%15 = icmp slt i32 %13, %14
store i32 %9, i32* %sv_1.0.reg2mem
store i32 %13, i32* %sv_0.0.reg2mem
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br i1 %15, label LBL_3, label LBL_4
LBL_3:
%16 = call i64 @FUNC(i64 %0)
%17 = load i32, i32* %6, align 4
%18 = add i32 %17, %8
%19 = load i32, i32* %11, align 4
%20 = sub i32 %19, %18
store i32 %18, i32* %sv_1.0.reg2mem
store i32 %20, i32* %sv_0.0.reg2mem
store i64 %0, i64* %rdi.1.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%21 = icmp eq i32 %sv_0.0.reload, 0
%22 = icmp slt i32 %sv_0.0.reload, 0
%23 = icmp eq i1 %22, false
%24 = icmp eq i1 %21, false
%25 = icmp eq i1 %23, %24
store i64 0, i64* %storemerge.reg2mem
br i1 %25, label LBL_5, label LBL_6
LBL_5:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%26 = icmp slt i32 %sv_0.0.reload, %14
%27 = sext i32 %sv_0.0.reload to i64
%spec.select = select i1 %26, i64 %27, i64 %4
%28 = trunc i64 %spec.select to i32
%29 = sext i32 %sv_1.0.reload to i64
%30 = add i64 %rdi.1.reload, %29
%31 = inttoptr i64 %30 to i64*
%32 = call i64* @memcpy(i64* %arg2, i64* %31, i32 %28)
%33 = and i64 %spec.select, 4294967295
store i64 %33, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %spec.select, { 1, 0 }
uselistorder i64 %0, { 0, 2, 3, 4, 1, 5 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder [26 x i8]* @gv_0, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | machine_power_off_17692 | machine_power_off | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = load i64, i64* @gv_0, align 8
ret i64 %1
} | 1 |
BinRealVul | e1000e_rss_get_hash_type_7453 | e1000e_rss_get_hash_type | 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 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i8, align 1
%sv_1 = alloca i8, align 1
%sv_2 = alloca i64, align 8
%sv_3 = alloca i8, align 1
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i8
%5 = icmp eq i8 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%7 = ptrtoint i32* %arg2 to i64
%8 = bitcast i8* %sv_0 to i64*
%9 = bitcast i8* %sv_1 to i64*
%10 = bitcast i8* %sv_3 to i64*
%11 = call i64 @FUNC(i64 %7, i64* nonnull %8, i64* nonnull %9, i64* nonnull %sv_2, i64* nonnull %10)
%12 = load i8, i8* %sv_0, align 1
%13 = icmp eq i8 %12, 0
br i1 %13, label LBL_6, label LBL_3
LBL_3:
%14 = trunc i64 %1 to i32
%15 = call i64 @FUNC(i64 %7)
%16 = inttoptr i64 %15 to i8*
%17 = load i8, i8* %16, align 1
%18 = and i64 %1, 4294967295
%19 = call i64 @FUNC(i64 %18)
%20 = call i64 @FUNC(i64 %18)
%21 = urem i64 %20, 256
%22 = load i8, i8* %sv_3, align 1
%23 = zext i8 %22 to i64
%24 = urem i64 %19, 256
%25 = zext i8 %17 to i64
%26 = call i64 @FUNC(i64 %25, i64 %23, i32 %14, i64 %21, i64 %24)
%27 = icmp eq i8 %17, 1
%28 = load i8, i8* %sv_3, align 1
%29 = icmp eq i8 %28, 0
%or.cond = or i1 %27, %29
br i1 %or.cond, label LBL_5, label LBL_4
LBL_4:
%30 = call i64 @FUNC(i64 %18)
%31 = trunc i64 %30 to i8
%32 = icmp eq i8 %31, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %32, label LBL_5, label LBL_18
LBL_5:
%33 = call i64 @FUNC(i64 %18)
%34 = trunc i64 %33 to i8
%35 = icmp eq i8 %34, 0
store i64 2, i64* %rax.0.reg2mem
br i1 %35, label LBL_17, label LBL_18
LBL_6:
%36 = load i8, i8* %sv_1, align 1
%37 = icmp eq i8 %36, 0
br i1 %37, label LBL_17, label LBL_7
LBL_7:
%38 = call i64 @FUNC(i64 %7)
%39 = add i64 %2, 4
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = urem i32 %41, 2
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
%45 = zext i1 %44 to i8
%46 = and i32 %41, 2
%47 = icmp eq i32 %46, 0
%48 = icmp eq i1 %47, false
%49 = zext i1 %48 to i8
%50 = and i64 %1, 4294967295
%51 = call i64 @FUNC(i64 %50)
%52 = call i64 @FUNC(i64 %50)
%53 = call i64 @FUNC(i64 %50)
%54 = add i64 %38, 3
%55 = inttoptr i64 %54 to i8*
%56 = load i8, i8* %55, align 1
%57 = zext i8 %56 to i64
%58 = add i64 %38, 2
%59 = inttoptr i64 %58 to i8*
%60 = load i8, i8* %59, align 1
%61 = add i64 %38, 1
%62 = inttoptr i64 %61 to i8*
%63 = load i8, i8* %62, align 1
%64 = load i8, i8* %sv_3, align 1
%65 = zext i8 %64 to i64
%66 = load i32, i32* %40, align 4
%67 = zext i8 %60 to i64
%68 = zext i8 %63 to i64
%69 = zext i32 %66 to i64
%70 = call i64 @FUNC(i64 %69, i8 %45, i8 %49, i64 %65, i64 %68, i64 %67, i64 %57)
%71 = icmp eq i1 %44, false
br i1 %71, label LBL_9, label LBL_8
LBL_8:
%72 = load i8, i8* %62, align 1
%73 = icmp eq i8 %72, 1
br i1 %73, label LBL_16, label LBL_9
LBL_9:
%74 = icmp eq i1 %48, false
br i1 %74, label LBL_12, label LBL_10
LBL_10:
%75 = load i8, i8* %59, align 1
%76 = icmp eq i8 %75, 1
br i1 %76, label LBL_16, label LBL_11
LBL_11:
%77 = load i8, i8* %55, align 1
%78 = icmp eq i8 %77, 1
br i1 %78, label LBL_16, label LBL_12
LBL_12:
%79 = load i8, i8* %sv_3, align 1
%80 = icmp eq i8 %79, 0
br i1 %80, label LBL_15, label LBL_13
LBL_13:
%81 = inttoptr i64 %38 to i8*
%82 = load i8, i8* %81, align 1
%83 = icmp eq i8 %82, 1
br i1 %83, label LBL_15, label LBL_14
LBL_14:
%84 = call i64 @FUNC(i64 %50)
%85 = trunc i64 %84 to i8
%86 = icmp eq i8 %85, 0
store i64 3, i64* %rax.0.reg2mem
br i1 %86, label LBL_15, label LBL_18
LBL_15:
%87 = call i64 @FUNC(i64 %50)
%88 = trunc i64 %87 to i8
%89 = icmp eq i8 %88, 0
store i64 4, i64* %rax.0.reg2mem
br i1 %89, label LBL_16, label LBL_18
LBL_16:
%90 = call i64 @FUNC(i64 %50)
%91 = trunc i64 %90 to i8
%92 = icmp eq i8 %91, 0
store i64 5, i64* %rax.0.reg2mem
br i1 %92, label LBL_17, label LBL_18
LBL_17:
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %50, { 5, 4, 3, 2, 1, 0 }
uselistorder i32 %41, { 1, 0 }
uselistorder i64 %18, { 3, 2, 1, 0 }
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i8* %sv_3, { 3, 2, 0, 1, 4 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }
uselistorder i64 (i64)* @E1000_MRQC_EN_TCPIPV6, { 1, 0 }
uselistorder i64 (i64)* @E1000_MRQC_EN_IPV6EX, { 1, 0 }
uselistorder i64 (i64)* @E1000_MRQC_EN_IPV6, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 1, { 7, 0, 1, 2, 3, 4, 5, 6 }
uselistorder i64 (i64)* @E1000_MRQC_EN_TCPIPV4, { 1, 0 }
uselistorder i64 (i64)* @E1000_MRQC_EN_IPV4, { 1, 0 }
uselistorder i8 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 11 }
uselistorder label LBL_18, { 5, 0, 1, 2, 3, 4 }
} | 1 |
BinRealVul | xhci_ring_fetch_11607 | xhci_ring_fetch | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg3 to i64
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%4 = ptrtoint i64* %sv_1 to i64
store i64 %0, i64* %sv_1, align 8
%5 = call i64 @FUNC(i64 %3)
%6 = add i64 %1, 16
%7 = inttoptr i64 %6 to i64*
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i32*
%10 = add i64 %1, 24
%11 = inttoptr i64 %10 to i32*
%12 = add i64 %1, 8
%13 = add i64 %1, 12
%14 = inttoptr i64 %13 to i32*
%15 = inttoptr i64 %12 to i32*
%16 = inttoptr i64 %10 to i64*
%17 = add i64 %4, -8
%18 = inttoptr i64 %17 to i64*
%19 = add i64 %4, -16
%20 = inttoptr i64 %19 to i64*
%21 = inttoptr i64 %12 to i64*
%22 = add i64 %4, -24
%23 = inttoptr i64 %22 to i64*
%24 = add i64 %4, -32
%25 = inttoptr i64 %24 to i64*
store i32 0, i32* %sv_0.0.reg2mem
store i64 %2, i64* %rsi.0.reg2mem
br label LBL_1
LBL_1:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%26 = call i64 @FUNC(i64 %5, i64 %rsi.0.reload, i64 %1, i64 16)
store i64 %rsi.0.reload, i64* %7, align 8
%27 = load i32, i32* %9, align 4
%28 = zext i32 %27 to i64
store i32 %27, i32* %11, align 4
%29 = call i64 @FUNC(i64 %1)
%30 = call i64 @FUNC(i64 %12)
%31 = call i64 @FUNC(i64 %13)
%32 = load i32, i32* %14, align 4
%33 = load i32, i32* %15, align 4
%34 = call i64 @FUNC(i64 %1)
%35 = zext i32 %32 to i64
%36 = zext i32 %33 to i64
%37 = call i64 @FUNC(i64 %34, i64 %34, i64 %28, i64 %36, i64 %35)
%38 = load i32, i32* %14, align 4
%39 = urem i32 %38, 2
%40 = load i32, i32* %9, align 4
%41 = icmp eq i32 %39, %40
store i64 0, i64* %rax.0.reg2mem
br i1 %41, label LBL_2, label LBL_10
LBL_2:
%42 = zext i32 %39 to i64
%43 = load i64, i64* %16, align 8
store i64 %43, i64* %18, align 8
%44 = load i64, i64* %7, align 8
store i64 %44, i64* %20, align 8
%45 = load i64, i64* %21, align 8
store i64 %45, i64* %23, align 8
store i64 %42, i64* %25, align 8
%46 = call i64 @FUNC(i64 ptrtoint (i32* @0 to i64))
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 3
br i1 %48, label LBL_6, label LBL_3
LBL_3:
%49 = load i64, i64* %sv_1, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label LBL_5, label LBL_4
LBL_4:
%51 = inttoptr i64 %49 to i64*
store i64 %34, i64* %51, align 8
br label LBL_5
LBL_5:
%52 = add i64 %34, 16
store i64 %52, i64* %arg2, align 8
%53 = and i64 %46, 4294967295
store i64 %53, i64* %rax.0.reg2mem
br label LBL_10
LBL_6:
%54 = add nuw nsw i32 %sv_0.0.reload, 1
%55 = icmp ult i32 %54, 257
store i64 0, i64* %rax.0.reg2mem
br i1 %55, label LBL_7, label LBL_10
LBL_7:
%56 = call i64 @FUNC(i64 %42)
store i64 %56, i64* %arg2, align 8
%57 = load i32, i32* %14, align 4
%58 = and i32 %57, 2
%59 = icmp eq i32 %58, 0
br i1 %59, label LBL_1.backedge, label LBL_9
LBL_8:
store i32 %54, i32* %sv_0.0.reg2mem
store i64 %34, i64* %rsi.0.reg2mem
br label LBL_1
LBL_9:
%60 = load i32, i32* %9, align 4
%61 = icmp eq i32 %60, 0
%62 = zext i1 %61 to i32
store i32 %62, i32* %9, align 4
br label LBL_1.backedge
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %34, { 0, 1, 2, 4, 3 }
uselistorder i64 %13, { 1, 0 }
uselistorder i64 %12, { 2, 0, 1 }
uselistorder i32* %9, { 1, 0, 2, 3 }
uselistorder i64 %1, { 0, 1, 5, 3, 2, 4, 6 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %rsi.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i32 2, { 1, 0 }
uselistorder i64 (i64)* @le32_to_cpus, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 16, { 1, 0, 2 }
uselistorder label LBL_10, { 0, 2, 1 }
uselistorder label LBL_1.backedge, { 1, 0 }
} | 1 |
BinRealVul | setup_partitions_15818 | setup_partitions | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%sv_0.0.in.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i64
%sv_1.06.reg2mem = alloca i64
%sv_0.0.in7.reg2mem = alloca i32
%storemerge28.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 136
%4 = call i64 @FUNC(i64 %3, i64 2)
%5 = trunc i64 %4 to i32
%6 = urem i32 %5, 32
%7 = shl i32 1, %6
%8 = bitcast i64* %arg1 to i32*
store i32 %7, i32* %8, align 4
%9 = trunc i64 %1 to i32
%10 = mul i32 %9, -3
%11 = trunc i64 %arg3 to i32
%12 = add i32 %11, 3
%13 = add i32 %12, %10
%14 = icmp slt i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %15, label LBL_1, label LBL_7
LBL_1:
%16 = ptrtoint i64* %arg2 to i64
%17 = mul i64 %1, 12884901888
%sext = add i64 %17, -12884901888
%18 = ashr exact i64 %sext, 32
%19 = add i64 %18, %16
%20 = icmp eq i32 %9, 1
%.pre = add i64 %2, 8
store i64 %19, i64* %sv_1.0.lcssa.reg2mem
store i32 %13, i32* %sv_0.0.in.lcssa.reg2mem
store i64 0, i64* %.lcssa.reg2mem
br i1 %20, label LBL_6, label LBL_2
LBL_2:
%21 = add i64 %1, 4294967295
%22 = and i64 %21, 4294967295
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge28.reg2mem
store i32 %13, i32* %sv_0.0.in7.reg2mem
store i64 %19, i64* %sv_1.06.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.in7.reload = load i32, i32* %sv_0.0.in7.reg2mem
%storemerge28.reload = load i32, i32* %storemerge28.reg2mem
%23 = mul i32 %storemerge28.reload, 3
%24 = sext i32 %23 to i64
%25 = add i64 %24, %16
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = add i64 %25, 1
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%31 = zext i8 %30 to i32
%32 = mul i32 %31, 256
%33 = zext i8 %27 to i32
%34 = or i32 %32, %33
%35 = add i64 %25, 2
%36 = inttoptr i64 %35 to i8*
%37 = load i8, i8* %36, align 1
%38 = zext i8 %37 to i32
%39 = mul i32 %38, 65536
%40 = or i32 %34, %39
%41 = sub i32 %sv_0.0.in7.reload, %40
%42 = icmp slt i32 %41, 0
%43 = icmp eq i1 %42, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %43, label LBL_4, label LBL_7
LBL_4:
%sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem
%.reload = load i64, i64* %.reg2mem
%44 = mul i64 %.reload, 8
%45 = add i64 %44, %.pre
%46 = call i64 @FUNC(i64 %45, i64 %sv_1.06.reload, i32 %40)
%47 = zext i32 %40 to i64
%48 = add i64 %sv_1.06.reload, %47
%49 = add i32 %storemerge28.reload, 1
%50 = sext i32 %49 to i64
%51 = icmp sgt i64 %22, %50
store i64 %50, i64* %.reg2mem
store i32 %49, i32* %storemerge28.reg2mem
store i32 %41, i32* %sv_0.0.in7.reg2mem
store i64 %48, i64* %sv_1.06.reg2mem
br i1 %51, label LBL_3, label LBL_5
LBL_5:
%phitmp = mul i64 %50, 8
store i64 %48, i64* %sv_1.0.lcssa.reg2mem
store i32 %41, i32* %sv_0.0.in.lcssa.reg2mem
store i64 %phitmp, i64* %.lcssa.reg2mem
br label LBL_6
LBL_6:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%sv_0.0.in.lcssa.reload = load i32, i32* %sv_0.0.in.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem
%52 = add i64 %.lcssa.reload, %.pre
%53 = call i64 @FUNC(i64 %52, i64 %sv_1.0.lcssa.reload, i32 %sv_0.0.in.lcssa.reload)
store i64 0, 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 %50, { 1, 0, 2 }
uselistorder i64 %sv_1.06.reload, { 1, 0 }
uselistorder i64 %19, { 1, 0 }
uselistorder i32 %13, { 1, 0, 2 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge28.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.in7.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.06.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.in.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_7, { 2, 0, 1 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | lance_init_17280 | lance_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4)
%3 = call i64 @FUNC(i64 %0, i64 0, i64 1)
%4 = call i64 @FUNC(i64 %0, i64 %1)
%5 = call i64 @FUNC(i64 %0, i64 %0)
%6 = load i64, i64* @gv_2, align 8
%7 = add i64 %0, 16
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
%9 = load i64, i64* @gv_3, align 8
%10 = add i64 %0, 24
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_4)
ret i64 %12
uselistorder i64 %0, { 9, 0, 8, 7, 6, 1, 2, 3, 5, 4 }
} | 1 |
BinRealVul | put_psr_305 | put_psr | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = urem i64 %arg1, 16
%2 = inttoptr i64 %0 to i64*
store i64 %1, i64* %2, align 8
%3 = udiv i64 %arg1, 16
%4 = trunc i64 %3 to i32
%5 = load i64, i64* @gv_0, align 8
%6 = urem i32 %4, 2
%7 = add i64 %5, 8
%8 = inttoptr i64 %7 to i32*
store i32 %6, i32* %8, align 4
%9 = udiv i64 %arg1, 256
%10 = load i64, i64* @gv_0, align 8
%11 = trunc i64 %9 to i32
%12 = urem i32 %11, 256
%13 = add i64 %10, 12
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = load i64, i64* @gv_0, align 8
%16 = call i64 @FUNC(i64 %15)
%17 = udiv i64 %arg1, 512
%18 = trunc i64 %17 to i32
%19 = load i64, i64* @gv_0, align 8
%20 = urem i32 %18, 2
%21 = add i64 %19, 16
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
%23 = udiv i64 %arg1, 1024
%24 = trunc i64 %23 to i32
%25 = load i64, i64* @gv_0, align 8
%26 = urem i32 %24, 2
%27 = add i64 %25, 20
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = udiv i64 %arg1, 2048
%30 = trunc i64 %29 to i32
%31 = load i64, i64* @gv_0, align 8
%32 = urem i32 %30, 2
%33 = add i64 %31, 24
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = and i64 %arg1, 983040
%36 = call i64 @FUNC(i64 %35)
%37 = load i64, i64* @gv_0, align 8
%38 = add i64 %37, 28
%39 = inttoptr i64 %38 to i32*
store i32 1, i32* %39, align 4
ret i64 %37
uselistorder i64 %37, { 1, 0 }
uselistorder i64 %arg1, { 6, 0, 1, 2, 3, 4, 5 }
} | 0 |
BinRealVul | head_onwire_len_6774 | head_onwire_len | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%sext = mul i64 %arg1, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp slt i32 %0, 0
%3 = trunc i64 %1 to i32
%4 = icmp sgt i32 %3, 1024
%narrow = or i1 %2, %4
%storemerge = zext i1 %narrow to i64
%5 = call i64 @FUNC(i64 %storemerge)
%6 = trunc i64 %arg2 to i8
%7 = icmp eq i8 %6, 0
br i1 %7, label LBL_3, label LBL_1
LBL_1:
%8 = icmp slt i32 %3, 33
store i64 16, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_4, label LBL_2
LBL_2:
%9 = add nsw i64 %1, 4294967264
%10 = and i64 %9, 4294967295
%11 = call i64 @FUNC(i64 %10)
%12 = add i64 %11, 32
store i64 %12, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_3:
%13 = icmp eq i32 %3, 0
%14 = add nsw i64 %1, 12
%spec.select4 = select i1 %13, i64 8, i64 %14
store i64 %spec.select4, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%15 = and i64 %sv_0.0.reload, 4294967295
ret i64 %15
uselistorder i64 %1, { 0, 2, 1 }
uselistorder i8 0, { 1, 0 }
uselistorder i32 1, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | smack_inode_unlink_18339 | smack_inode_unlink | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%sv_1 = alloca i64, align 8
store i64 %0, i64* %sv_1, align 8
%1 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 0)
%2 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0)
%3 = load i64, i64* %sv_1, align 8
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %4, i64 1, i64* nonnull %sv_1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 %5, i64* %sv_0.0.reg2mem
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = ptrtoint i64* %arg1 to i64
%10 = call i64 @FUNC(i64* nonnull %sv_1, i64 0)
%11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %9)
%12 = call i64 @FUNC(i64 %9)
%13 = call i64 @FUNC(i64 %12, i64 1, i64* nonnull %sv_1)
store i64 %13, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%14 = and i64 %sv_0.0.reload, 4294967295
ret i64 %14
uselistorder i64 %9, { 1, 0 }
uselistorder i64* %sv_1, { 0, 1, 2, 3, 6, 4, 5, 7 }
uselistorder i64 (i64, i64, i64*)* @smk_curacc, { 1, 0 }
uselistorder i64 (i64)* @smk_of_inode, { 1, 0 }
uselistorder i64 (i64*, i64)* @smk_ad_setfield_u_fs_path_dentry, { 1, 0 }
} | 1 |
BinRealVul | timeval_diff_9424 | timeval_diff | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i1
%sv_0.0.reg2mem = alloca i64
%2 = load i128, i128* %0
%3 = load i128, i128* %0
%4 = load i1, i1* %1
%5 = load i1, i1* %1
%6 = ptrtoint i64* %arg2 to i64
%7 = ptrtoint i64* %arg1 to i64
%8 = call i128 @FUNC(i128 %2, i128 %2)
%9 = call i128 @FUNC(i64 %7)
%10 = add i64 %7, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i128 @FUNC(i128 %3, i128 %3)
%14 = call i128 @FUNC(i64 %12)
%15 = call i128 @FUNC(i64 4696837146684686336)
%16 = call i128 @FUNC(i128 %14, i128 %15)
%17 = call i128 @FUNC(i128 %16, i128 %9)
%18 = call i64 @__asm_movsd.1(i128 %17)
%19 = call i128 @FUNC(i128 %9, i128 %9)
%20 = call i128 @FUNC(i64 %6)
%21 = add i64 %6, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i128 @FUNC(i128 %17, i128 %17)
%25 = call i128 @FUNC(i64 %23)
%26 = call i128 @FUNC(i64 4696837146684686336)
%27 = call i128 @FUNC(i128 %25, i128 %26)
%28 = call i128 @FUNC(i128 %27, i128 %20)
%29 = call i64 @__asm_movsd.1(i128 %28)
%30 = call i128 @FUNC(i64 %18)
%31 = call i128 @FUNC(i128 %30, i64 %29)
%32 = call i64 @__asm_movsd.1(i128 %31)
%33 = call i128 @FUNC(i128 %31, i128 %31)
%34 = sext i64 %32 to i128
call void @FUNC(i128 %33, i128 %34)
%35 = or i1 %4, %5
store i64 %32, i64* %sv_0.0.reg2mem
br i1 %35, label LBL_2, label LBL_1
LBL_1:
%36 = call i128 @FUNC(i64 %32)
%37 = call i128 @FUNC(i64 -9223372036854775808)
%38 = call i128 @FUNC(i128 %36, i128 %37)
%39 = call i64 @__asm_movsd.1(i128 %38)
store i64 %39, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%40 = call i128 @FUNC(i64 %sv_0.0.reload)
%41 = call i32 @FUNC(i128 %40)
%42 = sext i32 %41 to i64
ret i64 %42
uselistorder i64 %32, { 1, 0, 2 }
uselistorder i128 %31, { 2, 1, 0 }
uselistorder i128 %17, { 2, 1, 0 }
uselistorder i128 %9, { 2, 1, 0 }
uselistorder i1* %1, { 1, 0 }
uselistorder i128* %0, { 1, 0 }
} | 0 |
BinRealVul | read_sbr_data_4265 | read_sbr_data | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.pn.reg2mem = alloca i64
%.reg2mem10 = alloca i32
%r8.0.lcssa.reg2mem = alloca i64
%rdi.1.lcssa.reg2mem = alloca i64
%rcx.1.lcssa.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i32
%.reg2mem8 = alloca i32
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg3 to i64
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%6 = call i64 @FUNC(i64 %3)
%7 = bitcast i64* %arg2 to i32*
store i32 %arg4, i32* %7, align 4
%8 = icmp ne i32 %arg4, 1
%9 = icmp eq i32 %arg4, 2
%10 = icmp eq i1 %9, false
%or.cond = icmp eq i1 %8, %10
br i1 %or.cond, label LBL_3, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_7, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %4)
%15 = call i64 @FUNC(i64 %3)
store i64 %15, i64* %.pn.reg2mem
br label LBL_18
LBL_3:
%16 = icmp eq i32 %arg4, 3
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_6, label LBL_4
LBL_4:
%18 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_7, label LBL_5
LBL_5:
%21 = call i64 @FUNC(i64 %4)
%22 = call i64 @FUNC(i64 %3)
store i64 %22, i64* %.pn.reg2mem
br label LBL_18
LBL_6:
%23 = zext i32 %arg4 to i64
%24 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 %2, i64 %1)
%25 = call i64 @FUNC(i64 %4)
%26 = call i64 @FUNC(i64 %3)
store i64 %26, i64* %.pn.reg2mem
br label LBL_18
LBL_7:
%27 = call i64 @FUNC(i64 %3)
%28 = trunc i64 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label LBL_17, label LBL_8
LBL_8:
%30 = call i64 @FUNC(i64 %3, i64 4)
%31 = trunc i64 %30 to i32
store i32 %31, i32* %sv_0, align 4
%32 = icmp eq i32 %31, 15
%33 = icmp eq i1 %32, false
store i32 %31, i32* %.reg2mem
br i1 %33, label LBL_10, label LBL_9
LBL_9:
%34 = call i64 @FUNC(i64 %3, i64 8)
%35 = load i32, i32* %sv_0, align 4
%36 = trunc i64 %34 to i32
%37 = add i32 %35, %36
store i32 %37, i32* %sv_0, align 4
store i32 %37, i32* %.reg2mem
br label LBL_10
LBL_10:
%.reload = load i32, i32* %.reg2mem
%38 = mul i32 %.reload, 8
store i32 %38, i32* %sv_0, align 4
%39 = icmp sgt i32 %38, 7
store i32 %38, i32* %.reg2mem8
store i32 %38, i32* %.lcssa.reg2mem
store i64 %4, i64* %rcx.1.lcssa.reg2mem
store i64 %3, i64* %rdi.1.lcssa.reg2mem
br i1 %39, label LBL_11, label LBL_13
LBL_11:
%.reload9 = load i32, i32* %.reg2mem8
%40 = add i32 %.reload9, -2
store i32 %40, i32* %sv_0, align 4
%41 = call i64 @FUNC(i64 %3, i64 2)
%42 = and i64 %41, 4294967295
%43 = call i64 @FUNC(i64 %5, i64 %4, i64 %3, i64 %42, i32* nonnull %sv_0)
%.pr = load i32, i32* %sv_0, align 4
%44 = icmp sgt i32 %.pr, 7
store i32 %.pr, i32* %.reg2mem8
br i1 %44, label LBL_11, label LBL_12
LBL_12:
%45 = ptrtoint i32* %sv_0 to i64
store i32 %.pr, i32* %.lcssa.reg2mem
store i64 %42, i64* %rcx.1.lcssa.reg2mem
store i64 %5, i64* %rdi.1.lcssa.reg2mem
store i64 %45, i64* %r8.0.lcssa.reg2mem
br label LBL_13
LBL_13:
%.lcssa.reload = load i32, i32* %.lcssa.reg2mem
%46 = icmp slt i32 %.lcssa.reload, 0
%47 = icmp eq i1 %46, false
store i32 %.lcssa.reload, i32* %.reg2mem10
br i1 %47, label LBL_15, label LBL_14
LBL_14:
%r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem
%rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem
%rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem
%48 = call i64 @FUNC(i64 %rdi.1.lcssa.reload, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %1)
%.pre = load i32, i32* %sv_0, align 4
store i32 %.pre, i32* %.reg2mem10
br label LBL_15
LBL_15:
%.reload11 = load i32, i32* %.reg2mem10
%49 = icmp slt i32 %.reload11, 1
br i1 %49, label LBL_17, label LBL_16
LBL_16:
%50 = zext i32 %.reload11 to i64
%51 = call i64 @FUNC(i64 %3, i64 %50)
br label LBL_17
LBL_17:
%52 = call i64 @FUNC(i64 %3)
store i64 %52, i64* %.pn.reg2mem
br label LBL_18
LBL_18:
%.pn.reload = load i64, i64* %.pn.reg2mem
%rax.0.in = sub i64 %.pn.reload, %6
%rax.0 = and i64 %rax.0.in, 4294967295
ret i64 %rax.0
uselistorder i32 %38, { 0, 1, 3, 2 }
uselistorder i64 %5, { 0, 2, 1, 3 }
uselistorder i64 %4, { 5, 0, 3, 1, 2, 4, 6 }
uselistorder i64 %3, { 11, 7, 9, 8, 0, 6, 10, 12, 3, 4, 1, 2, 5, 13, 14 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem8, { 2, 0, 1 }
uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rcx.1.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem10, { 0, 2, 1 }
uselistorder i64* %.pn.reg2mem, { 0, 4, 2, 1, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 7, { 1, 0 }
uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i64 (i64)* @sbr_turnoff, { 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 0 }
uselistorder i64 (i64)* @get_bits_count, { 4, 3, 2, 1, 0 }
uselistorder i32 %arg4, { 2, 1, 0, 3, 4 }
uselistorder label LBL_11, { 1, 0 }
} | 0 |
BinRealVul | format_time_18286 | format_time | define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = icmp eq i32 %arg3, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = trunc i64 %arg1 to i32
%2 = inttoptr i64 %arg2 to i8*
%3 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 %1, i8* %2)
br label LBL_3
LBL_2:
%4 = inttoptr i64 %arg2 to i8*
%5 = call i32 @atoi(i8* %4)
%6 = load i32, i32* @gv_2, align 4
%7 = zext i32 %5 to i64
%8 = call i64 @FUNC(i64 %arg1, i64 %7, i32 %6)
%9 = inttoptr i64 %8 to i8*
%10 = call i32 @strlen(i8* %9)
%11 = inttoptr i64 %8 to i64*
%12 = call i64* @memcpy(i64* bitcast (i8** @gv_0 to i64*), i64* %11, i32 %10)
%13 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4
%14 = sub i32 %13, %10
%15 = sext i32 %10 to i64
%16 = add i64 %15, ptrtoint (i8** @gv_0 to i64)
%17 = inttoptr i64 %16 to i64*
%18 = call i64* @memset(i64* %17, i32 32, i32 %14)
br label LBL_3
LBL_3:
ret i64 ptrtoint (i8** @gv_0 to i64)
uselistorder i32 %10, { 0, 2, 1 }
uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 1, 0 }
uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }
uselistorder i8** @gv_0, { 2, 0, 1 }
uselistorder i64 %arg1, { 1, 0 }
} | 1 |
BinRealVul | serdes_init_niu_10g_serdes_7580 | serdes_init_niu_10g_serdes | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%storemerge.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i64
%storemerge37.reg2mem = alloca i64
%storemerge48.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 512
%8 = icmp eq i1 %7, false
%9 = trunc i64 %2 to i32
store i32 3, i32* %sv_1.0.reg2mem
store i32 124, i32* %sv_0.0.reg2mem
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64 %3, i32 %9, i64 2, i64 768, i64 1)
store i32 1027, i32* %sv_1.0.reg2mem
store i32 2172, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %3, i32 %9, i64 2, i64 1024, i64 384)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = add i64 %3, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_0, i64 0, i64 0), i32 %9, i64 1024, i64 384, i64 %1)
%18 = and i64 %11, 4294967295
store i64 %18, i64* %rax.0.reg2mem
br label LBL_21
LBL_4:
%19 = call i64 @FUNC(i64 %3, i32 %9, i64 2, i64 1280, i64 128)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%22 = add i64 %3, 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_1, i64 0, i64 0), i32 %9, i64 1280, i64 128, i64 %1)
%26 = and i64 %19, 4294967295
store i64 %26, i64* %rax.0.reg2mem
br label LBL_21
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%27 = call i64 @FUNC(i64 200)
store i64 0, i64* %storemerge48.reg2mem
br label LBL_7
LBL_7:
%storemerge48.reload = load i64, i64* %storemerge48.reg2mem
%28 = call i64 @FUNC(i64 %3, i64 %storemerge48.reload, i32 %sv_1.0.reload)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_9, label LBL_8
LBL_8:
%31 = and i64 %28, 4294967295
store i64 %31, i64* %rax.0.reg2mem
br label LBL_21
LBL_9:
%32 = add nuw nsw i64 %storemerge48.reload, 1
%33 = icmp ult i64 %32, 4
store i64 %32, i64* %storemerge48.reg2mem
store i64 0, i64* %storemerge37.reg2mem
br i1 %33, label LBL_7, label LBL_10
LBL_10:
%storemerge37.reload = load i64, i64* %storemerge37.reg2mem
%34 = call i64 @FUNC(i64 %3, i64 %storemerge37.reload, i32 %sv_0.0.reload)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label LBL_12, label LBL_11
LBL_11:
%37 = and i64 %34, 4294967295
store i64 %37, i64* %rax.0.reg2mem
br label LBL_21
LBL_12:
%38 = add nuw nsw i64 %storemerge37.reload, 1
%39 = icmp ult i64 %38, 4
store i64 %38, i64* %storemerge37.reg2mem
br i1 %39, label LBL_10, label LBL_13
LBL_13:
store i64 1792, i64* %storemerge5.reg2mem
store i64 3840, i64* %storemerge.reg2mem
store i64 4294967274, i64* %rax.0.reg2mem
switch i32 %9, label LBL_21 [
i32 0, label LBL_15
i32 1, label LBL_14
]
LBL_14:
store i64 2048, i64* %storemerge5.reg2mem
store i64 5888, i64* %storemerge.reg2mem
br label LBL_15
LBL_15:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
store i32 99, i32* %.reg2mem
br label LBL_16
LBL_16:
%40 = call i64 @FUNC(i64 1536)
%41 = and i64 %40, %storemerge5.reload
%42 = icmp eq i64 %41, %storemerge.reload
store i64 0, i64* %rax.0.reg2mem
br i1 %42, label LBL_21, label LBL_17
LBL_17:
%.reload = load i32, i32* %.reg2mem
%43 = call i64 @FUNC(i64 500)
%44 = add nsw i32 %.reload, -1
%45 = icmp eq i32 %.reload, 0
%46 = icmp eq i1 %45, false
store i32 %44, i32* %.reg2mem
br i1 %46, label LBL_16, label LBL_18
LBL_18:
%47 = and i64 %2, 4294967295
%48 = call i64 @FUNC(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_2, i64 0, i64 0), i64 %47, i64 %41, i64 %storemerge.reload, i64 128, i64 %1)
%49 = call i64 @FUNC(i64 %3)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
%52 = icmp eq i1 %51, false
br i1 %52, label LBL_20, label LBL_19
LBL_19:
%53 = add i64 %3, 16
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = and i32 %55, -5889
store i32 %56, i32* %54, align 4
%57 = add i64 %3, 20
%58 = inttoptr i64 %57 to i32*
store i32 6144, i32* %58, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_21
LBL_20:
%59 = add i64 %3, 8
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = call i64 @FUNC(i64 %61, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i32 %9, i64 %storemerge.reload, i64 128, i64 %1)
store i64 4294967277, 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 i32 %.reload, { 1, 0 }
uselistorder i64 %3, { 4, 2, 3, 5, 6, 7, 1, 8, 9, 10, 0, 11 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 3, 0, 2, 1 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge48.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 3, 7, 8, 5, 4 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 128, { 1, 2, 0, 3 }
uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @dev_err, { 2, 1, 0 }
uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 }
uselistorder i64 (i64, i32, i64, i64, i64)* @mdio_write, { 2, 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder label LBL_21, { 3, 1, 0, 2, 4, 5, 6, 7 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | RegisterSUNImage_12987 | RegisterSUNImage | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
%1 = add i64 %0, 24
%2 = inttoptr i64 %1 to i64*
store i64 4198796, i64* %2, align 8
%3 = add i64 %0, 32
%4 = inttoptr i64 %3 to i64*
store i64 4198803, i64* %4, align 8
%5 = add i64 %0, 8
%6 = inttoptr i64 %5 to i64*
store i64 4198810, i64* %6, align 8
%7 = call i64 @FUNC(i64 %0)
%8 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
%9 = add i64 %8, 24
%10 = inttoptr i64 %9 to i64*
store i64 4198796, i64* %10, align 8
%11 = add i64 %8, 32
%12 = inttoptr i64 %11 to i64*
store i64 4198803, i64* %12, align 8
%13 = call i64 @FUNC(i64 %8)
ret i64 0
uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 }
uselistorder i64 (i8*, i8*, i8*)* @AcquireMagickInfo, { 1, 0 }
} | 1 |
BinRealVul | fli_read_brun_5702 | fli_read_brun | define i64 @FUNC(i64 %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i16
%.reg2mem24 = alloca i16
%sv_0.1.reg2mem = alloca i64
%sv_0.011.reg2mem = alloca i64
%storemerge912.reg2mem = alloca i32
%sv_0.213.reg2mem = alloca i64
%storemerge714.reg2mem = alloca i32
%storemerge15.reg2mem = alloca i32
%.reg2mem = alloca i16
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i16* %arg2 to i64
%3 = add i64 %2, 2
%4 = inttoptr i64 %3 to i16*
%5 = load i16, i16* %4, align 2
%6 = icmp eq i16 %5, 0
store i16 0, i16* %.lcssa.reg2mem
br i1 %6, label LBL_12, label LBL_1
LBL_1:
%7 = trunc i64 %1 to i16
%8 = bitcast i64* %rsi to i16*
store i16 %7, i16* %.reg2mem
store i32 0, i32* %storemerge15.reg2mem
br label LBL_2
LBL_2:
%storemerge15.reload = load i32, i32* %storemerge15.reg2mem
%.reload = load i16, i16* %.reg2mem
%9 = call i64 @FUNC(i64 %arg1)
%10 = trunc i64 %9 to i32
%11 = urem i32 %10, 256
%12 = urem i32 %storemerge15.reload, 65536
%13 = zext i16 %.reload to i32
%14 = mul nuw i32 %12, %13
%15 = sext i32 %14 to i64
%16 = add i64 %15, %arg3
%17 = load i16, i16* %4, align 2
%18 = zext i16 %17 to i32
%19 = sub nsw i32 %18, %12
%20 = sext i32 %19 to i64
%21 = zext i16 %.reload to i64
%22 = mul nsw i64 %20, %21
%23 = icmp eq i32 %11, 0
%24 = icmp eq i1 %23, false
store i32 %11, i32* %storemerge714.reg2mem
store i64 0, i64* %sv_0.213.reg2mem
store i16 %17, i16* %.reg2mem24
br i1 %24, label LBL_3, label LBL_10
LBL_3:
%sv_0.213.reload = load i64, i64* %sv_0.213.reg2mem
%storemerge714.reload = load i32, i32* %storemerge714.reg2mem
%25 = call i64 @FUNC(i64 %arg1)
%26 = trunc i64 %25 to i8
%27 = icmp sgt i8 %26, -1
br i1 %27, label LBL_7, label LBL_4
LBL_4:
%28 = trunc i64 %25 to i16
%sext5 = mul i16 %28, 256
%29 = icmp ne i16 %sext5, 0
%30 = icmp ugt i64 %22, %sv_0.213.reload
%or.cond10 = icmp eq i1 %30, %29
store i64 %sv_0.213.reload, i64* %sv_0.1.reg2mem
br i1 %or.cond10, label LBL_5, label LBL_8
LBL_5:
%31 = ashr exact i16 %sext5, 8
%32 = sub nsw i16 0, %31
%33 = sext i16 %32 to i32
store i32 %33, i32* %storemerge912.reg2mem
store i64 %sv_0.213.reload, i64* %sv_0.011.reg2mem
br label LBL_6
LBL_6:
%sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem
%storemerge912.reload = load i32, i32* %storemerge912.reg2mem
%34 = add nuw i64 %sv_0.011.reload, 1
%35 = add i64 %sv_0.011.reload, %16
%36 = call i64 @FUNC(i64 %arg1)
%37 = trunc i64 %36 to i8
%38 = inttoptr i64 %35 to i8*
store i8 %37, i8* %38, align 1
%39 = mul i32 %storemerge912.reload, 65536
%sext8 = add i32 %39, -65536
%40 = ashr exact i32 %sext8, 16
%41 = trunc i32 %40 to i16
%42 = icmp ne i16 %41, 0
%43 = icmp ult i64 %34, %22
%or.cond = icmp eq i1 %43, %42
store i32 %40, i32* %storemerge912.reg2mem
store i64 %34, i64* %sv_0.011.reg2mem
store i64 %34, i64* %sv_0.1.reg2mem
br i1 %or.cond, label LBL_6, label LBL_8
LBL_7:
%44 = urem i64 %25, 256
%45 = sub i64 %22, %sv_0.213.reload
%46 = icmp ult i64 %45, %44
%47 = select i1 %46, i64 %45, i64 %44
%48 = call i64 @FUNC(i64 %arg1)
%49 = trunc i64 %48 to i32
%50 = add i64 %sv_0.213.reload, %16
%51 = urem i32 %49, 256
%52 = inttoptr i64 %50 to i64*
%53 = trunc i64 %47 to i32
%54 = call i64* @memset(i64* %52, i32 %51, i32 %53)
%55 = add i64 %47, %sv_0.213.reload
store i64 %55, i64* %sv_0.1.reg2mem
br label LBL_8
LBL_8:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%56 = mul i32 %storemerge714.reload, 65536
%sext6 = add i32 %56, -65536
%57 = ashr exact i32 %sext6, 16
%58 = trunc i32 %57 to i16
%59 = icmp eq i16 %58, 0
%60 = icmp eq i1 %59, false
store i32 %57, i32* %storemerge714.reg2mem
store i64 %sv_0.1.reload, i64* %sv_0.213.reg2mem
br i1 %60, label LBL_3, label LBL_9
LBL_9:
%.pre19 = load i16, i16* %4, align 2
store i16 %.pre19, i16* %.reg2mem24
br label LBL_10
LBL_10:
%.reload25 = load i16, i16* %.reg2mem24
%61 = mul i32 %storemerge15.reload, 65536
%sext = add i32 %61, 65536
%62 = ashr exact i32 %sext, 16
%63 = trunc i32 %62 to i16
%64 = icmp ugt i16 %.reload25, %63
store i16 %.reload25, i16* %.lcssa.reg2mem
br i1 %64, label LBL_10.LBL_2_crit_edge, label LBL_12
LBL_11:
%.pre = load i16, i16* %8, align 8
store i16 %.pre, i16* %.reg2mem
store i32 %62, i32* %storemerge15.reg2mem
br label LBL_2
LBL_12:
%.lcssa.reload = load i16, i16* %.lcssa.reg2mem
%65 = zext i16 %.lcssa.reload to i64
ret i64 %65
uselistorder i64 %sv_0.011.reload, { 1, 0 }
uselistorder i64 %25, { 0, 2, 1 }
uselistorder i64 %sv_0.213.reload, { 5, 4, 2, 1, 0, 3 }
uselistorder i64 %22, { 2, 1, 0 }
uselistorder i32 %storemerge15.reload, { 1, 0 }
uselistorder i16* %4, { 0, 2, 1 }
uselistorder i16* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge714.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.213.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge912.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 }
uselistorder i16* %.reg2mem24, { 0, 2, 1 }
uselistorder i32 16, { 2, 1, 0 }
uselistorder i32 -65536, { 1, 0 }
uselistorder i32 65536, { 4, 0, 1, 2, 3 }
uselistorder i64 (i64)* @fli_read_char, { 3, 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i16 0, { 5, 4, 3, 1, 0, 2 }
uselistorder i64 %arg1, { 1, 0, 2, 3 }
uselistorder label LBL_8, { 2, 0, 1 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | nbd_receive_reply_12765 | nbd_receive_reply | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rsi = alloca i64, align 8
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%4 = ptrtoint i64* %sv_2 to i64
store i64 %4, i64* %rsi, align 8
%5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_2, i64 16)
%6 = icmp slt i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 %5, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_7
LBL_1:
%8 = icmp eq i64 %5, 16
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 16, i64 %4, i64 %2, i64 %1)
store i64 -22, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%10 = ptrtoint i64* %arg2 to i64
%11 = call i64 @FUNC(i64* nonnull %sv_2)
%12 = call i64 @FUNC(i64* nonnull %sv_1)
%13 = trunc i64 %12 to i32
%14 = bitcast i64* %arg2 to i32*
store i32 %13, i32* %14, align 4
%15 = call i64 @FUNC(i64* nonnull %sv_0)
%16 = add i64 %10, 8
%17 = inttoptr i64 %16 to i64*
store i64 %15, i64* %17, align 8
%18 = bitcast i64* %rsi to i32*
%19 = load i32, i32* %18, align 8
%20 = zext i32 %19 to i64
%21 = call i64 @FUNC(i64 %20)
%22 = trunc i64 %21 to i32
store i32 %22, i32* %14, align 4
%23 = icmp eq i32 %19, 100
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_5, label LBL_4
LBL_4:
%25 = load i64, i64* %rsi, align 8
%26 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %10, i64 %4, i64 %2, i64 %1)
store i64 -22, i64* %rax.0.reg2mem
br label LBL_7
LBL_5:
%27 = trunc i64 %11 to i32
%28 = load i64, i64* %17, align 8
%29 = and i64 %11, 4294967295
%30 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i64 %29, i32 %19, i64 %28, i64 %2, i64 %1)
%31 = icmp eq i32 %27, 627086611
store i64 0, i64* %rax.0.reg2mem
br i1 %31, label LBL_7, label LBL_6
LBL_6:
%32 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %20, i64 %28, i64 %2, i64 %1)
store i64 -22, 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 %5, { 1, 0, 2 }
uselistorder i64 %4, { 2, 1, 0, 3 }
uselistorder i64* %rsi, { 2, 1, 0 }
uselistorder i64 %2, { 3, 0, 2, 1 }
uselistorder i64 %1, { 3, 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64*)* @ldl_be_p, { 1, 0 }
uselistorder i64 -22, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 2, 1, 0 }
uselistorder i64 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 10, 9 }
uselistorder label LBL_7, { 2, 0, 3, 4, 1 }
} | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.