dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | __vmx_load_host_state_11706 | __vmx_load_host_state | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_9, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 24
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i32 %8, 1
store i32 %9, i32* %7, align 4
%10 = bitcast i64* %arg1 to i32*
store i32 0, i32* %10, align 4
%11 = add i64 %5, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = add i64 %5, 12
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = zext i32 %17 to i64
%19 = call i64 @FUNC(i64 %18)
br label LBL_3
LBL_3:
%20 = add i64 %5, 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_5, label LBL_4
LBL_4:
%24 = add i64 %5, 16
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = zext i32 %26 to i64
%28 = call i64 @FUNC(i64 %27)
%29 = call i64 @FUNC(i64 %2)
%30 = add i64 %5, 20
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = zext i32 %32 to i64
%34 = call i64 @FUNC(i64 %33)
%35 = call i64 @FUNC(i64 3221225731)
%36 = call i64 @FUNC(i64 3221225729, i64 %35)
%37 = call i64 @FUNC(i64 %2)
br label LBL_5
LBL_5:
%38 = call i64 @FUNC()
%39 = call i64 @FUNC(i64 %6)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
br i1 %41, label LBL_7, label LBL_6
LBL_6:
%42 = add i64 %5, 32
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = call i64 @FUNC(i64 3221225730, i64 %44)
%46 = add i64 %5, 40
%47 = inttoptr i64 %46 to i64*
%48 = load i64, i64* %47, align 8
%49 = call i64 @FUNC(i64 3221225730, i64 %48)
br label LBL_7
LBL_7:
%50 = call i64 @FUNC()
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = urem i32 %52, 2
%54 = icmp eq i32 %53, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %54, label LBL_9, label LBL_8
LBL_8:
%55 = call i64 @FUNC()
store i64 %55, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 2, 1, 0, 4, 3, 6, 5, 7 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @wrmsrl, { 1, 0 }
uselistorder label LBL_9, { 1, 2, 0 }
} | 1 |
BinRealVul | si21_writeregs_4744 | si21_writeregs | define i64 @FUNC(i64* %arg1, i8 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%4 = trunc i64 %2 to i32
store i32 %4, i32* %sv_1, align 4
%5 = icmp ult i32 %arg4, 60
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_3
LBL_1:
%6 = bitcast i64* %sv_0 to i8*
%7 = ptrtoint i64* %arg1 to i64
store i8 %arg2, i8* %6, align 8
%8 = ptrtoint i64* %sv_0 to i64
%9 = or i64 %8, 1
%10 = inttoptr i64 %9 to i64*
%11 = call i64* @memcpy(i64* nonnull %10, i64* %arg3, i32 %arg4)
%12 = add i64 %7, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14, i32* nonnull %sv_1, i64 1)
%16 = trunc i64 %15 to i32
%cond = icmp eq i32 %16, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %cond, label LBL_3, label LBL_2
LBL_2:
%17 = and i64 %15, 4294967295
%18 = urem i64 %3, 256
%19 = zext i8 %arg2 to i64
%20 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %18, i64 %17, i64 %1)
store i64 4294967175, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 1, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
} | 0 |
BinRealVul | sg_mmap_10914 | sg_mmap | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
%3 = icmp eq i64* %arg2, null
%or.cond = or i1 %2, %3
store i64 4294967290, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_9, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %4, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = sub i64 %8, %4
%10 = add i64 %5, 64
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = and i64 %9, 4294967295
%14 = call i64 @FUNC(i64 1, i64 %12, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %13, i64 %1)
%15 = and i64 %14, 4294967295
%16 = call i64 @FUNC(i64 3, i64 %15, i64 ptrtoint ([39 x i8]* @gv_0 to i64), i64 %4, i64 %13, i64 %1)
%17 = add i64 %4, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %20, label LBL_2, label LBL_9
LBL_2:
%21 = add i64 %5, 16
%22 = call i64 @FUNC(i64 %21)
%23 = icmp ugt i64 %9, %21
store i64 4294967284, i64* %sv_0.0.reg2mem
br i1 %23, label LBL_8, label LBL_3
LBL_3:
%24 = add i64 %5, 12
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label LBL_7, label LBL_4
LBL_4:
%28 = add i64 %5, 8
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i32 %30, 12
%32 = urem i32 %31, 32
%33 = shl i32 1, %32
%34 = load i64, i64* %7, align 8
%35 = sext i32 %33 to i64
%36 = zext i32 %26 to i64
store i32 0, i32* %storemerge14.reg2mem
store i64 %15, i64* %sv_1.03.reg2mem
br label LBL_6
LBL_5:
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%37 = sub i64 %34, %sv_1.03.reload
%38 = icmp ugt i64 %37, %35
%39 = select i1 %38, i64 %35, i64 %37
%40 = add i64 %39, %sv_1.03.reload
%41 = add i32 %storemerge14.reload, 1
%42 = sext i32 %41 to i64
%43 = icmp slt i64 %42, %36
store i32 %41, i32* %storemerge14.reg2mem
store i64 %40, i64* %sv_1.03.reg2mem
br i1 %43, label LBL_6, label LBL_7
LBL_6:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%44 = icmp ugt i64 %34, %sv_1.03.reload
br i1 %44, label LBL_5, label LBL_7
LBL_7:
%45 = add i64 %5, 56
%46 = inttoptr i64 %45 to i32*
store i32 1, i32* %46, align 4
%47 = add i64 %4, 24
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = or i64 %49, 52
store i64 %50, i64* %48, align 8
%51 = add i64 %4, 32
%52 = inttoptr i64 %51 to i64*
store i64 %5, i64* %52, align 8
%53 = add i64 %4, 40
%54 = inttoptr i64 %53 to i64*
store i64 ptrtoint (i64* @gv_1 to i64), i64* %54, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%55 = call i64 @FUNC(i64 %21)
store i64 %sv_0.0.reload, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 0, 1, 3, 2, 4, 5 }
uselistorder i64 %4, { 0, 1, 2, 3, 6, 5, 4, 7 }
uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder [39 x i8]* @gv_0, { 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_9, { 2, 0, 1 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | map_id_up_8263 | map_id_up | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge3.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = call i64 @FUNC()
%5 = icmp ult i32 %3, 11
%6 = trunc i64 %arg2 to i32
%7 = and i64 %1, 4294967295
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%8 = call i64 @FUNC(i64 %7, i64 %2, i32 %6)
store i64 %8, i64* %storemerge3.in.reg2mem
br label LBL_3
LBL_2:
%9 = call i64 @FUNC(i64 %7, i64 %2, i32 %6)
store i64 %9, i64* %storemerge3.in.reg2mem
br label LBL_3
LBL_3:
%storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem
%10 = icmp eq i64 %storemerge3.in.reload, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %10, label LBL_5, label LBL_4
LBL_4:
%storemerge3 = inttoptr i64 %storemerge3.in.reload to i32*
%11 = load i32, i32* %storemerge3, align 4
%12 = sub i32 %6, %11
%13 = add i64 %storemerge3.in.reload, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = add i32 %12, %15
%17 = zext i32 %16 to i64
store i64 %17, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge3.in.reload, { 2, 0, 1 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | mqtt_conn_del_12294 | mqtt_conn_del | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = add i64 %arg1, 16
%3 = add i64 %arg1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7, i64 %2)
%9 = trunc i64 %1 to i32
%10 = call i32 @close(i32 %9)
%11 = call i64 @FUNC(i64 %arg1)
ret i64 0
} | 1 |
BinRealVul | remap_cell_to_origin_clear_discard_18049 | remap_cell_to_origin_clear_discard | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i8 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = load i64, i64* %0
%sv_0 = alloca i8, align 1
%sv_1 = alloca i64, align 8
store i64 %2, i64* %sv_1, align 8
%4 = bitcast i8* %sv_0 to i64*
%5 = call i64 @FUNC(i64* nonnull %4)
%6 = call i64 @FUNC(i64* nonnull %4)
store i8 0, i8* %sv_0, align 1
%7 = call i64 @FUNC(i64 %2, i64 %3)
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10, i64 4198833, i64* nonnull %sv_1, i64 %1)
%12 = add i64 %2, 4
%13 = call i64 @FUNC(i64 %12, i64* nonnull %4)
%14 = call i64 @FUNC(i64 %2, i64 %3)
%15 = call i64 @FUNC(i64 %2, i64 %3)
%16 = icmp eq i8 %arg4, 0
br i1 %16, label LBL_2, label LBL_1
LBL_1:
%17 = call i64 @FUNC(i64 %2, i64 %3)
br label LBL_3
LBL_2:
%18 = call i64 @FUNC(i64 %2, i64 %3)
br label LBL_3
LBL_3:
%19 = load i8, i8* %sv_0, align 1
%20 = icmp eq i8 %19, 0
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = zext i32 %arg3 to i64
%22 = call i64 @FUNC(i64 %2, i64 %21)
%23 = and i64 %22, 4294967295
%24 = call i64 @FUNC(i64 %2, i64 %23)
br label LBL_5
LBL_5:
%25 = call i64 @FUNC(i64* nonnull %4)
%26 = icmp eq i64 %25, 0
%27 = icmp eq i1 %26, false
store i64 %25, i64* %.reg2mem
store i64 %25, i64* %.lcssa.reg2mem
br i1 %27, label LBL_6, label LBL_7
LBL_6:
%.reload = load i64, i64* %.reg2mem
%28 = call i64 @FUNC(i64 %2, i64 %.reload)
%29 = call i64 @FUNC(i64 %2, i64 %.reload)
%30 = call i64 @FUNC(i64* nonnull %4)
%31 = icmp eq i64 %30, 0
%32 = icmp eq i1 %31, false
store i64 %30, i64* %.reg2mem
store i64 %30, i64* %.lcssa.reg2mem
br i1 %32, label LBL_6, label LBL_7
LBL_7:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %.reload, { 1, 0 }
uselistorder i64* %4, { 1, 0, 2, 3, 4 }
uselistorder i8* %sv_0, { 1, 0, 2 }
uselistorder i64 %2, { 3, 2, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 (i64*)* @bio_list_pop, { 1, 0 }
uselistorder i64 (i64, i64)* @issue, { 1, 0 }
uselistorder i64 (i64, i64)* @remap_to_origin, { 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i64 (i64*)* @bio_list_init, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | output_frame_930 | output_frame | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge47.reg2mem = alloca i32
%storemerge69.reg2mem = alloca i32
%storemerge8.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = and i64 %arg2, 4294967295
%5 = call i64 @FUNC(i64 %2, i64 %4)
%6 = call i64 @FUNC(i64 %2, i64 1, i32 %3)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_12
LBL_1:
%9 = call i64 @FUNC(i64 %2, i64 1, i32 %3)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_2, label LBL_4
LBL_2:
%12 = trunc i64 %1 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_11, label LBL_3
LBL_3:
%14 = add i64 %2, 8
%15 = inttoptr i64 %14 to i64*
%16 = inttoptr i64 %9 to i64*
%17 = add i64 %2, 40
%18 = inttoptr i64 %17 to i64*
%19 = add i64 %2, 16
%20 = inttoptr i64 %19 to i32*
%21 = add i64 %2, 20
%22 = inttoptr i64 %21 to i32*
%23 = add i64 %2, 48
%24 = inttoptr i64 %23 to i64*
%25 = and i64 %1, 4294967295
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge8.reg2mem
br label LBL_5
LBL_4:
%26 = call i64 @FUNC(i64 %6)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_12
LBL_5:
%storemerge8.reload = load i32, i32* %storemerge8.reg2mem
%.reload = load i64, i64* %.reg2mem
%27 = load i64, i64* %15, align 8
%28 = mul i64 %.reload, 4
%29 = add i64 %27, %28
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = icmp eq i32 %31, 1
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_10, label LBL_6
LBL_6:
%34 = load i64, i64* %16, align 8
%35 = load i64, i64* %18, align 8
%36 = mul i64 %.reload, 8
%37 = add i64 %35, %36
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %39, i64 %34, i32 %3)
%41 = load i32, i32* %20, align 4
%42 = icmp eq i32 %41, 0
store i32 1, i32* %storemerge69.reg2mem
br i1 %42, label LBL_8, label LBL_7
LBL_7:
%43 = load i32, i32* %22, align 4
%44 = icmp sgt i32 %43, 0
store i32 %43, i32* %storemerge69.reg2mem
br i1 %44, label LBL_8, label LBL_10
LBL_8:
%storemerge69.reload = load i32, i32* %storemerge69.reg2mem
store i32 0, i32* %storemerge47.reg2mem
br label LBL_9
LBL_9:
%storemerge47.reload = load i32, i32* %storemerge47.reg2mem
%45 = load i64, i64* %24, align 8
%46 = add i64 %45, %28
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = call i128 @FUNC(i32 %48)
%50 = add nuw nsw i32 %storemerge47.reload, 1
%exitcond = icmp eq i32 %50, %storemerge69.reload
store i32 %50, i32* %storemerge47.reg2mem
br i1 %exitcond, label LBL_10, label LBL_9
LBL_10:
%51 = add i32 %storemerge8.reload, 1
%52 = sext i32 %51 to i64
%53 = icmp sgt i64 %25, %52
store i64 %52, i64* %.reg2mem
store i32 %51, i32* %storemerge8.reg2mem
br i1 %53, label LBL_5, label LBL_11
LBL_11:
%54 = call i64 @FUNC(i64 %9)
%55 = add i64 %2, 24
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = add i64 %6, 8
%59 = inttoptr i64 %58 to i32*
store i32 %57, i32* %59, align 4
%60 = load i32, i32* %56, align 4
%61 = add i32 %60, %3
store i32 %61, i32* %56, align 4
%62 = call i64 @FUNC(i64 %2, i64 %6)
store i64 %62, 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* %56, { 1, 0, 2 }
uselistorder i64 %28, { 1, 0 }
uselistorder i64 %.reload, { 1, 0 }
uselistorder i64 %6, { 1, 2, 0, 3 }
uselistorder i32 %3, { 0, 2, 1, 3 }
uselistorder i64 %2, { 0, 1, 2, 4, 3, 6, 5, 7, 8, 9 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge69.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @avfilter_unref_buffer, { 1, 0 }
uselistorder i32 0, { 0, 2, 4, 1, 3 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @ff_get_audio_buffer, { 1, 0 }
uselistorder label LBL_12, { 1, 2, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | wmi_set_ie_19068 | wmi_set_ie | define i64 @FUNC(i64* %arg1, i8 %arg2, i16 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.03.reg2mem = alloca i32
%storemerge.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i16 %arg3, 260
%4 = zext i16 %3 to i64
%5 = call i64 @FUNC(i64 %4, i64 0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i32 -12, i32* %sv_0.02.reg2mem
br i1 %7, label LBL_1, label LBL_2
LBL_1:
%8 = inttoptr i64 %5 to i8*
%9 = icmp eq i64 %arg4, 0
%10 = icmp eq i1 %9, false
%spec.select = select i1 %10, i16 %arg3, i16 0
store i8 %arg2, i8* %8, align 1
%11 = zext i16 %spec.select to i64
%12 = call i64 @FUNC(i64 %11)
%13 = trunc i64 %12 to i16
%14 = add i64 %5, 2
%15 = inttoptr i64 %14 to i16*
store i16 %13, i16* %15, align 2
%16 = add i64 %5, 4
%17 = inttoptr i64 %16 to i64*
%18 = inttoptr i64 %arg4 to i64*
%19 = zext i16 %spec.select to i32
%20 = call i64* @memcpy(i64* %17, i64* %18, i32 %19)
%21 = call i64 @FUNC(i64 %2, i64 5, i64 %5, i16 %3)
%22 = trunc i64 %21 to i32
%23 = call i64 @FUNC(i64 %5)
%24 = icmp eq i32 %22, 0
store i32 %22, i32* %sv_0.02.reg2mem
store i32 0, i32* %sv_0.03.reg2mem
br i1 %24, label LBL_5, label LBL_2
LBL_2:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%25 = icmp ult i8 %arg2, 5
store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem
br i1 %25, label LBL_3, label LBL_4
LBL_3:
%26 = zext i8 %arg2 to i64
%27 = mul i64 %26, 8
%28 = add i64 %27, ptrtoint ([5 x i8*]* @gv_1 to i64)
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
store i64 %30, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%31 = zext i32 %sv_0.02.reload to i64
%32 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i8 %arg2, i64 %storemerge.reload, i64 %31, i64 %1)
store i32 %sv_0.02.reload, i32* %sv_0.03.reg2mem
br label LBL_5
LBL_5:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%33 = zext i32 %sv_0.03.reload to i64
ret i64 %33
uselistorder i16 %spec.select, { 1, 0 }
uselistorder i32* %sv_0.02.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.03.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 0, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
uselistorder i8 %arg2, { 0, 2, 1, 3 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | sql_close_3759 | sql_close | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
br label LBL_2
LBL_2:
store i64 0, i64* %arg1, align 8
ret i64 0
uselistorder i64* %arg1, { 0, 2, 1 }
} | 0 |
BinRealVul | hysdn_proclog_init_4546 | hysdn_proclog_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC(i64 272, i64 0)
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = inttoptr i64 %2 to i8*
%5 = ptrtoint i64* %arg1 to i64
%6 = and i64 %1, 4294967295
%7 = call i32 (i8*, i8*, ...) @sprintf(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %6)
%8 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 4210733)
%9 = add i64 %2, 256
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = add i64 %2, 264
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %5, 8
%14 = inttoptr i64 %13 to i64*
store i64 %2, i64* %14, align 8
br label LBL_2
LBL_2:
ret i64 0
} | 0 |
BinRealVul | standard_decode_picture_primary_header_16682 | standard_decode_picture_primary_header | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 16
%6 = add i64 %4, 24
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64 %5, i64 1)
%11 = trunc i64 %10 to i32
%12 = add i64 %4, 28
%13 = inttoptr i64 %12 to i32*
store i32 %11, i32* %13, align 4
br label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %5, i64 2)
%15 = add i64 %4, 32
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %5, i64 1)
%20 = trunc i64 %19 to i32
%21 = add i64 %4, 36
%22 = inttoptr i64 %21 to i32*
store i32 %20, i32* %22, align 4
br label LBL_4
LBL_4:
%23 = call i64 @FUNC(i64 %5, i64 1)
%24 = trunc i64 %23 to i32
%25 = bitcast i64* %arg1 to i32*
store i32 %24, i32* %25, align 4
%26 = add i64 %4, 8
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %30, 0
%32 = bitcast i64* %rdi to i32*
%33 = load i32, i32* %32, align 8
br i1 %31, label LBL_10, label LBL_5
LBL_5:
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_9, label LBL_6
LBL_6:
%36 = call i64 @FUNC(i64 %5, i64 1)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_8, label LBL_7
LBL_7:
store i32 1, i32* %25, align 4
br label LBL_11
LBL_8:
store i32 3, i32* %25, align 4
br label LBL_11
LBL_9:
store i32 2, i32* %25, align 4
br label LBL_11
LBL_10:
%39 = add i32 %33, 1
store i32 %39, i32* %25, align 4
br label LBL_11
LBL_11:
%40 = icmp sgt i32 %33, 4
store i64 0, i64* %storemerge.reg2mem
br i1 %40, label LBL_19, label LBL_12
LBL_12:
%41 = icmp sgt i32 %33, 2
br i1 %41, label LBL_16, label LBL_13
LBL_13:
store i64 0, i64* %storemerge.reg2mem
switch i32 %33, label LBL_19 [
i32 1, label LBL_14
i32 2, label LBL_15
]
LBL_14:
%42 = call i64 @FUNC(i64 %4)
store i64 %42, i64* %sv_0.0.in.reg2mem
br label LBL_17
LBL_15:
%43 = call i64 @FUNC(i64 %4)
store i64 %43, i64* %sv_0.0.in.reg2mem
br label LBL_17
LBL_16:
%44 = call i64 @FUNC(i64 %4)
store i64 %44, i64* %sv_0.0.in.reg2mem
br label LBL_17
LBL_17:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%45 = icmp eq i32 %sv_0.0, -1
%46 = icmp eq i1 %45, false
store i64 0, i64* %storemerge.reg2mem
br i1 %46, label LBL_19, label LBL_18
LBL_18:
%47 = load i64, i64* %27, align 8
%48 = call i64 @FUNC(i64 %47, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
%49 = and i64 %sv_0.0.in.reload, 4294967295
store i64 %49, i64* %storemerge.reg2mem
br label LBL_19
LBL_19:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_0.0.in.reload, { 1, 0 }
uselistorder i32 %33, { 0, 1, 2, 4, 3 }
uselistorder i32* %25, { 3, 2, 1, 0, 4 }
uselistorder i64 %5, { 2, 3, 1, 4, 0 }
uselistorder i64 %4, { 4, 2, 3, 5, 1, 6, 0, 7, 8 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @get_bits, { 3, 2, 1, 0 }
uselistorder label LBL_19, { 3, 2, 0, 1 }
uselistorder label LBL_11, { 3, 0, 1, 2 }
} | 1 |
BinRealVul | h2_rcv_buf_8977 | h2_rcv_buf | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_7
LBL_1:
%9 = trunc i64 %1 to i32
%10 = add i64 %5, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, %9
store i64 0, i64* %rax.0.reg2mem
br i1 %13, label LBL_2, label LBL_7
LBL_2:
%14 = add i64 %5, 16
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_3, label LBL_7
LBL_3:
%sext = mul i64 %arg3, 4294967296
%21 = ashr exact i64 %sext, 32
%22 = add i64 %5, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
store i64 0, i64* %sv_0.0.reg2mem
switch i32 %24, label LBL_6 [
i32 2, label LBL_4
i32 3, label LBL_5
]
LBL_4:
%25 = trunc i64 %21 to i32
%26 = ptrtoint i32* %arg2 to i64
%27 = call i64 @FUNC(i64 %2, i64 %26, i32 %25)
store i64 %27, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_5:
%28 = trunc i64 %21 to i32
%29 = ptrtoint i32* %arg2 to i64
%30 = call i64 @FUNC(i64 %2, i64 %29, i32 %28)
store i64 %30, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%31 = and i64 %sv_0.0.reload, 4294967295
store i64 %31, 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* %sv_0.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder label LBL_7, { 3, 0, 1, 2 }
uselistorder label LBL_6, { 1, 2, 0 }
} | 0 |
BinRealVul | wnv1_get_code_15530 | wnv1_get_code | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%2 = call i64 @FUNC(i64 %0, i32 %1, i64 10, i64 1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 15
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %0, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = sub i32 8, %8
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %0, i64 %10)
%sext2 = mul i64 %11, 4294967296
%12 = ashr exact i64 %sext2, 30
%13 = add i64 %12, ptrtoint (i32** @gv_1 to i64)
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
store i64 %16, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%17 = add i32 %3, -7
%18 = add i64 %0, 4
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = urem i32 %20, 32
%22 = shl i32 %17, %21
%rdx.0 = zext i32 %22 to i64
%23 = add i64 %rdx.0, %arg2
%24 = and i64 %23, 4294967295
store i64 %24, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 1 |
BinRealVul | ff_h264_remove_all_refs_15525 | ff_h264_remove_all_refs | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge2.reg2mem = alloca i32
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%2 = call i64 @FUNC(i64 %arg1, i64 %indvars.iv.reload, i64 0)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%5 = add i64 %arg1, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_11, label LBL_5
LBL_5:
%9 = add i64 %arg1, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%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
br i1 %15, label LBL_8, label LBL_6
LBL_6:
%16 = call i64 @FUNC(i64 %arg1, i64 %9)
%17 = add i64 %arg1, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = add i64 %23, 8
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = icmp eq i64 %26, 0
br i1 %27, label LBL_8, label LBL_7
LBL_7:
%28 = call i64 @FUNC(i64 %arg1, i64 %9, i64 %21)
br label LBL_8
LBL_8:
%.pr = load i32, i32* %6, align 4
%29 = icmp eq i32 %.pr, 0
br i1 %29, label LBL_11, label LBL_9
LBL_9:
%30 = add i64 %arg1, 16
%31 = inttoptr i64 %30 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_10
LBL_10:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%.reload = load i64, i64* %.reg2mem
%32 = load i64, i64* %31, align 8
%33 = mul i64 %.reload, 8
%34 = add i64 %32, %33
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %arg1, i64 %36, i64 0)
%38 = load i64, i64* %31, align 8
%39 = add i64 %38, %33
%40 = inttoptr i64 %39 to i64*
store i64 0, i64* %40, align 8
%41 = add i32 %storemerge2.reload, 1
%42 = load i32, i32* %6, align 4
%43 = zext i32 %42 to i64
%44 = sext i32 %41 to i64
%45 = icmp slt i64 %44, %43
store i64 %44, i64* %.reg2mem
store i32 %41, i32* %storemerge2.reg2mem
br i1 %45, label LBL_10, label LBL_11
LBL_11:
store i32 0, i32* %6, align 4
%46 = add i64 %arg1, 24
%47 = inttoptr i64 %46 to i64*
%48 = call i64* @memset(i64* %47, i32 0, i32 128)
%49 = ptrtoint i64* %48 to i64
ret i64 %49
uselistorder i64 %33, { 1, 0 }
uselistorder i32* %6, { 2, 1, 0, 3 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64 %arg1, { 1, 3, 2, 0, 6, 7, 5, 4, 8 }
uselistorder label LBL_11, { 0, 2, 1 }
uselistorder label LBL_10, { 1, 0 }
} | 1 |
BinRealVul | smtp_log_to_file_13382 | smtp_log_to_file | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%0 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)
%1 = bitcast i64* %sv_2 to i32*
%2 = call i32 @time(i32* nonnull %1)
%3 = bitcast i64* %sv_1 to %tm*
%4 = call %tm* @localtime_r(i32* nonnull %1, %tm* nonnull %3)
%5 = bitcast i64* %sv_0 to i8*
%6 = call i32 @strftime(i8* nonnull %5, i32 25, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), %tm* nonnull %3)
%7 = add i64 %arg1, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i32 %6, -7
%11 = zext i32 %10 to i64
%12 = add i64 %arg1, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = load i64, i64* @gv_3, align 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %9 to i8*
%19 = inttoptr i64 %14 to i8*
%20 = inttoptr i64 %0 to %_IO_FILE*
%21 = inttoptr i64 %17 to i8*
%22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0, i8* %21, i8* %18, i64 %11, i8* bitcast (i8** @gv_5 to i8*), i8* %19, i64 %11, i8* bitcast (i8** @gv_5 to i8*), i8* %18)
%23 = call i32 @fclose(%_IO_FILE* %20)
%24 = call i64 @FUNC(i64 %arg1)
ret i64 %24
uselistorder i8* %18, { 1, 0 }
uselistorder i64 %11, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
} | 0 |
BinRealVul | snd_pcm_period_elapsed_11780 | snd_pcm_period_elapsed | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = call i64 @FUNC(i64 %1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %6, label LBL_4, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %1, i64 %2)
%8 = call i64 @FUNC(i64 %1)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC(i64 %1, i64 1)
br label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %1, i64 %2)
%13 = call i64 @FUNC(i64 %1, i64 29, i64 1)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %1, { 1, 2, 0, 4, 3, 5 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | ReferenceTable_GetFreeEntry_17756 | ReferenceTable_GetFreeEntry | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%.reg2mem13 = alloca i32
%sv_0.12.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = add i64 %arg1, 8
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = icmp eq i32 %2, 0
store i32 %2, i32* %.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_0.12.reg2mem
br i1 %3, label LBL_6, label LBL_1
LBL_1:
%sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%.reload = load i32, i32* %.reg2mem
%4 = mul i64 %indvars.iv.reload, 16
%5 = add i64 %4, %arg1
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i32 %.reload, i32* %.reg2mem13
store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = add i64 %5, 8
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%.pre = load i32, i32* %1, align 4
store i32 %.pre, i32* %.reg2mem13
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%.reload14 = load i32, i32* %.reg2mem13
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%12 = zext i32 %.reload14 to i64
%13 = icmp ult i64 %indvars.iv.next, %12
store i32 %.reload14, i32* %.reg2mem
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem
br i1 %13, label LBL_1, label LBL_4
LBL_4:
%14 = icmp eq i32 %sv_0.0.reload, 0
%15 = icmp eq i1 %14, false
store i64 %5, i64* %rax.0.reg2mem
br i1 %15, label LBL_10, label LBL_5
LBL_5:
%16 = icmp eq i32 %.reload14, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_9, label LBL_6
LBL_6:
%18 = icmp eq i64 %arg1, 0
%.pre9 = inttoptr i64 %arg1 to i64*
br i1 %18, label LBL_8, label LBL_7
LBL_7:
call void @free(i64* %.pre9)
br label LBL_8
LBL_8:
store i64 0, i64* %.pre9, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_9:
%19 = mul i32 %.reload14, 2
%20 = mul i32 %.reload14, 32
%21 = inttoptr i64 %arg1 to i64*
%22 = call i64* @realloc(i64* %21, i32 %20)
%23 = ptrtoint i64* %22 to i64
store i32 %19, i32* %1, align 4
store i64 %23, i64* %21, align 8
%24 = load i32, i32* %1, align 4
%25 = udiv i32 %24, 2
%26 = zext i32 %25 to i64
%27 = mul i64 %26, 16
%28 = add i64 %27, %arg1
%29 = call i64 @FUNC(i64 %28, i64 %27)
%30 = call i64 @FUNC(i64 %arg1)
store i64 %30, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.reload14, { 3, 2, 1, 4, 0 }
uselistorder i32* %1, { 1, 2, 0, 3 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 0, { 4, 5, 3, 0, 1, 2 }
uselistorder i64 %arg1, { 4, 0, 5, 2, 3, 1, 6 }
uselistorder label LBL_10, { 1, 2, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | nedpcalloc_11883 | nedpcalloc | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = mul i64 %arg3, %arg2
%2 = call i64 @FUNC(i64 %0, i64 %1, i64 0, i64 1)
ret i64 %2
} | 1 |
BinRealVul | evtchn_2l_handle_events_19287 | evtchn_2l_handle_events | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.1.lcssa.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i32
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_1.010.reg2mem = alloca i32
%sv_0.211.reg2mem = alloca i64
%storemerge312.reg2mem = alloca i32
%sext = mul i64 %arg1, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = load i64, i64* @gv_0, align 8
%2 = load i64, i64* @gv_1, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = and i64 %arg1, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 0)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, -1
br i1 %7, label LBL_3, label LBL_1
LBL_1:
%8 = and i64 %5, 4294967295
%9 = call i64 @FUNC(i64 %8)
%sext2 = mul i64 %9, 4294967296
%10 = ashr exact i64 %sext2, 32
%11 = udiv i64 %10, 64
%12 = trunc i64 %11 to i32
%13 = urem i64 %9, 64
%14 = and i64 %0, 4294967295
%15 = call i64 @FUNC(i64 %14, i64 %1, i32 %12)
%16 = shl i64 1, %13
%17 = and i64 %16, %15
%18 = icmp eq i64 %17, 0
br i1 %18, label LBL_3, label LBL_2
LBL_2:
%19 = call i64 @FUNC(i64 %8)
br label LBL_3
LBL_3:
%20 = call i64 @FUNC(i64 %3, i64 0)
%21 = load i32, i32* @gv_2, align 4
%22 = sext i32 %21 to i64
%23 = call i64 @FUNC(i64 %22)
%24 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4
%25 = sext i32 %24 to i64
%26 = call i64 @FUNC(i64 %25)
%27 = and i64 %23, 4294967295
%28 = icmp eq i64 %20, 0
%29 = icmp eq i1 %28, false
store i64 %27, i64* %rax.1.lcssa.reg2mem
br i1 %29, label LBL_4, label LBL_17
LBL_4:
%30 = trunc i64 %23 to i32
%31 = and i64 %0, 4294967295
%32 = and i64 %26, 4294967295
store i32 0, i32* %storemerge312.reg2mem
store i64 %20, i64* %sv_0.211.reg2mem
store i32 %30, i32* %sv_1.010.reg2mem
br label LBL_5
LBL_5:
%sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem
%sv_0.211.reload = load i64, i64* %sv_0.211.reg2mem
%storemerge312.reload = load i32, i32* %storemerge312.reg2mem
%33 = zext i32 %sv_1.010.reload to i64
%34 = call i64 @FUNC(i64 %sv_0.211.reload, i64 %33)
%35 = icmp eq i64 %34, 0
%36 = icmp eq i1 %35, false
store i64 %sv_0.211.reload, i64* %sv_0.1.reg2mem
store i64 %34, i64* %rax.0.reg2mem
store i32 0, i32* %storemerge5.reg2mem
br i1 %36, label LBL_6, label LBL_16
LBL_6:
%37 = call i64 @FUNC(i64 %34)
%38 = trunc i64 %37 to i32
%39 = call i64 @FUNC(i64 %31, i64 %1, i32 %38)
%40 = icmp eq i32 %30, %38
%41 = icmp eq i32 %storemerge312.reload, 0
%42 = icmp eq i1 %41, %40
%43 = select i1 %42, i64 %32, i64 0
%44 = call i64 @FUNC(i64 %39, i64 %43)
%45 = icmp eq i64 %44, 0
br i1 %45, label LBL_13, label LBL_7
LBL_7:
%46 = mul i64 %37, 64
%storemerge6.c = and i64 %37, 4294967295
store i64 %44, i64* %.reg2mem
br label LBL_9
LBL_8:
%47 = load i32, i32* @gv_2, align 4
%48 = sext i32 %47 to i64
%49 = call i64 @FUNC(i64 %48, i64 %storemerge6.c)
%50 = load i32, i32* @gv_3, align 4
%51 = sext i32 %50 to i64
%52 = zext i32 %66 to i64
%53 = call i64 @FUNC(i64 %51, i64 %52)
%54 = call i64 @FUNC(i64 %39, i64 %52)
%55 = icmp eq i64 %54, 0
store i64 %54, i64* %.reg2mem
br i1 %55, label LBL_13, label LBL_9
LBL_9:
%.reload = load i64, i64* %.reg2mem
%56 = call i64 @FUNC(i64 %.reload)
%57 = add i64 %56, %46
%58 = and i64 %57, 4294967295
%59 = call i64 @FUNC(i64 %58)
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, -1
br i1 %61, label LBL_11, label LBL_10
LBL_10:
%62 = and i64 %59, 4294967295
%63 = call i64 @FUNC(i64 %62)
br label LBL_11
LBL_11:
%64 = trunc i64 %56 to i32
%65 = add i32 %64, 1
%66 = srem i32 %65, 64
%67 = icmp eq i32 %66, 0
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_8, label LBL_12
LBL_12:
%69 = add i32 %38, 1
%70 = srem i32 %69, 64
%storemerge6 = zext i32 %70 to i64
%71 = load i32, i32* @gv_2, align 4
%72 = sext i32 %71 to i64
%73 = call i64 @FUNC(i64 %72, i64 %storemerge6)
%74 = load i32, i32* @gv_3, align 4
%75 = sext i32 %74 to i64
%76 = zext i32 %66 to i64
%77 = call i64 @FUNC(i64 %75, i64 %76)
br label LBL_13
LBL_13:
store i64 %sv_0.211.reload, i64* %sv_0.0.reg2mem
br i1 %42, label LBL_15, label LBL_14
LBL_14:
%78 = urem i32 %38, 64
%79 = icmp eq i32 %78, 0
%80 = zext i32 %78 to i64
%81 = shl i64 -1, %80
%.op = add i64 %81, -1
%82 = select i1 %79, i64 -2, i64 %.op
%83 = and i64 %82, %sv_0.211.reload
store i64 %83, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_15:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%84 = add i32 %38, 1
%85 = srem i32 %84, 64
%86 = zext i32 %85 to i64
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
store i64 %86, i64* %rax.0.reg2mem
store i32 %85, i32* %storemerge5.reg2mem
br label LBL_16
LBL_16:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%87 = add i32 %storemerge312.reload, 1
%88 = icmp eq i64 %sv_0.1.reload, 0
%89 = icmp eq i1 %88, false
store i32 %87, i32* %storemerge312.reg2mem
store i64 %sv_0.1.reload, i64* %sv_0.211.reg2mem
store i32 %storemerge5.reload, i32* %sv_1.010.reg2mem
store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem
br i1 %89, label LBL_5, label LBL_17
LBL_17:
%rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem
ret i64 %rax.1.lcssa.reload
uselistorder i64 %sv_0.1.reload, { 1, 0 }
uselistorder i32 %66, { 2, 0, 1 }
uselistorder i64 %56, { 1, 0 }
uselistorder i1 %42, { 1, 0 }
uselistorder i64 %39, { 1, 0 }
uselistorder i32 %38, { 2, 0, 1, 3, 4 }
uselistorder i64 %37, { 1, 0, 2 }
uselistorder i64 %34, { 1, 0, 2 }
uselistorder i32 %storemerge312.reload, { 1, 0 }
uselistorder i64 %sv_0.211.reload, { 3, 1, 0, 2 }
uselistorder i32 %30, { 1, 0 }
uselistorder i64 %23, { 1, 0 }
uselistorder i64 %9, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 %0, { 1, 0 }
uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.211.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i32* @gv_3, { 1, 0 }
uselistorder i64 (i64, i64)* @__this_cpu_write, { 3, 2, 0, 1 }
uselistorder i64 (i64)* @EVTCHN_FIRST_BIT, { 1, 0 }
uselistorder i64 (i64, i64)* @MASK_LSBS, { 2, 0, 1 }
uselistorder i1 false, { 3, 1, 2, 0 }
uselistorder i32 0, { 3, 6, 2, 0, 1, 4, 5 }
uselistorder i32* @gv_2, { 2, 0, 1 }
uselistorder i64 (i64)* @generic_handle_irq, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @active_evtchns, { 1, 0 }
uselistorder i64 64, { 0, 2, 1 }
uselistorder i64 4294967295, { 2, 3, 1, 0, 5, 6, 7, 4, 8 }
uselistorder i64 (i64)* @__this_cpu_read, { 2, 1, 0 }
uselistorder i32 1, { 10, 11, 12, 13, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_13, { 2, 0, 1 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | tight_detect_smooth_image24_4490 | tight_detect_smooth_image24 | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.114.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.015.reg2mem = alloca i32
%indvars.iv49.reg2mem = alloca i64
%sv_1.2.lcssa.reg2mem = alloca i32
%sv_1.226.reg2mem = alloca i32
%sv_2.027.reg2mem = alloca i32
%sv_3.029.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i32
%sv_1.122.reg2mem = alloca i32
%storemerge323.reg2mem = alloca i32
%storemerge420.reg2mem = alloca i32
%indvars.iv39.reg2mem = alloca i64
%indvars.iv36.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
%1 = ptrtoint i64* %sv_5 to i64
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 1024)
%6 = trunc i64 %arg3 to i32
%7 = icmp sgt i32 %6, 0
%8 = trunc i64 %arg2 to i32
%9 = icmp sgt i32 %8, 0
%or.cond25 = icmp eq i1 %9, %7
store i32 0, i32* %sv_1.2.lcssa.reg2mem
br i1 %or.cond25, label LBL_1, label LBL_10
LBL_1:
%10 = add i32 %8, -5
%11 = add i64 %1, -1084
%12 = add i64 %1, -1072
%13 = icmp sgt i32 %8, %6
store i32 0, i32* %sv_3.029.reg2mem
store i32 0, i32* %sv_2.027.reg2mem
store i32 0, i32* %sv_1.226.reg2mem
br label LBL_9
LBL_2:
%indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem
%14 = trunc i64 %indvars.iv36.reload to i32
%15 = add i32 %60, %14
%16 = zext i32 %15 to i64
%17 = add i64 %16, %0
%18 = inttoptr i64 %17 to i8*
%19 = load i8, i8* %18, align 1
%20 = zext i8 %19 to i32
%21 = mul i64 %indvars.iv36.reload, 4
%22 = add i64 %21, %11
%23 = inttoptr i64 %22 to i32*
store i32 %20, i32* %23, align 4
%indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1
%exitcond38 = icmp eq i64 %indvars.iv.next37, 3
store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem
store i32 1, i32* %storemerge420.reg2mem
br i1 %exitcond38, label LBL_5, label LBL_2
LBL_3:
%indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem
%24 = trunc i64 %indvars.iv39.reload to i32
%25 = add i32 %49, %24
%26 = zext i32 %25 to i64
%27 = add i64 %26, %0
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = zext i8 %29 to i32
%31 = mul i64 %indvars.iv39.reload, 4
%32 = add i64 %31, %11
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = sub i32 %30, %34
%36 = sub i32 0, %35
%37 = icmp slt i32 %36, 0
%38 = icmp eq i1 %37, false
%39 = select i1 %38, i32 %36, i32 %35
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 4
%42 = add i64 %12, %41
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = add i32 %44, 1
store i32 %45, i32* %43, align 4
store i32 %30, i32* %33, align 4
%indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1
%exitcond41 = icmp eq i64 %indvars.iv.next40, 3
store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem
br i1 %exitcond41, label LBL_4, label LBL_3
LBL_4:
%46 = add nuw nsw i32 %storemerge420.reload, 1
%exitcond42 = icmp eq i32 %46, 6
store i32 %46, i32* %storemerge420.reg2mem
br i1 %exitcond42, label LBL_6, label LBL_5
LBL_5:
%storemerge420.reload = load i32, i32* %storemerge420.reg2mem
%47 = add i32 %storemerge420.reload, %58
%48 = mul i32 %47, 4
%49 = add i32 %48, %4
store i64 0, i64* %indvars.iv39.reg2mem
br label LBL_3
LBL_6:
%50 = add i32 %sv_1.122.reload, 5
%51 = add i32 %storemerge323.reload, 1
%52 = sext i32 %51 to i64
%53 = icmp slt i64 %52, %68
%54 = icmp slt i64 %52, %66
%or.cond10 = icmp eq i1 %53, %54
store i32 %51, i32* %storemerge323.reg2mem
store i32 %50, i32* %sv_1.122.reg2mem
store i32 %50, i32* %sv_1.1.lcssa.reg2mem
br i1 %or.cond10, label LBL_7, label LBL_8
LBL_7:
%sv_1.122.reload = load i32, i32* %sv_1.122.reg2mem
%storemerge323.reload = load i32, i32* %storemerge323.reg2mem
%55 = add i32 %storemerge323.reload, %sv_2.027.reload
%56 = mul i32 %55, %8
%57 = add i32 %storemerge323.reload, %sv_3.029.reload
%58 = add i32 %57, %56
%59 = mul i32 %58, 4
%60 = add i32 %59, %4
store i64 0, i64* %indvars.iv36.reg2mem
br label LBL_2
LBL_8:
%sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem
%61 = add i32 %sv_3.029.reload, %6
%62 = add i32 %sv_2.027.reload, %8
%sv_2.0.be = select i1 %13, i32 0, i32 %62
%sv_3.0.be = select i1 %13, i32 %61, i32 0
%63 = icmp slt i32 %sv_2.0.be, %6
%64 = icmp slt i32 %sv_3.0.be, %8
%or.cond = icmp eq i1 %64, %63
store i32 %sv_3.0.be, i32* %sv_3.029.reg2mem
store i32 %sv_2.0.be, i32* %sv_2.027.reg2mem
store i32 %sv_1.1.lcssa.reload, i32* %sv_1.226.reg2mem
store i32 %sv_1.1.lcssa.reload, i32* %sv_1.2.lcssa.reg2mem
br i1 %or.cond, label LBL_9, label LBL_10
LBL_9:
%sv_1.226.reload = load i32, i32* %sv_1.226.reg2mem
%sv_2.027.reload = load i32, i32* %sv_2.027.reg2mem
%sv_3.029.reload = load i32, i32* %sv_3.029.reg2mem
%65 = sub i32 %10, %sv_3.029.reload
%66 = zext i32 %65 to i64
%67 = sub i32 %6, %sv_2.027.reload
%68 = zext i32 %67 to i64
%69 = icmp ne i32 %67, 0
%70 = icmp ne i32 %65, 0
%or.cond1021 = icmp eq i1 %70, %69
store i32 0, i32* %storemerge323.reg2mem
store i32 %sv_1.226.reload, i32* %sv_1.122.reg2mem
store i32 %sv_1.226.reload, i32* %sv_1.1.lcssa.reg2mem
br i1 %or.cond1021, label LBL_7, label LBL_8
LBL_10:
%sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem
%71 = load i64, i64* %sv_4, align 8
%72 = trunc i64 %71 to i32
%.lhs.trunc = mul i32 %72, 33
%73 = udiv i32 %.lhs.trunc, %sv_1.2.lcssa.reload
%74 = icmp ult i32 %73, 95
store i64 0, i64* %rax.0.reg2mem
br i1 %74, label LBL_11, label LBL_17
LBL_11:
%75 = add i64 %1, -1072
store i64 1, i64* %indvars.iv49.reg2mem
store i32 0, i32* %sv_0.015.reg2mem
br label LBL_12
LBL_12:
%indvars.iv49.reload = load i64, i64* %indvars.iv49.reg2mem
%76 = mul i64 %indvars.iv49.reload, 4
%77 = add i64 %76, %75
%78 = inttoptr i64 %77 to i32*
%79 = load i32, i32* %78, align 4
%80 = icmp eq i32 %79, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %80, label LBL_17, label LBL_13
LBL_13:
%81 = mul i64 %indvars.iv49.reload, 4
%82 = add i64 %81, -4
%83 = add i64 %82, %75
%84 = inttoptr i64 %83 to i32*
%85 = load i32, i32* %84, align 4
%86 = mul i32 %85, 2
%87 = icmp ugt i32 %79, %86
store i64 0, i64* %rax.0.reg2mem
br i1 %87, label LBL_17, label LBL_14
LBL_14:
%sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem
%88 = trunc i64 %indvars.iv49.reload to i32
%89 = mul i32 %88, %88
%90 = mul i32 %89, %79
%91 = add i32 %90, %sv_0.015.reload
%indvars.iv.next50 = add nuw nsw i64 %indvars.iv49.reload, 1
%92 = icmp ult i64 %indvars.iv.next50, 8
store i64 %indvars.iv.next50, i64* %indvars.iv49.reg2mem
store i32 %91, i32* %sv_0.015.reg2mem
store i64 8, i64* %indvars.iv.reg2mem
store i32 %91, i32* %sv_0.114.reg2mem
br i1 %92, label LBL_12, label LBL_15
LBL_15:
%sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%93 = mul i64 %indvars.iv.reload, 4
%94 = add i64 %93, %75
%95 = inttoptr i64 %94 to i32*
%96 = load i32, i32* %95, align 4
%97 = trunc i64 %indvars.iv.reload to i32
%98 = mul i32 %97, %97
%99 = mul i32 %98, %96
%100 = add i32 %99, %sv_0.114.reload
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 256
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %100, i32* %sv_0.114.reg2mem
br i1 %exitcond, label LBL_16, label LBL_15
LBL_16:
%101 = mul i32 %sv_1.2.lcssa.reload, 3
%102 = sub i32 %101, %72
%103 = udiv i32 %100, %102
%104 = zext i32 %103 to i64
store i64 %104, 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 %100, { 1, 0 }
uselistorder i32 %79, { 2, 0, 1 }
uselistorder i64 %indvars.iv49.reload, { 0, 1, 3, 2 }
uselistorder i32 %sv_1.2.lcssa.reload, { 1, 0 }
uselistorder i32 %sv_3.029.reload, { 2, 0, 1 }
uselistorder i32 %sv_1.226.reload, { 1, 0 }
uselistorder i32 %storemerge323.reload, { 2, 1, 0 }
uselistorder i32 %storemerge420.reload, { 1, 0 }
uselistorder i64 %indvars.iv39.reload, { 0, 2, 1 }
uselistorder i64 %indvars.iv36.reload, { 0, 2, 1 }
uselistorder i32 %8, { 5, 0, 1, 4, 3, 2 }
uselistorder i32 %6, { 3, 4, 0, 2, 1 }
uselistorder i32 %4, { 1, 0 }
uselistorder i64* %sv_4, { 1, 0 }
uselistorder i64* %indvars.iv36.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv39.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge420.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge323.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.122.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv49.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.114.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }
uselistorder i32 0, { 13, 0, 5, 8, 9, 6, 7, 14, 15, 2, 3, 4, 1, 10, 11, 12 }
uselistorder label LBL_17, { 3, 1, 0, 2 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | DefragIPv4NoDataTest_11068 | 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 }
uselistorder i32 1, { 4, 3, 2, 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | ohci_reset_15373 | ohci_reset | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = bitcast i64* %arg1 to i32*
store i32 0, i32* %5, align 4
%6 = add i64 %4, 4
%7 = inttoptr i64 %6 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %4, 8
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, align 4
%10 = add i64 %4, 12
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %4, 16
%13 = inttoptr i64 %12 to i32*
store i32 1, i32* %13, align 4
%14 = add i64 %4, 20
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
%16 = add i64 %4, 28
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
%18 = add i64 %4, 24
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %19, align 4
%20 = add i64 %4, 36
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = add i64 %4, 32
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = add i64 %4, 40
%25 = inttoptr i64 %24 to i32*
store i32 0, i32* %25, align 4
%26 = add i64 %4, 44
%27 = inttoptr i64 %26 to i32*
store i32 0, i32* %27, align 4
%28 = add i64 %4, 48
%29 = inttoptr i64 %28 to i32*
store i32 7, i32* %29, align 4
%30 = add i64 %4, 52
%31 = inttoptr i64 %30 to i32*
store i32 10104, i32* %31, align 4
%32 = add i64 %4, 56
%33 = inttoptr i64 %32 to i32*
store i32 11999, i32* %33, align 4
%34 = add i64 %4, 60
%35 = inttoptr i64 %34 to i32*
store i32 0, i32* %35, align 4
%36 = add i64 %4, 64
%37 = inttoptr i64 %36 to i32*
store i32 0, i32* %37, align 4
%38 = add i64 %4, 68
%39 = inttoptr i64 %38 to i32*
store i32 0, i32* %39, align 4
%40 = add i64 %4, 72
%41 = inttoptr i64 %40 to i32*
store i32 0, i32* %41, align 4
%42 = add i64 %4, 76
%43 = inttoptr i64 %42 to i32*
store i32 2, i32* %43, align 4
%44 = add i64 %4, 92
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = or i32 %46, 4
%48 = add i64 %4, 80
%49 = inttoptr i64 %48 to i32*
store i32 %47, i32* %49, align 4
%50 = add i64 %4, 84
%51 = inttoptr i64 %50 to i32*
store i32 0, i32* %51, align 4
%52 = add i64 %4, 88
%53 = inttoptr i64 %52 to i32*
store i32 0, i32* %53, align 4
%54 = load i32, i32* %45, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label LBL_5, label LBL_1
LBL_1:
%56 = add i64 %4, 96
%57 = inttoptr i64 %56 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%58 = load i64, i64* %57, align 8
%59 = mul i64 %.reload, 16
%60 = add i64 %58, %59
%61 = add i64 %60, 8
%62 = inttoptr i64 %61 to i32*
store i32 0, i32* %62, align 4
%63 = inttoptr i64 %60 to i64*
%64 = load i64, i64* %63, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label LBL_4, label LBL_3
LBL_3:
%66 = call i64 @FUNC(i64 %60, i64 %64)
br label LBL_4
LBL_4:
%67 = add i32 %storemerge1.reload, 1
%68 = load i32, i32* %45, align 4
%69 = zext i32 %68 to i64
%70 = sext i32 %67 to i64
%71 = icmp slt i64 %70, %69
store i64 %70, i64* %.reg2mem
store i32 %67, i32* %storemerge1.reg2mem
br i1 %71, label LBL_2, label LBL_5
LBL_5:
%72 = add i64 %4, 104
%73 = inttoptr i64 %72 to i64*
%74 = load i64, i64* %73, align 8
%75 = icmp eq i64 %74, 0
br i1 %75, label LBL_7, label LBL_6
LBL_6:
%76 = add i64 %4, 112
%77 = call i64 @FUNC(i64 %76)
store i64 0, i64* %73, align 8
br label LBL_7
LBL_7:
%78 = add i64 %4, 120
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
%81 = call i64 @FUNC(i64 zext (i32 ptrtoint ([20 x i8]* @gv_0 to i32) to i64), i64 %80, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
ret i64 %81
uselistorder i32* %45, { 1, 0, 2 }
uselistorder i64 %4, { 0, 3, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 0, { 4, 0, 1, 5, 6, 7, 8, 9, 10, 11, 12, 2, 13, 3, 14, 15, 16, 17, 18, 19 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | nfsd4_prepare_cb_recall_18523 | nfsd4_prepare_cb_recall | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = load i32, i32* @gv_0, align 4
%1 = zext i32 %0 to i64
%2 = call i64 @FUNC(i64 %arg1, i64 %1)
%3 = call i64 @FUNC(i64* nonnull @gv_1)
%4 = add i64 %arg1, 16
%5 = call i64 @FUNC(i64 %4)
%6 = add i64 %arg1, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC()
store i64 %11, i64* %7, align 8
%12 = add i64 %arg1, 20
%13 = call i64 @FUNC(i64 %12, i64 %2)
br label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64* nonnull @gv_1)
ret i64 %14
} | 1 |
BinRealVul | openrisc_cpu_initfn_15774 | openrisc_cpu_initfn | 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(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = inttoptr i64 %1 to i64*
store i64 %2, i64* %3, align 8
%4 = call i64 @FUNC(i64 %1, i64 4198736)
%5 = call i64 @FUNC(i64 %2)
%6 = call i64 @FUNC()
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
store i64 %6, i64* %rax.0.reg2mem
br i1 %8, label LBL_3, label LBL_1
LBL_1:
%9 = load i32, i32* @gv_0, align 4
%10 = zext i32 %9 to i64
%11 = icmp eq i32 %9, 0
%12 = icmp eq i1 %11, false
store i64 %10, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
store i32 1, i32* @gv_0, align 4
%13 = call i64 @FUNC()
store i64 %13, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* @gv_0, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
} | 1 |
BinRealVul | mdiobus_free_9159 | mdiobus_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %arg1)
store i64 %5, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%6 = icmp eq i32 %2, 2
%7 = icmp eq i1 %6, false
%8 = zext i1 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = inttoptr i64 %arg1 to i32*
store i32 3, i32* %10, align 4
%11 = add i64 %arg1, 4
%12 = call i64 @FUNC(i64 %11)
store i64 %12, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 4, 3, 2, 5, 6, 1, 0 }
} | 0 |
BinRealVul | nct7802_write_voltage_18272 | nct7802_write_voltage | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = mul i64 %arg3, 4294967296
%sext4 = add i64 %2, -4294967296
%3 = ashr exact i64 %sext4, 31
%4 = add nsw i64 %3, %1
%5 = mul i64 %4, 4
%6 = add i64 %5, ptrtoint (i32** @gv_0 to i64)
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = ashr exact i64 %sext, 30
%10 = add i64 %9, ptrtoint (i32** @gv_1 to i64)
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp slt i32 %12, 0
%14 = zext i1 %13 to i32
%15 = add i32 %12, %14
%16 = ashr i32 %15, 1
%17 = sext i32 %16 to i64
%18 = add i64 %17, %arg4
%19 = sext i32 %12 to i64
%20 = udiv i64 %18, %19
%21 = icmp ult i64 %20, 1023
%22 = select i1 %21, i64 %20, i64 1023
%23 = add i64 %0, 8
%24 = call i64 @FUNC(i64 %23)
%25 = urem i64 %22, 256
%26 = add i64 %5, ptrtoint (i32** @gv_2 to i64)
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %23, i64 %29, i64 %25)
%31 = trunc i64 %30 to i32
%32 = icmp slt i32 %31, 0
store i64 %30, i64* %sv_0.0.reg2mem
br i1 %32, label LBL_2, label LBL_1
LBL_1:
%33 = sub i32 8, %8
%34 = and i64 %22, 768
%35 = urem i32 %33, 64
%36 = zext i32 %35 to i64
%rdx.0 = lshr i64 %34, %36
%37 = and i64 %rdx.0, 4294967295
%38 = urem i32 %33, 32
%39 = lshr i32 768, %38
%storemerge = zext i32 %39 to i64
%40 = add i64 %9, ptrtoint (i32** @gv_3 to i64)
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = call i64 @FUNC(i64 %37, i32 %42, i64 %storemerge, i64 %37)
store i64 %43, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%44 = call i64 @FUNC(i64 %23)
%45 = and i64 %sv_0.0.reload, 4294967295
ret i64 %45
uselistorder i64 %22, { 1, 0 }
uselistorder i32 %12, { 2, 0, 1 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | thr_recvfrom_17995 | thr_recvfrom | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%sv_2 = alloca i64, align 8
%0 = call i32 @socket(i32 2, i32 2, i32 0)
%1 = icmp eq i32 %0, -1
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_2:
store i64 0, i64* %sv_2, align 8
%3 = call i16 @htons(i16 6543)
%4 = bitcast i64* %sv_2 to %sockaddr*
%5 = call i32 @bind(i32 %0, %sockaddr* nonnull %4, i32 16)
%6 = icmp eq i32 %5, -1
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_4, label LBL_3
LBL_3:
call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_4:
store i32 16, i32* %sv_1, align 4
%8 = call i32 @recvfrom(i32 %0, i64* nonnull %sv_0, i32 1, i32 0, %sockaddr* nonnull %4, i32* nonnull %sv_1)
%9 = icmp eq i32 %8, -1
br i1 %9, label LBL_6, label LBL_5
LBL_5:
call void @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_6:
%10 = call i32* @__errno_location()
%11 = load i32, i32* %10, align 4
%12 = sext i32 %11 to i64
ret i64 %12
uselistorder i32 16, { 1, 0 }
uselistorder void (i32)* @exit, { 0, 2, 1 }
uselistorder void (i8*)* @perror, { 0, 2, 1 }
uselistorder i32 1, { 0, 1, 2, 3, 6, 5, 4 }
} | 1 |
BinRealVul | pt_unlock_7173 | pt_unlock | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %1, 4294967295
%3 = call i64 @FUNC(i64 %2)
ret i64 %3
} | 0 |
BinRealVul | mov_write_uuidprof_tag_3092 | mov_write_uuidprof_tag | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i64 %2, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %9, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = sdiv i32 %17, 1000
%19 = add i64 %6, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = call i64 @FUNC(i64 %3, i64 148)
%23 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%24 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))
%25 = call i64 @FUNC(i64 %3, i64 567431118)
%26 = call i64 @FUNC(i64 %3, i64 3146279260)
%27 = call i64 @FUNC(i64 %3, i64 4207527744)
%28 = call i64 @FUNC(i64 %3, i64 0)
%29 = call i64 @FUNC(i64 %3, i64 3)
%30 = call i64 @FUNC(i64 %3, i64 20)
%31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))
%32 = call i64 @FUNC(i64 %3, i64 0)
%33 = call i64 @FUNC(i64 %3, i64 0)
%34 = call i64 @FUNC(i64 %3, i64 0)
%35 = call i64 @FUNC(i64 %3, i64 44)
%36 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))
%37 = call i64 @FUNC(i64 %3, i64 0)
%38 = call i64 @FUNC(i64 %3, i64 2)
%39 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%40 = call i64 @FUNC(i64 %3, i64 527)
%41 = call i64 @FUNC(i64 %3, i64 0)
%42 = zext i32 %18 to i64
%43 = call i64 @FUNC(i64 %3, i64 %42)
%44 = call i64 @FUNC(i64 %3, i64 %42)
%45 = zext i32 %11 to i64
%46 = call i64 @FUNC(i64 %3, i64 %45)
%47 = add i64 %9, 8
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = zext i32 %49 to i64
%51 = call i64 @FUNC(i64 %3, i64 %50)
%52 = call i64 @FUNC(i64 %3, i64 52)
%53 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0))
%54 = call i64 @FUNC(i64 %3, i64 0)
%55 = call i64 @FUNC(i64 %3, i64 1)
%56 = add i64 %6, 12
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = icmp eq i32 %58, 27
%60 = icmp eq i1 %59, false
br i1 %60, label LBL_2, label LBL_1
LBL_1:
%61 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0))
%62 = call i64 @FUNC(i64 %3, i64 333)
%63 = call i64 @FUNC(i64 %3, i64 21)
br label LBL_3
LBL_2:
%64 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0))
%65 = call i64 @FUNC(i64 %3, i64 0)
%66 = call i64 @FUNC(i64 %3, i64 259)
br label LBL_3
LBL_3:
%sext = mul i64 %1, 4294967296
%67 = ashr exact i64 %sext, 16
%68 = sext i32 %14 to i64
%69 = udiv i64 %67, %68
%70 = sub nsw i32 800, %18
%71 = sdiv i32 %21, 1000
%72 = sub nsw i32 %70, %71
%73 = xor i32 %70, %71
%74 = xor i32 %72, %70
%75 = and i32 %74, %73
%76 = icmp slt i32 %75, 0
%77 = icmp eq i32 %72, 0
%78 = icmp slt i32 %72, 0
%79 = icmp eq i1 %78, %76
%80 = icmp eq i1 %77, false
%81 = icmp eq i1 %79, %80
%82 = select i1 %81, i32 %71, i32 %70
%83 = call i64 @FUNC(i64 %3, i64 0)
%84 = zext i32 %82 to i64
%85 = call i64 @FUNC(i64 %3, i64 %84)
%86 = call i64 @FUNC(i64 %3, i64 %84)
%87 = and i64 %69, 4294967295
%88 = call i64 @FUNC(i64 %3, i64 %87)
%89 = call i64 @FUNC(i64 %3, i64 %87)
%90 = add i64 %6, 16
%91 = inttoptr i64 %90 to i32*
%92 = load i32, i32* %91, align 4
%93 = urem i32 %92, 65536
%94 = zext i32 %93 to i64
%95 = call i64 @FUNC(i64 %3, i64 %94)
%96 = add i64 %6, 20
%97 = inttoptr i64 %96 to i32*
%98 = load i32, i32* %97, align 4
%99 = urem i32 %98, 65536
%100 = zext i32 %99 to i64
%101 = call i64 @FUNC(i64 %3, i64 %100)
%102 = call i64 @FUNC(i64 %3, i64 65537)
ret i64 %102
uselistorder i64 %87, { 1, 0 }
uselistorder i32 %72, { 1, 2, 0 }
uselistorder i32 %71, { 2, 1, 0 }
uselistorder i32 %70, { 1, 0, 2, 3 }
uselistorder i64 %6, { 1, 2, 3, 4, 0 }
uselistorder i64 %3, { 1, 0, 2, 4, 3, 7, 6, 5, 10, 9, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 (i64, i64)* @avio_wb16, { 5, 4, 3, 2, 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 20, { 1, 0 }
uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @avio_wb32, { 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
} | 0 |
BinRealVul | r_cons_hud_line_string_12461 | r_cons_hud_line_string | define i64 @FUNC(i8* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i8*
%sv_0.13.reg2mem = alloca i8*
%storemerge4.reg2mem = alloca i32
%.reg2mem7 = alloca i64
%.reg2mem5 = alloca i8*
%.reg2mem = alloca i8
%0 = call i64 @FUNC()
%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(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_2:
%5 = call i8* @strdup(i8* %arg1)
%6 = icmp eq i8* %5, null
%7 = icmp eq i1 %6, false
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_14
LBL_3:
%8 = ptrtoint i8* %5 to i64
%9 = call i64 @FUNC(i64 %8, i64 13, i64 0, i64 1)
%10 = call i64 @FUNC(i64 %8, i64 9, i64 0, i64 1)
%11 = call i64 @FUNC()
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = bitcast i8* %5 to i64*
call void @free(i64* %14)
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_5:
%15 = inttoptr i64 %11 to i64*
store i64 4198448, i64* %15, align 8
%16 = load i8, i8* %5, align 1
%17 = icmp eq i8 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_13
LBL_6:
%19 = add i64 %8, 1
store i8 %16, i8* %.reg2mem
store i8* %5, i8** %.reg2mem5
store i64 0, i64* %.reg2mem7
store i32 0, i32* %storemerge4.reg2mem
store i8* %5, i8** %sv_0.13.reg2mem
br label LBL_7
LBL_7:
%sv_0.13.reload = load i8*, i8** %sv_0.13.reg2mem
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%.reload = load i8, i8* %.reg2mem
%20 = icmp eq i8 %.reload, 10
%21 = icmp eq i1 %20, false
store i8* %sv_0.13.reload, i8** %sv_0.0.reg2mem
br i1 %21, label LBL_12, label LBL_8
LBL_8:
%.reload8 = load i64, i64* %.reg2mem7
%.reload6 = load i8*, i8** %.reg2mem5
store i8 0, i8* %.reload6, align 1
%22 = load i8, i8* %sv_0.13.reload, align 1
switch i8 %22, label LBL_9 [
i8 0, label LBL_11
i8 35, label LBL_11
]
LBL_9:
%23 = call i8* @strdup(i8* nonnull %sv_0.13.reload)
%24 = ptrtoint i8* %23 to i64
%25 = call i64 @FUNC(i64 %11, i64 %24)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_11, label LBL_10
LBL_10:
%29 = bitcast i8* %23 to i64*
call void @free(i64* %29)
br label LBL_13
LBL_11:
%30 = add i64 %19, %.reload8
%31 = inttoptr i64 %30 to i8*
store i8* %31, i8** %sv_0.0.reg2mem
br label LBL_12
LBL_12:
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
%32 = add i32 %storemerge4.reload, 1
%33 = sext i32 %32 to i64
%34 = add i64 %33, %8
%35 = inttoptr i64 %34 to i8*
%36 = load i8, i8* %35, align 1
%37 = icmp eq i8 %36, 0
%38 = icmp eq i1 %37, false
store i8 %36, i8* %.reg2mem
store i8* %35, i8** %.reg2mem5
store i64 %33, i64* %.reg2mem7
store i32 %32, i32* %storemerge4.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.13.reg2mem
br i1 %38, label LBL_7, label LBL_13
LBL_13:
%39 = call i64 @FUNC(i64 %11, i64 0)
%40 = bitcast i8* %5 to i64*
call void @free(i64* %40)
%41 = call i64 @FUNC(i64 %11)
store i64 %39, i64* %rax.0.reg2mem
br label LBL_14
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8* %sv_0.13.reload, { 2, 1, 0 }
uselistorder i64 %11, { 1, 0, 2, 3, 4 }
uselistorder i64 %8, { 0, 1, 3, 2 }
uselistorder i8* %5, { 3, 0, 1, 2, 4, 6, 5 }
uselistorder i8* %.reg2mem, { 2, 0, 1 }
uselistorder i8** %.reg2mem5, { 2, 0, 1 }
uselistorder i64* %.reg2mem7, { 2, 0, 1 }
uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.13.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i8 0, { 5, 2, 4, 0, 6, 1, 3 }
uselistorder void (i64*)* @free, { 3, 4, 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64)* @r_str_replace_ch, { 1, 0 }
uselistorder i64 1, { 2, 3, 4, 1, 0 }
uselistorder i8* (i8*)* @strdup, { 1, 0 }
uselistorder i1 false, { 4, 2, 3, 0, 5, 6, 7, 8, 10, 9, 1 }
uselistorder i32 0, { 4, 0, 5, 1, 3, 6, 2, 7 }
uselistorder i32 1, { 15, 6, 5, 4, 3, 2, 1, 0, 16, 8, 7, 14, 9, 17, 13, 12, 11, 10 }
uselistorder label LBL_14, { 1, 2, 0, 3 }
uselistorder label LBL_13, { 0, 2, 1 }
uselistorder label LBL_11, { 2, 0, 1 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
BinRealVul | protocol_client_auth_vnc_14565 | protocol_client_auth_vnc | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i8
%storemerge2.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%6 = call i32 @time(i32* null)
store i64 0, i64* %sv_3, align 8
%7 = add i64 %5, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_2, label LBL_1
LBL_1:
%14 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg3, i64 %3, i64 %2, i64 %1)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_2:
%15 = sext i32 %6 to i64
%16 = add i64 %9, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp slt i64 %18, %15
br i1 %19, label LBL_3, label LBL_4
LBL_3:
%20 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %arg3, i64 %3, i64 %2, i64 %1)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_4:
store i64 0, i64* %sv_2, align 8
%21 = load i64, i64* %8, align 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i8*
%25 = call i32 @strlen(i8* %24)
%26 = sext i32 %25 to i64
%27 = ptrtoint i64* %sv_1 to i64
store i64 0, i64* %storemerge2.reg2mem
br label LBL_5
LBL_5:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%28 = icmp ult i64 %storemerge2.reload, %26
%29 = icmp eq i1 %28, false
store i8 0, i8* %storemerge1.reg2mem
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = load i64, i64* %8, align 8
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = add i64 %32, %storemerge2.reload
%34 = inttoptr i64 %33 to i8*
%35 = load i8, i8* %34, align 1
store i8 %35, i8* %storemerge1.reg2mem
br label LBL_7
LBL_7:
%storemerge1.reload = load i8, i8* %storemerge1.reg2mem
%36 = add nuw nsw i64 %storemerge2.reload, %27
%37 = inttoptr i64 %36 to i8*
store i8 %storemerge1.reload, i8* %37, align 1
%38 = add nuw nsw i64 %storemerge2.reload, 1
%exitcond = icmp eq i64 %38, 8
store i64 %38, i64* %storemerge2.reg2mem
br i1 %exitcond, label LBL_8, label LBL_5
LBL_8:
%39 = ptrtoint i64* %sv_3 to i64
%40 = call i64 @FUNC(i64 1, i64 1, i64* nonnull %sv_1, i64 8, i64* nonnull %sv_3)
%41 = icmp eq i64 %40, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_10, label LBL_9
LBL_9:
%43 = load i64, i64* %sv_3, align 8
%44 = call i64 @FUNC(i64 %43)
%45 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %44, i64 %27, i64 8, i64 %39, i64 %1)
%46 = load i64, i64* %sv_3, align 8
%47 = call i64 @FUNC(i64 %46)
store i64 %40, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_10:
%48 = call i64 @FUNC(i64 %40, i64 %5, i64* nonnull %sv_2, i64 16, i64* nonnull %sv_3)
%49 = trunc i64 %48 to i32
%50 = icmp slt i32 %49, 0
%51 = icmp eq i1 %50, false
br i1 %51, label LBL_12, label LBL_11
LBL_11:
%52 = ptrtoint i64* %sv_2 to i64
%53 = load i64, i64* %sv_3, align 8
%54 = call i64 @FUNC(i64 %53)
%55 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64 %52, i64 16, i64 %39, i64 %1)
%56 = load i64, i64* %sv_3, align 8
%57 = call i64 @FUNC(i64 %56)
store i64 %40, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_12:
%58 = call i32 @memcmp(i64* nonnull %sv_2, i64* %arg2, i32 16)
%59 = icmp eq i32 %58, 0
br i1 %59, label LBL_14, label LBL_13
LBL_13:
%60 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 16, i64 %4, i64 %39, i64 %1)
store i64 %40, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_14:
%61 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i64 %4, i64 16, i64 %4, i64 %39, i64 %1)
%62 = call i64 @FUNC(i64 %5, i64 0)
%63 = call i64 @FUNC(i64 %5)
%64 = call i64 @FUNC(i64 %5)
%65 = call i64 @FUNC(i64 %40)
br label LBL_18
LBL_15:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%66 = call i64 @FUNC(i64 %5, i64 1)
%67 = add i64 %5, 24
%68 = inttoptr i64 %67 to i32*
%69 = load i32, i32* %68, align 4
%70 = icmp slt i32 %69, 8
br i1 %70, label LBL_17, label LBL_16
LBL_16:
%71 = call i64 @FUNC(i64 %5, i64 22)
%72 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_6, i64 0, i64 0), i64 22)
br label LBL_17
LBL_17:
%73 = call i64 @FUNC(i64 %5)
%74 = call i64 @FUNC(i64 %5)
%75 = call i64 @FUNC(i64 %sv_0.0.reload)
br label LBL_18
LBL_18:
ret i64 0
uselistorder i64 %40, { 3, 2, 1, 4, 0, 5 }
uselistorder i64 %39, { 2, 3, 1, 0 }
uselistorder i64 %storemerge2.reload, { 0, 3, 2, 1 }
uselistorder i64 %27, { 1, 0 }
uselistorder i64* %sv_3, { 2, 3, 0, 4, 5, 1, 6, 7 }
uselistorder i64* %sv_2, { 0, 2, 1, 3 }
uselistorder i64 %5, { 7, 6, 5, 4, 9, 8, 2, 1, 0, 3, 10 }
uselistorder i64 %4, { 1, 3, 2, 4, 5, 0 }
uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i8* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 5, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64)* @qcrypto_cipher_free, { 1, 0 }
uselistorder i64 (i64)* @vnc_flush, { 1, 0 }
uselistorder i64 (i64, i64)* @vnc_write_u32, { 2, 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 (i64)* @error_free, { 1, 0 }
uselistorder i64 (i64)* @error_get_pretty, { 1, 0 }
uselistorder i64 1, { 0, 2, 1, 3 }
uselistorder i64 8, { 1, 2, 0, 3 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @VNC_DEBUG, { 5, 4, 3, 2, 1, 0 }
uselistorder i1 false, { 0, 2, 1, 3 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
BinRealVul | trace_print_graph_duration_18385 | trace_print_graph_duration | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%5 = call i64 @FUNC(i64 %arg1, i64 1000)
%6 = bitcast i64* %sv_2 to i8*
%7 = trunc i64 %arg1 to i32
%8 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %7)
%9 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 %3, i64 %2, i64 %1)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 1, i64* %rax.0.reg2mem
br i1 %12, label LBL_1, label LBL_8
LBL_1:
%13 = ptrtoint i64* %sv_2 to i64
%14 = call i32 @strlen(i8* nonnull %6)
%15 = icmp sgt i32 %14, 6
store i32 %14, i32* %sv_0.0.reg2mem
store i64 %13, i64* %rdx.0.reg2mem
br i1 %15, label LBL_4, label LBL_2
LBL_2:
%16 = trunc i64 %5 to i32
%17 = sub i32 8, %14
%sext = mul i64 %5, 4294967296
%18 = ashr exact i64 %sext, 32
%19 = bitcast i64* %sv_1 to i8*
%20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %19, i32 %17, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %16)
%21 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %18, i64 %2, i64 %1)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 1, i64* %rax.0.reg2mem
br i1 %24, label LBL_3, label LBL_8
LBL_3:
%25 = call i32 @strlen(i8* nonnull %19)
%26 = zext i32 %25 to i64
%27 = add i32 %25, %14
store i32 %27, i32* %sv_0.0.reg2mem
store i64 %18, i64* %rcx.0.reg2mem
store i64 %26, i64* %rdx.0.reg2mem
br label LBL_4
LBL_4:
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%28 = inttoptr i64 %rdx.0.reload to i64*
%29 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64* %28, i64 %rcx.0.reload, i64 %2, i64 %1)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
store i64 1, i64* %rax.0.reg2mem
br i1 %32, label LBL_5, label LBL_8
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%33 = icmp slt i32 %sv_0.0.reload, 7
store i32 %sv_0.0.reload, i32* %storemerge2.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %33, label LBL_6, label LBL_8
LBL_6:
%34 = call i64 @FUNC(i64 %4, i8* inttoptr (i64 4202534 to i8*), i64* %28, i64 %rcx.0.reload, i64 %2, i64 %1)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
store i64 1, i64* %rax.0.reg2mem
br i1 %37, label LBL_7, label LBL_8
LBL_7:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%38 = add nsw i32 %storemerge2.reload, 1
%39 = icmp slt i32 %38, 7
store i32 %38, i32* %storemerge2.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %39, label LBL_6, label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %rcx.0.reload, { 1, 0 }
uselistorder i32 %14, { 1, 2, 0, 3 }
uselistorder i64* %sv_2, { 2, 0, 1 }
uselistorder i64 %4, { 1, 2, 0, 3 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 7, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @trace_seq_printf, { 3, 2, 1, 0 }
uselistorder label LBL_8, { 1, 0, 2, 3, 4, 5 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | udp_disconnect_9226 | udp_disconnect | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = bitcast i64* %arg1 to i32*
store i32 0, i32* %2, align 4
%3 = inttoptr i64 %1 to i32*
store i32 0, i32* %3, align 4
%4 = add i64 %1, 4
%5 = inttoptr i64 %4 to i32*
store i32 0, i32* %5, align 4
%6 = call i64 @FUNC(i64 %0)
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%9 = add i64 %0, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = urem i32 %11, 2
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i32 %11, i32* %.reg2mem
br i1 %14, label LBL_2, label LBL_1
LBL_1:
%15 = call i64 @FUNC(i64 %0)
%.pre = load i32, i32* %10, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_2
LBL_2:
%.reload = load i32, i32* %.reg2mem
%16 = and i32 %.reload, 2
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = add i64 %1, 8
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
br label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %0)
ret i64 0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 1, 0 }
} | 0 |
BinRealVul | vmxnet3_reset_1859 | vmxnet3_reset | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = bitcast i64* %arg1 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 4
%6 = inttoptr i64 %5 to i8*
store i8 1, i8* %6, align 1
%7 = add i64 %0, 5
%8 = inttoptr i64 %7 to i8*
store i8 0, i8* %8, align 1
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4 }
} | 0 |
BinRealVul | usb_generic_async_ctrl_complete_241 | usb_generic_async_ctrl_complete | define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %2 to i32
%4 = icmp slt i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
store i32 0, i32* %arg1, align 4
br label LBL_2
LBL_2:
%6 = trunc i64 %1 to i32
switch i32 %6, label LBL_7 [
i32 1, label LBL_3
i32 3, label LBL_6
]
LBL_3:
%7 = ptrtoint i32* %arg1 to i64
%8 = add i64 %7, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp ugt i32 %10, %3
br i1 %11, label LBL_4, label LBL_5
LBL_4:
store i32 %3, i32* %9, align 4
br label LBL_5
LBL_5:
store i32 2, i32* %arg1, align 4
store i32 8, i32* %arg2, align 4
br label LBL_7
LBL_6:
store i32 0, i32* %arg1, align 4
store i32 0, i32* %arg2, align 4
br label LBL_7
LBL_7:
%12 = ptrtoint i32* %arg2 to i64
%13 = ptrtoint i32* %arg1 to i64
%14 = call i64 @FUNC(i64 %13, i64 %12)
ret i64 %14
uselistorder i32 %3, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32* %arg2, { 1, 0, 2 }
uselistorder i32* %arg1, { 2, 1, 3, 4, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | dccp_seqno_8064 | dccp_seqno | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = urem i64 %1, 2
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = ptrtoint i32* %arg1 to i64
%5 = mul i64 %1, 1099511627776
%6 = urem i64 %5, 280375465082881
%7 = add i64 %4, 1
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = zext i8 %9 to i64
%11 = mul i64 %10, 4294967296
%12 = or i64 %11, %6
%13 = add i64 %4, 2
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = zext i8 %15 to i64
%17 = mul i64 %16, 16777216
%18 = or i64 %12, %17
%19 = add i64 %4, 3
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i64
%23 = mul i64 %22, 65536
%24 = or i64 %18, %23
%25 = add i64 %4, 4
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = zext i8 %27 to i64
%29 = mul i64 %28, 256
%30 = or i64 %24, %29
%31 = add i64 %4, 5
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32, align 1
%34 = zext i8 %33 to i64
%35 = or i64 %30, %34
store i64 %35, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%36 = mul i64 %1, 65536
%37 = and i64 %36, 16711680
%38 = ptrtoint i32* %arg1 to i64
%39 = add i64 %38, 1
%40 = inttoptr i64 %39 to i8*
%41 = load i8, i8* %40, align 1
%42 = zext i8 %41 to i64
%43 = mul i64 %42, 256
%44 = or i64 %43, %37
%45 = add i64 %38, 2
%46 = inttoptr i64 %45 to i8*
%47 = load i8, i8* %46, align 1
%48 = zext i8 %47 to i64
%49 = or i64 %44, %48
store i64 %49, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %4, { 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 2, { 1, 2, 0 }
uselistorder i32* %arg1, { 1, 0 }
} | 0 |
BinRealVul | dct_unquantize_mpeg2_c_17397 | dct_unquantize_mpeg2_c | define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i32
%sv_0.111.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%indvars.iv15.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = ptrtoint i32* %arg1 to i64
store i32 64, i32* %storemerge4.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%6 = sext i32 %arg3 to i64
%7 = mul i64 %6, 4
%8 = add i64 %5, 32
%9 = add i64 %8, %7
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i32 %11, 1
store i32 %12, i32* %storemerge4.reg2mem
br label LBL_2
LBL_2:
%13 = ptrtoint i64* %arg2 to i64
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%14 = add i64 %5, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_16, label LBL_3
LBL_3:
%18 = trunc i64 %2 to i32
%19 = icmp sgt i32 %arg3, 3
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = add i64 %5, 8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = mul i32 %22, %18
%24 = bitcast i64* %arg2 to i32*
store i32 %23, i32* %24, align 4
br label LBL_6
LBL_5:
%25 = add i64 %5, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = mul i32 %27, %18
%29 = bitcast i64* %arg2 to i32*
store i32 %28, i32* %29, align 4
br label LBL_6
LBL_6:
%30 = add i64 %5, 16
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = icmp sgt i32 %storemerge4.reload, 1
store i64 1, i64* %rax.0.reg2mem
br i1 %33, label LBL_7, label LBL_27
LBL_7:
%wide.trip.count17 = zext i32 %storemerge4.reload to i64
store i64 1, i64* %indvars.iv15.reg2mem
br label LBL_8
LBL_8:
%indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem
%34 = mul i64 %indvars.iv15.reload, 4
%35 = add i64 %34, ptrtoint (i32** @gv_0 to i64)
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 4
%40 = add i64 %39, %13
%41 = inttoptr i64 %40 to i32*
%42 = load i32, i32* %41, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label LBL_15, label LBL_9
LBL_9:
%44 = icmp slt i32 %42, 0
%45 = icmp eq i1 %44, false
%46 = mul i32 %42, %arg4
%47 = mul i64 %38, 2
%48 = add i64 %47, %32
%49 = inttoptr i64 %48 to i16*
%50 = load i16, i16* %49, align 2
%51 = zext i16 %50 to i32
%52 = mul i32 %46, %51
br i1 %45, label LBL_11, label LBL_10
LBL_10:
%53 = sub i32 0, %52
%54 = ashr i32 %53, 3
%55 = sub nsw i32 0, %54
store i32 %55, i32* %storemerge2.reg2mem
br label LBL_12
LBL_11:
%56 = ashr i32 %52, 3
store i32 %56, i32* %storemerge2.reg2mem
br label LBL_12
LBL_12:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%storemerge2.off = add nsw i32 %storemerge2.reload, 2048
%57 = icmp ult i32 %storemerge2.off, 4096
br i1 %57, label LBL_14, label LBL_13
LBL_13:
%58 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%59 = zext i32 %storemerge2.reload to i64
%60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %58, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv15.reload, i64 %59)
br label LBL_14
LBL_14:
store i32 %storemerge2.reload, i32* %41, align 4
br label LBL_15
LBL_15:
%indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1
%exitcond18 = icmp eq i64 %indvars.iv.next16, %wide.trip.count17
store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem
store i64 %wide.trip.count17, i64* %rax.0.reg2mem
br i1 %exitcond18, label LBL_27, label LBL_8
LBL_16:
%61 = icmp sgt i32 %storemerge4.reload, 0
store i32 -1, i32* %sv_0.1.lcssa.reg2mem
br i1 %61, label LBL_17, label LBL_26
LBL_17:
%62 = add i64 %5, 24
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%wide.trip.count = zext i32 %storemerge4.reload to i64
store i64 0, i64* %indvars.iv.reg2mem
store i32 -1, i32* %sv_0.111.reg2mem
br label LBL_18
LBL_18:
%sv_0.111.reload = load i32, i32* %sv_0.111.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%65 = mul i64 %indvars.iv.reload, 4
%66 = add i64 %65, ptrtoint (i32** @gv_0 to i64)
%67 = inttoptr i64 %66 to i32*
%68 = load i32, i32* %67, align 4
%69 = sext i32 %68 to i64
%70 = mul i64 %69, 4
%71 = add i64 %70, %13
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = icmp eq i32 %73, 0
store i32 %sv_0.111.reload, i32* %sv_0.0.reg2mem
br i1 %74, label LBL_25, label LBL_19
LBL_19:
%75 = icmp slt i32 %73, 0
%76 = icmp eq i1 %75, false
%77 = mul i32 %73, 2
br i1 %76, label LBL_21, label LBL_20
LBL_20:
%78 = sub i32 1, %77
%79 = mul i32 %78, %arg4
%80 = mul i64 %69, 2
%81 = add i64 %80, %64
%82 = inttoptr i64 %81 to i16*
%83 = load i16, i16* %82, align 2
%84 = zext i16 %83 to i32
%85 = mul i32 %79, %84
%86 = ashr i32 %85, 4
%87 = sub nsw i32 0, %86
store i32 %87, i32* %storemerge3.reg2mem
br label LBL_22
LBL_21:
%88 = or i32 %77, 1
%89 = mul i32 %88, %arg4
%90 = mul i64 %69, 2
%91 = add i64 %90, %64
%92 = inttoptr i64 %91 to i16*
%93 = load i16, i16* %92, align 2
%94 = zext i16 %93 to i32
%95 = mul i32 %89, %94
%96 = ashr i32 %95, 4
store i32 %96, i32* %storemerge3.reg2mem
br label LBL_22
LBL_22:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%storemerge3.off = add nsw i32 %storemerge3.reload, 2048
%97 = icmp ult i32 %storemerge3.off, 4096
br i1 %97, label LBL_24, label LBL_23
LBL_23:
%98 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%99 = zext i32 %storemerge3.reload to i64
%100 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %98, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv.reload, i64 %99)
br label LBL_24
LBL_24:
store i32 %storemerge3.reload, i32* %72, align 4
%101 = add i32 %storemerge3.reload, %sv_0.111.reload
store i32 %101, i32* %sv_0.0.reg2mem
br label LBL_25
LBL_25:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.111.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %exitcond, label LBL_26, label LBL_18
LBL_26:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%102 = add i64 %13, 252
%103 = inttoptr i64 %102 to i32*
%104 = load i32, i32* %103, align 4
%105 = urem i32 %sv_0.1.lcssa.reload, 2
%106 = xor i32 %104, %105
store i32 %106, i32* %103, align 4
store i64 %102, i64* %rax.0.reg2mem
br label LBL_27
LBL_27:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %storemerge3.reload, { 3, 1, 0, 2 }
uselistorder i32 %sv_0.111.reload, { 1, 0 }
uselistorder i32 %storemerge2.reload, { 1, 0, 2 }
uselistorder i32 %52, { 1, 0 }
uselistorder i32 %storemerge4.reload, { 2, 1, 3, 0 }
uselistorder i64 %13, { 2, 0, 1 }
uselistorder i64 %5, { 1, 0, 2, 3, 4, 5 }
uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv15.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.111.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder %_IO_FILE** @gv_1, { 1, 0 }
uselistorder i32 3, { 1, 2, 0 }
uselistorder label LBL_27, { 2, 0, 1 }
uselistorder label LBL_24, { 1, 0 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ehci_class_init_17186 | ehci_class_init | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%4 = trunc i64 %1 to i32
%5 = add i64 %3, 8
%6 = inttoptr i64 %5 to i32*
store i32 %4, i32* %6, align 4
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %3, 12
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %3, 16
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%17 = add i64 %3, 20
%18 = inttoptr i64 %17 to i32*
store i32 3075, i32* %18, align 4
%19 = add i64 %3, 24
%20 = inttoptr i64 %19 to i64*
store i64 4198669, i64* %20, align 8
store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8
%21 = load i64, i64* @gv_1, align 8
%22 = inttoptr i64 %5 to i64*
store i64 %21, i64* %22, align 8
ret i64 %3
} | 1 |
BinRealVul | qed_dcbx_get_config_params_4690 | qed_dcbx_get_config_params | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = add i64 %1, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
store i64 %1, i64* %arg2, align 8
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%9 = call i64 @FUNC(i64 3, i64 0)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%13 = inttoptr i64 %9 to i64*
%14 = call i64* @memset(i64* %13, i32 0, i32 3)
%15 = call i64 @FUNC(i64 %1, i64 %9, i64 0)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64 %9)
%19 = and i64 %15, 4294967295
store i64 %19, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%20 = add i64 %1, 4
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = add i64 %1, 8
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = add i64 %9, 2
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = icmp ne i8 %26, 0
%spec.store.select = zext i1 %27 to i32
store i32 %spec.store.select, i32* %23, align 4
%28 = add i64 %9, 1
%29 = inttoptr i64 %28 to i8*
%30 = load i8, i8* %29, align 1
%31 = icmp eq i8 %30, 0
br i1 %31, label LBL_8, label LBL_7
LBL_7:
%32 = or i32 %spec.store.select, 2
store i32 %32, i32* %23, align 4
br label LBL_8
LBL_8:
%33 = inttoptr i64 %9 to i8*
%34 = load i8, i8* %33, align 1
%35 = add i64 %1, 12
%36 = inttoptr i64 %35 to i8*
store i8 %34, i8* %36, align 1
%37 = bitcast i64* %arg1 to i8*
store i8 1, i8* %37, align 1
%38 = inttoptr i64 %22 to i64*
%39 = load i64, i64* %38, align 8
store i64 %1, i64* %arg2, align 8
%40 = add i64 %0, 8
%41 = inttoptr i64 %40 to i64*
store i64 %39, i64* %41, align 8
%42 = call i64 @FUNC(i64 %9)
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %23, { 1, 0, 2 }
uselistorder i64 %9, { 1, 2, 3, 4, 0, 6, 5, 7 }
uselistorder i64 %1, { 0, 1, 2, 3, 8, 7, 5, 4, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder i8 0, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | cdf_read_short_sector_13513 | cdf_read_short_sector | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg5 to i64
%1 = and i64 %arg6, 4294967295
%2 = call i64 @FUNC(i64 %0, i64 %1)
%3 = icmp eq i64 %arg4, 512
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 ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%4 = add i64 %2, %arg4
%5 = mul i64 %rdi.0.reload, 4096
%6 = icmp ugt i64 %4, %5
br i1 %6, label LBL_3, label LBL_4
LBL_3:
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %4, i64 %5)
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = add i64 %11, %2
%13 = add i64 %arg3, %arg2
%14 = inttoptr i64 %13 to i64*
%15 = inttoptr i64 %12 to i64*
%16 = trunc i64 %arg4 to i32
%17 = call i64* @memcpy(i64* %14, i64* %15, i32 %16)
store i64 %arg4, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %5, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder [10 x i8]* @gv_0, { 1, 0 }
uselistorder i64 %arg4, { 0, 2, 1, 3 }
} | 0 |
BinRealVul | show_smap_10412 | show_smap | 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 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 %3, i64* %sv_0, align 8
%5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0)
%6 = load i64, i64* %sv_0, align 8
%7 = call i64 @FUNC(i64 %4, i64 %6)
%8 = load i64, i64* %sv_0, align 8
%9 = add i64 %8, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = sub i64 %11, %6
%13 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %12)
%14 = load i64, i64* %sv_0, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %15)
%17 = load i64, i64* %sv_0, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %18)
%20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))
%21 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0)
%22 = load i64, i64* %sv_0, align 8
%23 = call i64 @FUNC(i64 %22)
%24 = and i64 %23, 4294967295
%25 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 %24, i64 %6, i64 %2, i64 %1)
%26 = call i64 @FUNC()
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label LBL_2, label LBL_1
LBL_1:
%29 = load i64, i64* %sv_0, align 8
%30 = call i64 @FUNC(i64 %29)
%31 = and i64 %30, 4294967295
%32 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %31, i64 %6, i64 %2, i64 %1)
br label LBL_2
LBL_2:
%33 = load i64, i64* %sv_0, align 8
%34 = call i64 @FUNC(i64 %4, i64 %33)
%35 = load i64, i64* %sv_0, align 8
%36 = call i64 @FUNC(i64 %4, i64 %35)
ret i64 0
uselistorder i64 %6, { 0, 2, 1, 3 }
uselistorder i64* %sv_0, { 2, 3, 4, 5, 0, 6, 7, 8, 9, 1, 10 }
uselistorder i64 %4, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @seq_printf, { 1, 0 }
uselistorder i64 (i8*, i64)* @SEQ_PUT_DEC, { 2, 1, 0 }
} | 0 |
BinRealVul | close_all_connections_19045 | close_all_connections | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.lcssa.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = add i64 %0, 8
%2 = call i64 @FUNC(i64 %1)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 %2, i64* %storemerge12.reg2mem
store i64 %2, i64* %storemerge1.lcssa.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%storemerge12.reload = load i64, i64* %storemerge12.reg2mem
%5 = inttoptr i64 %storemerge12.reload to i64*
store i64 %1, i64* %5, align 8
%6 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)
%7 = call i64 @FUNC(i64 %storemerge12.reload, i64 0)
%8 = call i64 @FUNC(i64* nonnull %sv_0)
%9 = call i64 @FUNC(i64 %1)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 %9, i64* %storemerge12.reg2mem
store i64 %9, i64* %storemerge1.lcssa.reg2mem
br i1 %11, label LBL_1, label LBL_2
LBL_2:
%storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem
ret i64 %storemerge1.lcssa.reload
uselistorder i64 %1, { 2, 1, 0, 3 }
uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 (i64)* @Curl_conncache_find_first_connection, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | rmd160_final_8912 | rmd160_final | 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
%sv_0 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %1)
%3 = add i64 %2, 20
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = mul i32 %5, 8
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i64 %7)
store i64 %8, i64* %sv_0, align 8
%9 = load i32, i32* %4, align 4
%10 = urem i32 %9, 64
%11 = icmp ult i32 %10, 56
%storemerge1.in.v = select i1 %11, i32 56, i32 120
%storemerge1.in = sub nsw i32 %storemerge1.in.v, %10
%12 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @padding_used_in_hashing_algorithms__0x80_0_____0__at_402020, i64 0, i64 0), i32 %storemerge1.in)
%13 = bitcast i64* %sv_0 to i8*
%14 = call i64 @FUNC(i64 %1, i8* nonnull %13, i32 8)
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%15 = mul i64 %indvars.iv.reload, 4
%16 = add i64 %15, %2
%17 = add i64 %15, %0
%18 = call i64 @FUNC(i64 %16)
%19 = trunc i64 %18 to i32
%20 = inttoptr i64 %17 to i32*
store i32 %19, i32* %20, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 5
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%21 = inttoptr i64 %2 to i64*
%22 = call i64* @memset(i64* %21, i32 0, i32 24)
ret i64 0
uselistorder i64 %15, { 1, 0 }
uselistorder i32 %10, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64, i8*, i32)* @rmd160_update, { 1, 0 }
uselistorder i32 8, { 1, 0 }
} | 0 |
BinRealVul | regulator_can_change_voltage_9180 | regulator_can_change_voltage | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = urem i64 %0, 2
%2 = icmp eq i64 %1, 0
br i1 %2, label LBL_5, label LBL_1
LBL_1:
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %5, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = sub i32 %7, %10
%12 = icmp slt i32 %11, 2
store i64 1, i64* %rax.0.reg2mem
br i1 %12, label LBL_2, label LBL_6
LBL_2:
%13 = add i64 %5, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_5, label LBL_3
LBL_3:
%17 = add i64 %0, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = inttoptr i64 %3 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %22, 0
%24 = icmp eq i32 %19, %22
%or.cond = or i1 %23, %24
store i64 1, i64* %rax.0.reg2mem
br i1 %or.cond, 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 i64 %0, { 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_6, { 2, 0, 1 }
} | 0 |
BinRealVul | be_get_config_3955 | be_get_config | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i64, align 8
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %2, i64 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %4, 4294967295
store i64 %7, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%8 = add i64 %2, 8
%9 = add i64 %2, 4
%10 = call i64 @FUNC(i64 %2, i64 %9, i64 %8)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = and i64 %10, 4294967295
store i64 %13, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%14 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 6)
%15 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0, i64 1, i64 0)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = and i64 %15, 4294967295
store i64 %18, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%19 = add i64 %2, 16
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = load i64, i64* %sv_0, align 8
%23 = trunc i64 %22 to i32
%24 = inttoptr i64 %21 to i32*
store i32 %23, i32* %24, align 4
%25 = add i64 %21, 4
%26 = inttoptr i64 %25 to i16*
%27 = load i64, i64* %20, align 8
%28 = add i64 %27, 6
%29 = load i64, i64* %sv_0, align 8
%30 = trunc i64 %29 to i32
%31 = inttoptr i64 %28 to i32*
store i32 %30, i32* %31, align 4
%32 = add i64 %27, 10
%33 = inttoptr i64 %32 to i16*
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 %21, { 1, 0 }
uselistorder i64* %sv_0, { 2, 3, 0, 1 }
uselistorder i64 %2, { 0, 1, 4, 3, 2, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32 0, { 1, 0, 2, 3 }
} | 0 |
BinRealVul | db__message_store_find_13320 | db__message_store_find | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.in.in.in.reg2mem = alloca i64
%storemerge24.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_8
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %arg3, align 8
%3 = trunc i64 %arg2 to i16
store i64 %2, i64* %storemerge24.reg2mem
br label LBL_2
LBL_2:
%storemerge24.reload = load i64, i64* %storemerge24.reg2mem
%4 = inttoptr i64 %storemerge24.reload to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i16*
%7 = load i16, i16* %6, align 2
%8 = icmp eq i16 %7, %3
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_4, label LBL_3
LBL_3:
store i64 %5, i64* %arg3, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%10 = add i64 %storemerge24.reload, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 %12, i64* %storemerge24.reg2mem
store i64 %2, i64* %storemerge.in.in.in.reg2mem
br i1 %14, label LBL_2, label LBL_7
LBL_5:
%15 = inttoptr i64 %storemerge to i64*
%16 = load i64, i64* %15, align 8
%17 = inttoptr i64 %16 to i16*
%18 = load i16, i16* %17, align 2
%19 = icmp eq i16 %18, %3
%20 = icmp eq i1 %19, false
store i64 %storemerge, i64* %storemerge.in.in.in.reg2mem
br i1 %20, label LBL_7, label LBL_6
LBL_6:
store i64 %16, i64* %arg3, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%storemerge.in.in.in.reload = load i64, i64* %storemerge.in.in.in.reg2mem
%storemerge.in.in = add i64 %storemerge.in.in.in.reload, 8
%storemerge.in = inttoptr i64 %storemerge.in.in to i64*
%storemerge = load i64, i64* %storemerge.in, align 8
%21 = icmp eq i64 %storemerge, 0
%22 = icmp eq i1 %21, false
store i64 1, i64* %rax.0.reg2mem
br i1 %22, label LBL_5, label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge, { 2, 1, 0 }
uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.in.in.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2 }
uselistorder i1 false, { 1, 0, 3, 2, 4 }
uselistorder i64* %arg3, { 1, 0, 2 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_8, { 0, 2, 3, 1 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | FontFileAddEntry_9873 | FontFileAddEntry | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem10 = alloca i32
%.reg2mem8 = alloca i64
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = ptrtoint i64* %arg2 to i64
store i64 %2, i64* %rsi, align 8
%3 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_8
LBL_1:
%8 = trunc i64 %1 to i32
%9 = bitcast i64* %rdi to i32*
%10 = add i64 %3, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, %8
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_1.LBL_6_crit_edge, label LBL_3
LBL_2:
%.pre4 = add i64 %3, 16
%.pre5 = inttoptr i64 %.pre4 to i64*
%.pre7 = load i64, i64* %.pre5, align 8
store i64 %.pre7, i64* %.reg2mem
store i64 %2, i64* %.reg2mem8
store i32 %8, i32* %.reg2mem10
br label LBL_6
LBL_3:
%15 = icmp ult i32 %12, 134217627
store i64 0, i64* %rax.0.reg2mem
br i1 %15, label LBL_4, label LBL_8
LBL_4:
%16 = add i32 %12, 100
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 16
%19 = add i64 %3, 16
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
store i64 %18, i64* %rsi, align 8
%22 = inttoptr i64 %21 to i64*
%23 = trunc i64 %18 to i32
%24 = call i64* @realloc(i64* %22, i32 %23)
%25 = icmp eq i64* %24, null
%26 = icmp eq i1 %25, false
store i64 0, i64* %rax.0.reg2mem
br i1 %26, label LBL_5, label LBL_8
LBL_5:
store i32 %16, i32* %11, align 4
%27 = ptrtoint i64* %24 to i64
store i64 %27, i64* %20, align 8
%.pre = load i32, i32* %9, align 8
%.pre3 = load i64, i64* %rsi, align 8
store i64 %27, i64* %.reg2mem
store i64 %.pre3, i64* %.reg2mem8
store i32 %.pre, i32* %.reg2mem10
br label LBL_6
LBL_6:
%.reload11 = load i32, i32* %.reg2mem10
%.reload9 = load i64, i64* %.reg2mem8
%.reload = load i64, i64* %.reg2mem
%28 = sext i32 %.reload11 to i64
%29 = mul i64 %28, 16
%30 = add i64 %29, %.reload
%31 = add i64 %2, 8
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = inttoptr i64 %30 to i64*
store i64 %.reload9, i64* %34, align 8
%35 = add i64 %30, 8
%36 = inttoptr i64 %35 to i64*
store i64 %33, i64* %36, align 8
%37 = bitcast i64* %rsi to i32*
%38 = load i32, i32* %37, align 8
%39 = add i32 %38, 1
%40 = call i64* @malloc(i32 %39)
%41 = ptrtoint i64* %40 to i64
store i64 %41, i64* %36, align 8
%42 = icmp eq i64* %40, null
%43 = icmp eq i1 %42, false
store i64 0, i64* %rax.0.reg2mem
br i1 %43, label LBL_7, label LBL_8
LBL_7:
%44 = inttoptr i64 %30 to i32*
%45 = load i32, i32* %37, align 8
%46 = load i64, i64* %32, align 8
%47 = inttoptr i64 %46 to i64*
%48 = call i64* @memcpy(i64* %40, i64* %47, i32 %45)
%49 = load i64, i64* %36, align 8
%50 = load i32, i32* %44, align 4
%51 = sext i32 %50 to i64
%52 = add i64 %49, %51
%53 = inttoptr i64 %52 to i8*
store i8 0, i8* %53, align 1
%54 = load i32, i32* %9, align 8
%55 = add i32 %54, 1
store i32 %55, i32* %arg1, align 4
store i64 %30, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %30, { 0, 1, 3, 2 }
uselistorder i64 %18, { 1, 0 }
uselistorder i32 %12, { 1, 2, 0 }
uselistorder i32* %9, { 1, 0 }
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64* %rsi, { 2, 0, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder label LBL_8, { 4, 0, 1, 2, 3 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | read_exceptions_17575 | read_exceptions | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_1.26.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i32, align 4
store i32 1, i32* %sv_3, align 4
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %5, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = mul i32 %8, 512
%10 = inttoptr i64 %5 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = zext i32 %9 to i64
%16 = call i64 @FUNC(i64 %14, i64 %15, i64 1, i64 0, i64 0, i64 0)
%17 = icmp ult i64 %16, -1000
store i64 %16, i64* %storemerge.reg2mem
br i1 %17, label LBL_1, label LBL_10
LBL_1:
%18 = trunc i64 %1 to i32
%19 = call i64 @FUNC(i64 %16, i64 5)
%20 = bitcast i64* %arg1 to i32*
store i32 0, i32* %20, align 4
%21 = add i32 %18, 4
%22 = and i64 %1, 4294967295
%23 = add i32 %18, 1
store i32 0, i32* %sv_1.26.reg2mem
br label LBL_2
LBL_2:
%sv_1.26.reload = load i32, i32* %sv_1.26.reg2mem
%24 = icmp ult i32 %sv_1.26.reload, %18
%25 = icmp eq i1 %24, false
%spec.select = select i1 %25, i32 %sv_1.26.reload, i32 %18
store i32 %spec.select, i32* %sv_1.0.reg2mem
br label LBL_3
LBL_3:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%26 = zext i32 %sv_1.0.reload to i64
%27 = call i64 @FUNC(i64 %2, i64 %26)
%28 = call i64 @FUNC(i64 %16)
%sext = mul i64 %28, 4294967296
%29 = ashr exact i64 %sext, 32
%30 = icmp ult i64 %27, %29
%31 = icmp eq i1 %30, false
%32 = icmp eq i1 %31, false
%33 = icmp eq i1 %32, false
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
br i1 %33, label LBL_5, label LBL_4
LBL_4:
%34 = call i64 @FUNC(i64 %16, i64 %27, i64 1)
%35 = sext i32 %sv_1.0.reload to i64
%36 = add nsw i64 %35, 1
%37 = trunc i64 %36 to i32
%38 = icmp eq i64 %36, 0
%39 = icmp eq i1 %38, false
%40 = icmp eq i1 %39, false
%41 = icmp ult i32 %21, %37
%or.cond = or i1 %41, %40
store i32 %37, i32* %sv_1.0.reg2mem
store i32 %37, i32* %sv_1.1.reg2mem
br i1 %or.cond, label LBL_5, label LBL_3
LBL_5:
%42 = call i64 @FUNC(i64 %2, i64 %22)
%43 = call i64 @FUNC(i64 %16, i64 %42, i64* nonnull %sv_2)
%44 = icmp ult i64 %43, -1000
%45 = icmp ne i1 %44, true
%46 = icmp eq i1 %45, false
store i64 %43, i64* %sv_0.0.reg2mem
br i1 %46, label LBL_6, label LBL_9
LBL_6:
%sext3 = mul i64 %43, 4294967296
%47 = ashr exact i64 %sext3, 32
%48 = call i64 @FUNC(i64 %2, i64 %47, i64 %arg2, i64 %arg3, i32* nonnull %sv_3)
%49 = trunc i64 %48 to i32
%50 = load i64, i64* %sv_2, align 8
%51 = call i64 @FUNC(i64 %50)
%52 = call i64 @FUNC(i64 %16, i64 %42)
%53 = icmp eq i32 %49, 0
%54 = icmp eq i1 %53, false
%55 = icmp eq i1 %54, false
%56 = icmp eq i1 %55, false
store i64 %48, i64* %sv_0.0.reg2mem
br i1 %56, label LBL_9, label LBL_7
LBL_7:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
store i32 %23, i32* %20, align 4
%57 = load i32, i32* %sv_3, align 4
%58 = icmp eq i32 %57, 0
%59 = icmp eq i1 %58, false
store i32 %sv_1.1.reload, i32* %sv_1.26.reg2mem
br i1 %59, label LBL_2, label LBL_8
LBL_8:
%60 = add i32 %18, -1
store i32 %60, i32* %20, align 4
%61 = call i64 @FUNC(i64 %2)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%62 = call i64 @FUNC(i64 %16)
%63 = and i64 %sv_0.0.reload, 4294967295
store i64 %63, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %43, { 1, 0, 2 }
uselistorder i64 %36, { 1, 0 }
uselistorder i32 %sv_1.0.reload, { 2, 0, 1 }
uselistorder i32* %20, { 2, 1, 0 }
uselistorder i32 %18, { 4, 0, 1, 2, 3 }
uselistorder i64 %16, { 2, 3, 4, 1, 5, 6, 0, 7 }
uselistorder i32* %sv_3, { 1, 0, 2 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_1.26.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @area_location, { 1, 0 }
uselistorder i1 false, { 10, 5, 0, 6, 1, 7, 2, 8, 3, 9, 4 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i32 0, { 5, 4, 0, 1, 2, 3 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | dictCreate_13175 | dictCreate | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64* @malloc(i32 0)
%2 = ptrtoint i64* %1 to i64
%3 = call i64 @FUNC(i64 %2, i64 %0, i64 %arg2)
ret i64 %2
} | 1 |
BinRealVul | jsi_ArrayShiftCmd_11975 | jsi_ArrayShiftCmd | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = ptrtoint i64* %arg3 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %5, i64 %9)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))
%16 = sext i32 %15 to i64
store i64 %16, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%17 = load i64, i64* %8, align 8
%18 = call i64 @FUNC(i64 %5, i64 %17)
%19 = call i64 @FUNC(i64 %5, i64 %17)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_5, label LBL_4
LBL_4:
store i64 0, i64* %arg4, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_5:
%23 = add i32 %20, -1
%24 = inttoptr i64 %17 to i64*
%25 = load i64, i64* %24, align 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = mul i32 %23, 8
%29 = add i64 %25, 8
%30 = inttoptr i64 %29 to i64*
%31 = call i64* @memmove(i64* %26, i64* %30, i32 %28)
%32 = load i64, i64* %24, align 8
%33 = zext i32 %23 to i64
%34 = mul i64 %33, 8
%35 = add i64 %32, %34
%36 = inttoptr i64 %35 to i64*
store i64 0, i64* %36, align 8
%37 = icmp eq i64 %27, 0
%38 = icmp eq i1 %37, false
store i64 0, i64* %rax.0.reg2mem
br i1 %38, label LBL_6, label LBL_7
LBL_6:
store i64 %27, i64* %arg4, align 8
%39 = inttoptr i64 %27 to i64*
call void @free(i64* %39)
%40 = add i64 %17, 8
%41 = inttoptr i64 %40 to i32*
store i32 %23, i32* %41, align 4
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 i32 %23, { 1, 2, 0 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }
uselistorder label LBL_7, { 1, 2, 0, 3 }
} | 1 |
BinRealVul | exit_files_19302 | exit_files | 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:
%2 = call i64 @FUNC(i64 %0)
store i64 0, i64* %arg1, align 8
%3 = call i64 @FUNC(i64 %0)
%4 = call i64 @FUNC(i64 %0)
store i64 %4, 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, { 1, 2, 3, 0 }
} | 1 |
BinRealVul | migrate_rdma_pin_all_1904 | migrate_rdma_pin_all | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i8*
%2 = load i8, i8* %1, align 1
%3 = zext i8 %2 to i64
ret i64 %3
} | 0 |
BinRealVul | grptype_box_dump_12056 | grptype_box_dump | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdx.0.in.lcssa.reg2mem = alloca i32
%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 = ptrtoint i64* %arg1 to i64
%6 = trunc i64 %3 to i32
%7 = bitcast i64* %arg1 to i32*
%8 = icmp eq i32 %6, 0
%9 = icmp eq i1 %8, false
%spec.store.select = select i1 %9, i32 %6, i32 1969974903
store i32 %spec.store.select, i32* %7, align 4
%10 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
store i32 1, i32* %7, align 4
%11 = add i64 %5, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i32 %13, i64 %4, i64 %2, i64 %1)
%15 = add i64 %5, 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
store i32 %13, i32* %rdx.0.in.lcssa.reg2mem
br i1 %18, label LBL_3, label LBL_1
LBL_1:
%19 = add i64 %5, 12
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%20 = mul i64 %indvars.iv.reload, 4
%21 = add i64 %19, %20
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 %23, i64 %4, i64 %2, i64 %1)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%25 = load i32, i32* %16, align 4
%26 = zext i32 %25 to i64
%27 = icmp ult i64 %indvars.iv.next, %26
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %23, i32* %rdx.0.in.lcssa.reg2mem
br i1 %27, label LBL_2, label LBL_3
LBL_3:
%28 = add i64 %5, 52
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_5, label LBL_4
LBL_4:
%rdx.0.in.lcssa.reload = load i32, i32* %rdx.0.in.lcssa.reg2mem
%33 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i32 %rdx.0.in.lcssa.reload, i64 %4, i64 %2, i64 %1)
br label LBL_5
LBL_5:
%34 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %arg2)
ret i64 0
uselistorder i32* %16, { 1, 0 }
uselistorder i32* %7, { 1, 0 }
uselistorder i32 %6, { 1, 0 }
uselistorder i64 %5, { 0, 2, 3, 1, 4, 5 }
uselistorder i64 %4, { 2, 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @gf_fprintf, { 1, 2, 0 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | is_vlan_packet_15887 | is_vlan_packet | define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i8* %arg1 to i64
%2 = add i64 %0, 12
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %1)
%5 = trunc i64 %3 to i16
%6 = trunc i64 %4 to i16
%7 = icmp eq i16 %5, %6
%8 = zext i1 %7 to i64
ret i64 %8
} | 1 |
BinRealVul | __blk_rq_prep_clone_9602 | __blk_rq_prep_clone | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = bitcast i64* %arg1 to i32*
store i32 %3, i32* %4, align 4
%5 = ptrtoint i32* %arg2 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
%9 = call i64 @FUNC(i64 %5)
%10 = add i64 %2, 16
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = add i64 %5, 24
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = urem i32 %14, 2
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_2, label LBL_1
LBL_1:
%17 = add i64 %2, 24
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = or i32 %19, 1
store i32 %20, i32* %18, align 4
%21 = add i64 %5, 32
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = add i64 %2, 32
%25 = inttoptr i64 %24 to i64*
store i64 %23, i64* %25, align 8
br label LBL_2
LBL_2:
%26 = add i64 %5, 40
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = add i64 %2, 40
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = add i64 %5, 44
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = add i64 %2, 44
%35 = inttoptr i64 %34 to i32*
store i32 %33, i32* %35, align 4
%36 = add i64 %5, 48
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = add i64 %2, 48
%40 = inttoptr i64 %39 to i32*
store i32 %38, i32* %40, align 4
ret i64 %2
uselistorder i64 %5, { 1, 2, 3, 0, 4, 5, 6 }
uselistorder i64 %2, { 2, 3, 4, 5, 0, 1, 6, 7 }
} | 0 |
BinRealVul | cpu_notify_map_clients_1898 | cpu_notify_map_clients | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 %0, i64* %.lcssa.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = call i64 @FUNC(i64* nonnull @gv_0)
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64* nonnull @gv_0)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
store i64 %5, i64* %.lcssa.reg2mem
br i1 %7, label LBL_1, label LBL_2
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i32 0, { 1, 0 }
uselistorder i64 (i64*)* @LIST_EMPTY, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | protocol_client_vencrypt_auth_15186 | protocol_client_vencrypt_auth | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %2, i64 0)
%5 = trunc i64 %4 to i32
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, %5
%8 = and i64 %4, 4294967295
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %8)
%10 = call i64 @FUNC(i64 %3, i64 0)
%11 = call i64 @FUNC(i64 %3)
%12 = call i64 @FUNC(i64 %3)
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %8)
%14 = call i64 @FUNC(i64 %3, i64 1)
%15 = call i64 @FUNC(i64 %3)
%16 = call i64 @FUNC(i64 %3)
%17 = trunc i64 %16 to i32
%18 = icmp slt i32 %17, 0
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_4, label LBL_3
LBL_3:
%20 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%21 = add i64 %3, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = icmp eq i32 %23, 1
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_6, label LBL_5
LBL_5:
%26 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0))
%27 = call i64 @FUNC(i64 %3)
store i64 %27, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%28 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0))
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 %3, { 3, 4, 7, 6, 5, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32 (i8*)* @puts, { 2, 1, 0 }
uselistorder i64 (i64)* @vnc_flush, { 1, 0 }
uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
} | 1 |
BinRealVul | update_scan_period_10182 | update_scan_period | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = and i64 %3, 4294967295
%5 = call i64 @FUNC(i64 %4)
%6 = and i64 %arg2, 4294967295
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64* nonnull @gv_0)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
store i64 %8, i64* %rax.0.reg2mem
br i1 %10, label LBL_9, label LBL_1
LBL_1:
%11 = trunc i64 %1 to i32
%12 = icmp eq i32 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_9, label LBL_2
LBL_2:
%13 = add i64 %2, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_9, label LBL_3
LBL_3:
%17 = add i64 %2, 8
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = urem i32 %19, 2
%21 = zext i32 %20 to i64
%22 = icmp eq i32 %20, 0
%23 = icmp eq i1 %22, false
store i64 %21, i64* %rax.0.reg2mem
br i1 %23, label LBL_9, label LBL_4
LBL_4:
%24 = trunc i64 %5 to i32
%25 = trunc i64 %7 to i32
%26 = and i64 %5, 4294967295
%27 = icmp eq i32 %24, %25
store i64 %26, i64* %rax.0.reg2mem
br i1 %27, label LBL_9, label LBL_5
LBL_5:
%28 = add i64 %2, 12
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_8, label LBL_6
LBL_6:
%32 = add i64 %2, 16
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = icmp eq i32 %34, %25
store i64 %35, i64* %rax.0.reg2mem
br i1 %36, label LBL_9, label LBL_7
LBL_7:
%37 = icmp ne i32 %34, -1
%38 = icmp eq i32 %34, %24
%39 = icmp eq i1 %38, false
%or.cond = icmp eq i1 %37, %39
store i64 %35, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_9, label LBL_8
LBL_8:
%40 = call i64 @FUNC(i64 %2)
%41 = trunc i64 %40 to i32
%42 = add i64 %2, 20
%43 = inttoptr i64 %42 to i32*
store i32 %41, i32* %43, align 4
store i64 %40, 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 %20, { 1, 0 }
uselistorder i64 %2, { 1, 0, 3, 2, 4, 5, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4, 5, 6, 7, 8 }
uselistorder i64 (i64)* @cpu_to_node, { 1, 0 }
uselistorder label LBL_9, { 7, 0, 1, 2, 5, 4, 3, 6 }
} | 0 |
BinRealVul | helper_rfi_16180 | helper_rfi | 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 i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %0, i64 %0, i64 %3, i64 -2017394689, i64 1)
ret i64 %4
uselistorder i64 %0, { 2, 0, 1 }
} | 1 |
BinRealVul | unmap_region_18437 | unmap_region | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%3 = icmp eq i64* %arg3, null
%storemerge2 = select i1 %3, i64 %2, i64 %0
store i64 0, i64* %sv_1, align 8
%4 = call i64 @FUNC()
%5 = add i64 %2, 8
%6 = call i64 @FUNC(i64 %5)
%7 = call i64 @FUNC(i64 %2, i64 0)
store i64 %7, i64* %sv_0, align 8
%8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2, i64 %1, i64 %arg4, i64 %arg5, i64* nonnull %sv_1)
%9 = load i64, i64* %sv_1, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = icmp eq i64 %storemerge2, 0
store i64 0, i64* %storemerge1.reg2mem
br i1 %11, label LBL_2, label LBL_1
LBL_1:
%12 = add i64 %storemerge2, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
store i64 %14, i64* %storemerge1.reg2mem
br label LBL_2
LBL_2:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_4, label LBL_3
LBL_3:
%15 = add i64 %0, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
store i64 %17, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1, i64 %storemerge.reload, i64 %storemerge1.reload)
%19 = load i64, i64* %sv_0, align 8
%20 = call i64 @FUNC(i64 %19, i64 %arg4, i64 %arg5)
%21 = call i64 @FUNC(i64 %5)
ret i64 %21
uselistorder i64* %sv_1, { 1, 0, 2 }
uselistorder i64* %sv_0, { 2, 0, 1, 3 }
uselistorder i64 %2, { 0, 2, 1, 3 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | Jsi_Release_10835 | Jsi_Release | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %arg2)
%2 = icmp eq i64 %1, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_6, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 %1)
%4 = icmp eq i64 %3, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_6, label LBL_2
LBL_2:
%5 = inttoptr i64 %3 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, %0
br i1 %7, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%8 = add i64 %3, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i32 %10, -1
store i32 %11, i32* %9, align 4
%12 = zext i32 %11 to i64
%13 = icmp eq i32 %11, 0
%14 = icmp slt i32 %11, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %13, false
%17 = icmp eq i1 %15, %16
store i64 %12, i64* %rax.0.reg2mem
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64 %3)
%19 = call i64 @FUNC(i64 %1)
store i64 %19, 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 %11, { 1, 2, 0, 3 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
} | 0 |
BinRealVul | direct_ref_list_init_13916 | direct_ref_list_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.1.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%storemerge26.reg2mem = alloca i32
%.reg2mem24 = alloca i64
%storemerge17.reg2mem = alloca i32
%.reg2mem22 = alloca i64
%storemerge49.reg2mem = alloca i32
%.reg2mem20 = alloca i64
%indvars.iv13.reg2mem = alloca i64
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = bitcast i64* %rdi to i32*
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 1
%6 = icmp eq i1 %5, false
store i32 %4, i32* %.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
store i32 0, i32* %8, align 4
%.pr = load i32, i32* %3, align 8
store i32 %.pr, i32* %.reg2mem
br label LBL_2
LBL_2:
%.reload = load i32, i32* %.reg2mem
%9 = icmp eq i32 %.reload, 2
%.pre = add i64 %2, 8
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = inttoptr i64 %.pre to i32*
store i32 0, i32* %10, align 4
br label LBL_4
LBL_4:
%11 = add i64 %2, 4
%12 = add i64 %2, 108
%13 = add i64 %2, 12
store i64 0, i64* %indvars.iv13.reg2mem
br label LBL_5
LBL_5:
%indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem
%14 = mul i64 %indvars.iv13.reload, 4
%15 = add i64 %14, %.pre
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %11, %14
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = load i32, i32* %16, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_8, label LBL_6
LBL_6:
%22 = mul nuw nsw i64 %indvars.iv13.reload, 960
%23 = add i64 %22, %12
%24 = mul nuw nsw i64 %indvars.iv13.reload, 10
store i64 0, i64* %.reg2mem20
store i32 0, i32* %storemerge49.reg2mem
br label LBL_7
LBL_7:
%storemerge49.reload = load i32, i32* %storemerge49.reg2mem
%.reload21 = load i64, i64* %.reg2mem20
%25 = mul nsw i64 %.reload21, 96
%26 = add i64 %23, %25
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = add nsw i64 %.reload21, %24
%30 = mul i64 %29, 4
%31 = add i64 %13, %30
%32 = inttoptr i64 %31 to i32*
store i32 %28, i32* %32, align 4
%33 = add i32 %storemerge49.reload, 1
%34 = load i32, i32* %16, align 4
%35 = zext i32 %34 to i64
%36 = sext i32 %33 to i64
%37 = icmp slt i64 %36, %35
store i64 %36, i64* %.reg2mem20
store i32 %33, i32* %storemerge49.reg2mem
br i1 %37, label LBL_7, label LBL_8
LBL_8:
%indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1
%exitcond15 = icmp eq i64 %indvars.iv.next14, 2
store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem
br i1 %exitcond15, label LBL_9, label LBL_5
LBL_9:
%38 = load i32, i32* %3, align 8
%39 = zext i32 %38 to i64
%40 = icmp eq i32 %38, 2
%41 = icmp eq i1 %40, false
store i64 %39, i64* %rax.1.reg2mem
br i1 %41, label LBL_21, label LBL_10
LBL_10:
%42 = add i64 %2, 2016
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = zext i32 %44 to i64
%46 = icmp eq i32 %44, 0
%47 = icmp eq i1 %46, false
store i64 %45, i64* %rax.1.reg2mem
br i1 %47, label LBL_21, label LBL_11
LBL_11:
%48 = add i64 %2, 980
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_19
LBL_12:
%storemerge17.reload = load i32, i32* %storemerge17.reg2mem
%.reload23 = load i64, i64* %.reg2mem22
%49 = add nsw i64 %.reload23, %79
%50 = mul i64 %49, 4
%51 = add i64 %50, %2
%52 = add i64 %51, 988
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = add i64 %51, 1936
%56 = inttoptr i64 %55 to i32*
store i32 -1, i32* %56, align 4
%57 = load i32, i32* %81, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label LBL_17, label LBL_13
LBL_13:
%59 = zext i32 %57 to i64
store i64 0, i64* %.reg2mem24
store i32 0, i32* %storemerge26.reg2mem
br label LBL_14
LBL_14:
%storemerge26.reload = load i32, i32* %storemerge26.reg2mem
%.reload25 = load i64, i64* %.reg2mem24
%60 = mul nsw i64 %.reload25, 96
%61 = add i64 %83, %60
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = icmp eq i32 %54, %63
%65 = icmp eq i1 %64, false
br i1 %65, label LBL_16, label LBL_15
LBL_15:
store i32 %storemerge26.reload, i32* %56, align 4
br label LBL_17
LBL_16:
%66 = add i32 %storemerge26.reload, 1
%67 = sext i32 %66 to i64
%68 = icmp slt i64 %67, %59
store i64 %67, i64* %.reg2mem24
store i32 %66, i32* %storemerge26.reg2mem
br i1 %68, label LBL_14, label LBL_17
LBL_17:
%69 = add i32 %storemerge17.reload, 1
%70 = load i32, i32* %76, align 4
%71 = zext i32 %70 to i64
%72 = sext i32 %69 to i64
%73 = icmp slt i64 %72, %71
store i64 %72, i64* %.reg2mem22
store i32 %69, i32* %storemerge17.reg2mem
store i64 %71, i64* %.lcssa.reg2mem
br i1 %73, label LBL_12, label LBL_18
LBL_18:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 2
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %.lcssa.reload, i64* %rax.1.reg2mem
br i1 %exitcond, label LBL_21, label LBL_19
LBL_19:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%74 = mul i64 %indvars.iv.reload, 4
%75 = add i64 %48, %74
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = icmp eq i32 %77, 0
store i64 0, i64* %.lcssa.reg2mem
br i1 %78, label LBL_18, label LBL_12.lr.ph
LBL_20:
%79 = mul nuw nsw i64 %indvars.iv.reload, 10
%80 = add i64 %74, %.pre
%81 = inttoptr i64 %80 to i32*
%82 = mul nuw nsw i64 %indvars.iv.reload, 960
%83 = add i64 %82, %12
store i64 0, i64* %.reg2mem22
store i32 0, i32* %storemerge17.reg2mem
br label LBL_12
LBL_21:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %74, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 1, 2, 3, 0 }
uselistorder i64 %.reload21, { 1, 0 }
uselistorder i32* %16, { 1, 0, 2 }
uselistorder i64 %indvars.iv13.reload, { 0, 2, 1, 3 }
uselistorder i32* %3, { 1, 0 }
uselistorder i64 %2, { 0, 1, 4, 5, 3, 6, 2, 7 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem20, { 1, 0, 2 }
uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem22, { 2, 1, 0 }
uselistorder i32* %storemerge17.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem24, { 2, 0, 1 }
uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }
uselistorder i64* %.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 96, { 1, 0 }
uselistorder i64 10, { 1, 0 }
uselistorder i64 960, { 1, 0 }
uselistorder i32 0, { 1, 4, 0, 3, 6, 2, 5, 7, 8 }
uselistorder label LBL_21, { 0, 2, 1 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_17, { 0, 2, 1 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | insn_get_10848 | insn_get | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.in.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = icmp eq i32 %2, 2
br i1 %3, label LBL_5, label LBL_1
LBL_1:
%4 = icmp ult i32 %2, 3
br i1 %4, label LBL_2, label LBL_6
LBL_2:
switch i32 %2, label LBL_6 [
i32 0, label LBL_3
i32 1, label LBL_4
]
LBL_3:
%5 = call i64 @FUNC(i64 %1, i64 %0)
%6 = add i64 %0, 1
store i64 %6, i64* %arg2, align 8
store i64 %5, i64* %sv_0.0.in.reg2mem
br label LBL_7
LBL_4:
%7 = call i64 @FUNC(i64 %1, i64 %0)
%8 = add i64 %0, 2
store i64 %8, i64* %arg2, align 8
store i64 %7, i64* %sv_0.0.in.reg2mem
br label LBL_7
LBL_5:
%9 = call i64 @FUNC(i64 %1, i64 %0)
%10 = add i64 %0, 4
store i64 %10, i64* %arg2, align 8
store i64 %9, i64* %sv_0.0.in.reg2mem
br label LBL_7
LBL_6:
%11 = call i64 @FUNC()
unreachable
LBL_7:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%12 = and i64 %sv_0.0.in.reload, 4294967295
ret i64 %12
uselistorder i32 %2, { 1, 0, 2 }
uselistorder i64 %1, { 2, 0, 1 }
uselistorder i64 %0, { 5, 4, 1, 0, 3, 2 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %arg2, { 0, 2, 1, 3 }
} | 0 |
BinRealVul | acpi_pm1_evt_write_sts_2590 | acpi_pm1_evt_write_sts | define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i16* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = urem i64 %arg2, 2
%5 = and i64 %4, %3
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %2)
br label LBL_2
LBL_2:
%8 = trunc i64 %1 to i16
%9 = trunc i64 %arg2 to i16
%10 = sub i16 0, %9
%11 = sub i16 %10, 1
%12 = and i16 %8, %11
store i16 %12, i16* %arg1, align 2
ret i64 %2
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %arg2, { 1, 0 }
} | 0 |
BinRealVul | do_getname_10159 | do_getname | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = icmp eq i64 %0, 0
store i64 4096, i64* %sv_0.0.reg2mem
br i1 %1, label LBL_3, label LBL_1
LBL_1:
%2 = icmp ult i64 %arg1, 4294967296
store i64 4294967282, i64* %rax.0.reg2mem
br i1 %2, label LBL_2, label LBL_6
LBL_2:
%3 = sub i64 4294967296, %arg1
%4 = icmp ult i64 %3, 4096
%spec.select = select i1 %4, i64 %3, i64 4096
store i64 %spec.select, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%5 = ptrtoint i64* %arg2 to i64
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%6 = call i64 @FUNC(i64 %5, i64 %arg1, i64 %sv_0.0.reload)
%7 = trunc i64 %6 to i32
%8 = icmp slt i32 %7, 1
br i1 %8, label LBL_5, label LBL_4
LBL_4:
%sext = mul i64 %6, 4294967296
%9 = ashr exact i64 %sext, 32
%10 = icmp ugt i64 %sv_0.0.reload, %9
%. = select i1 %10, i64 0, i64 4294967260
store i64 %., i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%11 = icmp eq i32 %7, 0
%12 = icmp eq i1 %11, false
%.op = and i64 %6, 4294967295
%13 = select i1 %12, i64 %.op, i64 4294967294
store i64 %13, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 1, 0, 2 }
uselistorder i64 %sv_0.0.reload, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4294967296, { 0, 2, 1 }
uselistorder i64 4096, { 1, 2, 0 }
uselistorder i64 %arg1, { 2, 1, 0 }
uselistorder label LBL_6, { 2, 0, 1 }
} | 0 |
BinRealVul | multiwrite_req_compare_16317 | multiwrite_req_compare | define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = sub i64 %1, %2
%4 = and i64 %3, 4294967295
ret i64 %4
uselistorder i64* %0, { 1, 0 }
} | 1 |
BinRealVul | ext4_xattr_destroy_cache_3634 | ext4_xattr_destroy_cache | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
store i64 %1, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
BinRealVul | user_tick_function_call_8694 | user_tick_function_call | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = trunc i64 %1 to i32
%9 = and i64 %1, 4294967295
%10 = icmp eq i32 %8, 0
%11 = icmp eq i1 %10, false
store i64 %9, i64* %rax.0.reg2mem
br i1 %11, label LBL_13, label LBL_1
LBL_1:
%12 = bitcast i64* %arg1 to i32*
store i32 1, i32* %12, align 4
%13 = load i64, i64* %4, align 8
%14 = add i64 %13, 8
%15 = add i64 %2, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, -1
%19 = zext i32 %18 to i64
%20 = call i64 @FUNC(i64 0, i64 0, i64 %7, i64* nonnull %sv_2, i64 %19, i64 %14)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_3, label LBL_2
LBL_2:
%24 = call i64 @FUNC(i64* nonnull %sv_2)
br label LBL_12
LBL_3:
%25 = call i64 @FUNC(i64 %7)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 2
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_5, label LBL_4
LBL_4:
%29 = call i64 @FUNC(i64 %7)
%30 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %29, i64 %19, i64 %14)
br label LBL_12
LBL_5:
%31 = ptrtoint i64* %sv_2 to i64
%32 = call i64 @FUNC(i64 %7)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 3
%35 = icmp eq i1 %34, false
store i64 %31, i64* %rcx.0.reg2mem
br i1 %35, label LBL_11, label LBL_6
LBL_6:
%36 = call i64 @FUNC(i64 %7)
%37 = call i64 @FUNC(i64 %36, i64 0, i64* nonnull %sv_1)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
store i64 %36, i64* %rcx.0.reg2mem
br i1 %40, label LBL_11, label LBL_7
LBL_7:
%41 = call i64 @FUNC(i64 %7)
%42 = call i64 @FUNC(i64 %41, i64 1, i64* nonnull %sv_0)
%43 = trunc i64 %42 to i32
%44 = icmp eq i32 %43, 0
%45 = icmp eq i1 %44, false
store i64 %41, i64* %rcx.0.reg2mem
br i1 %45, label LBL_11, label LBL_8
LBL_8:
%46 = load i64, i64* %sv_1, align 8
%47 = call i64 @FUNC(i64 %46)
%48 = trunc i64 %47 to i32
%49 = icmp eq i32 %48, 4
%50 = icmp eq i1 %49, false
store i64 %41, i64* %rcx.0.reg2mem
br i1 %50, label LBL_11, label LBL_9
LBL_9:
%51 = load i64, i64* %sv_0, align 8
%52 = call i64 @FUNC(i64 %51)
%53 = trunc i64 %52 to i32
%54 = icmp eq i32 %53, 2
%55 = icmp eq i1 %54, false
store i64 %41, i64* %rcx.0.reg2mem
br i1 %55, label LBL_11, label LBL_10
LBL_10:
%56 = load i64, i64* %sv_0, align 8
%57 = call i64 @FUNC(i64 %56)
%58 = load i64, i64* %sv_1, align 8
%59 = call i64 @FUNC(i64 %58)
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %61, i64 %57, i64 %14)
br label LBL_12
LBL_11:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%63 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.0.reload, i64 %19, i64 %14)
br label LBL_12
LBL_12:
store i32 0, i32* %12, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_13
LBL_13:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %19, { 1, 0, 2 }
uselistorder i64 %14, { 2, 1, 0, 3 }
uselistorder i64* %sv_2, { 2, 0, 1 }
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i64* %sv_0, { 1, 2, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 (i64)* @Z_TYPE_PP, { 1, 0 }
uselistorder i64 (i64, i64, i64*)* @zend_hash_index_find, { 1, 0 }
uselistorder i64 (i64)* @Z_ARRVAL_P, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @php_error_docref, { 2, 1, 0 }
uselistorder i64 (i64)* @Z_TYPE_P, { 1, 0 }
} | 0 |
BinRealVul | onig_new_deluxe_11001 | onig_new_deluxe | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.in.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%2 = icmp eq i64* %arg5, null
br i1 %2, label LBL_2, label LBL_1
LBL_1:
store i64 0, i64* %arg5, align 8
br label LBL_2
LBL_2:
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i32* %arg4 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i64 %4, 12
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %7, %10
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = zext i32 %7 to i64
%13 = call i64 @FUNC(i64 %12, i32 %10, i64 %3, i64 %arg3, i64* nonnull %sv_1, i64* nonnull %sv_2)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
store i64 %13, i64* %storemerge.in.reg2mem
br i1 %15, label LBL_5, label LBL_10
LBL_4:
store i64 %3, i64* %sv_1, align 8
store i64 %arg3, i64* %sv_2, align 8
br label LBL_5
LBL_5:
%16 = trunc i64 %1 to i32
%17 = call i64 @FUNC(i64 4)
store i64 %17, i64* %arg1, align 8
%18 = add i64 %4, 16
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = zext i32 %20 to i64
%22 = load i32, i32* %9, align 4
%23 = add i64 %4, 4
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = call i64 @FUNC(i64 %21, i32 %16, i32 %25, i32 %22, i64 %21)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
store i64 %26, i64* %sv_0.0.reg2mem
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = ptrtoint i64* %arg5 to i64
%31 = load i64, i64* %sv_2, align 8
%32 = load i64, i64* %sv_1, align 8
%33 = call i64 @FUNC(i64 %21, i64 %32, i64 %31, i64 %30)
%34 = trunc i64 %33 to i32
%35 = icmp eq i32 %34, 0
store i64 %33, i64* %sv_0.0.reg2mem
store i64 %33, i64* %sv_0.1.reg2mem
br i1 %35, label LBL_8, label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%36 = call i64 @FUNC(i64 %21)
store i64 0, i64* %arg1, align 8
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_8
LBL_8:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%37 = load i64, i64* %sv_1, align 8
%38 = icmp eq i64 %37, %3
store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem
br i1 %38, label LBL_10, label LBL_9
LBL_9:
%39 = call i64 @FUNC(i64 %37)
store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem
br label LBL_10
LBL_10:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = and i64 %storemerge.in.reload, 4294967295
ret i64 %storemerge
uselistorder i64 %37, { 1, 0 }
uselistorder i64 %sv_0.1.reload, { 1, 0 }
uselistorder i64 %21, { 1, 0, 2, 3 }
uselistorder i64 %4, { 1, 0, 2, 3 }
uselistorder i64 %3, { 0, 2, 1 }
uselistorder i64* %sv_2, { 1, 2, 0 }
uselistorder i64* %sv_1, { 1, 2, 3, 0 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64)* @xfree, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64* %arg5, { 2, 0, 1 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_10, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
BinRealVul | rdfsbase_5905 | rdfsbase | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC()
%3 = and i64 %2, 32
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC()
store i64 %5, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%6 = call i64 @FUNC(i64 3221225728, i64 %1)
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 32, { 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
} | 0 |
BinRealVul | srt_decode_frame_4938 | srt_decode_frame | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.in.reg2mem = alloca i32
%.reg2mem = alloca i32
%storemerge.in.pre.reg2mem = alloca i32
%sv_0.0.in5.reg2mem = alloca i64
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%rcx = alloca i64, align 8
%2 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i32, align 4
%sv_4 = alloca i32, align 4
%sv_5 = alloca i32, align 4
%sv_6 = alloca i32, align 4
%sv_7 = alloca i32, align 4
%sv_8 = alloca i32*, align 8
store i32* %arg4, i32** %sv_8, align 8
store i32 -1, i32* %sv_7, align 4
store i32 -1, i32* %sv_6, align 4
store i32 -1, i32* %sv_5, align 4
store i32 -1, i32* %sv_4, align 4
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp slt i32 %3, 0
%6 = icmp eq i1 %5, false
%7 = icmp eq i1 %4, false
%8 = icmp eq i1 %6, %7
store i32 %3, i32* %storemerge.in.reg2mem
br i1 %8, label LBL_1, label LBL_8
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = ptrtoint i32* %arg4 to i64
%11 = add i64 %10, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%sext = mul i64 %2, 4294967296
%14 = ashr exact i64 %sext, 32
%15 = add i64 %13, %14
%16 = trunc i64 %1 to i32
%17 = call i64 @FUNC(i64 %9)
%18 = icmp ugt i64 %15, %13
%19 = icmp eq i1 %18, false
store i32 %3, i32* %storemerge.in.pre.reg2mem
store i32 %16, i32* %.reg2mem
br i1 %19, label LBL_7, label LBL_2
LBL_2:
%20 = ptrtoint i64* %arg1 to i64
%21 = ptrtoint i32** %sv_8 to i64
%22 = bitcast i64* %rcx to i32*
%23 = add i64 %21, -8
%24 = inttoptr i64 %23 to i64*
%25 = ptrtoint i32* %sv_4 to i64
%26 = bitcast i32* %sv_2 to i64*
%27 = bitcast i32* %sv_3 to i64*
%28 = add i64 %21, -16
%29 = inttoptr i64 %28 to i64*
store i64 %13, i64* %sv_0.0.in5.reg2mem
br label LBL_5
LBL_3:
store i64 %25, i64* %24, align 8
%30 = call i64 @FUNC(i64 %sv_0.0.in5.reload, i64* nonnull %26, i64* nonnull %27, i32* nonnull %sv_7, i32* nonnull %sv_6, i32* nonnull %sv_5, i64 ptrtoint (i32* @0 to i64))
%31 = icmp eq i64 %30, 0
br i1 %31, label LBL_6, label LBL_4
LBL_4:
%32 = load i32, i32* %sv_4, align 4
%33 = zext i32 %32 to i64
%34 = load i32, i32* %sv_5, align 4
%35 = zext i32 %34 to i64
%36 = load i32, i32* %sv_6, align 4
%37 = load i32, i32* %sv_7, align 4
store i64 %33, i64* %24, align 8
store i64 %35, i64* %29, align 8
%38 = zext i32 %37 to i64
%39 = call i64 @FUNC(i64 %20, i64* nonnull %sv_1, i32* nonnull %sv_4, i64 %30, i64 %38, i32 %36, i64 %30)
%40 = load i32, i32* %sv_3, align 4
%41 = zext i32 %40 to i64
%42 = load i32, i32* %sv_2, align 4
%43 = zext i32 %42 to i64
%44 = call i64 @FUNC(i64 %9, i64* nonnull %sv_1, i64 %43, i64 %41, i64 0)
%45 = icmp ugt i64 %15, %39
%46 = icmp eq i1 %45, false
store i64 %39, i64* %sv_0.0.in5.reg2mem
br i1 %46, label LBL_6, label LBL_5
LBL_5:
%sv_0.0.in5.reload = load i64, i64* %sv_0.0.in5.reg2mem
%sv_0.0 = inttoptr i64 %sv_0.0.in5.reload to i8*
%47 = load i8, i8* %sv_0.0, align 1
%48 = icmp eq i8 %47, 0
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_3, label LBL_6
LBL_6:
%.phi.trans.insert = bitcast i64* %rsi to i32*
%.pre = load i32, i32* %.phi.trans.insert, align 8
%storemerge.in.pre.pre = load i32, i32* %22, align 8
store i32 %storemerge.in.pre.pre, i32* %storemerge.in.pre.reg2mem
store i32 %.pre, i32* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i32, i32* %.reg2mem
%storemerge.in.pre.reload = load i32, i32* %storemerge.in.pre.reg2mem
%50 = icmp eq i32 %.reload, 0
%51 = icmp slt i32 %.reload, 0
%52 = icmp eq i1 %51, false
%53 = icmp eq i1 %50, false
%54 = icmp eq i1 %52, %53
%55 = zext i1 %54 to i32
%56 = bitcast i64* %arg3 to i32*
store i32 %55, i32* %56, align 4
store i32 %storemerge.in.pre.reload, i32* %storemerge.in.reg2mem
br label LBL_8
LBL_8:
%storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem
%storemerge = zext i32 %storemerge.in.reload to i64
ret i64 %storemerge
uselistorder i32 %.reload, { 1, 0 }
uselistorder i64 %sv_0.0.in5.reload, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i64 %15, { 1, 0 }
uselistorder i64 %13, { 0, 2, 1 }
uselistorder i32 %3, { 1, 0, 2, 3 }
uselistorder i32* %sv_7, { 1, 0, 2 }
uselistorder i32* %sv_6, { 1, 0, 2 }
uselistorder i32* %sv_5, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0 }
uselistorder i32* %storemerge.in.pre.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i1 false, { 3, 1, 4, 5, 0, 6, 2 }
uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6, 7, 8 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | raptor_rdfxml_parse_start_4518 | raptor_rdfxml_parse_start | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp eq i64* %arg1, null
%5 = icmp eq i1 %4, false
store i64 1, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_8
LBL_1:
%6 = call i64 @FUNC(i64 %0, i64 1)
%7 = inttoptr i64 %3 to i64*
%8 = load i64, i64* %7, align 8
%9 = and i64 %6, 4294967295
%10 = call i64 @FUNC(i64 %8, i64 1, i64 0, i64 %9)
%11 = call i64 @FUNC(i64 %0, i64 2)
%12 = load i64, i64* %7, align 8
%13 = and i64 %11, 4294967295
%14 = call i64 @FUNC(i64 %12, i64 2, i64 0, i64 %13)
%15 = call i64 @FUNC(i64 %0, i64 3)
%16 = load i64, i64* %7, align 8
%17 = and i64 %15, 4294967295
%18 = call i64 @FUNC(i64 %16, i64 3, i64 0, i64 %17)
%19 = call i64 @FUNC(i64 %0, i64 4)
%20 = load i64, i64* %7, align 8
%21 = and i64 %19, 4294967295
%22 = call i64 @FUNC(i64 %20, i64 4, i64 0, i64 %21)
%23 = add i64 %0, 16
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label LBL_3, label LBL_2
LBL_2:
%27 = add i64 %0, 24
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = load i64, i64* %7, align 8
%31 = call i64 @FUNC(i64 %30, i64 %25, i64 %29)
br label LBL_3
LBL_3:
%32 = load i64, i64* %7, align 8
%33 = call i64 @FUNC(i64 %32, i64 %0)
%34 = add i64 %3, 8
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = icmp eq i64 %36, 0
br i1 %37, label LBL_5, label LBL_4
LBL_4:
%38 = call i64 @FUNC(i64 %36)
store i64 0, i64* %35, align 8
br label LBL_5
LBL_5:
%39 = call i64 @FUNC(i64 %0, i64 5)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
br i1 %41, label LBL_7, label LBL_6
LBL_6:
%42 = add i64 %0, 32
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = call i64 @FUNC(i64 %44)
store i64 %45, i64* %35, align 8
%46 = icmp eq i64 %45, 0
%47 = icmp eq i1 %46, false
store i64 1, i64* %rax.0.reg2mem
br i1 %47, label LBL_7, label LBL_8
LBL_7:
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %35, { 1, 0, 2 }
uselistorder i64* %7, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 6, 7, 8, 9 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 (i64, i64, i64, i64)* @raptor_sax2_set_option, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @RAPTOR_OPTIONS_GET_NUMERIC, { 4, 3, 2, 1, 0 }
uselistorder label LBL_8, { 2, 0, 1 }
} | 0 |
BinRealVul | avformat_network_init_2858 | avformat_network_init | define i64 @FUNC() local_unnamed_addr {
LBL_0:
store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8
%0 = call i64 @FUNC()
%1 = trunc i64 %0 to i32
%2 = icmp slt i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %0, 4294967295
ret i64 %4
LBL_2:
%5 = call i64 @FUNC()
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
%9 = and i64 %5, 4294967295
%spec.select = select i1 %8, i64 0, i64 %9
ret i64 %spec.select
} | 0 |
BinRealVul | can_safely_read_1096 | can_safely_read | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%sext = mul i64 %1, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = icmp uge i64 %2, %arg2
%4 = zext i1 %3 to i64
ret i64 %4
} | 0 |
BinRealVul | nbd_export_close_15718 | nbd_export_close | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = icmp eq i64* %arg1, null
store i64 %0, i64* %storemerge1.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%3 = inttoptr i64 %storemerge1.reload to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %storemerge1.reload)
%6 = icmp eq i64 %4, 0
store i64 %4, i64* %storemerge1.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_2:
%7 = call i64 @FUNC(i64 %0, i64 0)
%8 = call i64 @FUNC(i64 %0)
%9 = add i64 %0, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = load i64, i64* @gv_0, align 8
%14 = load i64, i64* @gv_1, align 8
%15 = call i64 @FUNC(i64 %11, i64 %14, i64 %13, i64 %0)
%16 = load i64, i64* %10, align 8
%17 = call i64 @FUNC(i64 %16)
store i64 0, i64* %10, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 0, 2, 5, 4, 3, 1, 6 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | get_moov_size_2574 | get_moov_size | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = call i64 @FUNC(i64* nonnull %sv_0)
%1 = trunc i64 %0 to i32
%2 = icmp slt i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %0, 4294967295
store i64 %4, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%5 = ptrtoint i64* %arg1 to i64
%6 = load i64, i64* %sv_0, align 8
%7 = call i64 @FUNC(i64 %6, i64 %5, i64 %5)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = and i64 %7, 4294967295
store i64 %11, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%12 = load i64, i64* %sv_0, align 8
%13 = call i64 @FUNC(i64 %12)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 1, 0 }
uselistorder i64* %sv_0, { 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 0, { 1, 2, 0 }
} | 0 |
BinRealVul | mb86a20s_reset_frontend_cache_10496 | mb86a20s_reset_frontend_cache | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
%7 = inttoptr i64 %5 to i32*
store i32 1, i32* %7, align 4
%8 = add i64 %4, 12
%9 = inttoptr i64 %8 to i32*
store i32 6000000, i32* %9, align 4
%10 = add i64 %4, 16
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %4, 20
%13 = inttoptr i64 %12 to i32*
store i32 0, i32* %13, align 4
%14 = add i64 %4, 24
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
%16 = add i64 %4, 28
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
%18 = add i64 %4, 32
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %19, align 4
ret i64 %5
uselistorder i64* %0, { 2, 1, 0 }
} | 0 |
BinRealVul | br_multicast_init_9125 | br_multicast_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i32*
store i32 4, i32* %1, align 4
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
store i32 512, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
store i32 1, i32* %5, align 4
%6 = add i64 %0, 12
%7 = inttoptr i64 %6 to i32*
store i32 2, i32* %7, align 4
%8 = add i64 %0, 16
%9 = inttoptr i64 %8 to i32*
store i32 2, i32* %9, align 4
%10 = add i64 %0, 20
%11 = inttoptr i64 %10 to i32*
store i32 100, i32* %11, align 4
%12 = add i64 %0, 24
%13 = inttoptr i64 %12 to i32*
store i32 1000, i32* %13, align 4
%14 = add i64 %0, 28
%15 = inttoptr i64 %14 to i32*
store i32 3125, i32* %15, align 4
%16 = add i64 %0, 32
%17 = inttoptr i64 %16 to i32*
store i32 12500, i32* %17, align 4
%18 = add i64 %0, 36
%19 = inttoptr i64 %18 to i32*
store i32 25500, i32* %19, align 4
%20 = add i64 %0, 40
%21 = inttoptr i64 %20 to i32*
store i32 26000, i32* %21, align 4
%22 = add i64 %0, 48
%23 = call i64 @FUNC(i64 %22)
%24 = add i64 %0, 56
%25 = call i64 @FUNC(i64 %24, i64 4198772, i64 0)
%26 = add i64 %0, 64
%27 = call i64 @FUNC(i64 %26, i64 4198772, i64 0)
%28 = add i64 %0, 72
%29 = call i64 @FUNC(i64 %28, i64 4198779, i64 %0)
ret i64 %29
uselistorder i64 (i64, i64, i64)* @setup_timer, { 2, 1, 0 }
uselistorder i32 4, { 2, 0, 1 }
} | 0 |
BinRealVul | nfsd_create_serv_4864 | nfsd_create_serv | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%2 = call i64 @FUNC(i64* nonnull @gv_0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = load i64, i64* @gv_1, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %7)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%10 = load i32, i32* @gv_2, align 4
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_6, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64* nonnull %sv_0)
store i32 65536, i32* @gv_2, align 4
%14 = icmp ult i64 %1, 65536
store i32 65536, i32* %storemerge2.reg2mem
br i1 %14, label LBL_4, label LBL_6
LBL_4:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%15 = icmp slt i32 %storemerge2.reload, 0
%16 = zext i1 %15 to i32
%17 = add nsw i32 %storemerge2.reload, %16
%18 = ashr i32 %17, 1
%19 = sext i32 %18 to i64
%20 = icmp ult i64 %1, %19
%21 = icmp sgt i32 %17, 32767
%or.cond = icmp eq i1 %21, %20
store i32 %18, i32* %storemerge2.reg2mem
br i1 %or.cond, label LBL_4, label LBL_5
LBL_5:
store i32 %18, i32* @gv_2, align 4
br label LBL_6
LBL_6:
%22 = call i64 @FUNC()
%23 = load i64, i64* @gv_3, align 8
%24 = load i64, i64* @gv_4, align 8
%25 = load i32, i32* @gv_5, align 4
%26 = load i32, i32* @gv_2, align 4
%27 = zext i32 %26 to i64
%28 = call i64 @FUNC(i64* nonnull @gv_6, i64 %27, i32 %25, i64 %24, i64 %23)
store i64 %28, i64* @gv_1, align 8
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %30, label LBL_7, label LBL_8
LBL_7:
%31 = call i64 @FUNC()
%32 = call i64 @FUNC(i64* nonnull @gv_7)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %18, { 1, 0, 2 }
uselistorder i32 %storemerge2.reload, { 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32* @gv_2, { 3, 0, 1, 2 }
uselistorder i32 1, { 9, 8, 5, 4, 3, 2, 1, 0, 7, 6 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | nvme_identify_ns_16454 | nvme_identify_ns | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = and i64 %2, 4294967295
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %3, 16
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = trunc i64 %1 to i32
%16 = add i32 %6, -1
%17 = icmp ult i32 %16, %15
store i64 3, i64* %storemerge.reg2mem
br i1 %17, label LBL_1, label LBL_2
LBL_1:
%18 = ptrtoint i32* %arg1 to i64
%19 = add i64 %18, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = mul i64 %5, 2
%23 = add i64 %22, 8589934590
%24 = and i64 %23, 8589934590
%25 = add i64 %21, %24
%26 = call i64 @FUNC(i64 %18, i64 %25, i64 2, i64 %10, i64 %14)
store i64 %26, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 8589934590, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64)* @le64_to_cpu, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | virtio_balloon_class_init_17245 | virtio_balloon_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 0, i64 %5)
store i64 4198669, i64* %arg1, align 8
store i64 4198676, i64* %2, align 8
store i64 4198683, i64* %4, align 8
%7 = add i64 %0, 24
%8 = inttoptr i64 %7 to i64*
store i64 4198690, i64* %8, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3 }
} | 1 |
BinRealVul | i2c_pxa_wait_bus_not_busy_4758 | i2c_pxa_wait_bus_not_busy | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem6 = alloca i64
%sv_0.12.reg2mem = alloca i32
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
store i32 99, i32* %.reg2mem
store i32 100, i32* %sv_0.12.reg2mem
br label LBL_2
LBL_1:
%sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem
%1 = call i64 @FUNC(i64 %0)
%2 = and i64 %1, 4294967295
%3 = call i64 @FUNC(i64 %2)
%4 = and i64 %3, 4
%5 = icmp eq i64 %4, 0
%6 = add i32 %sv_0.12.reload, 3
%spec.select = select i1 %5, i32 %.reload, i32 %6
%7 = call i64 @FUNC(i64 2)
%8 = call i64 @FUNC(i64 %0)
%9 = add i32 %spec.select, -1
%10 = icmp eq i32 %spec.select, 0
store i32 %9, i32* %.reg2mem
store i32 %spec.select, i32* %sv_0.12.reg2mem
br i1 %10, label LBL_4, label LBL_2
LBL_2:
%.reload = load i32, i32* %.reg2mem
%11 = call i64 @FUNC(i64 %0)
%12 = and i64 %11, 4294967295
%13 = call i64 @FUNC(i64 %12)
%14 = urem i64 %13, 4
%15 = icmp eq i64 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_1, label LBL_3
LBL_3:
%17 = icmp slt i32 %.reload, 0
%18 = icmp eq i1 %17, false
store i64 0, i64* %.reg2mem6
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = call i64 @FUNC(i64 %0)
store i64 4294967295, i64* %.reg2mem6
br label LBL_5
LBL_5:
%.reload7 = load i64, i64* %.reg2mem6
ret i64 %.reload7
uselistorder i32 %.reload, { 1, 0 }
uselistorder i64 %0, { 3, 2, 0, 1 }
uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem6, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | qtrle_decode_32bpp_1186 | qtrle_decode_32bpp | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%sv_0.029.reg2mem = alloca i64
%sv_1.130.reg2mem = alloca i32
%sv_2.131.reg2mem = alloca i32
%.reg2mem144 = alloca i64
%sv_1.027.reg2mem = alloca i32
%sv_2.028.reg2mem = alloca i32
%sv_1.2.be.reg2mem = alloca i32
%sv_0.1.be.reg2mem = alloca i64
%sv_1.235.reg2mem = alloca i32
%.reg2mem142 = alloca i64
%.reg2mem140 = alloca i64
%.reg2mem = alloca i64
%.in.reg2mem = alloca i8
%sv_0.239.reg2mem = alloca i64
%sv_3.040.reg2mem = alloca i64
%sext641.in.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext5 = mul i64 %arg4, 4294967296
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %0, 24
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%sv_4.037 = ashr exact i64 %sext5, 32
%11 = and i64 %sv_4.037, 4294967295
%12 = trunc i64 %sv_4.037 to i32
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 %11, i64* %rax.0.reg2mem
br i1 %14, label LBL_1, label LBL_25
LBL_1:
%15 = mul i32 %10, %5
%sext4 = mul i64 %arg3, 4294967296
%16 = ashr exact i64 %sext4, 32
%sext = mul i64 %arg2, 4294967296
%17 = ashr exact i64 %sext, 32
%18 = add i64 %0, 32
%19 = inttoptr i64 %18 to i64*
%20 = sext i32 %15 to i64
store i64 %sext5, i64* %sext641.in.reg2mem
store i64 %16, i64* %sv_3.040.reg2mem
store i64 %17, i64* %sv_0.239.reg2mem
br label LBL_2
LBL_2:
%sv_0.239.reload = load i64, i64* %sv_0.239.reg2mem
%21 = add nsw i64 %sv_0.239.reload, 2
%22 = trunc i64 %21 to i32
%23 = icmp ult i32 %22, 9
br i1 %23, label LBL_3, label LBL_2.LBL_25.loopexit24_crit_edge
LBL_3:
%sv_3.040.reload = load i64, i64* %sv_3.040.reg2mem
%24 = load i64, i64* %19, align 8
%25 = add i64 %24, %sv_0.239.reload
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = zext i8 %27 to i32
%29 = mul i32 %28, 4
%30 = trunc i64 %sv_3.040.reload to i32
%31 = add i32 %30, -4
%32 = add i32 %31, %29
%33 = icmp sgt i32 %32, %15
br i1 %33, label LBL_3.LBL_25.loopexit24_crit_edge, label LBL_4
LBL_4:
%sext641.in.reload = load i64, i64* %sext641.in.reg2mem
%34 = mul i64 %sv_0.239.reload, 4294967296
%sext7 = add i64 %34, 4294967296
%35 = ashr exact i64 %sext7, 32
%sext934 = add i64 %34, 8589934592
%36 = ashr exact i64 %sext934, 32
%37 = add i64 %24, %35
%38 = inttoptr i64 %37 to i8*
%39 = load i8, i8* %38, align 1
%40 = icmp eq i8 %39, -1
%41 = icmp eq i1 %40, false
store i8 %39, i8* %.in.reg2mem
store i64 %36, i64* %.reg2mem
store i64 %sext7, i64* %.reg2mem140
store i64 %24, i64* %.reg2mem142
store i32 %32, i32* %sv_1.235.reg2mem
store i64 %36, i64* %.lcssa.reg2mem
br i1 %41, label LBL_5, label LBL_17
LBL_5:
%sv_1.235.reload = load i32, i32* %sv_1.235.reg2mem
%.reload143 = load i64, i64* %.reg2mem142
%.reload141 = load i64, i64* %.reg2mem140
%.reload = load i64, i64* %.reg2mem
%.in.reload = load i8, i8* %.in.reg2mem
%42 = icmp eq i8 %.in.reload, 0
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_9, label LBL_6
LBL_6:
%44 = add nsw i64 %.reload, 1
%45 = trunc i64 %44 to i32
%46 = icmp ult i32 %45, 9
br i1 %46, label LBL_7, label LBL_18
LBL_7:
%sext11 = add i64 %.reload141, 8589934592
%47 = ashr exact i64 %sext11, 32
%48 = add i64 %.reload143, %.reload
%49 = inttoptr i64 %48 to i8*
%50 = load i8, i8* %49, align 1
%51 = zext i8 %50 to i32
%52 = mul i32 %51, 4
%53 = add i32 %sv_1.235.reload, -4
%54 = add i32 %53, %52
%55 = icmp sgt i32 %54, %15
store i64 %47, i64* %sv_0.1.be.reg2mem
store i32 %54, i32* %sv_1.2.be.reg2mem
br i1 %55, label LBL_21, label LBL_8
LBL_8:
%sv_1.2.be.reload = load i32, i32* %sv_1.2.be.reg2mem
%sv_0.1.be.reload = load i64, i64* %sv_0.1.be.reg2mem
%56 = load i64, i64* %19, align 8
%57 = mul i64 %sv_0.1.be.reload, 4294967296
%sext9 = add i64 %57, 4294967296
%58 = ashr exact i64 %sext9, 32
%59 = add i64 %56, %sv_0.1.be.reload
%60 = inttoptr i64 %59 to i8*
%61 = load i8, i8* %60, align 1
%62 = icmp eq i8 %61, -1
%63 = icmp eq i1 %62, false
store i8 %61, i8* %.in.reg2mem
store i64 %58, i64* %.reg2mem
store i64 %57, i64* %.reg2mem140
store i64 %56, i64* %.reg2mem142
store i32 %sv_1.2.be.reload, i32* %sv_1.235.reg2mem
store i64 %58, i64* %.lcssa.reg2mem
br i1 %63, label LBL_5, label LBL_17
LBL_9:
%64 = sext i8 %.in.reload to i32
%65 = icmp slt i8 %.in.reload, 0
%66 = icmp eq i1 %65, false
br i1 %66, label LBL_13, label LBL_10
LBL_10:
%67 = add nsw i64 %.reload, 4
%68 = trunc i64 %67 to i32
%69 = icmp ult i32 %68, 9
br i1 %69, label LBL_11, label LBL_19
LBL_11:
%70 = sub nsw i32 0, %64
%71 = add i64 %.reload143, %.reload
%72 = inttoptr i64 %71 to i8*
%73 = load i8, i8* %72, align 1
%sext14 = add i64 %.reload141, 8589934592
%74 = ashr exact i64 %sext14, 32
%75 = add i64 %74, %.reload143
%76 = inttoptr i64 %75 to i8*
%77 = load i8, i8* %76, align 1
%sext15 = add i64 %.reload141, 12884901888
%78 = ashr exact i64 %sext15, 32
%79 = add i64 %78, %.reload143
%80 = inttoptr i64 %79 to i8*
%81 = load i8, i8* %80, align 1
%82 = add i64 %.reload141, 17179869184
%sext16 = add i64 %.reload141, 21474836480
%83 = ashr exact i64 %sext16, 32
%84 = ashr exact i64 %82, 32
%85 = add i64 %84, %.reload143
%86 = inttoptr i64 %85 to i8*
%87 = load i8, i8* %86, align 1
%88 = zext i8 %73 to i32
%89 = mul i32 %88, 16777216
%90 = zext i8 %77 to i32
%91 = mul i32 %90, 65536
%92 = or i32 %91, %89
%93 = zext i8 %81 to i32
%94 = mul i32 %93, 256
%95 = or i32 %92, %94
%96 = zext i8 %87 to i32
%97 = or i32 %95, %96
%98 = mul i32 %70, 4
%99 = add i32 %sv_1.235.reload, %98
%100 = zext i32 %99 to i64
%101 = icmp slt i64 %20, %100
store i32 %70, i32* %sv_2.028.reg2mem
store i32 %sv_1.235.reload, i32* %sv_1.027.reg2mem
store i64 %100, i64* %rax.0.reg2mem
br i1 %101, label LBL_25, label LBL_12
LBL_12:
%sv_1.027.reload = load i32, i32* %sv_1.027.reg2mem
%sv_2.028.reload = load i32, i32* %sv_2.028.reg2mem
%102 = add i32 %sv_2.028.reload, -1
%103 = sext i32 %sv_1.027.reload to i64
%104 = add i64 %103, %0
%105 = inttoptr i64 %104 to i32*
store i32 %97, i32* %105, align 4
%106 = add i32 %sv_1.027.reload, 4
%107 = icmp eq i32 %102, 0
%108 = icmp eq i1 %107, false
store i64 %83, i64* %sv_0.1.be.reg2mem
store i32 %106, i32* %sv_1.2.be.reg2mem
store i32 %102, i32* %sv_2.028.reg2mem
store i32 %106, i32* %sv_1.027.reg2mem
br i1 %108, label LBL_12, label LBL_8
LBL_13:
%109 = mul i32 %64, 4
%110 = trunc i64 %.reload to i32
%111 = add i32 %109, %110
%112 = icmp ult i32 %111, 9
br i1 %112, label LBL_14, label LBL_20
LBL_14:
%113 = add i32 %sv_1.235.reload, %109
%114 = zext i32 %113 to i64
%115 = icmp slt i64 %20, %114
store i64 %.reload143, i64* %.reg2mem144
store i32 %64, i32* %sv_2.131.reg2mem
store i32 %sv_1.235.reload, i32* %sv_1.130.reg2mem
store i64 %.reload, i64* %sv_0.029.reg2mem
store i64 %114, i64* %rax.0.reg2mem
br i1 %115, label LBL_25, label LBL_15
LBL_15:
%sv_0.029.reload = load i64, i64* %sv_0.029.reg2mem
%sv_1.130.reload = load i32, i32* %sv_1.130.reg2mem
%sv_2.131.reload = load i32, i32* %sv_2.131.reg2mem
%.reload145 = load i64, i64* %.reg2mem144
%116 = add i32 %sv_2.131.reload, -1
%sext18 = mul i64 %sv_0.029.reload, 4294967296
%117 = add i64 %sv_0.029.reload, %.reload145
%118 = inttoptr i64 %117 to i8*
%119 = load i8, i8* %118, align 1
%sext19 = add i64 %sext18, 4294967296
%120 = ashr exact i64 %sext19, 32
%121 = add i64 %120, %.reload145
%122 = inttoptr i64 %121 to i8*
%123 = load i8, i8* %122, align 1
%sext20 = add i64 %sext18, 8589934592
%124 = ashr exact i64 %sext20, 32
%125 = add i64 %124, %.reload145
%126 = inttoptr i64 %125 to i8*
%127 = load i8, i8* %126, align 1
%128 = add i64 %sext18, 12884901888
%sext21 = add i64 %sext18, 17179869184
%129 = ashr exact i64 %sext21, 32
%130 = ashr exact i64 %128, 32
%131 = add i64 %130, %.reload145
%132 = inttoptr i64 %131 to i8*
%133 = load i8, i8* %132, align 1
%134 = zext i8 %119 to i32
%135 = mul i32 %134, 16777216
%136 = zext i8 %123 to i32
%137 = mul i32 %136, 65536
%138 = or i32 %137, %135
%139 = zext i8 %127 to i32
%140 = mul i32 %139, 256
%141 = or i32 %138, %140
%142 = zext i8 %133 to i32
%143 = or i32 %141, %142
%144 = sext i32 %sv_1.130.reload to i64
%145 = add i64 %144, %0
%146 = inttoptr i64 %145 to i32*
store i32 %143, i32* %146, align 4
%147 = add i32 %sv_1.130.reload, 4
%148 = icmp eq i32 %116, 0
%149 = icmp eq i1 %148, false
store i64 %129, i64* %sv_0.1.be.reg2mem
store i32 %147, i32* %sv_1.2.be.reg2mem
br i1 %149, label LBL_15.LBL_15_crit_edge, label LBL_8
LBL_16:
%.pre = load i64, i64* %19, align 8
store i64 %.pre, i64* %.reg2mem144
store i32 %116, i32* %sv_2.131.reg2mem
store i32 %147, i32* %sv_1.130.reg2mem
store i64 %129, i64* %sv_0.029.reg2mem
br label LBL_15
LBL_17:
%sext641 = add i64 %sext641.in.reload, -4294967296
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%150 = add i32 %5, %30
%151 = sext i32 %150 to i64
%sv_4.0 = ashr exact i64 %sext641, 32
%152 = trunc i64 %sv_4.0 to i32
%153 = icmp eq i32 %152, 0
%154 = icmp eq i1 %153, false
store i64 %sext641, i64* %sext641.in.reg2mem
store i64 %151, i64* %sv_3.040.reg2mem
store i64 %.lcssa.reload, i64* %sv_0.239.reg2mem
br i1 %154, label LBL_2, label LBL_22
LBL_18:
%155 = and i64 %44, 4294967295
store i64 %155, i64* %rax.0.reg2mem
br label LBL_25
LBL_19:
%156 = and i64 %67, 4294967295
store i64 %156, i64* %rax.0.reg2mem
br label LBL_25
LBL_20:
%157 = zext i32 %111 to i64
store i64 %157, i64* %rax.0.reg2mem
br label LBL_25
LBL_21:
%158 = zext i32 %54 to i64
store i64 %158, i64* %rax.0.reg2mem
br label LBL_25
LBL_22:
%159 = and i64 %sv_4.0, 4294967295
store i64 %159, i64* %rax.0.reg2mem
br label LBL_25
LBL_23:
%160 = zext i32 %32 to i64
store i64 %160, i64* %rax.0.reg2mem
br label LBL_25
LBL_24:
%161 = and i64 %21, 4294967295
store i64 %161, i64* %rax.0.reg2mem
br label LBL_25
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sext18, { 2, 3, 1, 0 }
uselistorder i64 %.reload145, { 3, 2, 1, 0 }
uselistorder i32 %109, { 1, 0 }
uselistorder i32 %54, { 1, 0, 2 }
uselistorder i8 %.in.reload, { 2, 0, 1 }
uselistorder i64 %.reload, { 0, 3, 5, 2, 4, 1 }
uselistorder i64 %.reload143, { 0, 5, 4, 3, 2, 1 }
uselistorder i32 %sv_1.235.reload, { 0, 4, 1, 3, 2 }
uselistorder i64 %34, { 1, 0 }
uselistorder i32 %32, { 1, 0, 2 }
uselistorder i64 %sv_0.239.reload, { 2, 1, 0 }
uselistorder i32 %15, { 0, 2, 1 }
uselistorder i64* %sext641.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.040.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.239.reg2mem, { 1, 0, 2 }
uselistorder i8* %.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem140, { 2, 0, 1 }
uselistorder i64* %.reg2mem142, { 2, 0, 1 }
uselistorder i32* %sv_1.235.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.1.be.reg2mem, { 2, 1, 0, 3 }
uselistorder i32* %sv_1.2.be.reg2mem, { 2, 1, 0, 3 }
uselistorder i32* %sv_2.028.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.027.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem144, { 2, 0, 1 }
uselistorder i32* %sv_2.131.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.130.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.029.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 6, 7, 8, 9, 10, 2, 1, 3 }
uselistorder i8 -1, { 1, 0 }
uselistorder i64 8589934592, { 3, 1, 2, 0 }
uselistorder i1 false, { 7, 2, 3, 4, 6, 5, 1, 0 }
uselistorder i64 4294967295, { 0, 1, 3, 2, 4 }
uselistorder i64 32, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11, 1, 13, 16, 15, 14, 0 }
uselistorder i64 4294967296, { 6, 0, 7, 1, 8, 2, 3, 4, 5 }
uselistorder label LBL_25, { 5, 4, 3, 9, 8, 7, 6, 1, 0, 2 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | SSL_free_19088 | SSL_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_44, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1, i64 4294967295, i64 0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp slt i32 %2, 0
%5 = icmp eq i1 %4, false
%6 = icmp eq i1 %3, false
%7 = icmp eq i1 %5, %6
store i64 %1, i64* %rax.0.reg2mem
br i1 %7, label LBL_44, label LBL_2
LBL_2:
%8 = add i64 %arg1, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %10)
br label LBL_4
LBL_4:
%13 = add i64 %arg1, 160
%14 = call i64 @FUNC(i64 0, i64 %arg1, i64 %13)
%15 = add i64 %arg1, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label LBL_8, label LBL_5
LBL_5:
%19 = add i64 %arg1, 24
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = icmp eq i64 %17, %21
%23 = icmp eq i1 %22, false
store i64 %17, i64* %.reg2mem
br i1 %23, label LBL_7, label LBL_6
LBL_6:
%24 = call i64 @FUNC(i64 %21)
store i64 %24, i64* %20, align 8
%.pre = load i64, i64* %16, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i64, i64* %.reg2mem
%25 = call i64 @FUNC(i64 %.reload)
store i64 0, i64* %16, align 8
br label LBL_8
LBL_8:
%26 = add i64 %arg1, 32
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label LBL_10, label LBL_9
LBL_9:
%30 = call i64 @FUNC(i64 %28)
br label LBL_10
LBL_10:
%31 = add i64 %arg1, 24
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label LBL_13, label LBL_11
LBL_11:
%35 = load i64, i64* %27, align 8
%36 = icmp eq i64 %33, %35
br i1 %36, label LBL_13, label LBL_12
LBL_12:
%37 = call i64 @FUNC(i64 %33)
br label LBL_13
LBL_13:
%38 = add i64 %arg1, 40
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = icmp eq i64 %40, 0
br i1 %41, label LBL_15, label LBL_14
LBL_14:
%42 = call i64 @FUNC(i64 %40)
br label LBL_15
LBL_15:
%43 = add i64 %arg1, 48
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = icmp eq i64 %45, 0
br i1 %46, label LBL_17, label LBL_16
LBL_16:
%47 = call i64 @FUNC(i64 %45)
br label LBL_17
LBL_17:
%48 = add i64 %arg1, 56
%49 = inttoptr i64 %48 to i64*
%50 = load i64, i64* %49, align 8
%51 = icmp eq i64 %50, 0
br i1 %51, label LBL_19, label LBL_18
LBL_18:
%52 = call i64 @FUNC(i64 %50)
br label LBL_19
LBL_19:
%53 = add i64 %arg1, 64
%54 = inttoptr i64 %53 to i64*
%55 = load i64, i64* %54, align 8
%56 = icmp eq i64 %55, 0
br i1 %56, label LBL_21, label LBL_20
LBL_20:
%57 = call i64 @FUNC(i64 %arg1)
%58 = load i64, i64* %54, align 8
%59 = call i64 @FUNC(i64 %58)
br label LBL_21
LBL_21:
%60 = call i64 @FUNC(i64 %arg1)
%61 = add i64 %arg1, 168
%62 = call i64 @FUNC(i64 %61)
%63 = add i64 %arg1, 176
%64 = call i64 @FUNC(i64 %63)
%65 = add i64 %arg1, 184
%66 = inttoptr i64 %65 to i64*
%67 = load i64, i64* %66, align 8
%68 = icmp eq i64 %67, 0
br i1 %68, label LBL_23, label LBL_22
LBL_22:
%69 = call i64 @FUNC(i64 %67)
br label LBL_23
LBL_23:
%70 = add i64 %arg1, 72
%71 = inttoptr i64 %70 to i64*
%72 = load i64, i64* %71, align 8
%73 = icmp eq i64 %72, 0
br i1 %73, label LBL_25, label LBL_24
LBL_24:
%74 = call i64 @FUNC(i64 %72)
br label LBL_25
LBL_25:
%75 = add i64 %arg1, 80
%76 = inttoptr i64 %75 to i64*
%77 = load i64, i64* %76, align 8
%78 = icmp eq i64 %77, 0
br i1 %78, label LBL_27, label LBL_26
LBL_26:
%79 = call i64 @FUNC(i64 %77)
br label LBL_27
LBL_27:
%80 = add i64 %arg1, 88
%81 = inttoptr i64 %80 to i64*
%82 = load i64, i64* %81, align 8
%83 = icmp eq i64 %82, 0
br i1 %83, label LBL_29, label LBL_28
LBL_28:
%84 = call i64 @FUNC(i64 %82)
br label LBL_29
LBL_29:
%85 = add i64 %arg1, 96
%86 = inttoptr i64 %85 to i64*
%87 = load i64, i64* %86, align 8
%88 = icmp eq i64 %87, 0
br i1 %88, label LBL_31, label LBL_30
LBL_30:
%89 = call i64 @FUNC(i64 %87)
br label LBL_31
LBL_31:
%90 = add i64 %arg1, 104
%91 = inttoptr i64 %90 to i64*
%92 = load i64, i64* %91, align 8
%93 = icmp eq i64 %92, 0
br i1 %93, label LBL_33, label LBL_32
LBL_32:
%94 = call i64 @FUNC(i64 %92)
br label LBL_33
LBL_33:
%95 = add i64 %arg1, 112
%96 = inttoptr i64 %95 to i64*
%97 = load i64, i64* %96, align 8
%98 = icmp eq i64 %97, 0
br i1 %98, label LBL_35, label LBL_34
LBL_34:
%99 = call i64 @FUNC(i64 %97, i64 4198939)
br label LBL_35
LBL_35:
%100 = add i64 %arg1, 120
%101 = inttoptr i64 %100 to i64*
%102 = load i64, i64* %101, align 8
%103 = icmp eq i64 %102, 0
br i1 %103, label LBL_37, label LBL_36
LBL_36:
%104 = call i64 @FUNC(i64 %102, i64 4198950)
br label LBL_37
LBL_37:
%105 = add i64 %arg1, 128
%106 = inttoptr i64 %105 to i64*
%107 = load i64, i64* %106, align 8
%108 = icmp eq i64 %107, 0
br i1 %108, label LBL_39, label LBL_38
LBL_38:
%109 = call i64 @FUNC(i64 %107)
br label LBL_39
LBL_39:
%110 = add i64 %arg1, 136
%111 = inttoptr i64 %110 to i64*
%112 = load i64, i64* %111, align 8
%113 = icmp eq i64 %112, 0
br i1 %113, label LBL_41, label LBL_40
LBL_40:
%114 = call i64 @FUNC(i64 %112, i64 4198976)
br label LBL_41
LBL_41:
%115 = add i64 %arg1, 152
%116 = inttoptr i64 %115 to i64*
%117 = load i64, i64* %116, align 8
%118 = icmp eq i64 %117, 0
br i1 %118, label LBL_43, label LBL_42
LBL_42:
%119 = call i64 @FUNC(i64 %117)
br label LBL_43
LBL_43:
%120 = call i64 @FUNC(i64 %arg1)
store i64 %120, i64* %rax.0.reg2mem
br label LBL_44
LBL_44:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %16, { 1, 0, 2 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @OPENSSL_free, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @SSL_CTX_free, { 1, 0 }
uselistorder i64 (i64)* @ssl_clear_hash_ctx, { 1, 0 }
uselistorder i64 (i64)* @sk_SSL_CIPHER_free, { 1, 0 }
uselistorder i64 (i64)* @BIO_free_all, { 1, 0 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i64 %arg1, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 15, 17, 18, 19, 20, 21, 23, 22, 25, 24, 26, 27, 28 }
uselistorder label LBL_44, { 2, 0, 1 }
} | 1 |
BinRealVul | kvm_mmu_create_9517 | kvm_mmu_create | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @exit(i32 1)
unreachable
LBL_2:
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
store i64 %3, i64* %arg1, align 8
%4 = inttoptr i64 %3 to i64*
store i64 -1, i64* %4, align 8
%5 = add i64 %2, 16
%6 = inttoptr i64 %5 to i64*
store i64 4198710, i64* %6, align 8
%7 = add i64 %2, 24
%8 = inttoptr i64 %7 to i64*
store i64 4198717, i64* %8, align 8
%9 = call i64 @FUNC(i64 %2)
ret i64 %9
uselistorder i64* %arg1, { 0, 2, 1 }
} | 0 |
BinRealVul | date2serialdate_8114 | date2serialdate | define i128 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = load i128, i128* %0
%2 = trunc i64 %arg1 to i32
%3 = add i64 %arg2, 4294967282
%sext = mul i64 %3, 4294967296
%4 = ashr exact i64 %sext, 32
%narrow = mul nsw i64 %4, 715827883
%5 = udiv i64 %narrow, 4294967296
%6 = trunc i64 %5 to i32
%7 = ashr i32 %6, 1
%8 = trunc i64 %3 to i32
%9 = ashr i32 %8, 31
%10 = sub nsw i32 %7, %9
%11 = add i32 %10, %arg3
%12 = mul i32 %11, 1461
%13 = add i32 %12, 7012800
%14 = add i32 %12, 7012803
%15 = icmp slt i32 %13, 0
%16 = select i1 %15, i32 %14, i32 %13
%17 = ashr i32 %16, 2
%18 = trunc i64 %arg2 to i32
%19 = add i32 %18, -2
%20 = sub nsw i32 %9, %7
%21 = mul i32 %20, 12
%22 = add i32 %19, %21
%23 = mul i32 %22, 367
%24 = sext i32 %23 to i64
%25 = mul nsw i64 %24, 715827883
%26 = udiv i64 %25, 4294967296
%27 = trunc i64 %26 to i32
%28 = ashr i32 %27, 1
%29 = icmp slt i32 %23, 0
%.neg = zext i1 %29 to i32
%30 = add i32 %11, 4900
%31 = sdiv i32 %30, 100
%32 = mul nsw i32 %31, 3
%33 = sdiv i32 %32, 8
%34 = add i32 %2, -2447094
%35 = add i32 %34, %.neg
%36 = add i32 %35, %17
%37 = add i32 %36, %28
%38 = sub i32 %37, %33
%39 = call i128 @FUNC(i128 %1, i128 %1)
%40 = call i128 @FUNC(i32 %38)
ret i128 %40
uselistorder i32 %13, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 4294967296, { 1, 2, 0 }
uselistorder i32 1, { 1, 2, 0 }
} | 0 |
BinRealVul | bm_fillcircle_12788 | bm_fillcircle | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.in.reg2mem = alloca i32
%sv_0.2.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i32
%0 = trunc i64 %arg4 to i32
%1 = sub i32 0, %0
%2 = mul i32 %0, 2
%3 = sub i32 2, %2
%4 = trunc i64 %arg2 to i32
store i32 %1, i32* %sv_2.0.reg2mem
store i32 0, i32* %sv_1.0.reg2mem
store i32 %3, 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 i32, i32* %sv_1.0.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%5 = add i32 %sv_2.0.reload, %4
%6 = sub i32 %4, %sv_2.0.reload
%7 = zext i32 %6 to i64
store i32 %5, i32* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%8 = sext i32 %storemerge.reload to i64
%9 = icmp sgt i64 %8, %7
%10 = add i32 %storemerge.reload, 1
store i32 %10, i32* %storemerge.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_3:
%11 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload
store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem
br i1 %11, label LBL_4, label LBL_5
LBL_4:
%12 = add i32 %sv_2.0.reload, 1
%13 = mul i32 %12, 2
%14 = or i32 %13, 1
%15 = add i32 %14, %sv_0.0.reload
store i32 %12, i32* %sv_2.1.reg2mem
store i32 %15, i32* %sv_0.1.reg2mem
br label LBL_5
LBL_5:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%16 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem
store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem
br i1 %16, label LBL_7, label LBL_6
LBL_6:
%17 = add i32 %sv_1.0.reload, 1
%18 = mul i32 %17, 2
%19 = or i32 %18, 1
%20 = add i32 %sv_0.1.reload, %19
store i32 %17, i32* %sv_1.1.reg2mem
store i32 %20, i32* %sv_0.2.reg2mem
store i32 %19, i32* %rax.0.in.reg2mem
br label LBL_7
LBL_7:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%21 = icmp slt i32 %sv_2.1.reload, 0
store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem
br i1 %21, label LBL_1, label LBL_8
LBL_8:
%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 %sv_2.1.reload, { 1, 0 }
uselistorder i32 %sv_0.1.reload, { 1, 0 }
uselistorder i32 %storemerge.reload, { 1, 0 }
uselistorder i32 %sv_2.0.reload, { 2, 0, 3, 1, 4 }
uselistorder i32 %sv_1.0.reload, { 1, 0, 2 }
uselistorder i32 %sv_0.0.reload, { 0, 3, 4, 1, 2 }
uselistorder i32 %4, { 1, 0 }
uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 0, 1, 3, 2 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | segmented_write_std_11430 | segmented_write_std | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = trunc i64 %arg3 to i32
%2 = call i64 @FUNC(i64 %0, i32 %1, i64 1, i64* nonnull %sv_0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = and i64 %2, 4294967295
%storemerge = select i1 %4, i64 %0, i64 %5
ret i64 %storemerge
} | 1 |
BinRealVul | gen_mulu_16851 | gen_mulu | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = call i64 @FUNC()
%3 = call i64 @FUNC(i64 1, i64 0)
%4 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4
%5 = zext i32 %4 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = and i64 %6, 4294967295
%8 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%9 = zext i32 %8 to i64
%10 = call i64 @FUNC(i64 %9, i32 %8, i64 %7, i64 1)
%11 = call i64 @FUNC(i64 %0)
%12 = call i64 @FUNC()
ret i64 %12
} | 1 |
BinRealVul | rend_authorized_client_free_8817 | rend_authorized_client_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
br i1 %0, label LBL_4, label LBL_1
LBL_1:
%1 = call i64 @FUNC(i64 %arg1)
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
store i64 0, i64* %.reg2mem
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = inttoptr i64 %4 to i8*
%7 = call i32 @strlen(i8* %6)
%8 = sext i32 %7 to i64
%9 = load i64, i64* %3, align 8
%10 = call i64 @FUNC(i64 %9, i64 0, i64 %8)
%.pre = load i64, i64* %3, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_3
LBL_3:
%.reload = load i64, i64* %.reg2mem
%11 = call i64 @FUNC(i64 %.reload)
%12 = add i64 %arg1, 16
%13 = call i64 @FUNC(i64 %12, i64 0, i64 32)
%14 = call i64 @FUNC(i64 %arg1)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @tor_free, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @memwipe, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | bt_sock_recvmsg_11064 | bt_sock_recvmsg | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%sv_1 = alloca i32, align 4
%4 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %3, i64 %arg4, i64 %arg5, i64 %1)
%5 = and i64 %arg5, 2
%6 = icmp eq i64 %5, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_9
LBL_1:
%7 = trunc i64 %arg5 to i32
%8 = urem i32 %7, 2
%9 = bitcast i32* %sv_1 to i64*
%10 = call i64 @FUNC(i64 %3, i32 %7, i32 %8, i64* nonnull %9)
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_2
LBL_2:
%13 = and i64 %2, 4
%14 = icmp eq i64 %13, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_9
LBL_3:
%15 = load i32, i32* %sv_1, align 4
%16 = zext i32 %15 to i64
store i64 %16, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%17 = ptrtoint i64* %arg3 to i64
store i64 0, i64* %arg3, align 8
%18 = inttoptr i64 %10 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp ugt i64 %19, %arg4
%21 = icmp eq i1 %20, false
store i64 %19, i64* %sv_0.0.reg2mem
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%22 = add i64 %17, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = or i32 %24, 4
store i32 %25, i32* %23, align 4
store i64 %arg4, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%26 = call i64 @FUNC(i64 %10)
%27 = add i64 %17, 16
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %10, i64 0, i64 %29, i64 %sv_0.0.reload)
%31 = trunc i64 %30 to i32
store i32 %31, i32* %sv_1, align 4
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_8, label LBL_7
LBL_7:
%34 = call i64 @FUNC(i64 %17, i64 %3, i64 %10)
br label LBL_8
LBL_8:
%35 = call i64 @FUNC(i64 %3, i64 %10)
%36 = load i32, i32* %sv_1, align 4
%37 = zext i32 %36 to i64
%38 = icmp eq i32 %36, 0
%39 = icmp eq i1 %38, false
%spec.select = select i1 %39, i64 %37, i64 %sv_0.0.reload
ret i64 %spec.select
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %17, { 1, 2, 0 }
uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 }
uselistorder i32 %7, { 1, 0 }
uselistorder i32* %sv_1, { 2, 1, 0, 3 }
uselistorder i64 %3, { 1, 0, 2, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 %arg5, { 1, 0, 2 }
uselistorder label LBL_9, { 2, 0, 1 }
} | 1 |
BinRealVul | got_ip_18920 | got_ip | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rdx.2.reg2mem = alloca i64
%rcx.2.reg2mem = alloca i64
%rdx.1.reg2mem = alloca i64
%rcx.1.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%indvars.iv.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
%4 = ptrtoint i64* %sv_1 to i64
%5 = add i64 %3, 32
%6 = inttoptr i64 %5 to i64*
%7 = add i64 %4, -28
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%8 = add nuw nsw i64 %indvars.iv.reload, 22
%9 = add i64 %8, %3
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = load i64, i64* %6, align 8
%13 = add i64 %12, %8
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = xor i8 %15, %11
%17 = add nuw nsw i64 %7, %indvars.iv.reload
%18 = inttoptr i64 %17 to i8*
store i8 %16, i8* %18, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 4
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%19 = add i64 %3, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%23 = call i64* @malloc(i32 16)
%24 = ptrtoint i64* %23 to i64
store i64 %24, i64* %20, align 8
%25 = icmp eq i64* %23, null
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_6, label LBL_5
LBL_5:
call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_6:
%27 = bitcast i64* %sv_0 to i32*
%28 = call i64* @memset(i64* %23, i32 0, i32 16)
%29 = load i32, i32* %27, align 8
%30 = insertvalue %in_addr undef, i32 %29, 0
%31 = call i8* @inet_ntoa(%in_addr %30)
%32 = ptrtoint i8* %31 to i64
%33 = load i64, i64* %20, align 8
%34 = inttoptr i64 %33 to i8*
%35 = call i8* @strncpy(i8* %34, i8* %31, i32 15)
%36 = load i64, i64* %20, align 8
%37 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 %36, i64 15, i64 %32, i64 %2, i64 %1)
%38 = load i64, i64* %20, align 8
%39 = add i64 %3, 16
%40 = inttoptr i64 %39 to i8*
%41 = inttoptr i64 %38 to i8*
%42 = call i8* @strncpy(i8* %40, i8* %41, i32 15)
%43 = call i8* @strchr(i8* %40, i32 46)
%44 = icmp eq i8* %43, null
%45 = icmp eq i1 %44, false
store i64 %39, i64* %rcx.0.reg2mem
store i64 15, i64* %rdx.0.reg2mem
br i1 %45, label LBL_8, label LBL_7
LBL_7:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem
store i64 47, i64* %rdx.0.reg2mem
br label LBL_8
LBL_8:
%46 = ptrtoint i8* %43 to i64
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%47 = add i64 %46, 1
%48 = inttoptr i64 %47 to i8*
%49 = call i8* @strchr(i8* %48, i32 46)
%50 = icmp eq i8* %49, null
%51 = icmp eq i1 %50, false
store i64 %rcx.0.reload, i64* %rcx.1.reg2mem
store i64 %rdx.0.reload, i64* %rdx.1.reg2mem
br i1 %51, label LBL_10, label LBL_9
LBL_9:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %rcx.1.reg2mem
store i64 49, i64* %rdx.1.reg2mem
br label LBL_10
LBL_10:
%52 = ptrtoint i8* %49 to i64
%rdx.1.reload = load i64, i64* %rdx.1.reg2mem
%rcx.1.reload = load i64, i64* %rcx.1.reg2mem
%53 = add i64 %52, 1
%54 = inttoptr i64 %53 to i8*
%55 = call i8* @strchr(i8* %54, i32 46)
%56 = icmp eq i8* %55, null
%57 = icmp eq i1 %56, false
store i64 %rcx.1.reload, i64* %rcx.2.reg2mem
store i64 %rdx.1.reload, i64* %rdx.2.reg2mem
br i1 %57, label LBL_12, label LBL_11
LBL_11:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %rcx.2.reg2mem
store i64 51, i64* %rdx.2.reg2mem
br label LBL_12
LBL_12:
%58 = ptrtoint i8* %55 to i64
%rdx.2.reload = load i64, i64* %rdx.2.reg2mem
%rcx.2.reload = load i64, i64* %rcx.2.reg2mem
%59 = add i64 %58, 1
%60 = inttoptr i64 %59 to i16*
store i16 12849, i16* %60, align 2
%61 = add i64 %58, 3
%62 = inttoptr i64 %61 to i8*
store i8 51, i8* %62, align 1
%63 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i64 %39, i64 %rdx.2.reload, i64 %rcx.2.reload, i64 %2, i64 %1)
%64 = load i64, i64* %6, align 8
%65 = inttoptr i64 %64 to i64*
call void @free(i64* %65)
call void @free(i64* %65)
store i64 0, i64* %arg1, align 8
%66 = add i64 %3, 40
%67 = inttoptr i64 %66 to i32*
store i32 0, i32* %67, align 4
%68 = call i64* @memset(i64* nonnull %6, i32 0, i32 8)
%69 = ptrtoint i64* %68 to i64
ret i64 %69
uselistorder i64 %58, { 1, 0 }
uselistorder i8* %55, { 1, 0 }
uselistorder i8* %49, { 1, 0 }
uselistorder i8* %43, { 1, 0 }
uselistorder i64 %39, { 1, 0, 2 }
uselistorder i64* %23, { 1, 0, 2 }
uselistorder i64* %20, { 0, 2, 1, 3, 4 }
uselistorder i64* %6, { 1, 0, 2 }
uselistorder i64 %3, { 1, 2, 3, 0, 4 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i8* (i8*, i32)* @strchr, { 2, 0, 1 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @time_print, { 1, 0 }
uselistorder i8* (i8*, i8*, i32)* @strncpy, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }
uselistorder [7 x i8]* @gv_2, { 1, 0 }
} | 1 |
BinRealVul | smb_send_rqst_9330 | smb_send_rqst | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%rcx.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i64
%sv_1.03.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i32, align 4
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = call i64 @FUNC(i64 %4)
store i32 1, i32* %sv_4, align 4
%9 = icmp eq i64* %arg2, null
%10 = icmp eq i1 %9, false
store i64 4294967208, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_12
LBL_1:
%11 = ptrtoint i64* %arg1 to i64
%12 = and i64 %8, 4294967295
%13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %3, i64 %2, i64 %1)
%14 = inttoptr i64 %5 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64 %15)
%17 = call i64 @FUNC(i64 %4, i64 6, i64 3, i32* nonnull %sv_4, i64 4)
%18 = call i64 @FUNC(i64 %11, i64 %4, i32 %7, i64* nonnull %sv_3)
%19 = trunc i64 %18 to i32
%20 = icmp slt i32 %19, 0
store i64 0, i64* %sv_1.1.reg2mem
store i32 %19, i32* %sv_0.1.reg2mem
br i1 %20, label LBL_6, label LBL_2
LBL_2:
%21 = load i64, i64* %sv_3, align 8
%22 = add i64 %4, 12
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = icmp eq i32 %24, 0
store i64 %21, i64* %sv_1.1.reg2mem
store i32 %19, i32* %sv_0.1.reg2mem
br i1 %25, label LBL_6, label LBL_3
LBL_3:
%26 = ptrtoint i64* %sv_2 to i64
%27 = add i64 %4, 16
%28 = inttoptr i64 %27 to i64*
store i64 0, i64* %indvars.iv.reg2mem
store i64 %21, i64* %sv_1.03.reg2mem
br label LBL_4
LBL_4:
%sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%29 = call i64 @FUNC(i64 %4, i64 %indvars.iv.reload, i64* nonnull %sv_2)
%30 = call i64 @FUNC(i64 %11, i64 %26, i32 1, i64* nonnull %sv_3)
%31 = trunc i64 %30 to i32
%32 = load i64, i64* %28, align 8
%33 = mul i64 %indvars.iv.reload, 8
%34 = add i64 %32, %33
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = icmp slt i32 %31, 0
store i64 %sv_1.03.reload, i64* %sv_1.1.reg2mem
store i32 %31, i32* %sv_0.1.reg2mem
br i1 %38, label LBL_6, label LBL_5
LBL_5:
%39 = load i64, i64* %sv_3, align 8
%40 = add i64 %39, %sv_1.03.reload
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%41 = load i32, i32* %23, align 4
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %indvars.iv.next, %42
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %40, i64* %sv_1.03.reg2mem
store i64 %40, i64* %sv_1.1.reg2mem
store i32 %31, i32* %sv_0.1.reg2mem
br i1 %43, label LBL_4, label LBL_6
LBL_6:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
store i32 0, i32* %sv_4, align 4
%44 = ptrtoint i32* %sv_4 to i64
%45 = call i64 @FUNC(i64 %4, i64 6, i64 3, i32* nonnull %sv_4, i64 4)
%46 = icmp eq i64 %sv_1.1.reload, 0
store i64 %44, i64* %rcx.0.reg2mem
br i1 %46, label LBL_9, label LBL_7
LBL_7:
%47 = add i64 %8, 4
%48 = and i64 %47, 4294967295
%49 = icmp eq i64 %sv_1.1.reload, %48
store i64 %44, i64* %rcx.0.reg2mem
br i1 %49, label LBL_9, label LBL_8
LBL_8:
%50 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %48, i64 %sv_1.1.reload, i64 4, i64 %1)
%51 = add i64 %11, 8
%52 = inttoptr i64 %51 to i32*
store i32 1, i32* %52, align 4
store i64 %sv_1.1.reload, i64* %rcx.0.reg2mem
br label LBL_9
LBL_9:
%53 = icmp slt i32 %sv_0.1.reload, 0
%54 = icmp eq i1 %53, false
%55 = icmp eq i32 %sv_0.1.reload, -4
%or.cond = or i1 %55, %54
store i32 0, i32* %sv_0.2.reg2mem
br i1 %or.cond, label LBL_11, label LBL_10
LBL_10:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%56 = zext i32 %sv_0.1.reload to i64
%57 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %56, i64 %rcx.0.reload, i64 4, i64 %1)
store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem
br label LBL_11
LBL_11:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%58 = zext i32 %sv_0.2.reload to i64
store i64 %58, i64* %storemerge.reg2mem
br label LBL_12
LBL_12:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %48, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %sv_1.03.reload, { 1, 0 }
uselistorder i32* %23, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i64 %11, { 1, 0, 2 }
uselistorder i32* %sv_4, { 0, 2, 3, 1, 4 }
uselistorder i64* %sv_3, { 2, 0, 3, 1 }
uselistorder i64 %4, { 3, 2, 0, 1, 4, 5, 7, 6 }
uselistorder i64 %1, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i32, i64*)* @smb_send_kvec, { 1, 0 }
uselistorder i64 (i64, i64, i64, i32*, i64)* @kernel_setsockopt, { 1, 0 }
uselistorder i64 4, { 2, 1, 0, 3, 4 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cFYI, { 1, 0 }
uselistorder i64 0, { 3, 4, 5, 6, 10, 1, 0, 7, 8, 2, 9 }
uselistorder [24 x i8]* @gv_0, { 1, 0 }
uselistorder i64 1, { 1, 2, 0, 3 }
uselistorder i64 8, { 1, 0, 2, 3, 4 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | __put_task_struct_7186 | __put_task_struct | 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
%4 = zext i1 %3 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = add i64 %arg1, 4
%7 = call i64 @FUNC(i64 %6)
%8 = and i64 %7, 4294967295
%9 = call i64 @FUNC(i64 %8)
%10 = load i64, i64* @gv_0, align 8
%11 = icmp eq i64 %10, %arg1
%12 = zext i1 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = call i64 @FUNC(i64 %arg1)
%15 = call i64 @FUNC(i64 %arg1, i64 1)
%16 = call i64 @FUNC(i64 %arg1)
%17 = call i64 @FUNC(i64 %arg1)
%18 = call i64 @FUNC(i64 %arg1)
%19 = add i64 %arg1, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21)
%23 = call i64 @FUNC(i64 %arg1)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
store i64 %23, i64* %rax.0.reg2mem
br i1 %26, label LBL_2, label LBL_1
LBL_1:
%27 = call i64 @FUNC(i64 %arg1)
store i64 %27, 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 4294967295, { 1, 0 }
uselistorder i64 (i64)* @WARN_ON, { 2, 1, 0 }
uselistorder i64 %arg1, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9 }
} | 0 |
BinRealVul | dd_get_item_size_13163 | dd_get_item_size | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%sv_0.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%sv_1 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %1, i64 %arg2)
%4 = inttoptr i64 %3 to i8*
%5 = bitcast i64* %sv_1 to %stat*
%6 = call i32 @lstat(i8* %4, %stat* nonnull %5)
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = and i32 %2, 61440
%10 = icmp eq i32 %9, 32768
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_2, label LBL_4
LBL_2:
%12 = call i32* @__errno_location()
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 2
%15 = icmp eq i1 %14, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_3, label LBL_4
LBL_3:
%16 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %3)
store i64 -1, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%17 = inttoptr i64 %3 to i64*
call void @free(i64* %17)
ret i64 %sv_0.0.reload
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder label LBL_4, { 2, 0, 1 }
} | 1 |
BinRealVul | qvirtio_pci_config_readw_14902 | qvirtio_pci_config_readw | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %arg2)
%2 = trunc i64 %1 to i32
%sext = mul i32 %2, 65536
%3 = ashr exact i32 %sext, 16
%4 = call i64 @FUNC(i64 %0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
store i32 %3, i32* %sv_0.0.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = urem i32 %3, 65536
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %9 to i32
%sext2 = mul i32 %10, 65536
%11 = ashr exact i32 %sext2, 16
store i32 %11, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%12 = urem i32 %sv_0.0.reload, 65536
%13 = zext i32 %12 to i64
ret i64 %13
uselistorder i32 %3, { 1, 0 }
} | 1 |
BinRealVul | cmv_decode_inter_14673 | cmv_decode_inter | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%sv_0.210.reg2mem = alloca i8*
%sv_1.111.reg2mem = alloca i32
%storemerge12.reg2mem = alloca i32
%.reg2mem25 = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_0.1.lcssa.reg2mem = alloca i8*
%sv_0.14.reg2mem = alloca i8*
%sv_1.05.reg2mem = alloca i32
%storemerge36.reg2mem = alloca i32
%.reg2mem23 = alloca i32
%sv_0.0.reg2mem = alloca i8*
%.reg2mem21 = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %rdi, align 8
%sv_2 = alloca i64, align 8
store i64 %arg3, i64* %sv_2, align 8
%1 = add i64 %0, 4
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = add i32 %3, 3
%5 = icmp slt i32 %3, 0
%6 = select i1 %5, i32 %4, i32 %3
%7 = icmp ult i32 %6, 4
store i64 0, i64* %.lcssa.reg2mem
br i1 %7, label LBL_16, label LBL_1
LBL_1:
%8 = ptrtoint i64* %arg2 to i64
%9 = ptrtoint i64* %sv_2 to i64
%10 = bitcast i64* %rdi to i32*
%11 = trunc i64 %0 to i32
%12 = mul i32 %3, %11
%13 = sdiv i32 %12, 32768
%14 = sext i32 %13 to i64
%15 = add i64 %14, %8
%16 = inttoptr i64 %15 to i8*
%17 = add i64 %0, 8
%18 = inttoptr i64 %17 to i64*
%19 = add i64 %0, 32
%20 = inttoptr i64 %19 to i32*
%21 = add i64 %0, 88
%22 = inttoptr i64 %21 to i64*
%23 = add i64 %0, 112
%24 = inttoptr i64 %23 to i32*
%25 = add i64 %9, -8
%26 = inttoptr i64 %25 to i64*
%27 = add i64 %9, -16
%28 = inttoptr i64 %27 to i64*
%29 = add i64 %9, -24
%30 = inttoptr i64 %29 to i64*
%31 = add i64 %9, -32
%32 = inttoptr i64 %31 to i64*
%33 = add i64 %0, 72
%34 = inttoptr i64 %33 to i32*
%35 = add i64 %0, 48
%36 = inttoptr i64 %35 to i64*
store i32 %11, i32* %.reg2mem25
store i32 0, i32* %storemerge12.reg2mem
store i32 0, i32* %sv_1.111.reg2mem
store i8* %16, i8** %sv_0.210.reg2mem
br label LBL_14
LBL_2:
%storemerge36.reload = load i32, i32* %storemerge36.reg2mem
%.reload24 = load i32, i32* %.reg2mem23
%37 = inttoptr i64 %138 to i8*
%38 = load i8, i8* %37, align 1
%39 = icmp eq i8 %38, -1
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_10, label LBL_3
LBL_3:
%41 = load i64, i64* %18, align 8
%42 = load i32, i32* %20, align 4
%43 = mul i32 %storemerge36.reload, 4
%44 = ptrtoint i8* %sv_0.14.reload to i64
%45 = add i64 %44, 16
%46 = icmp ugt i64 %139, %45
br i1 %46, label LBL_4, label LBL_6
LBL_4:
%47 = load i8, i8* %sv_0.14.reload, align 1
%48 = icmp eq i8 %47, -1
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_6, label LBL_5
LBL_5:
%50 = mul i32 %42, %155
%51 = sext i32 %50 to i64
%52 = sext i32 %43 to i64
%53 = add i64 %41, %52
%54 = add i64 %53, %51
%55 = inttoptr i64 %54 to i32*
%56 = add i64 %44, 1
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
store i32 %58, i32* %55, align 4
%59 = add i64 %44, 5
%60 = load i32, i32* %20, align 4
%61 = sext i32 %60 to i64
%62 = add i64 %54, %61
%63 = inttoptr i64 %59 to i32*
%64 = load i32, i32* %63, align 4
%65 = inttoptr i64 %62 to i32*
store i32 %64, i32* %65, align 4
%66 = add i64 %44, 9
%67 = load i32, i32* %20, align 4
%68 = mul i32 %67, 2
%69 = sext i32 %68 to i64
%70 = add i64 %54, %69
%71 = inttoptr i64 %66 to i32*
%72 = load i32, i32* %71, align 4
%73 = inttoptr i64 %70 to i32*
store i32 %72, i32* %73, align 4
%74 = add i64 %44, 13
%75 = load i32, i32* %20, align 4
%76 = mul i32 %75, 3
%77 = sext i32 %76 to i64
%78 = add i64 %54, %77
%79 = inttoptr i64 %74 to i32*
%80 = load i32, i32* %79, align 4
%81 = inttoptr i64 %78 to i32*
store i32 %80, i32* %81, align 4
%82 = add i64 %44, 17
%83 = inttoptr i64 %82 to i8*
%.pre = load i32, i32* %10, align 8
store i32 %.pre, i32* %.reg2mem21
store i8* %83, i8** %sv_0.0.reg2mem
br label LBL_11
LBL_6:
%84 = icmp ugt i64 %139, %44
%85 = icmp eq i1 %84, false
store i32 %.reload24, i32* %.reg2mem21
store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem
br i1 %85, label LBL_11, label LBL_7
LBL_7:
%86 = load i64, i64* %22, align 8
%87 = icmp eq i64 %86, 0
store i32 %.reload24, i32* %.reg2mem
br i1 %87, label LBL_9, label LBL_8
LBL_8:
%88 = load i8, i8* %sv_0.14.reload, align 1
%89 = udiv i8 %88, 16
%90 = zext i8 %89 to i64
%91 = add nuw nsw i64 %90, 4294967289
%92 = urem i8 %88, 16
%93 = zext i8 %92 to i64
%94 = add nuw nsw i64 %93, 4294967289
%95 = load i64, i64* %rdi, align 8
%96 = add i64 %95, 4
%97 = inttoptr i64 %96 to i32*
%98 = load i32, i32* %97, align 4
%99 = zext i32 %98 to i64
%100 = and i64 %95, 4294967295
%101 = load i32, i32* %24, align 4
store i64 %99, i64* %26, align 8
store i64 %100, i64* %28, align 8
%102 = and i64 %91, 4294967295
store i64 %102, i64* %30, align 8
%103 = and i64 %94, 4294967295
store i64 %103, i64* %32, align 8
%104 = zext i32 %43 to i64
store i64 %41, i64* %rdi, align 8
%105 = call i64 @FUNC(i64 %41, i32 %42, i64 %86, i32 %101, i64 %104, i64 %156)
%106 = trunc i64 %41 to i32
store i32 %106, i32* %.reg2mem
br label LBL_9
LBL_9:
%.reload = load i32, i32* %.reg2mem
%107 = add i64 %44, 1
%108 = inttoptr i64 %107 to i8*
store i32 %.reload, i32* %.reg2mem21
store i8* %108, i8** %sv_0.0.reg2mem
br label LBL_11
LBL_10:
%109 = urem i8 %38, 16
%110 = zext i8 %109 to i64
%111 = add nuw nsw i64 %110, 4294967289
%112 = udiv i8 %38, 16
%113 = zext i8 %112 to i64
%114 = add nuw nsw i64 %113, 4294967289
%115 = load i64, i64* %rdi, align 8
%116 = add i64 %115, 4
%117 = inttoptr i64 %116 to i32*
%118 = load i32, i32* %117, align 4
%119 = zext i32 %118 to i64
%120 = zext i32 %.reload24 to i64
%121 = mul i32 %storemerge36.reload, 4
%122 = load i32, i32* %34, align 4
%123 = load i64, i64* %36, align 8
%124 = load i32, i32* %20, align 4
%125 = load i64, i64* %18, align 8
store i64 %119, i64* %26, align 8
store i64 %120, i64* %28, align 8
%126 = and i64 %114, 4294967295
store i64 %126, i64* %30, align 8
%127 = and i64 %111, 4294967295
store i64 %127, i64* %32, align 8
%128 = zext i32 %121 to i64
store i64 %125, i64* %rdi, align 8
%129 = call i64 @FUNC(i64 %125, i32 %124, i64 %123, i32 %122, i64 %128, i64 %156)
%130 = trunc i64 %125 to i32
store i32 %130, i32* %.reg2mem21
store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem
br label LBL_11
LBL_11:
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
%.reload22 = load i32, i32* %.reg2mem21
%131 = add i32 %sv_1.05.reload, 1
%132 = add i32 %storemerge36.reload, 1
%133 = sdiv i32 %.reload22, 8
%134 = zext i32 %133 to i64
%135 = sext i32 %132 to i64
%136 = icmp slt i64 %135, %134
store i32 %.reload22, i32* %.reg2mem23
store i32 %132, i32* %storemerge36.reg2mem
store i32 %131, i32* %sv_1.05.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.14.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem
store i32 %131, i32* %sv_1.0.lcssa.reg2mem
br i1 %136, label LBL_12, label LBL_13
LBL_12:
%sv_0.14.reload = load i8*, i8** %sv_0.14.reg2mem
%sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem
%137 = sext i32 %sv_1.05.reload to i64
%138 = add i64 %137, %8
%139 = load i64, i64* %sv_2, align 8
%140 = icmp ugt i64 %139, %138
store i8* %sv_0.14.reload, i8** %sv_0.1.lcssa.reg2mem
store i32 %sv_1.05.reload, i32* %sv_1.0.lcssa.reg2mem
br i1 %140, label LBL_2, label LBL_13
LBL_13:
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem
%141 = add i32 %storemerge12.reload, 1
%142 = load i64, i64* %rdi, align 8
%143 = add i64 %142, 4
%144 = inttoptr i64 %143 to i32*
%145 = load i32, i32* %144, align 4
%146 = sdiv i32 %145, 8
%147 = zext i32 %146 to i64
%148 = sext i32 %141 to i64
%149 = icmp slt i64 %148, %147
%150 = trunc i64 %142 to i32
store i32 %150, i32* %.reg2mem25
store i32 %141, i32* %storemerge12.reg2mem
store i32 %sv_1.0.lcssa.reload, i32* %sv_1.111.reg2mem
store i8* %sv_0.1.lcssa.reload, i8** %sv_0.210.reg2mem
store i64 %147, i64* %.lcssa.reg2mem
br i1 %149, label LBL_14, label LBL_16
LBL_14:
%sv_0.210.reload = load i8*, i8** %sv_0.210.reg2mem
%sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%.reload26 = load i32, i32* %.reg2mem25
%151 = add i32 %.reload26, 3
%152 = icmp slt i32 %.reload26, 0
%153 = select i1 %152, i32 %151, i32 %.reload26
%154 = icmp ugt i32 %153, 3
store i8* %sv_0.210.reload, i8** %sv_0.1.lcssa.reg2mem
store i32 %sv_1.111.reload, i32* %sv_1.0.lcssa.reg2mem
br i1 %154, label LBL_12.lr.ph, label LBL_13
LBL_15:
%155 = mul i32 %storemerge12.reload, 4
%156 = zext i32 %155 to i64
store i32 %.reload26, i32* %.reg2mem23
store i32 0, i32* %storemerge36.reg2mem
store i32 %sv_1.111.reload, i32* %sv_1.05.reg2mem
store i8* %sv_0.210.reload, i8** %sv_0.14.reg2mem
br label LBL_12
LBL_16:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %156, { 1, 0 }
uselistorder i32 %.reload26, { 3, 2, 1, 0 }
uselistorder i32 %storemerge12.reload, { 1, 0 }
uselistorder i64 %139, { 2, 1, 0 }
uselistorder i64 %138, { 1, 0 }
uselistorder i32 %sv_1.05.reload, { 0, 2, 1 }
uselistorder i8* %sv_0.14.reload, { 0, 2, 3, 5, 1, 4 }
uselistorder i8 %88, { 1, 0 }
uselistorder i32 %43, { 1, 0 }
uselistorder i32 %42, { 1, 0 }
uselistorder i64 %41, { 1, 3, 2, 0 }
uselistorder i32 %storemerge36.reload, { 0, 2, 1 }
uselistorder i64 %9, { 3, 2, 1, 0 }
uselistorder i32 %3, { 0, 3, 2, 1 }
uselistorder i64* %sv_2, { 0, 2, 1 }
uselistorder i64 %0, { 6, 5, 2, 1, 4, 3, 0, 7, 8 }
uselistorder i64* %rdi, { 5, 1, 4, 0, 3, 2, 6 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem21, { 0, 4, 2, 3, 1 }
uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i32* %.reg2mem23, { 2, 1, 0 }
uselistorder i32* %storemerge36.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_1.05.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.14.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.1.lcssa.reg2mem, { 3, 0, 1, 2 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 3, 0, 1, 2 }
uselistorder i64 (i64, i32, i64, i32, i64, i64)* @cmv_motcomp, { 1, 0 }
uselistorder i64 4294967295, { 3, 4, 1, 2, 0 }
uselistorder i64 4294967289, { 3, 2, 0, 1 }
uselistorder i8 16, { 0, 1, 3, 2 }
uselistorder i32 0, { 2, 4, 0, 1, 3 }
uselistorder i32 3, { 0, 2, 3, 1 }
uselistorder i64 4, { 2, 0, 1, 3 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_13, { 2, 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | session_by_pid_10138 | session_by_pid | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rdx.0.lcssa.reg2mem = alloca i64
%storemerge46.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%sext = mul i64 %arg1, 4294967296
%5 = ashr exact i64 %sext, 32
%6 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)
%7 = load i32, i32* @gv_1, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_5, label LBL_1
LBL_1:
%9 = load i64, i64* @gv_2, align 8
%10 = trunc i64 %5 to i32
%11 = zext i32 %7 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge46.reg2mem
br label LBL_2
LBL_2:
%storemerge46.reload = load i32, i32* %storemerge46.reg2mem
%.reload = load i64, i64* %.reg2mem
%12 = mul i64 %.reload, 8
%13 = add i64 %12, %9
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = add i64 %13, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, %10
%21 = icmp eq i1 %20, false
store i64 %13, i64* %storemerge.reg2mem
br i1 %21, label LBL_4, label LBL_6
LBL_4:
%22 = add i32 %storemerge46.reload, 1
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %23, %11
store i64 %23, i64* %.reg2mem
store i32 %22, i32* %storemerge46.reg2mem
store i64 %9, i64* %rdx.0.lcssa.reg2mem
br i1 %24, label LBL_2, label LBL_5
LBL_5:
%rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem
%25 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %5, i64 %rdx.0.lcssa.reload, i64 %4, i64 %2, i64 %1)
%26 = call i64 @FUNC()
store i64 0, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge46.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | jswrap_json_stringify_13040 | jswrap_json_stringify | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.03.reg2mem = alloca i32
%sv_1 = alloca i8, align 1
%sv_2 = alloca i64, align 8
%0 = call i64 @FUNC()
%1 = icmp eq i64 %0, 0
br i1 %1, label LBL_8, label LBL_1
LBL_1:
store i8 0, i8* %sv_1, align 1
%2 = call i64 @FUNC(i64 %arg3)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_7, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %arg3)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_7, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %arg3)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_6, label LBL_4
LBL_4:
%13 = ptrtoint i64* %sv_2 to i64
%14 = call i64 @FUNC(i64 %arg3)
%15 = trunc i64 %14 to i32
%16 = icmp ult i32 %15, 10
%spec.select = select i1 %16, i32 %15, i32 10
%17 = zext i32 %spec.select to i64
%18 = add i64 %13, -27
%19 = add i64 %18, %17
%20 = inttoptr i64 %19 to i8*
store i8 0, i8* %20, align 1
%21 = icmp eq i32 %spec.select, 0
%22 = icmp eq i1 %21, false
store i32 %spec.select, i32* %sv_0.03.reg2mem
br i1 %22, label LBL_5, label LBL_7
LBL_5:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%23 = add i32 %sv_0.03.reload, -1
%24 = zext i32 %23 to i64
%25 = add i64 %18, %24
%26 = inttoptr i64 %25 to i8*
store i8 32, i8* %26, align 1
%27 = icmp eq i32 %23, 0
%28 = icmp eq i1 %27, false
store i32 %23, i32* %sv_0.03.reg2mem
br i1 %28, label LBL_5, label LBL_7
LBL_6:
%29 = bitcast i8* %sv_1 to i64*
%30 = call i64 @FUNC(i64 %arg3, i64* nonnull %29, i64 11)
br label LBL_7
LBL_7:
%31 = load i8, i8* %sv_1, align 1
%32 = icmp eq i8 %31, 0
%spec.select2 = select i1 %32, i32 31, i32 127
%33 = bitcast i8* %sv_1 to i64*
%34 = call i64 @FUNC(i64 %arg1, i64 %0, i32 %spec.select2, i64* nonnull %33)
br label LBL_8
LBL_8:
ret i64 %0
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i8* %sv_1, { 3, 1, 2, 0 }
uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0, 2, 3 }
uselistorder i32 0, { 2, 0, 3, 4, 5, 1 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i32 1, { 4, 3, 2, 1, 0 }
uselistorder label LBL_7, { 2, 0, 1, 3, 4 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | reset_codec_471 | reset_codec | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa3.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i32
%.reg2mem7 = alloca i64
%storemerge24.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = mul i32 %6, %3
%8 = add i64 %2, 48
%9 = inttoptr i64 %8 to i32*
store i32 %7, i32* %9, align 4
%10 = load i32, i32* %5, align 4
%11 = icmp eq i32 %10, 0
store i64 0, i64* %.lcssa3.reg2mem
br i1 %11, label LBL_6, label LBL_1
LBL_1:
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i64*
%14 = add i64 %2, 24
%15 = inttoptr i64 %14 to i64*
%16 = add i64 %2, 32
%17 = inttoptr i64 %16 to i64*
%18 = add i64 %2, 8
%19 = inttoptr i64 %18 to i32*
%20 = add i64 %2, 40
%21 = inttoptr i64 %20 to i64*
store i64 0, i64* %.reg2mem7
store i32 0, i32* %storemerge5.reg2mem
br label LBL_4
LBL_2:
%storemerge24.reload = load i32, i32* %storemerge24.reg2mem
%.reload = load i64, i64* %.reg2mem
%22 = load i64, i64* %15, align 8
%23 = add i64 %22, %59
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = mul i64 %.reload, 8
%27 = add i64 %25, %26
%28 = add i64 %27, 4
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i32 %30, -1
%32 = inttoptr i64 %27 to i32*
store i32 %31, i32* %32, align 4
%33 = add i32 %storemerge24.reload, 1
%34 = load i64, i64* %13, align 8
%35 = add i64 %34, %54
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = zext i32 %37 to i64
%39 = sext i32 %33 to i64
%40 = icmp slt i64 %39, %38
store i64 %39, i64* %.reg2mem
store i32 %33, i32* %storemerge24.reg2mem
br i1 %40, label LBL_2, label LBL_3
LBL_3:
%41 = load i64, i64* %17, align 8
%42 = add i64 %41, %54
%43 = load i32, i32* %19, align 4
%44 = inttoptr i64 %42 to i32*
store i32 %43, i32* %44, align 4
%45 = load i64, i64* %21, align 8
%46 = add i64 %45, %54
%47 = inttoptr i64 %46 to i32*
store i32 1, i32* %47, align 4
%48 = add i32 %storemerge5.reload, 1
%49 = load i32, i32* %5, align 4
%50 = zext i32 %49 to i64
%51 = sext i32 %48 to i64
%52 = icmp slt i64 %51, %50
store i64 %51, i64* %.reg2mem7
store i32 %48, i32* %storemerge5.reg2mem
store i64 %50, i64* %.lcssa3.reg2mem
br i1 %52, label LBL_4, label LBL_6
LBL_4:
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload8 = load i64, i64* %.reg2mem7
%53 = load i64, i64* %13, align 8
%54 = mul i64 %.reload8, 4
%55 = add i64 %53, %54
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label LBL_3, label LBL_2.lr.ph
LBL_5:
%59 = mul i64 %.reload8, 8
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge24.reg2mem
br label LBL_2
LBL_6:
%.lcssa3.reload = load i64, i64* %.lcssa3.reg2mem
ret i64 %.lcssa3.reload
uselistorder i64 %.reload8, { 1, 0 }
uselistorder i32* %5, { 1, 0, 2 }
uselistorder i64 %2, { 0, 4, 2, 3, 1, 5, 6 }
uselistorder i64* %.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge24.reg2mem, { 2, 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.