dataset stringclasses 1 value | file stringlengths 7 51 | fun_name stringlengths 2 45 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
CompRealVul | kvm_set_user_memory_region_3350 | kvm_set_user_memory_region | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i32, align 4
%3 = trunc i64 %1 to i32
store i32 %3, i32* %sv_0, align 4
%4 = add i64 %2, 24
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 32
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
%11 = and i32 %6, 2
%12 = icmp eq i32 %11, 0
%or.cond = or i1 %10, %12
%.pre = ptrtoint i32* %arg1 to i64
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%13 = call i64 @FUNC(i64 %.pre, i64 0, i32* nonnull %sv_0)
br label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %.pre, i64 0, i32* nonnull %sv_0)
ret i64 %14
uselistorder i64 (i64, i64, i32*)* @kvm_vm_ioctl, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | format_timestamp_9893 | format_timestamp | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i32
%1 = icmp ugt i32 %0, -16777217
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = urem i32 %0, 16777216
%4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i32 %3)
br label LBL_3
LBL_2:
%5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %0)
br label LBL_3
LBL_3:
ret i64 ptrtoint (i8** @gv_0 to i64)
uselistorder i32 %0, { 1, 0, 2 }
uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }
uselistorder i8** @gv_0, { 1, 0 }
} | 0 |
CompRealVul | pl080_class_init_2419 | pl080_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = bitcast i64* %arg1 to i8*
store i8 1, i8* %1, align 1
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %3, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0 }
} | 0 |
CompRealVul | fd_revalidate_14643 | fd_revalidate | 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 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)
%8 = call i64 @FUNC(i64 ptrtoint ([12 x i8]* @gv_0 to i64))
%9 = trunc i64 %8 to i8
%10 = add i64 %6, 8
%11 = inttoptr i64 %10 to i8*
store i8 %9, i8* %11, align 1
%12 = call i64 @FUNC(i64 ptrtoint ([12 x i8]* @gv_0 to i64))
%13 = trunc i64 %12 to i8
%14 = icmp eq i8 %13, 1
br i1 %14, label LBL_2, label LBL_1
LBL_1:
%15 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %6, i64 %5, i64 %2, i64 %1)
%16 = add i64 %6, 28
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
store i64 %6, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
%18 = add i64 %6, 9
%19 = inttoptr i64 %18 to i8*
%20 = load i8, i8* %19, align 1
%21 = icmp eq i8 %20, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_6, label LBL_3
LBL_3:
%22 = call i64 @FUNC(i64 %6)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label LBL_5, label LBL_4
LBL_4:
%25 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %6, i64 %5, i64 %2, i64 %1)
store i64 %25, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
store i8 1, i8* %19, align 1
%26 = load i8, i8* %11, align 1
%27 = icmp eq i8 %26, 0
%. = select i1 %27, i64 ptrtoint ([3 x i8]* @gv_3 to i64), i64 ptrtoint ([3 x i8]* @gv_4 to i64)
%28 = add i64 %6, 16
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = zext i32 %30 to i64
%32 = add i64 %6, 12
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = add i64 %6, 20
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = urem i32 %38, 2
%40 = icmp eq i32 %39, 0
%storemerge = select i1 %40, i64 1, i64 2
%41 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge, i64 %35, i64 %31, i64 %., i64 %1)
store i64 %41, 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, { 4, 6, 5, 3, 7, 8, 0, 1, 2, 9 }
uselistorder i64 %5, { 2, 1, 0 }
uselistorder i64 %3, { 1, 2, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }
uselistorder i64* %0, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i8 1, { 2, 0, 1 }
uselistorder i64 ptrtoint ([12 x i8]* @gv_0 to i64), { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FLOPPY_DPRINTF, { 3, 2, 1, 0 }
uselistorder [12 x i8]* @gv_0, { 1, 0 }
} | 1 |
CompRealVul | aux_bus_map_device_1248 | aux_bus_map_device | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1, i64 %arg3, i64 %0)
ret i64 %2
} | 0 |
CompRealVul | ftrace_regex_lseek_18939 | ftrace_regex_lseek | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = urem i64 %1, 2
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = trunc i64 %arg3 to i32
%6 = call i64 @FUNC(i64 %2, i64 %arg2, i32 %5)
store i64 %6, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_2:
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i64*
store i64 1, i64* %8, align 8
store i64 1, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
} | 1 |
CompRealVul | bt_sock_register_9015 | bt_sock_register | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg1 to i32
%1 = icmp ult i32 %0, 256
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_4
LBL_1:
%sext = mul i64 %arg1, 4294967296
%2 = call i64 @FUNC(i64* nonnull @gv_0)
%3 = ashr exact i64 %sext, 29
%4 = add i64 %3, ptrtoint (i64* @gv_1 to i64)
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
store i64 4294967279, i64* %sv_0.0.reg2mem
br i1 %7, label LBL_2, label LBL_3
LBL_2:
%8 = ptrtoint i64* %arg2 to i64
store i64 %8, i64* %5, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%9 = call i64 @FUNC(i64* nonnull @gv_0)
store i64 %sv_0.0.reload, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | asf_read_metadata_3832 | asf_read_metadata | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8*, align 8
%sv_1 = alloca i64, align 8
store i64 %arg2, i64* %sv_1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %0)
%5 = trunc i64 %4 to i32
%6 = icmp sgt i32 %5, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %6, label LBL_1, label LBL_13
LBL_1:
%7 = ptrtoint i64* %sv_1 to i64
%8 = add i64 %7, -16
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %7, -24
%11 = inttoptr i64 %10 to i64*
%12 = add i64 %7, -32
%13 = inttoptr i64 %12 to i64*
%14 = add i64 %3, 4
%15 = bitcast i8** %sv_0 to i64*
%sext7 = mul i64 %4, 4294967296
%16 = ashr exact i64 %sext7, 32
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%17 = call i64 @FUNC(i64 %0)
%18 = call i64 @FUNC(i64 %0)
%19 = call i64 @FUNC(i64 %0)
%20 = trunc i64 %19 to i32
%21 = call i64 @FUNC(i64 %0)
%22 = call i64 @FUNC(i64 %0)
%23 = mul i32 %20, 2
%24 = or i32 %23, 1
%25 = zext i32 %24 to i64
%26 = call i64 @FUNC(i64 %25)
%sext = mul i64 %26, 4294967296
%27 = ashr exact i64 %sext, 32
%28 = inttoptr i64 %27 to i8*
store i8* %28, i8** %sv_0, align 8
%29 = icmp eq i64 %sext, 0
%30 = icmp eq i1 %29, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %30, label LBL_3, label LBL_13
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%31 = call i64 @FUNC(i64 %0, i32 %20, i64 %27, i32 %24)
%32 = trunc i64 %31 to i32
%33 = icmp sgt i32 %20, %32
br i1 %33, label LBL_4, label LBL_5
LBL_4:
%34 = sub i64 %19, %31
%35 = and i64 %34, 4294967295
%36 = call i64 @FUNC(i64 %0, i64 %35)
br label LBL_5
LBL_5:
%37 = trunc i64 %18 to i32
%38 = load i8*, i8** %sv_0, align 8
%39 = ptrtoint i8* %38 to i64
store i64 %39, i64* %9, align 8
%40 = and i64 %22, 4294967295
store i64 %40, i64* %11, align 8
%41 = and i64 %21, 4294967295
store i64 %41, i64* %13, align 8
%42 = and i64 %19, 4294967295
%43 = and i64 %18, 4294967295
%44 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %indvars.iv.reload, i64 %43, i64 %42)
%45 = load i8*, i8** %sv_0, align 8
%46 = call i32 @strcmp(i8* %45, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))
%47 = icmp eq i32 %46, 0
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_8, label LBL_6
LBL_6:
%49 = ptrtoint i8* %45 to i64
%50 = call i64 @FUNC(i64 %49, i64 %41, i64 16)
%51 = icmp sgt i32 %37, 127
br i1 %51, label LBL_12, label LBL_7
LBL_7:
%52 = trunc i64 %50 to i32
%sext3 = mul i64 %18, 4294967296
%53 = ashr exact i64 %sext3, 29
%54 = add i64 %53, %3
%55 = inttoptr i64 %54 to i32*
store i32 %52, i32* %55, align 4
br label LBL_12
LBL_8:
%56 = load i8*, i8** %sv_0, align 8
%57 = call i32 @strcmp(i8* %56, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))
%58 = icmp eq i32 %57, 0
%59 = icmp eq i1 %58, false
br i1 %59, label LBL_11, label LBL_9
LBL_9:
%60 = ptrtoint i8* %56 to i64
%61 = call i64 @FUNC(i64 %60, i64 %41, i64 16)
%62 = icmp sgt i32 %37, 127
br i1 %62, label LBL_12, label LBL_10
LBL_10:
%63 = trunc i64 %61 to i32
%sext4 = mul i64 %18, 4294967296
%64 = ashr exact i64 %sext4, 29
%65 = add i64 %14, %64
%66 = inttoptr i64 %65 to i32*
store i32 %63, i32* %66, align 4
br label LBL_12
LBL_11:
%67 = trunc i64 %21 to i32
%68 = trunc i64 %22 to i32
%69 = load i8*, i8** %sv_0, align 8
%70 = ptrtoint i8* %69 to i64
%71 = call i64 @FUNC(i64 %0, i64 %70, i32 %67, i32 %68, i64 16)
br label LBL_12
LBL_12:
%72 = call i64 @FUNC(i64* nonnull %15)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%73 = icmp slt i64 %indvars.iv.next, %16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %73, label LBL_2, label LBL_13
LBL_13:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i8* %56, { 1, 0 }
uselistorder i8* %45, { 1, 0 }
uselistorder i64 %41, { 1, 0, 2 }
uselistorder i32 %37, { 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i32 %24, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %21, { 1, 0 }
uselistorder i32 %20, { 2, 1, 0 }
uselistorder i64 %19, { 1, 0, 2 }
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i8** %sv_0, { 4, 3, 2, 1, 0, 5 }
uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 8, 7, 6, 9, 10 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 (i64, i64, i64)* @get_value, { 1, 0 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
uselistorder i64 4294967295, { 1, 2, 3, 4, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder i64 (i64)* @avio_rl16, { 4, 3, 2, 1, 0 }
uselistorder label LBL_13, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | decode_stream_header_7557 | decode_stream_header | 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 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 16
%5 = call i64 @FUNC(i64 %3, i64 %4, i64 1)
%6 = call i64 @FUNC(i64 %4)
%7 = inttoptr i64 %4 to i32*
%8 = load i32, i32* %7, align 4
%9 = zext i32 %8 to i64
%sext = mul i64 %6, 4294967296
%10 = ashr exact i64 %sext, 32
%11 = icmp slt i64 %10, %9
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %11, label LBL_1, label LBL_19
LBL_1:
%12 = ashr exact i64 %sext, 29
%13 = add i64 %12, %4
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %16, label LBL_2, label LBL_19
LBL_2:
%17 = and i64 %6, 4294967295
%18 = call i64 @FUNC(i64 %3, i64 %17)
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %20, label LBL_3, label LBL_19
LBL_3:
%21 = inttoptr i64 %18 to i32*
%22 = call i64 @FUNC(i64 %4)
%23 = trunc i64 %22 to i32
%24 = call i64 @FUNC(i64 %4)
%25 = add i64 %18, 8
%26 = inttoptr i64 %25 to i64*
store i64 %24, i64* %26, align 8
switch i32 %23, label LBL_8 [
i32 0, label LBL_4
i32 32, label LBL_6
]
LBL_4:
store i32 0, i32* %21, align 4
%27 = call i64 @FUNC(i64 %24)
%28 = trunc i64 %27 to i32
%29 = add i64 %18, 4
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = icmp eq i32 %28, -1
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_9, label LBL_5
LBL_5:
%33 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
br label LBL_9
LBL_6:
store i32 1, i32* %21, align 4
%34 = call i64 @FUNC(i64 %24)
%35 = trunc i64 %34 to i32
%36 = add i64 %18, 4
%37 = inttoptr i64 %36 to i32*
store i32 %35, i32* %37, align 4
%38 = icmp eq i32 %35, -1
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_9, label LBL_7
LBL_7:
%40 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
br label LBL_9
LBL_8:
%41 = and i64 %22, 4294967295
%42 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %41, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_19
LBL_9:
%43 = call i64 @FUNC(i64 %4)
%44 = trunc i64 %43 to i32
%45 = add i64 %3, 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i32 %47, %44
store i32 %48, i32* %46, align 4
%49 = call i64 @FUNC(i64 %4)
%50 = call i64 @FUNC(i64 %4)
%51 = call i64 @FUNC(i64 %4)
%52 = inttoptr i64 %45 to i64*
%53 = load i64, i64* %52, align 8
%54 = ashr exact i64 %sext, 28
%55 = add i64 %53, %54
%56 = call i64 @FUNC(i64 %4)
%57 = trunc i64 %56 to i32
%58 = inttoptr i64 %55 to i32*
store i32 %57, i32* %58, align 4
%59 = load i64, i64* %52, align 8
%60 = call i64 @FUNC(i64 %4)
%61 = trunc i64 %60 to i32
%62 = or i64 %54, 4
%63 = add i64 %59, %62
%64 = inttoptr i64 %63 to i32*
store i32 %61, i32* %64, align 4
%65 = call i64 @FUNC(i64 %4)
%66 = call i64 @FUNC(i64 %4)
%67 = trunc i64 %66 to i32
%68 = icmp eq i32 %67, 0
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_10, label LBL_12
LBL_10:
%70 = add i64 %18, 16
%71 = inttoptr i64 %70 to i32*
%72 = add i64 %18, 24
%73 = inttoptr i64 %72 to i64*
br label LBL_11
LBL_11:
%74 = call i64 @FUNC(i64 %4)
%75 = trunc i64 %74 to i32
store i32 %75, i32* %71, align 4
%sext8 = mul i64 %74, 4294967296
%76 = ashr exact i64 %sext8, 32
%77 = call i64 @FUNC(i64 %76)
store i64 %77, i64* %73, align 8
%78 = load i32, i32* %71, align 4
%79 = call i64 @FUNC(i64 %4, i64 %77, i32 %78)
%80 = call i64 @FUNC(i64 %4)
%81 = trunc i64 %80 to i32
%82 = icmp eq i32 %81, 0
%83 = icmp eq i1 %82, false
br i1 %83, label LBL_11, label LBL_12
LBL_12:
%84 = trunc i64 %50 to i32
%85 = trunc i64 %51 to i32
%86 = icmp eq i32 %23, 0
%87 = icmp eq i1 %86, false
br i1 %87, label LBL_14, label LBL_13
LBL_13:
%88 = call i64 @FUNC(i64 %4)
%89 = trunc i64 %88 to i32
%90 = add i64 %18, 32
%91 = inttoptr i64 %90 to i32*
store i32 %89, i32* %91, align 4
%92 = call i64 @FUNC(i64 %4)
%93 = trunc i64 %92 to i32
%94 = add i64 %18, 36
%95 = inttoptr i64 %94 to i32*
store i32 %93, i32* %95, align 4
%96 = call i64 @FUNC(i64 %4)
%97 = trunc i64 %96 to i32
%98 = add i64 %18, 40
%99 = inttoptr i64 %98 to i32*
store i32 %97, i32* %99, align 4
%100 = call i64 @FUNC(i64 %4)
%101 = trunc i64 %100 to i32
%102 = add i64 %18, 44
%103 = inttoptr i64 %102 to i32*
store i32 %101, i32* %103, align 4
%104 = call i64 @FUNC(i64 %4)
%105 = add i64 %18, 48
%106 = inttoptr i64 %105 to i32*
store i32 %84, i32* %106, align 4
%107 = add i64 %18, 52
%108 = inttoptr i64 %107 to i32*
store i32 %85, i32* %108, align 4
br label LBL_14
LBL_14:
%109 = icmp eq i32 %23, 32
%110 = icmp eq i1 %109, false
br i1 %110, label LBL_16, label LBL_15
LBL_15:
%111 = call i64 @FUNC(i64 %4)
%112 = trunc i64 %111 to i32
%113 = add i64 %18, 56
%114 = inttoptr i64 %113 to i32*
store i32 %112, i32* %114, align 4
%115 = call i64 @FUNC(i64 %4)
%116 = call i64 @FUNC(i64 %4)
%117 = trunc i64 %116 to i32
%118 = add i64 %18, 60
%119 = inttoptr i64 %118 to i32*
store i32 %117, i32* %119, align 4
br label LBL_16
LBL_16:
%120 = call i64 @FUNC(i64 %4)
%121 = trunc i64 %120 to i32
%122 = icmp eq i32 %121, 0
br i1 %122, label LBL_18, label LBL_17
LBL_17:
%123 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_19
LBL_18:
%124 = load i64, i64* %14, align 8
%125 = call i64 @FUNC(i64 %124, i64 60, i32 %85, i32 %84)
%126 = load i64, i64* %52, align 8
%127 = or i64 %54, 8
%128 = add i64 %126, %127
%129 = inttoptr i64 %128 to i32*
store i32 %84, i32* %129, align 4
%130 = load i64, i64* %52, align 8
%131 = or i64 %54, 12
%132 = add i64 %130, %131
%133 = inttoptr i64 %132 to i32*
store i32 %85, i32* %133, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %85, { 1, 2, 0 }
uselistorder i32 %84, { 1, 2, 0 }
uselistorder i64 %54, { 1, 2, 3, 0 }
uselistorder i32 %23, { 1, 2, 0 }
uselistorder i64 %18, { 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 11, 0, 12, 13, 14 }
uselistorder i64 %sext, { 2, 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %4, { 12, 9, 10, 11, 4, 5, 6, 7, 8, 15, 13, 14, 1, 16, 17, 18, 19, 20, 21, 22, 2, 3, 23, 24, 0, 25, 26, 27 }
uselistorder i64 %3, { 3, 4, 0, 1, 2, 5, 6, 7 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }
uselistorder i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder i32 32, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 0, 5, 1 }
uselistorder i64 (i64)* @get_vb, { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 0, 4, 5, 6 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 (i64)* @get_v, { 17, 16, 15, 13, 12, 11, 10, 9, 8, 14, 0, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 16, { 0, 4, 1, 2, 3, 5 }
uselistorder label LBL_19, { 3, 4, 5, 0, 1, 2 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 1, 0, 3, 2 }
} | 1 |
CompRealVul | usb_bt_handle_data_2964 | usb_bt_handle_data | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %2, label LBL_11, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = trunc i64 %1 to i32
store i64 4294967295, i64* %sv_0.0.reg2mem
switch i32 %4, label LBL_11 [
i32 1, label LBL_2
i32 2, label LBL_8
]
LBL_2:
%5 = ptrtoint i32* %arg2 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = urem i32 %8, 16
%10 = icmp eq i32 %9, 3
br i1 %10, label LBL_7, label LBL_3
LBL_3:
%11 = icmp ugt i32 %9, 3
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %11, label LBL_11, label LBL_4
LBL_4:
store i64 4294967295, i64* %sv_0.0.reg2mem
switch i32 %9, label LBL_11 [
i32 1, label LBL_5
i32 2, label LBL_6
]
LBL_5:
%12 = add i64 %3, 8
%13 = call i64 @FUNC(i64 %12, i64 %5)
store i64 %13, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_6:
%14 = add i64 %3, 16
%15 = call i64 @FUNC(i64 %14, i64 %5)
store i64 %15, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_7:
%16 = add i64 %3, 24
%17 = call i64 @FUNC(i64 %16, i64 %5)
store i64 %17, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_8:
%18 = ptrtoint i32* %arg2 to i64
%19 = add i64 %18, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = urem i32 %21, 16
store i64 4294967295, i64* %sv_0.0.reg2mem
switch i32 %22, label LBL_11 [
i32 2, label LBL_9
i32 3, label LBL_10
]
LBL_9:
%23 = add i64 %3, 48
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = add i64 %3, 32
%29 = call i64 @FUNC(i64 %3, i64 %28, i64 %27, i64 4198772, i64 %18)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_10:
%30 = add i64 %3, 48
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = add i64 %32, 8
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %3, 40
%37 = call i64 @FUNC(i64 %3, i64 %36, i64 %35, i64 4198779, i64 %18)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_11
LBL_11:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%38 = and i64 %sv_0.0.reload, 4294967295
ret i64 %38
uselistorder i32 %9, { 2, 1, 0 }
uselistorder i64 %5, { 2, 0, 1, 3 }
uselistorder i64 %3, { 1, 2, 0, 5, 4, 3, 8, 6, 7 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 7, 5, 10, 8, 9, 4, 2, 3, 1 }
uselistorder i64 (i64, i64, i64, i64, i64)* @usb_bt_fifo_out_enqueue, { 1, 0 }
uselistorder i64 (i64, i64)* @usb_bt_fifo_dequeue, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_11, { 6, 5, 4, 9, 8, 7, 3, 1, 2, 0 }
} | 0 |
CompRealVul | vmxnet_tx_pkt_parse_headers_7873 | vmxnet_tx_pkt_parse_headers | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = icmp eq i64* %arg1, null
%2 = icmp eq i1 %1, false
store i64 %0, i64* %rdi.0.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([4 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
%3 = add i64 %0, 40
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %0, 32
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i64 %5, i64 0, i64 %rdi.0.reload, i64 1500)
%10 = icmp ult i64 %9, 2
%11 = add i64 %0, 8
%12 = inttoptr i64 %11 to i64*
br i1 %10, label LBL_3, label LBL_4
LBL_3:
store i64 0, i64* %12, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_4:
store i64 2, i64* %12, align 8
%13 = call i64 @FUNC(i64 %8)
%14 = inttoptr i64 %13 to i16*
%15 = load i16, i16* %14, align 2
%16 = zext i16 %15 to i64
%17 = call i64 @FUNC(i64 %16)
%18 = load i64, i64* %12, align 8
%19 = icmp ult i64 %9, %18
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_6, label LBL_5
LBL_5:
store i64 0, i64* %12, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_6:
%21 = add i64 %0, 16
%22 = call i64 @FUNC(i64 %16, i64 %18)
%trunc = trunc i64 %22 to i16
switch i16 %trunc, label LBL_16 [
i16 2048, label LBL_7
i16 -31011, label LBL_11
]
LBL_7:
%23 = call i64 @FUNC(i64 60)
%24 = inttoptr i64 %21 to i64*
store i64 %23, i64* %24, align 8
%25 = load i64, i64* %12, align 8
%26 = load i64, i64* %4, align 8
%27 = load i64, i64* %7, align 8
%28 = call i64 @FUNC(i64 %27, i64 %26, i64 %25, i64 %23, i64 1)
%29 = icmp eq i64 %28, 0
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_9, label LBL_8
LBL_8:
%31 = add i64 %0, 24
%32 = inttoptr i64 %31 to i64*
store i64 0, i64* %32, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_9:
%33 = load i64, i64* %24, align 8
%34 = call i64 @FUNC(i64 %33)
%35 = urem i64 %34, 256
%36 = add i64 %0, 24
%37 = inttoptr i64 %36 to i64*
store i64 %35, i64* %37, align 8
%38 = load i64, i64* %24, align 8
%39 = inttoptr i64 %38 to i8*
%40 = load i8, i8* %39, align 1
%41 = add i64 %0, 48
%42 = inttoptr i64 %41 to i8*
store i8 %40, i8* %42, align 1
%43 = load i64, i64* %37, align 8
%44 = add i64 %43, -1
%45 = load i64, i64* %24, align 8
%46 = add i64 %45, 1
%47 = load i64, i64* %12, align 8
%48 = add i64 %47, 1
%49 = load i64, i64* %4, align 8
%50 = load i64, i64* %7, align 8
%51 = call i64 @FUNC(i64 %50, i64 %49, i64 %48, i64 %46, i64 %44)
%52 = load i64, i64* %37, align 8
%53 = add i64 %52, -1
%54 = icmp ult i64 %51, %53
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_17, label LBL_10
LBL_10:
store i64 0, i64* %37, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_11:
%56 = add i64 %0, 48
%57 = load i64, i64* %12, align 8
%58 = load i64, i64* %4, align 8
%59 = load i64, i64* %7, align 8
%60 = call i64 @FUNC(i64 %59, i64 %58, i64 %57, i64 %56, i64* nonnull %sv_0)
%61 = trunc i64 %60 to i8
%62 = icmp eq i8 %61, 1
br i1 %62, label LBL_13, label LBL_12
LBL_12:
%63 = add i64 %0, 24
%64 = inttoptr i64 %63 to i64*
store i64 0, i64* %64, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_13:
%65 = load i64, i64* %sv_0, align 8
%66 = call i64 @FUNC(i64 %65)
%67 = inttoptr i64 %21 to i64*
store i64 %66, i64* %67, align 8
%68 = load i64, i64* %sv_0, align 8
%69 = load i64, i64* %12, align 8
%70 = load i64, i64* %4, align 8
%71 = load i64, i64* %7, align 8
%72 = call i64 @FUNC(i64 %71, i64 %70, i64 %69, i64 %66, i64 %68)
%73 = load i64, i64* %sv_0, align 8
%74 = icmp ult i64 %72, %73
%75 = icmp eq i1 %74, false
%76 = add i64 %0, 24
%77 = inttoptr i64 %76 to i64*
br i1 %75, label LBL_15, label LBL_14
LBL_14:
store i64 0, i64* %77, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_18
LBL_15:
store i64 %73, i64* %77, align 8
br label LBL_17
LBL_16:
%78 = add i64 %0, 24
%79 = inttoptr i64 %78 to i64*
store i64 0, i64* %79, align 8
br label LBL_17
LBL_17:
%80 = call i64 @FUNC(i64 %0)
%81 = call i64 @FUNC(i64 %0)
%82 = trunc i64 %81 to i32
%83 = add i64 %0, 52
%84 = inttoptr i64 %83 to i32*
store i32 %82, i32* %84, align 4
store i64 1, i64* %rax.0.reg2mem
br label LBL_18
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %77, { 1, 0 }
uselistorder i64* %37, { 1, 0, 2, 3 }
uselistorder i64* %12, { 0, 1, 2, 3, 5, 4, 6, 7 }
uselistorder i64* %sv_0, { 1, 2, 3, 0 }
uselistorder i64 %0, { 9, 8, 7, 5, 3, 4, 6, 10, 1, 2, 13, 11, 12, 14, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 5, 4, 1, 7 }
uselistorder i64 256, { 1, 0, 3, 2 }
uselistorder i64 24, { 4, 2, 3, 0, 1 }
uselistorder i64 1, { 0, 4, 5, 3, 1, 2 }
uselistorder i64 (i64)* @g_malloc, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64)* @iov_to_buf, { 3, 2, 1, 0 }
uselistorder [4 x i8]* @gv_0, { 1, 0 }
uselistorder label LBL_17, { 1, 2, 0 }
} | 1 |
CompRealVul | parserule_19137 | parserule | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.ph4.lcssa35.reg2mem = alloca i8
%sv_1.0.lcssa36.reg2mem = alloca i8
%sv_1.0.lcssa.reg2mem = alloca i8
%sv_0.0.ph4.lcssa.reg2mem = alloca i8
%sv_0.0.ph415.reg2mem = alloca i8
%sv_1.0.ph516.reg2mem = alloca i8
%sv_1.09.reg2mem = alloca i8
%sv_2.0.ph23.reg2mem = alloca i32
%sv_0.0.ph24.reg2mem = alloca i8
%sv_1.0.ph25.reg2mem = alloca i8
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_3 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %1)
%5 = call i64 @FUNC(i64 %1)
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 0
%8 = icmp eq i1 %7, false
store i8 0, i8* %sv_1.0.ph25.reg2mem
store i8 0, i8* %sv_0.0.ph24.reg2mem
store i32 0, i32* %sv_2.0.ph23.reg2mem
br i1 %8, label LBL_2, label LBL_9
LBL_1:
%9 = call i64 @FUNC(i64 %1)
%10 = trunc i64 %9 to i8
%11 = icmp eq i8 %10, 0
%12 = icmp eq i1 %11, false
store i8 %sv_1.09.reload, i8* %sv_1.0.ph25.reg2mem
store i8 %sv_0.0.ph415.reload, i8* %sv_0.0.ph24.reg2mem
store i32 1, i32* %sv_2.0.ph23.reg2mem
store i8 %sv_1.09.reload, i8* %sv_1.0.lcssa36.reg2mem
store i8 %sv_0.0.ph415.reload, i8* %sv_0.0.ph4.lcssa35.reg2mem
br i1 %12, label LBL_2, label LBL_10
LBL_2:
%sv_2.0.ph23.reload = load i32, i32* %sv_2.0.ph23.reg2mem
%sv_0.0.ph24.reload = load i8, i8* %sv_0.0.ph24.reg2mem
%sv_1.0.ph25.reload = load i8, i8* %sv_1.0.ph25.reg2mem
store i8 %sv_1.0.ph25.reload, i8* %sv_1.0.ph516.reg2mem
store i8 %sv_0.0.ph24.reload, i8* %sv_0.0.ph415.reg2mem
br label LBL_3.lr.ph
LBL_3:
%sv_1.09.reload = load i8, i8* %sv_1.09.reg2mem
%13 = call i64 @FUNC(i64 %1)
%14 = inttoptr i64 %13 to i8*
%15 = call i64 @FUNC(i64 %1, i64* nonnull %sv_3)
%16 = load i64, i64* %sv_3, align 8
%17 = call i64 @FUNC(i64 %3, i64 %13, i64 %16)
%18 = call i32 @strcmp(i8* %14, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_4, label LBL_1
LBL_4:
%21 = call i32 @strcmp(i8* %14, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %1)
%25 = trunc i64 %24 to i8
%26 = icmp eq i8 %25, 0
%27 = icmp eq i1 %26, false
store i8 %sv_1.09.reload, i8* %sv_1.0.ph516.reg2mem
store i8 1, i8* %sv_0.0.ph415.reg2mem
store i8 1, i8* %sv_0.0.ph4.lcssa.reg2mem
store i8 %sv_1.09.reload, i8* %sv_1.0.lcssa.reg2mem
br i1 %27, label LBL_3.lr.ph, label LBL_8
LBL_6:
%sv_0.0.ph415.reload = load i8, i8* %sv_0.0.ph415.reg2mem
%sv_1.0.ph516.reload = load i8, i8* %sv_1.0.ph516.reg2mem
store i8 %sv_1.0.ph516.reload, i8* %sv_1.09.reg2mem
br label LBL_3
LBL_7:
%28 = call i32 @strcmp(i8* %14, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
%spec.select = select i1 %30, i8 %sv_1.09.reload, i8 1
%31 = call i64 @FUNC(i64 %1)
%32 = trunc i64 %31 to i8
%33 = icmp eq i8 %32, 0
%34 = icmp eq i1 %33, false
store i8 %spec.select, i8* %sv_1.09.reg2mem
store i8 %sv_0.0.ph415.reload, i8* %sv_0.0.ph4.lcssa.reg2mem
store i8 %spec.select, i8* %sv_1.0.lcssa.reg2mem
br i1 %34, label LBL_3, label LBL_8
LBL_8:
%sv_1.0.lcssa.reload = load i8, i8* %sv_1.0.lcssa.reg2mem
%sv_0.0.ph4.lcssa.reload = load i8, i8* %sv_0.0.ph4.lcssa.reg2mem
%35 = icmp eq i32 %sv_2.0.ph23.reload, 1
store i8 %sv_1.0.lcssa.reload, i8* %sv_1.0.lcssa36.reg2mem
store i8 %sv_0.0.ph4.lcssa.reload, i8* %sv_0.0.ph4.lcssa35.reg2mem
br i1 %35, label LBL_10, label LBL_9
LBL_9:
%36 = inttoptr i64 %3 to i64*
%37 = load i64, i64* %36, align 8
%38 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %37)
unreachable
LBL_10:
%sv_0.0.ph4.lcssa35.reload = load i8, i8* %sv_0.0.ph4.lcssa35.reg2mem
%sv_1.0.lcssa36.reload = load i8, i8* %sv_1.0.lcssa36.reg2mem
%39 = icmp eq i8 %sv_0.0.ph4.lcssa35.reload, %sv_1.0.lcssa36.reload
br i1 %39, label LBL_12, label LBL_11
LBL_11:
%40 = inttoptr i64 %3 to i64*
%41 = load i64, i64* %40, align 8
%42 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_4, i64 0, i64 0), i64 %41)
unreachable
LBL_12:
%43 = call i64 @FUNC(i64 %0, i64 %3)
ret i64 %43
uselistorder i8 %sv_0.0.ph415.reload, { 1, 2, 0 }
uselistorder i64 %13, { 1, 0 }
uselistorder i8 %sv_1.09.reload, { 3, 1, 2, 4, 0 }
uselistorder i64 %3, { 1, 2, 0, 3 }
uselistorder i64* %sv_3, { 1, 0 }
uselistorder i64 %1, { 5, 2, 4, 3, 1, 0, 6, 7 }
uselistorder i8* %sv_1.0.ph25.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_0.0.ph24.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_2.0.ph23.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_1.09.reg2mem, { 1, 2, 0 }
uselistorder i8* %sv_0.0.ph4.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_1.0.lcssa36.reg2mem, { 0, 2, 1 }
uselistorder i8* %sv_0.0.ph4.lcssa35.reg2mem, { 0, 2, 1 }
uselistorder i64 (i8*, i64)* @fatal, { 1, 0 }
uselistorder i8 1, { 2, 0, 1 }
uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder i1 false, { 6, 3, 2, 4, 5, 1, 0 }
uselistorder i8 0, { 6, 4, 3, 0, 1, 2, 5 }
uselistorder i64 (i64)* @scanindent, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @scanname, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_3.lr.ph, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | build_segment_manager_13329 | build_segment_manager | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 72, i64 0)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %5, label LBL_1, label LBL_12
LBL_1:
%6 = inttoptr i64 %3 to i32*
%7 = inttoptr i64 %1 to i32*
%8 = inttoptr i64 %2 to i32*
store i64 %3, i64* %arg1, align 8
%9 = load i32, i32* %7, align 4
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
store i32 %12, i32* %6, align 4
%13 = add i64 %1, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
%17 = call i64 @FUNC(i64 %16)
%18 = trunc i64 %17 to i32
%19 = add i64 %3, 4
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 4
%21 = add i64 %1, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64 %24)
%26 = trunc i64 %25 to i32
%27 = add i64 %3, 8
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = load i32, i32* %8, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %30)
%32 = trunc i64 %31 to i32
%33 = add i64 %3, 12
%34 = inttoptr i64 %33 to i32*
store i32 %32, i32* %34, align 4
%35 = add i64 %2, 4
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = zext i32 %37 to i64
%39 = call i64 @FUNC(i64 %38)
%40 = trunc i64 %39 to i32
%41 = add i64 %3, 16
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
%43 = add i64 %1, 12
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = zext i32 %45 to i64
%47 = call i64 @FUNC(i64 %46)
%48 = trunc i64 %47 to i32
%49 = add i64 %3, 20
%50 = inttoptr i64 %49 to i32*
store i32 %48, i32* %50, align 4
%51 = add i64 %1, 16
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = zext i32 %53 to i64
%55 = call i64 @FUNC(i64 %54)
%56 = trunc i64 %55 to i32
%57 = add i64 %3, 24
%58 = inttoptr i64 %57 to i32*
store i32 %56, i32* %58, align 4
%59 = load i32, i32* %50, align 4
%60 = mul i32 %59, 10
%61 = udiv i32 %60, 100
%62 = add i64 %3, 28
%63 = inttoptr i64 %62 to i32*
%64 = icmp ult i32 %61, 100
%spec.store.select = select i1 %64, i32 %61, i32 100
store i32 %spec.store.select, i32* %63, align 4
%65 = call i64 @FUNC(i64 %0, i64 1)
%66 = trunc i64 %65 to i32
%67 = icmp eq i32 %66, 0
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_3, label LBL_2
LBL_2:
%69 = add i64 %3, 32
%70 = inttoptr i64 %69 to i32*
store i32 1, i32* %70, align 4
br label LBL_3
LBL_3:
%71 = add i64 %3, 36
%72 = inttoptr i64 %71 to i32*
store i32 1, i32* %72, align 4
%73 = add i64 %3, 40
%74 = inttoptr i64 %73 to i32*
store i32 1, i32* %74, align 4
%75 = add i64 %3, 44
%76 = inttoptr i64 %75 to i32*
store i32 1, i32* %76, align 4
%77 = add i64 %3, 48
%78 = inttoptr i64 %77 to i32*
store i32 1, i32* %78, align 4
%79 = add i64 %3, 56
%80 = call i64 @FUNC(i64 %79)
%81 = call i64 @FUNC(i64 %0, i64 2)
%82 = trunc i64 %81 to i32
%83 = icmp eq i32 %82, 0
br i1 %83, label LBL_6, label LBL_4
LBL_4:
%84 = add i64 %0, 8
%85 = inttoptr i64 %84 to i64*
%86 = load i64, i64* %85, align 8
%87 = call i64 @FUNC(i64 %86)
%88 = trunc i64 %87 to i32
%89 = icmp eq i32 %88, 0
%90 = icmp eq i1 %89, false
br i1 %90, label LBL_6, label LBL_5
LBL_5:
%91 = call i64 @FUNC(i64 %0)
%92 = trunc i64 %91 to i32
%93 = icmp eq i32 %92, 0
store i64 %91, i64* %rax.0.shrunk.reg2mem
br i1 %93, label LBL_6, label LBL_12
LBL_6:
%94 = call i64 @FUNC(i64 %0)
%95 = trunc i64 %94 to i32
%96 = icmp eq i32 %95, 0
store i64 %94, i64* %rax.0.shrunk.reg2mem
br i1 %96, label LBL_7, label LBL_12
LBL_7:
%97 = call i64 @FUNC(i64 %0)
%98 = trunc i64 %97 to i32
%99 = icmp eq i32 %98, 0
store i64 %97, i64* %rax.0.shrunk.reg2mem
br i1 %99, label LBL_8, label LBL_12
LBL_8:
%100 = call i64 @FUNC(i64 %0)
%101 = trunc i64 %100 to i32
%102 = icmp eq i32 %101, 0
store i64 %100, i64* %rax.0.shrunk.reg2mem
br i1 %102, label LBL_9, label LBL_12
LBL_9:
%103 = call i64 @FUNC(i64 %0)
%104 = trunc i64 %103 to i32
%105 = icmp eq i32 %104, 0
store i64 %103, i64* %rax.0.shrunk.reg2mem
br i1 %105, label LBL_10, label LBL_12
LBL_10:
%106 = call i64 @FUNC(i64 %0)
%107 = call i64 @FUNC(i64 %0)
%108 = call i64 @FUNC(i64 %0)
%109 = trunc i64 %108 to i32
%110 = icmp eq i32 %109, 0
store i64 %108, i64* %rax.0.shrunk.reg2mem
br i1 %110, label LBL_11, label LBL_12
LBL_11:
%111 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.shrunk.reg2mem
br label LBL_12
LBL_12:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i32 %61, { 1, 0 }
uselistorder i64 %0, { 2, 5, 4, 3, 6, 7, 8, 9, 0, 1, 10, 11, 12, 13 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }
uselistorder i64 (i64, i64)* @test_opt, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 100, { 1, 2, 0 }
uselistorder i64 (i64)* @le32_to_cpu, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_12, { 7, 0, 1, 2, 3, 4, 5, 6 }
} | 1 |
CompRealVul | smb2_flush_11108 | smb2_flush | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i16, align 2
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%1 = bitcast i16* %sv_0 to i64*
%2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %1, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = load i16, i16* %sv_0, align 2
%6 = icmp eq i16 %5, 24
%or.cond = icmp eq i1 %4, %6
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_6
LBL_1:
%7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = and i64 %7, 4294967295
%11 = call i64 @FUNC(i64 %0, i64 %10)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%12 = add i64 %0, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = urem i32 %18, 2
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = add i64 %14, 8
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %0, i64 %24, i64 %16)
br label LBL_5
LBL_5:
%26 = add i64 %0, 8
%27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 4, i64 0)
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, { 2, 1, 3, 0, 4, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_6, { 1, 2, 0 }
} | 1 |
CompRealVul | elf_fdpic_dump_segments_3709 | elf_fdpic_dump_segments | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge2.reg2mem = alloca i64
%storemerge13.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
store i64 %0, i64* %sv_2, align 8
%1 = load i64, i64* @gv_0, align 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%storemerge.in4 = inttoptr i64 %3 to i64*
%storemerge5 = load i64, i64* %storemerge.in4, align 8
%4 = icmp eq i64 %storemerge5, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge2.reg2mem
br i1 %5, label LBL_1, label LBL_14
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = ptrtoint i64* %sv_2 to i64
%8 = add i64 %7, -8
%9 = inttoptr i64 %8 to i64*
%10 = ptrtoint i64* %sv_1 to i64
%11 = add i64 %7, -16
%12 = inttoptr i64 %11 to i64*
%13 = ptrtoint i64* %sv_0 to i64
store i64 %storemerge5, i64* %storemerge6.reg2mem
br label LBL_2
LBL_2:
%storemerge6.reload = load i64, i64* %storemerge6.reg2mem
%14 = call i64 @FUNC(i64 %storemerge6.reload)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_13, label LBL_3
LBL_3:
%17 = inttoptr i64 %storemerge6.reload to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %storemerge6.reload, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = icmp ult i64 %18, %21
store i64 %18, i64* %storemerge13.reg2mem
br i1 %22, label LBL_4, label LBL_13
LBL_4:
%storemerge13.reload = load i64, i64* %storemerge13.reg2mem
%23 = load i64, i64* @gv_0, align 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
store i64 %10, i64* %9, align 8
store i64 %13, i64* %12, align 8
%26 = call i64 @FUNC(i64 %23, i64 %25, i64 %storemerge13.reload, i64 1, i64 0, i64 1)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp slt i32 %27, 0
%30 = icmp eq i1 %29, false
%31 = icmp eq i1 %28, false
%32 = icmp eq i1 %30, %31
br i1 %32, label LBL_6, label LBL_5
LBL_5:
%33 = add i64 %23, 4096
store i64 %33, i64* %arg1, align 8
br label LBL_12
LBL_6:
%34 = load i64, i64* %sv_0, align 8
%35 = icmp eq i64 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_8, label LBL_7
LBL_7:
%37 = call i64 @FUNC(i64 %34)
%38 = add i64 %34, 4096
store i64 %38, i64* %arg1, align 8
br label LBL_12
LBL_8:
%39 = call i64 @FUNC(i64 %34)
%40 = load i64, i64* %sv_1, align 8
%41 = call i64 @FUNC(i64 %40, i64 %storemerge13.reload, i64 %39)
%42 = load i64, i64* %sv_0, align 8
%43 = call i64 @FUNC(i64 %42)
%44 = add i64 %39, 4096
store i64 %44, i64* %arg3, align 8
%45 = icmp ugt i64 %44, %storemerge13.reload
br i1 %45, label LBL_10, label LBL_9
LBL_9:
%46 = call i64 @FUNC(i64 %6, i64 %43, i64 4096)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_11, label LBL_10
LBL_10:
%50 = load i64, i64* %sv_0, align 8
%51 = call i64 @FUNC(i64 %50)
%52 = load i64, i64* %sv_0, align 8
%53 = call i64 @FUNC(i64 %52)
store i64 4294967291, i64* %storemerge2.reg2mem
br label LBL_14
LBL_11:
%54 = load i64, i64* %sv_0, align 8
%55 = call i64 @FUNC(i64 %54)
%56 = load i64, i64* %sv_0, align 8
%57 = call i64 @FUNC(i64 %56)
br label LBL_12
LBL_12:
%58 = add i64 %storemerge13.reload, 4096
%59 = load i64, i64* %20, align 8
%60 = icmp ult i64 %58, %59
store i64 %58, i64* %storemerge13.reg2mem
br i1 %60, label LBL_4, label LBL_13
LBL_13:
%61 = add i64 %storemerge6.reload, 16
%storemerge.in = inttoptr i64 %61 to i64*
%storemerge = load i64, i64* %storemerge.in, align 8
%62 = icmp eq i64 %storemerge, 0
%63 = icmp eq i1 %62, false
store i64 %storemerge, i64* %storemerge6.reg2mem
store i64 0, i64* %storemerge2.reg2mem
br i1 %63, label LBL_2, label LBL_14
LBL_14:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
ret i64 %storemerge2.reload
uselistorder i32 %27, { 1, 0 }
uselistorder i64 %storemerge13.reload, { 0, 2, 1, 3 }
uselistorder i64* %20, { 1, 0 }
uselistorder i64 %storemerge6.reload, { 3, 0, 1, 2 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64* %storemerge6.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge2.reg2mem, { 0, 1, 3, 2 }
uselistorder i64 (i64)* @kunmap, { 1, 0 }
uselistorder i64 (i64)* @page_cache_release, { 2, 1, 0 }
uselistorder i64 4096, { 1, 0, 2, 3, 4 }
uselistorder i64 1, { 3, 2, 0, 1 }
uselistorder i1 false, { 5, 2, 3, 4, 1, 0 }
uselistorder label LBL_14, { 0, 2, 1 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | e1000_reset_task_3766 | e1000_reset_task | 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, i64 %0)
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
%4 = icmp eq i1 %3, false
store i64 %1, i64* %rax.0.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %0)
store i64 %5, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | io_write_12002 | io_write | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.210.reg2mem = alloca i64
%.reg2mem14 = alloca i1
%sv_0.2913.reg2mem = alloca i64
%sv_0.211.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_0.2.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%1 = ptrtoint i64* %sv_3 to i64
store i64 %1, i64* %sv_2, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = urem i64 %arg2, 2
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
%8 = icmp eq i64 %4, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
store i64 0, i64* %sv_2, align 8
store i64 %4, i64* %sv_1.0.reg2mem
br label LBL_3
LBL_2:
%9 = ptrtoint i64* %sv_2 to i64
%10 = icmp eq i1 %7, false
%11 = zext i1 %10 to i64
%12 = call i64 @FUNC(i64 1, i64 %0, i64* nonnull %sv_2, i64 %9, i64 %11)
%13 = icmp slt i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 %9, i64* %sv_1.0.reg2mem
store i64 %12, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_27
LBL_3:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%15 = call i64 @FUNC(i64 %sv_1.0.reload)
%sext3 = mul i64 %15, 4294967296
%16 = ashr exact i64 %sext3, 32
%17 = trunc i64 %16 to i32
%18 = add i64 %0, 16
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = bitcast i64* %rdi to i32*
%21 = load i32, i32* %20, align 8
br i1 %7, label LBL_5, label LBL_4
LBL_4:
%22 = and i32 %21, -2
%23 = bitcast i64* %arg1 to i32*
store i32 %22, i32* %23, align 4
br label LBL_8
LBL_5:
%24 = or i32 %21, 1
%25 = bitcast i64* %arg1 to i32*
store i32 %24, i32* %25, align 4
%26 = call i64 @FUNC(i64 %0, i64 1)
%27 = trunc i64 %26 to i8
%28 = icmp eq i8 %27, 1
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_24, label LBL_6
LBL_6:
%30 = and i32 %21, 32
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_8, label LBL_7
LBL_7:
%33 = add i64 %0, 24
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = urem i32 %35, 2
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_24, label LBL_8
LBL_8:
%39 = call i64 @FUNC(i64 %0)
%40 = add i64 %0, 32
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = and i64 %39, 4294967295
%44 = call i64 @FUNC(i64 1, i64 %42, i64 %43, i64 %16)
%45 = icmp eq i64 %44, 0
%46 = icmp eq i1 %45, false
%47 = icmp eq i1 %46, false
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_25, label LBL_9
LBL_9:
%49 = add i64 %0, 24
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = urem i32 %51, 2
%53 = icmp eq i32 %52, 0
br i1 %53, label LBL_11, label LBL_10
LBL_10:
%54 = load i64, i64* %41, align 8
%55 = call i64 @FUNC(i64 %54)
%56 = inttoptr i64 %55 to i64*
%57 = load i64, i64* %56, align 8
%58 = call i64 @FUNC(i64 %57)
%59 = load i64, i64* %41, align 8
%60 = call i64 @FUNC(i64 %59)
%61 = inttoptr i64 %60 to i64*
%62 = load i64, i64* %61, align 8
%63 = call i64 @FUNC(i64 %62, i64 128)
br label LBL_11
LBL_11:
%64 = or i32 %21, 64
%65 = bitcast i64* %arg1 to i32*
store i32 %64, i32* %65, align 4
%66 = load i64, i64* %41, align 8
%67 = inttoptr i64 %66 to i64*
%68 = load i64, i64* %67, align 8
%69 = inttoptr i64 %68 to i64*
%70 = load i64, i64* %69, align 8
%71 = icmp eq i64 %70, 0
br i1 %71, label LBL_13, label LBL_12
LBL_12:
%72 = call i64 @FUNC(i64 %66, i64 %0, i64 %sv_1.0.reload)
store i64 %72, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_13:
%73 = add i64 %68, 8
%74 = inttoptr i64 %73 to i64*
%75 = load i64, i64* %74, align 8
%76 = icmp eq i64 %75, 0
store i64 -22, i64* %sv_0.0.reg2mem
br i1 %76, label LBL_15, label LBL_14
LBL_14:
%77 = call i64 @FUNC(i64 1, i64 %0, i64 %sv_1.0.reload)
store i64 %77, i64* %sv_0.0.reg2mem
br label LBL_15
LBL_15:
%78 = load i32, i32* %50, align 4
%79 = and i32 %78, 2
%80 = icmp eq i32 %79, 0
br i1 %80, label LBL_17, label LBL_16
LBL_16:
%81 = and i32 %78, -3
store i32 %81, i32* %50, align 4
store i32 %81, i32* %.reg2mem
store i64 -11, i64* %sv_0.211.reg2mem
br label LBL_20
LBL_17:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%82 = icmp eq i64 %sv_0.0.reload, -95
%83 = icmp eq i1 %82, false
store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem
br i1 %83, label LBL_19, label LBL_18
LBL_18:
%84 = urem i32 %21, 2
%85 = icmp eq i32 %84, 0
%spec.select = select i1 %85, i64 %sv_0.0.reload, i64 -11
store i64 %spec.select, i64* %sv_0.2.reg2mem
br label LBL_19
LBL_19:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%86 = icmp eq i64 %sv_0.2.reload, -11
%87 = icmp eq i1 %86, false
store i32 %78, i32* %.reg2mem
store i64 %sv_0.2.reload, i64* %sv_0.211.reg2mem
store i64 %sv_0.2.reload, i64* %sv_0.2913.reg2mem
store i1 false, i1* %.reg2mem14
br i1 %87, label LBL_22, label LBL_20
LBL_20:
%sv_0.211.reload = load i64, i64* %sv_0.211.reg2mem
%.reload = load i32, i32* %.reg2mem
%88 = and i32 %.reload, 4
%89 = icmp eq i32 %88, 0
%90 = icmp eq i1 %89, false
store i64 %sv_0.211.reload, i64* %sv_0.210.reg2mem
br i1 %90, label LBL_23, label LBL_21
LBL_21:
store i64 %sv_0.211.reload, i64* %sv_0.2913.reg2mem
store i1 true, i1* %.reg2mem14
br i1 %7, label LBL_24, label LBL_22
LBL_22:
%.reload15 = load i1, i1* %.reg2mem14
%sv_0.2913.reload = load i64, i64* %sv_0.2913.reg2mem
%91 = add i64 %0, 40
%92 = inttoptr i64 %91 to i64*
%93 = load i64, i64* %92, align 8
%94 = inttoptr i64 %93 to i32*
%95 = load i32, i32* %94, align 4
%96 = and i32 %95, 8
%97 = icmp ne i32 %96, 0
%or.cond7 = icmp eq i1 %.reload15, %97
store i64 %sv_0.2913.reload, i64* %sv_0.210.reg2mem
br i1 %or.cond7, label LBL_24, label LBL_23
LBL_23:
%sv_0.210.reload = load i64, i64* %sv_0.210.reg2mem
%98 = trunc i64 %arg2 to i32
%99 = call i64 @FUNC(i64 %0, i64 %sv_0.210.reload, i32 %98)
br label LBL_25
LBL_24:
%100 = call i64 @FUNC(i64 %sv_1.0.reload)
%sext4 = mul i64 %100, 4294967296
%101 = ashr exact i64 %sext4, 32
%102 = sub nsw i64 %16, %101
%103 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %102)
%104 = load i64, i64* %sv_2, align 8
%105 = call i64 @FUNC(i64 %0, i64 %104, i64* nonnull %sv_3, i64 %sv_1.0.reload, i64 0)
%106 = icmp eq i64 %105, 0
%spec.store.select = select i1 %106, i64 4294967285, i64 %105
store i64 %spec.store.select, i64* %rax.0.reg2mem
br label LBL_27
LBL_25:
%107 = load i64, i64* %sv_2, align 8
%108 = icmp eq i64 %107, 0
store i64 %44, i64* %rax.0.reg2mem
br i1 %108, label LBL_27, label LBL_26
LBL_26:
%109 = call i64 @FUNC(i64 %107)
store i64 %44, i64* %rax.0.reg2mem
br label LBL_27
LBL_27:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.211.reload, { 1, 0 }
uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }
uselistorder i32* %50, { 1, 0, 2 }
uselistorder i64 %44, { 1, 0, 2 }
uselistorder i64* %41, { 2, 0, 1, 3 }
uselistorder i32 %21, { 0, 1, 2, 4, 3 }
uselistorder i64 %sv_1.0.reload, { 3, 1, 2, 4, 5, 0 }
uselistorder i1 %7, { 0, 2, 1 }
uselistorder i64* %sv_2, { 1, 2, 0, 4, 3, 5 }
uselistorder i64 %0, { 5, 3, 4, 6, 2, 7, 8, 9, 1, 0, 10, 11, 12 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_0.2913.reg2mem, { 0, 2, 1 }
uselistorder i1* %.reg2mem14, { 0, 2, 1 }
uselistorder i64* %sv_0.210.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i64 -11, { 2, 1, 0 }
uselistorder i64 (i64)* @file_inode, { 1, 0 }
uselistorder i32 2, { 0, 3, 1, 2 }
uselistorder i64 32, { 0, 2, 1 }
uselistorder i64 (i64)* @iov_iter_count, { 1, 0 }
uselistorder i64 1, { 1, 2, 3, 4, 0 }
uselistorder i1 false, { 3, 0, 4, 5, 6, 2, 7, 8, 9, 10, 11, 1, 12 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0, 2, 3 }
uselistorder label LBL_27, { 1, 0, 3, 2 }
uselistorder label LBL_25, { 1, 0 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_15, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 2, 0 }
} | 1 |
CompRealVul | kvm_on_sigbus_18601 | kvm_on_sigbus | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = urem i64 %2, 2
%4 = icmp eq i64 %3, 0
%5 = icmp eq i64 %arg2, 0
%or.cond = or i1 %5, %4
%.pre = trunc i64 %arg1 to i32
%6 = icmp eq i32 %.pre, 1
%7 = icmp eq i1 %6, false
%or.cond4 = or i1 %7, %or.cond
br i1 %or.cond4, label LBL_5, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_1)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = load i64, i64* %sv_1, align 8
%13 = load i64, i64* @gv_0, align 8
%14 = add i64 %13, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16, i64 %12, i64* nonnull %sv_0)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%22 = inttoptr i64 %arg2 to i64*
%23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_2, i64 0, i64 0), i64* %22)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%24 = load i64, i64* %sv_0, align 8
%25 = load i64, i64* @gv_0, align 8
%26 = call i64 @FUNC(i64 %25, i64 9, i64 255, i64 384, i64 %24, i64 4108)
%27 = load i64, i64* @gv_0, align 8
%28 = call i64 @FUNC(i64 %27)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_6, label LBL_8
LBL_6:
%29 = icmp eq i32 %.pre, 2
%30 = icmp eq i1 %29, false
store i64 1, i64* %rax.0.reg2mem
br i1 %30, label LBL_8, label LBL_7
LBL_7:
%31 = call i64 @FUNC()
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 i1 %7, { 1, 0 }
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 }
uselistorder i1 false, { 1, 2, 3, 0 }
uselistorder label LBL_8, { 1, 2, 3, 0, 4 }
} | 1 |
CompRealVul | nsec_valid_7006 | nsec_valid | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = trunc i64 %0 to i8
%2 = icmp ne i8 %1, 0
%3 = icmp ult i64 %arg1, 1000000000
%narrow = or i1 %3, %2
%storemerge = zext i1 %narrow to i64
ret i64 %storemerge
} | 0 |
CompRealVul | qemu_tcg_wait_io_event_16053 | qemu_tcg_wait_io_event | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rdi.01.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%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_1, label LBL_3
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = ptrtoint i64* %sv_0 to i64
%6 = add i64 %4, 40
%7 = inttoptr i64 %6 to i64*
%8 = add i64 %5, -8
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %4, 32
%11 = inttoptr i64 %10 to i64*
%12 = add i64 %5, -16
%13 = inttoptr i64 %12 to i64*
%14 = add i64 %4, 24
%15 = inttoptr i64 %14 to i64*
%16 = add i64 %5, -24
%17 = inttoptr i64 %16 to i64*
%18 = add i64 %4, 16
%19 = inttoptr i64 %18 to i64*
%20 = add i64 %5, -32
%21 = inttoptr i64 %20 to i64*
%22 = add i64 %4, 8
%23 = inttoptr i64 %22 to i64*
%24 = add i64 %5, -40
%25 = inttoptr i64 %24 to i64*
%26 = add i64 %5, -48
%27 = inttoptr i64 %26 to i64*
store i64 %4, i64* %rdi.01.reg2mem
br label LBL_2
LBL_2:
%rdi.01.reload = load i64, i64* %rdi.01.reg2mem
%28 = call i64 @FUNC()
%29 = load i64, i64* %7, align 8
store i64 %29, i64* %9, align 8
%30 = load i64, i64* %11, align 8
store i64 %30, i64* %13, align 8
%31 = load i64, i64* %15, align 8
store i64 %31, i64* %17, align 8
%32 = load i64, i64* %19, align 8
store i64 %32, i64* %21, align 8
%33 = load i64, i64* %23, align 8
store i64 %33, i64* %25, align 8
store i64 %rdi.01.reload, i64* %27, align 8
%34 = call i64 @FUNC(i64* nonnull @gv_0)
%35 = call i64 @FUNC()
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdi.01.reg2mem
br i1 %38, label LBL_2, label LBL_3
LBL_3:
%39 = call i64 @FUNC()
ret i64 %39
uselistorder i64* %rdi.01.reg2mem, { 1, 0, 2 }
uselistorder i64* @gv_0, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 ()* @all_cpu_threads_idle, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | test_pages_in_a_zone_10601 | test_pages_in_a_zone | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sv_0.14.reg2mem = alloca i64
%storemerge15.reg2mem = alloca i64
%0 = icmp ult i64 %arg1, %arg2
store i64 %arg1, i64* %storemerge15.reg2mem
store i64 0, i64* %sv_0.14.reg2mem
store i64 1, i64* %storemerge.reg2mem
br i1 %0, label LBL_1, label LBL_6
LBL_1:
%sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem
%storemerge15.reload = load i64, i64* %storemerge15.reg2mem
%1 = call i64 @FUNC(i64 %storemerge15.reload)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_5, label LBL_2
LBL_2:
%4 = call i64 @FUNC(i64 %storemerge15.reload)
%5 = icmp eq i64 %sv_0.14.reload, 0
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = call i64 @FUNC(i64 %4)
%7 = icmp eq i64 %sv_0.14.reload, %6
store i64 0, i64* %storemerge.reg2mem
br i1 %7, label LBL_4, label LBL_6
LBL_4:
%8 = call i64 @FUNC(i64 %4)
store i64 %8, i64* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%9 = add nuw i64 %storemerge15.reload, 1
%10 = icmp ult i64 %9, %arg2
store i64 %9, i64* %storemerge15.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem
store i64 1, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge15.reload, { 0, 2, 1 }
uselistorder i64 %sv_0.14.reload, { 1, 2, 0 }
uselistorder i64* %storemerge15.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.14.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @page_zone, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i64 1, { 0, 3, 1, 2 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | headerSprintf_4551 | headerSprintf | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.2.lcssa.reg2mem = alloca i8*
%sv_0.1.reg2mem = alloca i8*
%sv_1.0.reg2mem = alloca i32
%sv_2.2.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i8*
%sv_2.1.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i32
%sv_2.36.reg2mem = alloca i32
%sv_1.17.reg2mem = alloca i32
%sv_0.28.reg2mem = alloca i8*
%storemerge59.reg2mem = alloca i32
%sv_3 = alloca i64, align 8
%sv_4 = alloca i32, align 4
%0 = inttoptr i64 %arg2 to i8*
%1 = call i8* @strdup(i8* %0)
%2 = ptrtoint i8* %1 to i64
%3 = bitcast i32* %sv_4 to i64*
%4 = call i64 @FUNC(i64 %2, i64 %arg3, i64 %arg4, i64* nonnull %sv_3, i64* nonnull %3, i64 0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = bitcast i8* %1 to i64*
call void @free(i64* %7)
store i64 0, i64* %storemerge.reg2mem
br label LBL_10
LBL_2:
%8 = and i64 %arg1, 4294967295
%9 = call i64 @FUNC(i64 %arg4)
%10 = call i64* @malloc(i32 1024)
%11 = bitcast i64* %10 to i8*
store i8 0, i8* %11, align 1
%12 = load i32, i32* %sv_4, align 4
%13 = icmp eq i32 %12, 0
store i32 0, i32* %storemerge59.reg2mem
store i8* %11, i8** %sv_0.28.reg2mem
store i32 0, i32* %sv_1.17.reg2mem
store i32 1024, i32* %sv_2.36.reg2mem
store i8* %11, i8** %sv_0.2.lcssa.reg2mem
br i1 %13, label LBL_9, label LBL_3
LBL_3:
%sv_2.36.reload = load i32, i32* %sv_2.36.reg2mem
%sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem
%sv_0.28.reload = load i8*, i8** %sv_0.28.reg2mem
%storemerge59.reload = load i32, i32* %storemerge59.reg2mem
%14 = load i64, i64* %sv_3, align 8
%15 = call i64 @FUNC(i64 %8, i64 %14, i64 %arg4, i64 %9, i64 0)
%16 = icmp eq i64 %15, 0
store i32 %sv_2.36.reload, i32* %sv_2.2.reg2mem
store i32 %sv_1.17.reload, i32* %sv_1.0.reg2mem
store i8* %sv_0.28.reload, i8** %sv_0.1.reg2mem
br i1 %16, label LBL_8, label LBL_4
LBL_4:
%17 = inttoptr i64 %15 to i8*
%18 = call i32 @strlen(i8* %17)
%19 = add i32 %18, %sv_1.17.reload
%20 = zext i32 %19 to i64
%21 = sext i32 %sv_2.36.reload to i64
%22 = icmp sgt i64 %21, %20
store i32 %sv_2.36.reload, i32* %sv_2.0.reg2mem
store i32 %sv_2.36.reload, i32* %sv_2.1.reg2mem
store i8* %sv_0.28.reload, i8** %sv_0.0.reg2mem
br i1 %22, label LBL_7, label LBL_5
LBL_5:
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%23 = sext i32 %sv_2.0.reload to i64
%24 = icmp sgt i64 %23, %20
%25 = add i32 %sv_2.0.reload, 1024
store i32 %25, i32* %sv_2.0.reg2mem
br i1 %24, label LBL_6, label LBL_5
LBL_6:
%26 = bitcast i8* %sv_0.28.reload to i64*
%27 = call i64* @realloc(i64* %26, i32 %sv_2.0.reload)
%28 = bitcast i64* %27 to i8*
store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem
store i8* %28, i8** %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%29 = call i8* @strcat(i8* %sv_0.0.reload, i8* %17)
%30 = inttoptr i64 %15 to i64*
call void @free(i64* %30)
store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem
store i32 %19, i32* %sv_1.0.reg2mem
store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem
br label LBL_8
LBL_8:
%sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem
%31 = add i32 %storemerge59.reload, 1
%32 = load i32, i32* %sv_4, align 4
%33 = zext i32 %32 to i64
%34 = sext i32 %31 to i64
%35 = icmp slt i64 %34, %33
store i32 %31, i32* %storemerge59.reg2mem
store i8* %sv_0.1.reload, i8** %sv_0.28.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.17.reg2mem
store i32 %sv_2.2.reload, i32* %sv_2.36.reg2mem
store i8* %sv_0.1.reload, i8** %sv_0.2.lcssa.reg2mem
br i1 %35, label LBL_3, label LBL_9
LBL_9:
%sv_0.2.lcssa.reload = load i8*, i8** %sv_0.2.lcssa.reg2mem
%36 = bitcast i8* %1 to i64*
call void @free(i64* %36)
%37 = call i64 @FUNC(i64 %arg4, i64 %9)
%38 = load i64, i64* %sv_3, align 8
%39 = inttoptr i64 %38 to i64*
call void @free(i64* %39)
%40 = ptrtoint i8* %sv_0.2.lcssa.reload to i64
store i64 %40, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %sv_2.0.reload, { 0, 3, 1, 2 }
uselistorder i8* %sv_0.28.reload, { 2, 1, 0 }
uselistorder i32 %sv_1.17.reload, { 1, 0 }
uselistorder i32 %sv_2.36.reload, { 1, 2, 3, 0 }
uselistorder i32* %sv_4, { 1, 0, 2 }
uselistorder i64* %sv_3, { 1, 2, 0 }
uselistorder i32* %storemerge59.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.28.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.17.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.36.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i32 1024, { 2, 0, 1 }
uselistorder i32 0, { 0, 1, 2, 4, 3, 5 }
uselistorder i8* (i8*)* @strdup, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | sh_mobile_ceu_videobuf_release_18334 | sh_mobile_ceu_videobuf_release | 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 %3)
%5 = call i64 @FUNC(i64 %0)
%6 = inttoptr i64 %4 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %7, 8
%9 = call i64 @FUNC(i64 %8)
%10 = inttoptr i64 %7 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(i64 %7, i64 0, i64 65536)
store i64 0, i64* %10, align 8
br label LBL_2
LBL_2:
%15 = call i64 @FUNC(i64 %5)
%16 = call i64 @FUNC(i64 %8)
ret i64 %16
} | 1 |
CompRealVul | jsiClearThis_10820 | jsiClearThis | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 29
%2 = add i64 %0, %1
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = inttoptr i64 %4 to i64*
call void @free(i64* %6)
store i64 0, i64* %3, align 8
store i64 %2, 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 label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | irtty_chars_in_buffer_7013 | irtty_chars_in_buffer | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
%3 = icmp eq i1 %2, false
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 305419896
%or.cond = icmp eq i1 %3, %5
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_2
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = 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
%. = select i1 %14, i64 0, i64 %9
store i64 %., i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
CompRealVul | monitor_protocol_event_handler_1033 | monitor_protocol_event_handler | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 0)
%4 = add i64 %2, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %10, i64 %9, i64 %6, i64 %3)
%12 = load i64, i64* %8, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_2, label LBL_1
LBL_1:
%14 = call i64 @FUNC(i64 %10, i64 %12)
%15 = load i64, i64* %8, align 8
%16 = call i64 @FUNC(i64 %15)
store i64 0, i64* %8, align 8
br label LBL_2
LBL_2:
store i64 %3, i64* %5, align 8
ret i64 %2
uselistorder i64 %10, { 1, 0 }
uselistorder i64* %8, { 1, 0, 2, 3 }
uselistorder i64 %2, { 0, 2, 1 }
} | 0 |
CompRealVul | monitor_qapi_event_handler_15686 | monitor_qapi_event_handler | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = and i64 %1, 4294967295
%6 = call i64 @FUNC(i64 %5, i64 %4)
%7 = call i64 @FUNC(i64* nonnull @gv_0)
%8 = load i64, i64* %3, align 8
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%sext = mul i64 %1, 4294967296
%10 = ashr exact i64 %sext, 30
%11 = add i64 %10, ptrtoint (i32** @gv_1 to i64)
%12 = inttoptr i64 %11 to i32*
%13 = call i64 @FUNC(i64 0)
%14 = load i64, i64* %3, align 8
%15 = call i64 @FUNC(i64 %5, i64 %14)
%16 = load i64, i64* %3, align 8
%17 = call i64 @FUNC(i64 %16)
store i64 0, i64* %3, align 8
%18 = load i32, i32* %12, align 4
%19 = sext i32 %18 to i64
%20 = add i64 %13, %19
%21 = add i64 %arg1, 24
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23, i64 %20)
br label LBL_3
LBL_2:
%25 = load i64, i64* @gv_2, align 8
%26 = call i64 @FUNC(i64 %25, i64 %arg1)
%27 = add i64 %arg1, 16
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %29)
%31 = add i64 %arg1, 24
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = call i64 @FUNC(i64 %33)
%35 = call i64 @FUNC(i64 %arg1)
br label LBL_3
LBL_3:
%36 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %36
uselistorder i64 %5, { 1, 0 }
uselistorder i64* %3, { 1, 0, 2, 3, 4 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 (i64)* @QDECREF, { 1, 0 }
uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 1, 4, 3, 2, 0, 5 }
} | 1 |
CompRealVul | decode_frame_18747 | decode_frame | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i64
%.pre-phi26.reg2mem = alloca i64
%sv_0.19.reg2mem = alloca i32
%sv_1.110.reg2mem = alloca i32
%sv_2.111.reg2mem = alloca i32
%sv_3.012.reg2mem = alloca i64
%sv_4.014.reg2mem = alloca i64
%sv_5.016.reg2mem = alloca i64
%storemerge18.reg2mem = alloca i32
%.reg2mem41 = alloca i32
%.reg2mem39 = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i32
%.reg2mem37 = alloca i32
%.reg2mem35 = alloca i32
%sv_0.03.reg2mem = alloca i32
%sv_1.04.reg2mem = alloca i32
%sv_2.05.reg2mem = alloca i32
%storemerge16.reg2mem = alloca i32
%.reg2mem33 = alloca i64
%.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = ptrtoint i64* %arg4 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %3, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i32 %10, 32
%12 = sext i32 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
store i32 -12, i32* %rax.0.shrunk.reg2mem
br label LBL_23
LBL_2:
%17 = inttoptr i64 %7 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %18, 0
store i64 %3, i64* %rcx.0.reg2mem
br i1 %19, label LBL_4, label LBL_3
LBL_3:
%20 = add i64 %4, 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
store i64 %22, i64* %rcx.0.reg2mem
br label LBL_4
LBL_4:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%23 = add i64 %7, 36
%24 = inttoptr i64 %23 to i32*
store i32 0, i32* %24, align 4
%25 = call i64 @FUNC(i64 %4, i64 %7)
%26 = trunc i64 %25 to i32
%27 = icmp slt i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_6, label LBL_5
LBL_5:
%29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)
%30 = call i64 @FUNC(i64 %13)
store i32 %26, i32* %rax.0.shrunk.reg2mem
br label LBL_23
LBL_6:
%31 = add i64 %7, 40
%32 = inttoptr i64 %31 to i32*
store i32 1, i32* %32, align 4
%33 = icmp sgt i32 %10, 8
br i1 %33, label LBL_7, label LBL_9
LBL_7:
%wide.trip.count = zext i32 %10 to i64
store i64 8, i64* %indvars.iv.reg2mem
br label LBL_8
LBL_8:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%34 = add i64 %indvars.iv.reload, %3
%35 = inttoptr i64 %34 to i8*
%36 = load i8, i8* %35, align 1
%37 = add i64 %indvars.iv.reload, %13
%38 = zext i8 %36 to i64
%39 = add i64 %38, ptrtoint ([256 x i8]* @CRC_1_poly_0x1_at_402020 to i64)
%40 = inttoptr i64 %39 to i8*
%41 = load i8, i8* %40, align 1
%42 = inttoptr i64 %37 to i8*
store i8 %41, i8* %42, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_9, label LBL_8
LBL_9:
%43 = mul i32 %10, 8
%44 = add i32 %43, -64
%45 = zext i32 %44 to i64
%46 = add i64 %13, 8
%47 = add i64 %7, 56
%48 = call i64 @FUNC(i64 %47, i64 %46, i64 %45)
%49 = add i64 %3, 2
%50 = inttoptr i64 %49 to i8*
%51 = load i8, i8* %50, align 1
%.mask = and i8 %51, -16
%52 = icmp eq i8 %.mask, 96
%53 = icmp eq i1 %52, false
br i1 %53, label LBL_11, label LBL_10
LBL_10:
%54 = add i64 %7, 48
%55 = inttoptr i64 %54 to i32*
store i32 2, i32* %55, align 4
br label LBL_15
LBL_11:
%56 = udiv i8 %51, 16
%57 = zext i8 %56 to i32
%58 = sub nsw i32 8, %57
%59 = add i64 %7, 48
%60 = inttoptr i64 %59 to i32*
store i32 %58, i32* %60, align 4
%61 = icmp slt i32 %58, 5
store i32 %58, i32* %.reg2mem
br i1 %61, label LBL_13, label LBL_12
LBL_12:
%62 = load i8, i8* %50, align 1
%63 = udiv i8 %62, 16
%64 = zext i8 %63 to i64
%65 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %64, i64 %46, i64 %2, i64 %1)
store i32 4, i32* %60, align 4
store i32 4, i32* %.reg2mem
br label LBL_13
LBL_13:
%.reload = load i32, i32* %.reg2mem
%66 = icmp eq i32 %.reload, 0
%67 = icmp slt i32 %.reload, 0
%68 = icmp eq i1 %67, false
%69 = icmp eq i1 %66, false
%70 = icmp eq i1 %68, %69
br i1 %70, label LBL_15, label LBL_14
LBL_14:
%71 = load i8, i8* %50, align 1
%72 = udiv i8 %71, 16
%73 = zext i8 %72 to i64
%74 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %73, i64 %46, i64 %2, i64 %1)
store i32 1, i32* %60, align 4
br label LBL_15
LBL_15:
%75 = add i64 %7, 8
%76 = inttoptr i64 %75 to i64*
%77 = add i64 %7, 16
%78 = inttoptr i64 %77 to i64*
%79 = add i64 %4, 4
%80 = inttoptr i64 %79 to i32*
%81 = load i32, i32* %80, align 4
%82 = icmp eq i32 %81, 0
br i1 %82, label LBL_15.LBL_22_crit_edge, label LBL_17
LBL_16:
%.pre24 = add i64 %7, 24
%.pre25 = add i64 %7, 32
store i64 %.pre25, i64* %.pre-phi26.reg2mem
store i64 %.pre24, i64* %.pre-phi.reg2mem
br label LBL_22
LBL_17:
%83 = load i64, i64* %78, align 8
%84 = load i64, i64* %76, align 8
%85 = load i64, i64* %17, align 8
%86 = bitcast i64* %rdi to i32*
%87 = add i64 %7, 24
%88 = inttoptr i64 %87 to i32*
%89 = add i64 %7, 28
%90 = inttoptr i64 %89 to i32*
%91 = add i64 %7, 32
%92 = inttoptr i64 %91 to i32*
%.pre = load i32, i32* %86, align 8
store i32 %81, i32* %.reg2mem39
store i32 %.pre, i32* %.reg2mem41
store i32 0, i32* %storemerge18.reg2mem
store i64 %83, i64* %sv_5.016.reg2mem
store i64 %84, i64* %sv_4.014.reg2mem
store i64 %85, i64* %sv_3.012.reg2mem
store i32 0, i32* %sv_2.111.reg2mem
store i32 0, i32* %sv_1.110.reg2mem
store i32 0, i32* %sv_0.19.reg2mem
br label LBL_21
LBL_18:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem
%sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem
%storemerge16.reload = load i32, i32* %storemerge16.reg2mem
%.reload34 = load i64, i64* %.reg2mem33
%93 = zext i32 %sv_0.03.reload to i64
%94 = call i64 @FUNC(i64 %7, i64 %93)
%95 = mul i32 %storemerge16.reload, 2
%96 = sext i32 %95 to i64
%97 = add i64 %sv_3.012.reload, %96
%98 = trunc i64 %94 to i8
%99 = inttoptr i64 %97 to i8*
store i8 %98, i8* %99, align 1
%100 = zext i32 %sv_1.04.reload to i64
%101 = call i64 @FUNC(i64 %7, i64 %100)
%102 = add i64 %.reload34, %sv_4.014.reload
%103 = trunc i64 %101 to i8
%104 = inttoptr i64 %102 to i8*
store i8 %103, i8* %104, align 1
%105 = trunc i64 %101 to i32
%106 = urem i32 %105, 256
%107 = load i8, i8* %99, align 1
%108 = zext i8 %107 to i64
%109 = call i64 @FUNC(i64 %7, i64 %108)
%110 = or i32 %95, 1
%111 = sext i32 %110 to i64
%112 = add i64 %sv_3.012.reload, %111
%113 = trunc i64 %109 to i8
%114 = inttoptr i64 %112 to i8*
store i8 %113, i8* %114, align 1
%115 = trunc i64 %109 to i32
%116 = urem i32 %115, 256
%117 = zext i32 %sv_2.05.reload to i64
%118 = call i64 @FUNC(i64 %7, i64 %117)
%119 = add i64 %.reload34, %sv_5.016.reload
%120 = trunc i64 %118 to i8
%121 = inttoptr i64 %119 to i8*
store i8 %120, i8* %121, align 1
%122 = trunc i64 %118 to i32
%123 = urem i32 %122, 256
%124 = add i32 %storemerge16.reload, 1
%125 = load i32, i32* %86, align 8
%126 = icmp slt i32 %125, 0
%127 = zext i1 %126 to i32
%128 = add i32 %125, %127
%129 = ashr i32 %128, 1
%130 = zext i32 %129 to i64
%131 = sext i32 %124 to i64
%132 = icmp slt i64 %131, %130
store i64 %131, i64* %.reg2mem33
store i32 %124, i32* %storemerge16.reg2mem
store i32 %123, i32* %sv_2.05.reg2mem
store i32 %106, i32* %sv_1.04.reg2mem
store i32 %116, i32* %sv_0.03.reg2mem
br i1 %132, label LBL_18, label LBL_19
LBL_19:
%.pre23 = load i32, i32* %80, align 4
store i32 %.pre23, i32* %.reg2mem35
store i32 %125, i32* %.reg2mem37
store i32 %116, i32* %sv_0.0.lcssa.reg2mem
store i32 %106, i32* %sv_1.0.lcssa.reg2mem
store i32 %123, i32* %sv_2.0.lcssa.reg2mem
br label LBL_20
LBL_20:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%.reload38 = load i32, i32* %.reg2mem37
%.reload36 = load i32, i32* %.reg2mem35
%133 = load i32, i32* %88, align 4
%134 = sext i32 %133 to i64
%135 = add i64 %sv_3.012.reload, %134
%136 = load i32, i32* %90, align 4
%137 = sext i32 %136 to i64
%138 = add i64 %sv_4.014.reload, %137
%139 = load i32, i32* %92, align 4
%140 = sext i32 %139 to i64
%141 = add i64 %sv_5.016.reload, %140
%142 = add i32 %storemerge18.reload, 1
%143 = zext i32 %.reload36 to i64
%144 = sext i32 %142 to i64
%145 = icmp slt i64 %144, %143
store i32 %.reload36, i32* %.reg2mem39
store i32 %.reload38, i32* %.reg2mem41
store i32 %142, i32* %storemerge18.reg2mem
store i64 %141, i64* %sv_5.016.reg2mem
store i64 %138, i64* %sv_4.014.reg2mem
store i64 %135, i64* %sv_3.012.reg2mem
store i32 %sv_2.0.lcssa.reload, i32* %sv_2.111.reg2mem
store i32 %sv_1.0.lcssa.reload, i32* %sv_1.110.reg2mem
store i32 %sv_0.0.lcssa.reload, i32* %sv_0.19.reg2mem
store i64 %91, i64* %.pre-phi26.reg2mem
store i64 %87, i64* %.pre-phi.reg2mem
br i1 %145, label LBL_21, label LBL_22
LBL_21:
%sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem
%sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem
%sv_2.111.reload = load i32, i32* %sv_2.111.reg2mem
%sv_3.012.reload = load i64, i64* %sv_3.012.reg2mem
%sv_4.014.reload = load i64, i64* %sv_4.014.reg2mem
%sv_5.016.reload = load i64, i64* %sv_5.016.reg2mem
%storemerge18.reload = load i32, i32* %storemerge18.reg2mem
%.reload42 = load i32, i32* %.reg2mem41
%.reload40 = load i32, i32* %.reg2mem39
%146 = icmp slt i32 %.reload42, 0
%147 = zext i1 %146 to i32
%148 = add i32 %.reload42, %147
%149 = icmp ugt i32 %148, 1
store i64 0, i64* %.reg2mem33
store i32 0, i32* %storemerge16.reg2mem
store i32 %sv_2.111.reload, i32* %sv_2.05.reg2mem
store i32 %sv_1.110.reload, i32* %sv_1.04.reg2mem
store i32 %sv_0.19.reload, i32* %sv_0.03.reg2mem
store i32 %.reload40, i32* %.reg2mem35
store i32 %.reload42, i32* %.reg2mem37
store i32 %sv_0.19.reload, i32* %sv_0.0.lcssa.reg2mem
store i32 %sv_1.110.reload, i32* %sv_1.0.lcssa.reg2mem
store i32 %sv_2.111.reload, i32* %sv_2.0.lcssa.reg2mem
br i1 %149, label LBL_18, label LBL_20
LBL_22:
%150 = ptrtoint i64* %arg2 to i64
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%.pre-phi26.reload = load i64, i64* %.pre-phi26.reg2mem
%151 = bitcast i64* %arg3 to i32*
store i32 1, i32* %151, align 4
%152 = load i64, i64* %17, align 8
%153 = load i64, i64* %76, align 8
store i64 %152, i64* %arg2, align 8
%154 = add i64 %150, 8
%155 = inttoptr i64 %154 to i64*
store i64 %153, i64* %155, align 8
%156 = load i64, i64* %78, align 8
%157 = inttoptr i64 %.pre-phi.reload to i64*
%158 = load i64, i64* %157, align 8
%159 = add i64 %150, 16
%160 = inttoptr i64 %159 to i64*
store i64 %156, i64* %160, align 8
%161 = add i64 %150, 24
%162 = inttoptr i64 %161 to i64*
store i64 %158, i64* %162, align 8
%163 = inttoptr i64 %.pre-phi26.reload to i64*
%164 = load i64, i64* %163, align 8
%165 = inttoptr i64 %31 to i64*
%166 = load i64, i64* %165, align 8
%167 = add i64 %150, 32
%168 = inttoptr i64 %167 to i64*
store i64 %164, i64* %168, align 8
%169 = add i64 %150, 40
%170 = inttoptr i64 %169 to i64*
store i64 %166, i64* %170, align 8
%171 = call i64 @FUNC(i64 %13)
store i32 %10, i32* %rax.0.shrunk.reg2mem
br label LBL_23
LBL_23:
%rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem
%rax.0 = zext i32 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32 %.reload42, { 2, 1, 0 }
uselistorder i64 %sv_3.012.reload, { 1, 2, 0 }
uselistorder i32 %sv_2.111.reload, { 1, 0 }
uselistorder i32 %sv_1.110.reload, { 1, 0 }
uselistorder i32 %sv_0.19.reload, { 1, 0 }
uselistorder i32 %95, { 1, 0 }
uselistorder i64 %.reload34, { 1, 0 }
uselistorder i32* %86, { 1, 0 }
uselistorder i32 %.reload, { 1, 0 }
uselistorder i32* %60, { 1, 0, 2 }
uselistorder i8* %50, { 1, 0, 2 }
uselistorder i64 %46, { 1, 0, 2 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %13, { 2, 3, 0, 1, 4 }
uselistorder i64 %7, { 6, 7, 8, 9, 3, 4, 5, 0, 1, 10, 11, 12, 2, 13, 14, 15, 16, 17 }
uselistorder i64 %4, { 5, 4, 3, 2, 6, 1, 0, 7 }
uselistorder i64 %3, { 3, 1, 0, 2, 4 }
uselistorder i64 %2, { 1, 0, 3, 2 }
uselistorder i64 %1, { 1, 0, 3, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem33, { 1, 2, 0 }
uselistorder i32* %storemerge16.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_2.05.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_1.04.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_0.03.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem35, { 1, 0, 2 }
uselistorder i32* %.reg2mem37, { 1, 0, 2 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.0.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @wnv1_get_code, { 3, 2, 1, 0 }
uselistorder i64 32, { 2, 1, 0 }
uselistorder i64 24, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_log_ask_for_sample, { 1, 0 }
uselistorder i32 8, { 2, 0, 1 }
uselistorder i64 (i64)* @av_free, { 1, 0 }
uselistorder i32 0, { 4, 5, 6, 0, 1, 2, 3, 7, 8, 9, 10, 11 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i1 false, { 1, 0, 2, 3, 4 }
uselistorder i64 0, { 0, 3, 4, 9, 5, 6, 12, 10, 7, 8, 13, 1, 2, 11 }
uselistorder i64 8, { 1, 2, 3, 0, 4, 5 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
CompRealVul | fec_enet_get_free_txdesc_num_18065 | fec_enet_get_free_txdesc_num | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.in.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = sub i64 %2, %5
%sext = mul i64 %1, 4294967296
%7 = ashr exact i64 %sext, 32
%8 = udiv i64 %6, %7
%9 = trunc i64 %8 to i32
%10 = add i32 %9, -1
%11 = icmp eq i32 %10, 0
%12 = icmp slt i32 %10, 0
%13 = icmp eq i1 %12, false
%14 = icmp eq i1 %11, false
%15 = icmp eq i1 %13, %14
store i32 %10, i32* %storemerge.in.reg2mem
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = add i64 %2, 16
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i32 %18, %10
store i32 %19, i32* %storemerge.in.reg2mem
br label LBL_2
LBL_2:
%storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem
%storemerge = zext i32 %storemerge.in.reload to i64
ret i64 %storemerge
uselistorder i32 %10, { 1, 0, 3, 2 }
uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | iwl_hw_get_beacon_cmd_3997 | iwl_hw_get_beacon_cmd | 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 = add i64 %2, 16
%4 = call i64 @FUNC(i64 %3)
%5 = icmp eq i64 %3, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_2:
%8 = ptrtoint i64* %arg2 to i64
%9 = call i64* @memset(i64* %arg2, i32 0, i32 276)
%10 = add i64 %8, 20
%11 = call i64 @FUNC(i64 %2, i64 %10, i64 0)
%12 = trunc i64 %11 to i32
%13 = icmp ult i32 %12, 2347
%14 = icmp ne i1 %13, true
%15 = zext i1 %14 to i64
%16 = call i64 @FUNC(i64 %15)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
%19 = icmp eq i32 %12, 0
%20 = icmp eq i1 %19, false
%or.cond = icmp eq i1 %18, %20
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_4
LBL_3:
%21 = trunc i64 %1 to i32
%22 = urem i64 %11, 65536
%23 = call i64 @FUNC(i64 %22)
%24 = trunc i64 %23 to i16
%25 = bitcast i64* %arg2 to i16*
store i16 %24, i16* %25, align 2
%26 = add i64 %8, 4
%27 = inttoptr i64 %26 to i32*
store i32 %21, i32* %27, align 4
%28 = add i64 %8, 8
%29 = inttoptr i64 %28 to i32*
store i32 -1, i32* %29, align 4
%30 = add i64 %8, 12
%31 = inttoptr i64 %30 to i32*
store i32 7, i32* %31, align 4
%32 = and i64 %11, 4294967295
%33 = call i64 @FUNC(i64 %2, i64 %8, i64 %10, i64 %32)
%34 = call i64 @FUNC(i64 %2, i64 %2)
%35 = trunc i64 %34 to i32
%36 = add i64 %2, 12
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = add i64 %2, 8
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = zext i32 %41 to i64
%43 = call i64 @FUNC(i64 %2, i64 %42, i32 %38)
%44 = trunc i64 %43 to i32
store i32 %44, i32* %40, align 4
%45 = and i64 %43, 4294967295
%46 = call i64 @FUNC(i64 %45)
%47 = icmp ult i32 %35, 4
%48 = or i64 %46, 8
%spec.select = select i1 %47, i64 %48, i64 %46
%49 = and i64 %spec.select, 4294967295
%50 = and i64 %34, 4294967295
%51 = call i64 @FUNC(i64 %50, i64 %49)
%52 = trunc i64 %51 to i32
%53 = add i64 %8, 16
%54 = inttoptr i64 %53 to i32*
store i32 %52, i32* %54, align 4
%55 = add i64 %11, 276
%56 = and i64 %55, 4294967295
store i64 %56, 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 %11, { 1, 2, 0, 3 }
uselistorder i64 %2, { 2, 1, 6, 4, 5, 3, 7, 0, 8 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4294967295, { 1, 2, 3, 0, 4, 5, 6, 7 }
uselistorder i32 0, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0, 2 }
} | 0 |
CompRealVul | qlcnic_napi_disable_4254 | qlcnic_napi_disable | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 1
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_4, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_4, label LBL_2
LBL_2:
%11 = add i64 %6, 8
%12 = inttoptr i64 %11 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%13 = load i64, i64* %12, align 8
%14 = mul i64 %.reload, 4
%15 = add i64 %13, %14
%16 = call i64 @FUNC(i64 %15)
%17 = call i64 @FUNC(i64 %15)
%18 = call i64 @FUNC(i64 %15)
%19 = add i32 %storemerge1.reload, 1
%20 = load i32, i32* %8, align 4
%21 = zext i32 %20 to i64
%22 = sext i32 %19 to i64
%23 = icmp slt i64 %22, %21
store i64 %22, i64* %.reg2mem
store i32 %19, i32* %storemerge1.reg2mem
store i64 %21, i64* %rax.0.reg2mem
br i1 %23, label LBL_3, label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %8, { 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | find_ie_7028 | find_ie | define i64 @FUNC(i64 %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.05.reg2mem = alloca i32
%sv_1.07.reg2mem = alloca i32*
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i32*
%sv_1.08.reg2mem = alloca i32*
%sv_0.09.reg2mem = alloca i32
%0 = icmp slt i32 %arg3, 3
store i32* %arg2, i32** %sv_1.0.lcssa.reg2mem
store i32 %arg3, i32* %sv_0.0.lcssa.reg2mem
br i1 %0, label LBL_4, label LBL_1
LBL_1:
%1 = trunc i64 %arg1 to i8
store i32 %arg3, i32* %sv_0.09.reg2mem
store i32* %arg2, i32** %sv_1.08.reg2mem
br label LBL_3
LBL_2:
%2 = ptrtoint i32* %sv_1.08.reload to i64
%3 = add i64 %2, 1
%4 = inttoptr i64 %3 to i8*
%5 = load i8, i8* %4, align 1
%6 = zext i8 %5 to i32
%.neg3 = add i32 %sv_0.09.reload, -2
%7 = sub i32 %.neg3, %6
%8 = zext i8 %5 to i64
%9 = add i64 %2, 2
%10 = add i64 %9, %8
%11 = inttoptr i64 %10 to i32*
%12 = icmp slt i32 %7, 3
store i32 %7, i32* %sv_0.09.reg2mem
store i32* %11, i32** %sv_1.08.reg2mem
store i32* %11, i32** %sv_1.0.lcssa.reg2mem
store i32 %7, i32* %sv_0.0.lcssa.reg2mem
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%sv_1.08.reload = load i32*, i32** %sv_1.08.reg2mem
%sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem
%13 = bitcast i32* %sv_1.08.reload to i8*
%14 = load i8, i8* %13, align 1
%15 = icmp eq i8 %14, %1
%16 = icmp eq i1 %15, false
store i32* %sv_1.08.reload, i32** %sv_1.07.reg2mem
store i32 %sv_0.09.reload, i32* %sv_0.05.reg2mem
br i1 %16, label LBL_2, label LBL_5
LBL_4:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32*, i32** %sv_1.0.lcssa.reg2mem
%17 = icmp eq i32 %sv_0.0.lcssa.reload, 2
store i32* %sv_1.0.lcssa.reload, i32** %sv_1.07.reg2mem
store i32 2, i32* %sv_0.05.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_5, label LBL_6
LBL_5:
%sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem
%sv_1.07.reload = load i32*, i32** %sv_1.07.reg2mem
%18 = ptrtoint i32* %sv_1.07.reload to i64
%19 = add i64 %18, 1
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i64
%23 = add nuw nsw i64 %22, 1
%24 = sext i32 %sv_0.05.reload to i64
%25 = icmp slt i64 %23, %24
%. = select i1 %25, i64 %18, i64 0
store i64 %., 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** %sv_1.07.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.05.reg2mem, { 0, 2, 1 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 %arg3, { 1, 0, 2 }
uselistorder i32* %arg2, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | do_change_type_5434 | do_change_type | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_7
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 1
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_7
LBL_2:
%9 = call i64 @FUNC(i64* nonnull @gv_0)
%10 = call i64 @FUNC(i64* nonnull @gv_1)
%11 = icmp eq i64* %arg1, null
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_3, label LBL_6
LBL_3:
%13 = and i64 %arg2, 4294967294
%14 = urem i64 %arg2, 2
%15 = icmp eq i64 %14, 0
store i64 %4, i64* %storemerge2.reg2mem
br label LBL_4
LBL_4:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%16 = call i64 @FUNC(i64 %storemerge2.reload, i64 %13)
br i1 %15, label LBL_6, label LBL_5
LBL_5:
%17 = call i64 @FUNC(i64 %storemerge2.reload, i64 %4)
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 %17, i64* %storemerge2.reg2mem
br i1 %19, label LBL_4, label LBL_6
LBL_6:
%20 = call i64 @FUNC(i64* nonnull @gv_1)
%21 = call i64 @FUNC(i64* nonnull @gv_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 %4, { 1, 0, 2 }
uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4294967294, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder label LBL_7, { 2, 0, 1 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | kvm_mce_broadcast_rest_17291 | kvm_mce_broadcast_rest | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge27.reg2mem = alloca i64
%.reg2mem = alloca i32*
%1 = load i64, i64* %0
%sv_0 = alloca i32*, align 8
store i32* %arg1, i32** %sv_0, align 8
%2 = trunc i64 %1 to i32
%3 = udiv i32 %2, 256
%4 = urem i32 %3, 16
%5 = udiv i32 %2, 4096
%6 = and i32 %5, 240
%7 = udiv i32 %2, 16
%8 = urem i32 %7, 16
%9 = or i32 %8, %6
%10 = zext i32 %9 to i64
%11 = icmp ne i32 %4, 6
%12 = icmp ult i32 %9, 14
%or.cond.not = or i1 %11, %12
%13 = icmp ult i32 %4, 7
%or.cond5 = icmp eq i1 %13, %or.cond.not
store i64 %10, i64* %rax.0.reg2mem
br i1 %or.cond5, label LBL_7, label LBL_1
LBL_1:
%storemerge26 = load i64, i64* @gv_0, align 8
%14 = icmp eq i64 %storemerge26, 0
%15 = icmp eq i1 %14, false
store i64 %storemerge26, i64* %rax.0.reg2mem
br i1 %15, label LBL_2, label LBL_7
LBL_2:
%16 = ptrtoint i32** %sv_0 to i64
%17 = add i64 %16, -8
%18 = inttoptr i64 %17 to i64*
store i32* %arg1, i32** %.reg2mem
store i64 %storemerge26, i64* %storemerge27.reg2mem
br label LBL_3
LBL_3:
%storemerge27.reload = load i64, i64* %storemerge27.reg2mem
%.reload = load i32*, i32** %.reg2mem
%19 = ptrtoint i32* %.reload to i64
%20 = icmp eq i64 %storemerge27.reload, %19
br i1 %20, label LBL_5, label LBL_4
LBL_4:
store i64 1, i64* %18, align 8
%21 = call i64 @FUNC(i64 %storemerge27.reload, i64 1, i64 3, i64 12, i64 0, i64 0)
br label LBL_5
LBL_5:
%22 = add i64 %storemerge27.reload, 8
%23 = inttoptr i64 %22 to i64*
%storemerge2 = load i64, i64* %23, align 8
%24 = icmp eq i64 %storemerge2, 0
%25 = icmp eq i1 %24, false
store i64 %storemerge2, i64* %rax.0.reg2mem
br i1 %25, label LBL_5.LBL_3_crit_edge, label LBL_7
LBL_6:
%.pre = load i32*, i32** %sv_0, align 8
store i32* %.pre, i32** %.reg2mem
store i64 %storemerge2, i64* %storemerge27.reg2mem
br label LBL_3
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge2, { 1, 0, 2 }
uselistorder i64 %storemerge27.reload, { 2, 1, 0 }
uselistorder i64 %storemerge26, { 1, 0, 2 }
uselistorder i32 %4, { 1, 0 }
uselistorder i32** %.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge27.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 16, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
CompRealVul | TS_OBJ_print_bio_254 | TS_OBJ_print_bio | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = ptrtoint i32* %arg2 to i64
%2 = call i64 @FUNC(i64* nonnull %sv_0, i64 128, i64 %1, i64 0)
%3 = trunc i64 %2 to i32
%4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i32 %3)
%5 = call i64 @FUNC(i64 %0, i64* inttoptr (i64 4202521 to i64*), i32 1)
ret i64 1
uselistorder i64 (i64, i64*, i32)* @BIO_write, { 1, 0 }
} | 1 |
CompRealVul | _server_handle_vCont_11485 | _server_handle_vCont | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_15
LBL_1:
%9 = add i64 %4, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = add i64 %11, %4
%13 = inttoptr i64 %12 to i8*
store i8 0, i8* %13, align 1
%14 = add i64 %4, 5
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp eq i8 %16, 63
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_3, label LBL_2
LBL_2:
%19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))
store i64 %19, i64* %rax.0.reg2mem
br label LBL_15
LBL_3:
%20 = bitcast i64* %arg1 to i8*
%21 = call i8* @strtok(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%22 = icmp eq i8* %21, null
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_14, label LBL_4
LBL_4:
%24 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
store i64 %24, i64* %rax.0.reg2mem
br label LBL_15
LBL_5:
%25 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %42, i64 %4, i64 %3, i64 %2, i64 %1)
%26 = load i8, i8* %41, align 1
%27 = icmp eq i8 %26, 99
br i1 %27, label LBL_10, label LBL_6
LBL_6:
%28 = icmp eq i8 %26, 115
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_13, label LBL_7
LBL_7:
%30 = trunc i64 %arg3 to i32
%31 = icmp slt i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_9, label LBL_8
LBL_8:
%33 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_15
LBL_9:
%34 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))
store i64 %34, i64* %rax.0.reg2mem
br label LBL_15
LBL_10:
%35 = trunc i64 %arg3 to i32
%36 = icmp slt i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_12, label LBL_11
LBL_11:
%38 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_15
LBL_12:
%39 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))
store i64 %39, i64* %rax.0.reg2mem
br label LBL_15
LBL_13:
%40 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
store i64 %40, i64* %rax.0.reg2mem
br label LBL_15
LBL_14:
%41 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%42 = ptrtoint i8* %41 to i64
%43 = icmp eq i8* %41, null
%44 = icmp eq i1 %43, false
store i64 %42, i64* %rax.0.reg2mem
br i1 %44, label LBL_5, label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8* %41, { 1, 2, 0 }
uselistorder i64 %4, { 5, 6, 7, 3, 4, 8, 2, 1, 9, 0, 10, 11 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 7, 9, 8, 6, 5, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), { 1, 0, 2, 3 }
uselistorder i8* null, { 0, 2, 1 }
uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 }
uselistorder i64 (i64, i8*)* @send_msg, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i64 4294967295, { 2, 1, 0 }
uselistorder i1 false, { 3, 0, 1, 2, 4, 5, 6 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_15, { 6, 1, 2, 3, 4, 5, 7, 8, 0 }
} | 1 |
CompRealVul | kvm_lookup_slot_15884 | kvm_lookup_slot | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul i64 %indvars.iv.reload, 16
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp ugt i64 %4, %arg2
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = add i64 %8, %4
%10 = icmp ugt i64 %9, %arg2
%11 = icmp eq i1 %10, false
store i64 %2, i64* %storemerge.reg2mem
br i1 %11, label LBL_3, label LBL_4
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%12 = icmp ult i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %12, label LBL_1, label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | omap_clk_init_14829 | omap_clk_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.in.reg2mem = alloca i32
%sv_0.24.reg2mem = alloca i32
%storemerge5.reg2mem = alloca i64
%rdi.4.lcssa.reg2mem = alloca i64
%rdi.3.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.111.reg2mem = alloca i64
%sv_1.112.reg2mem = alloca i64
%rdi.414.reg2mem = alloca i64
%.reg2mem23 = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_2.016.reg2mem = alloca i64
%sv_0.117.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i32 1, i32* %sv_3.0.reg2mem
br i1 %3, label LBL_1, label LBL_6
LBL_1:
%4 = call i64 @FUNC(i64 %0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
store i32 2, i32* %sv_3.0.reg2mem
br i1 %6, label LBL_2, label LBL_6
LBL_2:
%7 = call i64 @FUNC(i64 %0)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i32 4, i32* %sv_3.0.reg2mem
br i1 %10, label LBL_6, label LBL_3
LBL_3:
%11 = call i64 @FUNC(i64 %0)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
store i32 4, i32* %sv_3.0.reg2mem
br i1 %13, label LBL_4, label LBL_6
LBL_4:
%14 = call i64 @FUNC(i64 %0)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
store i32 8, i32* %sv_3.0.reg2mem
br i1 %16, label LBL_5, label LBL_6
LBL_5:
%17 = call i64 @FUNC(i64 %0)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
store i32 8, i32* %sv_3.0.reg2mem
store i64 %17, i64* %rax.0.reg2mem
br i1 %19, label LBL_15, label LBL_6
LBL_6:
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%20 = load i64, i64* @gv_0, align 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
%24 = icmp eq i1 %23, false
store i64 %22, i64* %.reg2mem
store i32 0, i32* %sv_0.117.reg2mem
store i64 %20, i64* %sv_2.016.reg2mem
store i32 0, i32* %sv_0.1.lcssa.reg2mem
br i1 %24, label LBL_7, label LBL_8
LBL_7:
%sv_2.016.reload = load i64, i64* %sv_2.016.reg2mem
%sv_0.117.reload = load i32, i32* %sv_0.117.reg2mem
%.reload = load i64, i64* %.reg2mem
%25 = inttoptr i64 %.reload to i32*
%26 = load i32, i32* %25, align 4
%27 = and i32 %26, %sv_3.0.reload
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i32
%spec.select = add i32 %sv_0.117.reload, %29
%30 = add i64 %sv_2.016.reload, 8
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = icmp eq i64 %32, 0
%34 = icmp eq i1 %33, false
store i64 %32, i64* %.reg2mem
store i32 %spec.select, i32* %sv_0.117.reg2mem
store i64 %30, i64* %sv_2.016.reg2mem
store i32 %spec.select, i32* %sv_0.1.lcssa.reg2mem
br i1 %34, label LBL_7, label LBL_8
LBL_8:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%35 = add i32 %sv_0.1.lcssa.reload, 1
%36 = sext i32 %35 to i64
%37 = mul nsw i64 %36, 48
%38 = call i64 @FUNC(i64 %37)
store i64 %38, i64* %arg1, align 8
%39 = load i64, i64* @gv_0, align 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
store i64 %41, i64* %.reg2mem23
store i64 %37, i64* %rdi.414.reg2mem
store i64 %37, i64* %sv_1.112.reg2mem
store i64 %39, i64* %sv_2.111.reg2mem
store i64 %37, i64* %rdi.4.lcssa.reg2mem
br i1 %43, label LBL_9, label LBL_12
LBL_9:
%sv_2.111.reload = load i64, i64* %sv_2.111.reg2mem
%sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem
%rdi.414.reload = load i64, i64* %rdi.414.reg2mem
%.reload24 = load i64, i64* %.reg2mem23
%44 = inttoptr i64 %.reload24 to i32*
%45 = load i32, i32* %44, align 4
%46 = and i32 %45, %sv_3.0.reload
%47 = icmp eq i32 %46, 0
store i64 %sv_1.112.reload, i64* %sv_1.0.reg2mem
store i64 %rdi.414.reload, i64* %rdi.3.reg2mem
br i1 %47, label LBL_11, label LBL_10
LBL_10:
%48 = inttoptr i64 %sv_1.112.reload to i64*
%49 = inttoptr i64 %.reload24 to i64*
%50 = call i64* @memcpy(i64* %48, i64* %49, i32 48)
%51 = add i64 %sv_1.112.reload, 32
%52 = inttoptr i64 %51 to i32*
%53 = load i32, i32* %52, align 4
%54 = icmp eq i32 %53, 0
%55 = icmp eq i1 %54, false
%56 = select i1 %55, i32 %53, i32 1
store i32 %56, i32* %52, align 4
%57 = add i64 %sv_1.112.reload, 36
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 4
%60 = icmp eq i32 %59, 0
%61 = icmp eq i1 %60, false
%62 = select i1 %61, i32 %59, i32 1
store i32 %62, i32* %58, align 4
%63 = add i64 %sv_1.112.reload, 48
store i64 %63, i64* %sv_1.0.reg2mem
store i64 %sv_1.112.reload, i64* %rdi.3.reg2mem
br label LBL_11
LBL_11:
%rdi.3.reload = load i64, i64* %rdi.3.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%64 = add i64 %sv_2.111.reload, 8
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = icmp eq i64 %66, 0
%68 = icmp eq i1 %67, false
store i64 %66, i64* %.reg2mem23
store i64 %rdi.3.reload, i64* %rdi.414.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.112.reg2mem
store i64 %64, i64* %sv_2.111.reg2mem
store i64 %rdi.3.reload, i64* %rdi.4.lcssa.reg2mem
br i1 %68, label LBL_9, label LBL_12
LBL_12:
%rdi.4.lcssa.reload = load i64, i64* %rdi.4.lcssa.reg2mem
%69 = icmp eq i32 %sv_0.1.lcssa.reload, 0
%70 = icmp eq i1 %69, false
store i64 %rdi.4.lcssa.reload, i64* %storemerge5.reg2mem
store i32 %sv_0.1.lcssa.reload, i32* %sv_0.24.reg2mem
store i32 %sv_0.1.lcssa.reload, i32* %.lcssa.in.reg2mem
br i1 %70, label LBL_13, label LBL_14
LBL_13:
%sv_0.24.reload = load i32, i32* %sv_0.24.reg2mem
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%71 = add i32 %sv_0.24.reload, -1
%72 = call i64 @FUNC(i64 %storemerge5.reload)
%73 = call i64 @FUNC(i64 %storemerge5.reload)
%74 = add i64 %storemerge5.reload, 48
%75 = icmp eq i32 %71, 0
%76 = icmp eq i1 %75, false
store i64 %74, i64* %storemerge5.reg2mem
store i32 %71, i32* %sv_0.24.reg2mem
store i32 %71, i32* %.lcssa.in.reg2mem
br i1 %76, label LBL_13, label LBL_14
LBL_14:
%.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem
%.lcssa = zext i32 %.lcssa.in.reload to i64
store i64 %.lcssa, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.112.reload, { 0, 5, 2, 3, 4, 1 }
uselistorder i32 %sv_0.1.lcssa.reload, { 0, 1, 3, 2 }
uselistorder i32 %sv_3.0.reload, { 1, 0 }
uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 2, 4, 3, 5, 6 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.117.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.016.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem23, { 2, 0, 1 }
uselistorder i64* %rdi.414.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.112.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.111.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.24.reg2mem, { 2, 0, 1 }
uselistorder i64 48, { 1, 2, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i1 false, { 3, 2, 6, 4, 5, 1, 7, 0, 8 }
uselistorder i32 0, { 4, 2, 5, 6, 7, 8, 0, 1, 9, 10, 11, 12, 13, 14, 3 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 0, 1, 3, 2, 4, 5 }
} | 1 |
CompRealVul | mboxlist_findstage_9715 | mboxlist_findstage | define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%0 = icmp eq i64* %arg2, null
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%2 = ptrtoint i8* %arg1 to i64
%3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 0)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = and i64 %3, 4294967295
store i64 %6, i64* %rax.0.reg2mem
br label LBL_6
LBL_4:
%7 = load i64, i64* %sv_0, align 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64* nonnull %sv_0)
%12 = icmp eq i64 %10, 0
%13 = icmp eq i1 %12, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %13, label LBL_5, label LBL_6
LBL_5:
%14 = inttoptr i64 %10 to i8*
%15 = bitcast i64* %arg2 to i8*
%16 = trunc i64 %arg3 to i32
%17 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %15, i32 %16, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* %14)
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* %sv_0, { 0, 2, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_6, { 1, 0, 2 }
} | 0 |
CompRealVul | new_pes_packet_14382 | new_pes_packet | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
store i64 4198731, i64* %arg2, align 8
%3 = add i64 %1, 40
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i64*
store i64 %5, i64* %7, align 8
%8 = add i64 %1, 48
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %0, 16
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = load i64, i64* %7, align 8
%14 = sext i32 %10 to i64
%15 = add i64 %13, %14
%16 = inttoptr i64 %15 to i64*
%17 = call i64* @memset(i64* %16, i32 0, i32 32)
%18 = icmp eq i64 %15, 0
br i1 %18, label LBL_4, label LBL_1
LBL_1:
%19 = add i64 %1, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 131
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_4, label LBL_2
LBL_2:
%24 = add i64 %1, 20
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 118
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_4, label LBL_3
LBL_3:
%29 = trunc i64 %15 to i32
%30 = add i64 %0, 20
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
br label LBL_5
LBL_4:
%32 = add i64 %1, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = add i64 %0, 20
%38 = inttoptr i64 %37 to i32*
store i32 %36, i32* %38, align 4
br label LBL_5
LBL_5:
%39 = add i64 %1, 24
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = add i64 %0, 24
%43 = inttoptr i64 %42 to i32*
store i32 %41, i32* %43, align 4
%44 = add i64 %1, 28
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = add i64 %0, 28
%48 = inttoptr i64 %47 to i32*
store i32 %46, i32* %48, align 4
%49 = add i64 %1, 32
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = add i64 %0, 32
%53 = inttoptr i64 %52 to i64*
store i64 %51, i64* %53, align 8
store i32 0, i32* %40, align 4
store i32 0, i32* %45, align 4
store i64 0, i64* %4, align 8
store i32 0, i32* %9, align 4
ret i64 %1
uselistorder i64 %1, { 2, 3, 4, 5, 6, 1, 0, 7, 8 }
uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6, 7 }
uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 0, 1 }
} | 1 |
CompRealVul | mxf_read_utf16_string_16564 | mxf_read_utf16_string | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i64
%storemerge.in.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = icmp slt i32 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967274, i64* %rax.0.shrunk.reg2mem
br i1 %2, label LBL_1, label LBL_7
LBL_1:
%3 = trunc i64 %arg2 to i32
%4 = trunc i64 %arg2 to i32
%5 = icmp slt i32 %4, 0
%6 = zext i1 %5 to i32
%7 = add i32 %6, %3
%8 = ashr i32 %7, 1
%9 = add i32 %3, 1
%10 = add i32 %9, %8
%11 = sext i32 %10 to i64
%12 = call i64 @FUNC(i64 %11)
store i64 %12, i64* %arg3, align 8
%13 = icmp eq i64* %arg3, null
%14 = icmp eq i1 %13, false
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %14, label LBL_2, label LBL_7
LBL_2:
%15 = ptrtoint i64* %arg3 to i64
%16 = ptrtoint i64* %arg1 to i64
%17 = trunc i64 %arg4 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %16, i32 %3, i64 %15, i64 %11)
store i64 %19, i64* %storemerge.in.reg2mem
br label LBL_5
LBL_4:
%20 = call i64 @FUNC(i64 %16, i32 %3, i64 %15, i64 %11)
store i64 %20, i64* %storemerge.in.reg2mem
br label LBL_5
LBL_5:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = trunc i64 %storemerge.in.reload to i32
%21 = icmp slt i32 %storemerge, 0
%22 = icmp eq i1 %21, false
store i64 %storemerge.in.reload, i64* %rax.0.shrunk.reg2mem
br i1 %22, label LBL_7, label LBL_6
LBL_6:
%23 = call i64 @FUNC(i64 %15)
store i64 %storemerge.in.reload, i64* %rax.0.shrunk.reg2mem
br label LBL_7
LBL_7:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %storemerge.in.reload, { 1, 0, 2 }
uselistorder i32 %3, { 2, 3, 1, 0 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64* %arg3, { 2, 0, 1 }
uselistorder label LBL_7, { 3, 0, 1, 2 }
} | 1 |
CompRealVul | kernel_zimage_load_12182 | kernel_zimage_load | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
store i64 %1, i64* %arg1, align 8
%8 = add i64 %7, %1
%9 = call i64 @FUNC(i64 %0, i64 %1, i64 %8)
%10 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %1, i64 %8)
%11 = icmp eq i64 %7, 0
store i64 0, i64* %storemerge2.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_4, label LBL_1
LBL_1:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%12 = add i64 %storemerge2.reload, %1
%13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_0)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0))
store i64 %16, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%17 = and i64 %storemerge2.reload, -4096
%18 = sub i64 4096, %17
%19 = icmp ugt i64 %7, %18
%20 = select i1 %19, i64 %18, i64 %7
%21 = load i64, i64* %sv_0, align 8
%22 = udiv i64 %21, 4096
%23 = call i64 @FUNC(i64 %22)
%24 = add i64 %storemerge2.reload, %4
%25 = add i64 %23, %17
%26 = call i64 @FUNC(i64 %25, i64 %24, i64 %20)
%27 = call i64 @FUNC(i64 %23)
%28 = add i64 %20, %storemerge2.reload
%29 = icmp ult i64 %28, %7
store i64 %28, i64* %storemerge2.reg2mem
store i64 %28, i64* %rax.0.reg2mem
br i1 %29, label LBL_1, label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %23, { 1, 0 }
uselistorder i64 %storemerge2.reload, { 3, 2, 0, 1 }
uselistorder i64 %7, { 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 0, 2, 3, 1, 4 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder label LBL_4, { 0, 2, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | ha_checktype_10700 | ha_checktype | define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
store i64 %0, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_3
LBL_1:
%4 = icmp eq i8 %arg3, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_2, label LBL_3
LBL_2:
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 0 |
CompRealVul | pci_hotplug_16738 | pci_hotplug | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i8*
%2 = call i64 @FUNC()
%3 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))
%4 = inttoptr i64 %2 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 %5, i64 0)
%7 = and i64 %6, 4294967295
%8 = call i64 @FUNC(i64 %7)
%9 = call i64 @FUNC(i64 %6)
%10 = call i64 @FUNC(i64 %6)
%11 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0)
br label LBL_3
LBL_3:
%17 = call i64 @FUNC(i64 %2)
ret i64 %17
uselistorder i64 %6, { 1, 2, 0 }
uselistorder i32 0, { 1, 2, 3, 0 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
} | 1 |
CompRealVul | metx_Read_9248 | metx_Read | define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.6.reg2mem = alloca i32
%storemerge4.lcssa.reg2mem = alloca i32
%sv_0.48.reg2mem = alloca i32
%storemerge49.reg2mem = alloca i32
%sv_0.3.reg2mem = alloca i32
%storemerge5.lcssa.reg2mem = alloca i32
%sv_0.213.reg2mem = alloca i32
%storemerge514.reg2mem = alloca i32
%sv_0.136.reg2mem = alloca i32
%storemerge6.lcssa.reg2mem = alloca i32
%sv_0.019.reg2mem = alloca i32
%storemerge620.reg2mem = alloca i32
%rdi = alloca i64, align 8
%0 = ptrtoint i32* %arg1 to i64
%1 = ptrtoint i32* %arg2 to i64
%2 = call i64 @FUNC(i64 %0, i64 %1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = and i64 %2, 4294967295
store i64 %5, i64* %storemerge.reg2mem
br label LBL_27
LBL_2:
%6 = add i64 %0, 40
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i32 %8, -8
%10 = zext i32 %9 to i64
%11 = call i64 @FUNC(i64 %10)
%12 = icmp eq i32 %9, 0
%13 = icmp eq i1 %12, false
store i32 0, i32* %storemerge620.reg2mem
store i32 %9, i32* %sv_0.019.reg2mem
store i32 %9, i32* %sv_0.136.reg2mem
br i1 %13, label LBL_3, label LBL_9
LBL_3:
%sv_0.019.reload = load i32, i32* %sv_0.019.reg2mem
%storemerge620.reload = load i32, i32* %storemerge620.reg2mem
%14 = call i64 @FUNC(i64 %1)
%15 = zext i32 %storemerge620.reload to i64
%16 = add i64 %11, %15
%17 = trunc i64 %14 to i8
%18 = inttoptr i64 %16 to i8*
store i8 %17, i8* %18, align 1
%19 = add i32 %sv_0.019.reload, -1
%20 = icmp eq i8 %17, 0
store i32 %storemerge620.reload, i32* %storemerge6.lcssa.reg2mem
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = add i32 %storemerge620.reload, 1
%22 = icmp eq i32 %19, 0
%23 = icmp eq i1 %22, false
store i32 %21, i32* %storemerge620.reg2mem
store i32 %19, i32* %sv_0.019.reg2mem
store i32 %21, i32* %storemerge6.lcssa.reg2mem
br i1 %23, label LBL_3, label LBL_5
LBL_5:
%storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem
%24 = icmp eq i32 %storemerge6.lcssa.reload, 0
store i32 %19, i32* %sv_0.136.reg2mem
br i1 %24, label LBL_9, label LBL_6
LBL_6:
%25 = bitcast i64* %rdi to i32*
%26 = load i32, i32* %25, align 8
%27 = icmp eq i32 %26, 1
%28 = icmp eq i1 %27, false
%29 = call i64 @FUNC(i64 %11)
br i1 %28, label LBL_8, label LBL_7
LBL_7:
%30 = add i64 %0, 8
%31 = inttoptr i64 %30 to i64*
store i64 %29, i64* %31, align 8
store i32 %19, i32* %sv_0.136.reg2mem
br label LBL_9
LBL_8:
%32 = add i64 %0, 16
%33 = inttoptr i64 %32 to i64*
store i64 %29, i64* %33, align 8
store i32 %19, i32* %sv_0.136.reg2mem
br label LBL_9
LBL_9:
%sv_0.136.reload = load i32, i32* %sv_0.136.reg2mem
%34 = icmp eq i32 %sv_0.136.reload, 0
%35 = icmp eq i1 %34, false
store i32 0, i32* %storemerge514.reg2mem
store i32 %sv_0.136.reload, i32* %sv_0.213.reg2mem
store i32 0, i32* %storemerge5.lcssa.reg2mem
store i32 %sv_0.136.reload, i32* %sv_0.3.reg2mem
br i1 %35, label LBL_10, label LBL_12
LBL_10:
%sv_0.213.reload = load i32, i32* %sv_0.213.reg2mem
%storemerge514.reload = load i32, i32* %storemerge514.reg2mem
%36 = call i64 @FUNC(i64 %1)
%37 = zext i32 %storemerge514.reload to i64
%38 = add i64 %11, %37
%39 = trunc i64 %36 to i8
%40 = inttoptr i64 %38 to i8*
store i8 %39, i8* %40, align 1
%41 = add i32 %sv_0.213.reload, -1
%42 = icmp eq i8 %39, 0
store i32 %storemerge514.reload, i32* %storemerge5.lcssa.reg2mem
store i32 %41, i32* %sv_0.3.reg2mem
br i1 %42, label LBL_12, label LBL_11
LBL_11:
%43 = add i32 %storemerge514.reload, 1
%44 = icmp eq i32 %41, 0
%45 = icmp eq i1 %44, false
store i32 %43, i32* %storemerge514.reg2mem
store i32 %41, i32* %sv_0.213.reg2mem
store i32 %43, i32* %storemerge5.lcssa.reg2mem
store i32 %41, i32* %sv_0.3.reg2mem
br i1 %45, label LBL_10, label LBL_12
LBL_12:
%sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem
%storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem
%46 = bitcast i64* %rdi to i32*
%47 = load i32, i32* %46, align 8
%48 = icmp ne i32 %47, 2
%49 = icmp eq i32 %47, 1
%50 = icmp eq i1 %49, false
%or.cond = icmp eq i1 %48, %50
%51 = icmp eq i32 %storemerge5.lcssa.reload, 0
br i1 %or.cond, label LBL_24, label LBL_13
LBL_13:
br i1 %51, label LBL_17, label LBL_14
LBL_14:
%52 = call i64 @FUNC(i64 %11)
br i1 %50, label LBL_16, label LBL_15
LBL_15:
%53 = add i64 %0, 24
%54 = inttoptr i64 %53 to i64*
store i64 %52, i64* %54, align 8
br label LBL_17
LBL_16:
%55 = add i64 %0, 8
%56 = inttoptr i64 %55 to i64*
store i64 %52, i64* %56, align 8
br label LBL_17
LBL_17:
%57 = icmp eq i32 %sv_0.3.reload, 0
%58 = icmp eq i1 %57, false
store i32 0, i32* %storemerge49.reg2mem
store i32 %sv_0.3.reload, i32* %sv_0.48.reg2mem
store i32 %sv_0.3.reload, i32* %sv_0.6.reg2mem
br i1 %58, label LBL_18, label LBL_26
LBL_18:
%sv_0.48.reload = load i32, i32* %sv_0.48.reg2mem
%storemerge49.reload = load i32, i32* %storemerge49.reg2mem
%59 = call i64 @FUNC(i64 %1)
%60 = zext i32 %storemerge49.reload to i64
%61 = add i64 %11, %60
%62 = trunc i64 %59 to i8
%63 = inttoptr i64 %61 to i8*
store i8 %62, i8* %63, align 1
%64 = add i32 %sv_0.48.reload, -1
%65 = icmp eq i8 %62, 0
store i32 %storemerge49.reload, i32* %storemerge4.lcssa.reg2mem
br i1 %65, label LBL_20, label LBL_19
LBL_19:
%66 = add i32 %storemerge49.reload, 1
%67 = icmp eq i32 %64, 0
%68 = icmp eq i1 %67, false
store i32 %66, i32* %storemerge49.reg2mem
store i32 %64, i32* %sv_0.48.reg2mem
store i32 %66, i32* %storemerge4.lcssa.reg2mem
br i1 %68, label LBL_18, label LBL_20
LBL_20:
%storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem
%69 = icmp eq i32 %storemerge4.lcssa.reload, 0
store i32 %64, i32* %sv_0.6.reg2mem
br i1 %69, label LBL_26, label LBL_21
LBL_21:
%70 = load i32, i32* %46, align 8
%71 = icmp eq i32 %70, 1
%72 = icmp eq i1 %71, false
%73 = call i64 @FUNC(i64 %11)
br i1 %72, label LBL_23, label LBL_22
LBL_22:
%74 = add i64 %0, 32
%75 = inttoptr i64 %74 to i64*
store i64 %73, i64* %75, align 8
store i32 %64, i32* %sv_0.6.reg2mem
br label LBL_26
LBL_23:
%76 = add i64 %0, 24
%77 = inttoptr i64 %76 to i64*
store i64 %73, i64* %77, align 8
store i32 %64, i32* %sv_0.6.reg2mem
br label LBL_26
LBL_24:
store i32 %sv_0.3.reload, i32* %sv_0.6.reg2mem
br i1 %51, label LBL_26, label LBL_25
LBL_25:
%78 = call i64 @FUNC(i64 %11)
%79 = add i64 %0, 32
%80 = inttoptr i64 %79 to i64*
store i64 %78, i64* %80, align 8
store i32 %sv_0.3.reload, i32* %sv_0.6.reg2mem
br label LBL_26
LBL_26:
%sv_0.6.reload = load i32, i32* %sv_0.6.reg2mem
store i32 %sv_0.6.reload, i32* %7, align 4
%81 = call i64 @FUNC(i64 %11)
%82 = call i64 @FUNC(i64 %0, i64 %1, i64 4198862)
store i64 %82, i64* %storemerge.reg2mem
br label LBL_27
LBL_27:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %73, { 1, 0 }
uselistorder i32 %64, { 1, 0, 2, 3, 4 }
uselistorder i32 %storemerge49.reload, { 1, 0, 2 }
uselistorder i64 %52, { 1, 0 }
uselistorder i1 %51, { 1, 0 }
uselistorder i1 %50, { 1, 0 }
uselistorder i32 %sv_0.3.reload, { 1, 2, 0, 3, 4 }
uselistorder i32 %41, { 1, 2, 3, 0 }
uselistorder i32 %storemerge514.reload, { 1, 0, 2 }
uselistorder i64 %29, { 1, 0 }
uselistorder i32 %19, { 2, 1, 0, 3, 4 }
uselistorder i32 %storemerge620.reload, { 1, 0, 2 }
uselistorder i64 %11, { 7, 4, 6, 2, 5, 1, 3, 0 }
uselistorder i64 %1, { 1, 0, 2, 3, 4 }
uselistorder i64 %0, { 6, 7, 4, 5, 2, 3, 0, 1, 8, 9 }
uselistorder i64* %rdi, { 1, 0 }
uselistorder i32* %storemerge620.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.019.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.136.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32* %storemerge514.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.213.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %storemerge49.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.48.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.6.reg2mem, { 0, 2, 3, 5, 4, 6, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @gf_strdup, { 3, 2, 1, 0 }
uselistorder i32 -1, { 2, 1, 0 }
uselistorder i64 (i64)* @gf_bs_read_u8, { 2, 1, 0 }
uselistorder i1 false, { 4, 5, 2, 3, 6, 1, 7, 8, 0 }
uselistorder i32 0, { 8, 9, 0, 6, 7, 10, 1, 2, 5, 11, 12, 3, 4, 13 }
uselistorder label LBL_26, { 1, 2, 3, 4, 5, 0 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 1, 2, 3, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | kvm_iommu_map_pages_6580 | kvm_iommu_map_pages | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%sv_1.0.be.reg2mem = alloca i64
%sv_1.08.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_16
LBL_1:
%2 = ptrtoint i64* %arg2 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = sext i32 %5 to i64
%7 = add i64 %6, %2
%8 = add i64 %2, 12
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp ugt i64 %7, %2
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_16
LBL_2:
%12 = ptrtoint i64* %arg1 to i64
%13 = urem i32 %10, 2
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
%spec.select = select i1 %15, i32 1, i32 3
%16 = add i64 %12, 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
%21 = or i32 %spec.select, 4
%spec.select3 = select i1 %20, i32 %spec.select, i32 %21
%22 = zext i32 %spec.select3 to i64
store i64 %2, i64* %sv_1.08.reg2mem
br label LBL_3
LBL_3:
%sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem
%23 = call i64 @FUNC(i64 %sv_1.08.reload)
%24 = call i64 @FUNC(i64 %12, i64 %23)
%25 = trunc i64 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label LBL_6, label LBL_4
LBL_4:
%27 = add i64 %sv_1.08.reload, 1
store i64 %27, i64* %sv_1.0.be.reg2mem
br label LBL_5
LBL_5:
%sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem
%28 = icmp ult i64 %sv_1.0.be.reload, %7
store i64 %sv_1.0.be.reload, i64* %sv_1.08.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %28, label LBL_3, label LBL_16
LBL_6:
%29 = call i64 @FUNC(i64 %12, i64 %sv_1.08.reload)
store i64 %29, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%30 = udiv i64 %storemerge.reload, 4096
%31 = add i64 %30, %sv_1.08.reload
%32 = icmp ult i64 %7, %31
%33 = udiv i64 %storemerge.reload, 2
store i64 %33, i64* %storemerge.reg2mem
br i1 %32, label LBL_7, label LBL_8
LBL_8:
%34 = mul i64 %sv_1.08.reload, 4096
store i64 %storemerge.reload, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%35 = add i64 %sv_0.0.reload, -1
%36 = and i64 %35, %34
%37 = icmp eq i64 %36, 0
%38 = icmp eq i1 %37, false
%39 = udiv i64 %sv_0.0.reload, 2
store i64 %39, i64* %sv_0.0.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br i1 %38, label LBL_9, label LBL_10
LBL_10:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%40 = call i64 @FUNC(i64 %2, i64 %sv_1.08.reload)
%41 = add i64 %sv_0.1.reload, -1
%42 = and i64 %41, %40
%43 = icmp eq i64 %42, 0
%44 = icmp eq i1 %43, false
%45 = udiv i64 %sv_0.1.reload, 2
store i64 %45, i64* %sv_0.1.reg2mem
br i1 %44, label LBL_10, label LBL_11
LBL_11:
%46 = udiv i64 %sv_0.1.reload, 4096
%47 = call i64 @FUNC(i64 %2, i64 %sv_1.08.reload, i64 %46)
%48 = call i64 @FUNC(i64 %47)
%49 = trunc i64 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label LBL_13, label LBL_12
LBL_12:
%51 = add i64 %sv_1.08.reload, 1
store i64 %51, i64* %sv_1.0.be.reg2mem
br label LBL_5
LBL_13:
%sext = mul i64 %47, 4294967296
%52 = ashr exact i64 %sext, 32
%53 = call i64 @FUNC(i64 %52)
%54 = call i64 @FUNC(i64 %sv_1.08.reload)
%55 = call i64 @FUNC(i64 %12, i64 %54, i64 %53, i64 %sv_0.1.reload, i64 %22)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
br i1 %57, label LBL_15, label LBL_14
LBL_14:
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_0, i64 0, i64 0), i64 %52)
%59 = call i64 @FUNC(i64 %12, i64 %52, i64 %46)
%60 = sub i64 %sv_1.08.reload, %47
%61 = and i64 %60, 4294967295
%62 = call i64 @FUNC(i64 %12, i64 %52, i64 %61)
%63 = and i64 %55, 4294967295
store i64 %63, i64* %rax.0.reg2mem
br label LBL_16
LBL_15:
%64 = add i64 %46, %sv_1.08.reload
store i64 %64, i64* %sv_1.0.be.reg2mem
br label LBL_5
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %47, { 1, 0, 2 }
uselistorder i64 %46, { 1, 2, 0 }
uselistorder i64 %sv_0.1.reload, { 1, 3, 2, 0 }
uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }
uselistorder i64 %storemerge.reload, { 0, 2, 1 }
uselistorder i64 %sv_1.0.be.reload, { 1, 0 }
uselistorder i64 %sv_1.08.reload, { 8, 9, 1, 0, 2, 3, 10, 7, 4, 5, 6 }
uselistorder i64 %12, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %7, { 1, 2, 0 }
uselistorder i64 %2, { 3, 4, 0, 2, 5, 1, 6 }
uselistorder i64* %sv_1.08.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.be.reg2mem, { 3, 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 4096, { 3, 0, 4, 2, 1 }
uselistorder i64 (i64)* @gfn_to_gpa, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_16, { 3, 0, 1, 2 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_5, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | qmp_query_block_1630 | qmp_query_block | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
store i64 0, i64* %sv_2, align 8
store i64 0, i64* %sv_1, align 8
%0 = call i64 @FUNC(i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_6
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = ptrtoint i64* %sv_2 to i64
store i64 %0, i64* %storemerge14.reg2mem
store i64 %4, i64* %sv_0.03.reg2mem
br label LBL_2
LBL_2:
%storemerge14.reload = load i64, i64* %storemerge14.reg2mem
%5 = call i64 @FUNC(i64 8)
%6 = call i64 @FUNC(i64 %storemerge14.reload, i64 %5, i64* nonnull %sv_1)
%7 = load i64, i64* %sv_1, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %3, i64 %7)
%10 = call i64 @FUNC(i64 %5)
%11 = load i64, i64* %sv_2, align 8
%12 = call i64 @FUNC(i64 %11)
store i64 0, i64* %storemerge.reg2mem
br label LBL_6
LBL_4:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%13 = inttoptr i64 %sv_0.03.reload to i64*
store i64 %5, i64* %13, align 8
%14 = call i64 @FUNC(i64 %storemerge14.reload)
%15 = icmp eq i64 %14, 0
%16 = icmp eq i1 %15, false
store i64 %14, i64* %storemerge14.reg2mem
store i64 %5, i64* %sv_0.03.reg2mem
br i1 %16, label LBL_2, label LBL_5
LBL_5:
%.pre = load i64, i64* %sv_2, align 8
store i64 %.pre, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %5, { 0, 2, 1, 3 }
uselistorder i64* %sv_1, { 1, 0, 2 }
uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 (i64)* @blk_next, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | luac_build_info_12017 | luac_build_info | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%3 = call i32 @fwrite(i64* bitcast ([19 x i8]* @gv_1 to i64*), i32 1, i32 18, %_IO_FILE* %2)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%4 = call i64* @calloc(i32 1, i32 32)
%5 = icmp eq i64* %4, null
%6 = icmp eq i1 %5, false
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_8
LBL_3:
%7 = ptrtoint i64* %4 to i64
%8 = call i64 @FUNC(i64 4198766)
store i64 %8, i64* %4, align 8
%9 = call i64 @FUNC(i64 4198793)
%10 = add i64 %7, 8
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = call i64 @FUNC(i64 4198820)
%13 = add i64 %7, 16
%14 = inttoptr i64 %13 to i64*
store i64 %12, i64* %14, align 8
%15 = call i64 @FUNC(i64 4198847)
%16 = add i64 %7, 24
%17 = inttoptr i64 %16 to i64*
store i64 %15, i64* %17, align 8
%18 = load i64, i64* %4, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label LBL_6, label LBL_4
LBL_4:
%20 = load i64, i64* %11, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%22 = load i64, i64* %14, align 8
%23 = icmp ne i64 %22, 0
%24 = icmp eq i64 %15, 0
%25 = icmp eq i1 %24, false
%or.cond = icmp eq i1 %25, %23
br i1 %or.cond, label LBL_7, label LBL_6
LBL_6:
%26 = call i64 @FUNC(i64 %18)
%27 = load i64, i64* %11, align 8
%28 = call i64 @FUNC(i64 %27)
%29 = load i64, i64* %14, align 8
%30 = call i64 @FUNC(i64 %29)
%31 = load i64, i64* %17, align 8
%32 = call i64 @FUNC(i64 %31)
br label LBL_7
LBL_7:
%33 = ptrtoint i64* %arg1 to i64
%34 = call i64 @FUNC(i64 %33, i64 %7)
%35 = add i64 %33, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = add i64 %37, %33
%39 = load i64, i64* %4, align 8
%40 = call i64 @FUNC(i64 %39, i64 %38, i64 1)
store i64 %7, 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 %33, { 0, 2, 1 }
uselistorder i64* %14, { 1, 0, 2 }
uselistorder i64* %11, { 1, 0, 2 }
uselistorder i64* %4, { 0, 1, 2, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 (i64)* @try_free_empty_list, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @rz_list_newf, { 3, 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
CompRealVul | qemu_buf_get_1973 | qemu_buf_get | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
ret i64 %0
uselistorder i64 %0, { 1, 0 }
} | 0 |
CompRealVul | oneshotall_buffer_19167 | oneshotall_buffer | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 4198448)
%1 = call i64 @FUNC(i64 %arg1, i64 %arg2)
%2 = call i64 @FUNC(i64 %0, i64 %1)
ret i64 %0
} | 1 |
CompRealVul | check_allocations_13691 | check_allocations | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp ult i64 %0, %arg2
store i64 1, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_6
LBL_1:
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i64*
%6 = trunc i64 %arg2 to i32
%7 = call i64* @realloc(i64* %5, i32 %6)
%8 = icmp eq i64* %7, null
store i64 0, i64* %storemerge.reg2mem
br i1 %8, label LBL_6, label LBL_2
LBL_2:
%9 = add i64 %0, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = inttoptr i64 %11 to i64*
%13 = call i64* @realloc(i64* %12, i32 %6)
%14 = icmp eq i64* %13, null
store i64 0, i64* %storemerge.reg2mem
br i1 %14, label LBL_6, label LBL_3
LBL_3:
%15 = add i64 %0, 24
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i64*
%19 = call i64* @realloc(i64* %18, i32 %6)
%20 = icmp eq i64* %19, null
store i64 0, i64* %storemerge.reg2mem
br i1 %20, label LBL_6, label LBL_4
LBL_4:
%21 = add i64 %0, 32
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i64*
%25 = call i64* @realloc(i64* %24, i32 %6)
%26 = icmp eq i64* %25, null
%27 = icmp eq i1 %26, false
store i64 0, i64* %storemerge.reg2mem
br i1 %27, label LBL_5, label LBL_6
LBL_5:
store i64 %arg2, i64* %arg1, align 8
store i64 1, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 1, 6, 5, 4, 3, 2 }
uselistorder i64* (i64*, i32)* @realloc, { 1, 3, 2, 0 }
uselistorder label LBL_6, { 0, 5, 4, 3, 2, 1 }
} | 0 |
CompRealVul | gvconfig_plugin_install_from_config_7090 | gvconfig_plugin_install_from_config | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%r9.2.reg2mem = alloca i64
%r8.2.reg2mem = alloca i64
%.reg2mem81 = alloca i32
%storemerge.reg2mem = alloca i32
%r9.1.reg2mem = alloca i64
%r8.1.reg2mem = alloca i64
%.reg2mem79 = alloca i32
%.lcssa4.reg2mem = alloca i64
%r9.0.lcssa.reg2mem = alloca i64
%r8.0.lcssa.reg2mem = alloca i64
%r8.013.reg2mem = alloca i64
%r9.014.reg2mem = alloca i64
%.reg2mem77 = alloca i64
%.reg2mem = alloca i32
%storemerge1.reg2mem = alloca i64
%r8.322.reg2mem = alloca i64
%r9.323.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
store i64 %arg2, i64* %sv_1, align 8
store i32 0, i32* %sv_0, align 4
%3 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%4 = trunc i64 %1 to i8
%5 = icmp eq i8 %4, 0
%6 = icmp eq i1 %5, false
store i64 1, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_14
LBL_1:
%r8.322.reload = load i64, i64* %r8.322.reg2mem
%r9.323.reload = load i64, i64* %r9.323.reg2mem
%7 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%8 = load i32, i32* %sv_0, align 4
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge1.reg2mem
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
store i64 %11, i64* %storemerge1.reg2mem
br label LBL_3
LBL_3:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%12 = call i64 @FUNC(i64 %2, i64 %7, i64 %storemerge1.reload)
%13 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%14 = call i64 @FUNC(i64 %13)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, -1
%17 = icmp eq i1 %16, false
store i32 %15, i32* %.reg2mem
store i64 %13, i64* %.reg2mem77
store i64 %r9.323.reload, i64* %r9.014.reg2mem
store i64 %r8.322.reload, i64* %r8.013.reg2mem
store i64 %r8.322.reload, i64* %r8.0.lcssa.reg2mem
store i64 %r9.323.reload, i64* %r9.0.lcssa.reg2mem
store i64 %13, i64* %.lcssa4.reg2mem
br i1 %17, label LBL_5, label LBL_6
LBL_4:
%18 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%19 = call i64 @FUNC(i64 %18)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, -1
%22 = icmp eq i1 %21, false
store i32 %20, i32* %.reg2mem
store i64 %18, i64* %.reg2mem77
store i64 %r9.2.reload, i64* %r9.014.reg2mem
store i64 %r8.2.reload, i64* %r8.013.reg2mem
store i64 %r8.2.reload, i64* %r8.0.lcssa.reg2mem
store i64 %r9.2.reload, i64* %r9.0.lcssa.reg2mem
store i64 %18, i64* %.lcssa4.reg2mem
br i1 %22, label LBL_5, label LBL_6
LBL_5:
%r8.013.reload = load i64, i64* %r8.013.reg2mem
%r9.014.reload = load i64, i64* %r9.014.reg2mem
%.reload78 = load i64, i64* %.reg2mem77
%.reload = load i32, i32* %.reg2mem
%.pre = load i32, i32* %sv_0, align 4
store i32 %.pre, i32* %.reg2mem79
store i64 %r8.013.reload, i64* %r8.1.reg2mem
store i64 %r9.014.reload, i64* %r9.1.reg2mem
br label LBL_7
LBL_6:
%.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem
%r9.0.lcssa.reload = load i64, i64* %r9.0.lcssa.reg2mem
%r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem
%23 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %.lcssa4.reload, i64 %r8.0.lcssa.reload, i64 %r9.0.lcssa.reload)
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_7:
%r9.1.reload = load i64, i64* %r9.1.reg2mem
%r8.1.reload = load i64, i64* %r8.1.reg2mem
%.reload80 = load i32, i32* %.reg2mem79
%24 = icmp eq i32 %.reload80, 2
%25 = icmp eq i1 %24, false
store i32 %.reload80, i32* %.reg2mem81
store i64 %r8.1.reload, i64* %r8.2.reg2mem
store i64 %r9.1.reload, i64* %r9.2.reg2mem
br i1 %25, label LBL_13, label LBL_8
LBL_8:
%26 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%27 = load i32, i32* %sv_0, align 4
%28 = icmp eq i32 %27, 2
%29 = icmp eq i1 %28, false
store i32 0, i32* %storemerge.reg2mem
br i1 %29, label LBL_10, label LBL_9
LBL_9:
%30 = call i64 @FUNC(i32* nonnull %sv_0, i64* nonnull %sv_1)
%31 = inttoptr i64 %30 to i8*
%32 = call i32 @atoi(i8* %31)
store i32 %32, i32* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%33 = call i64 @FUNC(i64 %2, i32 %.reload, i64 %26, i32 %storemerge.reload, i64 %12, i64 0)
%34 = trunc i64 %33 to i8
%35 = icmp eq i8 %34, 1
br i1 %35, label LBL_12, label LBL_11
LBL_11:
%36 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64 %.reload78, i64 %26, i64 0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_12:
%.pr = load i32, i32* %sv_0, align 4
store i32 %.pr, i32* %.reg2mem81
store i64 %12, i64* %r8.2.reg2mem
store i64 0, i64* %r9.2.reg2mem
br label LBL_13
LBL_13:
%r9.2.reload = load i64, i64* %r9.2.reg2mem
%r8.2.reload = load i64, i64* %r8.2.reg2mem
%.reload82 = load i32, i32* %.reg2mem81
store i64 %r9.2.reload, i64* %r9.323.reg2mem
store i64 %r8.2.reload, i64* %r8.322.reg2mem
store i32 2, i32* %.reg2mem79
store i64 %r8.2.reload, i64* %r8.1.reg2mem
store i64 %r9.2.reload, i64* %r9.1.reg2mem
switch i32 %.reload82, label LBL_1 [
i32 2, label LBL_7
i32 1, label LBL_4
]
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %r8.2.reload, { 3, 0, 1, 2 }
uselistorder i64 %r9.2.reload, { 3, 0, 1, 2 }
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64* %sv_1, { 1, 2, 3, 0, 4, 5, 6, 7 }
uselistorder i32* %sv_0, { 2, 3, 9, 4, 0, 5, 1, 6, 10, 7, 8, 11 }
uselistorder i64* %r9.323.reg2mem, { 1, 0 }
uselistorder i64* %r8.322.reg2mem, { 1, 0 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem77, { 0, 2, 1 }
uselistorder i64* %r9.014.reg2mem, { 0, 2, 1 }
uselistorder i64* %r8.013.reg2mem, { 0, 2, 1 }
uselistorder i64* %r8.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %r9.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.lcssa4.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem79, { 2, 0, 1 }
uselistorder i64* %r8.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %r9.1.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem81, { 0, 2, 1 }
uselistorder i64* %r8.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %r9.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 2, { 1, 0, 2, 3 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @agerr, { 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder i64 (i64)* @gvplugin_api, { 1, 0 }
uselistorder i64 (i32*, i64*)* @token, { 5, 4, 3, 0, 2, 1 }
uselistorder i64 1, { 2, 3, 0, 1 }
uselistorder i1 false, { 2, 3, 4, 1, 5, 0 }
uselistorder i8 0, { 0, 2, 1 }
uselistorder i32 0, { 0, 2, 1 }
uselistorder label LBL_14, { 1, 2, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | http_send_data_244 | http_send_data | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = add i64 %2, 16
%6 = inttoptr i64 %5 to i64*
%7 = trunc i64 %1 to i32
br label LBL_3
LBL_1:
%8 = call i64 @FUNC(i64 %2)
%9 = trunc i64 %8 to i32
%10 = icmp slt i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_9
LBL_2:
%12 = icmp eq i32 %9, 0
%13 = icmp eq i1 %12, false
store i64 0, i64* %rax.0.reg2mem
br i1 %13, label LBL_9, label LBL_3
LBL_3:
%14 = load i64, i64* %4, align 8
%15 = load i64, i64* %6, align 8
%16 = icmp ugt i64 %15, %14
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_1, label LBL_4
LBL_4:
%18 = sub i64 %15, %14
%19 = inttoptr i64 %14 to i64*
%20 = trunc i64 %18 to i32
%21 = call i32 @write(i32 %7, i64* %19, i32 %20)
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_7, label LBL_5
LBL_5:
%24 = call i32* @__errno_location()
%25 = load i32, i32* %24, align 4
%26 = icmp eq i32 %25, 11
br i1 %26, label LBL_8, label LBL_6
LBL_6:
%27 = call i32* @__errno_location()
%28 = load i32, i32* %27, align 4
%29 = icmp eq i32 %28, 4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %29, label LBL_8, label LBL_9
LBL_7:
%30 = load i64, i64* %4, align 8
%31 = sext i32 %21 to i64
%32 = add i64 %30, %31
store i64 %32, i64* %4, align 8
%33 = add i64 %2, 24
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = add i32 %35, %21
store i32 %36, i32* %34, align 4
%37 = add i64 %2, 32
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = add i32 %41, %21
store i32 %42, i32* %40, align 4
br label LBL_8
LBL_8:
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 0, 1, 4, 3, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i1 false, { 2, 3, 0, 1 }
uselistorder label LBL_9, { 3, 2, 0, 1 }
} | 0 |
CompRealVul | get_active_pbs_server_7614 | get_active_pbs_server | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
store i64 0, i64* %sv_5, align 8
store i64 0, i64* %sv_4, align 8
store i64 1024, i64* %sv_3, align 8
store i64 0, i64* %sv_2, align 8
%0 = call i8* @getenv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))
%1 = icmp eq i8* %0, null
br i1 %1, label LBL_3, label LBL_1
LBL_1:
%2 = call i32 @strtol(i8* nonnull %0, i8** null, i32 0)
%3 = icmp slt i32 %2, 1
br i1 %3, label LBL_3, label LBL_2
LBL_2:
store i32 %2, i32* inttoptr (i64 4210828 to i32*), align 4
br label LBL_3
LBL_3:
%4 = bitcast i64* %sv_1 to i8*
%5 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 1)
%6 = call i32 @strlen(i8* nonnull %4)
%7 = bitcast i64* %sv_0 to i8*
%8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %7, i32 4097, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0))
%9 = call i64 @FUNC()
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_5, label LBL_4
LBL_4:
%13 = sub i64 0, %9
%14 = and i64 %13, 4294967295
store i64 %14, i64* %rax.0.reg2mem
br label LBL_23
LBL_5:
%15 = and i64 %9, 4294967295
%16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_0, i64* nonnull %sv_5)
%17 = load i64, i64* %sv_5, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label LBL_7, label LBL_6
LBL_6:
%19 = inttoptr i64 %17 to i64*
call void @free(i64* %19)
br label LBL_7
LBL_7:
%20 = trunc i64 %16 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_9, label LBL_8
LBL_8:
%22 = call i32 @close(i32 %10)
%23 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%24 = and i64 %16, 4294967295
%25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %24)
store i64 %24, i64* %rax.0.reg2mem
br label LBL_23
LBL_9:
%26 = call i64 @FUNC(i64 %15, i64* nonnull %sv_1, i32 %6)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp slt i32 %27, 0
%30 = icmp eq i1 %29, false
%31 = icmp eq i1 %28, false
%32 = icmp eq i1 %30, %31
br i1 %32, label LBL_11, label LBL_10
LBL_10:
%33 = call i32 @close(i32 %10)
%34 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%35 = and i64 %26, 4294967295
%36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %34, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 %35)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_23
LBL_11:
%37 = call i64 @FUNC(i64 %15, i64* nonnull %sv_2)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label LBL_13, label LBL_12
LBL_12:
%40 = call i32 @close(i32 %10)
%41 = and i64 %37, 4294967295
store i64 %41, i64* %rax.0.reg2mem
br label LBL_23
LBL_13:
%42 = call i64 @FUNC(i64 %15, i64* nonnull %sv_4, i64* nonnull %sv_3)
%43 = trunc i64 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label LBL_15, label LBL_14
LBL_14:
%45 = call i32 @close(i32 %10)
%46 = and i64 %42, 4294967295
store i64 %46, i64* %rax.0.reg2mem
br label LBL_23
LBL_15:
%47 = bitcast i32* %arg2 to i64*
%48 = call i64 @FUNC(i64 %15, i64* %47)
%49 = trunc i64 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label LBL_19, label LBL_16
LBL_16:
%51 = load i64, i64* %sv_4, align 8
%52 = icmp eq i64 %51, 0
br i1 %52, label LBL_18, label LBL_17
LBL_17:
%53 = inttoptr i64 %51 to i64*
call void @free(i64* %53)
br label LBL_18
LBL_18:
%54 = call i32 @close(i32 %10)
%55 = and i64 %48, 4294967295
store i64 %55, i64* %rax.0.reg2mem
br label LBL_23
LBL_19:
%56 = call i32 @close(i32 %10)
%57 = load i64, i64* %sv_3, align 8
%58 = icmp eq i64 %57, 0
%59 = icmp eq i1 %58, false
%60 = load i64, i64* %sv_4, align 8
br i1 %59, label LBL_22, label LBL_20
LBL_20:
%61 = icmp eq i64 %60, 0
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %61, label LBL_23, label LBL_21
LBL_21:
%62 = inttoptr i64 %60 to i64*
call void @free(i64* %62)
store i64 4294967294, i64* %rax.0.reg2mem
br label LBL_23
LBL_22:
store i64 %60, i64* %arg1, align 8
%63 = and i64 %48, 4294967295
store i64 %63, i64* %rax.0.reg2mem
br label LBL_23
LBL_23:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %60, { 2, 0, 1 }
uselistorder i32 %27, { 1, 0 }
uselistorder i32 %10, { 3, 2, 1, 4, 5, 0, 6 }
uselistorder i64* %sv_5, { 1, 0, 2 }
uselistorder i64* %sv_4, { 1, 2, 0, 3 }
uselistorder i64* %sv_3, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 2, 1, 8, 7, 6, 5, 4, 3 }
uselistorder i64 4294967294, { 1, 0 }
uselistorder i64 (i64, i64*)* @socket_read_num, { 1, 0 }
uselistorder i32 (i32)* @close, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_23, { 2, 1, 0, 3, 4, 5, 6, 7, 8 }
} | 1 |
CompRealVul | gf_isom_fdm_new_temp_17504 | gf_isom_fdm_new_temp | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi1.reg2mem = alloca i64*
%.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = call i64* @malloc(i32 32)
%1 = icmp eq i64* %0, null
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_16
LBL_1:
%3 = ptrtoint i64* %0 to i64
%4 = bitcast i64* %0 to i32*
store i32 1, i32* %4, align 4
%5 = add i64 %3, 4
%6 = inttoptr i64 %5 to i32*
store i32 2, i32* %6, align 4
%7 = icmp eq i64 %arg1, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC()
%10 = add i64 %3, 8
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
store i64 %9, i64* %.reg2mem
store i64* %11, i64** %.pre-phi1.reg2mem
br label LBL_8
LBL_3:
%12 = inttoptr i64 %arg1 to i8*
%13 = call i32 @strlen(i8* %12)
%14 = sext i32 %13 to i64
%15 = add i64 %arg1, -1
%16 = add i64 %15, %14
%17 = inttoptr i64 %16 to i8*
%18 = load i8, i8* %17, align 1
%19 = icmp eq i8 %18, 92
br i1 %19, label LBL_6, label LBL_4
LBL_4:
%20 = call i32 @strlen(i8* %12)
%21 = sext i32 %20 to i64
%22 = add i64 %15, %21
%23 = inttoptr i64 %22 to i8*
%24 = load i8, i8* %23, align 1
%25 = icmp eq i8 %24, 47
br i1 %25, label LBL_6, label LBL_5
LBL_5:
%26 = bitcast i64* %sv_0 to i8*
%27 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %26, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* %12, i8 47, i64* nonnull %0)
br label LBL_7
LBL_6:
%28 = bitcast i64* %sv_0 to i8*
%29 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %28, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i8* %12, i64* nonnull %0)
br label LBL_7
LBL_7:
%30 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))
%31 = add i64 %3, 8
%32 = inttoptr i64 %31 to i64*
store i64 %30, i64* %32, align 8
%33 = call i64 @FUNC(i64* nonnull %sv_0)
%34 = add i64 %3, 16
%35 = inttoptr i64 %34 to i64*
store i64 %33, i64* %35, align 8
%.pre = load i64, i64* %32, align 8
store i64 %.pre, i64* %.reg2mem
store i64* %32, i64** %.pre-phi1.reg2mem
br label LBL_8
LBL_8:
%.reload = load i64, i64* %.reg2mem
%36 = icmp eq i64 %.reload, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_12, label LBL_9
LBL_9:
%38 = add i64 %3, 16
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = icmp eq i64 %40, 0
br i1 %41, label LBL_11, label LBL_10
LBL_10:
%42 = call i64 @FUNC(i64 %40)
br label LBL_11
LBL_11:
%43 = call i64 @FUNC(i64 %3)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_12:
%.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem
%44 = call i64 @FUNC(i64 %.reload, i64 1)
%45 = add i64 %3, 24
%46 = inttoptr i64 %45 to i64*
store i64 %44, i64* %46, align 8
%47 = icmp eq i64 %44, 0
%48 = icmp eq i1 %47, false
br i1 %48, label LBL_14, label LBL_13
LBL_13:
%49 = load i64, i64* %.pre-phi1.reload, align 8
%50 = call i64 @FUNC(i64 %49)
%51 = call i64 @FUNC(i64 %3)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_14:
%52 = load i64, i64* @gv_3, align 8
%53 = icmp eq i64 %52, 0
store i64 %3, i64* %rax.0.reg2mem
br i1 %53, label LBL_16, label LBL_15
LBL_15:
%54 = call i64 @FUNC(i64 %44, i64 %52)
store i64 %3, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %44, { 1, 0, 2 }
uselistorder i8* %12, { 2, 0, 1, 3 }
uselistorder i64 %3, { 1, 0, 4, 6, 3, 5, 7, 8, 2, 9 }
uselistorder i64* %0, { 0, 1, 2, 4, 3 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64** %.pre-phi1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 }
uselistorder i8 47, { 1, 0 }
uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i32 1, { 6, 5, 3, 2, 1, 0, 4 }
uselistorder i64 %arg1, { 0, 2, 1 }
uselistorder label LBL_16, { 1, 0, 3, 4, 2 }
} | 1 |
CompRealVul | gpiodevice_release_18112 | gpiodevice_release | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %1, 4
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %2)
%5 = inttoptr i64 %1 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i64* nonnull @gv_0, i64 %7)
ret i64 %8
} | 1 |
CompRealVul | httpClientSetUri_11681 | httpClientSetUri | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp ne i64* %arg1, null
%3 = icmp eq i8* %arg2, null
%4 = icmp eq i1 %3, false
%or.cond = icmp eq i1 %2, %4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_8
LBL_1:
%5 = trunc i64 %1 to i8
%6 = icmp eq i8 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_8
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 1032
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_8
LBL_3:
%13 = add i64 %8, 1024
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp ult i64 %15, 1025
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %16, label LBL_4, label LBL_8
LBL_4:
%17 = add i64 %15, %8
%18 = inttoptr i64 %17 to i8*
store i8 0, i8* %18, align 1
%19 = bitcast i64* %arg1 to i8*
%20 = call i8* @strchr(i8* %19, i32 32)
%21 = icmp eq i8* %20, null
%22 = icmp eq i1 %21, false
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %22, label LBL_5, label LBL_8
LBL_5:
%23 = ptrtoint i8* %20 to i64
%24 = add i64 %23, 1
%25 = inttoptr i64 %24 to i8*
%26 = call i8* @strpbrk(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))
%27 = icmp eq i8* %26, null
%28 = icmp eq i1 %27, false
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %28, label LBL_6, label LBL_8
LBL_6:
%29 = ptrtoint i8* %26 to i64
%30 = sub i64 %24, %29
%31 = ptrtoint i8* %arg2 to i64
%32 = call i64 @FUNC(i64 %31)
%33 = load i64, i64* %14, align 8
%34 = add i64 %32, %30
%35 = add i64 %34, %33
%36 = icmp ult i64 %35, 1025
store i64 4294967292, i64* %rax.0.reg2mem
br i1 %36, label LBL_7, label LBL_8
LBL_7:
%37 = add i64 %8, 1
%38 = sub i64 %37, %29
%39 = add i64 %38, %33
%40 = add i64 %32, %24
%41 = call i64 @FUNC(i64 %40, i64 %29, i64 %39)
%42 = call i64 @FUNC(i64 %24, i64 %31, i64 %32)
%43 = load i64, i64* %14, align 8
%44 = add i64 %43, %34
store i64 %44, i64* %14, align 8
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 %32, { 2, 0, 1 }
uselistorder i64 %29, { 2, 0, 1 }
uselistorder i8* %26, { 1, 0 }
uselistorder i64 %24, { 2, 0, 1, 3 }
uselistorder i8* %20, { 1, 0 }
uselistorder i64* %14, { 1, 0, 2, 3 }
uselistorder i64 %8, { 1, 0, 3, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }
uselistorder i1 false, { 1, 2, 3, 0 }
uselistorder i8* null, { 1, 2, 0 }
uselistorder i8* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_8, { 7, 0, 1, 2, 3, 4, 5, 6 }
} | 1 |
CompRealVul | jas_image_cmpt_create_11090 | jas_image_cmpt_create | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8, i64 %arg9) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%0 = icmp slt i64 %arg5, 0
%1 = icmp slt i64 %arg6, 0
%or.cond = or i1 %0, %1
%2 = icmp slt i64 %arg3, 1
%or.cond5 = or i1 %2, %or.cond
%3 = icmp slt i64 %arg4, 1
%or.cond7 = or i1 %3, %or.cond5
store i64 0, i64* %storemerge.reg2mem
br i1 %or.cond7, label LBL_14, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %arg1, i64 %arg5, i64 0)
%5 = trunc i64 %4 to i8
%6 = icmp eq i8 %5, 1
%7 = icmp eq i1 %6, false
store i64 0, i64* %storemerge.reg2mem
br i1 %7, label LBL_14, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %arg2, i64 %arg6, i64 0)
%9 = trunc i64 %8 to i8
%10 = icmp eq i8 %9, 1
%11 = icmp eq i1 %10, false
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_14, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 88)
%13 = icmp eq i64 %12, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %13, label LBL_14, label LBL_4
LBL_4:
%14 = inttoptr i64 %12 to i64*
store i64 0, i64* %14, align 8
%15 = add i64 %12, 8
%16 = inttoptr i64 %15 to i64*
store i64 %arg1, i64* %16, align 8
%17 = add i64 %12, 16
%18 = inttoptr i64 %17 to i64*
store i64 %arg2, i64* %18, align 8
%19 = add i64 %12, 24
%20 = inttoptr i64 %19 to i64*
store i64 %arg3, i64* %20, align 8
%21 = add i64 %12, 32
%22 = inttoptr i64 %21 to i64*
store i64 %arg4, i64* %22, align 8
%23 = add i64 %12, 40
%24 = inttoptr i64 %23 to i64*
store i64 %arg5, i64* %24, align 8
%25 = add i64 %12, 48
%26 = inttoptr i64 %25 to i64*
store i64 %arg6, i64* %26, align 8
%27 = add i64 %12, 56
%28 = inttoptr i64 %27 to i64*
store i64 %arg7, i64* %28, align 8
%29 = trunc i64 %arg8 to i8
%30 = add i64 %12, 64
%31 = inttoptr i64 %30 to i8*
store i8 %29, i8* %31, align 1
%32 = add i64 %12, 72
%33 = inttoptr i64 %32 to i64*
store i64 0, i64* %33, align 8
%34 = add i64 %arg7, 7
%35 = udiv i64 %34, 8
%36 = add i64 %12, 80
%37 = inttoptr i64 %36 to i64*
store i64 %35, i64* %37, align 8
%38 = load i64, i64* %26, align 8
%39 = load i64, i64* %24, align 8
%40 = call i64 @FUNC(i64 %39, i64 %38, i64* nonnull %sv_0)
%41 = trunc i64 %40 to i8
%42 = icmp eq i8 %41, 1
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_13, label LBL_5
LBL_5:
%44 = load i64, i64* %37, align 8
%45 = load i64, i64* %sv_0, align 8
%46 = call i64 @FUNC(i64 %45, i64 %44, i64* nonnull %sv_0)
%47 = trunc i64 %46 to i8
%48 = icmp eq i8 %47, 1
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_13, label LBL_6
LBL_6:
%50 = icmp eq i64 %arg9, 0
br i1 %50, label LBL_8, label LBL_7
LBL_7:
%51 = load i64, i64* %sv_0, align 8
%52 = call i64 @FUNC(i64 0, i64 %51)
store i64 %52, i64* %storemerge2.reg2mem
br label LBL_9
LBL_8:
%53 = call i64 @FUNC()
store i64 %53, i64* %storemerge2.reg2mem
br label LBL_9
LBL_9:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
store i64 %storemerge2.reload, i64* %33, align 8
%54 = icmp eq i64 %storemerge2.reload, 0
br i1 %54, label LBL_13, label LBL_10
LBL_10:
%55 = load i64, i64* %sv_0, align 8
%56 = add i64 %55, -1
%57 = call i64 @FUNC(i64 %storemerge2.reload, i64 %56, i64 0)
%58 = trunc i64 %57 to i32
%59 = icmp slt i32 %58, 0
br i1 %59, label LBL_13, label LBL_11
LBL_11:
%60 = load i64, i64* %33, align 8
%61 = call i64 @FUNC(i64 %60, i64 0)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, -1
br i1 %63, label LBL_13, label LBL_12
LBL_12:
%64 = load i64, i64* %33, align 8
%65 = call i64 @FUNC(i64 %64, i64 0, i64 0)
%66 = trunc i64 %65 to i32
%67 = icmp slt i32 %66, 0
store i64 %12, i64* %storemerge.reg2mem
br i1 %67, label LBL_13, label LBL_14
LBL_13:
%68 = call i64 @FUNC(i64 %12)
store i64 0, i64* %storemerge.reg2mem
br label LBL_14
LBL_14:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge2.reload, { 1, 2, 0 }
uselistorder i64 %12, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }
uselistorder i64* %sv_0, { 2, 3, 0, 4, 1 }
uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 6, 5, 4, 2, 3, 1 }
uselistorder i64 (i64, i64, i64)* @jas_stream_seek, { 1, 0 }
uselistorder i64 (i64, i64, i64*)* @jas_safe_size_mul, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @jas_safe_intfast32_add, { 1, 0 }
uselistorder i32 1, { 3, 1, 0, 2 }
uselistorder i64 %arg7, { 1, 0 }
uselistorder label LBL_14, { 5, 4, 3, 1, 2, 0 }
uselistorder label LBL_13, { 5, 4, 3, 2, 1, 0 }
} | 1 |
CompRealVul | visit_type_int8_374 | visit_type_int8 | define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
store i64 %3, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%4 = trunc i64 %1 to i8
%5 = ptrtoint i8* %arg2 to i64
store i8 %4, i8* %arg2, align 1
store i64 %5, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i8* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
CompRealVul | decode_5_16698 | decode_5 | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i32
%sv_1.0.in4.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 16
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = call i64 @FUNC(i64 %0, i64 %3, i32 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %9, label LBL_1, label LBL_4
LBL_1:
%10 = add i64 %0, 12
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 0, i64* %storemerge.reg2mem
br i1 %14, label LBL_2, label LBL_4
LBL_2:
%15 = load i64, i64* %2, align 8
store i64 %15, i64* %sv_1.0.in4.reg2mem
store i32 %12, i32* %sv_0.03.reg2mem
br label LBL_3
LBL_3:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%sv_1.0.in4.reload = load i64, i64* %sv_1.0.in4.reg2mem
%sv_1.05 = inttoptr i64 %sv_1.0.in4.reload to i16*
%16 = add i32 %sv_0.03.reload, -1
%17 = load i16, i16* %sv_1.05, align 2
%18 = zext i16 %17 to i64
%19 = call i64 @FUNC(i64 %18)
%20 = add i64 %sv_1.0.in4.reload, 2
%21 = trunc i64 %19 to i16
store i16 %21, i16* %sv_1.05, align 2
%22 = icmp eq i32 %16, 0
%23 = icmp eq i1 %22, false
store i64 %20, i64* %sv_1.0.in4.reg2mem
store i32 %16, i32* %sv_0.03.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %23, label LBL_3, label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_1.0.in4.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | vm_completion_3366 | vm_completion | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge4.lcssa.reg2mem = alloca i64
%.reg2mem = alloca i64
%storemerge36.reg2mem = alloca i64
%storemerge47.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = inttoptr i64 %arg2 to i8*
%2 = call i32 @strlen(i8* %1)
%3 = sext i32 %2 to i64
%4 = call i64 @FUNC(i64 %0, i64 %3)
%5 = call i64 @FUNC(i64* nonnull %sv_1)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 %5, i64* %storemerge47.reg2mem
store i64 %5, i64* %storemerge4.lcssa.reg2mem
br i1 %7, label LBL_1, label LBL_13
LBL_1:
%storemerge47.reload = load i64, i64* %storemerge47.reg2mem
%8 = call i64 @FUNC(i64 %storemerge47.reload)
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 %storemerge47.reload)
%11 = trunc i64 %10 to i8
%12 = icmp eq i8 %11, 0
br i1 %12, label LBL_2, label LBL_3
LBL_2:
%13 = call i64 @FUNC(i64 %8)
br label LBL_12
LBL_3:
%14 = call i64 @FUNC(i64 %storemerge47.reload, i64* nonnull %sv_0, i64 0)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = call i64 @FUNC(i64 %8)
%18 = icmp eq i1 %16, false
br i1 %18, label LBL_12, label LBL_4
LBL_4:
%storemerge35 = load i64, i64* %sv_0, align 8
%19 = icmp eq i64 %storemerge35, 0
%20 = icmp eq i1 %19, false
store i64 %storemerge35, i64* %storemerge36.reg2mem
store i64 %storemerge35, i64* %.reg2mem
br i1 %20, label LBL_5, label LBL_11
LBL_5:
%storemerge36.reload = load i64, i64* %storemerge36.reg2mem
%21 = add i64 %storemerge36.reload, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = inttoptr i64 %25 to i8*
%27 = call i32 @strncmp(i8* %1, i8* %26, i32 %2)
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_7, label LBL_6
LBL_6:
%30 = call i64 @FUNC(i64 %0, i64 %25)
br label LBL_7
LBL_7:
%31 = load i64, i64* %22, align 8
%32 = add i64 %31, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i8*
%36 = call i32 @strncmp(i8* %1, i8* %35, i32 %2)
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_9, label LBL_8
LBL_8:
%39 = call i64 @FUNC(i64 %0, i64 %34)
br label LBL_9
LBL_9:
%40 = inttoptr i64 %storemerge36.reload to i64*
%storemerge3 = load i64, i64* %40, align 8
%41 = icmp eq i64 %storemerge3, 0
%42 = icmp eq i1 %41, false
store i64 %storemerge3, i64* %storemerge36.reg2mem
br i1 %42, label LBL_5, label LBL_10
LBL_10:
%.pre = load i64, i64* %sv_0, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_11
LBL_11:
%.reload = load i64, i64* %.reg2mem
%43 = call i64 @FUNC(i64 %.reload)
br label LBL_12
LBL_12:
%44 = call i64 @FUNC(i64* nonnull %sv_1)
%45 = icmp eq i64 %44, 0
%46 = icmp eq i1 %45, false
store i64 %44, i64* %storemerge47.reg2mem
store i64 %44, i64* %storemerge4.lcssa.reg2mem
br i1 %46, label LBL_1, label LBL_13
LBL_13:
%storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem
ret i64 %storemerge4.lcssa.reload
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i64 %storemerge47.reload, { 0, 2, 1 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i64* %storemerge47.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge36.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @readline_add_completion, { 1, 0 }
uselistorder i64 (i64)* @aio_context_release, { 1, 0 }
uselistorder i1 false, { 6, 4, 2, 3, 1, 5, 0 }
uselistorder label LBL_12, { 2, 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | mm_sshpam_init_ctx_5488 | mm_sshpam_init_ctx | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%sv_0 = alloca i32, align 4
%5 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)
%6 = bitcast i32* %sv_0 to i64*
%7 = call i64 @FUNC(i64* nonnull %6)
%8 = load i32*, i32** @gv_2, align 8
%9 = load i32, i32* %8, align 4
%10 = ptrtoint i32* %sv_0 to i64
%11 = zext i32 %9 to i64
%12 = call i64 @FUNC(i64 %11, i64 1, i64* nonnull %6)
%13 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %4, i64 %2, i64 %1)
%14 = load i32*, i32** @gv_2, align 8
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
%17 = call i64 @FUNC(i64 %16, i64 2, i64* nonnull %6)
%18 = call i64 @FUNC(i64* nonnull %6)
%19 = trunc i64 %18 to i32
store i32 %19, i32* %sv_0, align 4
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_2, label LBL_1
LBL_1:
%22 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %4, i64 %2, i64 %1)
%23 = call i64 @FUNC(i64* nonnull %6)
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%24 = ptrtoint i64* %arg1 to i64
%25 = call i64 @FUNC(i64* nonnull %6)
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* %6, { 1, 0, 2, 3, 4, 5 }
uselistorder i32* %sv_0, { 1, 0, 2 }
uselistorder i64 %4, { 2, 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64*)* @buffer_free, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i32** @gv_2, { 1, 0 }
uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @debug3, { 2, 1, 0 }
} | 0 |
CompRealVul | e1000e_write_packet_to_guest_7569 | e1000e_write_packet_to_guest | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.110.reg2mem = alloca i64
%sv_1.511.reg2mem = alloca i64
%sv_2.512.reg2mem = alloca i64
%sv_3.313.reg2mem = alloca i8
%storemerge214.reg2mem = alloca i64
%sv_3.2.reg2mem = alloca i8
%sv_2.4.reg2mem = alloca i64
%sv_1.4.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%sv_2.3.lcssa.reg2mem = alloca i64
%sv_1.3.lcssa.reg2mem = alloca i64
%sv_1.315.reg2mem = alloca i64
%sv_2.316.reg2mem = alloca i64
%sv_4.217.reg2mem = alloca i64
%sv_4.2.ph.reg2mem = alloca i64
%sv_3.1.ph.reg2mem = alloca i8
%sv_2.3.ph.reg2mem = alloca i64
%sv_1.3.ph.reg2mem = alloca i64
%sv_5.0.reg2mem = alloca i64
%sv_4.1.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i8
%sv_2.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%sv_6 = alloca i8, align 1
%sv_7 = alloca i64, align 8
%sv_8 = alloca i32, align 4
%sv_9 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %1)
%4 = call i64 @FUNC(i64 %1)
%5 = add i64 %2, 24
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7)
%9 = add i64 %8, %4
store i64 0, i64* %sv_9, align 8
%10 = ptrtoint i64* %sv_9 to i64
%11 = call i64 @FUNC(i64 %2, i64 %1, i64* nonnull %sv_9)
%12 = trunc i64 %11 to i8
%13 = add i64 %2, 8
%14 = inttoptr i64 %13 to i64*
%15 = add i64 %2, 16
%16 = inttoptr i64 %15 to i64*
%17 = bitcast i8* %sv_6 to i64*
%18 = icmp eq i8 %12, 0
%19 = add i64 %2, 32
%20 = inttoptr i64 %19 to i64*
store i64 0, i64* %sv_0.0.reg2mem
store i64 0, i64* %sv_1.0.reg2mem
store i64 %3, i64* %sv_2.0.reg2mem
store i8 1, i8* %sv_3.0.reg2mem
br label LBL_1
LBL_1:
%sv_3.0.reload = load i8, i8* %sv_3.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
store i32 0, i32* %sv_8, align 4
%21 = load i64, i64* %14, align 8
%22 = call i64 @FUNC(i64 %2, i64 %10)
%23 = load i64, i64* %16, align 8
%24 = call i64 @FUNC(i64 %2, i64 %22, i64* nonnull %sv_7, i64 %23)
%25 = load i64, i64* %16, align 8
%26 = call i64 @FUNC(i64 %25, i64 %22, i64 %25)
%27 = call i64 @FUNC(i64 %2, i64* nonnull %sv_7, i64* nonnull %17)
%28 = load i8, i8* %sv_6, align 1
%29 = icmp eq i8 %28, 0
br i1 %29, label LBL_13, label LBL_2
LBL_2:
%30 = sub i64 %9, %sv_0.0.reload
%31 = icmp ugt i64 %30, %21
%spec.select = select i1 %31, i64 %21, i64 %30
%32 = icmp ugt i64 %4, %sv_0.0.reload
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_2.LBL_14_crit_edge, label LBL_4
LBL_3:
%.pre19 = add i64 %spec.select, %sv_0.0.reload
store i64 %.pre19, i64* %.pre-phi.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.4.reg2mem
store i64 %sv_2.0.reload, i64* %sv_2.4.reg2mem
store i8 %sv_3.0.reload, i8* %sv_3.2.reg2mem
br label LBL_14
LBL_4:
%34 = sub i64 %4, %sv_0.0.reload
%35 = load i64, i64* %14, align 8
%36 = icmp ugt i64 %34, %35
%spec.select3 = select i1 %36, i64 %35, i64 %34
store i64 %sv_1.0.reload, i64* %sv_1.3.ph.reg2mem
store i64 %sv_2.0.reload, i64* %sv_2.3.ph.reg2mem
store i8 %sv_3.0.reload, i8* %sv_3.1.ph.reg2mem
store i64 %spec.select3, i64* %sv_4.2.ph.reg2mem
br i1 %18, label LBL_9, label LBL_5
LBL_5:
%37 = icmp eq i8 %sv_3.0.reload, 0
br i1 %37, label LBL_8, label LBL_6
LBL_6:
%.pre = load i64, i64* %sv_9, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i64 %spec.select3, i64* %sv_4.1.reg2mem
store i64 0, i64* %sv_5.0.reg2mem
br label LBL_7
LBL_7:
%sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem
%sv_4.1.reload = load i64, i64* %sv_4.1.reg2mem
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%.reload = load i64, i64* %.reg2mem
%38 = add i64 %sv_2.1.reload, 8
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = sub i64 %40, %sv_1.1.reload
%42 = sub i64 %.reload, %sv_5.0.reload
%43 = icmp ugt i64 %41, %42
%44 = select i1 %43, i64 %42, i64 %41
%45 = inttoptr i64 %sv_2.1.reload to i64*
%46 = load i64, i64* %45, align 8
%47 = call i64 @FUNC(i64 %2, i64* nonnull %17, i32* nonnull %sv_8, i64 %46, i64 %44)
%48 = sub i64 %sv_4.1.reload, %44
%49 = add i64 %44, %sv_5.0.reload
%50 = add i64 %44, %sv_1.1.reload
%51 = load i64, i64* %39, align 8
%52 = icmp eq i64 %50, %51
%53 = icmp eq i1 %52, false
%54 = add i64 %sv_2.1.reload, 16
%spec.select4 = select i1 %53, i64 %50, i64 0
%spec.select5 = select i1 %53, i64 %sv_2.1.reload, i64 %54
%55 = load i64, i64* %sv_9, align 8
%56 = icmp ult i64 %49, %55
store i64 %55, i64* %.reg2mem
store i64 %spec.select4, i64* %sv_1.1.reg2mem
store i64 %spec.select5, i64* %sv_2.1.reg2mem
store i64 %48, i64* %sv_4.1.reg2mem
store i64 %49, i64* %sv_5.0.reg2mem
store i64 %spec.select4, i64* %sv_1.3.ph.reg2mem
store i64 %spec.select5, i64* %sv_2.3.ph.reg2mem
store i8 0, i8* %sv_3.1.ph.reg2mem
store i64 %48, i64* %sv_4.2.ph.reg2mem
br i1 %56, label LBL_7, label LBL_9
LBL_8:
%57 = call i64 @FUNC(i64 %2, i64* nonnull %17, i32* nonnull %sv_8, i64 0, i64 0)
store i64 %sv_1.0.reload, i64* %sv_1.3.ph.reg2mem
store i64 %sv_2.0.reload, i64* %sv_2.3.ph.reg2mem
store i8 0, i8* %sv_3.1.ph.reg2mem
store i64 %spec.select3, i64* %sv_4.2.ph.reg2mem
br label LBL_9
LBL_9:
%sv_4.2.ph.reload = load i64, i64* %sv_4.2.ph.reg2mem
%sv_3.1.ph.reload = load i8, i8* %sv_3.1.ph.reg2mem
%sv_2.3.ph.reload = load i64, i64* %sv_2.3.ph.reg2mem
%sv_1.3.ph.reload = load i64, i64* %sv_1.3.ph.reg2mem
%58 = icmp eq i64 %sv_4.2.ph.reload, 0
%59 = icmp eq i1 %58, false
store i64 %sv_4.2.ph.reload, i64* %sv_4.217.reg2mem
store i64 %sv_2.3.ph.reload, i64* %sv_2.316.reg2mem
store i64 %sv_1.3.ph.reload, i64* %sv_1.315.reg2mem
store i64 %sv_1.3.ph.reload, i64* %sv_1.3.lcssa.reg2mem
store i64 %sv_2.3.ph.reload, i64* %sv_2.3.lcssa.reg2mem
br i1 %59, label LBL_10, label LBL_11
LBL_10:
%sv_1.315.reload = load i64, i64* %sv_1.315.reg2mem
%sv_2.316.reload = load i64, i64* %sv_2.316.reg2mem
%sv_4.217.reload = load i64, i64* %sv_4.217.reg2mem
%60 = add i64 %sv_2.316.reload, 8
%61 = inttoptr i64 %60 to i64*
%62 = load i64, i64* %61, align 8
%63 = sub i64 %62, %sv_1.315.reload
%64 = icmp ugt i64 %sv_4.217.reload, %63
%65 = select i1 %64, i64 %63, i64 %sv_4.217.reload
%66 = inttoptr i64 %sv_2.316.reload to i64*
%67 = load i64, i64* %66, align 8
%68 = add i64 %67, %sv_1.315.reload
%69 = call i64 @FUNC(i64 %2, i64* nonnull %17, i32* nonnull %sv_8, i64 %68, i64 %65)
%70 = sub i64 %sv_4.217.reload, %65
%71 = add i64 %65, %sv_1.315.reload
%72 = load i64, i64* %61, align 8
%73 = icmp eq i64 %71, %72
%74 = icmp eq i1 %73, false
%75 = add i64 %sv_2.316.reload, 16
%spec.select6 = select i1 %74, i64 %71, i64 0
%spec.select7 = select i1 %74, i64 %sv_2.316.reload, i64 %75
%76 = icmp eq i64 %70, 0
%77 = icmp eq i1 %76, false
store i64 %70, i64* %sv_4.217.reg2mem
store i64 %spec.select7, i64* %sv_2.316.reg2mem
store i64 %spec.select6, i64* %sv_1.315.reg2mem
store i64 %spec.select6, i64* %sv_1.3.lcssa.reg2mem
store i64 %spec.select7, i64* %sv_2.3.lcssa.reg2mem
br i1 %77, label LBL_10, label LBL_11
LBL_11:
%sv_2.3.lcssa.reload = load i64, i64* %sv_2.3.lcssa.reg2mem
%sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem
%78 = add i64 %spec.select, %sv_0.0.reload
%79 = icmp ugt i64 %9, %78
store i64 %78, i64* %.pre-phi.reg2mem
store i64 %sv_1.3.lcssa.reload, i64* %sv_1.4.reg2mem
store i64 %sv_2.3.lcssa.reload, i64* %sv_2.4.reg2mem
store i8 %sv_3.1.ph.reload, i8* %sv_3.2.reg2mem
br i1 %79, label LBL_14, label LBL_12
LBL_12:
%80 = load i64, i64* %6, align 8
%81 = call i64 @FUNC(i64 %80)
%82 = call i64 @FUNC(i64 %2, i64* nonnull %17, i32* nonnull %sv_8, i64 4202512, i64 %81)
store i64 %78, i64* %.pre-phi.reg2mem
store i64 %sv_1.3.lcssa.reload, i64* %sv_1.4.reg2mem
store i64 %sv_2.3.lcssa.reload, i64* %sv_2.4.reg2mem
store i8 %sv_3.1.ph.reload, i8* %sv_3.2.reg2mem
br label LBL_14
LBL_13:
%83 = call i64 @FUNC()
%84 = load i64, i64* %sv_9, align 8
%storemerge29 = select i1 %18, i64 0, i64 %84
store i64 %storemerge29, i64* %storemerge214.reg2mem
store i8 %sv_3.0.reload, i8* %sv_3.313.reg2mem
store i64 %sv_2.0.reload, i64* %sv_2.512.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.511.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.110.reg2mem
store i64 0, i64* %storemerge.reg2mem
br label LBL_16
LBL_14:
%sv_3.2.reload = load i8, i8* %sv_3.2.reg2mem
%sv_2.4.reload = load i64, i64* %sv_2.4.reg2mem
%sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%85 = icmp ult i64 %.pre-phi.reload, %9
%86 = load i64, i64* %sv_9, align 8
%storemerge2 = select i1 %18, i64 0, i64 %86
store i64 %storemerge2, i64* %storemerge214.reg2mem
store i8 %sv_3.2.reload, i8* %sv_3.313.reg2mem
store i64 %sv_2.4.reload, i64* %sv_2.512.reg2mem
store i64 %sv_1.4.reload, i64* %sv_1.511.reg2mem
store i64 %.pre-phi.reload, i64* %sv_0.110.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %85, label LBL_16, label LBL_15
LBL_15:
%87 = load i64, i64* %20, align 8
store i64 %storemerge2, i64* %storemerge214.reg2mem
store i8 %sv_3.2.reload, i8* %sv_3.313.reg2mem
store i64 %sv_2.4.reload, i64* %sv_2.512.reg2mem
store i64 %sv_1.4.reload, i64* %sv_1.511.reg2mem
store i64 %.pre-phi.reload, i64* %sv_0.110.reg2mem
store i64 %87, i64* %storemerge.reg2mem
br label LBL_16
LBL_16:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem
%sv_1.511.reload = load i64, i64* %sv_1.511.reg2mem
%sv_2.512.reload = load i64, i64* %sv_2.512.reg2mem
%sv_3.313.reload = load i8, i8* %sv_3.313.reg2mem
%storemerge214.reload = load i64, i64* %storemerge214.reg2mem
%88 = call i64 @FUNC(i64 %2, i64* nonnull %sv_7, i64 %storemerge.reload, i64 %0, i64 %storemerge214.reload, i32* nonnull %sv_8)
%89 = load i64, i64* %16, align 8
%90 = call i64 @FUNC(i64 %2, i64 %22, i64* nonnull %sv_7, i64 %89)
%91 = load i64, i64* %16, align 8
%92 = udiv i64 %91, 16
%93 = call i64 @FUNC(i64 %2, i64 %10, i64 %92)
%94 = icmp ult i64 %sv_0.110.reload, %9
store i64 %sv_0.110.reload, i64* %sv_0.0.reg2mem
store i64 %sv_1.511.reload, i64* %sv_1.0.reg2mem
store i64 %sv_2.512.reload, i64* %sv_2.0.reg2mem
store i8 %sv_3.313.reload, i8* %sv_3.0.reg2mem
br i1 %94, label LBL_1, label LBL_17
LBL_17:
%95 = call i64 @FUNC(i64 %2, i64 %4, i64 %9)
ret i64 %95
uselistorder i64 %sv_0.110.reload, { 1, 0 }
uselistorder i64 %storemerge2, { 1, 0 }
uselistorder i64 %.pre-phi.reload, { 1, 0, 2 }
uselistorder i64 %sv_1.4.reload, { 1, 0 }
uselistorder i64 %sv_2.4.reload, { 1, 0 }
uselistorder i8 %sv_3.2.reload, { 1, 0 }
uselistorder i64 %78, { 1, 0, 2 }
uselistorder i64 %sv_1.3.lcssa.reload, { 1, 0 }
uselistorder i64 %sv_2.3.lcssa.reload, { 1, 0 }
uselistorder i64 %sv_2.316.reload, { 0, 1, 3, 2 }
uselistorder i64 %sv_1.315.reload, { 2, 1, 0 }
uselistorder i8 %sv_3.1.ph.reload, { 1, 0 }
uselistorder i64 %sv_1.1.reload, { 1, 0 }
uselistorder i64 %sv_2.1.reload, { 3, 2, 0, 1 }
uselistorder i64 %sv_5.0.reload, { 1, 0 }
uselistorder i64 %spec.select3, { 1, 2, 0 }
uselistorder i64 %spec.select, { 1, 0 }
uselistorder i64 %25, { 1, 0 }
uselistorder i64 %sv_0.0.reload, { 0, 4, 2, 5, 3, 1 }
uselistorder i64 %sv_1.0.reload, { 0, 3, 4, 2, 1 }
uselistorder i64 %sv_2.0.reload, { 0, 3, 4, 2, 1 }
uselistorder i8 %sv_3.0.reload, { 0, 3, 2, 1 }
uselistorder i1 %18, { 1, 0, 2 }
uselistorder i64* %17, { 2, 3, 1, 0, 4 }
uselistorder i64 %9, { 3, 2, 1, 0, 4 }
uselistorder i64 %4, { 3, 2, 1, 0 }
uselistorder i64* %sv_9, { 3, 1, 4, 0, 2, 5, 6 }
uselistorder i64 %2, { 5, 6, 7, 8, 2, 3, 1, 0, 9, 10, 11, 4, 12, 13, 14, 15 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_3.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_4.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_5.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.3.ph.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_2.3.ph.reg2mem, { 0, 3, 1, 2 }
uselistorder i8* %sv_3.1.ph.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_4.2.ph.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_4.217.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.316.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.315.reg2mem, { 2, 0, 1 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %sv_1.4.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %sv_2.4.reg2mem, { 0, 2, 1, 3 }
uselistorder i8* %sv_3.2.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %storemerge214.reg2mem, { 0, 3, 2, 1 }
uselistorder i8* %sv_3.313.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %sv_2.512.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %sv_1.511.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %sv_0.110.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64, i64*, i32*, i64, i64)* @e1000e_write_hdr_to_rx_buffers, { 1, 0 }
uselistorder i1 false, { 2, 1, 0, 3, 4 }
uselistorder i8 0, { 1, 0, 2, 4, 3 }
uselistorder i64 (i64)* @e1000x_fcs_len, { 1, 0 }
uselistorder label LBL_16, { 2, 1, 0 }
uselistorder label LBL_14, { 1, 2, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 2, 0, 1 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
CompRealVul | msusb_mspipes_read_5747 | msusb_mspipes_read | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%indvars.iv6.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br i1 true, label LBL_1, label LBL_7
LBL_1:
%2 = trunc i64 %arg2 to i32
%3 = call i64* @calloc(i32 %2, i32 8)
%4 = icmp eq i64* %3, null
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_7
LBL_2:
%6 = and i64 %arg2, 4294967295
%7 = ptrtoint i64* %3 to i64
%8 = icmp eq i32 %2, 0
store i64 0, i64* %indvars.iv6.reg2mem
store i64 %7, i64* %rax.0.reg2mem
br i1 %8, label LBL_7, label LBL_3
LBL_3:
%9 = call i64 @FUNC()
%10 = icmp eq i64 %9, 0
store i64 0, i64* %indvars.iv.reg2mem
br i1 %10, label LBL_5, label LBL_4
LBL_4:
%indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem
%11 = inttoptr i64 %9 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64 %0, i64 %13)
%15 = call i64 @FUNC(i64 %0, i64 2)
%16 = add i64 %9, 4
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = zext i32 %18 to i64
%20 = call i64 @FUNC(i64 %0, i64 %19)
%21 = add i64 %9, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64 %0, i64 %24)
%26 = mul i64 %indvars.iv6.reload, 8
%27 = add i64 %26, %7
%28 = inttoptr i64 %27 to i64*
store i64 %9, i64* %28, align 8
%indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1
%29 = icmp ult i64 %indvars.iv.next7, %6
store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem
store i64 %7, i64* %rax.0.reg2mem
br i1 %29, label LBL_3, label LBL_7
LBL_5:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%30 = mul i64 %indvars.iv.reload, 8
%31 = add i64 %30, %7
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = inttoptr i64 %33 to i64*
call void @free(i64* %34)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %6
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_6, label LBL_5
LBL_6:
call void @free(i64* %3)
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 %7, { 2, 0, 3, 1 }
uselistorder i64* %3, { 0, 2, 1 }
uselistorder i64 %0, { 0, 1, 3, 2, 4 }
uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64 (i64, i64)* @Stream_Read_UINT32, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_7, { 4, 0, 1, 2, 3 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | common_timer_get_11483 | common_timer_get | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = add i64 %2, 36
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 0
%9 = add i64 %2, 16
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, 0
br i1 %12, label LBL_1, label LBL_4
LBL_1:
%13 = add i64 %2, 24
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = icmp eq i8 %15, 1
br i1 %16, label LBL_3, label LBL_2
LBL_2:
%17 = icmp ne i1 %8, true
%18 = zext i1 %17 to i64
%19 = icmp eq i1 %8, false
store i64 %18, i64* %rax.0.reg2mem
br i1 %19, label LBL_10, label LBL_3
LBL_3:
%20 = call i64 @FUNC(i64 %4, i64 %3)
store i64 %20, i64* %.reg2mem
br label LBL_6
LBL_4:
%21 = ptrtoint i64* %arg3 to i64
%22 = call i64 @FUNC(i64 %11)
%23 = add i64 %1, 16
%24 = inttoptr i64 %23 to i64*
store i64 %22, i64* %24, align 8
%25 = add i64 %1, 24
%26 = inttoptr i64 %25 to i64*
store i64 %21, i64* %26, align 8
%27 = call i64 @FUNC(i64 %4, i64 %3)
%28 = add i64 %2, 28
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = urem i32 %30, 2
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %8, false
%or.cond = icmp eq i1 %33, %32
store i64 %27, i64* %.reg2mem
br i1 %or.cond, label LBL_6, label LBL_5
LBL_5:
%34 = trunc i64 %2 to i32
%35 = add i64 %2, 32
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i32 %37, %34
store i32 %38, i32* %36, align 4
store i64 %27, i64* %.reg2mem
br label LBL_6
LBL_6:
%39 = icmp eq i64* %arg1, null
%40 = icmp slt i64* %arg1, null
%41 = icmp eq i1 %40, false
%42 = icmp eq i1 %39, false
%43 = icmp eq i1 %41, %42
br i1 %43, label LBL_9, label LBL_7
LBL_7:
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_10, label LBL_8
LBL_8:
%44 = add i64 %1, 8
%45 = inttoptr i64 %44 to i64*
store i64 1, i64* %45, align 8
store i64 %1, i64* %rax.0.reg2mem
br label LBL_10
LBL_9:
%.reload = load i64, i64* %.reg2mem
%46 = call i64 @FUNC(i64 %2)
store i64 %46, i64* %arg2, align 8
%47 = add i64 %1, 8
%48 = inttoptr i64 %47 to i64*
store i64 %.reload, i64* %48, align 8
store i64 %46, 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 i1 %8, { 2, 3, 1, 0 }
uselistorder i64 %2, { 3, 1, 0, 2, 4, 5, 6 }
uselistorder i64 %1, { 4, 0, 3, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @ktime_to_timespec64, { 1, 0 }
uselistorder i64 (i64, i64)* @timespec64_to_ktime, { 1, 0 }
uselistorder i1 false, { 2, 1, 0, 3 }
uselistorder i64 24, { 1, 0 }
uselistorder label LBL_10, { 1, 2, 3, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
} | 1 |
CompRealVul | cpu_load_old_7710 | cpu_load_old | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%indvars.iv29.reg2mem = alloca i64
%indvars.iv32.reg2mem = alloca i64
%indvars.iv35.reg2mem = alloca i64
%indvars.iv40.reg2mem = alloca i64
%indvars.iv37.reg2mem = alloca i64
%indvars.iv46.reg2mem = alloca i64
%indvars.iv43.reg2mem = alloca i64
%indvars.iv49.reg2mem = alloca i64
%indvars.iv52.reg2mem = alloca i64
%indvars.iv55.reg2mem = alloca i64
%indvars.iv58.reg2mem = alloca i64
%indvars.iv61.reg2mem = alloca i64
%indvars.iv64.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i32, align 4
%sv_2 = alloca i64, align 8
store i64 0, i64* %indvars.iv64.reg2mem
br label LBL_1
LBL_1:
%indvars.iv64.reload = load i64, i64* %indvars.iv64.reg2mem
%2 = mul i64 %indvars.iv64.reload, 4
%3 = add i64 %2, %0
%4 = call i64 @FUNC(i64 %1, i64 %3)
%indvars.iv.next65 = add nuw nsw i64 %indvars.iv64.reload, 1
%exitcond66 = icmp eq i64 %indvars.iv.next65, 32
store i64 %indvars.iv.next65, i64* %indvars.iv64.reg2mem
br i1 %exitcond66, label LBL_2, label LBL_1
LBL_2:
%5 = add i64 %0, 128
store i64 0, i64* %indvars.iv61.reg2mem
br label LBL_3
LBL_3:
%indvars.iv61.reload = load i64, i64* %indvars.iv61.reg2mem
%6 = mul i64 %indvars.iv61.reload, 4
%7 = add i64 %5, %6
%8 = call i64 @FUNC(i64 %1, i64 %7)
%indvars.iv.next62 = add nuw nsw i64 %indvars.iv61.reload, 1
%exitcond63 = icmp eq i64 %indvars.iv.next62, 32
store i64 %indvars.iv.next62, i64* %indvars.iv61.reg2mem
br i1 %exitcond63, label LBL_4, label LBL_3
LBL_4:
%9 = add i64 %0, 256
%10 = call i64 @FUNC(i64 %1, i64 %9)
%11 = add i64 %0, 260
%12 = call i64 @FUNC(i64 %1, i64 %11)
%13 = add i64 %0, 264
store i64 0, i64* %indvars.iv58.reg2mem
br label LBL_5
LBL_5:
%indvars.iv58.reload = load i64, i64* %indvars.iv58.reg2mem
%14 = mul i64 %indvars.iv58.reload, 4
%15 = add i64 %13, %14
%16 = call i64 @FUNC(i64 %1, i64 %15)
%indvars.iv.next59 = add nuw nsw i64 %indvars.iv58.reload, 1
%exitcond60 = icmp eq i64 %indvars.iv.next59, 8
store i64 %indvars.iv.next59, i64* %indvars.iv58.reg2mem
br i1 %exitcond60, label LBL_6, label LBL_5
LBL_6:
%17 = ptrtoint i64* %sv_2 to i64
%18 = call i64 @FUNC(i64 %1, i64 %17)
%19 = load i64, i64* %sv_2, align 8
%20 = call i64 @FUNC(i64 %0, i64 %19)
%21 = add i64 %0, 296
%22 = call i64 @FUNC(i64 %1, i64 %21)
%23 = add i64 %0, 300
%24 = call i64 @FUNC(i64 %1, i64 %23)
%25 = add i64 %0, 304
store i64 0, i64* %indvars.iv55.reg2mem
br label LBL_7
LBL_7:
%indvars.iv55.reload = load i64, i64* %indvars.iv55.reg2mem
%26 = mul i64 %indvars.iv55.reload, 4
%27 = add i64 %25, %26
%28 = call i64 @FUNC(i64 %1, i64 %27)
%indvars.iv.next56 = add nuw nsw i64 %indvars.iv55.reload, 1
%exitcond57 = icmp eq i64 %indvars.iv.next56, 4
store i64 %indvars.iv.next56, i64* %indvars.iv55.reg2mem
br i1 %exitcond57, label LBL_8, label LBL_7
LBL_8:
%29 = add i64 %0, 320
store i64 0, i64* %indvars.iv52.reg2mem
br label LBL_9
LBL_9:
%indvars.iv52.reload = load i64, i64* %indvars.iv52.reg2mem
%30 = call i64 @FUNC(i64 %1)
%31 = call i128 @FUNC(i64 %30)
%32 = call i64 @__asm_movsd.1(i128 %31)
%33 = mul i64 %indvars.iv52.reload, 8
%34 = add i64 %29, %33
%35 = inttoptr i64 %34 to i64*
store i64 %32, i64* %35, align 8
%indvars.iv.next53 = add nuw nsw i64 %indvars.iv52.reload, 1
%exitcond54 = icmp eq i64 %indvars.iv.next53, 32
store i64 %indvars.iv.next53, i64* %indvars.iv52.reg2mem
br i1 %exitcond54, label LBL_10, label LBL_9
LBL_10:
%36 = ptrtoint i32* %sv_1 to i64
%37 = call i64 @FUNC(i64 %1, i64 %36)
%38 = load i32, i32* %sv_1, align 4
%39 = add i64 %0, 576
%40 = inttoptr i64 %39 to i32*
store i32 %38, i32* %40, align 4
%41 = add i64 %0, 580
%42 = call i64 @FUNC(i64 %1, i64 %41)
%43 = add i64 %0, 584
%44 = call i64 @FUNC(i64 %1, i64 %43)
%45 = add i64 %0, 8248
%46 = call i64 @FUNC(i64 %1, i64 %45)
%47 = ptrtoint i64* %sv_0 to i64
%48 = call i64 @FUNC(i64 %1, i64 %47)
%49 = add i64 %0, 7976
store i64 0, i64* %indvars.iv49.reg2mem
br label LBL_11
LBL_11:
%indvars.iv49.reload = load i64, i64* %indvars.iv49.reg2mem
%50 = mul i64 %indvars.iv49.reload, 4
%51 = add i64 %49, %50
%52 = call i64 @FUNC(i64 %1, i64 %51)
%indvars.iv.next50 = add nuw nsw i64 %indvars.iv49.reload, 1
%exitcond51 = icmp eq i64 %indvars.iv.next50, 32
store i64 %indvars.iv.next50, i64* %indvars.iv49.reg2mem
br i1 %exitcond51, label LBL_12, label LBL_11
LBL_12:
%53 = add i64 %0, 8104
store i64 0, i64* %indvars.iv46.reg2mem
br label LBL_15
LBL_13:
%indvars.iv43.reload = load i64, i64* %indvars.iv43.reg2mem
%54 = add nuw nsw i64 %indvars.iv43.reload, %58
%55 = mul i64 %54, 4
%56 = add i64 %53, %55
%57 = call i64 @FUNC(i64 %1, i64 %56)
%indvars.iv.next44 = add nuw nsw i64 %indvars.iv43.reload, 1
%exitcond45 = icmp eq i64 %indvars.iv.next44, 8
store i64 %indvars.iv.next44, i64* %indvars.iv43.reg2mem
br i1 %exitcond45, label LBL_14, label LBL_13
LBL_14:
%indvars.iv.next47 = add nuw nsw i64 %indvars.iv46.reload, 1
%exitcond48 = icmp eq i64 %indvars.iv.next47, 2
store i64 %indvars.iv.next47, i64* %indvars.iv46.reg2mem
br i1 %exitcond48, label LBL_16, label LBL_15
LBL_15:
%indvars.iv46.reload = load i64, i64* %indvars.iv46.reg2mem
%58 = mul i64 %indvars.iv46.reload, 8
store i64 0, i64* %indvars.iv43.reg2mem
br label LBL_13
LBL_16:
%59 = add i64 %0, 8168
store i64 0, i64* %indvars.iv40.reg2mem
br label LBL_19
LBL_17:
%indvars.iv37.reload = load i64, i64* %indvars.iv37.reg2mem
%60 = add nuw nsw i64 %indvars.iv37.reload, %64
%61 = mul i64 %60, 4
%62 = add i64 %59, %61
%63 = call i64 @FUNC(i64 %1, i64 %62)
%indvars.iv.next38 = add nuw nsw i64 %indvars.iv37.reload, 1
%exitcond39 = icmp eq i64 %indvars.iv.next38, 8
store i64 %indvars.iv.next38, i64* %indvars.iv37.reg2mem
br i1 %exitcond39, label LBL_18, label LBL_17
LBL_18:
%indvars.iv.next41 = add nuw nsw i64 %indvars.iv40.reload, 1
%exitcond42 = icmp eq i64 %indvars.iv.next41, 2
store i64 %indvars.iv.next41, i64* %indvars.iv40.reg2mem
br i1 %exitcond42, label LBL_20, label LBL_19
LBL_19:
%indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem
%64 = mul i64 %indvars.iv40.reload, 8
store i64 0, i64* %indvars.iv37.reg2mem
br label LBL_17
LBL_20:
%65 = add i64 %0, 4680
%66 = call i64 @FUNC(i64 %1, i64 %65)
%67 = add i64 %0, 4684
%68 = call i64 @FUNC(i64 %1, i64 %67)
%69 = add i64 %0, 4688
%70 = call i64 @FUNC(i64 %1, i64 %69)
%71 = add i64 %0, 4692
%72 = call i64 @FUNC(i64 %1, i64 %71)
%73 = add i64 %0, 4696
%74 = call i64 @FUNC(i64 %1, i64 %73)
%75 = add i64 %0, 4700
%76 = call i64 @FUNC(i64 %1, i64 %75)
%77 = icmp eq i64* %arg2, inttoptr (i64 -4704 to i64*)
br i1 %77, label LBL_24, label LBL_21
LBL_21:
%78 = inttoptr i64 %65 to i32*
%79 = load i32, i32* %78, align 4
%80 = icmp eq i32 %79, 0
br i1 %80, label LBL_24, label LBL_22
LBL_22:
%81 = add i64 %0, 4704
store i64 0, i64* %indvars.iv35.reg2mem
br label LBL_23
LBL_23:
%indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem
%82 = mul nuw nsw i64 %indvars.iv35.reload, 12
%83 = add i64 %81, %82
%84 = call i64 @FUNC(i64 %1, i64 %83)
%85 = add i64 %83, 4
%86 = call i64 @FUNC(i64 %1, i64 %85)
%87 = add i64 %83, 8
%88 = call i64 @FUNC(i64 %1, i64 %87)
%indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1
%89 = load i32, i32* %78, align 4
%90 = zext i32 %89 to i64
%91 = icmp ult i64 %indvars.iv.next36, %90
store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem
br i1 %91, label LBL_23, label LBL_24
LBL_24:
%92 = add i64 %0, 8232
store i64 0, i64* %indvars.iv32.reg2mem
br label LBL_25
LBL_25:
%indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem
%93 = mul i64 %indvars.iv32.reload, 4
%94 = add i64 %92, %93
%95 = call i64 @FUNC(i64 %1, i64 %94)
%indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1
%exitcond34 = icmp eq i64 %indvars.iv.next33, 4
store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem
store i64 0, i64* %indvars.iv29.reg2mem
br i1 %exitcond34, label LBL_26, label LBL_25
LBL_26:
%indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem
%96 = mul i64 %indvars.iv29.reload, 4
%97 = add i64 %96, %43
%98 = call i64 @FUNC(i64 %1, i64 %97)
%indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1
%exitcond31 = icmp eq i64 %indvars.iv.next30, 1024
store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem
br i1 %exitcond31, label LBL_27, label LBL_26
LBL_27:
%99 = load i64, i64* %sv_0, align 8
%100 = call i64 @FUNC(i64 %0, i64 %99)
%101 = add i64 %0, 7780
%102 = call i64 @FUNC(i64 %1, i64 %101)
%103 = add i64 %0, 7784
%104 = call i64 @FUNC(i64 %1, i64 %103)
%105 = add i64 %0, 7792
%106 = call i64 @FUNC(i64 %1, i64 %105)
%107 = add i64 %0, 7796
%108 = call i64 @FUNC(i64 %1, i64 %107)
%109 = add i64 %0, 7800
%110 = call i64 @FUNC(i64 %1, i64 %109)
%111 = add i64 %0, 7804
%112 = call i64 @FUNC(i64 %1, i64 %111)
%113 = add i64 %0, 7808
%114 = call i64 @FUNC(i64 %1, i64 %113)
%115 = add i64 %0, 7812
%116 = call i64 @FUNC(i64 %1, i64 %115)
%117 = add i64 %0, 7816
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_28
LBL_28:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%118 = mul i64 %indvars.iv.reload, 4
%119 = add i64 %117, %118
%120 = call i64 @FUNC(i64 %1, i64 %119)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_29, label LBL_28
LBL_29:
%121 = add i64 %0, 7944
%122 = call i64 @FUNC(i64 %1, i64 %121)
%123 = add i64 %0, 7948
%124 = call i64 @FUNC(i64 %1, i64 %123)
%125 = add i64 %0, 7952
%126 = call i64 @FUNC(i64 %1, i64 %125)
%127 = add i64 %0, 7956
%128 = call i64 @FUNC(i64 %1, i64 %127)
%129 = add i64 %0, 7960
%130 = call i64 @FUNC(i64 %1, i64 %129)
%131 = add i64 %0, 7964
%132 = call i64 @FUNC(i64 %1, i64 %131)
%133 = add i64 %0, 7968
%134 = call i64 @FUNC(i64 %1, i64 %133)
%135 = add i64 %0, 7972
%136 = call i64 @FUNC(i64 %1, i64 %135)
%137 = call i64 @FUNC(i64 %1)
ret i64 0
uselistorder i32* %78, { 1, 0 }
uselistorder i64 %indvars.iv40.reload, { 1, 0 }
uselistorder i64 %indvars.iv46.reload, { 1, 0 }
uselistorder i32* %sv_1, { 1, 0 }
uselistorder i64 %1, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46 }
uselistorder i64 %0, { 11, 12, 13, 14, 15, 16, 17, 18, 9, 19, 20, 21, 22, 23, 24, 25, 26, 27, 8, 10, 28, 29, 30, 31, 32, 33, 7, 6, 5, 34, 35, 36, 37, 4, 3, 38, 39, 40, 2, 41, 42, 1, 0 }
uselistorder i64* %indvars.iv64.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv61.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv58.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv55.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv52.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv49.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv43.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv37.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv32.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv29.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 (i64, i64)* @qemu_get_sbe32s, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 8, { 6, 0, 5, 1, 4, 2, 3 }
uselistorder i64 (i64, i64)* @qemu_get_be32s, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 32, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 13, 12, 11, 10, 8, 9, 6, 7, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @qemu_get_betls, { 25, 24, 23, 22, 21, 20, 19, 26, 17, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, 1, 3, 0 }
uselistorder i64 4, { 0, 1, 11, 2, 12, 3, 4, 5, 10, 6, 7, 8, 9 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
} | 1 |
CompRealVul | smcr_link_down_13152 | smcr_link_down | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = icmp eq i64* %arg1, null
store i64 %2, i64* %rax.0.reg2mem
br i1 %3, label LBL_14, label LBL_1
LBL_1:
%4 = add i64 %2, 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_14, label LBL_2
LBL_2:
%8 = add i64 %2, 16
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %9 to i8
%11 = icmp eq i8 %10, 0
%12 = icmp eq i1 %11, false
store i64 %9, i64* %rax.0.reg2mem
br i1 %12, label LBL_14, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %2)
%14 = call i64 @FUNC(i64 %2, i64 %2, i64 1)
%15 = icmp eq i64 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = call i64 @FUNC(i64 %2, i64 1)
store i64 %17, i64* %rax.0.reg2mem
br label LBL_14
LBL_5:
%18 = trunc i64 %1 to i32
%19 = call i64 @FUNC(i64 %2, i64 1)
%20 = add i64 %2, 12
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %18, 2
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_7, label LBL_6
LBL_6:
%25 = zext i32 %22 to i64
%26 = call i64 @FUNC(i64 %14, i64 %25)
store i64 %26, i64* %rax.0.reg2mem
br label LBL_14
LBL_7:
%27 = add i64 %2, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_11, label LBL_8
LBL_8:
%31 = call i64 @FUNC(i64 %4)
%32 = call i64 @FUNC(i64 %8)
%33 = trunc i64 %32 to i8
%34 = icmp eq i8 %33, 0
%35 = icmp eq i1 %34, false
store i64 1, i64* %storemerge.reg2mem
br i1 %35, label LBL_10, label LBL_9
LBL_9:
%36 = load i32, i32* %28, align 4
%37 = icmp eq i32 %36, 0
%spec.select = zext i1 %37 to i64
store i64 %spec.select, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%38 = load i32, i32* %21, align 4
%39 = zext i32 %38 to i64
%40 = call i64 @FUNC(i64 %39, i64 %storemerge.reload, i64 1000)
%41 = call i64 @FUNC(i64 %4)
br label LBL_11
LBL_11:
%42 = call i64 @FUNC(i64 %8)
%43 = trunc i64 %42 to i8
%44 = icmp eq i8 %43, 1
br i1 %44, label LBL_13, label LBL_12
LBL_12:
%45 = call i64 @FUNC(i64 %14, i32 %22, i64 1, i64 1, i64 2)
%46 = call i64 @FUNC(i64 %2, i64 1)
br label LBL_13
LBL_13:
%47 = call i64 @FUNC(i64 %20)
store i64 %47, 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 i64 %14, { 1, 0, 2 }
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i64 %2, { 2, 3, 4, 5, 1, 8, 6, 7, 9, 10, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6 }
uselistorder i64 (i64, i64)* @smcr_link_clear, { 1, 0 }
uselistorder i64 1, { 1, 3, 2, 0, 4, 5, 6 }
uselistorder i64 (i64)* @list_empty, { 2, 1, 0 }
uselistorder label LBL_14, { 3, 4, 5, 2, 1, 0 }
} | 1 |
CompRealVul | ipx_release_9234 | ipx_release | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %1, i64 1)
%4 = call i64 @FUNC(i64 %1, i64 1)
store i64 0, i64* %arg1, align 8
%5 = call i64 @FUNC(i64 %1)
%6 = call i64 @FUNC(i64 %1)
%7 = call i64 @FUNC(i64 %1)
%8 = call i64 @FUNC(i64 %1)
br label LBL_2
LBL_2:
ret i64 0
uselistorder i64 %1, { 3, 2, 1, 0, 4, 6, 5 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | TIFFClose_12202 | TIFFClose | 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)
ret i64 %3
} | 1 |
CompRealVul | user_update_11866 | user_update | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%arg3.off = add i64 %arg3, -1
%0 = icmp ugt i64 %arg3.off, 32766
%1 = icmp eq i64 %arg2, 0
%or.cond3 = or i1 %1, %0
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %or.cond3, label LBL_5, label LBL_1
LBL_1:
%2 = add i64 %arg3, 32776
%3 = call i64 @FUNC(i64 %2, i64 0)
%4 = icmp eq i64 %3, 0
store i64 4294967284, i64* %sv_0.0.reg2mem
br i1 %4, label LBL_5, label LBL_2
LBL_2:
%5 = ptrtoint i64* %arg1 to i64
%6 = inttoptr i64 %3 to i64*
store i64 %arg3, i64* %6, align 8
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
%9 = inttoptr i64 %arg2 to i64*
%10 = trunc i64 %arg3 to i32
%11 = call i64* @memcpy(i64* %8, i64* %9, i32 %10)
%12 = call i64 @FUNC(i64 %5, i64 %arg3)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 %3, i64* %sv_1.0.reg2mem
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %5, i64 %3)
%17 = add i64 %5, 8
%18 = inttoptr i64 %17 to i32*
store i32 0, i32* %18, align 4
store i64 %5, i64* %sv_1.0.reg2mem
br label LBL_4
LBL_4:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%19 = call i64 @FUNC(i64 %sv_1.0.reload, i64 4198890)
%phitmp = and i64 %12, 4294967295
store i64 %phitmp, i64* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %3, { 1, 0, 2, 3, 4 }
uselistorder i64 %arg3, { 1, 2, 3, 4, 0 }
uselistorder label LBL_5, { 2, 0, 1 }
} | 1 |
CompRealVul | ceph_do_lookup_4359 | ceph_do_lookup | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %3 to i32
%7 = icmp slt i32 %6, 256
store i64 4294967260, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_4
LBL_1:
%8 = ptrtoint i64* %arg2 to i64
%9 = call i64 @FUNC(i64 10, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 0, i64 %2, i64 %1)
%10 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0)
%11 = icmp ult i64 %10, -1000
store i64 %10, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_4
LBL_2:
%12 = add i64 %8, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = and i64 %15, 4294967295
%17 = call i64 @FUNC(i64 %5, i64 0, i64 %16, i64 %10, i64 0, i64 0)
%18 = call i64 @FUNC(i64 %10)
%19 = icmp ult i64 %17, -1000
store i64 %17, i64* %rax.0.reg2mem
br i1 %19, label LBL_3, label LBL_4
LBL_3:
%20 = inttoptr i64 %17 to i64*
%21 = load i64, i64* %20, align 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i32*
store i32 %arg3, i32* %24, align 4
%25 = add i64 %17, 8
%26 = inttoptr i64 %25 to i64*
store i64 %8, i64* %26, align 8
%27 = call i64 @FUNC(i64 %5, i64 %17)
%28 = trunc i64 %27 to i32
%29 = call i64 @FUNC(i64 %17)
%30 = icmp eq i32 %28, -2
%31 = icmp eq i1 %30, false
%.op = and i64 %27, 4294967295
%32 = select i1 %31, i64 %.op, i64 0
%33 = call i64 @FUNC(i64 20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %10, i64 0, i64 0)
store i64 %32, 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 %17, { 2, 1, 3, 4, 0, 5 }
uselistorder i64 %10, { 1, 2, 3, 0, 4 }
uselistorder i64 %8, { 0, 1, 3, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dout, { 1, 0 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
} | 0 |
CompRealVul | duplicate_mode_info_in_sb_5142 | duplicate_mode_info_in_sb | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.lcssa.reg2mem = alloca i64
%storemerge8.reg2mem = alloca i32
%storemerge56.reg2mem = alloca i32
%rdi = alloca i64, align 8
%rsi = alloca i64, align 8
%0 = mul i64 %arg5, 4
%1 = and i64 %0, 17179869180
%2 = add i64 %1, ptrtoint (i32** @gv_0 to i64)
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = add i64 %1, ptrtoint (i32** @gv_1 to i64)
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp sgt i32 %7, 0
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %8, label LBL_1, label LBL_10
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = icmp sgt i32 %4, 0
%11 = trunc i64 %arg3 to i32
%12 = bitcast i64* %rdi to i32*
%13 = trunc i64 %arg4 to i32
%14 = ptrtoint i32* %arg1 to i64
%15 = add i64 %14, 4
%16 = inttoptr i64 %15 to i32*
%17 = add i64 %9, 8
%18 = inttoptr i64 %17 to i64*
%19 = bitcast i64* %rsi to i32*
store i32 0, i32* %storemerge8.reg2mem
br label LBL_7
LBL_2:
%storemerge56.reload = load i32, i32* %storemerge56.reg2mem
%20 = load i32, i32* %12, align 8
%21 = icmp ult i32 %35, %20
br i1 %21, label LBL_3, label LBL_5
LBL_3:
%22 = add i32 %storemerge56.reload, %13
%23 = load i32, i32* %16, align 4
%24 = icmp ult i32 %22, %23
br i1 %24, label LBL_4, label LBL_5
LBL_4:
%25 = load i64, i64* %18, align 8
%26 = load i32, i32* %19, align 8
%27 = mul i32 %26, %storemerge8.reload
%28 = add i32 %27, %storemerge56.reload
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 8
%31 = add i64 %30, %25
%32 = inttoptr i64 %31 to i64*
store i64 %25, i64* %32, align 8
br label LBL_5
LBL_5:
%33 = add nuw nsw i32 %storemerge56.reload, 1
%exitcond = icmp eq i32 %33, %4
store i32 %33, i32* %storemerge56.reg2mem
br i1 %exitcond, label LBL_6, label LBL_2
LBL_6:
%34 = add nuw nsw i32 %storemerge8.reload, 1
%exitcond10 = icmp eq i32 %34, %7
store i32 %34, i32* %storemerge8.reg2mem
br i1 %exitcond10, label LBL_9, label LBL_7
LBL_7:
%storemerge8.reload = load i32, i32* %storemerge8.reg2mem
br i1 %10, label LBL_2.lr.ph, label LBL_6
LBL_8:
%35 = add i32 %storemerge8.reload, %11
store i32 0, i32* %storemerge56.reg2mem
br label LBL_2
LBL_9:
%phitmp = zext i32 %7 to i64
store i64 %phitmp, i64* %storemerge.lcssa.reg2mem
br label LBL_10
LBL_10:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
ret i64 %storemerge.lcssa.reload
uselistorder i32 %storemerge8.reload, { 1, 2, 0 }
uselistorder i64 %25, { 1, 0 }
uselistorder i32 %storemerge56.reload, { 0, 2, 1 }
uselistorder i32* %storemerge56.reg2mem, { 2, 1, 0 }
uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 0, 2, 3 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | nfsd4_cb_recall_4485 | nfsd4_cb_recall | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 72
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %0, 80
%5 = inttoptr i64 %4 to i32*
store i32 1, i32* %5, align 4
store i64 %0, i64* %arg1, align 8
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i64*
store i64 %3, i64* %7, align 8
%8 = load i64, i64* @gv_0, align 8
%9 = add i64 %0, 16
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = add i64 %0, 24
%12 = inttoptr i64 %11 to i64*
store i64 %0, i64* %12, align 8
%13 = add i64 %0, 32
%14 = inttoptr i64 %13 to i64*
store i64 %0, i64* %14, align 8
%15 = load i64, i64* @gv_1, align 8
%16 = add i64 %0, 40
%17 = inttoptr i64 %16 to i64*
store i64 %15, i64* %17, align 8
%18 = add i64 %0, 48
%19 = inttoptr i64 %18 to i64*
store i64 ptrtoint (i64* @gv_2 to i64), i64* %19, align 8
store i32 1, i32* %5, align 4
%20 = add i64 %0, 64
%21 = call i64 @FUNC(i64 %20)
%22 = add i64 %0, 56
%23 = inttoptr i64 %22 to i8*
store i8 1, i8* %23, align 1
%24 = call i64 @FUNC(i64 %0)
ret i64 %24
uselistorder i64 %0, { 1, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 0, 2, 3 }
} | 0 |
CompRealVul | parse_transform_color_8474 | parse_transform_color | define i64 @FUNC(i32* %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 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = sdiv i32 %2, 32768
%8 = sdiv i32 %6, 32768
%9 = call i64 @FUNC(i64 %3, i64 0, i32 %7, i32 %8)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = and i64 %9, 4294967295
store i64 %13, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%14 = mul i32 %6, %2
%15 = add i64 %3, 8
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %6, { 1, 0 }
uselistorder i32 %2, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
CompRealVul | smack_cred_prepare_18216 | smack_cred_prepare | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %1, 4294967295
%3 = call i64 @FUNC(i64 %2, i64 %2, i32 %arg3)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 4294967284, i64* %rax.0.shrunk.reg2mem
br i1 %5, label LBL_1, label LBL_4
LBL_1:
%6 = ptrtoint i64* %arg2 to i64
%7 = add i64 %6, 4
%8 = add i64 %3, 4
%9 = zext i32 %arg3 to i64
%10 = call i64 @FUNC(i64 %8, i64 %7, i64 %9)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 %10, i64* %rax.0.shrunk.reg2mem
br i1 %12, label LBL_2, label LBL_4
LBL_2:
%13 = add i64 %6, 8
%14 = add i64 %3, 8
%15 = call i64 @FUNC(i64 %14, i64 %13, i64 %9)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
store i64 %15, i64* %rax.0.shrunk.reg2mem
br i1 %17, label LBL_3, label LBL_4
LBL_3:
store i64 %3, i64* %arg1, align 8
store i64 0, i64* %rax.0.shrunk.reg2mem
br label LBL_4
LBL_4:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
} | 1 |
CompRealVul | unix_attach_fds_11661 | unix_attach_fds | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%.reg2mem23 = alloca i64
%.reg2mem21 = alloca i32
%.reg2mem19 = alloca i64
%sv_0.1.lcssa11.reg2mem = alloca i32
%rsi.1.lcssa12.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%.reg2mem17 = alloca i64
%.reg2mem15 = alloca i32
%sv_0.16.reg2mem = alloca i32
%rsi.18.reg2mem = alloca i64
%storemerge29.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_10
LBL_1:
%4 = trunc i64 %0 to i32
%5 = ptrtoint i64* %arg2 to i64
%storemerge25 = add i32 %4, -1
%6 = icmp slt i32 %storemerge25, 0
%7 = icmp eq i1 %6, false
store i64 %0, i64* %.reg2mem
store i32 %storemerge25, i32* %storemerge29.reg2mem
store i64 %5, i64* %rsi.18.reg2mem
store i32 0, i32* %sv_0.16.reg2mem
store i64 %5, i64* %rsi.1.lcssa12.reg2mem
store i32 0, i32* %sv_0.1.lcssa11.reg2mem
store i64 %0, i64* %.reg2mem19
store i32 %4, i32* %.reg2mem21
br i1 %7, label LBL_2, label LBL_6
LBL_2:
%sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem
%rsi.18.reload = load i64, i64* %rsi.18.reg2mem
%storemerge29.reload = load i32, i32* %storemerge29.reg2mem
%.reload = load i64, i64* %.reg2mem
%8 = add i64 %.reload, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = sext i32 %storemerge29.reload to i64
%12 = mul i64 %11, 4
%13 = add i64 %10, %12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
%17 = call i64 @FUNC(i64 %16)
%18 = icmp eq i64 %17, 0
store i32 %15, i32* %.reg2mem15
store i64 %16, i64* %.reg2mem17
store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem
store i64 %rsi.18.reload, i64* %rsi.0.reg2mem
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %17)
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = zext i32 %21 to i64
%23 = urem i32 %sv_0.16.reload, 256
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64 %24, i64 %22)
%26 = trunc i64 %25 to i32
%sext = mul i32 %26, 16777216
%27 = ashr exact i32 %sext, 24
store i32 %23, i32* %.reg2mem15
store i64 %24, i64* %.reg2mem17
store i32 %27, i32* %sv_0.0.reg2mem
store i64 %22, i64* %rsi.0.reg2mem
br label LBL_4
LBL_4:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%.reload18 = load i64, i64* %.reg2mem17
%storemerge2 = add i32 %storemerge29.reload, -1
%28 = icmp slt i32 %storemerge2, 0
%29 = icmp eq i1 %28, false
store i64 %.reload18, i64* %.reg2mem
store i32 %storemerge2, i32* %storemerge29.reg2mem
store i64 %rsi.0.reload, i64* %rsi.18.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem
br i1 %29, label LBL_2, label LBL_5
LBL_5:
%.reload16 = load i32, i32* %.reg2mem15
%30 = trunc i32 %sv_0.0.reload to i8
%31 = icmp ult i8 %30, 11
%32 = icmp ne i1 %31, true
%33 = icmp eq i1 %32, false
store i64 %rsi.0.reload, i64* %rsi.1.lcssa12.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa11.reg2mem
store i64 %.reload18, i64* %.reg2mem19
store i32 %.reload16, i32* %.reg2mem21
store i64 1, i64* %rax.0.reg2mem
br i1 %33, label LBL_6, label LBL_10
LBL_6:
%.reload20 = load i64, i64* %.reg2mem19
%rsi.1.lcssa12.reload = load i64, i64* %rsi.1.lcssa12.reg2mem
%34 = call i64 @FUNC(i64 %.reload20)
store i64 %34, i64* %arg2, align 8
%35 = icmp eq i64 %rsi.1.lcssa12.reload, 0
%36 = icmp eq i1 %35, false
store i64 2, i64* %rax.0.reg2mem
br i1 %36, label LBL_7, label LBL_10
LBL_7:
%.reload22 = load i32, i32* %.reg2mem21
%sv_0.1.lcssa11.reload = load i32, i32* %sv_0.1.lcssa11.reg2mem
%storemerge3 = add i32 %.reload22, -1
%37 = icmp slt i32 %storemerge3, 0
%38 = icmp eq i1 %37, false
store i64 %.reload20, i64* %.reg2mem23
store i32 %storemerge3, i32* %storemerge4.reg2mem
br i1 %38, label LBL_8, label LBL_9
LBL_8:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%.reload24 = load i64, i64* %.reg2mem23
%39 = add i64 %.reload24, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = sext i32 %storemerge4.reload to i64
%43 = mul i64 %42, 4
%44 = add i64 %43, %41
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = zext i32 %46 to i64
%48 = call i64 @FUNC(i64 %47)
%storemerge = add i32 %storemerge4.reload, -1
%49 = icmp slt i32 %storemerge, 0
%50 = icmp eq i1 %49, false
store i64 %47, i64* %.reg2mem23
store i32 %storemerge, i32* %storemerge4.reg2mem
br i1 %50, label LBL_8, label LBL_9
LBL_9:
%51 = urem i32 %sv_0.1.lcssa11.reload, 256
%52 = zext i32 %51 to i64
store i64 %52, 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 %storemerge4.reload, { 1, 0 }
uselistorder i32 %storemerge29.reload, { 1, 0 }
uselistorder i32 %sv_0.16.reload, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }
uselistorder i64* %rsi.18.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }
uselistorder i64* %rsi.1.lcssa12.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.lcssa11.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem19, { 0, 2, 1 }
uselistorder i32* %.reg2mem21, { 0, 2, 1 }
uselistorder i64* %.reg2mem23, { 2, 0, 1 }
uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i1 false, { 3, 1, 4, 2, 5, 0 }
uselistorder i32 -1, { 3, 1, 2, 0 }
uselistorder i32 0, { 4, 3, 5, 0, 1, 2, 6, 7, 8 }
uselistorder label LBL_10, { 3, 0, 1, 2 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | dns_question_add_17962 | dns_question_add | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%4 = icmp eq i64* %arg2, null
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%6 = ptrtoint i64* %arg2 to i64
%7 = ptrtoint i64* %arg1 to i64
%8 = trunc i64 %1 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_10, label LBL_5
LBL_5:
%10 = add i64 %7, 8
%11 = inttoptr i64 %10 to i64*
%12 = and i64 %1, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_6
LBL_6:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%13 = load i64, i64* %11, align 8
%14 = mul i64 %indvars.iv.reload, 8
%15 = add i64 %13, %14
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17, i64 %6)
%19 = trunc i64 %18 to i32
%20 = icmp slt i32 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_8, label LBL_7
LBL_7:
%22 = and i64 %18, 4294967295
store i64 %22, i64* %rax.0.reg2mem
br label LBL_12
LBL_8:
%23 = icmp slt i32 %19, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_9, label LBL_12
LBL_9:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%24 = icmp ult i64 %indvars.iv.next, %12
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %24, label LBL_6, label LBL_10
LBL_10:
%25 = add i64 %7, 4
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp ugt i32 %27, %8
store i64 4294967268, i64* %rax.0.reg2mem
br i1 %28, label LBL_11, label LBL_12
LBL_11:
%29 = add i64 %7, 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = add i32 %8, 1
%33 = bitcast i64* %arg1 to i32*
store i32 %32, i32* %33, align 4
%sext = mul i64 %1, 4294967296
%34 = ashr exact i64 %sext, 29
%35 = add i64 %31, %34
%36 = call i64 @FUNC(i64 %6)
%37 = inttoptr i64 %35 to i64*
store i64 %36, i64* %37, align 8
store i64 0, 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 %8, { 1, 0, 2 }
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }
uselistorder i64 8, { 1, 0, 2 }
uselistorder i32 0, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_12, { 2, 1, 0, 3 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
CompRealVul | mk_sched_remove_client_4476 | mk_sched_remove_client | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = and i64 %arg2, 4294967295
%2 = call i64 @FUNC(i64 %0, i64 %1)
%3 = call i64 @FUNC(i64 %0, i64 %1)
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %1)
%6 = call i64 @FUNC(i64 %1)
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %1)
%9 = call i64 @FUNC(i64 %1)
br label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %1)
%11 = add i64 %0, 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = add i32 %13, 1
store i32 %14, i32* %12, align 4
%15 = add i64 %0, 16
%16 = call i64 @FUNC(i64 %3, i64 %15)
%17 = call i64 @FUNC(i64 %3)
%18 = call i64 @FUNC(i64 %1)
%19 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%20 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i64 %1)
%21 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0))
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64 %1, { 8, 10, 5, 4, 6, 3, 2, 7, 9, 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i8*)* @MK_LT_SCHED, { 1, 0 }
uselistorder i64 (i8*, i64)* @MK_TRACE, { 1, 0 }
} | 0 |
CompRealVul | float32_scalbn_2886 | float32_scalbn | define i128 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%rax.0.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i64
%1 = load i128, i128* %0
%2 = call i64 @FUNC(i128 %1)
%3 = trunc i64 %2 to i32
%4 = call i128 @FUNC(i32 %3)
%5 = call i128 @FUNC()
%6 = call i32 @__asm_movd.2(i128 %5)
%7 = call i128 @FUNC(i32 %6)
%8 = call i64 @FUNC(i128 %7)
%9 = trunc i64 %8 to i32
%10 = call i128 @FUNC(i32 %6)
%11 = call i64 @FUNC(i128 %10)
%12 = trunc i64 %11 to i16
%13 = call i128 @FUNC(i32 %6)
%14 = call i64 @FUNC(i128 %13)
%15 = icmp eq i16 %12, 255
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_3, label LBL_1
LBL_1:
%17 = icmp eq i32 %9, 0
store i32 %6, i32* %rax.0.reg2mem
br i1 %17, label LBL_7, label LBL_2
LBL_2:
%18 = call i128 @__asm_movss.1(i32 %6)
%19 = call i128 @FUNC(i128 %18)
%20 = call i128 @FUNC(i32 %6)
%21 = call i128 @FUNC()
%22 = call i32 @__asm_movd.2(i128 %21)
store i32 %22, i32* %rax.0.reg2mem
br label LBL_7
LBL_3:
%23 = icmp eq i16 %12, 0
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%24 = or i64 %8, 8388608
store i64 %24, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_5:
%25 = icmp eq i32 %9, 0
%26 = icmp eq i1 %25, false
store i64 %8, i64* %sv_0.0.reg2mem
store i32 %6, i32* %rax.0.reg2mem
br i1 %26, label LBL_6, label LBL_7
LBL_6:
%27 = trunc i64 %11 to i32
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%28 = trunc i64 %arg1 to i32
%29 = icmp slt i32 %28, 513
%30 = icmp sgt i32 %28, -513
%31 = select i1 %30, i32 %28, i32 65024
%32 = select i1 %29, i32 %31, i32 512
%33 = add i32 %32, %27
%34 = mul i64 %sv_0.0.reload, 128
%35 = and i64 %34, 4294967168
%36 = mul i32 %33, 65536
%sext2 = add i32 %36, -65536
%37 = ashr exact i32 %sext2, 16
%38 = zext i32 %37 to i64
%39 = call i128 @FUNC(i64 %38, i64 %35)
%40 = call i32 @__asm_movd.2(i128 %39)
store i32 %40, i32* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i32, i32* %rax.0.reg2mem
%41 = call i128 @FUNC(i32 %rax.0.reload)
ret i128 %41
uselistorder i32 %9, { 1, 0 }
uselistorder i32 %6, { 0, 2, 3, 1, 4, 5, 6 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder label LBL_7, { 2, 0, 3, 1 }
} | 0 |
CompRealVul | qvirtio_pci_set_features_15408 | qvirtio_pci_set_features | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg2 to i32
%1 = add i64 %arg1, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = call i64 @FUNC(i64 %arg1, i64 %3, i32 %0)
ret i64 %4
} | 1 |
CompRealVul | mpage_put_bnr_to_bhs_7601 | mpage_put_bnr_to_bhs | define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_1.3.lcssa.reg2mem = alloca i64
%sv_2.2.lcssa.reg2mem = alloca i64
%sv_1.2.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i64
%sv_3.1.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%sv_3.1.ph.reg2mem = alloca i64
%sv_1.1.ph.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.25.reg2mem = alloca i64
%sv_1.36.reg2mem = alloca i64
%storemerge37.reg2mem = alloca i32
%sv_2.313.reg2mem = alloca i64
%sv_0.214.reg2mem = alloca i64
%sv_1.415.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = trunc i64 %1 to i32
%8 = urem i32 %7, 32
%9 = icmp eq i32 %8, 0
%10 = trunc i64 %2 to i32
%11 = ashr i32 %10, %8
%12 = zext i32 %11 to i64
%13 = select i1 %9, i64 %2, i64 %12
%14 = ptrtoint i32* %arg3 to i64
%15 = add i64 %14, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = sub i64 12, %1
%19 = urem i64 %18, 64
%storemerge = lshr i64 %arg2, %19
%sext = mul i64 %13, 4294967296
%20 = ashr exact i64 %sext, 32
%21 = add i64 %20, %arg2
%22 = add i64 %21, -1
%spec.select = lshr i64 %22, %19
%23 = call i64 @FUNC(i64* nonnull %sv_4, i64 0)
%24 = icmp ugt i64 %storemerge, %spec.select
store i64 %storemerge, i64* %rax.0.reg2mem
br i1 %24, label LBL_21, label LBL_1
LBL_1:
%25 = ptrtoint i64* %sv_5 to i64
%storemerge2 = shl i64 %storemerge, %19
%26 = add i64 %25, -224
%27 = add i64 %3, 16
%28 = inttoptr i64 %27 to i64*
store i64 %storemerge2, i64* %sv_1.415.reg2mem
store i64 %storemerge, i64* %sv_0.214.reg2mem
store i64 %17, i64* %sv_2.313.reg2mem
br label LBL_2
LBL_2:
%sv_0.214.reload = load i64, i64* %sv_0.214.reg2mem
%29 = call i64 @FUNC(i64* nonnull %sv_4, i64 %6, i64 %sv_0.214.reload, i64 16)
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
store i64 %29, i64* %rax.0.reg2mem
br i1 %31, label LBL_21, label LBL_3
LBL_3:
%sv_2.313.reload = load i64, i64* %sv_2.313.reg2mem
%sv_1.415.reload = load i64, i64* %sv_1.415.reg2mem
%32 = icmp sgt i32 %30, 0
store i32 0, i32* %storemerge37.reg2mem
store i64 %sv_1.415.reload, i64* %sv_1.36.reg2mem
store i64 %sv_2.313.reload, i64* %sv_2.25.reg2mem
store i64 %sv_2.313.reload, i64* %sv_2.2.lcssa.reg2mem
store i64 %sv_1.415.reload, i64* %sv_1.3.lcssa.reg2mem
store i64 %sv_0.214.reload, i64* %sv_0.1.reg2mem
br i1 %32, label LBL_4, label LBL_20
LBL_4:
%sv_2.25.reload = load i64, i64* %sv_2.25.reg2mem
%sv_1.36.reload = load i64, i64* %sv_1.36.reg2mem
%storemerge37.reload = load i32, i32* %storemerge37.reg2mem
%33 = sext i32 %storemerge37.reload to i64
%34 = mul i64 %33, 8
%35 = add i64 %26, %34
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = icmp ugt i64 %39, %spec.select
store i64 %sv_2.25.reload, i64* %sv_2.2.lcssa.reg2mem
store i64 %sv_1.36.reload, i64* %sv_1.3.lcssa.reg2mem
store i64 %39, i64* %sv_0.1.reg2mem
br i1 %40, label LBL_20, label LBL_5
LBL_5:
%41 = call i64 @FUNC(i64 %37)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = zext i1 %43 to i64
%45 = call i64 @FUNC(i64 %44)
%46 = call i64 @FUNC(i64 %37)
%47 = and i64 %46, 4294967295
%48 = call i64 @FUNC(i64 %47)
%49 = call i64 @FUNC(i64 %37)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
%52 = zext i1 %51 to i64
%53 = call i64 @FUNC(i64 %52)
%54 = call i64 @FUNC(i64 %37)
store i64 %sv_1.36.reload, i64* %sv_1.0.reg2mem
store i64 %54, i64* %sv_3.0.reg2mem
br label LBL_6
LBL_6:
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%55 = icmp ult i64 %sv_1.0.reload, %arg2
%56 = icmp eq i1 %55, false
store i64 %sv_1.0.reload, i64* %sv_1.1.ph.reg2mem
store i64 %sv_3.0.reload, i64* %sv_3.1.ph.reg2mem
br i1 %56, label LBL_8, label LBL_7
LBL_7:
%57 = add i64 %sv_1.0.reload, 1
%58 = add i64 %sv_3.0.reload, 16
%59 = inttoptr i64 %58 to i64*
%60 = load i64, i64* %59, align 8
%61 = icmp eq i64 %60, %54
%62 = icmp eq i1 %61, false
store i64 %57, i64* %sv_1.0.reg2mem
store i64 %60, i64* %sv_3.0.reg2mem
store i64 %57, i64* %sv_1.1.ph.reg2mem
store i64 %60, i64* %sv_3.1.ph.reg2mem
br i1 %62, label LBL_6, label LBL_8
LBL_8:
%sv_3.1.ph.reload = load i64, i64* %sv_3.1.ph.reg2mem
%sv_1.1.ph.reload = load i64, i64* %sv_1.1.ph.reg2mem
store i64 %sv_2.25.reload, i64* %sv_2.0.reg2mem
store i64 %sv_1.1.ph.reload, i64* %sv_1.1.reg2mem
store i64 %sv_3.1.ph.reload, i64* %sv_3.1.reg2mem
br label LBL_9
LBL_9:
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%63 = icmp ult i64 %sv_1.1.reload, %21
%64 = icmp eq i1 %63, false
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem
br i1 %64, label LBL_18, label LBL_10
LBL_10:
%sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem
%65 = call i64 @FUNC(i64 %sv_3.1.reload)
%66 = trunc i64 %65 to i32
%67 = icmp eq i32 %66, 0
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_12, label LBL_11
LBL_11:
%69 = call i64 @FUNC(i64 %sv_3.1.reload)
%70 = trunc i64 %69 to i32
%71 = icmp eq i32 %70, 0
br i1 %71, label LBL_15, label LBL_12
LBL_12:
%72 = add i64 %sv_3.1.reload, 24
%73 = inttoptr i64 %72 to i32*
%74 = load i32, i32* %73, align 4
%75 = load i64, i64* %28, align 8
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = icmp eq i32 %74, %77
%79 = icmp eq i1 %78, false
%80 = zext i1 %79 to i64
%81 = call i64 @FUNC(i64 %80)
%82 = call i64 @FUNC(i64 %sv_3.1.reload)
%83 = trunc i64 %82 to i32
%84 = icmp eq i32 %83, 0
br i1 %84, label LBL_14, label LBL_13
LBL_13:
%85 = call i64 @FUNC(i64 %sv_3.1.reload)
%86 = add i64 %sv_3.1.reload, 8
%87 = inttoptr i64 %86 to i64*
store i64 %sv_2.0.reload, i64* %87, align 8
br label LBL_17
LBL_14:
%88 = call i64 @FUNC(i64 %sv_3.1.reload)
%89 = add i64 %sv_3.1.reload, 8
%90 = inttoptr i64 %89 to i64*
%91 = load i64, i64* %90, align 8
%92 = icmp eq i64 %sv_2.0.reload, %91
%93 = icmp eq i1 %92, false
%94 = zext i1 %93 to i64
%95 = call i64 @FUNC(i64 %94)
br label LBL_17
LBL_15:
%96 = call i64 @FUNC(i64 %sv_3.1.reload)
%97 = trunc i64 %96 to i32
%98 = icmp eq i32 %97, 0
br i1 %98, label LBL_17, label LBL_16
LBL_16:
%99 = add i64 %sv_3.1.reload, 8
%100 = inttoptr i64 %99 to i64*
%101 = load i64, i64* %100, align 8
%102 = icmp eq i64 %sv_2.0.reload, %101
%103 = icmp eq i1 %102, false
%104 = zext i1 %103 to i64
%105 = call i64 @FUNC(i64 %104)
br label LBL_17
LBL_17:
%106 = add i64 %sv_1.1.reload, 1
%107 = add i64 %sv_2.0.reload, 1
%108 = add i64 %sv_3.1.reload, 16
%109 = inttoptr i64 %108 to i64*
%110 = load i64, i64* %109, align 8
%111 = icmp eq i64 %110, %54
%112 = icmp eq i1 %111, false
store i64 %107, i64* %sv_2.0.reg2mem
store i64 %106, i64* %sv_1.1.reg2mem
store i64 %110, i64* %sv_3.1.reg2mem
store i64 %107, i64* %sv_2.1.reg2mem
store i64 %106, i64* %sv_1.2.reg2mem
br i1 %112, label LBL_9, label LBL_18
LBL_18:
%sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%113 = add nuw i32 %storemerge37.reload, 1
%114 = icmp slt i32 %113, %30
store i32 %113, i32* %storemerge37.reg2mem
store i64 %sv_1.2.reload, i64* %sv_1.36.reg2mem
store i64 %sv_2.1.reload, i64* %sv_2.25.reg2mem
br i1 %114, label LBL_4, label LBL_19
LBL_19:
%115 = add i64 %39, 1
store i64 %sv_2.1.reload, i64* %sv_2.2.lcssa.reg2mem
store i64 %sv_1.2.reload, i64* %sv_1.3.lcssa.reg2mem
store i64 %115, i64* %sv_0.1.reg2mem
br label LBL_20
LBL_20:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem
%sv_2.2.lcssa.reload = load i64, i64* %sv_2.2.lcssa.reg2mem
%116 = call i64 @FUNC(i64* nonnull %sv_4)
%117 = icmp ugt i64 %sv_0.1.reload, %spec.select
store i64 %sv_1.3.lcssa.reload, i64* %sv_1.415.reg2mem
store i64 %sv_0.1.reload, i64* %sv_0.214.reg2mem
store i64 %sv_2.2.lcssa.reload, i64* %sv_2.313.reg2mem
store i64 %sv_0.1.reload, i64* %rax.0.reg2mem
br i1 %117, label LBL_21, label LBL_2
LBL_21:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.1.reload, { 0, 2, 1 }
uselistorder i64 %sv_3.1.reload, { 7, 10, 9, 5, 6, 4, 3, 2, 1, 8, 0 }
uselistorder i64 %sv_2.0.reload, { 2, 4, 1, 3, 0 }
uselistorder i64 %sv_1.1.reload, { 2, 0, 1 }
uselistorder i64 %sv_1.0.reload, { 1, 0, 2 }
uselistorder i64 %sv_3.0.reload, { 1, 0 }
uselistorder i64 %54, { 2, 1, 0 }
uselistorder i64 %39, { 1, 0, 2 }
uselistorder i64 %37, { 1, 0, 3, 2, 4 }
uselistorder i64 %sv_1.36.reload, { 1, 0 }
uselistorder i64 %sv_2.25.reload, { 1, 0 }
uselistorder i32 %30, { 1, 0, 2 }
uselistorder i64 %storemerge, { 1, 3, 0, 2 }
uselistorder i64 %19, { 1, 0, 2 }
uselistorder i32 %8, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sv_1.415.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.214.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.313.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge37.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.36.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.25.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.1.ph.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_3.1.ph.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_2.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_3.1.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.2.lcssa.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_1.3.lcssa.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @buffer_delay, { 1, 0 }
uselistorder i64 1, { 3, 4, 5, 6, 0, 1, 2 }
uselistorder i64 (i64)* @BUG_ON, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 16, { 1, 3, 0, 2 }
uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 0, 1, 8, 9, 10 }
uselistorder i64 8, { 1, 2, 3, 0, 4, 5 }
uselistorder i64 %arg2, { 2, 0, 1 }
uselistorder label LBL_20, { 1, 0, 2 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | sk_stream_alloc_skb_8985 | sk_stream_alloc_skb | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = and i64 %arg3, 4294967295
%5 = add i32 %3, 3
%6 = and i32 %5, -4
%7 = trunc i64 %1 to i32
%8 = add i32 %6, %7
%9 = zext i32 %8 to i64
%10 = call i64 @FUNC(i64 %9, i64 %4)
%11 = icmp eq i64 %10, 0
br i1 %11, label LBL_4, label LBL_1
LBL_1:
%12 = inttoptr i64 %10 to i32*
%13 = load i32, i32* %12, align 4
%14 = zext i32 %13 to i64
%15 = call i64 @FUNC(i64 %2, i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%18 = call i64 @FUNC(i64 %10)
%19 = trunc i64 %18 to i32
%20 = sub i32 %19, %6
%21 = zext i32 %20 to i64
%22 = call i64 @FUNC(i64 %10, i64 %21)
store i64 %10, i64* %storemerge.reg2mem
br label LBL_5
LBL_3:
%23 = call i64 @FUNC(i64 %10)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%24 = call i64 @FUNC(i64 %2)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %10, { 3, 0, 1, 2, 4, 5 }
uselistorder i32 %6, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder label LBL_5, { 1, 0, 2 }
} | 0 |
CompRealVul | ieee80211_radiotap_iterator_init_17727 | ieee80211_radiotap_iterator_init | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem7 = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %arg3 to i32
%3 = icmp sgt i32 %2, 7
%4 = trunc i64 %1 to i8
%5 = icmp eq i8 %4, 0
%or.cond = icmp eq i1 %3, %5
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_6
LBL_1:
%6 = ptrtoint i64* %arg2 to i64
%sext = mul i64 %arg3, 4294967296
%7 = add i64 %6, 2
%8 = inttoptr i64 %7 to i16*
%9 = load i16, i16* %8, align 2
%10 = zext i16 %9 to i64
%11 = ashr exact i64 %sext, 32
%12 = icmp slt i64 %11, %10
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %12, label LBL_6, label LBL_2
LBL_2:
%13 = ptrtoint i64* %arg4 to i64
%14 = ptrtoint i64* %arg1 to i64
store i64 %6, i64* %arg1, align 8
%15 = load i16, i16* %8, align 2
%16 = zext i16 %15 to i32
%17 = add i64 %14, 8
%18 = inttoptr i64 %17 to i32*
store i32 %16, i32* %18, align 4
%19 = add i64 %14, 12
%20 = inttoptr i64 %19 to i32*
store i32 0, i32* %20, align 4
%21 = add i64 %6, 4
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = add i64 %14, 16
%25 = inttoptr i64 %24 to i32*
store i32 %23, i32* %25, align 4
%26 = add i64 %6, 8
%27 = add i64 %14, 24
%28 = inttoptr i64 %27 to i64*
store i64 %26, i64* %28, align 8
%29 = add i64 %14, 32
%30 = inttoptr i64 %29 to i32*
store i32 0, i32* %30, align 4
%31 = add i64 %14, 40
%32 = inttoptr i64 %31 to i64*
store i64 %26, i64* %32, align 8
%33 = add i64 %14, 48
%34 = inttoptr i64 %33 to i64*
store i64 %13, i64* %34, align 8
%35 = add i64 %14, 56
%36 = inttoptr i64 %35 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %36, align 8
%37 = add i64 %14, 64
%38 = inttoptr i64 %37 to i32*
store i32 1, i32* %38, align 4
%39 = add i64 %14, 68
%40 = inttoptr i64 %39 to i32*
store i32 0, i32* %40, align 4
%41 = add i64 %14, 72
%42 = inttoptr i64 %41 to i64*
store i64 0, i64* %42, align 8
%43 = load i32, i32* %25, align 4
%44 = urem i32 %43, 2
%45 = icmp eq i32 %44, 0
%.pre3 = load i64, i64* %28, align 8
store i64 %.pre3, i64* %.reg2mem
store i64 %.pre3, i64* %.reg2mem7
br i1 %45, label LBL_5, label LBL_4
LBL_3:
%46 = load i32, i32* %20, align 4
%47 = sext i32 %46 to i64
%48 = add nsw i64 %47, 4
%49 = load i32, i32* %18, align 4
%50 = sext i32 %49 to i64
%51 = icmp ugt i64 %48, %50
store i64 %57, i64* %.reg2mem
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %51, label LBL_6, label LBL_4
LBL_4:
%.reload = load i64, i64* %.reg2mem
%52 = inttoptr i64 %.reload to i32*
%53 = load i32, i32* %52, align 4
%54 = urem i32 %53, 2
%55 = icmp eq i32 %54, 0
%56 = icmp eq i1 %55, false
%57 = add i64 %.reload, 4
store i64 %57, i64* %28, align 8
store i64 %57, i64* %.reg2mem7
br i1 %56, label LBL_3, label LBL_5
LBL_5:
%.reload8 = load i64, i64* %.reg2mem7
%58 = add i64 %14, 80
%59 = inttoptr i64 %58 to i64*
store i64 %.reload8, i64* %59, align 8
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 %57, { 0, 2, 1 }
uselistorder i64* %28, { 1, 0, 2 }
uselistorder i64 %6, { 0, 1, 3, 2 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 4, { 1, 0, 2 }
uselistorder i64 32, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | write_rle_data_6997 | write_rle_data | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i32
%rdx = alloca i64, align 8
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i32 %2, i32* %rax.0.in.reg2mem
br i1 %4, label LBL_1, label LBL_4
LBL_1:
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = bitcast i64* %rdx to i32*
%10 = add i64 %6, 16
%11 = inttoptr i64 %10 to i32*
%12 = add i64 %6, 20
%13 = inttoptr i64 %12 to i32*
br label LBL_2
LBL_2:
%14 = load i64, i64* %8, align 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = sext i32 %16 to i64
%18 = call i64 @FUNC(i64 %6, i64 %5, i64 %17)
%19 = load i64, i64* %8, align 8
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = sext i32 %21 to i64
%23 = add i64 %22, %6
store i64 %23, i64* %arg1, align 8
%24 = load i32, i32* %11, align 4
%25 = load i64, i64* %8, align 8
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i32 %27, %24
store i32 %28, i32* %11, align 4
%29 = load i32, i32* %13, align 4
%30 = icmp eq i32 %28, %29
store i32 %28, i32* %rax.0.in.reg2mem
br i1 %30, label LBL_4, label LBL_3
LBL_3:
%31 = load i32, i32* %9, align 8
%32 = add i32 %31, -1
store i32 %32, i32* %arg3, align 4
%33 = icmp eq i32 %31, 0
%34 = icmp eq i1 %33, false
store i32 %31, i32* %rax.0.in.reg2mem
br i1 %34, label LBL_2, label LBL_4
LBL_4:
%rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem
%rax.0 = zext i32 %rax.0.in.reload to i64
ret i64 %rax.0
uselistorder i64 %6, { 0, 3, 1, 2, 4 }
uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 1, 3 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | hash_recvmsg_4239 | hash_recvmsg | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %5, 4
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 %7)
%9 = and i64 %8, 4294967295
%10 = icmp ult i64 %9, %arg4
store i64 %9, i64* %sv_1.0.reg2mem
br i1 %10, label LBL_3, label LBL_1
LBL_1:
%11 = icmp ugt i64 %9, %arg4
%12 = icmp eq i1 %11, false
store i64 %arg4, i64* %sv_1.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = trunc i64 %1 to i32
%14 = or i32 %13, 32
store i32 %14, i32* %arg3, align 4
store i64 %arg4, i64* %sv_1.0.reg2mem
br label LBL_3
LBL_3:
%15 = inttoptr i64 %5 to i32*
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%16 = ptrtoint i32* %arg3 to i64
%17 = add i64 %16, 4
%18 = inttoptr i64 %17 to i32*
store i32 0, i32* %18, align 4
%19 = call i64 @FUNC(i64 %2)
%20 = load i32, i32* %15, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_5, label LBL_4
LBL_4:
store i32 0, i32* %15, align 4
%22 = call i64 @FUNC(i64 %6, i64 0, i64 %6, i64 0)
%23 = add i64 %5, 68
%24 = call i64 @FUNC(i64 %6)
%25 = and i64 %24, 4294967295
%26 = call i64 @FUNC(i64 %25, i64 %23)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
%29 = icmp eq i1 %28, false
store i32 %27, i32* %sv_0.0.reg2mem
br i1 %29, label LBL_6, label LBL_5
LBL_5:
%30 = add i64 %16, 8
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = call i64 @FUNC(i64 %32, i64 %6, i64 %sv_1.0.reload)
%34 = trunc i64 %33 to i32
store i32 %34, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%35 = call i64 @FUNC(i64 %2)
%36 = zext i32 %sv_0.0.reload to i64
%37 = icmp eq i32 %sv_0.0.reload, 0
%38 = icmp eq i1 %37, false
%spec.select = select i1 %38, i64 %36, i64 %sv_1.0.reload
ret i64 %spec.select
uselistorder i64 %sv_1.0.reload, { 1, 0 }
uselistorder i32* %15, { 1, 0 }
uselistorder i64 %9, { 1, 0, 2 }
uselistorder i64 %6, { 3, 0, 1, 2, 4 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %arg3, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
} | 0 |
CompRealVul | ossl_statem_server_pre_work_6527 | ossl_statem_server_pre_work | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = add i64 %arg1, 4
%1 = inttoptr i64 %0 to i32*
%2 = load i32, i32* %1, align 4
%3 = zext i32 %2 to i64
store i64 %3, i64* @0, align 8
store i64 0, i64* %rax.0.reg2mem
switch i32 %2, label LBL_14 [
i32 0, label LBL_1
i32 1, label LBL_3
i32 2, label LBL_5
i32 6, label LBL_13
i32 4, label LBL_7
i32 5, label LBL_9
]
LBL_1:
%4 = inttoptr i64 %arg1 to i32*
store i32 0, i32* %4, align 4
%5 = call i64 @FUNC(i64 %arg1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_14, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %arg1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_3:
%9 = inttoptr i64 %arg1 to i32*
store i32 0, i32* %9, align 4
%10 = call i64 @FUNC(i64 %arg1)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_14, label LBL_4
LBL_4:
%13 = call i64 @FUNC(i64 %arg1)
%14 = add i64 %arg1, 8
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_5:
%16 = call i64 @FUNC(i64 %arg1)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_14, label LBL_6
LBL_6:
%19 = add i64 %arg1, 8
%20 = inttoptr i64 %19 to i32*
store i32 1, i32* %20, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_7:
%21 = call i64 @FUNC(i64 %arg1)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_14, label LBL_8
LBL_8:
%24 = add i64 %arg1, 8
%25 = inttoptr i64 %24 to i32*
store i32 0, i32* %25, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_9:
%26 = add i64 %arg1, 40
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = add i64 %arg1, 24
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = inttoptr i64 %28 to i64*
%33 = load i64, i64* %32, align 8
%34 = inttoptr i64 %31 to i64*
store i64 %33, i64* %34, align 8
%35 = trunc i64 %arg1 to i32
%36 = icmp eq i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_11, label LBL_10
LBL_10:
%38 = call i64 @FUNC(i64 %arg1)
store i64 1, i64* %rax.0.reg2mem
br label LBL_14
LBL_11:
%39 = call i64 @FUNC(i64 %arg1)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %41, label LBL_14, label LBL_12
LBL_12:
%42 = add i64 %arg1, 8
%43 = inttoptr i64 %42 to i32*
store i32 0, i32* %43, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_14
LBL_13:
%44 = and i64 %arg2, 4294967295
%45 = call i64 @FUNC(i64 %arg1, i64 %44)
store i64 %45, 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 i64* %rax.0.reg2mem, { 0, 13, 11, 10, 12, 8, 9, 6, 7, 4, 5, 2, 3, 1 }
uselistorder i64 8, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @dtls1_clear_sent_buffer, { 1, 0 }
uselistorder i64 (i64)* @SSL_IS_DTLS, { 4, 3, 2, 1, 0 }
uselistorder i32 1, { 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 17, 3, 14, 13, 12, 16, 15, 2, 11, 1, 10, 0, 7, 8, 9, 4, 5, 6, 18 }
uselistorder label LBL_14, { 11, 10, 9, 12, 7, 8, 5, 6, 3, 4, 1, 2, 0 }
} | 0 |
CompRealVul | init_proc_power5plus_5054 | init_proc_power5plus | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%5 = call i64 @FUNC(i64 %0, i64 2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%6 = call i64 @FUNC(i64 %0, i64 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%7 = call i64 @FUNC(i64 %0, i64 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%8 = call i64 @FUNC(i64 %0, i64 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%9 = call i64 @FUNC(i64 %0)
%10 = call i64 @FUNC(i64 %0, i64 6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%11 = call i64 @FUNC(i64 %0, i64 7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%12 = call i64 @FUNC(i64 %0, i64 8, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 0, i64 0, i64 4198752)
%13 = call i64 @FUNC(i64 %0, i64 9, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%14 = call i64 @FUNC(i64 %0, i64 10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 0, i64 0, i64 4198724)
%15 = call i64 @FUNC(i64 %0, i64 11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 4198724, i64 4198731, i64 4198724)
%16 = bitcast i64* %arg1 to i32*
store i32 64, i32* %16, align 4
%17 = call i64 @FUNC(i64 %0)
%18 = add i64 %0, 4
%19 = inttoptr i64 %18 to i32*
store i32 128, i32* %19, align 4
%20 = add i64 %0, 8
%21 = inttoptr i64 %20 to i32*
store i32 128, i32* %21, align 4
%22 = call i64 @FUNC(i64 %0)
%23 = call i64 @FUNC(i64 %0, i64 65536)
ret i64 %23
uselistorder i64 %0, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 19 }
uselistorder i64 8, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @spr_register, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4198724, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
} | 0 |
CompRealVul | amqp_simple_get_frame_5002 | amqp_simple_get_frame | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.13.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i64
%.reg2mem = alloca i32
%sv_1.05.reg2mem = alloca i64
%sv_0.06.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = trunc i64 %arg1 to i32
%4 = trunc i64 %1 to i16
store i64 0, i64* %sv_0.06.reg2mem
store i64 %2, i64* %sv_1.05.reg2mem
br label LBL_1
LBL_1:
%sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem
%sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem
%5 = inttoptr i64 %sv_1.05.reload to i64*
%6 = trunc i64 %sv_0.06.reload to i32
%7 = sub i32 7, %6
%8 = call i32 @recv(i32 %3, i64* %5, i32 %7, i32 0)
%9 = icmp eq i32 %8, 0
%10 = icmp slt i32 %8, 0
%11 = icmp eq i1 %10, false
%12 = icmp eq i1 %9, false
%13 = icmp eq i1 %11, %12
br i1 %13, label LBL_4, label LBL_2
LBL_2:
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_11, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_4:
%15 = sext i32 %8 to i64
%16 = add i64 %sv_0.06.reload, %15
%17 = add i64 %sv_1.05.reload, %15
%18 = icmp ult i64 %16, 7
store i64 %16, i64* %sv_0.06.reg2mem
store i64 %17, i64* %sv_1.05.reg2mem
br i1 %18, label LBL_1, label LBL_5
LBL_5:
%19 = call i16 @ntohs(i16 %4)
%20 = bitcast i64* %arg2 to i16*
store i16 %19, i16* %20, align 2
%21 = add i64 %2, 4
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = call i32 @ntohl(i32 %23)
store i32 %24, i32* %22, align 4
%25 = add i32 %24, 1
%26 = zext i32 %25 to i64
%27 = call i64 @FUNC(i64 %26)
%28 = load i32, i32* %22, align 4
%29 = add i32 %28, 1
%30 = icmp eq i32 %29, 0
store i32 %29, i32* %.reg2mem
store i64 %27, i64* %storemerge4.reg2mem
store i64 0, i64* %sv_0.13.reg2mem
store i64 %27, i64* %rax.0.reg2mem
br i1 %30, label LBL_11, label LBL_6
LBL_6:
%sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%.reload = load i32, i32* %.reg2mem
%31 = inttoptr i64 %storemerge4.reload to i64*
%32 = trunc i64 %sv_0.13.reload to i32
%33 = sub i32 %.reload, %32
%34 = call i32 @recv(i32 %3, i64* %31, i32 %33, i32 0)
%35 = icmp eq i32 %34, 0
%36 = icmp slt i32 %34, 0
%37 = icmp eq i1 %36, false
%38 = icmp eq i1 %35, false
%39 = icmp eq i1 %37, %38
br i1 %39, label LBL_10, label LBL_7
LBL_7:
br i1 %37, label LBL_9, label LBL_8
LBL_8:
%40 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
br label LBL_9
LBL_9:
%41 = inttoptr i64 %27 to i64*
call void @free(i64* %41)
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_10:
%42 = sext i32 %34 to i64
%43 = add i64 %sv_0.13.reload, %42
%44 = add i64 %storemerge4.reload, %42
%45 = load i32, i32* %22, align 4
%46 = add i32 %45, 1
%47 = zext i32 %46 to i64
%48 = icmp ult i64 %43, %47
store i32 %46, i32* %.reg2mem
store i64 %44, i64* %storemerge4.reg2mem
store i64 %43, i64* %sv_0.13.reg2mem
store i64 %27, i64* %rax.0.reg2mem
br i1 %48, label LBL_6, label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %34, { 2, 0, 1 }
uselistorder i64 %storemerge4.reload, { 1, 0 }
uselistorder i64 %sv_0.13.reload, { 1, 0 }
uselistorder i64 %27, { 0, 3, 1, 2 }
uselistorder i32* %22, { 1, 0, 2, 3 }
uselistorder i32 %8, { 2, 0, 1 }
uselistorder i64 %sv_0.06.reload, { 1, 0 }
uselistorder i64 %sv_1.05.reload, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 4, 3 }
uselistorder i64 (i8*)* @uwsgi_error, { 1, 0 }
uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }
uselistorder i1 false, { 2, 1, 3, 0 }
uselistorder i32 (i32, i64*, i32, i32)* @recv, { 1, 0 }
uselistorder i32 0, { 3, 4, 6, 0, 1, 2, 5 }
uselistorder label LBL_11, { 0, 4, 1, 3, 2 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | event_nick_4980 | event_nick | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%4 = icmp eq i64 %arg2, 0
%5 = icmp eq i1 %4, false
%6 = zext i1 %5 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = icmp eq i64 %arg3, 0
%9 = icmp eq i1 %8, false
%10 = zext i1 %9 to i64
%11 = call i64 @FUNC(i64 %10)
%12 = call i64 @FUNC(i64 %arg2, i64 1, i64* nonnull %sv_0)
%13 = load i64, i64* %sv_0, align 8
%14 = call i64 @FUNC(i64 %13, i64 %arg3)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_1, label LBL_2
LBL_1:
%18 = ptrtoint i64* %arg1 to i64
%19 = call i64 @FUNC(i64 %18, i64 %arg3)
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
store i64 %19, i64* %.reg2mem
br i1 %21, label LBL_3, label LBL_6
LBL_2:
%22 = call i64 @FUNC(i64 %12)
store i64 %22, i64* %storemerge.reg2mem
br label LBL_7
LBL_3:
%.reload = load i64, i64* %.reg2mem
%23 = inttoptr i64 %.reload to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %24)
%26 = load i64, i64* %sv_0, align 8
%27 = call i64 @FUNC(i64 %26)
store i64 %27, i64* %23, align 8
%28 = add i64 %.reload, 8
%29 = inttoptr i64 %28 to i64*
%30 = load i64, i64* %29, align 8
%31 = call i64 @FUNC(i64* nonnull @gv_0, i64 %30, i64 0, i64 %3, i64 %2, i64 %1)
%32 = call i64 @FUNC(i64 %18, i64 %31)
%33 = call i64 @FUNC(i64 %31)
%34 = load i64, i64* %29, align 8
%35 = call i64 @FUNC(i64 %34)
store i64 0, i64* %29, align 8
%36 = load i64, i64* %sv_0, align 8
%37 = call i64 @FUNC(i64 %36)
store i64 %37, i64* %29, align 8
%38 = icmp eq i64 %32, 0
br i1 %38, label LBL_4, label LBL_5
LBL_4:
%39 = call i64 @FUNC(i64 %18, i64 %arg3)
%40 = icmp eq i64 %39, 0
%41 = icmp eq i1 %40, false
store i64 %39, i64* %.reg2mem
br i1 %41, label LBL_3, label LBL_6
LBL_5:
%42 = call i64 @FUNC(i64* nonnull @gv_0, i64 %37, i64 0, i64 %3, i64 %2, i64 %1)
%43 = call i64 @FUNC(i64 %32, i64 %42)
%44 = call i64 @FUNC(i64 %42)
br label LBL_4
LBL_6:
%45 = call i64 @FUNC(i64 %12)
store i64 %45, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %29, { 0, 2, 1, 3 }
uselistorder i64 %18, { 2, 1, 0 }
uselistorder i64 %12, { 1, 0 }
uselistorder i64* %sv_0, { 1, 2, 3, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64*, i64, i64, i64, i64, i64)* @g_strconcat, { 1, 0 }
uselistorder i64 (i64)* @g_free, { 1, 5, 4, 3, 2, 0 }
uselistorder i64 (i64, i64)* @dcc_chat_find_nick, { 1, 0 }
uselistorder i64 (i64)* @g_return_if_fail, { 1, 0 }
uselistorder i1 false, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 %arg3, { 1, 0, 2, 3 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | urn_Read_13353 | urn_Read | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_13
LBL_1:
%5 = and i64 %1, 4294967295
%6 = call i64 @FUNC(i64 %5)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 1, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_13
LBL_2:
%9 = ptrtoint i64* %arg2 to i64
%10 = ptrtoint i64* %arg1 to i64
%11 = call i64 @FUNC(i64 %9, i64 %6, i32 %2)
store i32 0, i32* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%12 = zext i32 %storemerge.reload to i64
%13 = add i64 %6, %12
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = icmp ne i8 %15, 0
%17 = icmp ult i32 %storemerge.reload, %2
%or.cond = icmp eq i1 %17, %16
%18 = add i32 %storemerge.reload, 1
store i32 %18, i32* %storemerge.reg2mem
br i1 %or.cond, label LBL_3, label LBL_4
LBL_4:
%19 = icmp eq i32 %storemerge.reload, %2
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_6, label LBL_5
LBL_5:
%21 = call i64 @FUNC(i64 %6)
store i64 2, i64* %rax.0.reg2mem
br label LBL_13
LBL_6:
%22 = add i32 %2, -1
%23 = icmp eq i32 %storemerge.reload, %22
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_8, label LBL_7
LBL_7:
%25 = add i64 %10, 8
%26 = inttoptr i64 %25 to i64*
store i64 %6, i64* %26, align 8
%27 = add i64 %10, 16
%28 = inttoptr i64 %27 to i64*
store i64 0, i64* %28, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_13
LBL_8:
%29 = zext i32 %18 to i64
%30 = call i64 @FUNC(i64 %29)
%31 = add i64 %10, 8
%32 = inttoptr i64 %31 to i64*
store i64 %30, i64* %32, align 8
%33 = icmp eq i64 %30, 0
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_10, label LBL_9
LBL_9:
%35 = call i64 @FUNC(i64 %6)
store i64 1, i64* %rax.0.reg2mem
br label LBL_13
LBL_10:
%36 = sub i32 0, %storemerge.reload
%37 = sub i32 %36, 1
%38 = add i32 %37, %2
%39 = zext i32 %38 to i64
%40 = call i64 @FUNC(i64 %39)
%41 = add i64 %10, 16
%42 = inttoptr i64 %41 to i64*
store i64 %40, i64* %42, align 8
%43 = icmp eq i64 %40, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_12, label LBL_11
LBL_11:
%45 = call i64 @FUNC(i64 %6)
%46 = load i64, i64* %32, align 8
%47 = call i64 @FUNC(i64 %46)
store i64 0, i64* %32, align 8
store i64 1, i64* %rax.0.reg2mem
br label LBL_13
LBL_12:
%48 = load i64, i64* %32, align 8
%49 = inttoptr i64 %48 to i64*
%50 = inttoptr i64 %6 to i64*
%51 = call i64* @memcpy(i64* %49, i64* %50, i32 %18)
%52 = add i64 %13, 1
%53 = load i64, i64* %42, align 8
%54 = inttoptr i64 %53 to i64*
%55 = inttoptr i64 %52 to i64*
%56 = call i64* @memcpy(i64* %54, i64* %55, i32 %38)
%57 = call i64 @FUNC(i64 %6)
store i64 0, i64* %rax.0.reg2mem
br label LBL_13
LBL_13:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %32, { 2, 1, 0, 3 }
uselistorder i32 %18, { 2, 1, 0 }
uselistorder i32 %storemerge.reload, { 5, 3, 4, 1, 2, 0 }
uselistorder i64 %10, { 2, 3, 0, 1 }
uselistorder i64 %6, { 5, 6, 4, 3, 2, 1, 0, 7, 8 }
uselistorder i32 %2, { 0, 3, 4, 5, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 1, 2 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }
uselistorder i64 (i64)* @gf_free, { 4, 3, 2, 1, 0 }
uselistorder i64 1, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @gf_malloc, { 2, 1, 0 }
uselistorder i64 0, { 2, 4, 5, 6, 1, 7, 8, 0, 3 }
uselistorder i32 0, { 1, 0, 3, 2 }
uselistorder label LBL_13, { 2, 3, 4, 5, 6, 0, 1 }
} | 1 |
CompRealVul | ff_set_qscale_10547 | ff_set_qscale | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = icmp eq i32 %1, 0
%4 = icmp slt i32 %1, 0
%5 = icmp eq i1 %4, false
%6 = icmp eq i1 %3, false
%7 = icmp eq i1 %5, %6
%8 = trunc i64 %2 to i32
%9 = icmp slt i32 %8, 32
%spec.select = select i1 %9, i64 %2, i64 31
%sv_0.0 = select i1 %7, i64 %spec.select, i64 1
%10 = trunc i64 %sv_0.0 to i32
%11 = bitcast i64* %arg1 to i32*
store i32 %10, i32* %11, align 4
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = mul i64 %sv_0.0, 4
%16 = add i64 %14, %15
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = add i64 %0, 4
%20 = inttoptr i64 %19 to i32*
store i32 %18, i32* %20, align 4
%21 = add i64 %0, 16
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = add i64 %23, %15
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %0, 32
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = add i64 %0, 24
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = load i32, i32* %20, align 4
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 4
%35 = add i64 %34, %31
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i64 %0, 36
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
ret i64 %0
uselistorder i64 %15, { 1, 0 }
uselistorder i32 %1, { 1, 0 }
uselistorder i64 %0, { 2, 1, 0, 4, 3, 6, 5 }
uselistorder i64 4, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 32, { 1, 0 }
} | 0 |
CompRealVul | av1dmx_parse_av1_6862 | av1dmx_parse_av1 | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %2, 8
%7 = inttoptr i64 %6 to i32*
store i32 1, i32* %7, align 4
br label LBL_2
LBL_2:
%8 = add i64 %2, 24
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10)
%12 = add i64 %2, 32
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 2
br i1 %15, label LBL_13, label LBL_3
LBL_3:
%16 = icmp sgt i32 %14, 2
store i32 2, i32* %sv_0.0.reg2mem
br i1 %16, label LBL_16, label LBL_4
LBL_4:
store i32 2, i32* %sv_0.0.reg2mem
switch i32 %14, label LBL_16 [
i32 0, label LBL_5
i32 1, label LBL_9
]
LBL_5:
%17 = add i64 %2, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label LBL_8, label LBL_6
LBL_6:
%21 = call i64 @FUNC(i64 %19)
%22 = icmp eq i64 %21, 0
br i1 %22, label LBL_8, label LBL_7
LBL_7:
%23 = add i64 %2, 12
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = icmp eq i32 %25, 0
%27 = icmp eq i1 %26, false
store i32 0, i32* %sv_0.0.reg2mem
br i1 %27, label LBL_8, label LBL_16
LBL_8:
%28 = add i64 %2, 8
%29 = load i64, i64* %9, align 8
%30 = call i64 @FUNC(i64 %29, i64 %28)
%31 = trunc i64 %30 to i32
store i32 %31, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_9:
%32 = add i64 %2, 16
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label LBL_11, label LBL_10
LBL_10:
%36 = call i64 @FUNC(i64 %34)
%37 = icmp eq i64 %36, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %37, label LBL_11, label LBL_16
LBL_11:
%38 = add i64 %2, 8
%39 = load i64, i64* %9, align 8
%40 = call i64 @FUNC(i64 %39, i64 %38)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 1
%43 = icmp eq i1 %42, false
store i32 %41, i32* %sv_0.0.reg2mem
br i1 %43, label LBL_16, label LBL_12
LBL_12:
%44 = call i64 @FUNC(i64 %38, i64 0)
%45 = load i64, i64* %9, align 8
%46 = call i64 @FUNC(i64 %45, i64 %11)
store i32 %41, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_13:
%47 = add i64 %2, 16
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label LBL_15, label LBL_14
LBL_14:
%51 = call i64 @FUNC(i64 %49)
%52 = icmp eq i64 %51, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %52, label LBL_15, label LBL_16
LBL_15:
%53 = add i64 %2, 8
%54 = load i64, i64* %9, align 8
%55 = call i64 @FUNC(i64 %54, i64 %53)
%56 = trunc i64 %55 to i32
store i32 %56, i32* %sv_0.0.reg2mem
br label LBL_16
LBL_16:
%57 = ptrtoint i64* %arg1 to i64
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%58 = call i64 @FUNC(i64 %57, i64 %2)
%59 = add i64 %2, 36
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = icmp ne i32 %61, 0
%63 = icmp eq i32 %sv_0.0.reload, 1
%64 = icmp eq i32 %sv_0.0.reload, 0
%not.or.cond = icmp eq i1 %63, %62
%65 = or i1 %64, %not.or.cond
br i1 %65, label LBL_20, label LBL_17
LBL_17:
%66 = or i32 %sv_0.0.reload, 2
%67 = icmp eq i32 %66, 3
br i1 %67, label LBL_19, label LBL_18
LBL_18:
%68 = call i64 @FUNC(i64 %57, i64 %2)
br label LBL_19
LBL_19:
%69 = zext i32 %sv_0.0.reload to i64
store i64 %69, i64* %rax.0.reg2mem
br label LBL_26
LBL_20:
%70 = add i64 %2, 40
%71 = inttoptr i64 %70 to i32*
%72 = load i32, i32* %71, align 4
%73 = icmp eq i32 %72, 0
%74 = icmp eq i1 %73, false
br i1 %74, label LBL_24, label LBL_21
LBL_21:
%75 = add i64 %2, 12
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = icmp eq i32 %77, 0
br i1 %78, label LBL_23, label LBL_22
LBL_22:
%79 = call i32 @puts(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_0, i64 0, i64 0))
br label LBL_23
LBL_23:
%80 = add i64 %2, 8
%81 = call i64 @FUNC(i64 %80, i64 0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_26
LBL_24:
%82 = bitcast i64* %rsi to i32*
%83 = load i32, i32* %82, align 8
%84 = icmp eq i32 %83, 0
%85 = icmp eq i1 %84, false
store i64 0, i64* %rax.0.reg2mem
br i1 %85, label LBL_25, label LBL_26
LBL_25:
%86 = call i64 @FUNC(i64 %57, i64 %2)
store i64 %86, i64* %rax.0.reg2mem
br label LBL_26
LBL_26:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.0.reload, { 1, 2, 3, 0 }
uselistorder i64 %57, { 1, 0, 2 }
uselistorder i64* %9, { 3, 0, 1, 2, 4 }
uselistorder i64 %2, { 8, 6, 9, 7, 5, 10, 11, 12, 13, 0, 1, 3, 2, 4, 14, 15, 16 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 9, 3, 6, 7, 4, 8, 5, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64 (i64, i64)* @av1dmx_parse_flush_sample, { 1, 0 }
uselistorder i64 (i64, i64)* @gf_av1_reset_state, { 1, 0 }
uselistorder i32 2, { 2, 1, 0, 4, 3 }
uselistorder i64 (i64)* @gf_bs_get_position, { 3, 2, 1, 0 }
uselistorder i32 0, { 5, 6, 7, 3, 8, 0, 1, 2, 9, 4, 10 }
uselistorder label LBL_26, { 1, 0, 2, 3 }
uselistorder label LBL_16, { 7, 2, 6, 5, 3, 8, 4, 1, 0 }
} | 0 |
CompRealVul | armv7m_nvic_class_init_15026 | armv7m_nvic_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8
store i64 4198669, i64* %arg1, align 8
ret i64 %0
} | 1 |
CompRealVul | pdu_submit_14099 | pdu_submit | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge.in.reg2mem = alloca i64*
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp ult i32 %6, 256
store i64* @gv_0, i64** %storemerge.in.reg2mem
br i1 %7, label LBL_1, label LBL_2
LBL_1:
%sext = mul i64 %1, 4294967296
%8 = ashr exact i64 %sext, 29
%9 = add i64 %8, ptrtoint (i64* @gv_1 to i64)
%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
%spec.select = select i1 %13, i64* %10, i64* @gv_0
store i64* %spec.select, i64** %storemerge.in.reg2mem
br label LBL_2
LBL_2:
%storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem
%storemerge = load i64, i64* %storemerge.in.reload, align 8
%14 = call i64 @FUNC(i64 %5)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
store i64 %storemerge, i64* %sv_0.0.reg2mem
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = call i64 @FUNC(i64 %2)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
%21 = load i64, i64* @gv_2, align 8
%spec.select2 = select i1 %20, i64 %storemerge, i64 %21
store i64 %spec.select2, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%22 = call i64 @FUNC(i64 %sv_0.0.reload)
%23 = call i64 @FUNC(i64 %22, i64 %2)
ret i64 %23
uselistorder i64 %storemerge, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* @gv_0, { 1, 0 }
} | 1 |
CompRealVul | __tcp_v4_send_check_7911 | __tcp_v4_send_check | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = call i64 @FUNC(i64 %2)
%5 = inttoptr i64 %4 to i16*
%6 = add i64 %2, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 1
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = zext i32 %arg3 to i64
%12 = trunc i64 %3 to i32
%13 = and i64 %1, 4294967295
%14 = call i64 @FUNC(i64 %13, i32 %12, i64 %11, i64 0)
%15 = trunc i64 %14 to i16
%16 = sub i16 0, %15
%17 = sub i16 %16, 1
store i16 %17, i16* %5, align 2
%18 = call i64 @FUNC(i64 %2)
%19 = add i64 %2, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = sub i64 %18, %21
%23 = add i64 %2, 16
%24 = inttoptr i64 %23 to i64*
store i64 %22, i64* %24, align 8
%25 = add i64 %2, 24
%26 = inttoptr i64 %25 to i32*
store i32 0, i32* %26, align 4
store i64 %2, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%27 = add i64 %2, 28
%28 = inttoptr i64 %27 to i16*
%29 = load i16, i16* %28, align 2
%30 = zext i16 %29 to i64
%31 = add i64 %4, 2
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32, align 1
%34 = zext i8 %33 to i64
%35 = mul i64 %34, 4
%36 = call i64 @FUNC(i64 %4, i64 %35, i64 %30)
%37 = urem i64 %36, 65536
%38 = zext i32 %arg3 to i64
%39 = trunc i64 %3 to i32
%40 = and i64 %1, 4294967295
%41 = call i64 @FUNC(i64 %40, i32 %39, i64 %38, i64 %37)
%42 = trunc i64 %41 to i16
store i16 %42, i16* %5, align 2
store i64 %41, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i16* %5, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 5, 0, 1, 4, 3, 2, 6, 7 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i32, i64, i64)* @tcp_v4_check, { 1, 0 }
uselistorder i32 %arg3, { 1, 0 }
} | 0 |
CompRealVul | mov_read_chpl_1121 | mov_read_chpl | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%0 = add i64 %arg3, -5
%1 = icmp slt i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_9
LBL_1:
%3 = ptrtoint i64* %arg2 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %4 to i32
%6 = call i64 @FUNC(i64 %3)
%7 = icmp eq i32 %5, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %3)
br label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %3)
%10 = trunc i64 %9 to i32
%11 = icmp sgt i32 %10, 0
%12 = icmp sgt i64 %0, 8
%or.cond2 = icmp eq i1 %12, %11
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond2, label LBL_4, label LBL_9
LBL_4:
%13 = ptrtoint i64* %sv_2 to i64
%14 = add i64 %13, -320
store i32 0, i32* %storemerge4.reg2mem
store i64 %0, i64* %sv_0.03.reg2mem
br label LBL_5
LBL_5:
%sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem
%15 = call i64 @FUNC(i64 %3)
%16 = call i64 @FUNC(i64 %3)
%17 = mul i64 %16, 4294967296
%sext = add i64 %17, 38654705664
%18 = ashr exact i64 %sext, 32
%19 = sub i64 %sv_0.03.reload, %18
%20 = icmp slt i64 %19, 0
%21 = icmp eq i1 %20, false
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_6, label LBL_9
LBL_6:
%22 = trunc i64 %16 to i32
%23 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1, i32 %22)
%24 = trunc i64 %23 to i32
%25 = icmp slt i32 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_8, label LBL_7
LBL_7:
%27 = and i64 %23, 4294967295
store i64 %27, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%28 = ashr exact i64 %17, 32
%29 = add i64 %14, %28
%30 = inttoptr i64 %29 to i8*
store i8 0, i8* %30, align 1
%31 = call i64 @FUNC(i64 %3, i32 %storemerge4.reload, i64 42949672960000001, i64 %15, i64 0, i64* nonnull %sv_1)
%32 = add nuw nsw i32 %storemerge4.reload, 1
%33 = icmp slt i32 %32, %10
%34 = icmp sgt i64 %19, 8
%or.cond = icmp eq i1 %33, %34
store i32 %32, i32* %storemerge4.reg2mem
store i64 %19, i64* %sv_0.03.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_5, label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %storemerge4.reload, { 1, 0 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i32 %10, { 1, 0 }
uselistorder i64 %3, { 1, 2, 4, 3, 5, 0, 7, 6 }
uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 1, 3, 4 }
uselistorder i64 8, { 1, 0 }
uselistorder i32 0, { 2, 0, 1, 3 }
uselistorder i64 (i64)* @avio_r8, { 2, 1, 0 }
uselistorder label LBL_9, { 1, 4, 0, 2, 3 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
CompRealVul | virtio_init_pci_4892 | virtio_init_pci | define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%rsi = alloca i64, align 8
%0 = ptrtoint i16* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %1, 24
%3 = inttoptr i64 %2 to i64*
store i64 %0, i64* %3, align 8
%4 = urem i64 %arg3, 65536
%5 = call i64 @FUNC(i64 %1, i64 %4)
%6 = urem i64 %arg4, 65536
%7 = call i64 @FUNC(i64 %1, i64 %6)
%8 = add i64 %1, 8
%9 = inttoptr i64 %8 to i8*
store i8 1, i8* %9, align 1
%10 = add i64 %1, 9
%11 = trunc i64 %arg6 to i8
%12 = inttoptr i64 %10 to i8*
store i8 %11, i8* %12, align 1
%13 = urem i64 %arg5, 65536
%14 = call i64 @FUNC(i64 %1, i64 %13)
%15 = add i64 %1, 14
%16 = inttoptr i64 %15 to i8*
store i8 0, i8* %16, align 1
%17 = add i64 %1, 44
%18 = trunc i64 %arg3 to i8
%19 = inttoptr i64 %17 to i8*
store i8 %18, i8* %19, align 1
%20 = udiv i64 %arg3, 256
%21 = trunc i64 %20 to i8
%22 = add i64 %1, 45
%23 = inttoptr i64 %22 to i8*
store i8 %21, i8* %23, align 1
%24 = bitcast i64* %rsi to i16*
%25 = load i16, i16* %24, align 8
%26 = add i64 %1, 46
%27 = trunc i16 %25 to i8
%28 = inttoptr i64 %26 to i8*
store i8 %27, i8* %28, align 1
%29 = load i16, i16* %24, align 8
%30 = udiv i16 %29, 256
%31 = add i64 %1, 47
%32 = trunc i16 %30 to i8
%33 = inttoptr i64 %31 to i8*
store i8 %32, i8* %33, align 1
%34 = add i64 %1, 61
%35 = inttoptr i64 %34 to i8*
store i8 1, i8* %35, align 1
%36 = add i64 %0, 2
%37 = inttoptr i64 %36 to i16*
%38 = load i16, i16* %37, align 2
%39 = icmp eq i16 %38, 0
br i1 %39, label LBL_3, label LBL_1
LBL_1:
%40 = zext i16 %38 to i64
%41 = call i64 @FUNC(i64 %1, i64 %40, i64 1, i64 0)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_3, label LBL_2
LBL_2:
%45 = load i64, i64* @gv_0, align 8
%46 = call i64 @FUNC(i64 %1)
%47 = and i64 %46, 4294967295
%48 = call i64 @FUNC(i64 %1, i64 1, i64 %47, i64 1, i64 %45)
%49 = inttoptr i64 %8 to i64*
store i64 4198740, i64* %49, align 8
br label LBL_4
LBL_3:
store i16 0, i16* %37, align 2
br label LBL_4
LBL_4:
%50 = add i64 %1, 16
%51 = inttoptr i64 %50 to i64*
store i64 4198786, i64* %51, align 8
%52 = call i64 @FUNC(i64 %1)
%53 = trunc i64 %52 to i32
%54 = add i64 %0, 4
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = add i32 %56, %53
%58 = add i32 %57, -1
%59 = and i32 %58, %57
%60 = icmp eq i32 %59, 0
store i32 %57, i32* %sv_0.0.reg2mem
br i1 %60, label LBL_6, label LBL_5
LBL_5:
%61 = zext i32 %57 to i64
%62 = call i64 @FUNC(i64 %61)
%63 = trunc i64 %62 to i32
%64 = urem i32 %63, 32
%65 = shl i32 1, %64
store i32 %65, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%66 = load i64, i64* @gv_1, align 8
%67 = zext i32 %sv_0.0.reload to i64
%68 = call i64 @FUNC(i64 %1, i64 0, i64 %67, i64 0, i64 %66)
%69 = call i64 @FUNC(i64 4198842, i64 %1)
%70 = call i64 @FUNC(i64 %0, i64* nonnull @gv_2, i64 %1)
ret i64 %70
uselistorder i32 %57, { 2, 0, 1, 3 }
uselistorder i64 %1, { 5, 4, 3, 6, 7, 1, 0, 2, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }
uselistorder i64 (i64, i64, i64, i64, i64)* @pci_register_bar, { 1, 0 }
uselistorder i64 %arg3, { 0, 2, 1 }
} | 0 |
CompRealVul | spi_map_buf_18007 | spi_map_buf | define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%sv_0.09.reg2mem = alloca i64
%sv_1.010.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = call i64 @FUNC(i64 %arg4)
%4 = trunc i64 %3 to i8
%5 = icmp eq i8 %4, 0
%sext = mul i64 %1, 4294967296
%.op.op = ashr exact i64 %sext, 32
%6 = select i1 %5, i64 %.op.op, i64 4096
%7 = add i64 %arg5, -1
%8 = add i64 %7, %6
%9 = udiv i64 %8, %6
%10 = and i64 %9, 4294967295
%11 = call i64 @FUNC(i64 %2, i64 %10, i64 0)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_1, label LBL_3
LBL_1:
%14 = trunc i64 %9 to i32
%15 = icmp sgt i32 %14, 0
br i1 %15, label LBL_2, label LBL_9
LBL_2:
%sext12 = mul i64 %9, 4294967296
%16 = ashr exact i64 %sext12, 32
store i64 0, i64* %indvars.iv.reg2mem
store i64 %arg5, i64* %sv_1.010.reg2mem
store i64 %arg4, i64* %sv_0.09.reg2mem
br label LBL_4
LBL_3:
%17 = and i64 %11, 4294967295
store i64 %17, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem
%sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
store i64 %.op.op, i64* %rdx.0.reg2mem
store i64 %sv_0.09.reload, i64* %storemerge6.reg2mem
br i1 %5, label LBL_8, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64 %sv_0.09.reload)
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_7, label LBL_6
LBL_6:
%21 = call i64 @FUNC(i64 %2)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_12
LBL_7:
%22 = call i64 @FUNC(i64 %18)
%23 = urem i64 %sv_0.09.reload, 4096
%24 = add i64 %22, %23
store i64 %22, i64* %rdx.0.reg2mem
store i64 %24, i64* %storemerge6.reg2mem
br label LBL_8
LBL_8:
%25 = icmp ult i64 %sv_1.010.reload, %6
%26 = select i1 %25, i64 %sv_1.010.reload, i64 %6
%storemerge6.reload = load i64, i64* %storemerge6.reg2mem
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%27 = mul i64 %indvars.iv.reload, 16
%28 = add i64 %rdx.0.reload, %27
%29 = call i64 @FUNC(i64 %28, i64 %storemerge6.reload, i64 %26)
%30 = add i64 %26, %sv_0.09.reload
%31 = sub i64 %sv_1.010.reload, %26
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%32 = icmp slt i64 %indvars.iv.next, %16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %31, i64* %sv_1.010.reg2mem
store i64 %30, i64* %sv_0.09.reg2mem
br i1 %32, label LBL_4, label LBL_9
LBL_9:
%33 = add i64 %2, 8
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = zext i32 %35 to i64
%37 = trunc i64 %arg6 to i32
%38 = ptrtoint i32* %arg2 to i64
%39 = call i64 @FUNC(i64 %38, i64 %36, i64 %36, i32 %37)
%40 = trunc i64 %39 to i32
%41 = icmp slt i32 %40, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_11, label LBL_10
LBL_10:
%43 = call i64 @FUNC(i64 %2)
%44 = and i64 %39, 4294967295
store i64 %44, i64* %rax.0.reg2mem
br label LBL_12
LBL_11:
store i32 %40, i32* %34, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %36, { 1, 0 }
uselistorder i64 %26, { 2, 0, 1 }
uselistorder i64 %sv_1.010.reload, { 0, 2, 1 }
uselistorder i64 %sv_0.09.reload, { 2, 3, 1, 0 }
uselistorder i64 %9, { 0, 2, 1 }
uselistorder i64 %6, { 3, 2, 1, 0 }
uselistorder i1 %5, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.010.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_12, { 0, 2, 1, 3 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | fst_issue_cmd_9374 | fst_issue_cmd | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = load i64, i64* %0
%6 = call i64 @FUNC(i64 %4, i64 %5)
%7 = add i64 %4, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = add i64 %11, ptrtoint (i32** @gv_0 to i64)
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %4, i64 %15)
%17 = trunc i64 %16 to i16
%18 = icmp eq i16 %17, -1
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_2, label LBL_1
LBL_1:
%20 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %3, i64 %2, i64 %1)
br label LBL_2
LBL_2:
%21 = trunc i64 %arg2 to i16
%22 = load i32, i32* %8, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = add i64 %24, ptrtoint (i32** @gv_0 to i64)
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = zext i32 %27 to i64
%29 = call i64 @FUNC(i64 %4, i64 %28, i16 %21)
%30 = icmp ne i16 %21, 1
%31 = icmp eq i16 %21, 2
%32 = icmp eq i1 %31, false
%or.cond = icmp eq i1 %30, %32
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%33 = add i64 %4, 12
%34 = inttoptr i64 %33 to i32*
store i32 0, i32* %34, align 4
%35 = add i64 %4, 16
%36 = inttoptr i64 %35 to i32*
store i32 0, i32* %36, align 4
%37 = add i64 %4, 20
%38 = inttoptr i64 %37 to i32*
store i32 0, i32* %38, align 4
br label LBL_4
LBL_4:
%39 = call i64 @FUNC(i64 %4, i64 %5)
ret i64 %39
uselistorder i16 %21, { 1, 0, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | httpClientSetUri_5248 | httpClientSetUri | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp ne i64* %arg1, null
%3 = icmp eq i8* %arg2, null
%4 = icmp eq i1 %3, false
%or.cond = icmp eq i1 %2, %4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_1, label LBL_8
LBL_1:
%5 = trunc i64 %1 to i8
%6 = icmp eq i8 %5, 0
%7 = icmp eq i1 %6, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_8
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 1032
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 1
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %12, label LBL_3, label LBL_8
LBL_3:
%13 = add i64 %8, 1024
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp ult i64 %15, 1025
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %16, label LBL_4, label LBL_8
LBL_4:
%17 = add i64 %15, %8
%18 = inttoptr i64 %17 to i8*
store i8 0, i8* %18, align 1
%19 = call i64 @FUNC(i64 %8, i64 32)
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %21, label LBL_5, label LBL_8
LBL_5:
%22 = add i64 %19, 1
%23 = inttoptr i64 %22 to i8*
%24 = call i8* @strpbrk(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))
%25 = icmp eq i8* %24, null
%26 = icmp eq i1 %25, false
store i64 4294967293, i64* %rax.0.reg2mem
br i1 %26, label LBL_6, label LBL_8
LBL_6:
%27 = ptrtoint i8* %24 to i64
%28 = sub i64 %22, %27
%29 = ptrtoint i8* %arg2 to i64
%30 = call i64 @FUNC(i64 %29)
%31 = load i64, i64* %14, align 8
%32 = add i64 %30, %28
%33 = add i64 %32, %31
%34 = icmp ult i64 %33, 1025
store i64 4294967292, i64* %rax.0.reg2mem
br i1 %34, label LBL_7, label LBL_8
LBL_7:
%35 = add i64 %8, 1
%36 = sub i64 %35, %27
%37 = add i64 %36, %31
%38 = add i64 %30, %22
%39 = call i64 @FUNC(i64 %38, i64 %27, i64 %37)
%40 = call i64 @FUNC(i64 %22, i64 %29, i64 %30)
%41 = load i64, i64* %14, align 8
%42 = add i64 %41, %32
store i64 %42, i64* %14, align 8
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 %30, { 2, 0, 1 }
uselistorder i64 %27, { 2, 0, 1 }
uselistorder i8* %24, { 1, 0 }
uselistorder i64 %22, { 2, 0, 1, 3 }
uselistorder i64* %14, { 1, 0, 2, 3 }
uselistorder i64 %8, { 1, 2, 0, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }
uselistorder i8 0, { 1, 2, 3, 4, 5, 6, 0 }
uselistorder i8* null, { 1, 0 }
uselistorder i8* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_8, { 7, 0, 1, 2, 3, 4, 5, 6 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.