dataset stringclasses 1
value | file stringlengths 7 51 | fun_name stringlengths 2 45 | llvm_ir_function stringlengths 61 121k | label stringclasses 2
values |
|---|---|---|---|---|
CompRealVul | disas_pc_rel_adr_15237 | disas_pc_rel_adr | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = and i64 %arg2, 4294967295
%2 = call i64 @FUNC(i64 %1, i64 31, i64 1)
%3 = trunc i64 %2 to i32
%4 = call i64 @FUNC(i64 %1, i64 5, i64 19)
%5 = mul i64 %4, 4
%6 = call i64 @FUNC(i64 %1, i64 29, i64 2)
%7 = and i64 %6, 4294967295
%8 = or i64 %7, %5
%9 = call i64 @FUNC(i64 %1, i64 0, i64 5)
%10 = add nsw i64 %1, -4
%11 = icmp eq i32 %3, 0
%12 = and i64 %10, -4096
%13 = mul i64 %8, 4096
%sv_0.0 = select i1 %11, i64 %8, i64 %13
%sv_1.0 = select i1 %11, i64 %10, i64 %12
%14 = add i64 %sv_0.0, %sv_1.0
%15 = and i64 %9, 4294967295
%16 = call i64 @FUNC(i64 %0, i64 %15)
%17 = call i64 @FUNC(i64 %16, i64 %14)
ret i64 %17
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %1, { 1, 0, 2, 3, 4 }
uselistorder i32 0, { 4, 2, 0, 5, 3, 1, 6, 7 }
uselistorder i64 (i64, i64, i64)* @extract32, { 2, 1, 0 }
} | 1 |
CompRealVul | ia32_do_mmap_11373 | ia32_do_mmap | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg4 to i32
%1 = trunc i64 %arg5 to i32
%2 = trunc i64 %arg2 to i32
%3 = trunc i64 %arg3 to i32
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i32 %2, i32 %3, i32 %0, i32 %1, i64 %arg6)
%5 = add i64 %arg3, 4095
%6 = and i64 %5, -4096
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 %arg2, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_5
LBL_1:
%9 = icmp ugt i64 %6, 4294967295
%10 = sub i64 4294967295, %6
%11 = icmp ult i64 %10, %arg2
%or.cond = or i1 %9, %11
br i1 %or.cond, label LBL_2, label LBL_3
LBL_2:
%12 = and i64 %arg5, 16
%13 = icmp eq i64 %12, 0
%. = select i1 %13, i64 -22, i64 -12
store i64 %., i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%14 = urem i64 %arg6, 4096
%15 = icmp eq i64 %14, 0
store i64 -22, i64* %rax.0.reg2mem
br i1 %15, label LBL_4, label LBL_5
LBL_4:
%16 = ptrtoint i64* %arg1 to i64
%17 = and i64 %arg4, 4294967295
%18 = and i64 %arg5, 4294967295
%19 = call i64 @FUNC(i64 %17)
%20 = trunc i64 %19 to i32
%21 = call i64 @FUNC(i64* nonnull @gv_1)
%22 = call i64 @FUNC(i64 %16, i64 %arg2, i64 %6, i32 %20, i64 %18, i64 %arg6)
%23 = call i64 @FUNC(i64* nonnull @gv_1)
%24 = load i64, i64* @gv_2, align 8
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = call i64 @FUNC(i64 %26)
%28 = call i64 @FUNC(i64 %16, i64 %22, i64 %6, i32 %20, i64 %18, i64 %arg6)
%29 = load i64, i64* @gv_2, align 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = call i64 @FUNC(i64 %31)
%33 = trunc i64 %28 to i32
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i32 %33)
store i64 %28, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 2, 3, 1, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 4294967295, { 0, 3, 2, 1 }
uselistorder i64 %arg6, { 1, 2, 0, 3 }
uselistorder i64 %arg2, { 2, 1, 0, 3 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_5, { 3, 0, 1, 2 }
} | 1 |
CompRealVul | clcdfb_of_get_mode_18794 | clcdfb_of_get_mode | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967277, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_5
LBL_1:
%4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
store i64 4294967294, i64* %storemerge1.reg2mem
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = ptrtoint i64* %arg3 to i64
%8 = call i64 @FUNC(i64 %1, i64 %7)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
store i64 %8, i64* %storemerge1.reg2mem
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%11 = and i64 %storemerge1.reload, 4294967295
store i64 %11, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%12 = ptrtoint i64* %arg1 to i64
%13 = call i64 @FUNC(i64 0, i64 0, i64 %7)
%14 = mul i64 %13, 4294967296
%sext = add i64 %14, 4294967296
%15 = ashr exact i64 %sext, 32
%16 = call i64 @FUNC(i64 %12, i64 %15, i64 0)
%17 = add i64 %13, 1
%18 = and i64 %17, 4294967295
%19 = call i64 @FUNC(i64 %16, i64 %18, i64 %7)
store i64 %16, i64* %arg3, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %13, { 1, 0 }
uselistorder i64 %7, { 1, 2, 0 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 4294967296, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @clcdfb_snprintf_mode, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_5, { 1, 2, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | dpy_refresh_14510 | dpy_refresh | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.lcssa.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
%2 = icmp eq i1 %1, false
store i64 %0, i64* %storemerge12.reg2mem
store i64 %0, i64* %storemerge1.lcssa.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%storemerge12.reload = load i64, i64* %storemerge12.reg2mem
%3 = inttoptr i64 %storemerge12.reload to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
store i64 %4, i64* %storemerge12.reg2mem
store i64 %4, i64* %storemerge1.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_2:
%storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem
ret i64 %storemerge1.lcssa.reload
uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | ffmmal_stop_decoder_3972 | ffmmal_stop_decoder | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem1 = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%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 = call i64 @FUNC(i64 %4)
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 %8)
%11 = load i64, i64* %3, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = load i64, i64* %7, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = load i64, i64* %3, align 8
%16 = call i64 @FUNC(i64 %15)
%17 = icmp eq i64 %16, 0
%18 = icmp eq i1 %17, false
store i64 %16, i64* %.reg2mem
br i1 %18, label LBL_1, label LBL_2
LBL_1:
%.reload = load i64, i64* %.reg2mem
%19 = call i64 @FUNC(i64 %.reload)
%20 = load i64, i64* %3, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = icmp eq i64 %21, 0
%23 = icmp eq i1 %22, false
store i64 %21, i64* %.reg2mem
br i1 %23, label LBL_1, label LBL_2
LBL_2:
%24 = load i64, i64* %7, align 8
%25 = icmp eq i64 %24, 0
%26 = icmp eq i1 %25, false
store i64 %24, i64* %.reg2mem1
br i1 %26, label LBL_3, label LBL_4
LBL_3:
%.reload2 = load i64, i64* %.reg2mem1
%27 = inttoptr i64 %.reload2 to i64*
%28 = load i64, i64* %27, align 8
store i64 %28, i64* %7, align 8
%29 = add i64 %.reload2, 8
%30 = call i64 @FUNC(i64 %29)
%31 = call i64 @FUNC(i64 %.reload2)
%32 = load i64, i64* %7, align 8
%33 = icmp eq i64 %32, 0
%34 = icmp eq i1 %33, false
store i64 %32, i64* %.reg2mem1
br i1 %34, label LBL_3, label LBL_4
LBL_4:
%35 = add i64 %0, 24
%36 = inttoptr i64 %35 to i64*
store i64 0, i64* %36, align 8
%37 = add i64 %0, 52
%38 = call i64 @FUNC(i64 %37)
%39 = trunc i64 %38 to i32
%40 = icmp eq i32 %39, 0
br i1 %40, label LBL_6, label LBL_5
LBL_5:
call void @__assert_fail(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))
br label LBL_6
LBL_6:
%41 = add i64 %0, 48
%42 = inttoptr i64 %41 to i32*
store i32 0, i32* %42, align 4
%43 = add i64 %0, 44
%44 = inttoptr i64 %43 to i32*
store i32 0, i32* %44, align 4
%45 = add i64 %0, 40
%46 = inttoptr i64 %45 to i32*
store i32 0, i32* %46, align 4
%47 = add i64 %0, 36
%48 = inttoptr i64 %47 to i32*
store i32 0, i32* %48, align 4
%49 = add i64 %0, 32
%50 = inttoptr i64 %49 to i32*
store i32 0, i32* %50, align 4
ret i64 %0
uselistorder i64 %.reload2, { 2, 1, 0 }
uselistorder i64* %7, { 1, 2, 0, 3, 4 }
uselistorder i64* %3, { 1, 0, 2, 3 }
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem1, { 2, 0, 1 }
uselistorder i1 false, { 2, 1, 3, 0 }
uselistorder i64 (i64)* @mmal_queue_get, { 1, 0 }
uselistorder i64 (i64)* @mmal_port_flush, { 2, 1, 0 }
uselistorder i64 (i64)* @mmal_port_disable, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | jswrap_graphics_setFontSizeX_10363 | jswrap_graphics_setFontSizeX | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0)
%2 = and i64 %1, 4294967295
%3 = xor i64 %2, 1
%4 = trunc i64 %3 to i8
%5 = icmp eq i8 %4, 0
%6 = icmp eq i1 %5, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %6, label LBL_6, label LBL_1
LBL_1:
%sext = mul i64 %arg2, 4294967296
%7 = ashr exact i64 %sext, 32
%8 = trunc i64 %arg3 to i8
%9 = icmp eq i8 %8, 0
store i64 %7, i64* %sv_0.1.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = trunc i64 %7 to i32
%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
%spec.select = select i1 %15, i64 %7, i64 1
%16 = trunc i64 %spec.select to i32
%17 = icmp slt i32 %16, 1024
%spec.select4 = select i1 %17, i64 %spec.select, i64 1023
store i64 %spec.select4, i64* %sv_0.1.reg2mem
br label LBL_3
LBL_3:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%18 = load i64, i64* %sv_1, align 8
%19 = trunc i64 %18 to i16
%20 = icmp eq i16 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = call i64 @FUNC(i64 %0, i64 1)
%23 = call i64 @FUNC(i64 %0, i64 2)
%24 = call i64 @FUNC(i64 %0, i64 3)
%25 = call i64 @FUNC(i64 %0, i64 4)
br label LBL_5
LBL_5:
%sext3 = mul i64 %sv_0.1.reload, 281474976710656
%26 = ashr exact i64 %sext3, 48
store i64 %26, i64* %sv_1, align 8
%27 = call i64 @FUNC(i64* nonnull %sv_1)
store i64 %27, 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 %10, { 1, 0 }
uselistorder i64 %7, { 1, 2, 0 }
uselistorder i64* %sv_1, { 0, 2, 3, 1 }
uselistorder i64 %0, { 3, 2, 1, 0, 4 }
uselistorder i64 (i64, i64)* @jsvObjectRemoveChild, { 3, 2, 1, 0 }
uselistorder i1 false, { 1, 2, 0, 3 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
CompRealVul | jme_alloc_and_feed_skb_3798 | jme_alloc_and_feed_skb | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = ashr exact i64 %sext, 28
%6 = add i64 %4, %5
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = add i64 %6, 12
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i64 %6, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = call i64 @FUNC(i64 %4, i32 %14, i32 %11, i64 0)
%16 = and i64 %arg2, 4294967295
%17 = call i64 @FUNC(i64 %0, i64 %16)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_2, label LBL_1
LBL_1:
%22 = load i32, i32* %10, align 4
%23 = load i32, i32* %13, align 4
%24 = load i64, i64* %3, align 8
%25 = call i64 @FUNC(i64 %24, i32 %23, i32 %22, i64 0)
%26 = mul i64 %0, 4294967296
%sext6 = add i64 %26, 4294967296
%27 = ashr exact i64 %sext6, 32
store i64 %27, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_2:
%28 = ashr exact i64 %sext, 31
%29 = add nsw i64 %28, %1
%30 = mul i64 %29, 4
%31 = add i64 %30, %0
%32 = inttoptr i64 %8 to i32*
%33 = inttoptr i64 %31 to i32*
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = call i64 @FUNC(i64 %35)
%37 = call i64 @FUNC(i64 %8, i64 0)
%38 = and i64 %36, 4294967295
%39 = call i64 @FUNC(i64 %8, i64 %38)
%40 = add i64 %0, 16
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = call i64 @FUNC(i64 %8, i64 %42)
%44 = trunc i64 %43 to i32
store i32 %44, i32* %32, align 4
%45 = add i64 %31, 4
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = zext i32 %47 to i64
%49 = call i64 @FUNC(i64 %48)
%50 = and i64 %49, 4294967295
%51 = call i64 @FUNC(i64 %0, i64 %50)
%52 = trunc i64 %51 to i32
%53 = icmp ne i32 %52, 0
%54 = add i64 %8, 4
%55 = inttoptr i64 %54 to i32*
%. = zext i1 %53 to i32
store i32 %., i32* %55, align 4
%56 = load i32, i32* %46, align 4
%57 = call i64 @FUNC(i64 1)
%58 = trunc i64 %57 to i32
%59 = and i32 %56, %58
%60 = icmp eq i32 %59, 0
br i1 %60, label LBL_6, label LBL_3
LBL_3:
%61 = add i64 %0, 40
%62 = inttoptr i64 %61 to i64*
%63 = load i64, i64* %62, align 8
%64 = icmp eq i64 %63, 0
br i1 %64, label LBL_5, label LBL_4
LBL_4:
%65 = add i64 %31, 8
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = zext i32 %67 to i64
%69 = call i64 @FUNC(i64 %68)
br label LBL_6
LBL_5:
%70 = call i64 @FUNC(i64 %8)
br label LBL_6
LBL_6:
%71 = call i64 @FUNC(i64 2)
%72 = call i64 @FUNC(i64 3)
store i64 %0, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%73 = and i64 %1, 4294967295
%74 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %73)
ret i64 %74
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %sext, { 1, 2, 0 }
uselistorder i64 %0, { 0, 3, 4, 5, 2, 1, 6, 7 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 }
uselistorder i64 (i64)* @le16_to_cpu, { 2, 1, 0 }
uselistorder i64 4, { 1, 2, 0 }
uselistorder i64 4294967295, { 2, 0, 1, 3, 4, 5 }
uselistorder i64 4294967296, { 2, 0, 1 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
} | 0 |
CompRealVul | icp_pit_init_14246 | icp_pit_init | define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = trunc i64 %arg1 to i32
%2 = call i64 @FUNC(i64 32)
%3 = inttoptr i64 %2 to i32*
store i32 %1, i32* %3, align 4
%sext = mul i64 %arg3, 4294967296
%4 = ashr exact i64 %sext, 29
%5 = add i64 %4, %0
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 40000000, i64 %7)
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = add i64 %5, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 1000000, i64 %13)
%15 = add i64 %2, 16
%16 = inttoptr i64 %15 to i64*
store i64 %14, i64* %16, align 8
%17 = add i64 %5, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 1000000, i64 %19)
%21 = add i64 %2, 24
%22 = inttoptr i64 %21 to i64*
store i64 %20, i64* %22, align 8
%23 = call i64 @FUNC(i64 0, i64 4198785, i64 4198792, i64 %2)
%24 = trunc i64 %23 to i32
%25 = and i64 %arg1, 4294967295
%26 = call i64 @FUNC(i64 %25, i64 4095, i32 %24)
ret i64 %26
uselistorder i64 (i64, i64)* @arm_timer_init, { 2, 1, 0 }
} | 1 |
CompRealVul | compute_mb_distortion_15744 | compute_mb_distortion | define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.5.reg2mem = alloca i32
%sv_0.410.reg2mem = alloca i32
%indvars.iv20.reg2mem = alloca i64
%sv_0.38.reg2mem = alloca i32
%storemerge29.reg2mem = alloca i32
%sv_0.26.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.115.reg2mem = alloca i32
%rsi.116.reg2mem = alloca i64
%indvars.iv26.reg2mem = alloca i64
%sv_0.012.reg2mem = alloca i32
%rsi.013.reg2mem = alloca i64
%indvars.iv23.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg3 to i64
%3 = ptrtoint i64* %arg2 to i64
%4 = add i64 %3, 24
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 24
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
store i64 0, i64* %indvars.iv26.reg2mem
store i64 %3, i64* %rsi.116.reg2mem
store i32 0, i32* %sv_0.115.reg2mem
br label LBL_3
LBL_1:
%sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem
%rsi.013.reload = load i64, i64* %rsi.013.reg2mem
%indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem
%10 = trunc i64 %indvars.iv23.reload to i32
%11 = add i32 %28, %10
%12 = sext i32 %11 to i64
%13 = add i64 %rsi.013.reload, %12
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = zext i8 %15 to i64
%17 = add i32 %29, %10
%18 = sext i32 %17 to i64
%19 = add nsw i64 %16, %18
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i64
%23 = sub nsw i64 %16, %22
%24 = mul nsw i64 %23, %23
%25 = trunc i64 %24 to i32
%26 = add i32 %sv_0.012.reload, %25
%indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1
%exitcond25 = icmp eq i64 %indvars.iv.next24, 16
store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem
store i64 %30, i64* %rsi.013.reg2mem
store i32 %26, i32* %sv_0.012.reg2mem
br i1 %exitcond25, label LBL_2, label LBL_1
LBL_2:
%indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1
%exitcond28 = icmp eq i64 %indvars.iv.next27, 16
store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem
store i64 %30, i64* %rsi.116.reg2mem
store i32 %26, i32* %sv_0.115.reg2mem
br i1 %exitcond28, label LBL_4, label LBL_3
LBL_3:
%sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem
%rsi.116.reload = load i64, i64* %rsi.116.reg2mem
%indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem
%27 = trunc i64 %indvars.iv26.reload to i32
%28 = mul i32 %6, %27
%29 = mul i32 %9, %27
%30 = zext i32 %29 to i64
store i64 0, i64* %indvars.iv23.reg2mem
store i64 %rsi.116.reload, i64* %rsi.013.reg2mem
store i32 %sv_0.115.reload, i32* %sv_0.012.reg2mem
br label LBL_1
LBL_4:
%31 = trunc i64 %1 to i32
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
store i64 1, i64* %indvars.iv20.reg2mem
store i32 %26, i32* %sv_0.410.reg2mem
store i32 %26, i32* %sv_0.5.reg2mem
br i1 %33, label LBL_10, label LBL_9
LBL_5:
%sv_0.26.reload = load i32, i32* %sv_0.26.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%34 = trunc i64 %indvars.iv.reload to i32
%35 = add i32 %52, %34
%36 = sext i32 %35 to i64
%37 = add i64 %57, %36
%38 = inttoptr i64 %37 to i8*
%39 = load i8, i8* %38, align 1
%40 = add i32 %53, %34
%41 = sext i32 %40 to i64
%42 = add i64 %64, %41
%43 = inttoptr i64 %42 to i8*
%44 = load i8, i8* %43, align 1
%45 = zext i8 %39 to i64
%46 = zext i8 %44 to i64
%47 = sub nsw i64 %45, %46
%48 = mul nsw i64 %47, %47
%49 = trunc i64 %48 to i32
%50 = add i32 %sv_0.26.reload, %49
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %50, i32* %sv_0.26.reg2mem
br i1 %exitcond, label LBL_6, label LBL_5
LBL_6:
%51 = add nuw nsw i32 %storemerge29.reload, 1
%exitcond19 = icmp eq i32 %51, 8
store i32 %51, i32* %storemerge29.reg2mem
store i32 %50, i32* %sv_0.38.reg2mem
br i1 %exitcond19, label LBL_8, label LBL_7
LBL_7:
%sv_0.38.reload = load i32, i32* %sv_0.38.reg2mem
%storemerge29.reload = load i32, i32* %storemerge29.reg2mem
%52 = mul i32 %storemerge29.reload, %61
%53 = mul i32 %storemerge29.reload, %67
store i64 0, i64* %indvars.iv.reg2mem
store i32 %sv_0.38.reload, i32* %sv_0.26.reg2mem
br label LBL_5
LBL_8:
%indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1
%exitcond22 = icmp eq i64 %indvars.iv.next21, 3
store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem
store i32 %50, i32* %sv_0.410.reg2mem
store i32 %50, i32* %sv_0.5.reg2mem
br i1 %exitcond22, label LBL_10, label LBL_9
LBL_9:
%sv_0.410.reload = load i32, i32* %sv_0.410.reg2mem
%indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem
%54 = mul i64 %indvars.iv20.reload, 8
%55 = add i64 %54, %3
%56 = inttoptr i64 %55 to i64*
%57 = load i64, i64* %56, align 8
%58 = mul i64 %indvars.iv20.reload, 4
%59 = add i64 %58, %4
%60 = inttoptr i64 %59 to i32*
%61 = load i32, i32* %60, align 4
%62 = add i64 %54, %2
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = add i64 %58, %7
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
store i32 0, i32* %storemerge29.reg2mem
store i32 %sv_0.410.reload, i32* %sv_0.38.reg2mem
br label LBL_7
LBL_10:
%sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem
%68 = zext i32 %sv_0.5.reload to i64
ret i64 %68
uselistorder i64 %58, { 1, 0 }
uselistorder i64 %54, { 1, 0 }
uselistorder i64 %indvars.iv20.reload, { 2, 1, 0 }
uselistorder i32 %storemerge29.reload, { 2, 1, 0 }
uselistorder i64 %30, { 1, 0 }
uselistorder i32 %29, { 1, 0 }
uselistorder i64 %indvars.iv26.reload, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64* %indvars.iv23.reg2mem, { 2, 1, 0 }
uselistorder i64* %rsi.013.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.012.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.26.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.38.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv20.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.410.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 3, 4, 0, 1, 2 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | qapi_dealloc_visitor_new_14566 | qapi_dealloc_visitor_new | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 128)
%1 = inttoptr i64 %0 to i64*
store i64 4198788, i64* %1, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 4198795, i64* %3, align 8
%4 = add i64 %0, 16
%5 = inttoptr i64 %4 to i64*
store i64 4198802, i64* %5, align 8
%6 = add i64 %0, 24
%7 = inttoptr i64 %6 to i64*
store i64 4198809, i64* %7, align 8
%8 = add i64 %0, 32
%9 = inttoptr i64 %8 to i64*
store i64 4198816, i64* %9, align 8
%10 = add i64 %0, 40
%11 = inttoptr i64 %10 to i64*
store i64 4198823, i64* %11, align 8
%12 = add i64 %0, 48
%13 = inttoptr i64 %12 to i64*
store i64 4198830, i64* %13, align 8
%14 = add i64 %0, 56
%15 = inttoptr i64 %14 to i64*
store i64 4198837, i64* %15, align 8
%16 = add i64 %0, 64
%17 = inttoptr i64 %16 to i64*
store i64 4198844, i64* %17, align 8
%18 = add i64 %0, 72
%19 = inttoptr i64 %18 to i64*
store i64 4198851, i64* %19, align 8
%20 = add i64 %0, 80
%21 = inttoptr i64 %20 to i64*
store i64 4198858, i64* %21, align 8
%22 = add i64 %0, 88
%23 = inttoptr i64 %22 to i64*
store i64 4198865, i64* %23, align 8
%24 = add i64 %0, 96
%25 = inttoptr i64 %24 to i64*
store i64 4198872, i64* %25, align 8
%26 = add i64 %0, 104
%27 = inttoptr i64 %26 to i64*
store i64 4198879, i64* %27, align 8
%28 = add i64 %0, 112
%29 = inttoptr i64 %28 to i64*
store i64 4198886, i64* %29, align 8
%30 = add i64 %0, 120
%31 = inttoptr i64 %30 to i64*
store i64 0, i64* %31, align 8
ret i64 %0
} | 1 |
CompRealVul | shmem_remount_fs_10160 | shmem_remount_fs | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.in.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
store i64 %3, i64* %sv_1, align 8
%4 = add i64 %1, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_1, i64 1)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
store i64 4294967274, i64* %storemerge.in.reg2mem
br i1 %9, label LBL_1, label LBL_8
LBL_1:
%10 = add i64 %1, 32
%11 = call i64 @FUNC(i64 %10)
%12 = load i64, i64* %2, align 8
%13 = add i64 %1, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = sub i64 %12, %15
%17 = add i64 %1, 40
%18 = call i64 @FUNC(i64 %17, i64 %6)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
%21 = icmp slt i32 %19, 0
%22 = icmp eq i1 %21, false
%23 = icmp eq i1 %20, false
%24 = icmp eq i1 %22, %23
%25 = load i64, i64* %sv_1, align 8
%26 = icmp ugt i64 %16, %25
%or.cond = or i1 %26, %24
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_7, label LBL_2
LBL_2:
%27 = icmp eq i64 %6, 0
br i1 %27, label LBL_4, label LBL_3
LBL_3:
%28 = load i64, i64* %5, align 8
%29 = icmp eq i64 %28, 0
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %29, label LBL_7, label LBL_4
LBL_4:
%30 = icmp eq i64 %25, 0
br i1 %30, label LBL_6, label LBL_5
LBL_5:
%31 = load i64, i64* %2, align 8
%32 = icmp eq i64 %31, 0
store i64 4294967274, i64* %sv_0.0.reg2mem
br i1 %32, label LBL_7, label LBL_6
LBL_6:
store i64 %6, i64* %5, align 8
%33 = load i64, i64* %sv_1, align 8
store i64 %33, i64* %2, align 8
%34 = load i64, i64* %sv_1, align 8
%35 = sub i64 %34, %16
store i64 %35, i64* %14, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%36 = call i64 @FUNC(i64 %10)
store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem
br label LBL_8
LBL_8:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = and i64 %storemerge.in.reload, 4294967295
ret i64 %storemerge
uselistorder i32 %19, { 1, 0 }
uselistorder i64 %16, { 1, 0 }
uselistorder i64* %5, { 1, 0, 2 }
uselistorder i64* %2, { 1, 0, 2, 3 }
uselistorder i64 %1, { 0, 2, 1, 4, 3 }
uselistorder i64* %sv_1, { 2, 3, 0, 1, 4 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 4294967274, { 2, 1, 3, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
CompRealVul | ccp_aes_cmac_import_4737 | ccp_aes_cmac_import | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 96)
%3 = inttoptr i64 %1 to i64*
%4 = call i64* @memset(i64* %3, i32 0, i32 96)
%5 = load i64, i64* %sv_0, align 8
%6 = trunc i64 %5 to i32
%7 = inttoptr i64 %1 to i32*
store i32 %6, i32* %7, align 4
%8 = add i64 %1, 4
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %1, 12
%11 = inttoptr i64 %10 to i64*
%12 = add i64 %1, 24
%13 = inttoptr i64 %12 to i64*
%14 = add i64 %1, 32
%15 = inttoptr i64 %14 to i64*
%16 = add i64 %1, 40
%17 = inttoptr i64 %16 to i64*
%18 = add i64 %1, 48
%19 = inttoptr i64 %18 to i64*
%20 = add i64 %1, 56
%21 = inttoptr i64 %20 to i64*
%22 = add i64 %1, 64
%23 = inttoptr i64 %22 to i64*
%24 = add i64 %1, 72
%25 = inttoptr i64 %24 to i64*
%26 = add i64 %1, 80
%27 = inttoptr i64 %26 to i64*
%28 = add i64 %1, 88
%29 = inttoptr i64 %28 to i64*
ret i64 0
uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 8, 9, 7, 10, 11, 12 }
uselistorder i64* %sv_0, { 1, 0 }
} | 0 |
CompRealVul | scm_send_3646 | scm_send | define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %arg4 to i8
%3 = icmp eq i8 %2, 0
br i1 %3, label LBL_0.LBL_3_crit_edge, label LBL_2
LBL_1:
%.pre = ptrtoint i32* %arg3 to i64
store i64 %.pre, i64* %.pre-phi.reg2mem
br label LBL_3
LBL_2:
%4 = call i64 @FUNC()
%5 = load i64, i64* @gv_0, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = ptrtoint i32* %arg3 to i64
%8 = and i64 %6, 4294967295
%9 = call i64 @FUNC(i64 %7, i64 %8, i64 %4)
store i64 %7, i64* %.pre-phi.reg2mem
br label LBL_3
LBL_3:
%10 = ptrtoint i64* %arg1 to i64
%11 = trunc i64 %1 to i32
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%12 = call i64 @FUNC(i64 %10, i64 %.pre-phi.reload)
%13 = icmp eq i32 %11, 0
%14 = icmp slt i32 %11, 0
%15 = icmp eq i1 %14, false
%16 = icmp eq i1 %13, false
%17 = icmp eq i1 %15, %16
store i64 0, i64* %storemerge.reg2mem
br i1 %17, label LBL_4, label LBL_5
LBL_4:
%18 = ptrtoint i32* %arg2 to i64
%19 = call i64 @FUNC(i64 %10, i64 %18, i64 %.pre-phi.reload)
store i64 %19, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32* %arg3, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | mp3info_15460 | mp3info | define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i32* %arg1 to i64
%5 = trunc i64 %1 to i32
%6 = mul i32 %5, 16777216
%7 = add i64 %4, 1
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = zext i8 %9 to i32
%11 = mul i32 %10, 65536
%12 = or i32 %11, %6
%13 = add i64 %4, 2
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14, align 1
%16 = add i64 %4, 3
%17 = inttoptr i64 %16 to i8*
%18 = load i8, i8* %17, align 1
%19 = udiv i32 %10, 2
%20 = urem i32 %19, 4
%21 = xor i32 %20, 3
%22 = mul i32 %21, 4
%23 = zext i32 %22 to i64
%24 = add i64 %23, ptrtoint (i32** @gv_0 to i64)
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp ugt i32 %12, -2097153
store i64 0, i64* %storemerge.reg2mem
br i1 %27, label LBL_1, label LBL_9
LBL_1:
%28 = zext i8 %15 to i32
%29 = udiv i32 %28, 2
%30 = urem i32 %29, 2
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_3, label LBL_2
LBL_2:
%33 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))
call void @exit(i32 0)
unreachable
LBL_3:
%34 = udiv i32 %28, 16
%35 = udiv i32 %28, 4
%36 = urem i32 %35, 4
%37 = icmp ugt i8 %18, -65
%38 = zext i1 %37 to i32
%39 = bitcast i64* %arg5 to i32*
store i32 %38, i32* %39, align 4
%40 = and i32 %10, 8
%41 = icmp eq i32 %40, 0
br i1 %41, label LBL_5, label LBL_4
LBL_4:
%42 = mul i32 %36, 4
%43 = zext i32 %42 to i64
%44 = add i64 %43, ptrtoint (i32** @gv_2 to i64)
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = bitcast i64* %arg4 to i32*
store i32 %46, i32* %47, align 4
%48 = mul i32 %21, 16
%49 = or i32 %48, %34
%50 = mul i32 %49, 4
%51 = zext i32 %50 to i64
%52 = add i64 %51, ptrtoint (i32** @gv_3 to i64)
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = add i64 %23, ptrtoint (i32** @gv_4 to i64)
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = bitcast i64* %arg3 to i32*
store i32 %57, i32* %58, align 4
store i32 %54, i32* %sv_0.0.in.reg2mem
br label LBL_8
LBL_5:
%59 = and i32 %10, 16
%60 = icmp eq i32 %59, 0
%61 = mul i32 %36, 4
%62 = zext i32 %61 to i64
br i1 %60, label LBL_7, label LBL_6
LBL_6:
%63 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 16)
%64 = inttoptr i64 %63 to i32*
%65 = load i32, i32* %64, align 4
%66 = bitcast i64* %arg4 to i32*
store i32 %65, i32* %66, align 4
%67 = mul i32 %21, 16
%68 = or i32 %67, %34
%69 = mul i32 %68, 4
%70 = zext i32 %69 to i64
%71 = add i64 %70, add (i64 ptrtoint (i32** @gv_3 to i64), i64 256)
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 16)
%75 = inttoptr i64 %74 to i32*
%76 = load i32, i32* %75, align 4
%77 = bitcast i64* %arg3 to i32*
store i32 %76, i32* %77, align 4
store i32 %73, i32* %sv_0.0.in.reg2mem
br label LBL_8
LBL_7:
%78 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 32)
%79 = inttoptr i64 %78 to i32*
%80 = load i32, i32* %79, align 4
%81 = bitcast i64* %arg4 to i32*
store i32 %80, i32* %81, align 4
%82 = mul i32 %21, 16
%83 = or i32 %82, %34
%84 = mul i32 %83, 4
%85 = zext i32 %84 to i64
%86 = add i64 %85, add (i64 ptrtoint (i32** @gv_3 to i64), i64 256)
%87 = inttoptr i64 %86 to i32*
%88 = load i32, i32* %87, align 4
%89 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 32)
%90 = inttoptr i64 %89 to i32*
%91 = load i32, i32* %90, align 4
%92 = bitcast i64* %arg3 to i32*
store i32 %91, i32* %92, align 4
store i32 %88, i32* %sv_0.0.in.reg2mem
br label LBL_8
LBL_8:
%93 = trunc i64 %2 to i32
%sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem
%sv_0.0 = mul i32 %sv_0.0.in.reload, 1000
%94 = ashr i32 %sv_0.0, 31
%95 = zext i32 %sv_0.0 to i64
%96 = zext i32 %94 to i64
%97 = mul i64 %96, 4294967296
%98 = or i64 %97, %95
%99 = zext i32 %26 to i64
%100 = sdiv i64 %98, %99
%101 = trunc i64 %100 to i32
%102 = mul i32 %101, %93
%103 = ashr i32 %102, 31
%104 = zext i32 %102 to i64
%105 = zext i32 %103 to i64
%106 = mul i64 %105, 4294967296
%107 = or i64 %106, %104
%108 = and i64 %3, 4294967295
%109 = sdiv i64 %107, %108
%110 = trunc i64 %109 to i32
%111 = add i32 %30, %110
%112 = mul i32 %111, %26
%113 = bitcast i64* %arg2 to i32*
store i32 %112, i32* %113, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %34, { 2, 1, 0 }
uselistorder i32 %30, { 1, 0 }
uselistorder i32 %28, { 1, 2, 0 }
uselistorder i64 %23, { 2, 1, 0, 3 }
uselistorder i32 %10, { 2, 3, 1, 0 }
uselistorder i32* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32 16, { 0, 1, 4, 2, 3 }
uselistorder i32 4, { 0, 1, 2, 3, 4, 7, 6, 5, 8 }
uselistorder i32 2, { 2, 0, 1 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
CompRealVul | timerqueue_del_6357 | timerqueue_del | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
%3 = and i64 %2, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %0, i64 %1)
%6 = call i64 @FUNC(i64 %0)
%7 = call i64 @FUNC(i64 %1)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i64
%11 = and i64 %7, -256
%12 = or i64 %11, %10
ret i64 %12
uselistorder i64 %7, { 1, 0 }
} | 0 |
CompRealVul | pci_pcnet_init_14091 | pci_pcnet_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 6
%2 = call i64 @FUNC(i64 %1, i64 96)
%3 = add i64 %0, 44
%4 = call i64 @FUNC(i64 %3, i64 0)
%5 = add i64 %0, 46
%6 = call i64 @FUNC(i64 %5, i64 0)
%7 = add i64 %0, 61
%8 = inttoptr i64 %7 to i8*
store i8 1, i8* %8, align 1
%9 = add i64 %0, 62
%10 = inttoptr i64 %9 to i8*
store i8 6, i8* %10, align 1
%11 = add i64 %0, 63
%12 = inttoptr i64 %11 to i8*
store i8 -1, i8* %12, align 1
%13 = call i64 @FUNC(i64 %0)
%14 = add i64 %0, 8
%15 = call i64 @FUNC(i64 %14, i64 %13, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4096)
%16 = call i64 @FUNC(i64 %0)
%17 = add i64 %0, 40
%18 = call i64 @FUNC(i64 %17, i64 %16, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 256)
%19 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 %17)
%20 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 %14)
%21 = call i64 @FUNC(i64 %0)
%22 = trunc i64 %21 to i32
%23 = bitcast i64* %arg1 to i32*
store i32 %22, i32* %23, align 4
%24 = load i64, i64* @gv_4, align 8
%25 = add i64 %0, 16
%26 = inttoptr i64 %25 to i64*
store i64 %24, i64* %26, align 8
%27 = load i64, i64* @gv_5, align 8
%28 = add i64 %0, 24
%29 = inttoptr i64 %28 to i64*
store i64 %27, i64* %29, align 8
%30 = add i64 %0, 32
%31 = inttoptr i64 %30 to i64*
store i64 %0, i64* %31, align 8
%32 = call i64 @FUNC(i64 %0)
%33 = call i64 @FUNC(i64 %32, i64 %0, i64* nonnull @gv_6)
ret i64 %33
uselistorder i64 %0, { 20, 4, 3, 19, 18, 17, 2, 1, 0, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5 }
uselistorder i64 (i64, i64, i64, i64)* @pci_register_bar, { 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 1, 0 }
uselistorder i64 (i64)* @OBJECT, { 1, 0 }
uselistorder i64 (i64, i64)* @pci_set_word, { 2, 1, 0 }
} | 1 |
CompRealVul | tlb_flush_by_mmuidx_async_work_2324 | tlb_flush_by_mmuidx_async_work | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rsi.0.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 %arg2, i64* %sv_0, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = call i64 @FUNC()
%8 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1)
%9 = ptrtoint i64* %sv_0 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%10 = call i64 @FUNC(i64 %indvars.iv.reload, i64* nonnull %sv_0)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 %9, i64* %rdx.0.reg2mem
store i64 %9, i64* %rsi.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %indvars.iv.reload, i64 %9, i64 %4, i64 %2, i64 %1)
%14 = mul i64 %indvars.iv.reload, 8
%15 = add i64 %14, %5
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i64*
%19 = call i64* @memset(i64* %18, i32 -1, i32 8)
%20 = add i64 %15, 128
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = inttoptr i64 %22 to i64*
%24 = call i64* @memset(i64* %23, i32 -1, i32 8)
store i64 8, i64* %rdx.0.reg2mem
store i64 4294967295, i64* %rsi.0.reg2mem
br label LBL_3
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%25 = call i64 @FUNC(i64 %5)
%26 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1)
%27 = call i64 @FUNC()
ret i64 %27
uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 }
uselistorder i64 %9, { 2, 0, 1 }
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %4, { 2, 1, 0 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @tlb_debug, { 1, 2, 0 }
} | 0 |
CompRealVul | device_init_6824 | device_init | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i32
%0 = call i64 @FUNC(i64 0)
%1 = call i64 @FUNC(i64 0)
%2 = call i64 @FUNC()
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2
LBL_1:
%.pre = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 %.pre, i32* %.reg2mem
br label LBL_3
LBL_2:
%6 = call i64 @FUNC()
%7 = trunc i64 %6 to i32
store i32 %7, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 %7, i32* %.reg2mem
br label LBL_3
LBL_3:
%.reload = load i32, i32* %.reg2mem
%8 = icmp eq i32 %.reload, 1
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_5, label LBL_4
LBL_4:
%10 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))
store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8
store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8
br label LBL_6
LBL_5:
%11 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))
%12 = call i64 @FUNC(i64 1)
store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8
%13 = call i64 @FUNC()
br label LBL_6
LBL_6:
%14 = call i64 @FUNC()
%15 = call i64 @FUNC()
%16 = call i64 @FUNC()
%17 = call i64 @FUNC()
ret i64 %17
uselistorder i64 1, { 2, 0, 1 }
uselistorder i64 (i8*, i8*)* @printf1, { 1, 0 }
uselistorder i32* bitcast (i64* @gv_0 to i32*), { 1, 0 }
uselistorder i64 (i64)* @hw_init, { 1, 0 }
uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | alc_cap_getput_caller_4544 | alc_cap_getput_caller | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i64*
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg4 to i8
%2 = call i64 @FUNC(i64 %0)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = add i64 %2, 8
%6 = call i64 @FUNC(i64 %5)
%7 = icmp eq i8 %1, 0
br i1 %7, label LBL_6, label LBL_1
LBL_1:
%8 = inttoptr i64 %4 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_6, label LBL_2
LBL_2:
%11 = add i64 %4, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 0
store i64* null, i64** %sv_0.1.reg2mem
br i1 %14, label LBL_7, label LBL_3
LBL_3:
%15 = add i64 %4, 8
%16 = inttoptr i64 %15 to i64*
%17 = bitcast i64* %arg1 to i32*
%18 = trunc i64 %0 to i32
%19 = and i64 %0, 4294967295
%20 = inttoptr i64 %19 to i64*
%21 = icmp slt i32 %18, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
br label LBL_4
LBL_4:
%.reload = load i64, i64* %.reg2mem
%22 = load i64, i64* %16, align 8
%23 = mul i64 %.reload, 4
%24 = add i64 %22, %23
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = zext i32 %26 to i64
%28 = call i64 @FUNC(i64 %27, i64 3, i64 0, i64 0)
%29 = trunc i64 %28 to i32
store i32 %29, i32* %17, align 4
store i64* %20, i64** %sv_0.1.reg2mem
br i1 %21, label LBL_7, label LBL_5
LBL_5:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%30 = add i32 %storemerge3.reload, 1
%31 = load i32, i32* %12, align 4
%32 = zext i32 %31 to i64
%33 = sext i32 %30 to i64
%34 = icmp slt i64 %33, %32
store i64 %33, i64* %.reg2mem
store i32 %30, i32* %storemerge3.reg2mem
store i64* %20, i64** %sv_0.1.reg2mem
br i1 %34, label LBL_4, label LBL_7
LBL_6:
%35 = ptrtoint i64* %arg2 to i64
%36 = call i64 @FUNC(i64 %0, i64 %35)
%37 = add i64 %4, 8
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%sext = mul i64 %36, 4294967296
%40 = ashr exact i64 %sext, 30
%41 = add i64 %40, %39
%42 = inttoptr i64 %41 to i32*
%43 = load i32, i32* %42, align 4
%44 = zext i32 %43 to i64
%45 = call i64 @FUNC(i64 %44, i64 3, i64 0, i64 0)
%46 = trunc i64 %45 to i32
%47 = bitcast i64* %arg1 to i32*
store i32 %46, i32* %47, align 4
%48 = and i64 %0, 4294967295
%49 = inttoptr i64 %48 to i64*
store i64* %49, i64** %sv_0.1.reg2mem
br label LBL_7
LBL_7:
%sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem
%50 = call i64 @FUNC(i64 %5)
%51 = ptrtoint i64* %sv_0.1.reload to i64
%52 = and i64 %51, 4294967295
ret i64 %52
uselistorder i32* %12, { 1, 0 }
uselistorder i64 %0, { 2, 3, 1, 0, 4 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64** %sv_0.1.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 (i64, i64, i64, i64)* @HDA_COMPOSE_AMP_VAL, { 1, 0 }
uselistorder i64 4294967295, { 2, 0, 1 }
uselistorder i32 0, { 0, 2, 1, 3 }
uselistorder label LBL_7, { 3, 0, 1, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
CompRealVul | decode_mime_header_15155 | decode_mime_header | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i8
%4 = udiv i8 %3, 8
%5 = urem i8 %4, 16
%6 = zext i8 %5 to i32
%7 = bitcast i64* %arg1 to i32*
store i32 %6, i32* %7, align 4
%8 = and i8 %3, 4
%9 = icmp eq i8 %8, 0
%10 = zext i1 %9 to i32
%11 = add i64 %2, 4
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
ret i64 1
uselistorder i8 %3, { 1, 0 }
} | 1 |
CompRealVul | alloc_bottom_6331 | alloc_bottom | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2)
%1 = load i64, i64* @gv_0, align 8
%2 = add i64 %1, %arg1
store i64 %2, i64* @gv_0, align 8
%3 = load i64, i64* @gv_1, align 8
%4 = icmp ugt i64 %2, %3
store i64 %1, i64* %.lcssa.reg2mem
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = call i64 @FUNC(i64 %arg1)
%6 = call i64 @FUNC()
%7 = call i64 @FUNC(i64 %arg2)
%8 = load i64, i64* @gv_0, align 8
%9 = add i64 %8, %arg1
store i64 %9, i64* @gv_0, align 8
%10 = load i64, i64* @gv_1, align 8
%11 = icmp ugt i64 %9, %10
store i64 %8, i64* %.lcssa.reg2mem
br i1 %11, label LBL_1, label LBL_2
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 (i64)* @align_bottom, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder i64 %arg1, { 0, 2, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | ssh_sent_8204 | ssh_sent | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = icmp sgt i32 %0, 1023
store i64 %arg1, i64* %rax.0.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %arg1, i64 0, i32 %0)
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 i32 1, { 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
} | 0 |
CompRealVul | mov_metadata_creation_time_10548 | mov_metadata_creation_time | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = icmp eq i64 %arg2, 0
br i1 %3, label LBL_4, label LBL_1
LBL_1:
%4 = icmp slt i64 %arg2, 2082844800
%5 = add i64 %arg2, -2082844800
%spec.select = select i1 %4, i64 %arg2, i64 %5
%6 = mul i64 %spec.select, 1000000
%7 = lshr i64 %6, 63
%8 = icmp eq i64 %spec.select, %7
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = ashr i64 %6, 63
%10 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1)
store i64 %10, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%11 = ptrtoint i64* %arg1 to i64
%12 = sext i64 %6 to i128
%13 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i128 %12)
store i64 %13, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 2, 1, 0 }
uselistorder i64 %spec.select, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 63, { 1, 0 }
} | 0 |
CompRealVul | tcp_chr_read_3503 | tcp_chr_read | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_10, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = zext i32 %7 to i64
%9 = icmp slt i32 %7, 1
store i64 %8, i64* %rax.0.reg2mem
br i1 %9, label LBL_10, label LBL_2
LBL_2:
%10 = icmp ult i32 %7, 1024
%spec.select = select i1 %10, i32 %7, i32 1024
%11 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 %spec.select)
%12 = trunc i64 %11 to i32
store i32 %12, i32* %sv_0, align 4
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_6, label LBL_3
LBL_3:
%15 = bitcast i64* %arg1 to i32*
store i32 0, i32* %15, align 4
%16 = add i64 %4, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = zext i32 %18 to i64
%21 = call i64 @FUNC(i64 %20, i64 4198771, i64 0, i64 %4)
br label LBL_5
LBL_5:
%22 = add i64 %4, 12
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = zext i32 %24 to i64
%26 = call i64 @FUNC(i64 %25, i64 0, i64 0, i64 0)
%27 = load i32, i32* %23, align 4
%28 = zext i32 %27 to i64
%29 = call i64 @FUNC(i64 %28)
store i32 -1, i32* %23, align 4
%30 = call i64 @FUNC(i64 %4, i64 1)
store i64 %30, i64* %rax.0.reg2mem
br label LBL_10
LBL_6:
%31 = and i64 %11, 4294967295
%32 = icmp slt i32 %12, 1
store i64 %31, i64* %rax.0.reg2mem
br i1 %32, label LBL_10, label LBL_7
LBL_7:
%33 = add i64 %4, 16
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = icmp eq i32 %35, 0
store i32 %12, i32* %.reg2mem
br i1 %36, label LBL_9, label LBL_8
LBL_8:
%37 = call i64 @FUNC(i64 %4, i64 %4, i64* nonnull %sv_1, i32* nonnull %sv_0)
%.pre = load i32, i32* %sv_0, align 4
%38 = zext i32 %.pre to i64
%39 = icmp slt i32 %.pre, 1
store i32 %.pre, i32* %.reg2mem
store i64 %38, i64* %rax.0.reg2mem
br i1 %39, label LBL_10, label LBL_9
LBL_9:
%.reload = load i32, i32* %.reg2mem
%40 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i32 %.reload)
store i64 %40, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %4, { 5, 7, 4, 6, 1, 2, 0, 3, 8, 9 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 }
uselistorder i64 (i64, i64, i64, i64)* @qemu_set_fd_handler, { 1, 0 }
uselistorder label LBL_10, { 2, 3, 4, 5, 1, 0 }
uselistorder label LBL_9, { 1, 0 }
} | 0 |
CompRealVul | vmlinux_path__exit_18293 | vmlinux_path__exit | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i32, i32* @gv_0, align 4
%1 = add i32 %0, -1
store i32 %1, i32* @gv_0, align 4
%2 = icmp slt i32 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = add i64 %6, ptrtoint (i64* @gv_1 to i64)
%8 = call i64 @FUNC(i64 %7)
%9 = load i32, i32* @gv_0, align 4
%10 = add i32 %9, -1
store i32 %10, i32* @gv_0, align 4
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_1, label LBL_2
LBL_2:
%13 = call i64 @FUNC(i64 ptrtoint (i64* @gv_1 to i64))
ret i64 %13
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i32 -1, { 1, 0 }
uselistorder i32* @gv_0, { 3, 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | bitxor_12425 | bitxor | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 %arg1, i64 %0)
store i64 %1, i64* %storemerge.reg2mem
br label LBL_1
LBL_1:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%2 = call i64 @FUNC(i64 %arg1, i64 94)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_2:
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }
} | 1 |
CompRealVul | relay_file_read_start_pos_12958 | relay_file_read_start_pos | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.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 = udiv i64 %3, %0
%5 = mul i64 %4, 8
%6 = add i64 %0, 24
%7 = add i64 %6, %5
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %4, 1
%11 = mul i64 %10, %0
%12 = sub i64 %11, %9
%13 = icmp ult i64 %3, %12
%14 = icmp ult i64 %3, %11
%15 = icmp eq i1 %14, false
%or.cond = or i1 %13, %15
store i64 %3, i64* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%16 = add i64 %0, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = urem i64 %10, %18
%20 = mul i64 %19, %0
store i64 %20, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %10, { 1, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %0, { 0, 5, 1, 2, 3, 4 }
} | 1 |
CompRealVul | gen_rsr_ccount_15792 | gen_rsr_ccount | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %arg2, 4294967295
%3 = urem i64 %1, 2
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC()
%6 = load i64, i64* @gv_0, align 8
%7 = call i64 @FUNC(i64 %6)
%8 = zext i32 %arg3 to i64
%9 = mul i64 %8, 4
%10 = add i64 %9, ptrtoint (i32** @gv_1 to i64)
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64 %2, i64 %13)
%15 = call i64 @FUNC()
store i64 1, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%16 = load i64, i64* @gv_0, align 8
%17 = call i64 @FUNC(i64 %16)
%18 = zext i32 %arg3 to i64
%19 = mul i64 %18, 4
%20 = add i64 %19, ptrtoint (i32** @gv_1 to i64)
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %2, i64 %23)
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
} | 1 |
CompRealVul | bigben_remove_12472 | bigben_remove | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i8*
store i8 1, i8* %2, align 1
%3 = add i64 %1, 4
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %0)
ret i64 %5
} | 1 |
CompRealVul | spl_filesystem_dir_it_current_data_6521 | spl_filesystem_dir_it_current_data | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
store i64 %1, i64* %arg2, align 8
ret i64 %0
} | 0 |
CompRealVul | timer_del_14283 | timer_del | 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, i64 %0)
%3 = call i64 @FUNC(i64 %0)
ret i64 %3
uselistorder i64 %0, { 1, 0, 2, 3 }
} | 1 |
CompRealVul | qcow2_co_flush_to_os_14989 | qcow2_co_flush_to_os | 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 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %0, i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %0)
%10 = and i64 %5, 4294967295
ret i64 %10
LBL_2:
%11 = add i64 %0, 16
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %0, i64 %13)
%15 = trunc i64 %14 to i32
%16 = icmp slt i32 %15, 0
%17 = icmp eq i1 %16, false
%18 = call i64 @FUNC(i64 %0)
%19 = and i64 %14, 4294967295
%spec.select = select i1 %17, i64 0, i64 %19
ret i64 %spec.select
uselistorder i64 (i64)* @qemu_co_mutex_unlock, { 1, 0 }
uselistorder i64 (i64, i64)* @qcow2_cache_flush, { 1, 0 }
} | 1 |
CompRealVul | teletext_init_decoder_1609 | teletext_init_decoder | 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
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%sv_2 = alloca i32, align 4
%5 = bitcast i32* %sv_0 to i64*
%6 = bitcast i32* %sv_1 to i64*
%7 = bitcast i32* %sv_2 to i64*
%8 = call i64 @FUNC(i64* nonnull %5, i64* nonnull %6, i64* nonnull %7)
%9 = load i32, i32* %sv_0, align 4
%10 = icmp eq i32 %9, 0
%11 = load i32, i32* %sv_1, align 4
%12 = icmp ult i32 %11, 3
%or.cond = icmp eq i1 %10, %12
br i1 %or.cond, label LBL_1, label LBL_3
LBL_1:
%13 = icmp eq i32 %11, 2
%14 = icmp eq i1 %13, false
%15 = load i32, i32* %sv_2, align 4
%16 = icmp ult i32 %15, 26
%or.cond6 = or i1 %14, %16
br i1 %or.cond6, label LBL_2, label LBL_3
LBL_2:
%17 = ptrtoint i32* %sv_1 to i64
%18 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%19 = trunc i64 %3 to i32
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
%.pre = add i64 %4, 8
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = inttoptr i64 %.pre to i32*
store i32 328, i32* %22, align 4
%23 = add i64 %4, 12
%24 = inttoptr i64 %23 to i32*
store i32 400, i32* %24, align 4
br label LBL_5
LBL_5:
%25 = bitcast i64* %rdi to i32*
%26 = inttoptr i64 %.pre to i64*
store i64 0, i64* %26, align 8
%27 = add i64 %4, 16
%28 = inttoptr i64 %27 to i32*
store i32 0, i32* %28, align 4
%29 = add i64 %4, 20
%30 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %2, i64 %1)
%31 = load i32, i32* %25, align 8
%32 = icmp eq i32 %31, 1
%33 = icmp eq i1 %32, false
store i64 0, i64* %rax.0.reg2mem
br i1 %33, label LBL_7, label LBL_6
LBL_6:
%34 = call i64 @FUNC(i64 %4)
store i64 %34, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %sv_1, { 1, 0, 2 }
uselistorder i64 %4, { 2, 3, 4, 5, 1, 0, 6 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
CompRealVul | SSL_callback_ctrl_8928 | SSL_callback_ctrl | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg2 to i32
%2 = icmp eq i32 %1, 1
%3 = icmp eq i1 %2, false
store i64 %0, i64* %storemerge.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
store i64 %arg3, i64* %arg1, align 8
store i64 1, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | ahci_init_d2h_14272 | ahci_init_d2h | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i8
%3 = urem i64 %1, 256
%4 = icmp eq i8 %2, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_3, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i8
%9 = icmp eq i8 %8, 0
store i64 %7, i64* %rax.0.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = add i64 %6, 8
%11 = inttoptr i64 %10 to i32*
%12 = add i64 %6, 4
%13 = inttoptr i64 %12 to i32*
%14 = bitcast i64* %arg1 to i8*
store i8 1, i8* %14, align 1
%15 = load i32, i32* %11, align 4
%16 = mul i32 %15, 16777216
%17 = add i64 %6, 12
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = mul i32 %19, 65536
%21 = or i32 %20, %16
%22 = add i64 %6, 16
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = mul i32 %24, 256
%26 = or i32 %21, %25
%27 = add i64 %6, 20
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = urem i32 %29, 256
%31 = or i32 %26, %30
store i32 %31, i32* %13, align 4
store i64 %12, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 0, 1, 2, 4, 5, 3 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32 256, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
} | 1 |
CompRealVul | r_bin_java_line_number_table_attr_new_5564 | r_bin_java_line_number_table_attr_new | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.06.reg2mem = alloca i32
%storemerge47.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_5
LBL_1:
%4 = inttoptr i64 %1 to i32*
store i32 0, i32* %4, align 4
%5 = add i64 %0, 6
%6 = inttoptr i64 %5 to i8*
%7 = load i8, i8* %6, align 1
%8 = zext i8 %7 to i32
%9 = mul i32 %8, 256
%10 = add i64 %0, 7
%11 = inttoptr i64 %10 to i8*
%12 = load i8, i8* %11, align 1
%13 = zext i8 %12 to i32
%14 = or i32 %9, %13
%15 = add i64 %1, 8
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%17 = call i64 @FUNC(i64 4198835)
%18 = add i64 %1, 16
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
%20 = load i32, i32* %16, align 4
%21 = icmp eq i32 %20, 0
store i32 0, i32* %storemerge47.reg2mem
store i32 8, i32* %sv_0.06.reg2mem
store i32 8, i32* %sv_0.0.lcssa.reg2mem
br i1 %21, label LBL_4, label LBL_2
LBL_2:
%sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem
%22 = sext i32 %sv_0.06.reload to i64
%23 = call i64* @calloc(i32 1, i32 24)
%24 = icmp eq i64* %23, null
%25 = add nsw i64 %22, -2
%26 = icmp ugt i64 %25, %arg2
%or.cond = or i1 %24, %26
store i32 %sv_0.06.reload, i32* %sv_0.0.lcssa.reg2mem
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%storemerge47.reload = load i32, i32* %storemerge47.reg2mem
%27 = bitcast i64* %23 to i32*
%28 = add i64 %22, %arg3
%29 = add i64 %22, %0
%30 = inttoptr i64 %29 to i8*
%31 = load i8, i8* %30, align 1
%32 = zext i8 %31 to i32
%33 = mul i32 %32, 256
%34 = or i64 %22, 1
%35 = add i64 %34, %0
%36 = inttoptr i64 %35 to i8*
%37 = load i8, i8* %36, align 1
%38 = zext i8 %37 to i32
%39 = or i32 %33, %38
store i32 %39, i32* %27, align 4
%40 = or i64 %22, 2
%41 = add i64 %40, %0
%42 = inttoptr i64 %41 to i8*
%43 = load i8, i8* %42, align 1
%44 = zext i8 %43 to i32
%45 = mul i32 %44, 256
%46 = or i64 %22, 3
%47 = add i64 %46, %0
%48 = inttoptr i64 %47 to i8*
%49 = load i8, i8* %48, align 1
%50 = zext i8 %49 to i32
%51 = or i32 %45, %50
%52 = ptrtoint i64* %23 to i64
%53 = add i64 %52, 4
%54 = inttoptr i64 %53 to i32*
store i32 %51, i32* %54, align 4
%55 = add i32 %sv_0.06.reload, 4
%56 = add i64 %52, 8
%57 = inttoptr i64 %56 to i64*
store i64 %28, i64* %57, align 8
%58 = add i64 %52, 16
%59 = inttoptr i64 %58 to i32*
store i32 4, i32* %59, align 4
%60 = call i64 @FUNC(i64 %17, i64 %52)
%61 = add nuw i32 %storemerge47.reload, 1
%62 = icmp ult i32 %61, %20
store i32 %61, i32* %storemerge47.reg2mem
store i32 %55, i32* %sv_0.06.reg2mem
store i32 %55, i32* %sv_0.0.lcssa.reg2mem
br i1 %62, label LBL_2, label LBL_4
LBL_4:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%63 = add i64 %1, 24
%64 = inttoptr i64 %63 to i32*
store i32 %sv_0.0.lcssa.reload, i32* %64, align 4
store i64 %1, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %23, { 0, 2, 1 }
uselistorder i64 %22, { 4, 3, 5, 0, 1, 2 }
uselistorder i32 %sv_0.06.reload, { 1, 0, 2 }
uselistorder i32 %20, { 1, 0 }
uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 6 }
uselistorder i32* %storemerge47.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 0, { 0, 1, 3, 2, 4 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | hpi_entity_alloc_and_pack_3821 | hpi_entity_alloc_and_pack | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
store i64 0, i64* %arg5, align 8
%0 = and i64 %arg1, 4294967295
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i16
%3 = icmp eq i16 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = urem i64 %1, 65536
ret i64 %4
LBL_2:
call void @exit(i32 1)
unreachable
} | 0 |
CompRealVul | msi3101_try_fmt_sdr_cap_18283 | msi3101_try_fmt_sdr_cap | define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) 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 i32* %arg3 to i64
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5)
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
%10 = trunc i64 %3 to i32
%.pre = load i32, i32* bitcast (i32** @gv_2 to i32*), align 8
%11 = icmp eq i32 %.pre, %10
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_1, label LBL_2
LBL_1:
store i32 %.pre, i32* %arg3, align 4
br label LBL_2
LBL_2:
ret i64 0
uselistorder i64* %0, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | sd_response_r1_make_2108 | sd_response_r1_make | 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
%3 = trunc i64 %1 to i32
%4 = and i32 %3, -2
store i32 %4, i32* %arg1, align 4
%5 = udiv i32 %3, 16777216
%6 = trunc i32 %5 to i8
%7 = bitcast i64* %arg2 to i8*
store i8 %6, i8* %7, align 1
%8 = udiv i32 %3, 65536
%9 = add i64 %2, 1
%10 = trunc i32 %8 to i8
%11 = inttoptr i64 %9 to i8*
store i8 %10, i8* %11, align 1
%12 = udiv i32 %3, 256
%13 = add i64 %2, 2
%14 = trunc i32 %12 to i8
%15 = inttoptr i64 %13 to i8*
store i8 %14, i8* %15, align 1
%16 = add i64 %2, 3
%17 = trunc i64 %1 to i8
%18 = inttoptr i64 %16 to i8*
store i8 %17, i8* %18, align 1
ret i64 %16
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
} | 0 |
CompRealVul | gic_update_14585 | gic_update | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa.reg2mem = alloca i64
%sv_0.1.lcssa19.reg2mem = alloca i32
%sv_1.1.lcssa20.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_0.19.reg2mem = alloca i32
%sv_1.110.reg2mem = alloca i32
%storemerge211.reg2mem = alloca i32
%storemerge14.reg2mem = alloca i32
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
store i64 %3, i64* %.lcssa.reg2mem
br i1 %4, label LBL_17, label LBL_1
LBL_1:
%5 = bitcast i64* %rdi to i32*
%6 = ptrtoint i32* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = add i64 %6, 16
%10 = inttoptr i64 %9 to i32*
%11 = add i64 %6, 24
%12 = inttoptr i64 %11 to i64*
%13 = add i64 %6, 64
%14 = inttoptr i64 %13 to i32*
%15 = add i64 %6, 56
%16 = inttoptr i64 %15 to i64*
%17 = add i64 %6, 48
%18 = inttoptr i64 %17 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge14.reg2mem
br label LBL_2
LBL_2:
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%.reload = load i64, i64* %.reg2mem
%19 = load i64, i64* %8, align 8
%20 = mul i64 %.reload, 4
%21 = add i64 %19, %20
%22 = inttoptr i64 %21 to i32*
store i32 1023, i32* %22, align 4
%23 = load i32, i32* %10, align 4
%24 = urem i32 %23, 4
%25 = icmp eq i32 %24, 0
br i1 %25, label LBL_16, label LBL_3
LBL_3:
%26 = load i64, i64* %12, align 8
%27 = add i64 %26, %20
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = urem i32 %29, 4
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_16, label LBL_4
LBL_4:
%32 = load i32, i32* %14, align 4
%33 = icmp eq i32 %32, 0
store i32 1023, i32* %sv_1.1.lcssa20.reg2mem
store i32 256, i32* %sv_0.1.lcssa19.reg2mem
br i1 %33, label LBL_11, label LBL_5
LBL_5:
%34 = urem i32 %storemerge14.reload, 32
%35 = shl i32 1, %34
%36 = icmp ne i32 %34, 0
store i32 0, i32* %storemerge211.reg2mem
store i32 1023, i32* %sv_1.110.reg2mem
store i32 256, i32* %sv_0.19.reg2mem
br label LBL_6
LBL_6:
%sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem
%sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem
%storemerge211.reload = load i32, i32* %storemerge211.reg2mem
%37 = zext i32 %storemerge211.reload to i64
%38 = call i64 @FUNC(i64 %6, i64 %37, i32 %35)
%39 = trunc i64 %38 to i32
%40 = icmp eq i32 %39, 0
store i32 %sv_0.19.reload, i32* %sv_0.0.reg2mem
store i32 %sv_1.110.reload, i32* %sv_1.0.reg2mem
br i1 %40, label LBL_8, label LBL_7
LBL_7:
%41 = icmp sgt i32 %storemerge211.reload, 255
%or.cond = icmp eq i1 %36, %41
%42 = icmp slt i32 %sv_0.19.reload, 1
%or.cond4 = or i1 %or.cond, %42
%spec.select5 = select i1 %or.cond4, i32 %sv_0.19.reload, i32 0
%spec.select6 = select i1 %or.cond4, i32 %sv_1.110.reload, i32 %storemerge211.reload
store i32 %spec.select5, i32* %sv_0.0.reg2mem
store i32 %spec.select6, i32* %sv_1.0.reg2mem
br label LBL_8
LBL_8:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%43 = add i32 %storemerge211.reload, 1
%44 = load i32, i32* %14, align 4
%45 = zext i32 %44 to i64
%46 = sext i32 %43 to i64
%47 = icmp slt i64 %46, %45
store i32 %43, i32* %storemerge211.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.110.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.19.reg2mem
br i1 %47, label LBL_6, label LBL_9
LBL_9:
%48 = icmp eq i32 %sv_1.0.reload, 1023
store i32 1023, i32* %sv_1.1.lcssa20.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa19.reg2mem
br i1 %48, label LBL_11, label LBL_10
LBL_10:
%49 = load i64, i64* %16, align 8
%50 = add i64 %49, %20
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = load i64, i64* %18, align 8
%54 = add i64 %53, %20
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = zext i32 %52 to i64
%58 = zext i32 %storemerge14.reload to i64
%59 = call i64 @FUNC(i64 %58, i32 %sv_1.0.reload, i32 %sv_0.0.reload, i32 %56, i64 %57)
store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa20.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa19.reg2mem
br label LBL_11
LBL_11:
%sv_0.1.lcssa19.reload = load i32, i32* %sv_0.1.lcssa19.reg2mem
%60 = load i64, i64* %18, align 8
%61 = add i64 %60, %20
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = zext i32 %63 to i64
%65 = sext i32 %sv_0.1.lcssa19.reload to i64
%66 = icmp slt i64 %65, %64
br i1 %66, label LBL_12, label LBL_16
LBL_12:
%sv_1.1.lcssa20.reload = load i32, i32* %sv_1.1.lcssa20.reg2mem
%67 = load i64, i64* %8, align 8
%68 = add i64 %67, %20
%69 = inttoptr i64 %68 to i32*
store i32 %sv_1.1.lcssa20.reload, i32* %69, align 4
%70 = load i64, i64* %16, align 8
%71 = add i64 %70, %20
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = zext i32 %73 to i64
%75 = icmp slt i64 %65, %74
br i1 %75, label LBL_13, label LBL_16
LBL_13:
%76 = load i64, i64* %12, align 8
%77 = add i64 %76, %20
%78 = inttoptr i64 %77 to i32*
%79 = load i32, i32* %78, align 4
%80 = and i32 %79, 4
%81 = icmp eq i32 %80, 0
%82 = zext i32 %storemerge14.reload to i64
%83 = zext i32 %sv_1.1.lcssa20.reload to i64
br i1 %81, label LBL_15, label LBL_14
LBL_14:
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %83, i64 %82)
br label LBL_16
LBL_15:
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %83, i64 %82)
br label LBL_16
LBL_16:
%86 = add i32 %storemerge14.reload, 1
%87 = load i32, i32* %5, align 8
%88 = zext i32 %87 to i64
%89 = sext i32 %86 to i64
%90 = icmp slt i64 %89, %88
store i64 %89, i64* %.reg2mem
store i32 %86, i32* %storemerge14.reg2mem
store i64 %88, i64* %.lcssa.reg2mem
br i1 %90, label LBL_2, label LBL_17
LBL_17:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
ret i64 %.lcssa.reload
uselistorder i64 %83, { 1, 0 }
uselistorder i64 %82, { 1, 0 }
uselistorder i32 %sv_1.1.lcssa20.reload, { 1, 0 }
uselistorder i32 %sv_0.0.reload, { 1, 2, 0, 3 }
uselistorder i32 %storemerge211.reload, { 3, 1, 0, 2 }
uselistorder i32 %sv_1.110.reload, { 1, 0 }
uselistorder i32 %sv_0.19.reload, { 1, 2, 0 }
uselistorder i32 %34, { 1, 0 }
uselistorder i64 %20, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 %storemerge14.reload, { 2, 1, 0, 3 }
uselistorder i32* %14, { 1, 0 }
uselistorder i64 %6, { 3, 1, 0, 2, 4, 5, 6 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge211.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.110.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.1.lcssa20.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %sv_0.1.lcssa19.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 256, { 1, 0 }
uselistorder i32 4, { 2, 0, 1 }
uselistorder i32 1023, { 1, 3, 2, 0, 4 }
uselistorder i32 0, { 6, 5, 7, 0, 4, 2, 8, 9, 1, 3 }
uselistorder label LBL_16, { 4, 5, 2, 3, 1, 0 }
uselistorder label LBL_11, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | ff_v4l2_m2m_codec_init_16091 | ff_v4l2_m2m_codec_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem11 = alloca i64
%rcx.1.lcssa9.reg2mem = alloca i64
%sv_0.1.lcssa10.reg2mem = alloca i32
%.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%rcx.0.reg2mem = alloca i64
%rcx.14.reg2mem = alloca i64
%sv_0.15.reg2mem = alloca i32
%storemerge.in6.reg2mem = alloca %dirent*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
store i64 %3, i64* %arg1, align 8
%4 = call %__dirstream* @opendir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%5 = icmp eq %__dirstream* %4, null
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i32* @__errno_location()
%8 = load i32, i32* %7, align 4
%9 = sub i32 0, %8
%10 = zext i32 %9 to i64
store i64 %10, i64* %rax.0.reg2mem
br label LBL_12
LBL_2:
%11 = call %dirent* @readdir(%__dirstream* %4)
%12 = icmp eq %dirent* %11, null
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = ptrtoint %__dirstream* %4 to i64
%15 = call i32 @closedir(%__dirstream* %4)
%.pre = add i64 %3, 8
store i64 %.pre, i64* %.pre-phi.reg2mem
store i64 %14, i64* %.reg2mem
store i32 -22, i32* %sv_0.1.lcssa10.reg2mem
br label LBL_10
LBL_4:
%16 = ptrtoint i64* %sv_1 to i64
%17 = bitcast i64* %sv_1 to i8*
%18 = add i64 %3, 8
%19 = inttoptr i64 %18 to i8*
store %dirent* %11, %dirent** %storemerge.in6.reg2mem
store i32 -22, i32* %sv_0.15.reg2mem
br label LBL_5
LBL_5:
%rcx.14.reload = load i64, i64* %rcx.14.reg2mem
%sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem
%storemerge.in6.reload = load %dirent*, %dirent** %storemerge.in6.reg2mem
%storemerge = ptrtoint %dirent* %storemerge.in6.reload to i64
%20 = add i64 %storemerge, 19
%21 = inttoptr i64 %20 to i8*
%22 = call i32 @strncmp(i8* %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5)
%23 = icmp eq i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 %rcx.14.reload, i64* %rcx.0.reg2mem
store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem
br i1 %24, label LBL_8, label LBL_6
LBL_6:
%25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %17, i32 4096, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* %21)
%26 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1)
%27 = call i32 @strlen(i8* nonnull %17)
%28 = add i32 %27, 1
%29 = call i8* @strncpy(i8* %19, i8* nonnull %17, i32 %28)
%30 = call i64 @FUNC(i64 %3)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
store i64 %18, i64* %rcx.0.reg2mem
store i32 %31, i32* %sv_0.0.reg2mem
br i1 %32, label LBL_7, label LBL_8
LBL_7:
%33 = ptrtoint %__dirstream* %4 to i64
%34 = call i32 @closedir(%__dirstream* %4)
store i64 %33, i64* %.reg2mem11
br label LBL_11
LBL_8:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%35 = call %dirent* @readdir(%__dirstream* %4)
%36 = icmp eq %dirent* %35, null
%37 = icmp eq i1 %36, false
store %dirent* %35, %dirent** %storemerge.in6.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem
store i64 %rcx.0.reload, i64* %rcx.14.reg2mem
br i1 %37, label LBL_5, label LBL_9
LBL_9:
%38 = ptrtoint %__dirstream* %4 to i64
%39 = call i32 @closedir(%__dirstream* %4)
%40 = icmp eq i32 %sv_0.0.reload, 0
store i64 %18, i64* %.pre-phi.reg2mem
store i64 %38, i64* %.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa10.reg2mem
store i64 %rcx.0.reload, i64* %rcx.1.lcssa9.reg2mem
store i64 %38, i64* %.reg2mem11
br i1 %40, label LBL_11, label LBL_10
LBL_10:
%rcx.1.lcssa9.reload = load i64, i64* %rcx.1.lcssa9.reg2mem
%sv_0.1.lcssa10.reload = load i32, i32* %sv_0.1.lcssa10.reg2mem
%.reload = load i64, i64* %.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%41 = inttoptr i64 %rcx.1.lcssa9.reload to i64*
%42 = call i64 @FUNC(i64 %.reload, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64* %41, i64 %2, i64 %1)
%43 = inttoptr i64 %.pre-phi.reload to i64*
%44 = call i64* @memset(i64* %43, i32 0, i32 4096)
%45 = zext i32 %sv_0.1.lcssa10.reload to i64
store i64 %45, i64* %rax.0.reg2mem
br label LBL_12
LBL_11:
%.reload12 = load i64, i64* %.reg2mem11
%46 = call i64 @FUNC(i64 %.reload12, i64 2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1)
%47 = call i64 @FUNC(i64 %3)
store i64 %47, 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 %__dirstream* %4, { 5, 4, 6, 2, 3, 0, 1, 7, 8 }
uselistorder i64 %3, { 1, 3, 2, 0, 4 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder %dirent** %storemerge.in6.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }
uselistorder i64* %rcx.14.reg2mem, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64*, i64, i64)* @av_log, { 2, 1, 0 }
uselistorder i32 4096, { 1, 0 }
uselistorder i32 -22, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i32 (%__dirstream*)* @closedir, { 2, 1, 0 }
uselistorder %dirent* null, { 1, 0 }
uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 }
uselistorder i1 false, { 2, 1, 0, 3 }
uselistorder i64 0, { 8, 9, 10, 11, 14, 2, 3, 4, 5, 6, 7, 12, 13, 0, 1, 15 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
CompRealVul | dwarf_read_address_7257 | dwarf_read_address | define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg2 to i64
%5 = icmp eq i64 %arg1, 8
store i64 %4, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_6, label LBL_1
LBL_1:
%6 = icmp ult i64 %arg1, 9
br i1 %6, label LBL_2, label LBL_5
LBL_2:
switch i64 %arg1, label LBL_5 [
i64 2, label LBL_3
i64 4, label LBL_4
]
LBL_3:
%7 = urem i64 %4, 65536
store i64 %7, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_4:
%8 = and i64 %4, 4294967295
store i64 %8, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_5:
%9 = add i64 %4, %arg1
store i64 %9, i64* %arg2, align 8
%10 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %9, i64 %3, i64 %2, i64 %1)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %9, { 1, 0 }
uselistorder i64 %4, { 2, 3, 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 %arg1, { 2, 0, 1, 3, 4 }
uselistorder label LBL_6, { 1, 2, 3, 0 }
} | 0 |
CompRealVul | ssl_parse_certificate_7729 | ssl_parse_certificate | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i64
%.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 1
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = add i64 %2, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i32*
store i32 1, i32* %13, align 4
%14 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0))
%15 = add i64 %2, 12
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, 1
store i32 %18, i32* %16, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_43
LBL_3:
%19 = call i64 @FUNC(i64 %2)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = and i64 %19, 4294967295
%23 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %22)
store i64 %22, i64* %rax.0.reg2mem
br label LBL_43
LBL_5:
%24 = bitcast i64* %rdi to i32*
%25 = add i64 %2, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i32 %27, 1
store i32 %28, i32* %26, align 4
%29 = load i32, i32* %24, align 8
%30 = icmp eq i32 %29, 1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_17, label LBL_6
LBL_6:
%32 = add i64 %2, 16
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = icmp eq i32 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_12, label LBL_7
LBL_7:
%37 = add i64 %2, 24
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = icmp eq i64 %39, 2
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_17, label LBL_8
LBL_8:
%42 = add i64 %2, 32
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = icmp eq i32 %44, 1
%46 = icmp eq i1 %45, false
br i1 %46, label LBL_17, label LBL_9
LBL_9:
%47 = add i64 %2, 36
%48 = inttoptr i64 %47 to i8*
%49 = load i8, i8* %48, align 1
%50 = icmp eq i8 %49, 2
%51 = icmp eq i1 %50, false
br i1 %51, label LBL_17, label LBL_10
LBL_10:
%52 = add i64 %2, 37
%53 = inttoptr i64 %52 to i8*
%54 = load i8, i8* %53, align 1
%55 = icmp eq i8 %54, 0
%56 = icmp eq i1 %55, false
br i1 %56, label LBL_17, label LBL_11
LBL_11:
%57 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0))
%58 = add i64 %2, 8
%59 = inttoptr i64 %58 to i32*
store i32 2, i32* %59, align 4
%60 = add i64 %2, 4
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = icmp eq i32 %62, 2
%64 = icmp eq i1 %63, false
%. = select i1 %64, i64 4294967295, i64 0
store i64 %., i64* %rax.0.reg2mem
br label LBL_43
LBL_12:
%65 = add i64 %2, 296
%66 = inttoptr i64 %65 to i64*
%67 = load i64, i64* %66, align 8
%68 = icmp eq i64 %67, 7
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_17, label LBL_13
LBL_13:
%70 = add i64 %2, 32
%71 = inttoptr i64 %70 to i32*
%72 = load i32, i32* %71, align 4
%73 = icmp eq i32 %72, 2
%74 = icmp eq i1 %73, false
br i1 %74, label LBL_17, label LBL_14
LBL_14:
%75 = add i64 %2, 36
%76 = inttoptr i64 %75 to i8*
%77 = load i8, i8* %76, align 1
%78 = icmp eq i8 %77, 11
%79 = icmp eq i1 %78, false
br i1 %79, label LBL_17, label LBL_15
LBL_15:
%80 = add i64 %2, 40
%81 = inttoptr i64 %80 to i64*
%82 = call i32 @memcmp(i64* %81, i64* nonnull @gv_4, i32 3)
%83 = icmp eq i32 %82, 0
%84 = icmp eq i1 %83, false
br i1 %84, label LBL_17, label LBL_16
LBL_16:
%85 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0))
%86 = add i64 %2, 8
%87 = inttoptr i64 %86 to i32*
store i32 2, i32* %87, align 4
%88 = add i64 %2, 4
%89 = inttoptr i64 %88 to i32*
%90 = load i32, i32* %89, align 4
%91 = icmp eq i32 %90, 3
%92 = icmp eq i1 %91, false
%.1 = select i1 %92, i64 0, i64 4294967295
store i64 %.1, i64* %rax.0.reg2mem
br label LBL_43
LBL_17:
%93 = add i64 %2, 32
%94 = inttoptr i64 %93 to i32*
%95 = load i32, i32* %94, align 4
%96 = icmp eq i32 %95, 2
br i1 %96, label LBL_19, label LBL_18
LBL_18:
%97 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0))
store i64 4294967294, i64* %rax.0.reg2mem
br label LBL_43
LBL_19:
%98 = add i64 %2, 36
%99 = inttoptr i64 %98 to i8*
%100 = load i8, i8* %99, align 1
%101 = icmp eq i8 %100, 11
%102 = icmp eq i1 %101, false
br i1 %102, label LBL_21, label LBL_20
LBL_20:
%103 = add i64 %2, 296
%104 = inttoptr i64 %103 to i64*
%105 = load i64, i64* %104, align 8
%106 = icmp ult i64 %105, 10
br i1 %106, label LBL_21, label LBL_22
LBL_21:
%107 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0))
store i64 4294967293, i64* %rax.0.reg2mem
br label LBL_43
LBL_22:
%108 = add i64 %2, 40
%109 = inttoptr i64 %108 to i8*
%110 = load i8, i8* %109, align 1
%111 = icmp eq i8 %110, 0
%112 = icmp eq i1 %111, false
br i1 %112, label LBL_24, label LBL_23
LBL_23:
%113 = add i64 %2, 41
%114 = inttoptr i64 %113 to i8*
%115 = load i8, i8* %114, align 1
%116 = zext i8 %115 to i64
%117 = mul i64 %116, 256
%118 = add i64 %2, 42
%119 = inttoptr i64 %118 to i8*
%120 = load i8, i8* %119, align 1
%121 = zext i8 %120 to i64
%122 = or i64 %117, %121
%123 = add nuw nsw i64 %122, 7
%124 = icmp eq i64 %105, %123
br i1 %124, label LBL_25, label LBL_24
LBL_24:
%125 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0))
store i64 4294967293, i64* %rax.0.reg2mem
br label LBL_43
LBL_25:
%126 = add i64 %2, 304
%127 = inttoptr i64 %126 to i64*
%128 = load i64, i64* %127, align 8
%129 = call i64* @malloc(i32 0)
%130 = ptrtoint i64* %129 to i64
%131 = inttoptr i64 %128 to i64*
store i64 %130, i64* %131, align 8
%132 = icmp eq i64* %129, null
%133 = icmp eq i1 %132, false
br i1 %133, label LBL_26, label LBL_27
LBL_26:
%134 = load i64, i64* %104, align 8
%135 = icmp ugt i64 %134, 7
store i64 %134, i64* %.reg2mem
store i64 7, i64* %storemerge5.reg2mem
store i64 %19, i64* %sv_0.0.lcssa.reg2mem
br i1 %135, label LBL_28, label LBL_36
LBL_27:
%136 = call i64 @FUNC(i64 1, i8* null)
store i64 4294967292, i64* %rax.0.reg2mem
br label LBL_43
LBL_28:
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%137 = add i64 %storemerge5.reload, %2
%138 = add i64 %137, 36
%139 = inttoptr i64 %138 to i8*
%140 = load i8, i8* %139, align 1
%141 = icmp eq i8 %140, 0
br i1 %141, label LBL_30, label LBL_29
LBL_29:
%142 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0))
store i64 4294967293, i64* %rax.0.reg2mem
br label LBL_43
LBL_30:
%143 = add i64 %137, 37
%144 = inttoptr i64 %143 to i8*
%145 = load i8, i8* %144, align 1
%146 = zext i8 %145 to i64
%147 = mul i64 %146, 256
%148 = add i64 %137, 38
%149 = inttoptr i64 %148 to i8*
%150 = load i8, i8* %149, align 1
%151 = zext i8 %150 to i64
%152 = or i64 %147, %151
%153 = icmp ult i64 %152, 128
br i1 %153, label LBL_32, label LBL_31
LBL_31:
%.reload = load i64, i64* %.reg2mem
%154 = add i64 %storemerge5.reload, 3
%155 = add i64 %152, %154
%156 = icmp ugt i64 %155, %.reload
br i1 %156, label LBL_32, label LBL_33
LBL_32:
%157 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0))
store i64 4294967293, i64* %rax.0.reg2mem
br label LBL_43
LBL_33:
%158 = add i64 %154, %98
%159 = load i64, i64* %127, align 8
%160 = inttoptr i64 %159 to i64*
%161 = load i64, i64* %160, align 8
%162 = call i64 @FUNC(i64 %161, i64 %158, i64 %152)
%163 = trunc i64 %162 to i32
%164 = icmp eq i32 %163, 0
br i1 %164, label LBL_35, label LBL_34
LBL_34:
%165 = and i64 %162, 4294967295
%166 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i64 %165)
store i64 %165, i64* %rax.0.reg2mem
br label LBL_43
LBL_35:
%167 = load i64, i64* %104, align 8
%168 = icmp ult i64 %155, %167
store i64 %167, i64* %.reg2mem
store i64 %155, i64* %storemerge5.reg2mem
store i64 %162, i64* %sv_0.0.lcssa.reg2mem
br i1 %168, label LBL_28, label LBL_36
LBL_36:
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%169 = load i64, i64* %127, align 8
%170 = inttoptr i64 %169 to i64*
%171 = load i64, i64* %170, align 8
%172 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 %171)
%173 = add i64 %2, 4
%174 = inttoptr i64 %173 to i32*
%175 = load i32, i32* %174, align 4
%176 = icmp eq i32 %175, 0
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.reg2mem
br i1 %176, label LBL_42, label LBL_37
LBL_37:
%177 = add i64 %2, 312
%178 = inttoptr i64 %177 to i64*
%179 = load i64, i64* %178, align 8
%180 = icmp eq i64 %179, 0
%181 = icmp eq i1 %180, false
br i1 %181, label LBL_39, label LBL_38
LBL_38:
%182 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_9, i64 0, i64 0))
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_43
LBL_39:
%183 = add i64 %2, 336
%184 = inttoptr i64 %183 to i64*
%185 = load i64, i64* %184, align 8
%186 = add i64 %2, 8
%187 = add i64 %2, 328
%188 = inttoptr i64 %187 to i64*
%189 = load i64, i64* %188, align 8
%190 = add i64 %2, 320
%191 = inttoptr i64 %190 to i64*
%192 = load i64, i64* %191, align 8
%193 = load i64, i64* %127, align 8
%194 = inttoptr i64 %193 to i64*
%195 = load i64, i64* %194, align 8
%196 = call i64 @FUNC(i64 %195, i64 %179, i64 %192, i64 %189, i64 %186, i64 %185)
%197 = trunc i64 %196 to i32
%198 = icmp eq i32 %197, 0
br i1 %198, label LBL_41, label LBL_40
LBL_40:
%199 = and i64 %196, 4294967295
%200 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_10, i64 0, i64 0), i64 %199)
br label LBL_41
LBL_41:
%201 = load i32, i32* %174, align 4
%202 = icmp eq i32 %201, 3
%spec.select = select i1 %202, i64 %196, i64 0
store i64 %spec.select, i64* %sv_0.1.reg2mem
br label LBL_42
LBL_42:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%203 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_11, i64 0, i64 0))
%204 = and i64 %sv_0.1.reload, 4294967295
store i64 %204, i64* %rax.0.reg2mem
br label LBL_43
LBL_43:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %152, { 1, 0, 2 }
uselistorder i64* %104, { 1, 0, 2 }
uselistorder i64 %2, { 22, 19, 20, 21, 18, 17, 0, 24, 28, 29, 23, 27, 26, 25, 11, 12, 16, 15, 14, 13, 4, 5, 10, 9, 8, 7, 6, 30, 31, 1, 3, 2 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 10, 11, 9, 6, 12, 13, 5, 1, 2, 4, 3 }
uselistorder i64 4294967293, { 1, 0, 2, 3 }
uselistorder i64 40, { 1, 0 }
uselistorder i64 7, { 0, 1, 3, 2 }
uselistorder i32 2, { 0, 3, 1, 2, 4 }
uselistorder i64 (i64, i8*, i64)* @SSL_DEBUG_RET, { 2, 1, 0 }
uselistorder i32 0, { 1, 3, 2, 0, 4, 5, 6, 7 }
uselistorder i64 (i64, i8*)* @SSL_DEBUG_MSG, { 11, 8, 10, 9, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 2, { 1, 0, 2, 3 }
uselistorder label LBL_43, { 2, 6, 3, 4, 5, 7, 8, 9, 10, 0, 1, 11, 12 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_17, { 5, 6, 7, 8, 3, 2, 1, 0, 4 }
} | 1 |
CompRealVul | http_proxy_open_87 | http_proxy_open | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%2 = ptrtoint i64* %arg1 to i64
%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
%3 = load i32, i32* %1
%sv_6 = alloca i64, align 8
%4 = load i64, i64* %0
%sv_7 = alloca i64, align 8
%sv_8 = alloca i64, align 8
%sv_9 = alloca i64, align 8
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = bitcast i64* %arg1 to i32*
store i32 1, i32* %8, align 4
%9 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_7, i64 1024, i64* nonnull %sv_8, i64 1024)
%10 = zext i32 %3 to i64
%11 = call i64 @FUNC(i64* nonnull %sv_5, i64 1024, i64 0, i64 0, i64* nonnull %sv_8, i64 %10, i64 0)
%12 = call i64 @FUNC(i64* nonnull %sv_4, i64 100, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 0, i64* nonnull %sv_8, i64 %10, i64 0)
%13 = add i64 %2, 16
%14 = call i64 @FUNC(i64 %7, i64* nonnull %sv_4, i64 0, i64 %13, i64 0)
%15 = trunc i64 %14 to i32
%16 = icmp slt i32 %15, 0
%17 = icmp eq i1 %16, false
store i64 %14, i64* %.lcssa.reg2mem
br i1 %17, label LBL_1, label LBL_2
LBL_1:
%18 = bitcast i64* %sv_6 to i8*
%19 = trunc i64 %4 to i8
%20 = icmp eq i8 %19, 47
%21 = icmp eq i1 %20, false
%22 = ptrtoint i64* %sv_6 to i64
%23 = or i64 %22, 1
%24 = inttoptr i64 %23 to i8*
%sv_10.0 = select i1 %21, i8* %18, i8* %24
%25 = ptrtoint i64* %sv_9 to i64
%26 = add i64 %7, 1040
%27 = ptrtoint i8* %sv_10.0 to i64
%28 = add i64 %7, 8
%29 = add i64 %25, -16
%30 = inttoptr i64 %29 to i64*
%31 = ptrtoint i64* %sv_5 to i64
%32 = inttoptr i64 %28 to i8*
%33 = inttoptr i64 %7 to i64*
%34 = add i64 %7, 1048
%35 = inttoptr i64 %34 to i64*
%36 = add i64 %7, 1056
%37 = inttoptr i64 %36 to i64*
%38 = add i64 %7, 1032
%39 = inttoptr i64 %38 to i32*
%40 = add i64 %7, 1036
%41 = inttoptr i64 %40 to i32*
%42 = inttoptr i64 %26 to i32*
%43 = ptrtoint i64* %sv_2 to i64
%44 = add i64 %7, 1044
%45 = inttoptr i64 %44 to i32*
br label LBL_3
LBL_2:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%46 = and i64 %.lcssa.reload, 4294967295
store i64 %46, i64* %rax.0.reg2mem
br label LBL_13
LBL_3:
%47 = call i64 @FUNC(i64 %26, i64* nonnull %sv_7, i64 %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))
store i64 %47, i64* %sv_3, align 8
%48 = icmp eq i64 %47, 0
%storemerge3 = select i1 %48, i64 ptrtoint (i8** @gv_2 to i64), i64 %47
%. = select i1 %48, i64 ptrtoint (i8** @gv_2 to i64), i64 ptrtoint ([7 x i8]* @gv_3 to i64)
store i64 %storemerge3, i64* %30, align 8
%49 = inttoptr i64 %. to i8*
%50 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %32, i32 1024, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_4, i64 0, i64 0), i8* %sv_10.0, i64* nonnull %sv_5, i8* %49)
%51 = call i64 @FUNC(i64* nonnull %sv_3)
%52 = call i32 @strlen(i8* %32)
%53 = sext i32 %52 to i64
%54 = load i64, i64* %33, align 8
%55 = call i64 @FUNC(i64 %54, i64 %28, i64 %53)
%56 = trunc i64 %55 to i32
%57 = icmp slt i32 %56, 0
store i64 %55, i64* %sv_0.0.reg2mem
br i1 %57, label LBL_12, label LBL_4
LBL_4:
store i64 %28, i64* %35, align 8
store i64 %28, i64* %37, align 8
store i32 0, i32* %39, align 4
store i32 -1, i32* %41, align 4
%58 = load i32, i32* %42, align 4
%59 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 1024)
%60 = trunc i64 %59 to i32
%61 = icmp slt i32 %60, 0
%62 = icmp eq i1 %61, false
store i64 4294967291, i64* %sv_0.0.reg2mem
br i1 %62, label LBL_5, label LBL_12
LBL_5:
%63 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_2, i64 %43, i64 %31, i64 %.)
%64 = load i32, i32* %39, align 4
%65 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2, i32 %64, i64* nonnull %sv_1)
%66 = trunc i64 %65 to i32
%67 = icmp slt i32 %66, 0
store i64 %65, i64* %sv_0.0.reg2mem
br i1 %67, label LBL_12, label LBL_6
LBL_6:
%68 = icmp eq i32 %66, 0
%69 = icmp eq i1 %68, false
br i1 %69, label LBL_8, label LBL_7
LBL_7:
%70 = load i32, i32* %45, align 4
%71 = icmp ne i32 %70, 407
%72 = icmp eq i32 %58, 0
%73 = icmp eq i1 %72, false
%or.cond = or i1 %73, %71
br i1 %or.cond, label LBL_11, label LBL_9
LBL_8:
%74 = load i32, i32* %39, align 4
%75 = add i32 %74, 1
store i32 %75, i32* %39, align 4
%76 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2, i64 1024)
%77 = trunc i64 %76 to i32
%78 = icmp slt i32 %77, 0
%79 = icmp eq i1 %78, false
store i64 4294967291, i64* %sv_0.0.reg2mem
br i1 %79, label LBL_5, label LBL_12
LBL_9:
%80 = load i32, i32* %42, align 4
%81 = icmp eq i32 %80, 0
store i64 4294967291, i64* %sv_0.0.reg2mem
br i1 %81, label LBL_12, label LBL_10
LBL_10:
%82 = load i64, i64* %33, align 8
%83 = call i64 @FUNC(i64 %82)
store i64 0, i64* %33, align 8
%84 = call i64 @FUNC(i64 %7, i64* nonnull %sv_4, i64 0, i64 %13, i64 0)
%85 = trunc i64 %84 to i32
%86 = icmp slt i32 %85, 0
%87 = icmp eq i1 %86, false
store i64 %84, i64* %.lcssa.reg2mem
br i1 %87, label LBL_3, label LBL_2
LBL_11:
%88 = icmp sgt i32 %70, 399
store i64 4294967291, i64* %sv_0.0.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %88, label LBL_12, label LBL_13
LBL_12:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%89 = call i64 @FUNC(i64 %2)
%90 = and i64 %sv_0.0.reload, 4294967295
store i64 %90, 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 i32* %39, { 1, 0, 2, 3 }
uselistorder i64* %33, { 1, 0, 2 }
uselistorder i64 %26, { 1, 0 }
uselistorder i8* %sv_10.0, { 1, 0 }
uselistorder i64 %13, { 1, 0 }
uselistorder i64 %7, { 11, 3, 1, 2, 4, 5, 6, 7, 8, 9, 10, 0 }
uselistorder i64* %sv_5, { 0, 2, 1 }
uselistorder i64* %sv_4, { 1, 0, 2 }
uselistorder i64* %sv_2, { 3, 1, 2, 0, 4 }
uselistorder i64 %2, { 2, 0, 1, 3, 4 }
uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 3, 5, 4, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64 4294967291, { 3, 1, 2, 0 }
uselistorder i64 (i64, i64*, i64)* @http_get_line, { 1, 0 }
uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }
uselistorder i1 false, { 5, 4, 2, 3, 1, 6, 0 }
uselistorder i64 (i64, i64*, i64, i64, i64)* @ffurl_open, { 1, 0 }
uselistorder i64 (i64*, i64, i64, i64, i64*, i64, i64)* @ff_url_join, { 1, 0 }
uselistorder i64 1024, { 1, 0, 2, 4, 3 }
uselistorder label LBL_13, { 1, 0, 2 }
uselistorder label LBL_12, { 5, 0, 4, 3, 2, 1 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | qpci_legacy_iomap_14358 | qpci_legacy_iomap | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = urem i64 %arg2, 65536
ret i64 %0
} | 1 |
CompRealVul | add_query_tests_14305 | add_query_tests | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.lcssa.reg2mem = alloca i64
%rcx.0.reg2mem = alloca i64
%rcx.12.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = icmp eq i64* %arg1, null
%5 = icmp eq i1 %4, false
store i64 %3, i64* %storemerge14.reg2mem
store i64 %3, i64* %storemerge1.lcssa.reg2mem
br i1 %5, label LBL_1, label LBL_8
LBL_1:
%rcx.12.reload = load i64, i64* %rcx.12.reg2mem
%storemerge14.reload = load i64, i64* %storemerge14.reg2mem
%6 = inttoptr i64 %storemerge14.reload to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 1
%11 = icmp eq i1 %10, false
store i64 %rcx.12.reload, i64* %rcx.0.reg2mem
br i1 %11, label LBL_7, label LBL_2
LBL_2:
%12 = add i64 %7, 24
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 %rcx.12.reload, i64* %rcx.0.reg2mem
br i1 %18, label LBL_7, label LBL_3
LBL_3:
%19 = add i64 %7, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %3, i64 %21)
%23 = call i64 @FUNC(i64 %22)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
%26 = icmp eq i1 %25, false
store i64 %rcx.12.reload, i64* %rcx.0.reg2mem
br i1 %26, label LBL_7, label LBL_4
LBL_4:
%27 = add i64 %7, 16
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %3, i64 %29)
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 2
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_6, label LBL_5
LBL_5:
%35 = add i64 %30, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
%38 = icmp eq i64 %37, 0
store i64 %rcx.12.reload, i64* %rcx.0.reg2mem
br i1 %38, label LBL_7, label LBL_6
LBL_6:
%39 = load i64, i64* %13, align 8
%40 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %39, i64 %29, i64 %rcx.12.reload, i64 %2, i64 %1)
%41 = load i64, i64* %13, align 8
%42 = call i64 @FUNC(i64 %40, i64 %41, i64 4198778)
store i64 %41, i64* %rcx.0.reg2mem
br label LBL_7
LBL_7:
%rcx.0.reload = load i64, i64* %rcx.0.reg2mem
%43 = add i64 %storemerge14.reload, 8
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = icmp eq i64 %45, 0
%47 = icmp eq i1 %46, false
store i64 %45, i64* %storemerge14.reg2mem
store i64 %rcx.0.reload, i64* %rcx.12.reg2mem
store i64 %45, i64* %storemerge1.lcssa.reg2mem
br i1 %47, label LBL_1, label LBL_8
LBL_8:
%storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem
ret i64 %storemerge1.lcssa.reload
uselistorder i64 %rcx.12.reload, { 4, 0, 1, 2, 3 }
uselistorder i64 %3, { 2, 3, 0, 1 }
uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 }
uselistorder i64* %rcx.12.reg2mem, { 1, 0 }
uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3, 4, 5 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @qmp_schema_lookup, { 1, 0 }
uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }
uselistorder label LBL_7, { 4, 0, 1, 2, 3 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | qtrle_decode_8bpp_1023 | qtrle_decode_8bpp | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i64
%.reg2mem147 = alloca i32
%.reg2mem145 = alloca i64
%.reg2mem143 = alloca i32
%sv_0.024.reg2mem = alloca i32
%sv_1.025.reg2mem = alloca i32
%sv_0.2.be.reg2mem = alloca i32
%sv_2.1.be.reg2mem = alloca i64
%sv_0.232.reg2mem = alloca i32
%.reg2mem141 = alloca i64
%.reg2mem139 = alloca i64
%.reg2mem = alloca i64
%.in.reg2mem = alloca i8
%sv_2.236.reg2mem = alloca i64
%sv_3.037.in.in.reg2mem = alloca i64
%sext638.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sext5 = mul i64 %arg4, 4294967296
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %2, 16
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%sv_4.034 = ashr exact i64 %sext5, 32
%13 = and i64 %sv_4.034, 4294967295
%14 = trunc i64 %sv_4.034 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i64 %13, i64* %rax.0.reg2mem
br i1 %16, label LBL_1, label LBL_25
LBL_1:
%17 = trunc i64 %1 to i32
%18 = mul i32 %12, %17
%sext = mul i64 %arg2, 4294967296
%19 = ashr exact i64 %sext, 32
%20 = add i64 %2, 24
%21 = inttoptr i64 %20 to i64*
%22 = sext i32 %18 to i64
store i64 %sext5, i64* %sext638.in.reg2mem
store i64 %arg3, i64* %sv_3.037.in.in.reg2mem
store i64 %19, i64* %sv_2.236.reg2mem
br label LBL_2
LBL_2:
%sv_2.236.reload = load i64, i64* %sv_2.236.reg2mem
%23 = add nsw i64 %sv_2.236.reload, 2
%24 = trunc i64 %23 to i32
%25 = icmp ult i32 %24, 9
br i1 %25, label LBL_3, label LBL_2.LBL_25.loopexit21_crit_edge
LBL_3:
%sv_3.037.in.in.reload = load i64, i64* %sv_3.037.in.in.reg2mem
%sv_3.037.in = mul i64 %sv_3.037.in.in.reload, 4294967296
%sv_3.037 = ashr exact i64 %sv_3.037.in, 32
%26 = load i64, i64* %21, align 8
%27 = add i64 %26, %sv_2.236.reload
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = zext i8 %29 to i32
%31 = mul i32 %30, 4
%32 = trunc i64 %sv_3.037 to i32
%33 = add i32 %32, -4
%34 = add i32 %33, %31
%35 = icmp sgt i32 %34, %18
br i1 %35, label LBL_3.LBL_25.loopexit21_crit_edge, label LBL_4
LBL_4:
%sext638.in.reload = load i64, i64* %sext638.in.reg2mem
%36 = mul i64 %sv_2.236.reload, 4294967296
%sext7 = add i64 %36, 4294967296
%37 = ashr exact i64 %sext7, 32
%sext931 = add i64 %36, 8589934592
%38 = ashr exact i64 %sext931, 32
%39 = add i64 %26, %37
%40 = inttoptr i64 %39 to i8*
%41 = load i8, i8* %40, align 1
%42 = icmp eq i8 %41, -1
%43 = icmp eq i1 %42, false
store i8 %41, i8* %.in.reg2mem
store i64 %38, i64* %.reg2mem
store i64 %sext7, i64* %.reg2mem139
store i64 %26, i64* %.reg2mem141
store i32 %34, i32* %sv_0.232.reg2mem
store i64 %38, i64* %.lcssa.reg2mem
br i1 %43, label LBL_5, label LBL_17
LBL_5:
%sv_0.232.reload = load i32, i32* %sv_0.232.reg2mem
%.reload142 = load i64, i64* %.reg2mem141
%.reload140 = load i64, i64* %.reg2mem139
%.reload = load i64, i64* %.reg2mem
%.in.reload = load i8, i8* %.in.reg2mem
%44 = icmp eq i8 %.in.reload, 0
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_9, label LBL_6
LBL_6:
%46 = add nsw i64 %.reload, 1
%47 = trunc i64 %46 to i32
%48 = icmp ult i32 %47, 9
br i1 %48, label LBL_7, label LBL_18
LBL_7:
%sext11 = add i64 %.reload140, 8589934592
%49 = ashr exact i64 %sext11, 32
%50 = add i64 %.reload142, %.reload
%51 = inttoptr i64 %50 to i8*
%52 = load i8, i8* %51, align 1
%53 = zext i8 %52 to i32
%54 = mul i32 %53, 4
%55 = add i32 %sv_0.232.reload, -4
%56 = add i32 %55, %54
%57 = icmp sgt i32 %56, %18
store i64 %49, i64* %sv_2.1.be.reg2mem
store i32 %56, i32* %sv_0.2.be.reg2mem
br i1 %57, label LBL_21, label LBL_8
LBL_8:
%sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem
%sv_2.1.be.reload = load i64, i64* %sv_2.1.be.reg2mem
%58 = load i64, i64* %21, align 8
%59 = mul i64 %sv_2.1.be.reload, 4294967296
%sext9 = add i64 %59, 4294967296
%60 = ashr exact i64 %sext9, 32
%61 = add i64 %58, %sv_2.1.be.reload
%62 = inttoptr i64 %61 to i8*
%63 = load i8, i8* %62, align 1
%64 = icmp eq i8 %63, -1
%65 = icmp eq i1 %64, false
store i8 %63, i8* %.in.reg2mem
store i64 %60, i64* %.reg2mem
store i64 %59, i64* %.reg2mem139
store i64 %58, i64* %.reg2mem141
store i32 %sv_0.2.be.reload, i32* %sv_0.232.reg2mem
store i64 %60, i64* %.lcssa.reg2mem
br i1 %65, label LBL_5, label LBL_17
LBL_9:
%66 = sext i8 %.in.reload to i32
%67 = icmp slt i8 %.in.reload, 0
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_13, label LBL_10
LBL_10:
%69 = add nsw i64 %.reload, 4
%70 = trunc i64 %69 to i32
%71 = icmp ult i32 %70, 9
br i1 %71, label LBL_11, label LBL_19
LBL_11:
%72 = sub nsw i32 0, %66
%73 = add i64 %.reload142, %.reload
%74 = inttoptr i64 %73 to i8*
%75 = load i8, i8* %74, align 1
%sext14 = add i64 %.reload140, 8589934592
%76 = ashr exact i64 %sext14, 32
%77 = add i64 %76, %.reload142
%78 = inttoptr i64 %77 to i8*
%79 = load i8, i8* %78, align 1
%sext15 = add i64 %.reload140, 12884901888
%80 = ashr exact i64 %sext15, 32
%81 = add i64 %80, %.reload142
%82 = inttoptr i64 %81 to i8*
%83 = load i8, i8* %82, align 1
%84 = add i64 %.reload140, 17179869184
%sext16 = add i64 %.reload140, 21474836480
%85 = ashr exact i64 %sext16, 32
%86 = ashr exact i64 %84, 32
%87 = add i64 %86, %.reload142
%88 = inttoptr i64 %87 to i8*
%89 = load i8, i8* %88, align 1
%90 = mul i32 %72, 4
%91 = add i32 %sv_0.232.reload, %90
%92 = zext i32 %91 to i64
%93 = icmp slt i64 %22, %92
store i32 %72, i32* %sv_1.025.reg2mem
store i32 %sv_0.232.reload, i32* %sv_0.024.reg2mem
store i64 %92, i64* %rax.0.reg2mem
br i1 %93, label LBL_25, label LBL_12
LBL_12:
%sv_0.024.reload = load i32, i32* %sv_0.024.reg2mem
%sv_1.025.reload = load i32, i32* %sv_1.025.reg2mem
%94 = add i32 %sv_1.025.reload, -1
%95 = add i32 %sv_0.024.reload, 1
%96 = sext i32 %sv_0.024.reload to i64
%97 = add i64 %7, %96
%98 = inttoptr i64 %97 to i8*
store i8 %75, i8* %98, align 1
%99 = add i32 %sv_0.024.reload, 2
%100 = sext i32 %95 to i64
%101 = add i64 %7, %100
%102 = inttoptr i64 %101 to i8*
store i8 %79, i8* %102, align 1
%103 = add i32 %sv_0.024.reload, 3
%104 = sext i32 %99 to i64
%105 = add i64 %7, %104
%106 = inttoptr i64 %105 to i8*
store i8 %83, i8* %106, align 1
%107 = add i32 %sv_0.024.reload, 4
%108 = sext i32 %103 to i64
%109 = add i64 %7, %108
%110 = inttoptr i64 %109 to i8*
store i8 %89, i8* %110, align 1
%111 = icmp eq i32 %94, 0
%112 = icmp eq i1 %111, false
store i64 %85, i64* %sv_2.1.be.reg2mem
store i32 %107, i32* %sv_0.2.be.reg2mem
store i32 %94, i32* %sv_1.025.reg2mem
store i32 %107, i32* %sv_0.024.reg2mem
br i1 %112, label LBL_12, label LBL_8
LBL_13:
%113 = mul i32 %66, 4
%114 = trunc i64 %.reload to i32
%115 = add i32 %113, %114
%116 = icmp ult i32 %115, 9
br i1 %116, label LBL_14, label LBL_20
LBL_14:
%117 = add i32 %sv_0.232.reload, %113
%118 = zext i32 %117 to i64
%119 = icmp slt i64 %22, %118
store i64 %118, i64* %rax.0.reg2mem
br i1 %119, label LBL_25, label LBL_15
LBL_15:
%120 = add nsw i32 %113, -1
%121 = mul i64 %.reload, 4294967296
%sext18114 = add i64 %121, 4294967296
%122 = ashr exact i64 %sext18114, 32
%123 = add i64 %.reload, %.reload142
%124 = add i32 %sv_0.232.reload, 1
%125 = sext i32 %sv_0.232.reload to i64
%126 = add i64 %7, %125
%127 = inttoptr i64 %123 to i8*
%128 = load i8, i8* %127, align 1
%129 = inttoptr i64 %126 to i8*
store i8 %128, i8* %129, align 1
store i32 %124, i32* %.reg2mem143
store i64 %122, i64* %.reg2mem145
store i32 %120, i32* %.reg2mem147
br label LBL_16
LBL_16:
%.reload148 = load i32, i32* %.reg2mem147
%.reload146 = load i64, i64* %.reg2mem145
%.reload144 = load i32, i32* %.reg2mem143
%.pre = load i64, i64* %21, align 8
%130 = add i32 %.reload148, -1
%131 = mul i64 %.reload146, 4294967296
%sext18 = add i64 %131, 4294967296
%132 = ashr exact i64 %sext18, 32
%133 = add i64 %.reload146, %.pre
%134 = add i32 %.reload144, 1
%135 = sext i32 %.reload144 to i64
%136 = add i64 %7, %135
%137 = inttoptr i64 %133 to i8*
%138 = load i8, i8* %137, align 1
%139 = inttoptr i64 %136 to i8*
store i8 %138, i8* %139, align 1
%140 = icmp eq i32 %130, 0
%141 = icmp eq i1 %140, false
store i64 %132, i64* %sv_2.1.be.reg2mem
store i32 %134, i32* %sv_0.2.be.reg2mem
store i32 %134, i32* %.reg2mem143
store i64 %132, i64* %.reg2mem145
store i32 %130, i32* %.reg2mem147
br i1 %141, label LBL_16, label LBL_8
LBL_17:
%sext638 = add i64 %sext638.in.reload, -4294967296
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%142 = add i64 %sv_3.037, %1
%sv_4.0 = ashr exact i64 %sext638, 32
%143 = trunc i64 %sv_4.0 to i32
%144 = icmp eq i32 %143, 0
%145 = icmp eq i1 %144, false
store i64 %sext638, i64* %sext638.in.reg2mem
store i64 %142, i64* %sv_3.037.in.in.reg2mem
store i64 %.lcssa.reload, i64* %sv_2.236.reg2mem
br i1 %145, label LBL_2, label LBL_22
LBL_18:
%146 = and i64 %46, 4294967295
store i64 %146, i64* %rax.0.reg2mem
br label LBL_25
LBL_19:
%147 = and i64 %69, 4294967295
store i64 %147, i64* %rax.0.reg2mem
br label LBL_25
LBL_20:
%148 = zext i32 %115 to i64
store i64 %148, i64* %rax.0.reg2mem
br label LBL_25
LBL_21:
%149 = zext i32 %56 to i64
store i64 %149, i64* %rax.0.reg2mem
br label LBL_25
LBL_22:
%150 = and i64 %sv_4.0, 4294967295
store i64 %150, i64* %rax.0.reg2mem
br label LBL_25
LBL_23:
%151 = zext i32 %34 to i64
store i64 %151, i64* %rax.0.reg2mem
br label LBL_25
LBL_24:
%152 = and i64 %23, 4294967295
store i64 %152, i64* %rax.0.reg2mem
br label LBL_25
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %113, { 2, 1, 0 }
uselistorder i32 %sv_0.024.reload, { 4, 3, 2, 1, 0 }
uselistorder i32 %56, { 1, 0, 2 }
uselistorder i8 %.in.reload, { 2, 0, 1 }
uselistorder i64 %.reload, { 5, 6, 2, 4, 1, 3, 0 }
uselistorder i64 %.reload142, { 5, 4, 3, 2, 1, 0 }
uselistorder i32 %sv_0.232.reload, { 5, 4, 3, 0, 2, 1 }
uselistorder i64 %36, { 1, 0 }
uselistorder i32 %34, { 1, 0, 2 }
uselistorder i64 %sv_2.236.reload, { 2, 1, 0 }
uselistorder i32 %18, { 0, 2, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %sext638.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.037.in.in.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.236.reg2mem, { 1, 0, 2 }
uselistorder i8* %.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem139, { 2, 0, 1 }
uselistorder i64* %.reg2mem141, { 2, 0, 1 }
uselistorder i32* %sv_0.232.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_2.1.be.reg2mem, { 2, 1, 0, 3 }
uselistorder i32* %sv_0.2.be.reg2mem, { 2, 1, 0, 3 }
uselistorder i32* %sv_1.025.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.024.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem143, { 1, 0, 2 }
uselistorder i64* %.reg2mem145, { 1, 0, 2 }
uselistorder i32* %.reg2mem147, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 6, 7, 8, 9, 10, 2, 1, 3 }
uselistorder i32 -1, { 1, 0, 2 }
uselistorder i8 -1, { 1, 0 }
uselistorder i64 8589934592, { 1, 2, 0 }
uselistorder i1 false, { 7, 2, 3, 4, 6, 5, 1, 0 }
uselistorder i32 0, { 4, 1, 2, 3, 0 }
uselistorder i64 4294967295, { 0, 1, 3, 2, 4 }
uselistorder i64 32, { 4, 5, 0, 6, 7, 8, 9, 11, 10, 3, 12, 1, 13, 2 }
uselistorder i64 4294967296, { 8, 0, 7, 1, 9, 2, 10, 3, 4, 5, 6 }
uselistorder label LBL_25, { 5, 4, 3, 9, 8, 7, 6, 1, 0, 2 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_8, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | net_slirp_redir_417 | net_slirp_redir | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 272)
%4 = call i64 @FUNC(i64 %3, i64 256, i64 %arg1)
%5 = add i64 %3, 256
%6 = inttoptr i64 %5 to i32*
store i32 3, i32* %6, align 4
%7 = load i64, i64* @gv_1, align 8
%8 = add i64 %3, 264
%9 = inttoptr i64 %8 to i64*
store i64 %7, i64* %9, align 8
store i64 %3, i64* @gv_1, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%10 = call i64 @FUNC(i64* nonnull @gv_0)
%11 = call i64 @FUNC(i64 %10, i64 0, i64 %arg1, i64 1)
store i64 %11, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 256, { 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
} | 0 |
CompRealVul | bd_errstats_setstr_3809 | bd_errstats_setstr | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
%2 = icmp eq i1 %1, false
store i64 %0, i64* %rax.0.reg2mem
br i1 %2, label LBL_4, label LBL_1
LBL_1:
%3 = icmp eq i64 %arg3, 0
store i64 %arg4, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_3, label LBL_2
LBL_2:
%4 = add i64 %arg3, 1
%5 = call i64 @FUNC(i64 %4, i64 0)
%6 = inttoptr i64 %5 to i8*
%7 = inttoptr i64 %arg2 to i8*
%8 = trunc i64 %arg3 to i32
%9 = add i32 %8, 1
%10 = call i8* @strncpy(i8* %6, i8* %7, i32 %9)
store i64 %5, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%11 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload)
store i64 %11, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 %arg3, { 1, 2, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | SSL_use_psk_identity_hint_7964 | SSL_use_psk_identity_hint | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_6
LBL_1:
%2 = icmp eq i64 %arg2, 0
br i1 %2, label LBL_4, label LBL_2
LBL_2:
%3 = inttoptr i64 %arg2 to i8*
%4 = call i32 @strlen(i8* %3)
%5 = icmp ult i32 %4, 129
br i1 %5, label LBL_5, label LBL_3
LBL_3:
%6 = call i64 @FUNC(i64 1, i64 2)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_4:
%7 = ptrtoint i64* %arg1 to i64
%8 = call i64 @FUNC(i64 %7)
store i64 0, i64* %arg1, align 8
store i64 1, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%9 = call i64 @FUNC(i64 %arg2)
%10 = call i64 @FUNC(i64 %arg2)
%11 = inttoptr i64 %arg2 to i64*
store i64 %10, i64* %11, align 8
store i64 1, 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* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i64 (i64)* @OPENSSL_free, { 1, 0 }
uselistorder i64 1, { 1, 0, 2 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i64 %arg2, { 1, 2, 0, 3, 4 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_6, { 1, 0, 3, 2 }
} | 0 |
CompRealVul | cirrus_bitblt_videotovideo_patterncopy_14827 | cirrus_bitblt_videotovideo_patterncopy | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = and i32 %3, -8
%5 = sext i32 %4 to i64
%6 = add i64 %5, %0
%7 = call i64 @FUNC(i64 %0, i64 %6)
ret i64 %7
uselistorder i64 %0, { 1, 0, 2 }
} | 1 |
CompRealVul | stimer_notify_direct_190 | stimer_notify_direct | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i32, align 4
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
store i32 0, i32* %sv_0, align 4
%2 = call i64 @FUNC(i64 %1)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %1, i32* nonnull %sv_0, i64 0)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i64
store i64 %8, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | raven_class_init_3091 | raven_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 i32*
store i32 4183, i32* %2, align 4
%3 = add i64 %0, 12
%4 = inttoptr i64 %3 to i32*
store i32 1, i32* %4, align 4
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i8*
%7 = add i64 %0, 20
%8 = inttoptr i64 %7 to i32*
store i32 394240, i32* %8, align 4
store i64 ptrtoint ([34 x i8]* @gv_0 to i64), i64* %arg1, align 8
%9 = inttoptr i64 %1 to i64*
store i64 ptrtoint (i64* @gv_1 to i64), i64* %9, align 8
store i8 1, i8* %6, align 1
ret i64 %0
} | 0 |
CompRealVul | qtrle_encode_line_7410 | qtrle_encode_line | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1119.reg2mem = alloca i32
%.reg2mem50 = alloca i32
%.reg2mem48 = alloca i64
%storemerge18.reg2mem = alloca i32
%.reg2mem46 = alloca i32
%.reg2mem = alloca i64
%sv_0.0.be.reg2mem = alloca i32
%sv_0.020.reg2mem = alloca i32
%sv_0.0.ph.reg2mem = alloca i32
%rsi.2.lcssa.reg2mem = alloca i64
%.pre-phi42.reg2mem = alloca i64*
%sv_1.2.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i32
%sv_2.1.lcssa.reg2mem = alloca i32
%sv_3.023.reg2mem = alloca i32
%sv_2.124.reg2mem = alloca i32
%sv_1.125.reg2mem = alloca i32
%storemerge1326.reg2mem = alloca i32
%storemerge14.reg2mem = alloca i32
%rsi.1.reg2mem = alloca i64
%storemerge15.reg2mem = alloca i32
%rsi.0.reg2mem = alloca i64
%sv_4.030.reg2mem = alloca i64
%sv_5.032.reg2mem = alloca i64
%sv_6.034.reg2mem = alloca i32
%sv_7.035.reg2mem = alloca i32
%sv_1.336.reg2mem = alloca i32
%rsi.238.reg2mem = alloca i64
%storemerge1239.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i32* %arg1 to i64
%4 = trunc i64 %1 to i32
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = trunc i64 %arg3 to i32
%11 = mul i32 %9, %10
%12 = sext i32 %11 to i64
%13 = add i32 %4, -1
%14 = add i64 %3, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = add i64 %3, 32
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = add i64 %3, 40
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %3, 8
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%sext = mul i64 %1, 4294967296
%30 = ashr exact i64 %sext, 30
%31 = add i64 %29, %30
%32 = inttoptr i64 %31 to i32*
store i32 0, i32* %32, align 4
%33 = icmp slt i32 %13, 0
%34 = icmp eq i1 %33, false
br i1 %34, label LBL_2, label LBL_0.LBL_19_crit_edge
LBL_1:
%.pre = add i64 %3, 16
%.pre41 = inttoptr i64 %.pre to i64*
store i64* %.pre41, i64** %.pre-phi42.reg2mem
store i64 %12, i64* %rsi.2.lcssa.reg2mem
br label LBL_19
LBL_2:
%35 = mul i32 %16, %13
%36 = zext i8 %21 to i32
%37 = add i32 %35, %36
%38 = mul i32 %26, %10
%39 = add i32 %37, %38
%40 = sext i32 %39 to i64
%41 = add i64 %12, %2
%42 = sext i32 %35 to i64
%43 = add i64 %41, %42
%44 = add i64 %3, 48
%45 = inttoptr i64 %44 to i32*
%46 = add i64 %3, 24
%47 = inttoptr i64 %46 to i64*
%48 = zext i32 %13 to i64
%49 = add i64 %3, 16
%50 = inttoptr i64 %49 to i64*
store i32 %13, i32* %storemerge1239.reg2mem
store i64 %12, i64* %rsi.238.reg2mem
store i32 0, i32* %sv_6.034.reg2mem
store i64 %40, i64* %sv_5.032.reg2mem
store i64 %43, i64* %sv_4.030.reg2mem
br label LBL_3
LBL_3:
%sv_4.030.reload = load i64, i64* %sv_4.030.reg2mem
%sv_5.032.reload = load i64, i64* %sv_5.032.reg2mem
%sv_7.035.reload = load i32, i32* %sv_7.035.reg2mem
%sv_1.336.reload = load i32, i32* %sv_1.336.reg2mem
%rsi.238.reload = load i64, i64* %rsi.238.reg2mem
%storemerge1239.reload = load i32, i32* %storemerge1239.reg2mem
%51 = load i32, i32* %45, align 4
%52 = icmp eq i32 %51, 0
%53 = icmp eq i1 %52, false
store i64 %rsi.238.reload, i64* %rsi.0.reg2mem
store i32 0, i32* %storemerge15.reg2mem
br i1 %53, label LBL_6, label LBL_4
LBL_4:
%54 = load i32, i32* %15, align 4
%55 = inttoptr i64 %sv_4.030.reload to i64*
%56 = inttoptr i64 %sv_5.032.reload to i64*
%57 = call i32 @memcmp(i64* %55, i64* %56, i32 %54)
%58 = icmp eq i32 %57, 0
%59 = icmp eq i1 %58, false
store i64 %sv_5.032.reload, i64* %rsi.0.reg2mem
store i32 0, i32* %storemerge15.reg2mem
br i1 %59, label LBL_6, label LBL_5
LBL_5:
%sv_6.034.reload = load i32, i32* %sv_6.034.reg2mem
%60 = add nsw i32 %sv_6.034.reload, 1
%61 = icmp ult i32 %60, 127
%62 = select i1 %61, i32 %60, i32 127
store i64 %sv_5.032.reload, i64* %rsi.0.reg2mem
store i32 %62, i32* %storemerge15.reg2mem
br label LBL_6
LBL_6:
%storemerge15.reload = load i32, i32* %storemerge15.reg2mem
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%63 = load i64, i64* %28, align 8
%64 = add i32 %storemerge15.reload, %storemerge1239.reload
%65 = zext i32 %64 to i64
%66 = mul i64 %65, 4
%67 = add i64 %66, %63
%68 = inttoptr i64 %67 to i32*
%69 = load i32, i32* %68, align 4
%70 = load i64, i64* %47, align 8
%71 = sext i32 %storemerge1239.reload to i64
%72 = add i64 %70, %71
%73 = trunc i32 %storemerge15.reload to i8
%74 = inttoptr i64 %72 to i8*
store i8 %73, i8* %74, align 1
%75 = icmp slt i64 %71, %48
store i64 %rsi.0.reload, i64* %rsi.1.reg2mem
store i32 1, i32* %storemerge14.reg2mem
br i1 %75, label LBL_7, label LBL_9
LBL_7:
%76 = load i32, i32* %15, align 4
%77 = sext i32 %76 to i64
%78 = add i64 %sv_4.030.reload, %77
%79 = inttoptr i64 %sv_4.030.reload to i64*
%80 = inttoptr i64 %78 to i64*
%81 = call i32 @memcmp(i64* %79, i64* %80, i32 %76)
%82 = icmp eq i32 %81, 0
%83 = icmp eq i1 %82, false
store i64 %78, i64* %rsi.1.reg2mem
store i32 1, i32* %storemerge14.reg2mem
br i1 %83, label LBL_9, label LBL_8
LBL_8:
%84 = add i32 %sv_7.035.reload, 1
%85 = icmp ult i32 %84, 127
%spec.select45 = select i1 %85, i32 %84, i32 127
store i64 %78, i64* %rsi.1.reg2mem
store i32 %spec.select45, i32* %storemerge14.reg2mem
br label LBL_9
LBL_9:
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%rsi.1.reload = load i64, i64* %rsi.1.reg2mem
%86 = load i64, i64* %28, align 8
%87 = load i32, i32* %15, align 4
%88 = icmp eq i32 %storemerge1239.reload, 0
%89 = icmp eq i1 %88, false
%sv_8.0.v = select i1 %89, i32 2, i32 1
%sv_8.0 = add i32 %69, %sv_8.0.v
%90 = icmp ult i32 %storemerge14.reload, 2
%91 = icmp eq i32 %storemerge15.reload, 0
br i1 %90, label LBL_12, label LBL_10
LBL_10:
%92 = add i32 %storemerge14.reload, %storemerge1239.reload
%93 = zext i32 %92 to i64
%94 = mul i64 %93, 4
%95 = add i64 %94, %86
%96 = inttoptr i64 %95 to i32*
%97 = load i32, i32* %96, align 4
%98 = select i1 %89, i32 1, i32 2
%99 = add i32 %97, %98
%sv_9.0 = add i32 %99, %87
%100 = icmp slt i32 %sv_9.0, %sv_8.0
%or.cond = or i1 %91, %100
br i1 %or.cond, label LBL_11, label LBL_13
LBL_11:
%101 = mul i64 %71, 4
%102 = add i64 %86, %101
%103 = inttoptr i64 %102 to i32*
store i32 %sv_9.0, i32* %103, align 4
%104 = load i64, i64* %50, align 8
%105 = add i64 %104, %71
%106 = trunc i32 %storemerge14.reload to i8
%107 = sub nsw i8 0, %106
%108 = inttoptr i64 %105 to i8*
store i8 %107, i8* %108, align 1
store i32 %sv_1.336.reload, i32* %sv_1.2.reg2mem
br label LBL_18
LBL_12:
br i1 %91, label LBL_14, label LBL_13
LBL_13:
%109 = mul i64 %71, 4
%110 = add i64 %86, %109
%111 = inttoptr i64 %110 to i32*
store i32 %sv_8.0, i32* %111, align 4
%112 = load i64, i64* %50, align 8
%113 = add i64 %112, %71
%114 = inttoptr i64 %113 to i8*
store i8 0, i8* %114, align 1
store i32 %sv_1.336.reload, i32* %sv_1.2.reg2mem
br label LBL_18
LBL_14:
%115 = sub i32 %4, %storemerge1239.reload
%116 = add i32 %115, -127
%117 = sub i32 126, %115
%118 = and i32 %117, %115
%119 = icmp slt i32 %118, 0
%120 = icmp eq i32 %116, 0
%121 = icmp slt i32 %116, 0
%122 = icmp eq i1 %121, %119
%123 = icmp eq i1 %120, false
%124 = icmp eq i1 %122, %123
%125 = select i1 %124, i32 127, i32 %115
%126 = icmp slt i32 %125, 1
store i32 2147483647, i32* %sv_2.1.lcssa.reg2mem
store i32 %sv_1.336.reload, i32* %sv_1.1.lcssa.reg2mem
br i1 %126, label LBL_17, label LBL_15
LBL_15:
%127 = select i1 %88, i32 2, i32 1
%128 = add i32 %87, %127
store i32 1, i32* %storemerge1326.reg2mem
store i32 %sv_1.336.reload, i32* %sv_1.125.reg2mem
store i32 2147483647, i32* %sv_2.124.reg2mem
store i32 %128, i32* %sv_3.023.reg2mem
br label LBL_16
LBL_16:
%sv_3.023.reload = load i32, i32* %sv_3.023.reg2mem
%sv_2.124.reload = load i32, i32* %sv_2.124.reg2mem
%sv_1.125.reload = load i32, i32* %sv_1.125.reg2mem
%storemerge1326.reload = load i32, i32* %storemerge1326.reg2mem
%129 = add i32 %storemerge1326.reload, %storemerge1239.reload
%130 = sext i32 %129 to i64
%131 = mul i64 %130, 4
%132 = add i64 %131, %86
%133 = inttoptr i64 %132 to i32*
%134 = load i32, i32* %133, align 4
%135 = add i32 %134, %sv_3.023.reload
%136 = zext i32 %135 to i64
%137 = sext i32 %sv_2.124.reload to i64
%138 = icmp sgt i64 %137, %136
%spec.select = select i1 %138, i32 %135, i32 %sv_2.124.reload
%spec.select16 = select i1 %138, i32 %storemerge1326.reload, i32 %sv_1.125.reload
%139 = add i32 %sv_3.023.reload, %87
%140 = add i32 %storemerge1326.reload, 1
%141 = icmp sgt i32 %140, %125
store i32 %140, i32* %storemerge1326.reg2mem
store i32 %spec.select16, i32* %sv_1.125.reg2mem
store i32 %spec.select, i32* %sv_2.124.reg2mem
store i32 %139, i32* %sv_3.023.reg2mem
store i32 %spec.select, i32* %sv_2.1.lcssa.reg2mem
store i32 %spec.select16, i32* %sv_1.1.lcssa.reg2mem
br i1 %141, label LBL_17, label LBL_16
LBL_17:
%sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem
%sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem
%142 = mul i64 %71, 4
%143 = add i64 %86, %142
%144 = inttoptr i64 %143 to i32*
store i32 %sv_2.1.lcssa.reload, i32* %144, align 4
%145 = load i64, i64* %50, align 8
%146 = add i64 %145, %71
%147 = trunc i32 %sv_1.1.lcssa.reload to i8
%148 = inttoptr i64 %146 to i8*
store i8 %147, i8* %148, align 1
store i32 %sv_1.1.lcssa.reload, i32* %sv_1.2.reg2mem
br label LBL_18
LBL_18:
%sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem
%149 = load i32, i32* %15, align 4
%150 = sext i32 %149 to i64
%151 = sub i64 %sv_4.030.reload, %150
%152 = sub i64 %sv_5.032.reload, %150
%storemerge12 = add i32 %storemerge1239.reload, -1
%153 = icmp slt i32 %storemerge12, 0
%154 = icmp eq i1 %153, false
store i32 %storemerge12, i32* %storemerge1239.reg2mem
store i64 %rsi.1.reload, i64* %rsi.238.reg2mem
store i32 %sv_1.2.reload, i32* %sv_1.336.reg2mem
store i32 %storemerge14.reload, i32* %sv_7.035.reg2mem
store i32 %storemerge15.reload, i32* %sv_6.034.reg2mem
store i64 %152, i64* %sv_5.032.reg2mem
store i64 %151, i64* %sv_4.030.reg2mem
store i64* %50, i64** %.pre-phi42.reg2mem
store i64 %rsi.1.reload, i64* %rsi.2.lcssa.reg2mem
br i1 %154, label LBL_3, label LBL_19
LBL_19:
%155 = ptrtoint i64* %arg4 to i64
%rsi.2.lcssa.reload = load i64, i64* %rsi.2.lcssa.reg2mem
%.pre-phi42.reload = load i64*, i64** %.pre-phi42.reg2mem
%156 = load i64, i64* %6, align 8
%157 = inttoptr i64 %156 to i32*
%158 = load i32, i32* %157, align 4
%159 = load i64, i64* %.pre-phi42.reload, align 8
%160 = inttoptr i64 %159 to i8*
%161 = load i8, i8* %160, align 1
%162 = icmp eq i8 %161, 0
%163 = icmp eq i1 %162, false
br i1 %163, label LBL_21, label LBL_20
LBL_20:
%164 = add i64 %3, 24
%165 = inttoptr i64 %164 to i64*
%166 = load i64, i64* %165, align 8
%167 = inttoptr i64 %166 to i8*
%168 = load i8, i8* %167, align 1
%169 = add i8 %168, 1
%170 = sext i8 %169 to i64
%171 = and i64 %170, 4294967295
%172 = call i64 @FUNC(i64 %155, i64 %171)
%173 = load i64, i64* %165, align 8
%174 = inttoptr i64 %173 to i8*
%175 = load i8, i8* %174, align 1
%176 = zext i8 %175 to i32
store i32 %176, i32* %sv_0.0.ph.reg2mem
br label LBL_22
LBL_21:
%177 = call i64 @FUNC(i64 %155, i64 1)
store i32 0, i32* %sv_0.0.ph.reg2mem
br label LBL_22
LBL_22:
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
%178 = icmp slt i32 %sv_0.0.ph.reload, %4
br i1 %178, label LBL_23, label LBL_38
LBL_23:
%179 = mul i32 %158, %10
%180 = sext i32 %179 to i64
%181 = add i64 %rsi.2.lcssa.reload, %180
%182 = add i64 %3, 24
%183 = inttoptr i64 %182 to i64*
%184 = add i64 %3, 56
%185 = inttoptr i64 %184 to i64*
store i32 %sv_0.0.ph.reload, i32* %sv_0.020.reg2mem
br label LBL_24
LBL_24:
%sv_0.020.reload = load i32, i32* %sv_0.020.reg2mem
%186 = load i64, i64* %.pre-phi42.reload, align 8
%187 = sext i32 %sv_0.020.reload to i64
%188 = add i64 %186, %187
%189 = inttoptr i64 %188 to i8*
%190 = load i8, i8* %189, align 1
%191 = sext i8 %190 to i64
%192 = and i64 %191, 4294967295
%193 = call i64 @FUNC(i64 %155, i64 %192)
%194 = icmp eq i8 %190, 0
%195 = icmp eq i1 %194, false
br i1 %195, label LBL_27, label LBL_25
LBL_25:
%196 = load i64, i64* %183, align 8
%197 = add i64 %196, %187
%198 = inttoptr i64 %197 to i8*
%199 = load i8, i8* %198, align 1
%200 = add i8 %199, 1
%201 = sext i8 %200 to i64
%202 = and i64 %201, 4294967295
%203 = call i64 @FUNC(i64 %155, i64 %202)
%204 = load i64, i64* %183, align 8
%205 = add i64 %204, %187
%206 = inttoptr i64 %205 to i8*
%207 = load i8, i8* %206, align 1
%208 = zext i8 %207 to i32
%209 = add i32 %sv_0.020.reload, %208
store i32 %209, i32* %sv_0.0.be.reg2mem
br label LBL_26
LBL_26:
%sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem
%210 = icmp slt i32 %sv_0.0.be.reload, %4
store i32 %sv_0.0.be.reload, i32* %sv_0.020.reg2mem
br i1 %210, label LBL_24, label LBL_38
LBL_27:
%211 = sext i8 %190 to i32
%212 = icmp slt i8 %190, 1
%213 = load i64, i64* %185, align 8
%214 = inttoptr i64 %213 to i32*
%215 = load i32, i32* %214, align 4
%216 = icmp eq i32 %215, 0
%217 = icmp eq i1 %216, false
%218 = load i32, i32* %15, align 4
br i1 %212, label LBL_33, label LBL_28
LBL_28:
%219 = mul i32 %218, %211
br i1 %217, label LBL_31, label LBL_29
LBL_29:
%220 = icmp eq i32 %219, 0
store i64 0, i64* %.reg2mem
store i32 %218, i32* %.reg2mem46
store i32 0, i32* %storemerge18.reg2mem
br i1 %220, label LBL_32, label LBL_30
LBL_30:
%storemerge18.reload = load i32, i32* %storemerge18.reg2mem
%.reload47 = load i32, i32* %.reg2mem46
%.reload = load i64, i64* %.reg2mem
%221 = mul i32 %.reload47, %sv_0.020.reload
%222 = sext i32 %221 to i64
%223 = add i64 %.reload, %181
%224 = add i64 %223, %222
%225 = inttoptr i64 %224 to i8*
%226 = load i8, i8* %225, align 1
%227 = sub i8 0, %226
%228 = sub i8 %227, 1
%229 = sext i8 %228 to i64
%230 = and i64 %229, 4294967295
%231 = call i64 @FUNC(i64 %155, i64 %230)
%232 = add i32 %storemerge18.reload, 1
%233 = load i32, i32* %15, align 4
%234 = mul i32 %233, %211
%235 = zext i32 %234 to i64
%236 = sext i32 %232 to i64
%237 = icmp slt i64 %236, %235
store i64 %236, i64* %.reg2mem
store i32 %233, i32* %.reg2mem46
store i32 %232, i32* %storemerge18.reg2mem
br i1 %237, label LBL_30, label LBL_32
LBL_31:
%238 = zext i32 %219 to i64
%239 = mul i32 %218, %sv_0.020.reload
%240 = sext i32 %239 to i64
%241 = add i64 %181, %240
%242 = call i64 @FUNC(i64 %155, i64 %241, i64 %238)
br label LBL_32
LBL_32:
%243 = add i32 %sv_0.020.reload, %211
store i32 %243, i32* %sv_0.0.be.reg2mem
br label LBL_26
LBL_33:
br i1 %217, label LBL_36, label LBL_34
LBL_34:
%244 = icmp eq i32 %218, 0
store i64 0, i64* %.reg2mem48
store i32 %218, i32* %.reg2mem50
store i32 0, i32* %storemerge1119.reg2mem
br i1 %244, label LBL_37, label LBL_35
LBL_35:
%storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem
%.reload51 = load i32, i32* %.reg2mem50
%.reload49 = load i64, i64* %.reg2mem48
%245 = mul i32 %.reload51, %sv_0.020.reload
%246 = sext i32 %245 to i64
%247 = add i64 %.reload49, %181
%248 = add i64 %247, %246
%249 = inttoptr i64 %248 to i8*
%250 = load i8, i8* %249, align 1
%251 = sub i8 0, %250
%252 = sub i8 %251, 1
%253 = sext i8 %252 to i64
%254 = and i64 %253, 4294967295
%255 = call i64 @FUNC(i64 %155, i64 %254)
%256 = add i32 %storemerge1119.reload, 1
%257 = load i32, i32* %15, align 4
%258 = zext i32 %257 to i64
%259 = sext i32 %256 to i64
%260 = icmp slt i64 %259, %258
store i64 %259, i64* %.reg2mem48
store i32 %257, i32* %.reg2mem50
store i32 %256, i32* %storemerge1119.reg2mem
br i1 %260, label LBL_35, label LBL_37
LBL_36:
%261 = zext i32 %218 to i64
%262 = mul i32 %218, %sv_0.020.reload
%263 = sext i32 %262 to i64
%264 = add i64 %181, %263
%265 = call i64 @FUNC(i64 %155, i64 %264, i64 %261)
br label LBL_37
LBL_37:
%266 = sub i32 %sv_0.020.reload, %211
store i32 %266, i32* %sv_0.0.be.reg2mem
br label LBL_26
LBL_38:
%267 = call i64 @FUNC(i64 %155, i64 4294967295)
ret i64 %267
uselistorder i32 %219, { 1, 0 }
uselistorder i32 %218, { 2, 6, 0, 5, 3, 1, 4 }
uselistorder i1 %217, { 1, 0 }
uselistorder i32 %211, { 3, 0, 1, 2 }
uselistorder i32 %sv_0.0.be.reload, { 1, 0 }
uselistorder i8 %190, { 0, 2, 3, 1 }
uselistorder i32 %sv_0.020.reload, { 1, 5, 4, 7, 3, 2, 6, 0 }
uselistorder i64 %181, { 0, 2, 1, 3 }
uselistorder i64 %155, { 1, 6, 5, 4, 3, 2, 7, 8, 0 }
uselistorder i32 %storemerge1326.reload, { 1, 0, 2 }
uselistorder i32 %sv_3.023.reload, { 1, 0 }
uselistorder i32 %125, { 1, 0 }
uselistorder i32 %116, { 1, 0 }
uselistorder i32 %115, { 2, 0, 1, 3 }
uselistorder i1 %91, { 1, 0 }
uselistorder i32 %storemerge14.reload, { 3, 1, 2, 0 }
uselistorder i32 %76, { 1, 0 }
uselistorder i64 %71, { 3, 0, 4, 1, 5, 2, 7, 6 }
uselistorder i32 %storemerge15.reload, { 3, 1, 0, 2 }
uselistorder i32 %storemerge1239.reload, { 3, 6, 0, 5, 1, 2, 4 }
uselistorder i32 %sv_1.336.reload, { 3, 2, 1, 0 }
uselistorder i64 %sv_5.032.reload, { 3, 0, 1, 2 }
uselistorder i64 %sv_4.030.reload, { 2, 1, 3, 0 }
uselistorder i32 %35, { 1, 0 }
uselistorder i32* %15, { 1, 0, 2, 4, 5, 6, 3, 7 }
uselistorder i32 %13, { 0, 3, 1, 2 }
uselistorder i64 %12, { 1, 2, 0 }
uselistorder i32 %4, { 2, 3, 1, 0 }
uselistorder i64 %3, { 2, 1, 3, 4, 5, 6, 0, 7, 8, 9, 10 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge1239.reg2mem, { 1, 0, 2 }
uselistorder i64* %rsi.238.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.336.reg2mem, { 1, 0 }
uselistorder i32* %sv_7.035.reg2mem, { 1, 0 }
uselistorder i32* %sv_6.034.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_5.032.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_4.030.reg2mem, { 1, 0, 2 }
uselistorder i64* %rsi.1.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* %storemerge14.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* %storemerge1326.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.125.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.124.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.023.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.2.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %sv_0.020.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem46, { 2, 0, 1 }
uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem48, { 2, 0, 1 }
uselistorder i32* %.reg2mem50, { 2, 0, 1 }
uselistorder i32* %storemerge1119.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64, i64)* @bytestream_put_buffer, { 1, 0 }
uselistorder i64 (i64, i64)* @bytestream_put_byte, { 2, 6, 5, 4, 3, 1, 0 }
uselistorder i64 4294967295, { 6, 0, 1, 2, 3, 4, 5 }
uselistorder i32 2147483647, { 1, 0 }
uselistorder i8 0, { 0, 1, 3, 5, 4, 2 }
uselistorder i32 2, { 0, 1, 3, 2 }
uselistorder i32 127, { 4, 0, 1, 2, 3 }
uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }
uselistorder i64 24, { 0, 2, 1 }
uselistorder i64 16, { 1, 0 }
uselistorder i1 false, { 1, 2, 8, 9, 3, 4, 5, 6, 7, 0 }
uselistorder label LBL_37, { 2, 0, 1 }
uselistorder label LBL_35, { 1, 0 }
uselistorder label LBL_32, { 2, 0, 1 }
uselistorder label LBL_30, { 1, 0 }
uselistorder label LBL_26, { 2, 1, 0 }
uselistorder label LBL_24, { 1, 0 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | jpc_dec_create_10250 | jpc_dec_create | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = call i64 @FUNC(i64 144)
%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_2
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = ptrtoint i64* %arg2 to i64
%5 = inttoptr i64 %0 to i64*
store i64 0, i64* %5, align 8
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %0, 12
%9 = inttoptr i64 %8 to i32*
store i32 0, i32* %9, align 4
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %0, 20
%13 = inttoptr i64 %12 to i32*
store i32 0, i32* %13, align 4
%14 = add i64 %0, 24
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
%16 = add i64 %0, 28
%17 = inttoptr i64 %16 to i32*
store i32 0, i32* %17, align 4
%18 = add i64 %0, 32
%19 = inttoptr i64 %18 to i32*
store i32 0, i32* %19, align 4
%20 = add i64 %0, 36
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = add i64 %0, 40
%23 = inttoptr i64 %22 to i32*
store i32 0, i32* %23, align 4
%24 = add i64 %0, 44
%25 = inttoptr i64 %24 to i32*
store i32 0, i32* %25, align 4
%26 = add i64 %0, 48
%27 = inttoptr i64 %26 to i32*
store i32 0, i32* %27, align 4
%28 = add i64 %0, 56
%29 = inttoptr i64 %28 to i64*
store i64 0, i64* %29, align 8
%30 = add i64 %0, 64
%31 = inttoptr i64 %30 to i32*
store i32 0, i32* %31, align 4
%32 = add i64 %0, 68
%33 = inttoptr i64 %32 to i32*
store i32 0, i32* %33, align 4
%34 = add i64 %0, 72
%35 = inttoptr i64 %34 to i64*
store i64 %4, i64* %35, align 8
%36 = add i64 %0, 80
%37 = inttoptr i64 %36 to i64*
store i64 0, i64* %37, align 8
%38 = bitcast i64* %rdi to i32*
%39 = load i32, i32* %38, align 8
%40 = add i64 %0, 88
%41 = inttoptr i64 %40 to i32*
store i32 %39, i32* %41, align 4
%42 = add i64 %3, 4
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = add i64 %0, 92
%46 = inttoptr i64 %45 to i32*
store i32 %44, i32* %46, align 4
%47 = add i64 %0, 96
%48 = inttoptr i64 %47 to i32*
store i32 0, i32* %48, align 4
%49 = add i64 %0, 100
%50 = inttoptr i64 %49 to i32*
store i32 0, i32* %50, align 4
%51 = add i64 %0, 104
%52 = inttoptr i64 %51 to i32*
store i32 0, i32* %52, align 4
%53 = add i64 %0, 112
%54 = inttoptr i64 %53 to i64*
store i64 0, i64* %54, align 8
%55 = add i64 %0, 120
%56 = inttoptr i64 %55 to i64*
store i64 0, i64* %56, align 8
%57 = add i64 %0, 128
%58 = inttoptr i64 %57 to i64*
store i64 0, i64* %58, align 8
%59 = add i64 %0, 136
%60 = inttoptr i64 %59 to i32*
store i32 0, i32* %60, align 4
store i64 %0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | send_framebuffer_update_raw_15795 | send_framebuffer_update_raw | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%storemerge.lcssa.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i32
%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 = load i64, i64* %2, align 8
%6 = call i64 @FUNC(i64 %5)
%7 = load i64, i64* %2, align 8
%8 = call i64 @FUNC(i64 %7)
%9 = trunc i64 %arg5 to i32
%10 = icmp sgt i32 %9, 0
store i32 0, i32* %storemerge10.reg2mem
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %10, label LBL_1, label LBL_3
LBL_1:
%storemerge10.reload = load i32, i32* %storemerge10.reg2mem
%11 = load i64, i64* %2, align 8
%12 = call i64 @FUNC(i64 %11)
%13 = load i64, i64* %2, align 8
%14 = call i64 @FUNC(i64 %13)
%15 = add nuw nsw i32 %storemerge10.reload, 1
%exitcond = icmp eq i32 %15, %9
store i32 %15, i32* %storemerge10.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%phitmp = and i64 %arg5, 4294967295
store i64 %phitmp, i64* %storemerge.lcssa.reg2mem
br label LBL_3
LBL_3:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
ret i64 %storemerge.lcssa.reload
uselistorder i64* %2, { 1, 0, 2, 3, 4 }
uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @ds_get_bytes_per_pixel, { 1, 0 }
uselistorder i64 (i64)* @ds_get_linesize, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | ff_MPV_report_decode_progress_5189 | ff_MPV_report_decode_progress | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
store i64 1, i64* %rax.0.reg2mem
br i1 %3, label LBL_4, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = zext i32 %7 to i64
%9 = icmp eq i32 %7, 0
%10 = icmp eq i1 %9, false
store i64 %8, i64* %rax.0.reg2mem
br i1 %10, label LBL_4, label LBL_2
LBL_2:
%11 = add i64 %4, 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = zext i32 %13 to i64
%15 = icmp eq i32 %13, 0
%16 = icmp eq i1 %15, false
store i64 %14, i64* %rax.0.reg2mem
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = add i64 %4, 24
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = add i64 %4, 16
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = zext i32 %19 to i64
%24 = call i64 @FUNC(i64 %22, i64 %23, i64 0)
store i64 %24, 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 %4, { 1, 0, 2, 3 }
} | 0 |
CompRealVul | net_init_vde_15680 | net_init_vde | define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i8* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%4 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))
%5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 0)
%6 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 448)
%7 = and i64 %5, 4294967295
%8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %1, i64 %3, i64 %7, i64 %4)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, -1
%11 = icmp eq i1 %10, false
%. = select i1 %11, i64 0, i64 4294967295
ret i64 %.
uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_number, { 1, 0 }
uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 }
} | 1 |
CompRealVul | prepend_to_path_17579 | prepend_to_path | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sext = mul i64 %arg2, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%2 = icmp eq i8* %1, null
%3 = icmp eq i1 %2, false
%spec.select = select i1 %3, i8* %1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)
%4 = call i32 @strlen(i8* %spec.select)
%5 = trunc i64 %0 to i32
%6 = add i32 %5, 2
%7 = add i32 %6, %4
%8 = call i64* @malloc(i32 %7)
%9 = ptrtoint i64* %8 to i64
%10 = inttoptr i64 %arg1 to i64*
%11 = call i64* @memcpy(i64* %8, i64* %10, i32 %5)
%12 = add i64 %0, %9
%13 = inttoptr i64 %12 to i8*
store i8 58, i8* %13, align 1
%14 = add i32 %4, 1
%15 = add i64 %12, 1
%16 = inttoptr i64 %15 to i64*
%17 = bitcast i8* %spec.select to i64*
%18 = call i64* @memcpy(i64* %16, i64* %17, i32 %14)
%19 = bitcast i64* %8 to i8*
%20 = call i32 @setenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %19, i32 1)
%21 = sext i32 %20 to i64
ret i64 %21
uselistorder i32 %5, { 1, 0 }
uselistorder i32 %4, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }
} | 1 |
CompRealVul | rtnl_fill_link_ifmap_6226 | rtnl_fill_link_ifmap | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 40)
store i64 0, i64* %sv_0, align 8
%2 = call i64 @FUNC(i64 %0, i64 1, i64 40, i64* nonnull %sv_0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%. = select i1 %4, i64 0, i64 4294967206
ret i64 %.
uselistorder i64* %sv_0, { 0, 2, 1 }
} | 0 |
CompRealVul | device_initfn_17250 | device_initfn | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1
%1 = icmp eq i8 %0, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = bitcast i64* %arg1 to i32*
store i32 1, i32* %2, align 4
store i8 1, i8* inttoptr (i64 4210718 to i8*), align 2
br label LBL_2
LBL_2:
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 4
%5 = inttoptr i64 %4 to i32*
store i32 -1, i32* %5, align 4
%6 = add i64 %3, 8
%7 = inttoptr i64 %6 to i8*
store i8 0, i8* %7, align 1
%8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 4198803, i64 4198814, i64 0)
%9 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4198821, i64 0, i64 0)
%10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 4198832, i64 4198843, i64 4198850)
%11 = call i64 @FUNC(i64 %3)
store i64 %11, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%12 = inttoptr i64 %sv_0.0.reload to i64*
%13 = load i64, i64* %12, align 8
%14 = icmp eq i64 %13, 0
store i64 %13, i64* %storemerge1.reg2mem
br i1 %14, label LBL_6, label LBL_5
LBL_4:
%15 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload, i64 4198850)
%16 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload, i64 4198850)
%17 = add i64 %storemerge1.reload, 8
%18 = icmp eq i64 %17, 0
store i64 %17, i64* %storemerge1.reg2mem
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%19 = inttoptr i64 %storemerge1.reload to i64*
%20 = load i64, i64* %19, align 8
%21 = icmp eq i64 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_4, label LBL_6
LBL_6:
%23 = call i64 @FUNC(i64 %sv_0.0.reload)
%24 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))
%25 = icmp eq i64 %23, %24
%26 = icmp eq i1 %25, false
store i64 %23, i64* %sv_0.0.reg2mem
br i1 %26, label LBL_3, label LBL_7
LBL_7:
%27 = add i64 %3, 16
%28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %27, i64 0, i64 0)
%29 = add i64 %3, 24
%30 = inttoptr i64 %29 to i64*
store i64 0, i64* %30, align 8
ret i64 %3
uselistorder i64 %storemerge1.reload, { 3, 0, 1, 2 }
uselistorder i64 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %3, { 5, 4, 3, 2, 1, 0, 6, 9, 8, 7, 10, 11 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i8*, i64, i64, i64)* @object_property_add_bool, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
CompRealVul | btrfs_read_fs_root_no_radix_17817 | btrfs_read_fs_root_no_radix | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 64, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_12
LBL_1:
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %3, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, -1
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_4, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %4, i64 %4, i64 0, i64 %0)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 %4, i64* %rsi.0.reg2mem
br i1 %12, label LBL_10, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %0)
%sext = mul i64 %10, 4294967296
%14 = ashr exact i64 %sext, 32
store i64 %14, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%15 = add i64 %4, 56
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %4, 52
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = add i64 %4, 48
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = add i64 %4, 44
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = zext i32 %26 to i64
%28 = call i64 @FUNC(i64 %27, i32 %23, i32 %20, i32 %17, i64 %0, i64 %4)
%29 = call i64 @FUNC()
%30 = icmp eq i64 %29, 0
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_6, label LBL_5
LBL_5:
call void @exit(i32 1)
unreachable
LBL_6:
%32 = call i64 @FUNC(i64 0, i64 %4, i64 %3, i64 %29, i64 0, i64 0)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_7, label LBL_8
LBL_7:
%36 = call i64 @FUNC(i64 %29)
%37 = icmp slt i32 %33, 1
%.op = mul i64 %32, 4294967296
%.op.op = ashr exact i64 %.op, 32
%38 = select i1 %37, i64 %.op.op, i64 -2
store i64 %38, i64* %rax.0.reg2mem
br label LBL_12
LBL_8:
%39 = inttoptr i64 %29 to i64*
%40 = load i64, i64* %39, align 8
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = add i64 %29, 8
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = zext i32 %47 to i64
%49 = call i64 @FUNC(i64 %42, i64 %48)
%50 = and i64 %49, 4294967295
%51 = add i64 %0, 8
%52 = call i64 @FUNC(i64 %42, i64 %51, i64 %50, i64 0)
%53 = load i64, i64* %6, align 8
%54 = inttoptr i64 %51 to i64*
store i64 %51, i64* %54, align 8
%55 = add i64 %0, 16
%56 = inttoptr i64 %55 to i64*
store i64 %53, i64* %56, align 8
%57 = call i64 @FUNC(i64 %29)
%58 = call i64 @FUNC(i64 %51)
%59 = call i64 @FUNC(i64 %51)
%60 = and i64 %59, 4294967295
%61 = call i64 @FUNC(i64 %0, i64 %60)
%62 = trunc i64 %61 to i32
%63 = call i64 @FUNC(i64 %51)
%64 = call i64 @FUNC(i64 %0, i64 %63, i32 %62, i64 %58)
%65 = add i64 %0, 24
%66 = inttoptr i64 %65 to i64*
store i64 %64, i64* %66, align 8
%67 = call i64 @FUNC(i64 %0)
%68 = add i64 %0, 32
%69 = inttoptr i64 %68 to i64*
store i64 %67, i64* %69, align 8
%70 = load i64, i64* %66, align 8
%71 = icmp eq i64 %70, 0
%72 = icmp eq i1 %71, false
store i64 %63, i64* %rsi.0.reg2mem
br i1 %72, label LBL_10, label LBL_9
LBL_9:
call void @exit(i32 1)
unreachable
LBL_10:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%73 = icmp eq i64 %rsi.0.reload, 0
store i64 %0, i64* %rax.0.reg2mem
br i1 %73, label LBL_12, label LBL_11
LBL_11:
%74 = add i64 %0, 40
%75 = inttoptr i64 %74 to i32*
store i32 1, i32* %75, 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 %51, { 2, 1, 0, 4, 3, 5 }
uselistorder i64 %29, { 0, 2, 1, 3, 4, 5 }
uselistorder i64 %4, { 3, 4, 7, 8, 6, 5, 0, 2, 1 }
uselistorder i64 %0, { 1, 5, 0, 7, 6, 9, 8, 10, 4, 3, 12, 2, 11, 13 }
uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder label LBL_12, { 1, 0, 3, 4, 2 }
} | 1 |
CompRealVul | create_proc_entry_3907 | create_proc_entry | define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%sv_2 = alloca i64, align 8
%sext = mul i64 %arg2, 4294967296
%0 = ashr exact i64 %sext, 32
store i64 %arg3, i64* %sv_2, align 8
%1 = and i64 %arg2, 61440
%2 = icmp eq i64 %1, 16384
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = and i64 %arg2, 438
%5 = icmp eq i64 %4, 0
%6 = icmp eq i1 %5, false
%7 = or i64 %0, 365
%spec.select6 = select i1 %6, i64 %0, i64 %7
store i64 %spec.select6, i64* %sv_1.1.reg2mem
store i64 2, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%8 = icmp eq i64 %1, 0
%9 = icmp eq i1 %8, false
%10 = or i64 %0, 32768
%sv_1.0 = select i1 %9, i64 %0, i64 %10
%11 = and i64 %sv_1.0, 438
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
%14 = or i64 %sv_1.0, 292
%spec.select = select i1 %13, i64 %sv_1.0, i64 %14
store i64 %spec.select, i64* %sv_1.1.reg2mem
store i64 1, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%15 = trunc i64 %sv_1.1.reload to i32
%16 = ptrtoint i8* %arg1 to i64
%17 = call i64 @FUNC(i64* nonnull %sv_2, i64 %16, i32 %15, i64 %storemerge.reload)
%18 = icmp eq i64 %17, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %18, label LBL_6, label LBL_4
LBL_4:
%19 = load i64, i64* %sv_2, align 8
%20 = call i64 @FUNC(i64 %19, i64 %17)
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 %17, i64* %sv_0.0.reg2mem
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %17)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
ret i64 %sv_0.0.reload
uselistorder i64 %17, { 1, 0, 2, 3 }
uselistorder i64 %sv_1.0, { 0, 2, 1 }
uselistorder i64 %0, { 3, 2, 0, 1 }
uselistorder i64* %sv_2, { 1, 0, 2 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 438, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i64 %arg2, { 1, 2, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | m_start_11375 | m_start | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %3, i64 0)
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
store i64 %4, i64* %6, align 8
%7 = icmp eq i64 %4, 0
%8 = icmp eq i1 %7, false
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_1, label LBL_6
LBL_1:
%9 = call i64 @FUNC(i64 %4)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = load i64, i64* %6, align 8
%13 = call i64 @FUNC(i64 %12)
store i64 0, i64* %6, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%14 = ptrtoint i64* %arg2 to i64
%15 = call i64 @FUNC(i64 %9)
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
store i64 %15, i64* %storemerge2.reg2mem
store i64 %14, i64* %sv_0.01.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_4, label LBL_6
LBL_4:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%18 = icmp eq i64 %sv_0.01.reload, 0
%19 = icmp eq i1 %18, false
store i64 %storemerge2.reload, i64* %rax.0.reg2mem
br i1 %19, label LBL_5, label LBL_6
LBL_5:
%20 = add i64 %sv_0.01.reload, -1
%21 = call i64 @FUNC(i64 %storemerge2.reload)
%22 = icmp eq i64 %21, 0
%23 = icmp eq i1 %22, false
store i64 %21, i64* %storemerge2.reg2mem
store i64 %20, i64* %sv_0.01.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_4, label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge2.reload, { 1, 0 }
uselistorder i64 %sv_0.01.reload, { 1, 0 }
uselistorder i64* %6, { 1, 0, 2 }
uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 }
uselistorder i1 false, { 2, 1, 0, 3, 4 }
uselistorder label LBL_6, { 1, 0, 2, 4, 3 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | mpeg4video_probe_13651 | mpeg4video_probe | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i32
%sv_2.1.lcssa.reg2mem = alloca i32
%sv_3.1.lcssa.reg2mem = alloca i32
%sv_4.1.lcssa.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i32
%sv_3.0.reg2mem = alloca i32
%sv_4.0.reg2mem = alloca i32
%sv_5.018.reg2mem = alloca i32
%sv_4.119.reg2mem = alloca i32
%sv_3.120.reg2mem = alloca i32
%sv_2.121.reg2mem = alloca i32
%sv_1.122.reg2mem = alloca i32
%sv_0.123.reg2mem = alloca i32
%storemerge124.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
store i32 0, i32* %sv_4.1.lcssa.reg2mem
store i32 0, i32* %sv_3.1.lcssa.reg2mem
store i32 0, i32* %sv_2.1.lcssa.reg2mem
store i32 0, i32* %sv_1.1.lcssa.reg2mem
store i32 0, i32* %sv_0.1.lcssa.reg2mem
br i1 %4, label LBL_13, label LBL_1
LBL_1:
%5 = zext i32 %3 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge124.reg2mem
store i32 0, i32* %sv_0.123.reg2mem
store i32 0, i32* %sv_1.122.reg2mem
store i32 0, i32* %sv_2.121.reg2mem
store i32 0, i32* %sv_3.120.reg2mem
store i32 0, i32* %sv_4.119.reg2mem
store i32 -1, i32* %sv_5.018.reg2mem
br label LBL_2
LBL_2:
%sv_5.018.reload = load i32, i32* %sv_5.018.reg2mem
%sv_4.119.reload = load i32, i32* %sv_4.119.reg2mem
%sv_3.120.reload = load i32, i32* %sv_3.120.reg2mem
%sv_2.121.reload = load i32, i32* %sv_2.121.reg2mem
%sv_1.122.reload = load i32, i32* %sv_1.122.reg2mem
%sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem
%storemerge124.reload = load i32, i32* %storemerge124.reg2mem
%.reload = load i64, i64* %.reg2mem
%6 = mul i32 %sv_5.018.reload, 256
%7 = add i64 %.reload, %0
%8 = inttoptr i64 %7 to i8*
%9 = load i8, i8* %8, align 1
%10 = zext i8 %9 to i32
%11 = or i32 %6, %10
%12 = and i32 %sv_5.018.reload, 16777214
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
%15 = icmp ult i32 %11, 2
%or.cond12 = or i1 %14, %15
store i32 %sv_4.119.reload, i32* %sv_4.0.reg2mem
store i32 %sv_3.120.reload, i32* %sv_3.0.reg2mem
store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.122.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br i1 %or.cond12, label LBL_12, label LBL_3
LBL_3:
%16 = icmp eq i32 %11, 176
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_5, label LBL_4
LBL_4:
%18 = add i32 %sv_2.121.reload, 1
store i32 %sv_4.119.reload, i32* %sv_4.0.reg2mem
store i32 %sv_3.120.reload, i32* %sv_3.0.reg2mem
store i32 %18, i32* %sv_2.0.reg2mem
store i32 %sv_1.122.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_5:
%19 = icmp eq i32 %11, 181
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_7, label LBL_6
LBL_6:
%21 = add i32 %sv_1.122.reload, 1
store i32 %sv_4.119.reload, i32* %sv_4.0.reg2mem
store i32 %sv_3.120.reload, i32* %sv_3.0.reg2mem
store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem
store i32 %21, i32* %sv_1.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_7:
%22 = and i32 %11, -32
%23 = icmp eq i32 %22, 256
br i1 %23, label LBL_8, label LBL_9
LBL_8:
%24 = add i32 %sv_4.119.reload, 1
store i32 %24, i32* %sv_4.0.reg2mem
store i32 %sv_3.120.reload, i32* %sv_3.0.reg2mem
store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.122.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_9:
%25 = and i32 %11, -16
%26 = icmp eq i32 %25, 288
br i1 %26, label LBL_10, label LBL_11
LBL_10:
%27 = add i32 %sv_3.120.reload, 1
store i32 %sv_4.119.reload, i32* %sv_4.0.reg2mem
store i32 %27, i32* %sv_3.0.reg2mem
store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.122.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_11:
%.off = add i32 %11, -432
%28 = icmp ugt i32 %.off, 6
%.off13 = add i32 %11, -442
%29 = icmp ugt i32 %.off13, 9
%not.or.cond = icmp eq i1 %29, %28
%30 = zext i1 %not.or.cond to i32
%spec.select = add i32 %sv_0.123.reload, %30
store i32 %sv_4.119.reload, i32* %sv_4.0.reg2mem
store i32 %sv_3.120.reload, i32* %sv_3.0.reg2mem
store i32 %sv_2.121.reload, i32* %sv_2.0.reg2mem
store i32 %sv_1.122.reload, i32* %sv_1.0.reg2mem
store i32 %spec.select, i32* %sv_0.0.reg2mem
br label LBL_12
LBL_12:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem
%31 = add i32 %storemerge124.reload, 1
%32 = sext i32 %31 to i64
%33 = icmp slt i64 %32, %5
store i64 %32, i64* %.reg2mem
store i32 %31, i32* %storemerge124.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.123.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.122.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.121.reg2mem
store i32 %sv_3.0.reload, i32* %sv_3.120.reg2mem
store i32 %sv_4.0.reload, i32* %sv_4.119.reg2mem
store i32 %11, i32* %sv_5.018.reg2mem
store i32 %sv_4.0.reload, i32* %sv_4.1.lcssa.reg2mem
store i32 %sv_3.0.reload, i32* %sv_3.1.lcssa.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.1.lcssa.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %33, label LBL_2, label LBL_13
LBL_13:
%sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem
%sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem
%sv_3.1.lcssa.reload = load i32, i32* %sv_3.1.lcssa.reg2mem
%34 = icmp slt i32 %sv_2.1.lcssa.reload, %sv_1.1.lcssa.reload
%35 = icmp slt i32 %sv_2.1.lcssa.reload, %sv_3.1.lcssa.reload
%or.cond15 = or i1 %35, %34
br i1 %or.cond15, label LBL_15, label LBL_14
LBL_14:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%sv_4.1.lcssa.reload = load i32, i32* %sv_4.1.lcssa.reg2mem
%36 = icmp slt i32 %sv_4.1.lcssa.reload, %sv_3.1.lcssa.reload
%37 = icmp slt i32 %sv_3.1.lcssa.reload, 1
%or.cond10 = or i1 %36, %37
%38 = icmp eq i32 %sv_0.1.lcssa.reload, 0
%39 = icmp eq i1 %38, false
%or.cond17 = or i1 %or.cond10, %39
store i64 100, i64* %storemerge.reg2mem
br i1 %or.cond17, label LBL_15, label LBL_16
LBL_15:
store i64 0, i64* %storemerge.reg2mem
br label LBL_16
LBL_16:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %sv_3.1.lcssa.reload, { 2, 1, 0 }
uselistorder i32 %sv_0.123.reload, { 5, 2, 3, 1, 0, 4 }
uselistorder i32 %sv_1.122.reload, { 0, 2, 3, 5, 1, 4 }
uselistorder i32 %sv_2.121.reload, { 0, 2, 3, 1, 5, 4 }
uselistorder i32 %sv_3.120.reload, { 0, 5, 3, 2, 1, 4 }
uselistorder i32 %sv_4.119.reload, { 0, 3, 5, 2, 1, 4 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge124.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.123.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.122.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.121.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.120.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.119.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_5.018.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }
uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }
uselistorder i32* %sv_2.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 256, { 1, 0 }
uselistorder i32 0, { 12, 13, 5, 6, 7, 8, 9, 10, 0, 1, 2, 3, 4, 11 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_12, { 0, 2, 3, 4, 5, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | slavio_misc_init1_16290 | slavio_misc_init1 | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 %0)
%2 = add i64 %0, 4
%3 = call i64 @FUNC(i64 %0, i64 %2)
%4 = add i64 %0, 8
%5 = call i64 @FUNC(i64 %4, i64 %0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 256)
%6 = call i64 @FUNC(i64 %0, i64 %4)
%7 = add i64 %0, 12
%8 = call i64 @FUNC(i64 %7, i64 %0, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 256)
%9 = call i64 @FUNC(i64 %0, i64 %7)
%10 = add i64 %0, 16
%11 = call i64 @FUNC(i64 %10, i64 %0, i64* nonnull @gv_4, i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 256)
%12 = call i64 @FUNC(i64 %0, i64 %10)
%13 = add i64 %0, 20
%14 = call i64 @FUNC(i64 %13, i64 %0, i64* nonnull @gv_6, i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 256)
%15 = call i64 @FUNC(i64 %0, i64 %13)
%16 = add i64 %0, 24
%17 = call i64 @FUNC(i64 %16, i64 %0, i64* nonnull @gv_8, i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i64 256)
%18 = call i64 @FUNC(i64 %0, i64 %16)
%19 = add i64 %0, 28
%20 = call i64 @FUNC(i64 %19, i64 %0, i64* nonnull @gv_10, i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_11, i64 0, i64 0), i64 256)
%21 = call i64 @FUNC(i64 %0, i64 %19)
%22 = add i64 %0, 32
%23 = call i64 @FUNC(i64 %22, i64 %0, i64* nonnull @gv_12, i64 %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_13, i64 0, i64 0), i64 256)
%24 = call i64 @FUNC(i64 %0, i64 %22)
%25 = call i64 @FUNC(i64 %0, i64 4198741, i64 1)
ret i64 0
uselistorder i64 %0, { 32, 6, 30, 31, 29, 5, 27, 28, 26, 4, 24, 25, 23, 3, 21, 22, 20, 2, 18, 19, 17, 1, 15, 16, 14, 0, 12, 13, 11, 7, 10, 9, 8 }
uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @sysbus_init_irq, { 1, 0 }
} | 1 |
CompRealVul | mbedtls_x509_crt_parse_file_8754 | mbedtls_x509_crt_parse_file | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.in.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_0, i64* nonnull %sv_1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 %0, i64* %storemerge.in.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = load i64, i64* %sv_1, align 8
%5 = load i64, i64* %sv_0, align 8
%6 = call i64 @FUNC(i64 %3, i64 %5, i64 %4)
%7 = load i64, i64* %sv_1, align 8
%8 = load i64, i64* %sv_0, align 8
%9 = call i64 @FUNC(i64 %8, i64 %7)
%10 = load i64, i64* %sv_0, align 8
%11 = call i64 @FUNC(i64 %10)
store i64 %6, i64* %storemerge.in.reg2mem
br label LBL_2
LBL_2:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = and i64 %storemerge.in.reload, 4294967295
ret i64 %storemerge
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i64* %sv_0, { 1, 2, 3, 0 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 4, 0, 1, 2, 3 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | virtio_config_writew_15164 | virtio_config_writew | define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %arg2, 4294967295
%3 = and i64 %1, 4294967295
%4 = add nsw i64 %3, -2
%5 = icmp ugt i64 %2, %4
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = urem i64 %arg3, 65536
%7 = ptrtoint i32* %arg1 to i64
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = mul i64 %arg2, 2
%12 = and i64 %11, 8589934590
%13 = add i64 %10, %12
%14 = call i64 @FUNC(i64 %13, i64 %6)
%15 = inttoptr i64 %10 to i64*
%16 = load i64, i64* %15, align 8
%17 = icmp eq i64 %16, 0
%spec.select = select i1 %17, i64 0, i64 %7
ret i64 %spec.select
LBL_2:
ret i64 %4
uselistorder i64 %10, { 1, 0 }
} | 1 |
CompRealVul | radius_get_attribute_12642 | radius_get_attribute | define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.05.reg2mem = alloca i64
%0 = icmp eq i64* %arg3, null
%1 = icmp eq i64* %arg4, null
%or.cond.not = or i1 %0, %1
%2 = icmp ugt i64* %arg3, %arg4
%or.cond3 = or i1 %2, %or.cond.not
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond3, label LBL_6, label LBL_1
LBL_1:
%sext = mul i64 %arg1, 72057594037927936
%3 = ashr exact i64 %sext, 56
%4 = urem i64 %3, 256
%5 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4)
%6 = icmp ult i64* %arg3, %arg4
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_2, label LBL_6
LBL_2:
%7 = ptrtoint i64* %arg4 to i64
%8 = ptrtoint i64* %arg3 to i64
%9 = bitcast i64* %arg2 to i16*
%10 = trunc i64 %3 to i8
store i64 %8, i64* %sv_0.05.reg2mem
br label LBL_3
LBL_3:
%sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem
%11 = add i64 %sv_0.05.reload, 1
%12 = inttoptr i64 %11 to i8*
%13 = load i8, i8* %12, align 1
%14 = zext i8 %13 to i16
%15 = add nsw i16 %14, -2
store i16 %15, i16* %9, align 2
%16 = inttoptr i64 %sv_0.05.reload to i8*
%17 = load i8, i8* %16, align 1
%18 = icmp eq i8 %17, %10
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = add i64 %sv_0.05.reload, 2
store i64 %20, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%21 = load i8, i8* %12, align 1
%22 = icmp ne i8 %21, 0
%23 = zext i8 %21 to i64
%24 = add i64 %sv_0.05.reload, %23
%25 = icmp ult i64 %24, %7
%or.cond = icmp eq i1 %22, %25
store i64 %24, i64* %sv_0.05.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.05.reload, { 2, 3, 0, 1 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }
uselistorder i64* %arg4, { 3, 0, 1, 2 }
uselistorder i64* %arg3, { 3, 0, 1, 2 }
uselistorder label LBL_6, { 0, 3, 1, 2 }
} | 1 |
CompRealVul | usb_msd_realize_bot_3048 | usb_msd_realize_bot | define i64 @FUNC(i64* %arg1, i64* %arg2) 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, i64 4, i64 %0, i64* nonnull @gv_0, i64 0)
%4 = call i64 @FUNC(i64 %0)
ret i64 %4
uselistorder i64 %0, { 0, 2, 1, 3, 4 }
} | 0 |
CompRealVul | write_trailer_14449 | write_trailer | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp slt i32 %6, 3
br i1 %7, label LBL_1, label LBL_2
LBL_1:
%8 = call i64 @FUNC(i64 %2, i64 %5)
br label LBL_1
LBL_2:
%9 = call i64 @FUNC(i64 %5)
%10 = call i64 @FUNC(i64 %2)
%11 = call i64 @FUNC(i64 %3)
%12 = add i64 %2, 16
%13 = call i64 @FUNC(i64 %12)
ret i64 0
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2, 3 }
uselistorder i64 (i64)* @av_freep, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | dwt_encode97_float_1876 | dwt_encode97_float | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.lcssa.reg2mem = alloca i32
%storemerge2.lcssa.reg2mem = alloca i32
%storemerge221.reg2mem = alloca i32
%sv_0.119.reg2mem = alloca i32
%sv_1.120.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.016.reg2mem = alloca i32
%sv_1.017.reg2mem = alloca i32
%indvars.iv31.reg2mem = alloca i64
%storemerge411.reg2mem = alloca i32
%sv_2.19.reg2mem = alloca i32
%sv_3.110.reg2mem = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_2.07.reg2mem = alloca i32
%sv_3.08.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%storemerge26.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i32* %arg1 to i64
%4 = trunc i64 %1 to i32
%5 = add i32 %4, -1
%6 = sext i32 %5 to i64
%7 = mul i64 %6, 8
%8 = add i64 %3, 4
%9 = add i64 %7, %8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = add i64 %3, 168
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %14, 20
%16 = icmp slt i32 %5, 0
%17 = icmp eq i1 %16, false
store i32 %5, i32* %storemerge26.reg2mem
store i32 %5, i32* %rax.0.in.lcssa.reg2mem
br i1 %17, label LBL_1, label LBL_23
LBL_1:
%storemerge26.reload = load i32, i32* %storemerge26.reg2mem
%18 = sext i32 %storemerge26.reload to i64
%19 = mul i64 %18, 8
%20 = add i64 %19, %8
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %19, %3
%24 = add i64 %23, 8
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %23, 88
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = icmp sgt i32 %26, 0
br i1 %30, label LBL_2, label LBL_13
LBL_2:
%31 = add i64 %23, 84
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 4
%36 = add i64 %35, %15
%37 = icmp sgt i32 %22, 0
%38 = add i32 %33, %22
%39 = zext i32 %33 to i64
%40 = icmp slt i32 %33, %22
%41 = sub i32 1, %33
%42 = icmp slt i32 %41, %22
%wide.trip.count = zext i32 %22 to i64
store i32 0, i32* %storemerge411.reg2mem
br label LBL_11
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%43 = trunc i64 %indvars.iv.reload to i32
%44 = add i32 %92, %43
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 4
%47 = add i64 %46, %2
%48 = mul i64 %indvars.iv.reload, 4
%49 = add i64 %48, %36
%50 = inttoptr i64 %47 to i32*
%51 = load i32, i32* %50, align 4
%52 = call i128 @FUNC(i32 %51)
%53 = call i64 @__asm_movss.1(i128 %52)
%54 = trunc i64 %53 to i32
%55 = inttoptr i64 %49 to i32*
store i32 %54, i32* %55, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_3
LBL_4:
%56 = call i64 @FUNC(i64 %15, i64 %39, i32 %38)
store i32 0, i32* %sv_2.0.lcssa.reg2mem
br i1 %40, label LBL_5, label LBL_7
LBL_5:
%57 = mul i32 %storemerge411.reload, %11
store i32 %33, i32* %sv_3.08.reg2mem
store i32 0, i32* %sv_2.07.reg2mem
br label LBL_6
LBL_6:
%sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem
%sv_3.08.reload = load i32, i32* %sv_3.08.reg2mem
%58 = sext i32 %sv_3.08.reload to i64
%59 = mul i64 %58, 4
%60 = add i64 %59, %36
%61 = add i32 %sv_2.07.reload, %57
%62 = sext i32 %61 to i64
%63 = mul i64 %62, 4
%64 = add i64 %63, %2
%65 = inttoptr i64 %60 to i32*
%66 = load i32, i32* %65, align 4
%67 = call i128 @FUNC(i32 %66)
%68 = call i64 @__asm_movss.1(i128 %67)
%69 = trunc i64 %68 to i32
%70 = inttoptr i64 %64 to i32*
store i32 %69, i32* %70, align 4
%71 = add i32 %sv_3.08.reload, 2
%72 = add i32 %sv_2.07.reload, 1
%73 = icmp slt i32 %71, %22
store i32 %71, i32* %sv_3.08.reg2mem
store i32 %72, i32* %sv_2.07.reg2mem
store i32 %72, i32* %sv_2.0.lcssa.reg2mem
br i1 %73, label LBL_6, label LBL_7
LBL_7:
br i1 %42, label LBL_8, label LBL_10
LBL_8:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%74 = mul i32 %storemerge411.reload, %11
store i32 %41, i32* %sv_3.110.reg2mem
store i32 %sv_2.0.lcssa.reload, i32* %sv_2.19.reg2mem
br label LBL_9
LBL_9:
%sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem
%sv_3.110.reload = load i32, i32* %sv_3.110.reg2mem
%75 = sext i32 %sv_3.110.reload to i64
%76 = mul i64 %75, 4
%77 = add i64 %76, %36
%78 = add i32 %sv_2.19.reload, %74
%79 = sext i32 %78 to i64
%80 = mul i64 %79, 4
%81 = add i64 %80, %2
%82 = inttoptr i64 %77 to i32*
%83 = load i32, i32* %82, align 4
%84 = call i128 @FUNC(i32 %83)
%85 = call i64 @__asm_movss.1(i128 %84)
%86 = trunc i64 %85 to i32
%87 = inttoptr i64 %81 to i32*
store i32 %86, i32* %87, align 4
%88 = add i32 %sv_3.110.reload, 2
%89 = add i32 %sv_2.19.reload, 1
%90 = icmp slt i32 %88, %22
store i32 %88, i32* %sv_3.110.reg2mem
store i32 %89, i32* %sv_2.19.reg2mem
br i1 %90, label LBL_9, label LBL_10
LBL_10:
%91 = add nuw nsw i32 %storemerge411.reload, 1
%exitcond30 = icmp eq i32 %91, %26
store i32 %91, i32* %storemerge411.reg2mem
br i1 %exitcond30, label LBL_13, label LBL_11
LBL_11:
%storemerge411.reload = load i32, i32* %storemerge411.reg2mem
br i1 %37, label LBL_3.lr.ph, label LBL_4
LBL_12:
%92 = mul i32 %storemerge411.reload, %11
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_13:
%93 = icmp sgt i32 %22, 0
store i32 0, i32* %storemerge2.lcssa.reg2mem
br i1 %93, label LBL_14, label LBL_22
LBL_14:
%94 = sext i32 %29 to i64
%95 = mul i64 %94, 4
%96 = add i64 %95, %15
%97 = add i32 %29, %26
%98 = zext i32 %29 to i64
%99 = icmp slt i32 %29, %26
%100 = sub i32 1, %29
%101 = icmp slt i32 %100, %26
%wide.trip.count33 = zext i32 %26 to i64
store i32 0, i32* %storemerge221.reg2mem
br label LBL_21
LBL_15:
%indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem
%102 = trunc i64 %indvars.iv31.reload to i32
%103 = mul i32 %11, %102
%104 = add i32 %103, %storemerge221.reload
%105 = sext i32 %104 to i64
%106 = mul i64 %105, 4
%107 = add i64 %106, %2
%108 = mul i64 %indvars.iv31.reload, 4
%109 = add i64 %108, %96
%110 = inttoptr i64 %107 to i32*
%111 = load i32, i32* %110, align 4
%112 = call i128 @FUNC(i32 %111)
%113 = call i64 @__asm_movss.1(i128 %112)
%114 = trunc i64 %113 to i32
%115 = inttoptr i64 %109 to i32*
store i32 %114, i32* %115, align 4
%indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1
%exitcond34 = icmp eq i64 %indvars.iv.next32, %wide.trip.count33
store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem
br i1 %exitcond34, label LBL_16, label LBL_15
LBL_16:
%116 = call i64 @FUNC(i64 %15, i64 %98, i32 %97)
store i32 %29, i32* %sv_1.017.reg2mem
store i32 0, i32* %sv_0.016.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %99, label LBL_17, label LBL_18
LBL_17:
%sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem
%sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem
%117 = sext i32 %sv_1.017.reload to i64
%118 = mul i64 %117, 4
%119 = add i64 %118, %96
%120 = mul i32 %sv_0.016.reload, %11
%121 = add i32 %120, %storemerge221.reload
%122 = sext i32 %121 to i64
%123 = mul i64 %122, 4
%124 = add i64 %123, %2
%125 = inttoptr i64 %119 to i32*
%126 = load i32, i32* %125, align 4
%127 = call i128 @FUNC(i32 %126)
%128 = call i64 @__asm_movss.1(i128 %127)
%129 = trunc i64 %128 to i32
%130 = inttoptr i64 %124 to i32*
store i32 %129, i32* %130, align 4
%131 = add i32 %sv_1.017.reload, 2
%132 = add i32 %sv_0.016.reload, 1
%133 = icmp slt i32 %131, %26
store i32 %131, i32* %sv_1.017.reg2mem
store i32 %132, i32* %sv_0.016.reg2mem
store i32 %132, i32* %sv_0.0.lcssa.reg2mem
br i1 %133, label LBL_17, label LBL_18
LBL_18:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
store i32 %100, i32* %sv_1.120.reg2mem
store i32 %sv_0.0.lcssa.reload, i32* %sv_0.119.reg2mem
br i1 %101, label LBL_19, label LBL_20
LBL_19:
%sv_0.119.reload = load i32, i32* %sv_0.119.reg2mem
%sv_1.120.reload = load i32, i32* %sv_1.120.reg2mem
%134 = sext i32 %sv_1.120.reload to i64
%135 = mul i64 %134, 4
%136 = add i64 %135, %96
%137 = mul i32 %sv_0.119.reload, %11
%138 = add i32 %137, %storemerge221.reload
%139 = sext i32 %138 to i64
%140 = mul i64 %139, 4
%141 = add i64 %140, %2
%142 = inttoptr i64 %136 to i32*
%143 = load i32, i32* %142, align 4
%144 = call i128 @FUNC(i32 %143)
%145 = call i64 @__asm_movss.1(i128 %144)
%146 = trunc i64 %145 to i32
%147 = inttoptr i64 %141 to i32*
store i32 %146, i32* %147, align 4
%148 = add i32 %sv_1.120.reload, 2
%149 = add i32 %sv_0.119.reload, 1
%150 = icmp slt i32 %148, %26
store i32 %148, i32* %sv_1.120.reg2mem
store i32 %149, i32* %sv_0.119.reg2mem
br i1 %150, label LBL_19, label LBL_20
LBL_20:
%151 = add nuw nsw i32 %storemerge221.reload, 1
%exitcond35 = icmp eq i32 %151, %22
store i32 %151, i32* %storemerge221.reg2mem
store i32 %22, i32* %storemerge2.lcssa.reg2mem
br i1 %exitcond35, label LBL_22, label LBL_21
LBL_21:
%storemerge221.reload = load i32, i32* %storemerge221.reg2mem
store i64 0, i64* %indvars.iv31.reg2mem
br i1 %30, label LBL_15, label LBL_16
LBL_22:
%storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem
%152 = add i32 %storemerge26.reload, -1
%153 = icmp slt i32 %152, 0
%154 = icmp eq i1 %153, false
store i32 %152, i32* %storemerge26.reg2mem
store i32 %storemerge2.lcssa.reload, i32* %rax.0.in.lcssa.reg2mem
br i1 %154, label LBL_1, label LBL_23
LBL_23:
%rax.0.in.lcssa.reload = load i32, i32* %rax.0.in.lcssa.reg2mem
%rax.0 = zext i32 %rax.0.in.lcssa.reload to i64
ret i64 %rax.0
uselistorder i32 %storemerge221.reload, { 1, 2, 3, 0 }
uselistorder i64 %indvars.iv31.reload, { 0, 2, 1 }
uselistorder i32 %storemerge411.reload, { 1, 2, 3, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i32 %33, { 0, 3, 2, 4, 1, 5 }
uselistorder i32 %29, { 0, 3, 2, 4, 1, 5 }
uselistorder i32 %26, { 6, 7, 1, 4, 5, 0, 2, 3 }
uselistorder i64 %23, { 1, 0, 2 }
uselistorder i32 %22, { 0, 2, 5, 8, 9, 3, 6, 7, 1, 4 }
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %15, { 2, 0, 3, 1 }
uselistorder i32 %11, { 1, 2, 0, 5, 3, 4 }
uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_3.08.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.110.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv31.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_1.017.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.016.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.120.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.119.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64, i64, i32)* @sd_1d97_float, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 11, 2, 3, 1, 0, 8, 6, 5, 4, 7, 9, 10 }
uselistorder i64 8, { 2, 0, 1 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | rxrpc_rxk5_free_8909 | rxrpc_rxk5_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%.lcssa.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%.reg2mem14 = alloca i64
%.lcssa2.reg2mem = alloca i64
%storemerge16.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1)
%2 = call i64 @FUNC(i64 %arg1)
%3 = add i64 %arg1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_4, label LBL_1
LBL_1:
%7 = add i64 %arg1, 16
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%storemerge15 = add i32 %9, -1
%10 = icmp slt i32 %storemerge15, 0
%11 = icmp eq i1 %10, false
store i64 %5, i64* %.reg2mem
store i32 %storemerge15, i32* %storemerge16.reg2mem
store i64 %5, i64* %.lcssa2.reg2mem
br i1 %11, label LBL_2, label LBL_3
LBL_2:
%storemerge16.reload = load i32, i32* %storemerge16.reg2mem
%.reload = load i64, i64* %.reg2mem
%12 = sext i32 %storemerge16.reload to i64
%13 = mul i64 %12, 8
%14 = add i64 %13, %.reload
%15 = call i64 @FUNC(i64 %14)
%storemerge1 = add i32 %storemerge16.reload, -1
%16 = icmp slt i32 %storemerge1, 0
%17 = icmp eq i1 %16, false
%18 = load i64, i64* %4, align 8
store i64 %18, i64* %.reg2mem
store i32 %storemerge1, i32* %storemerge16.reg2mem
store i64 %18, i64* %.lcssa2.reg2mem
br i1 %17, label LBL_2, label LBL_3
LBL_3:
%.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem
%19 = call i64 @FUNC(i64 %.lcssa2.reload)
br label LBL_4
LBL_4:
%20 = add i64 %arg1, 24
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label LBL_8, label LBL_5
LBL_5:
%24 = add i64 %arg1, 32
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%storemerge3 = add i32 %26, -1
%27 = icmp slt i32 %storemerge3, 0
%28 = icmp eq i1 %27, false
store i64 %22, i64* %.reg2mem14
store i32 %storemerge3, i32* %storemerge4.reg2mem
store i64 %22, i64* %.lcssa.reg2mem
br i1 %28, label LBL_6, label LBL_7
LBL_6:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%.reload15 = load i64, i64* %.reg2mem14
%29 = sext i32 %storemerge4.reload to i64
%30 = mul i64 %29, 8
%31 = add i64 %30, %.reload15
%32 = call i64 @FUNC(i64 %31)
%storemerge = add i32 %storemerge4.reload, -1
%33 = icmp slt i32 %storemerge, 0
%34 = icmp eq i1 %33, false
%35 = load i64, i64* %21, align 8
store i64 %35, i64* %.reg2mem14
store i32 %storemerge, i32* %storemerge4.reg2mem
store i64 %35, i64* %.lcssa.reg2mem
br i1 %34, label LBL_6, label LBL_7
LBL_7:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%36 = call i64 @FUNC(i64 %.lcssa.reload)
br label LBL_8
LBL_8:
%37 = add i64 %arg1, 40
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %39)
%41 = add i64 %arg1, 48
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = call i64 @FUNC(i64 %43)
%45 = call i64 @FUNC(i64 %arg1)
ret i64 %45
uselistorder i32 %storemerge4.reload, { 1, 0 }
uselistorder i32 %storemerge16.reload, { 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge16.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem14, { 2, 0, 1 }
uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64)* @kfree, { 4, 3, 2, 1, 0 }
uselistorder i1 false, { 2, 1, 3, 0 }
uselistorder i32 0, { 2, 1, 3, 0 }
uselistorder i32 -1, { 3, 1, 2, 0 }
uselistorder i64 (i64)* @rxrpc_free_krb5_tagged, { 2, 1, 0 }
uselistorder i64 (i64)* @rxrpc_free_krb5_principal, { 1, 0 }
uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 1, 3, 2, 5, 4, 0, 6, 7, 8, 9 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | search_keyval_1521 | search_keyval | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i32, align 4
%0 = trunc i64 %arg2 to i32
store i32 %arg3, i32* %sv_0, align 4
%1 = bitcast i32* %sv_0 to i64*
%2 = call i64* @bsearch(i64* nonnull %1, i64* %arg1, i32 %0, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198726 to i32 (i64*, i64*)*))
%3 = icmp eq i64* %2, null
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = ptrtoint i64* %2 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
store i64 %7, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %2, { 1, 0 }
uselistorder i32* %sv_0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | tls1_set_cert_validity_9309 | tls1_set_cert_validity | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 1)
%1 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 2)
%2 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 3)
%3 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 4)
%4 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 5)
%5 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 6)
%6 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0, i64 7)
ret i64 %6
uselistorder i64 (i64, i64, i64, i64, i64)* @tls1_check_chain, { 6, 5, 4, 3, 2, 1, 0 }
} | 0 |
CompRealVul | onig_new_deluxe_11701 | onig_new_deluxe | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32* %arg4, i64* %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.in.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%2 = icmp eq i64* %arg5, null
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = bitcast i64* %arg5 to i32*
store i32 0, i32* %3, align 4
br label LBL_2
LBL_2:
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i32* %arg4 to i64
%6 = add i64 %5, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i64 %5, 12
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %8, %11
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = zext i32 %8 to i64
%14 = call i64 @FUNC(i64 %13, i32 %11, i64 %4, i64 %arg3, i64* nonnull %sv_1, i64* nonnull %sv_2)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
store i64 %14, i64* %storemerge.in.reg2mem
br i1 %16, label LBL_5, label LBL_10
LBL_4:
store i64 %4, i64* %sv_1, align 8
store i64 %arg3, i64* %sv_2, align 8
br label LBL_5
LBL_5:
%17 = trunc i64 %1 to i32
%18 = call i64 @FUNC(i64 4)
store i64 %18, i64* %arg1, align 8
%19 = add i64 %5, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = zext i32 %21 to i64
%23 = load i32, i32* %10, align 4
%24 = add i64 %5, 4
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = call i64 @FUNC(i64 %22, i32 %17, i32 %26, i32 %23, i64 %22)
%28 = trunc i64 %27 to i32
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
store i64 %27, i64* %sv_0.0.reg2mem
br i1 %30, label LBL_7, label LBL_6
LBL_6:
%31 = ptrtoint i64* %arg5 to i64
%32 = load i64, i64* %sv_2, align 8
%33 = load i64, i64* %sv_1, align 8
%34 = call i64 @FUNC(i64 %22, i64 %33, i64 %32, i64 %31)
%35 = trunc i64 %34 to i32
%36 = icmp eq i32 %35, 0
store i64 %34, i64* %sv_0.0.reg2mem
store i64 %34, i64* %sv_0.1.reg2mem
br i1 %36, label LBL_8, label LBL_7
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%37 = call i64 @FUNC(i64 %22)
store i64 0, i64* %arg1, align 8
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_8
LBL_8:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%38 = load i64, i64* %sv_1, align 8
%39 = icmp eq i64 %38, %4
store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem
br i1 %39, label LBL_10, label LBL_9
LBL_9:
%40 = call i64 @FUNC(i64 %38)
store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem
br label LBL_10
LBL_10:
%storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem
%storemerge = and i64 %storemerge.in.reload, 4294967295
ret i64 %storemerge
uselistorder i64 %38, { 1, 0 }
uselistorder i64 %sv_0.1.reload, { 1, 0 }
uselistorder i64 %22, { 1, 0, 2, 3 }
uselistorder i64 %5, { 1, 0, 2, 3 }
uselistorder i64 %4, { 0, 2, 1 }
uselistorder i64* %sv_2, { 1, 2, 0 }
uselistorder i64* %sv_1, { 1, 2, 3, 0 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64)* @xfree, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64* %arg5, { 2, 0, 1 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder label LBL_10, { 1, 0, 2 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
CompRealVul | mv_read_packet_1316 | mv_read_packet | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i32* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = inttoptr i64 %3 to i32*
%5 = add i64 %0, 24
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = load i32, i32* %4, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = add i64 %10, %7
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = add i64 %3, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = mul i64 %9, 4
%18 = add i64 %17, %16
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = inttoptr i64 %13 to i32*
%22 = load i32, i32* %21, align 4
%23 = zext i32 %22 to i64
%24 = sext i32 %20 to i64
%25 = icmp slt i64 %24, %23
br i1 %25, label LBL_1, label LBL_10
LBL_1:
%26 = add i64 %0, 16
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = add i64 %13, 8
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = mul nsw i64 %24, 24
%33 = add i64 %31, %32
%34 = call i64 @FUNC(i64 %28)
%sext = mul i64 %34, 4294967296
%35 = ashr exact i64 %sext, 32
%36 = inttoptr i64 %33 to i64*
%37 = load i64, i64* %36, align 8
%38 = icmp ugt i64 %37, %35
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_3, label LBL_2
LBL_2:
%40 = sub i64 %37, %35
%41 = call i64 @FUNC(i64 %28, i64 %40)
br label LBL_7
LBL_3:
%42 = icmp ult i64 %37, %35
br i1 %42, label LBL_4, label LBL_7
LBL_4:
%43 = add i64 %28, 24
%44 = inttoptr i64 %43 to i32*
%45 = load i32, i32* %44, align 4
%46 = icmp eq i32 %45, 0
%47 = icmp eq i1 %46, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %47, label LBL_5, label LBL_11
LBL_5:
%48 = call i64 @FUNC(i64 %28, i64 %37, i64 0)
%sext4 = mul i64 %48, 4294967296
%49 = icmp slt i64 %sext4, 0
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_7, label LBL_6
LBL_6:
%51 = ashr exact i64 %sext4, 32
store i64 %51, i64* %rax.0.reg2mem
br label LBL_11
LBL_7:
%52 = ptrtoint i64* %arg2 to i64
%53 = add i64 %33, 8
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = call i64 @FUNC(i64 %28, i64 %52, i32 %55)
%sext3 = mul i64 %56, 4294967296
%57 = icmp slt i64 %sext3, 0
%58 = icmp eq i1 %57, false
br i1 %58, label LBL_9, label LBL_8
LBL_8:
%59 = ashr exact i64 %sext3, 32
store i64 %59, i64* %rax.0.reg2mem
br label LBL_11
LBL_9:
%60 = load i32, i32* %4, align 4
%61 = bitcast i64* %arg2 to i32*
store i32 %60, i32* %61, align 4
%62 = add i64 %33, 16
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = trunc i64 %64 to i32
%66 = add i64 %52, 4
%67 = inttoptr i64 %66 to i32*
store i32 %65, i32* %67, align 4
%68 = add i64 %52, 8
%69 = inttoptr i64 %68 to i32*
%70 = load i32, i32* %69, align 4
%71 = or i32 %70, 1
store i32 %71, i32* %69, align 4
%72 = load i64, i64* %15, align 8
%73 = load i32, i32* %4, align 4
%74 = sext i32 %73 to i64
%75 = mul i64 %74, 4
%76 = add i64 %75, %72
%77 = inttoptr i64 %76 to i32*
%78 = load i32, i32* %77, align 4
%79 = add i32 %78, 1
store i32 %79, i32* %77, align 4
%80 = add i64 %3, 16
%81 = inttoptr i64 %80 to i32*
store i32 0, i32* %81, align 4
%82 = load i32, i32* %4, align 4
%83 = add i32 %82, 1
store i32 %83, i32* %4, align 4
%84 = bitcast i64* %rdi to i32*
%85 = load i32, i32* %84, align 8
%86 = icmp ult i32 %83, %85
%spec.store.select = select i1 %86, i32 %83, i32 0
store i32 %spec.store.select, i32* %4, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_11
LBL_10:
%87 = add i64 %3, 16
%88 = inttoptr i64 %87 to i32*
%89 = load i32, i32* %88, align 4
%90 = add i32 %89, 1
store i32 %90, i32* %88, align 4
%91 = bitcast i64* %rdi to i32*
%92 = load i32, i32* %91, align 8
%93 = icmp ult i32 %90, %92
%. = select i1 %93, i64 4294967285, i64 1
store i64 %., i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %37, { 3, 1, 2, 0 }
uselistorder i64 %35, { 1, 2, 0 }
uselistorder i64 %28, { 1, 3, 2, 0, 4 }
uselistorder i32* %4, { 0, 2, 1, 3, 4, 5 }
uselistorder i64 %3, { 1, 0, 3, 2 }
uselistorder i64 %0, { 1, 0, 2 }
uselistorder i64* %rdi, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2 }
uselistorder i64 32, { 1, 0, 2 }
uselistorder i64 4, { 0, 2, 1 }
uselistorder i64 24, { 1, 0, 2 }
uselistorder i64 8, { 1, 2, 3, 4, 0, 5 }
uselistorder label LBL_11, { 0, 2, 3, 4, 1 }
uselistorder label LBL_7, { 1, 0, 2 }
} | 0 |
CompRealVul | hfsplus_put_super_12951 | hfsplus_put_super | 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, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))
%3 = add i64 %1, 8
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %0)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_1
LBL_1:
%9 = inttoptr i64 %1 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC()
%13 = inttoptr i64 %10 to i64*
store i64 %12, i64* %13, align 8
%14 = call i64 @FUNC(i64 1)
%15 = trunc i64 %14 to i32
%16 = add i64 %10, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = or i32 %18, %15
store i32 %19, i32* %17, align 4
%20 = call i64 @FUNC(i64 4294967293)
%21 = trunc i64 %20 to i32
%22 = load i32, i32* %17, align 4
%23 = and i32 %22, %21
store i32 %23, i32* %17, align 4
%24 = call i64 @FUNC(i64 %0, i64 1)
br label LBL_3
LBL_3:
%25 = add i64 %1, 16
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
%28 = call i64 @FUNC(i64 %27)
%29 = add i64 %1, 24
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = call i64 @FUNC(i64 %31)
%33 = add i64 %1, 32
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = call i64 @FUNC(i64 %35)
%37 = add i64 %1, 40
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %39)
%41 = add i64 %1, 48
%42 = inttoptr i64 %41 to i64*
%43 = load i64, i64* %42, align 8
%44 = call i64 @FUNC(i64 %43)
%45 = add i64 %1, 56
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = call i64 @FUNC(i64 %47)
%49 = add i64 %1, 64
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = call i64 @FUNC(i64 %51)
%53 = add i64 %1, 72
%54 = inttoptr i64 %53 to i64*
%55 = load i64, i64* %54, align 8
%56 = call i64 @FUNC(i64 %55)
%57 = call i64 @FUNC(i64 %55)
store i64 0, i64* %arg1, align 8
ret i64 %0
uselistorder i64 %10, { 1, 0, 2 }
uselistorder i64 %1, { 2, 1, 4, 3, 6, 5, 8, 7, 0, 9 }
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i64 (i64)* @kfree, { 2, 1, 0 }
uselistorder i64 (i64)* @iput, { 1, 0 }
uselistorder i64 (i64)* @hfs_btree_close, { 2, 1, 0 }
uselistorder i64 (i64)* @cpu_to_be32, { 1, 0 }
} | 1 |
CompRealVul | user_describe_6052 | user_describe | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0, i64 %1)
%3 = call i64 @FUNC(i64 %1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add i64 %1, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %8)
store i64 %9, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
CompRealVul | x25_asy_open_tty_7011 | x25_asy_open_tty | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 305419896
%5 = icmp eq i1 %4, false
store i32 -1, i32* %rax.0.shrunk.reg2mem
br i1 %5, label LBL_2, label LBL_6
LBL_2:
%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 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
store i32 -2, i32* %rax.0.shrunk.reg2mem
br i1 %13, label LBL_3, label LBL_6
LBL_3:
%14 = call i64 @FUNC()
%15 = icmp eq i64 %14, 0
%16 = icmp eq i1 %15, false
store i32 -3, i32* %rax.0.shrunk.reg2mem
br i1 %16, label LBL_4, label LBL_6
LBL_4:
%17 = add i64 %14, 8
%18 = inttoptr i64 %17 to i64*
store i64 %6, i64* %18, align 8
store i64 %14, i64* %arg1, align 8
%19 = add i64 %6, 16
%20 = inttoptr i64 %19 to i32*
store i32 65536, i32* %20, align 4
%21 = call i64 @FUNC(i64 %6)
%22 = add i64 %14, 16
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = inttoptr i64 %24 to i32*
store i32 4, i32* %25, align 4
%26 = load i64, i64* %23, align 8
%27 = and i64 %26, 4294967295
%28 = call i64 @FUNC(i64 %27)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
store i32 %29, i32* %rax.0.shrunk.reg2mem
br i1 %30, label LBL_5, label LBL_6
LBL_5:
%31 = load i64, i64* %23, align 8
%32 = add i64 %31, 4
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
store i32 %34, i32* %rax.0.shrunk.reg2mem
br label LBL_6
LBL_6:
%rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem
%rax.0 = zext i32 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_6, { 4, 0, 1, 2, 3 }
} | 0 |
CompRealVul | rose_parse_national_233 | rose_parse_national | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i32*
%sv_1.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32*
%sv_1.0.reg2mem = alloca i32
%sv_2.0.reg2mem = alloca i64
%.reg2mem = alloca i8
%0 = ptrtoint i64* %arg2 to i64
%sext = mul i64 %arg3, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = add i64 %0, 164
%3 = inttoptr i64 %2 to i32*
%4 = add i64 %0, 156
%5 = inttoptr i64 %4 to i32*
%.phi.trans.insert = bitcast i32* %arg1 to i8*
%.pre = load i8, i8* %.phi.trans.insert, align 1
store i8 %.pre, i8* %.reg2mem
store i64 %1, i64* %sv_2.0.reg2mem
store i32 0, i32* %sv_1.0.reg2mem
store i32* %arg1, i32** %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%.reload = load i8, i8* %.reg2mem
%6 = icmp ugt i8 %.reload, -65
br i1 %6, label LBL_10, label LBL_2
LBL_2:
%7 = and i8 %.reload, -64
%8 = icmp eq i8 %7, -128
br i1 %8, label LBL_9, label LBL_3
LBL_3:
%9 = icmp ugt i8 %7, -128
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem
br i1 %9, label LBL_13, label LBL_4
LBL_4:
store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem
store i32* %sv_0.0.reload, i32** %sv_0.1.reg2mem
switch i8 %7, label LBL_13 [
i8 0, label LBL_5
i8 64, label LBL_6
]
LBL_5:
%10 = ptrtoint i32* %sv_0.0.reload to i64
%11 = add i64 %10, 2
%12 = inttoptr i64 %11 to i32*
%13 = mul i32 %sv_1.0.reload, 16777216
%sext7 = add i32 %13, 33554432
%14 = ashr exact i32 %sext7, 24
%15 = mul i64 %sv_2.0.reload, 4294967296
%sext8 = add i64 %15, -8589934592
%16 = ashr exact i64 %sext8, 32
store i64 %16, i64* %sv_2.1.reg2mem
store i32 %14, i32* %sv_1.1.reg2mem
store i32* %12, i32** %sv_0.1.reg2mem
br label LBL_13
LBL_6:
%17 = icmp eq i8 %.reload, 64
%18 = icmp eq i1 %17, false
%.pre12 = ptrtoint i32* %sv_0.0.reload to i64
br i1 %18, label LBL_8, label LBL_7
LBL_7:
%19 = add i64 %.pre12, 1
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = zext i8 %21 to i32
%23 = mul i32 %22, 256
%24 = add i64 %.pre12, 2
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = zext i8 %26 to i32
%28 = or i32 %23, %27
store i32 %28, i32* %3, align 4
br label LBL_8
LBL_8:
%29 = add i64 %.pre12, 3
%30 = inttoptr i64 %29 to i32*
%31 = mul i32 %sv_1.0.reload, 16777216
%sext5 = add i32 %31, 50331648
%32 = ashr exact i32 %sext5, 24
%33 = mul i64 %sv_2.0.reload, 4294967296
%sext6 = add i64 %33, -12884901888
%34 = ashr exact i64 %sext6, 32
store i64 %34, i64* %sv_2.1.reg2mem
store i32 %32, i32* %sv_1.1.reg2mem
store i32* %30, i32** %sv_0.1.reg2mem
br label LBL_13
LBL_9:
%35 = ptrtoint i32* %sv_0.0.reload to i64
%36 = add i64 %35, 4
%37 = inttoptr i64 %36 to i32*
%38 = mul i32 %sv_1.0.reload, 16777216
%sext9 = add i32 %38, 67108864
%39 = ashr exact i32 %sext9, 24
%40 = mul i64 %sv_2.0.reload, 4294967296
%sext10 = add i64 %40, -17179869184
%41 = ashr exact i64 %sext10, 32
store i64 %41, i64* %sv_2.1.reg2mem
store i32 %39, i32* %sv_1.1.reg2mem
store i32* %37, i32** %sv_0.1.reg2mem
br label LBL_13
LBL_10:
%42 = ptrtoint i32* %sv_0.0.reload to i64
%43 = add i64 %42, 1
%44 = inttoptr i64 %43 to i8*
%45 = load i8, i8* %44, align 1
%46 = icmp eq i8 %.reload, -64
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_12, label LBL_11
LBL_11:
%48 = add i64 %42, 2
%49 = inttoptr i64 %48 to i64*
%50 = call i64* @memcpy(i64* %arg2, i64* %49, i32 7)
store i32 1, i32* %5, align 4
br label LBL_12
LBL_12:
%51 = sext i8 %45 to i32
%52 = urem i32 %51, 256
%narrow = add nuw nsw i32 %52, 2
%53 = zext i32 %narrow to i64
%54 = add i64 %53, %42
%55 = inttoptr i64 %54 to i32*
%56 = add i32 %sv_1.0.reload, %51
%57 = mul i32 %56, 16777216
%sext11 = add i32 %57, 33554432
%58 = ashr exact i32 %sext11, 24
%59 = trunc i64 %sv_2.0.reload to i32
%60 = sub i32 %59, %narrow
%61 = sext i32 %60 to i64
store i64 %61, i64* %sv_2.1.reg2mem
store i32 %58, i32* %sv_1.1.reg2mem
store i32* %55, i32** %sv_0.1.reg2mem
br label LBL_13
LBL_13:
%sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%62 = bitcast i32* %sv_0.1.reload to i8*
%63 = load i8, i8* %62, align 1
%64 = icmp eq i8 %63, 0
br i1 %64, label LBL_15, label LBL_14
LBL_14:
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%65 = trunc i64 %sv_2.1.reload to i32
%66 = icmp eq i32 %65, 0
%67 = icmp slt i32 %65, 0
%68 = icmp eq i1 %67, false
%69 = icmp eq i1 %66, false
%70 = icmp eq i1 %68, %69
store i8 %63, i8* %.reg2mem
store i64 %sv_2.1.reload, i64* %sv_2.0.reg2mem
store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem
store i32* %sv_0.1.reload, i32** %sv_0.0.reg2mem
br i1 %70, label LBL_1, label LBL_15
LBL_15:
%71 = urem i32 %sv_1.1.reload, 256
%72 = zext i32 %71 to i64
ret i64 %72
uselistorder i32 %65, { 1, 0 }
uselistorder i64 %sv_2.1.reload, { 1, 0 }
uselistorder i32* %sv_0.1.reload, { 1, 0 }
uselistorder i32 %51, { 1, 0 }
uselistorder i64 %.pre12, { 0, 2, 1 }
uselistorder i8 %.reload, { 1, 0, 3, 2 }
uselistorder i64 %sv_2.0.reload, { 2, 5, 4, 3, 0, 1 }
uselistorder i32 %sv_1.0.reload, { 2, 5, 4, 3, 0, 1 }
uselistorder i32* %sv_0.0.reload, { 2, 3, 5, 4, 0, 1 }
uselistorder i64 %0, { 1, 0 }
uselistorder i8* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i32** %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i32* %sv_1.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i32** %sv_0.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }
uselistorder i32 256, { 1, 2, 0 }
uselistorder i1 false, { 1, 0, 2, 3 }
uselistorder i32 24, { 0, 1, 3, 2 }
uselistorder i8 64, { 1, 0 }
uselistorder i8 0, { 1, 0 }
uselistorder i64 32, { 0, 2, 1, 3 }
uselistorder label LBL_13, { 1, 2, 3, 4, 0, 5 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
CompRealVul | decode_text_string_11928 | decode_text_string | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i32
%sv_1.14.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_2 = alloca i32, align 4
store i32 0, i32* %sv_2, align 4
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 40
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = inttoptr i64 %arg1 to i8*
%6 = call i32 @strlen(i8* %5)
%7 = add i32 %6, 1
%8 = call i64* @malloc(i32 %7)
%9 = ptrtoint i64* %8 to i64
%10 = call i32 @strlen(i8* %5)
%11 = add i32 %10, 1
%12 = bitcast i64* %8 to i8*
%13 = call i8* @strncpy(i8* %12, i8* %5, i32 %11)
store i64 %9, i64* %rax.0.reg2mem
br label LBL_10
LBL_2:
%14 = icmp eq i8 %2, 60
%15 = icmp eq i1 %14, false
%16 = icmp ult i64 %arg2, 6
%or.cond = or i1 %16, %15
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_10, label LBL_3
LBL_3:
%not. = icmp ne i1 %15, true
%17 = zext i1 %not. to i64
%18 = add i64 %17, %arg1
%19 = inttoptr i64 %18 to i8*
%20 = load i8, i8* %19, align 1
%21 = icmp eq i8 %20, 70
%22 = icmp eq i1 %21, false
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_10, label LBL_4
LBL_4:
%23 = add i64 %arg1, 2
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp eq i8 %25, 69
%27 = icmp eq i1 %26, false
store i64 0, i64* %rax.0.reg2mem
br i1 %27, label LBL_10, label LBL_5
LBL_5:
%28 = or i64 %17, 2
%29 = add i64 %28, %arg1
%30 = inttoptr i64 %29 to i8*
%31 = load i8, i8* %30, align 1
%32 = icmp eq i8 %31, 70
%33 = icmp eq i1 %32, false
store i64 0, i64* %rax.0.reg2mem
br i1 %33, label LBL_10, label LBL_6
LBL_6:
%34 = add i64 %arg1, 4
%35 = inttoptr i64 %34 to i8*
%36 = load i8, i8* %35, align 1
%37 = icmp eq i8 %36, 70
%38 = icmp eq i1 %37, false
store i64 0, i64* %rax.0.reg2mem
br i1 %38, label LBL_10, label LBL_7
LBL_7:
%spec.select = zext i1 %not. to i32
%39 = or i32 %spec.select, 4
%40 = trunc i64 %arg2 to i32
%41 = call i64* @malloc(i32 %40)
%42 = ptrtoint i64* %41 to i64
%43 = zext i32 %39 to i64
%44 = icmp ult i64 %43, %arg2
store i64 %42, i64* %rax.0.reg2mem
br i1 %44, label LBL_8, label LBL_10
LBL_8:
%45 = bitcast i32* %sv_2 to i8*
store i64 %43, i64* %.reg2mem
store i32 %39, i32* %sv_1.14.reg2mem
store i32 0, i32* %sv_0.03.reg2mem
br label LBL_9
LBL_9:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem
%.reload = load i64, i64* %.reg2mem
%46 = add i64 %.reload, %arg1
%47 = inttoptr i64 %46 to i8*
%48 = load i8, i8* %47, align 1
%49 = sext i8 %48 to i32
store i32 %49, i32* %sv_2, align 4
%50 = call i32 @strtol(i8* nonnull %45, i8** null, i32 16)
%51 = add i32 %sv_0.03.reload, 1
%52 = sext i32 %sv_0.03.reload to i64
%53 = add i64 %52, %42
%54 = trunc i32 %50 to i8
%55 = inttoptr i64 %53 to i8*
store i8 %54, i8* %55, align 1
%56 = add i32 %sv_1.14.reload, 4
%57 = sext i32 %56 to i64
%58 = icmp ult i64 %57, %arg2
store i64 %57, i64* %.reg2mem
store i32 %56, i32* %sv_1.14.reg2mem
store i32 %51, i32* %sv_0.03.reg2mem
store i64 %42, i64* %rax.0.reg2mem
br i1 %58, label LBL_9, label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.03.reload, { 1, 0 }
uselistorder i64 %42, { 0, 2, 1 }
uselistorder i64 %17, { 1, 0 }
uselistorder i8 %2, { 1, 0 }
uselistorder i32* %sv_2, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.14.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 7, 6, 5, 4, 3, 8 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64* (i32)* @malloc, { 1, 0 }
uselistorder i32 1, { 5, 6, 7, 8, 4, 3, 2, 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2, 3 }
uselistorder i64 %arg1, { 0, 3, 1, 4, 2, 5 }
uselistorder label LBL_10, { 0, 1, 6, 5, 4, 3, 2, 7 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
CompRealVul | raw_getname_11746 | raw_getname | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg4 to i32
%2 = call i64 @FUNC(i64 %0)
%3 = icmp eq i32 %1, 0
store i64 4294967201, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = inttoptr i64 %2 to i32*
%6 = bitcast i64* %arg2 to i16*
store i16 29, i16* %6, align 2
%7 = load i32, i32* %5, align 4
%8 = add i64 %4, 4
%9 = inttoptr i64 %8 to i32*
store i32 %7, i32* %9, align 4
%10 = bitcast i64* %arg3 to i32*
store i32 24, i32* %10, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | extract_path_8133 | extract_path | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i8*
%0 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%1 = bitcast i64* %arg1 to i8*
%2 = call i8* @strstr(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))
%3 = icmp eq i8* %2, null
%4 = add i64 %0, 7
%5 = inttoptr i64 %4 to i8*
%sv_0.0 = select i1 %3, i8* null, i8* %5
%6 = call i8* @strstr(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))
%7 = ptrtoint i8* %6 to i64
%8 = icmp eq i8* %6, null
%9 = add i64 %0, 8
%10 = inttoptr i64 %9 to i8*
%sv_0.1 = select i1 %8, i8* %sv_0.0, i8* %10
%rax.0 = select i1 %8, i64 %7, i64 %9
%11 = icmp eq i8* %sv_0.1, null
store i8* %sv_0.1, i8** %sv_0.2.reg2mem
store i64 %rax.0, i64* %rax.1.reg2mem
br i1 %11, label LBL_4, label LBL_1
LBL_1:
%sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem
%12 = load i8, i8* %sv_0.2.reload, align 1
%13 = icmp ne i8 %12, 0
%14 = icmp eq i8 %12, 47
%15 = icmp eq i1 %14, false
%or.cond = icmp eq i1 %13, %15
%16 = ptrtoint i8* %sv_0.2.reload to i64
%17 = add i64 %16, 1
%18 = inttoptr i64 %17 to i8*
store i8* %18, i8** %sv_0.2.reg2mem
br i1 %or.cond, label LBL_1, label LBL_2
LBL_2:
%sv_0.3 = select i1 %15, i8* %sv_0.2.reload, i8* %18
%19 = bitcast i64* %sv_1 to i8*
%20 = call i8* @strcpy(i8* nonnull %19, i8* %sv_0.3)
%21 = call i8* @strcpy(i8* %1, i8* nonnull %19)
%22 = call i32 @strlen(i8* %1)
%23 = sext i32 %22 to i64
%24 = add i64 %0, -1
%25 = add i64 %24, %23
%26 = inttoptr i64 %25 to i8*
%27 = load i8, i8* %26, align 1
%28 = zext i8 %27 to i64
%29 = icmp eq i8 %27, 47
%30 = icmp eq i1 %29, false
store i64 %28, i64* %rax.1.reg2mem
br i1 %30, label LBL_4, label LBL_3
LBL_3:
%31 = call i32 @strlen(i8* %1)
%32 = sext i32 %31 to i64
%33 = add i64 %24, %32
%34 = inttoptr i64 %33 to i8*
store i8 0, i8* %34, align 1
store i64 %33, i64* %rax.1.reg2mem
br label LBL_4
LBL_4:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i8* %18, { 1, 0 }
uselistorder i1 %15, { 1, 0 }
uselistorder i8* %sv_0.2.reload, { 2, 0, 1 }
uselistorder i64 %0, { 0, 2, 1 }
uselistorder i8** %sv_0.2.reg2mem, { 2, 0, 1 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i8* (i8*, i8*)* @strcpy, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i8 47, { 1, 0 }
uselistorder i8* null, { 1, 2, 0, 3 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | qemu_put_buffer_3498 | qemu_put_buffer | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.1.reg2mem = alloca i64
%sv_0.08.reg2mem = alloca i64
%sv_1.09.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.1.reg2mem
br i1 %5, label LBL_10, label LBL_1
LBL_1:
%sv_1.0.in6 = mul i64 %arg3, 4294967296
%sv_1.07 = ashr exact i64 %sv_1.0.in6, 32
%6 = trunc i64 %sv_1.07 to i32
%7 = icmp eq i32 %6, 0
%8 = icmp slt i32 %6, 0
%9 = icmp eq i1 %8, false
%10 = icmp eq i1 %7, false
%11 = icmp eq i1 %9, %10
store i64 %3, i64* %rax.1.reg2mem
br i1 %11, label LBL_2, label LBL_10
LBL_2:
%12 = ptrtoint i64* %arg2 to i64
%13 = ptrtoint i64* %arg1 to i64
%14 = add i64 %13, 4
%15 = inttoptr i64 %14 to i32*
%16 = add i64 %13, 12
%17 = add i64 %13, 8
%18 = inttoptr i64 %17 to i32*
%19 = add i64 %13, 1040
%20 = inttoptr i64 %19 to i64*
store i32 %6, i32* %.reg2mem
store i64 %sv_1.07, i64* %sv_1.09.reg2mem
store i64 %12, i64* %sv_0.08.reg2mem
br label LBL_3
LBL_3:
%sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem
%sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem
%.reload = load i32, i32* %.reg2mem
%21 = load i32, i32* %15, align 4
%22 = sub i32 1024, %21
%23 = sext i32 %22 to i64
%24 = icmp sgt i32 %22, %.reload
%spec.select = select i1 %24, i64 %sv_1.09.reload, i64 %23
%25 = trunc i64 %spec.select to i32
%26 = sext i32 %21 to i64
%27 = add i64 %16, %26
%28 = inttoptr i64 %27 to i64*
%29 = inttoptr i64 %sv_0.08.reload to i64*
%30 = call i64* @memcpy(i64* %28, i64* %29, i32 %25)
%31 = load i32, i32* %18, align 4
%32 = add i32 %31, %25
store i32 %32, i32* %18, align 4
%33 = load i64, i64* %20, align 8
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = icmp eq i64 %35, 0
br i1 %36, label LBL_5, label LBL_4
LBL_4:
%37 = load i32, i32* %15, align 4
%38 = sext i32 %37 to i64
%39 = add i64 %16, %38
%40 = call i64 @FUNC(i64 %13, i64 %39, i32 %25)
br label LBL_5
LBL_5:
%41 = load i32, i32* %15, align 4
%42 = add i32 %41, %25
store i32 %42, i32* %15, align 4
%43 = icmp eq i32 %42, 1024
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_7, label LBL_6
LBL_6:
%45 = call i64 @FUNC(i64 %13)
br label LBL_7
LBL_7:
%46 = call i64 @FUNC(i64 %13)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
store i64 %46, i64* %rax.1.reg2mem
br i1 %49, label LBL_10, label LBL_8
LBL_8:
%50 = add i64 %spec.select, %sv_0.08.reload
%51 = sub nsw i64 %sv_1.09.reload, %spec.select
%sv_1.0.in = mul i64 %51, 4294967296
%sv_1.0 = ashr exact i64 %sv_1.0.in, 32
%52 = trunc i64 %sv_1.0 to i32
%53 = icmp eq i32 %52, 0
%54 = icmp slt i32 %52, 0
%55 = icmp eq i1 %54, false
%56 = icmp eq i1 %53, false
%57 = icmp eq i1 %55, %56
store i32 %52, i32* %.reg2mem
store i64 %sv_1.0, i64* %sv_1.09.reg2mem
store i64 %50, i64* %sv_0.08.reg2mem
br i1 %57, label LBL_3, label LBL_9
LBL_9:
%58 = and i64 %spec.select, 4294967295
store i64 %58, i64* %rax.1.reg2mem
br label LBL_10
LBL_10:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 %52, { 0, 2, 1 }
uselistorder i32 %25, { 1, 2, 0, 3 }
uselistorder i64 %spec.select, { 0, 3, 1, 2 }
uselistorder i64 %sv_1.09.reload, { 1, 0 }
uselistorder i64 %sv_0.08.reload, { 1, 0 }
uselistorder i32* %15, { 2, 1, 0, 3 }
uselistorder i64 %13, { 0, 1, 3, 2, 4, 5, 6 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2, 4 }
uselistorder i64 32, { 1, 0 }
uselistorder i1 false, { 5, 2, 3, 4, 0, 1, 6 }
uselistorder i32 0, { 3, 4, 2, 0, 1, 5 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder label LBL_10, { 2, 0, 1, 3 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
CompRealVul | avpriv_alloc_fixed_dsp_1585 | avpriv_alloc_fixed_dsp | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 16)
%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_2
LBL_1:
%3 = inttoptr i64 %0 to i64*
store i64 4198726, i64* %3, align 8
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
store i64 4198733, i64* %5, align 8
store i64 %0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | nfs4_open_release_11226 | nfs4_open_release | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_6, label LBL_1
LBL_1:
%4 = add i64 %arg1, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_6, label LBL_2
LBL_2:
%9 = add i64 %arg1, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_6, label LBL_3
LBL_3:
%13 = add i64 %arg1, 12
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = urem i32 %15, 2
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_4
LBL_4:
%19 = call i64 @FUNC(i64 %arg1)
%20 = call i64 @FUNC(i64 %19)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = add i64 %arg1, 16
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %arg1, 24
%28 = call i64 @FUNC(i64 %27, i64 %19, i32 %26)
br label LBL_6
LBL_6:
%29 = call i64 @FUNC(i64 %arg1)
ret i64 %29
uselistorder i64 %arg1, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder label LBL_6, { 5, 0, 1, 3, 2, 4 }
} | 1 |
CompRealVul | dosockopts_7933 | dosockopts | 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* %arg2 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%3 = trunc i64 %arg1 to i32
store i32 1, i32* %sv_1, align 4
%4 = bitcast i32* %sv_1 to i64*
%5 = call i32 @setsockopt(i32 %3, i32 1, i32 2, i64* nonnull %4, i32 4)
%6 = icmp eq i32 %5, -1
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i32* @__errno_location()
%9 = load i32, i32* %8, align 4
%10 = call i8* @strerror(i32 %9)
%11 = ptrtoint i8* %10 to i64
%12 = call i64 @FUNC(i64 %2, i64 1, i64 2, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_6
LBL_2:
store i32 1, i32* %sv_0, align 4
%13 = bitcast i32* %sv_0 to i64*
%14 = call i32 @setsockopt(i32 %3, i32 1, i32 13, i64* nonnull %13, i32 8)
%15 = icmp eq i32 %14, -1
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = call i32* @__errno_location()
%18 = load i32, i32* %17, align 4
%19 = call i8* @strerror(i32 %18)
%20 = ptrtoint i8* %19 to i64
%21 = call i64 @FUNC(i64 %2, i64 1, i64 3, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_6
LBL_4:
%22 = call i32 @setsockopt(i32 %3, i32 1, i32 9, i64* nonnull %4, i32 4)
%23 = icmp eq i32 %22, -1
%24 = icmp eq i1 %23, false
store i64 0, i64* %rax.0.reg2mem
br i1 %24, label LBL_6, label LBL_5
LBL_5:
%25 = call i32* @__errno_location()
%26 = load i32, i32* %25, align 4
%27 = call i8* @strerror(i32 %26)
%28 = ptrtoint i8* %27 to i64
%29 = call i64 @FUNC(i64 %2, i64 1, i64 4, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %28, i64 %1)
store i64 4294967295, 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 %3, { 1, 0, 2 }
uselistorder i64 %2, { 2, 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64 4294967295, { 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i8*, i64, i64)* @g_set_error, { 2, 1, 0 }
uselistorder i8* (i32)* @strerror, { 2, 1, 0 }
uselistorder i32* ()* @__errno_location, { 2, 0, 1 }
uselistorder i32 (i32, i32, i32, i64*, i32)* @setsockopt, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 0, 2, 3 }
} | 0 |
CompRealVul | _PyMemoTable_Lookup_11163 | _PyMemoTable_Lookup | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = ashr i64 %arg2, 3
%5 = and i64 %4, %0
%6 = mul i64 %5, 8
%7 = add i64 %3, %6
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp ne i64 %9, 0
%11 = icmp eq i64 %9, %arg2
%12 = icmp eq i1 %11, false
%or.cond = icmp eq i1 %10, %12
store i64 %5, i64* %sv_0.0.reg2mem
store i64 %4, i64* %storemerge1.reg2mem
store i64 %7, i64* %storemerge.reg2mem
br i1 %or.cond, label LBL_1, label LBL_2
LBL_1:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%13 = mul i64 %sv_0.0.reload, 5
%14 = add i64 %13, 1
%15 = add i64 %14, %storemerge1.reload
%16 = and i64 %15, %0
%17 = mul i64 %16, 8
%18 = add i64 %17, %3
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = icmp ne i64 %20, 0
%22 = icmp eq i64 %20, %arg2
%23 = icmp eq i1 %22, false
%or.cond4 = icmp eq i1 %21, %23
%24 = udiv i64 %storemerge1.reload, 32
store i64 %15, i64* %sv_0.0.reg2mem
store i64 %24, i64* %storemerge1.reg2mem
store i64 %18, i64* %storemerge.reg2mem
br i1 %or.cond4, label LBL_1, label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge1.reload, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | mem_check_range_11801 | mem_check_range | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_4, label LBL_1
LBL_1:
%4 = icmp sgt i32 %2, 0
%5 = or i32 %2, 1
%6 = icmp eq i32 %5, 3
%or.cond = icmp eq i1 %4, %6
store i64 4294967282, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_4
LBL_2:
%7 = ptrtoint i64* %arg1 to i64
%8 = add i64 %7, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp ugt i64 %10, %arg2
store i64 4294967282, i64* %rax.0.reg2mem
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = add i64 %arg3, %arg2
%13 = add i64 %7, 16
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = add i64 %15, %10
%17 = icmp ugt i64 %12, %16
%spec.select = select i1 %17, i64 4294967282, i64 0
ret i64 %spec.select
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %7, { 1, 0 }
uselistorder i32 %2, { 1, 2, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 4294967282, { 2, 1, 0 }
uselistorder label LBL_4, { 1, 0, 2 }
} | 1 |
CompRealVul | cc_calc_abs_64_223 | cc_calc_abs_64 | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = icmp eq i64 %arg1, -9223372036854775808
%1 = icmp eq i1 %0, false
%2 = icmp eq i64 %arg1, 0
%. = select i1 %2, i64 0, i64 2
%rax.0 = select i1 %1, i64 %., i64 3
ret i64 %rax.0
} | 0 |
CompRealVul | nfs_clear_open_stateid_locked_18547 | nfs_clear_open_stateid_locked | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 0, i64 %0)
%2 = urem i64 %arg3, 4
store i64 3, i64* %rax.0.reg2mem
switch i64 %2, label LBL_4 [
i64 2, label LBL_1
i64 1, label LBL_2
i64 0, label LBL_3
]
LBL_1:
%3 = call i64 @FUNC(i64 1, i64 %0)
store i64 %3, i64* %rax.0.reg2mem
br label LBL_4
LBL_2:
%4 = call i64 @FUNC(i64 2, i64 %0)
store i64 %4, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%5 = call i64 @FUNC(i64 1, i64 %0)
%6 = call i64 @FUNC(i64 2, i64 %0)
%7 = call i64 @FUNC(i64 3, i64 %0)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%8 = icmp eq i32* %arg2, null
store i64 %rax.0.reload, i64* %rax.1.reg2mem
br i1 %8, label LBL_9, label LBL_5
LBL_5:
%9 = ptrtoint i32* %arg2 to i64
%10 = call i64 @FUNC(i64 %0, i64 %9)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 %10, i64* %rax.1.reg2mem
br i1 %12, label LBL_9, label LBL_6
LBL_6:
%13 = call i64 @FUNC(i64 4, i64 %0)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_8, label LBL_7
LBL_7:
%17 = add i64 %0, 8
%18 = call i64 @FUNC(i64 %17, i64 %9)
br label LBL_8
LBL_8:
%19 = add i64 %0, 12
%20 = call i64 @FUNC(i64 %19, i64 %9)
store i64 %20, i64* %rax.1.reg2mem
br label LBL_9
LBL_9:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %9, { 1, 0, 2 }
uselistorder i64 %0, { 5, 4, 6, 7, 3, 2, 1, 0, 8, 9 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }
uselistorder i64 (i64, i64)* @nfs4_stateid_copy, { 1, 0 }
uselistorder i64 2, { 1, 2, 0 }
uselistorder i64 3, { 1, 0 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 (i64, i64)* @clear_bit, { 5, 4, 3, 2, 1, 0 }
uselistorder i32* %arg2, { 1, 0 }
uselistorder label LBL_9, { 2, 0, 1 }
uselistorder label LBL_4, { 1, 2, 3, 0 }
} | 1 |
CompRealVul | em_ret_far_12594 | em_ret_far | 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
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i32 %5)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = and i64 %6, 4294967295
store i64 %9, i64* %rax.0.reg2mem
br label LBL_11
LBL_2:
%10 = load i32, i32* %4, align 4
%11 = bitcast i32* %sv_0 to i64*
%12 = call i64 @FUNC(i64 %2, i64* nonnull %11, i32 %10)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_4, label LBL_3
LBL_3:
%15 = and i64 %12, 4294967295
store i64 %15, i64* %rax.0.reg2mem
br label LBL_11
LBL_4:
%16 = trunc i64 %1 to i32
%17 = icmp slt i32 %16, 2
%.pre = load i32, i32* %sv_0, align 4
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = urem i32 %.pre, 4
%19 = zext i32 %18 to i64
%sext = mul i64 %2, 4294967296
%20 = ashr exact i64 %sext, 32
%21 = icmp ult i64 %20, %19
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %21, label LBL_11, label LBL_6
LBL_6:
%22 = urem i32 %.pre, 65536
%23 = zext i32 %22 to i64
%24 = and i64 %2, 4294967295
%25 = call i64 @FUNC(i64 %2, i64 %23, i64 0, i64 %24, i64 0, i64* nonnull %sv_2)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label LBL_8, label LBL_7
LBL_7:
%28 = and i64 %25, 4294967295
store i64 %28, i64* %rax.0.reg2mem
br label LBL_11
LBL_8:
%29 = load i64, i64* %sv_1, align 8
%30 = call i64 @FUNC(i64 %2, i64 %29, i64* nonnull %sv_2)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_10, label LBL_9
LBL_9:
%33 = icmp eq i32 %16, 1
%34 = icmp eq i1 %33, false
%35 = zext i1 %34 to i64
%36 = call i64 @FUNC(i64 %35)
br label LBL_10
LBL_10:
%37 = and i64 %30, 4294967295
store i64 %37, i64* %rax.0.reg2mem
br label LBL_11
LBL_11:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i64 %2, { 2, 3, 1, 0, 4, 6, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }
uselistorder i64 (i64, i64*, i32)* @emulate_pop, { 1, 0 }
uselistorder label LBL_11, { 1, 2, 0, 3, 4 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
CompRealVul | helper_divl_EAX_T0_15367 | helper_divl_EAX_T0 | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i32, i32* bitcast (i128* @gv_0 to i32*), align 8
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 1)
unreachable
LBL_2:
%4 = load i32, i32* @gv_1, align 4
%5 = zext i32 %4 to i64
%6 = mul i64 %5, 4294967296
%7 = load i32, i32* bitcast (i64* @gv_2 to i32*), align 8
%8 = zext i32 %7 to i64
%9 = or i64 %6, %8
%.rhs.trunc = zext i32 %0 to i64
%10 = udiv i64 %9, %.rhs.trunc
%11 = trunc i64 %10 to i32
%12 = urem i64 %9, %.rhs.trunc
store i32 %11, i32* bitcast (i64* @gv_2 to i32*), align 8
%13 = trunc i64 %12 to i32
store i32 %13, i32* @gv_1, align 4
ret i64 %12
uselistorder i64 %12, { 1, 0 }
} | 1 |
CompRealVul | hog_accept_5629 | hog_accept | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %2)
%5 = inttoptr i64 %1 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %1, i64 %3)
%10 = load i64, i64* %5, align 8
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %12, label LBL_2, label LBL_4
LBL_2:
%13 = call i64 @FUNC(i64 %2)
%14 = and i64 %13, 4294967295
%15 = call i64 @FUNC(i64 %2, i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 4294967185, i64* %rax.0.reg2mem
br i1 %18, label LBL_3, label LBL_4
LBL_3:
%19 = load i64, i64* %5, align 8
%20 = call i64 @FUNC(i64 %19, i64 %4)
%21 = call i64 @FUNC(i64 %0, i64 0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %5, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 0, { 3, 0, 1, 2 }
uselistorder label LBL_4, { 2, 0, 1 }
} | 0 |
CompRealVul | esp_do_dma_11519 | esp_do_dma | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = and i64 %1, 4294967295
%11 = zext i32 %9 to i64
%12 = call i64 @FUNC(i64 %11, i64 %10)
%13 = add i64 %2, 288
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
store i64 %15, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%16 = add i64 %2, 268
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = icmp eq i32 %18, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %19, label LBL_8, label LBL_3
LBL_3:
%20 = trunc i64 %1 to i32
%21 = icmp ult i32 %18, %20
%spec.select = select i1 %21, i32 %18, i32 %20
%22 = add i64 %2, 280
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = sub i32 %20, %spec.select
%26 = bitcast i64* %arg1 to i32*
store i32 %25, i32* %26, align 4
%27 = add i64 %2, 272
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = zext i32 %spec.select to i64
%31 = add i64 %29, %30
store i64 %31, i64* %28, align 8
%32 = load i32, i32* %17, align 4
%33 = sub i32 %32, %spec.select
store i32 %33, i32* %17, align 4
%34 = icmp sgt i32 %24, -1
%35 = load i32, i32* %23, align 4
%36 = sub i32 0, %spec.select
%storemerge.p = select i1 %34, i32 %36, i32 %spec.select
%storemerge = add i32 %35, %storemerge.p
store i32 %storemerge, i32* %23, align 4
%37 = load i32, i32* %17, align 4
%38 = icmp eq i32 %37, 0
%39 = icmp eq i1 %38, false
br i1 %39, label LBL_7, label LBL_4
LBL_4:
%40 = add i64 %2, 312
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = call i64 @FUNC(i64 %42)
%44 = icmp eq i1 %34, false
store i64 %43, i64* %rax.0.reg2mem
br i1 %44, label LBL_8, label LBL_5
LBL_5:
%45 = bitcast i64* %rdi to i32*
%46 = load i32, i32* %45, align 8
%47 = zext i32 %46 to i64
%48 = icmp eq i32 %46, 0
%49 = icmp eq i1 %48, false
store i64 %47, i64* %rax.0.reg2mem
br i1 %49, label LBL_8, label LBL_6
LBL_6:
%50 = load i32, i32* %23, align 4
%51 = icmp eq i32 %50, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %51, label LBL_8, label LBL_7
LBL_7:
%52 = call i64 @FUNC(i64 %2)
store i64 %52, 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 %34, { 1, 0 }
uselistorder i32* %23, { 0, 2, 1, 3 }
uselistorder i32 %spec.select, { 0, 1, 4, 3, 2 }
uselistorder i32 %20, { 2, 1, 0 }
uselistorder i32 %18, { 1, 0, 2 }
uselistorder i32* %17, { 0, 2, 1, 3 }
uselistorder i64 %2, { 1, 2, 3, 4, 5, 0, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 4, 6, 1 }
uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }
uselistorder label LBL_8, { 4, 2, 1, 0, 3, 5 }
} | 1 |
CompRealVul | vt_io_fontreset_6827 | vt_io_fontreset | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 4294967258, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
%5 = bitcast i64* %arg2 to i32*
store i32 0, i32* %5, align 4
%6 = add i64 %3, 8
%7 = inttoptr i64 %6 to i64*
store i64 0, i64* %7, align 8
%8 = call i64 @FUNC(i64 %4, i64 %3)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = and i64 %8, 4294967295
store i64 %11, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%12 = call i64 @FUNC()
%13 = call i64 @FUNC(i64 %4)
%14 = call i64 @FUNC()
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
CompRealVul | first_nibble_is_4_10120 | first_nibble_is_4 | define i64 @FUNC(i64* %arg1, i64* %arg2, i16 %arg3) local_unnamed_addr {
LBL_0:
%0 = and i16 %arg3, -3841
%1 = icmp eq i16 %0, 16425
br i1 %1, label LBL_13, label LBL_1
LBL_1:
%2 = icmp ugt i16 %0, 16425
br i1 %2, label LBL_14, label LBL_2
LBL_2:
%3 = icmp eq i16 %0, 16424
br i1 %3, label LBL_12, label LBL_3
LBL_3:
%4 = icmp ugt i16 %0, 16424
br i1 %4, label LBL_14, label LBL_4
LBL_4:
%5 = icmp ugt i16 %0, 16416
br i1 %5, label LBL_9, label LBL_5
LBL_5:
%6 = icmp ult i16 %0, 16384
br i1 %6, label LBL_14, label LBL_6
LBL_6:
%7 = urem i16 %arg3, 64
%8 = zext i16 %7 to i64
%9 = shl i64 1, %8
%10 = and i64 %9, 33554946
%11 = icmp eq i64 %10, 0
%12 = icmp eq i1 %11, false
%13 = icmp eq i1 %12, false
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_13, label LBL_7
LBL_7:
%15 = and i64 %9, 16777473
%16 = icmp eq i64 %15, 0
%17 = icmp eq i1 %16, false
%18 = icmp eq i1 %17, false
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_12, label LBL_8
LBL_8:
%20 = icmp ne i16 %7, 32
%21 = icmp eq i1 %20, false
%22 = icmp eq i1 %21, false
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_10, label LBL_14
LBL_9:
%24 = icmp eq i16 %0, 16417
br i1 %24, label LBL_11, label LBL_14
LBL_10:
%25 = bitcast i64* %arg2 to i32*
store i32 1, i32* %25, align 4
br label LBL_14
LBL_11:
%26 = bitcast i64* %arg2 to i32*
store i32 2, i32* %26, align 4
br label LBL_14
LBL_12:
%27 = bitcast i64* %arg2 to i32*
store i32 3, i32* %27, align 4
br label LBL_14
LBL_13:
%28 = bitcast i64* %arg2 to i32*
store i32 4, i32* %28, align 4
br label LBL_14
LBL_14:
%29 = ptrtoint i64* %arg2 to i64
%30 = ptrtoint i64* %arg1 to i64
%31 = icmp slt i16 %arg3, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_16, label LBL_15
LBL_15:
%33 = bitcast i64* %arg2 to i32*
store i32 5, i32* %33, align 4
%34 = add i64 %29, 4
%35 = inttoptr i64 %34 to i32*
store i32 1, i32* %35, align 4
%36 = zext i16 %arg3 to i64
%37 = call i64 @FUNC(i64 %36)
%38 = and i64 %37, 4294967295
%39 = call i64 @FUNC(i64 %30, i64 %38)
%40 = trunc i64 %39 to i32
%41 = add i64 %29, 8
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
br label LBL_33
LBL_16:
%43 = and i16 %arg3, 16384
%44 = icmp eq i16 %43, 0
br i1 %44, label LBL_18, label LBL_17
LBL_17:
%45 = bitcast i64* %arg2 to i32*
store i32 6, i32* %45, align 4
%46 = zext i16 %arg3 to i64
%47 = call i64 @FUNC(i64 %46)
%48 = and i64 %47, 4294967295
%49 = call i64 @FUNC(i64 %30, i64 %48)
%50 = trunc i64 %49 to i32
%51 = add i64 %29, 8
%52 = inttoptr i64 %51 to i32*
store i32 %50, i32* %52, align 4
%53 = add i64 %29, 4
%54 = inttoptr i64 %53 to i32*
store i32 1, i32* %54, align 4
%55 = add i64 %29, 12
%56 = inttoptr i64 %55 to i8*
store i8 1, i8* %56, align 1
br label LBL_33
LBL_18:
%57 = and i16 %arg3, 12288
%58 = icmp eq i16 %57, 0
br i1 %58, label LBL_20, label LBL_19
LBL_19:
%59 = bitcast i64* %arg2 to i32*
store i32 7, i32* %59, align 4
br label LBL_33
LBL_20:
%60 = and i16 %arg3, 3584
%61 = icmp eq i16 %60, 0
br i1 %61, label LBL_22, label LBL_21
LBL_21:
%62 = bitcast i64* %arg2 to i32*
store i32 8, i32* %62, align 4
br label LBL_33
LBL_22:
%63 = and i16 %arg3, 256
%64 = icmp eq i16 %63, 0
%65 = icmp eq i1 %64, false
br i1 %65, label LBL_24, label LBL_23
LBL_23:
%66 = trunc i16 %arg3 to i8
%67 = icmp sgt i8 %66, -1
%68 = and i16 %arg3, 64
%69 = icmp eq i16 %68, 0
%or.cond6 = icmp eq i1 %67, %69
br i1 %or.cond6, label LBL_25, label LBL_24
LBL_24:
%70 = bitcast i64* %arg2 to i32*
store i32 9, i32* %70, align 4
br label LBL_33
LBL_25:
%71 = and i16 %arg3, 32
%72 = icmp eq i16 %71, 0
br i1 %72, label LBL_27, label LBL_26
LBL_26:
%73 = urem i16 %arg3, 2
%74 = icmp eq i16 %73, 0
%. = select i1 %74, i32 11, i32 10
%75 = bitcast i64* %arg2 to i32*
store i32 %., i32* %75, align 4
br label LBL_33
LBL_27:
%76 = and i16 %arg3, 28
%77 = icmp eq i16 %76, 0
br i1 %77, label LBL_29, label LBL_28
LBL_28:
%78 = bitcast i64* %arg2 to i32*
store i32 12, i32* %78, align 4
br label LBL_33
LBL_29:
%79 = and i16 %arg3, 2
%80 = icmp eq i16 %79, 0
br i1 %80, label LBL_31, label LBL_30
LBL_30:
%81 = bitcast i64* %arg2 to i32*
store i32 13, i32* %81, align 4
br label LBL_33
LBL_31:
%82 = urem i16 %arg3, 2
%83 = icmp eq i16 %82, 0
br i1 %83, label LBL_33, label LBL_32
LBL_32:
%84 = bitcast i64* %arg2 to i32*
store i32 13, i32* %84, align 4
br label LBL_33
LBL_33:
%85 = add i64 %29, 16
%86 = inttoptr i64 %85 to i32*
%87 = load i32, i32* %86, align 4
%88 = zext i32 %87 to i64
ret i64 %88
uselistorder i64 %30, { 1, 0 }
uselistorder i64 %29, { 5, 2, 3, 4, 0, 1 }
uselistorder i16 %7, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i16 2, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @anal_fill_ai_rg, { 1, 0 }
uselistorder i64 (i64)* @GET_TARGET_REG, { 1, 0 }
uselistorder i16 0, { 4, 5, 0, 6, 7, 3, 8, 1, 2, 9, 10 }
uselistorder i16 32, { 1, 0 }
uselistorder i1 false, { 3, 4, 5, 0, 6, 7, 1, 8, 9, 2, 10 }
uselistorder i16 64, { 1, 0 }
uselistorder i16 16384, { 1, 0 }
uselistorder i16 %arg3, { 0, 14, 3, 1, 13, 6, 12, 11, 4, 5, 8, 10, 7, 9, 2, 15 }
uselistorder i64* %arg2, { 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 0, 3 }
uselistorder label LBL_14, { 5, 6, 7, 8, 4, 3, 2, 1, 0 }
} | 0 |
CompRealVul | pm_ioport_readw_5021 | pm_ioport_readw | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = trunc i64 %arg2 to i32
%6 = urem i32 %5, 16
%7 = icmp eq i32 %6, 4
br i1 %7, label LBL_5, label LBL_1
LBL_1:
%8 = icmp ult i32 %6, 5
store i32 0, i32* %sv_0.0.reg2mem
br i1 %8, label LBL_2, label LBL_6
LBL_2:
%9 = ptrtoint i64* %arg1 to i64
store i32 0, i32* %sv_0.0.reg2mem
switch i32 %6, label LBL_6 [
i32 0, label LBL_3
i32 2, label LBL_4
]
LBL_3:
%10 = call i64 @FUNC(i64 %9)
%11 = trunc i64 %10 to i32
store i32 %11, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_4:
%12 = add i64 %9, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
store i32 %14, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_5:
%15 = trunc i64 %3 to i32
store i32 %15, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%16 = zext i32 %6 to i64
%17 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %16, i32 %sv_0.0.reload, i64 %4, i64 %2, i64 %1)
%18 = zext i32 %sv_0.0.reload to i64
ret i64 %18
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i32 %6, { 2, 3, 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 3, 4, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i32 0, { 2, 1, 0 }
uselistorder label LBL_6, { 2, 3, 4, 1, 0 }
} | 0 |
CompRealVul | av_vdpau_alloc_context_254 | av_vdpau_alloc_context | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 0)
ret i64 %0
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.