dataset
stringclasses 1
value | file
stringlengths 7
51
| fun_name
stringlengths 2
45
| llvm_ir_function
stringlengths 61
121k
| label
stringclasses 2
values |
|---|---|---|---|---|
CompRealVul
|
uhci_handle_td_14954
|
uhci_handle_td
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i32
%rdi = alloca i64, align 8
%rdx = alloca i64, align 8
%1 = load i64, i64* %0
%2 = urem i64 %1, 2
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_14
LBL_1:
%5 = ptrtoint i64* %arg3 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = and i64 %arg2, 4294967295
%8 = call i64 @FUNC(i64 %6, i64 %7, i64 %5)
%9 = icmp eq i64 %8, 0
br i1 %9, label LBL_4, label LBL_2
LBL_2:
%10 = inttoptr i64 %8 to i64*
%11 = load i64, i64* %10, align 8
%12 = inttoptr i64 %11 to i32*
store i32 32, i32* %12, align 4
%13 = add i64 %8, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
store i64 1, i64* %rax.0.reg2mem
br i1 %17, label LBL_3, label LBL_14
LBL_3:
%18 = call i64 @FUNC(i64 %8)
%.pre = add i64 %8, 16
store i64 %.pre, i64* %.pre-phi.reg2mem
store i64 %8, i64* %sv_0.0.reg2mem
br label LBL_13
LBL_4:
%19 = call i64 @FUNC(i64 %6, i64 %5)
%20 = call i64 @FUNC(i64 %19, i64 %7)
%21 = icmp eq i64 %20, 0
%22 = icmp eq i1 %21, false
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_5, label LBL_14
LBL_5:
%23 = bitcast i64* %rdx to i32*
%24 = inttoptr i64 %20 to i64*
%25 = load i64, i64* %24, align 8
%26 = inttoptr i64 %25 to i32*
store i32 32, i32* %26, align 4
%27 = load i32, i32* %23, align 8
%28 = and i32 %27, 2
%29 = add i64 %20, 12
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
%31 = add i64 %5, 4
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = udiv i32 %33, 2097152
%35 = add nuw nsw i32 %34, 1
%36 = urem i32 %35, 2048
%37 = udiv i32 %33, 256
%38 = urem i32 %37, 128
%39 = zext i32 %38 to i64
%40 = call i64 @FUNC(i64 %6, i64 %39)
%41 = load i32, i32* %32, align 4
%42 = udiv i32 %41, 32768
%43 = urem i32 %42, 16
%44 = zext i32 %43 to i64
%45 = urem i32 %33, 256
%46 = zext i32 %45 to i64
%47 = call i64 @FUNC(i64 %40, i64 %46, i64 %44)
%48 = add i64 %20, 16
%49 = call i64 @FUNC(i64 %48, i64 %46, i64 %47)
%50 = add i64 %5, 8
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = add i64 %20, 24
%54 = call i64 @FUNC(i64 %53, i64 %52, i32 %36)
%55 = call i64 @FUNC(i64 %48, i64 %53)
%56 = icmp ugt i32 %45, 1
br i1 %56, label LBL_6, label LBL_7
LBL_6:
%57 = icmp eq i32 %45, 2
br i1 %57, label LBL_8, label LBL_9
LBL_7:
%58 = call i64 @FUNC(i64 %40, i64 %48)
%59 = trunc i64 %58 to i32
%60 = icmp slt i32 %59, 0
%spec.select = select i1 %60, i32 %59, i32 %36
store i32 %spec.select, i32* %sv_1.0.reg2mem
br label LBL_10
LBL_8:
%61 = call i64 @FUNC(i64 %40, i64 %48)
%62 = trunc i64 %61 to i32
store i32 %62, i32* %sv_1.0.reg2mem
br label LBL_10
LBL_9:
%63 = call i64 @FUNC(i64 %20)
%64 = bitcast i64* %rdi to i32*
%65 = load i32, i32* %64, align 8
%66 = or i32 %65, 1
%67 = bitcast i64* %arg1 to i32*
store i32 %66, i32* %67, align 4
%68 = call i64 @FUNC(i64 %6)
store i64 3, i64* %rax.0.reg2mem
br label LBL_14
LBL_10:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%69 = icmp eq i32 %sv_1.0.reload, -1
%70 = icmp eq i1 %69, false
br i1 %70, label LBL_12, label LBL_11
LBL_11:
%71 = call i64 @FUNC(i64 %20)
store i64 2, i64* %rax.0.reg2mem
br label LBL_14
LBL_12:
%72 = inttoptr i64 %48 to i32*
store i32 %sv_1.0.reload, i32* %72, align 4
store i64 %48, i64* %.pre-phi.reg2mem
store i64 %20, i64* %sv_0.0.reg2mem
br label LBL_13
LBL_13:
%73 = ptrtoint i64* %arg4 to i64
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%74 = call i64 @FUNC(i64 %6, i64 %5, i64 %sv_0.0.reload, i64 %73)
%75 = call i64 @FUNC(i64 %.pre-phi.reload)
%76 = call i64 @FUNC(i64 %sv_0.0.reload)
%77 = and i64 %74, 4294967295
store i64 %77, i64* %rax.0.reg2mem
br label LBL_14
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %48, { 0, 2, 3, 1, 4, 5 }
uselistorder i32 %45, { 2, 1, 0 }
uselistorder i64 %40, { 1, 0, 2 }
uselistorder i32 %36, { 1, 0 }
uselistorder i32 %33, { 2, 0, 1 }
uselistorder i64 %20, { 0, 2, 1, 3, 4, 5, 6, 7 }
uselistorder i64 %8, { 0, 1, 3, 2, 4, 5 }
uselistorder i64 %6, { 1, 0, 2, 3, 4 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 }
uselistorder i64 (i64)* @uhci_async_free, { 1, 0 }
uselistorder i64 (i64, i64)* @usb_handle_packet, { 1, 0 }
uselistorder i32 256, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i32 32, { 1, 2, 0 }
uselistorder label LBL_14, { 3, 4, 5, 0, 1, 2 }
uselistorder label LBL_10, { 1, 0 }
}
|
1
|
CompRealVul
|
libopenjpeg_copy_packed8_2338
|
libopenjpeg_copy_packed8
|
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge5.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.reg2mem54 = alloca i32
%.reg2mem52 = alloca i32
%storemerge212.reg2mem = alloca i32
%.reg2mem50 = alloca i32
%.reg2mem48 = alloca i64
%sv_0.013.reg2mem = alloca i32
%.reg2mem46 = alloca i32
%.reg2mem44 = alloca i32
%storemerge3.lcssa.reg2mem = alloca i32
%.reg2mem42 = alloca i32
%sv_1.09.reg2mem = alloca i32
%.reg2mem40 = alloca i64
%storemerge4.lcssa.reg2mem = alloca i32
%.reg2mem38 = alloca i32
%sv_2.07.reg2mem = alloca i32
%storemerge48.reg2mem = alloca i32
%.reg2mem36 = alloca i64
%storemerge310.reg2mem = alloca i32
%.reg2mem = alloca i32
%storemerge616.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = trunc i64 %3 to i32
%5 = icmp sgt i32 %4, 0
store i64 1, i64* %storemerge5.reg2mem
br i1 %5, label LBL_1, label LBL_22
LBL_1:
%6 = ptrtoint i64* %arg3 to i64
%7 = ptrtoint i64* %arg2 to i64
%8 = add i64 %6, 8
%9 = add i64 %7, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = ashr i32 %11, 31
%13 = zext i32 %11 to i64
%14 = zext i32 %12 to i64
%15 = mul i64 %14, 4294967296
%16 = or i64 %15, %13
%17 = and i64 %3, 4294967295
%18 = sdiv i64 %16, %17
%19 = and i64 %18, 4294967295
store i32 0, i32* %storemerge616.reg2mem
br label LBL_2
LBL_2:
%storemerge616.reload = load i32, i32* %storemerge616.reg2mem
%20 = sext i32 %storemerge616.reload to i64
%21 = mul i64 %20, 16
%22 = add i64 %8, %21
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = zext i32 %24 to i64
%26 = icmp ult i64 %19, %25
br i1 %26, label LBL_3, label LBL_4
LBL_3:
%27 = ptrtoint i32* %arg1 to i64
%28 = call i64 @FUNC(i64 %27, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %2, i64 %1)
store i64 0, i64* %storemerge5.reg2mem
br label LBL_22
LBL_4:
%29 = add nuw i32 %storemerge616.reload, 1
%30 = icmp slt i32 %29, %4
store i32 %29, i32* %storemerge616.reg2mem
br i1 %30, label LBL_2, label LBL_5
LBL_5:
%31 = ptrtoint i32* %arg1 to i64
%32 = add i64 %31, 4
%33 = inttoptr i64 %32 to i32*
%34 = bitcast i64* %rdi to i32*
%35 = add i64 %7, 16
%36 = inttoptr i64 %35 to i64*
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_20
LBL_6:
%storemerge310.reload = load i32, i32* %storemerge310.reg2mem
%.reload = load i32, i32* %.reg2mem
%37 = load i64, i64* %118, align 8
%38 = mul i32 %storemerge310.reload, %.reload
%39 = sext i32 %38 to i64
%40 = mul i64 %39, 4
%41 = add i64 %40, %37
%42 = load i32, i32* %34, align 8
%43 = icmp eq i32 %42, 0
store i32 %.reload, i32* %.reg2mem38
store i32 0, i32* %storemerge4.lcssa.reg2mem
br i1 %43, label LBL_10, label LBL_7
LBL_7:
%44 = load i32, i32* %10, align 4
%45 = mul i32 %44, %storemerge310.reload
%46 = add i32 %45, %121
store i64 0, i64* %.reg2mem36
store i32 0, i32* %storemerge48.reg2mem
store i32 %46, i32* %sv_2.07.reg2mem
br label LBL_8
LBL_8:
%sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem
%storemerge48.reload = load i32, i32* %storemerge48.reg2mem
%.reload37 = load i64, i64* %.reg2mem36
%47 = load i64, i64* %36, align 8
%48 = sext i32 %sv_2.07.reload to i64
%49 = add i64 %47, %48
%50 = inttoptr i64 %49 to i8*
%51 = load i8, i8* %50, align 1
%52 = mul i64 %.reload37, 4
%53 = add i64 %52, %41
%54 = zext i8 %51 to i32
%55 = inttoptr i64 %53 to i32*
store i32 %54, i32* %55, align 4
%56 = add i32 %sv_2.07.reload, %4
%57 = add i32 %storemerge48.reload, 1
%58 = load i32, i32* %34, align 8
%59 = zext i32 %58 to i64
%60 = sext i32 %57 to i64
%61 = icmp slt i64 %60, %59
store i64 %60, i64* %.reg2mem36
store i32 %57, i32* %storemerge48.reg2mem
store i32 %56, i32* %sv_2.07.reg2mem
br i1 %61, label LBL_8, label LBL_9
LBL_9:
%.pre20 = load i32, i32* %120, align 4
store i32 %.pre20, i32* %.reg2mem38
store i32 %57, i32* %storemerge4.lcssa.reg2mem
br label LBL_10
LBL_10:
%storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem
%.reload39 = load i32, i32* %.reg2mem38
%62 = zext i32 %.reload39 to i64
%63 = sext i32 %storemerge4.lcssa.reload to i64
%64 = icmp slt i64 %63, %62
store i64 %63, i64* %.reg2mem40
store i32 %storemerge4.lcssa.reload, i32* %sv_1.09.reg2mem
store i32 %.reload39, i32* %.reg2mem42
br i1 %64, label LBL_11, label LBL_12
LBL_11:
%sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem
%.reload41 = load i64, i64* %.reg2mem40
%65 = mul i64 %.reload41, 4
%66 = add i64 %65, %41
%67 = add i64 %66, -4
%68 = inttoptr i64 %67 to i32*
%69 = load i32, i32* %68, align 4
%70 = inttoptr i64 %66 to i32*
store i32 %69, i32* %70, align 4
%71 = add i32 %sv_1.09.reload, 1
%72 = load i32, i32* %120, align 4
%73 = zext i32 %72 to i64
%74 = sext i32 %71 to i64
%75 = icmp slt i64 %74, %73
store i64 %74, i64* %.reg2mem40
store i32 %71, i32* %sv_1.09.reg2mem
store i32 %72, i32* %.reg2mem42
br i1 %75, label LBL_11, label LBL_12
LBL_12:
%.reload43 = load i32, i32* %.reg2mem42
%76 = add i32 %storemerge310.reload, 1
%77 = load i32, i32* %33, align 4
%78 = zext i32 %77 to i64
%79 = sext i32 %76 to i64
%80 = icmp slt i64 %79, %78
store i32 %.reload43, i32* %.reg2mem
store i32 %76, i32* %storemerge310.reg2mem
store i32 %76, i32* %storemerge3.lcssa.reg2mem
br i1 %80, label LBL_6, label LBL_13
LBL_13:
%storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem
%81 = add i64 %.pre24, 12
%82 = inttoptr i64 %81 to i32*
%83 = load i32, i32* %82, align 4
%84 = zext i32 %83 to i64
%85 = sext i32 %storemerge3.lcssa.reload to i64
%86 = icmp slt i64 %85, %84
br i1 %86, label LBL_14, label LBL_19
LBL_14:
%87 = add i64 %.pre24, 16
%88 = inttoptr i64 %87 to i64*
%89 = add i64 %.pre24, 8
%90 = inttoptr i64 %89 to i32*
%.pre21 = load i32, i32* %90, align 4
store i32 %83, i32* %.reg2mem44
store i32 %.pre21, i32* %.reg2mem46
store i32 %storemerge3.lcssa.reload, i32* %sv_0.013.reg2mem
br label LBL_15
LBL_15:
%sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem
%.reload47 = load i32, i32* %.reg2mem46
%.reload45 = load i32, i32* %.reg2mem44
%91 = load i64, i64* %88, align 8
%92 = mul i32 %sv_0.013.reload, %.reload47
%93 = sext i32 %92 to i64
%94 = mul i64 %93, 4
%95 = add i64 %94, %91
%96 = icmp eq i32 %.reload47, 0
store i64 0, i64* %.reg2mem48
store i32 %.reload47, i32* %.reg2mem50
store i32 0, i32* %storemerge212.reg2mem
store i32 %.reload45, i32* %.reg2mem52
store i32 0, i32* %.reg2mem54
br i1 %96, label LBL_18, label LBL_16
LBL_16:
%storemerge212.reload = load i32, i32* %storemerge212.reg2mem
%.reload51 = load i32, i32* %.reg2mem50
%.reload49 = load i64, i64* %.reg2mem48
%97 = sub i32 %storemerge212.reload, %.reload51
%98 = sext i32 %97 to i64
%99 = mul i64 %98, 4
%100 = add i64 %99, %95
%101 = mul i64 %.reload49, 4
%102 = add i64 %101, %95
%103 = inttoptr i64 %100 to i32*
%104 = load i32, i32* %103, align 4
%105 = inttoptr i64 %102 to i32*
store i32 %104, i32* %105, align 4
%106 = add i32 %storemerge212.reload, 1
%107 = load i32, i32* %90, align 4
%108 = zext i32 %107 to i64
%109 = sext i32 %106 to i64
%110 = icmp slt i64 %109, %108
store i64 %109, i64* %.reg2mem48
store i32 %107, i32* %.reg2mem50
store i32 %106, i32* %storemerge212.reg2mem
br i1 %110, label LBL_16, label LBL_17
LBL_17:
%.pre22 = load i32, i32* %82, align 4
store i32 %.pre22, i32* %.reg2mem52
store i32 %107, i32* %.reg2mem54
br label LBL_18
LBL_18:
%.reload55 = load i32, i32* %.reg2mem54
%.reload53 = load i32, i32* %.reg2mem52
%111 = add i32 %sv_0.013.reload, 1
%112 = zext i32 %.reload53 to i64
%113 = sext i32 %111 to i64
%114 = icmp slt i64 %113, %112
store i32 %.reload53, i32* %.reg2mem44
store i32 %.reload55, i32* %.reg2mem46
store i32 %111, i32* %sv_0.013.reg2mem
br i1 %114, label LBL_15, label LBL_19
LBL_19:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %17
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 1, i64* %storemerge5.reg2mem
br i1 %exitcond, label LBL_22, label LBL_20
LBL_20:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%115 = load i32, i32* %33, align 4
%116 = icmp eq i32 %115, 0
%.pre23 = mul i64 %indvars.iv.reload, 16
%.pre24 = add i64 %.pre23, %6
store i32 0, i32* %storemerge3.lcssa.reg2mem
br i1 %116, label LBL_13, label LBL_6.lr.ph
LBL_21:
%117 = add i64 %.pre24, 16
%118 = inttoptr i64 %117 to i64*
%119 = add i64 %.pre24, 8
%120 = inttoptr i64 %119 to i32*
%.pre = load i32, i32* %120, align 4
%121 = trunc i64 %indvars.iv.reload to i32
store i32 %.pre, i32* %.reg2mem
store i32 0, i32* %storemerge310.reg2mem
br label LBL_6
LBL_22:
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
ret i64 %storemerge5.reload
uselistorder i32* %120, { 1, 0, 2 }
uselistorder i64 %.pre24, { 4, 3, 2, 1, 0 }
uselistorder i64 %indvars.iv.reload, { 1, 2, 0 }
uselistorder i32 %.reload53, { 1, 0 }
uselistorder i32* %90, { 1, 0 }
uselistorder i32 %sv_2.07.reload, { 1, 0 }
uselistorder i32 %storemerge310.reload, { 0, 2, 1 }
uselistorder i32* %34, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i32* %storemerge616.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge310.reg2mem, { 2, 1, 0 }
uselistorder i64* %.reg2mem36, { 1, 0, 2 }
uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem38, { 0, 2, 1 }
uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem40, { 2, 0, 1 }
uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge3.lcssa.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem44, { 1, 0, 2 }
uselistorder i32* %.reg2mem46, { 1, 0, 2 }
uselistorder i32* %sv_0.013.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem48, { 2, 0, 1 }
uselistorder i32* %.reg2mem50, { 2, 0, 1 }
uselistorder i32* %storemerge212.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge5.reg2mem, { 0, 1, 3, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 0, { 2, 3, 1, 0, 6, 4, 5, 7 }
uselistorder i64 16, { 4, 0, 2, 3, 1 }
uselistorder i64 8, { 2, 1, 3, 0 }
uselistorder i32 0, { 5, 2, 9, 0, 1, 8, 4, 3, 7, 6, 10 }
uselistorder label LBL_22, { 0, 2, 1 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
numPartsWithin_5888
|
numPartsWithin
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = icmp eq i32 %arg3, 0
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%2 = trunc i64 %arg1 to i32
%3 = trunc i64 %arg2 to i32
%4 = sub i32 %2, %3
%5 = add i32 %4, %arg3
%6 = ashr i32 %5, 31
%7 = zext i32 %5 to i64
%8 = zext i32 %6 to i64
%9 = mul i64 %8, 4294967296
%10 = or i64 %9, %7
%11 = zext i32 %arg3 to i64
%12 = sdiv i64 %10, %11
%13 = and i64 %12, 4294967295
ret i64 %13
uselistorder i32 %arg3, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
get_str_16140
|
get_str
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_0.03.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg3, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = call i64 @FUNC(i64 %1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%.pre = trunc i64 %2 to i32
%6 = icmp eq i32 %.pre, 0
%or.cond = or i1 %6, %5
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%7 = sub i32 %.pre, %4
%8 = xor i64 %3, %2
%9 = trunc i64 %8 to i32
%10 = xor i32 %7, %.pre
%11 = and i32 %10, %9
%12 = icmp slt i32 %11, 0
%13 = icmp eq i32 %7, 0
%14 = icmp slt i32 %7, 0
%15 = icmp eq i1 %14, %12
%16 = icmp eq i1 %13, false
%17 = icmp eq i1 %15, %16
%18 = select i1 %17, i32 %4, i32 %.pre
%19 = call i64 @FUNC(i64 %1, i64 %0, i32 %18)
br label LBL_2
LBL_2:
%20 = icmp slt i32 %.pre, %4
store i32 %4, i32* %sv_0.03.reg2mem
store i32 %4, i32* %sv_0.0.lcssa.reg2mem
br i1 %20, label LBL_3, label LBL_4
LBL_3:
%sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem
%21 = call i64 @FUNC(i64 %1)
%22 = add nsw i32 %sv_0.03.reload, -1
%23 = icmp sgt i32 %22, %.pre
store i32 %22, i32* %sv_0.03.reg2mem
store i32 %.pre, i32* %sv_0.0.lcssa.reg2mem
br i1 %23, label LBL_3, label LBL_4
LBL_4:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
br i1 %6, label LBL_6, label LBL_5
LBL_5:
%24 = add i32 %.pre, -1
%25 = sub i32 %24, %sv_0.0.lcssa.reload
%26 = xor i32 %sv_0.0.lcssa.reload, %24
%27 = xor i32 %25, %24
%28 = and i32 %27, %26
%29 = icmp slt i32 %28, 0
%30 = icmp eq i32 %25, 0
%31 = icmp slt i32 %25, 0
%32 = icmp ne i1 %31, %29
%33 = or i1 %30, %32
%34 = select i1 %33, i32 %24, i32 %sv_0.0.lcssa.reload
%35 = sext i32 %34 to i64
%36 = add i64 %35, %0
%37 = inttoptr i64 %36 to i8*
store i8 0, i8* %37, align 1
br label LBL_6
LBL_6:
%38 = icmp eq i32 %sv_0.0.lcssa.reload, %.pre
%39 = icmp eq i1 %38, false
%. = select i1 %39, i64 0, i64 4294967295
ret i64 %.
uselistorder i32 %25, { 1, 2, 0 }
uselistorder i32 %24, { 3, 0, 1, 2 }
uselistorder i32 %sv_0.0.lcssa.reload, { 2, 0, 3, 1 }
uselistorder i32 %7, { 1, 2, 0 }
uselistorder i32 %.pre, { 3, 4, 0, 5, 6, 8, 1, 7, 2 }
uselistorder i32 %4, { 0, 1, 2, 4, 3, 5 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0, 7 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
test_acpi_q35_tcg_cphp_2549
|
test_acpi_q35_tcg_cphp
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%0 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)
store i64 1, i64* %sv_0, align 8
%1 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)
%2 = call i64 @FUNC(i64* nonnull %sv_0)
ret i64 %2
uselistorder i64* %sv_0, { 0, 1, 3, 2 }
uselistorder i32 1, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
ipv6_hop_jumbo_13055
|
ipv6_hop_jumbo
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = call i64 @FUNC(i64 %0)
%3 = add nsw i64 %1, 1
%4 = add i64 %3, %2
%5 = inttoptr i64 %4 to i8*
%6 = load i8, i8* %5, align 1
%7 = icmp eq i8 %6, 4
%8 = urem i64 %arg2, 4
%9 = icmp eq i64 %8, 2
%or.cond = icmp eq i1 %9, %7
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%10 = zext i8 %6 to i64
%11 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_0, i64 0, i64 0), i64 %10)
%12 = add i64 %0, 16
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = call i64 @FUNC(i64 %15, i64 1)
br label LBL_9
LBL_2:
%17 = add nsw i64 %1, 2
%18 = add i64 %2, %17
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = call i32 @ntohl(i32 %20)
%22 = icmp ult i32 %21, 65536
br i1 %22, label LBL_3, label LBL_4
LBL_3:
%23 = add i64 %0, 16
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = call i64 @FUNC(i64 %25)
%27 = call i64 @FUNC(i64 %26, i64 1)
%28 = and i64 %17, 4294967295
%29 = call i64 @FUNC(i64 %0, i64 3, i64 %28)
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_4:
%30 = call i64 @FUNC(i64 %0)
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label LBL_6, label LBL_5
LBL_5:
%34 = add i64 %0, 16
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = call i64 @FUNC(i64 %37, i64 1)
%39 = and i64 %1, 4294967295
%40 = call i64 @FUNC(i64 %0, i64 3, i64 %39)
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_6:
%41 = zext i32 %21 to i64
%42 = add i64 %0, 8
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = sext i32 %44 to i64
%46 = add nsw i64 %45, -4
%47 = icmp ult i64 %46, %41
br i1 %47, label LBL_7, label LBL_8
LBL_7:
%48 = add i64 %0, 16
%49 = inttoptr i64 %48 to i64*
%50 = load i64, i64* %49, align 8
%51 = call i64 @FUNC(i64 %50)
%52 = call i64 @FUNC(i64 %51, i64 2)
br label LBL_9
LBL_8:
%53 = add i32 %21, 4
%54 = zext i32 %53 to i64
%55 = call i64 @FUNC(i64 %0, i64 %54)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
%58 = icmp eq i1 %57, false
store i64 1, i64* %rax.0.reg2mem
br i1 %58, label LBL_9, label LBL_10
LBL_9:
%59 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %21, { 1, 0, 2 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 %0, { 8, 4, 3, 2, 0, 1, 7, 5, 6, 9, 10 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 (i64, i64, i64)* @icmpv6_param_prob, { 1, 0 }
uselistorder i64 (i64, i64)* @IP6_INC_STATS_BH, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @ip6_dst_idev, { 3, 2, 1, 0 }
uselistorder i64 2, { 1, 2, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_10, { 1, 0, 2, 3 }
}
|
1
|
CompRealVul
|
msf2_dma_tx_5763
|
msf2_dma_tx
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rax.0.reg2mem = alloca i64
%.pre-phi5.reg2mem = alloca i32*
%.reg2mem8 = alloca i64
%.reg2mem6 = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = load i32, i32* %1
%sv_0 = alloca i64, align 8
%5 = load i32, i32* %1
%sv_1 = alloca i32, align 4
%6 = add i64 %3, 24
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %2 to i32
%11 = urem i32 %10, 2
%12 = icmp eq i32 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_10, label LBL_1
LBL_1:
%13 = add i64 %3, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = sext i32 %15 to i64
%17 = bitcast i32* %sv_1 to i64*
%18 = call i64 @FUNC(i64 %3, i64* nonnull %17, i64 %16)
%19 = load i32, i32* %sv_1, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label LBL_1.LBL_9_crit_edge, label LBL_3
LBL_2:
%.pre3 = add i64 %3, 8
%.pre4 = inttoptr i64 %.pre3 to i32*
store i32* %.pre4, i32** %.pre-phi5.reg2mem
br label LBL_9
LBL_3:
%21 = bitcast i64* %rdi to i32*
%22 = add i64 %3, 16
%23 = zext i32 %5 to i64
%24 = add i64 %3, 8
%25 = inttoptr i64 %24 to i32*
%26 = sext i32 %4 to i64
store i32 %10, i32* %.reg2mem
store i32 %19, i32* %.reg2mem6
store i64 %16, i64* %.reg2mem8
br label LBL_4
LBL_4:
%.reload9 = load i64, i64* %.reg2mem8
%.reload7 = load i32, i32* %.reg2mem6
%.reload = load i32, i32* %.reg2mem
%27 = urem i32 %.reload7, -2147483648
%28 = zext i32 %27 to i64
%29 = call i64 @FUNC(i64 %22, i64 %23, i64 0, i64* nonnull %sv_0, i64 %28)
%30 = and i32 %.reload, 2
%31 = icmp eq i32 %30, 0
br i1 %31, label LBL_6, label LBL_5
LBL_5:
%32 = call i64 @FUNC(i64 %9, i64* nonnull %sv_0, i32 %27)
br label LBL_7
LBL_6:
%33 = call i64 @FUNC(i64 %9, i64* nonnull %sv_0, i32 %27)
br label LBL_7
LBL_7:
%34 = load i32, i32* %sv_1, align 4
%35 = or i32 %34, -2147483648
store i32 %35, i32* %sv_1, align 4
%36 = call i64 @FUNC(i64 %3, i64* nonnull %17, i64 %.reload9)
%37 = load i32, i32* %25, align 4
%38 = urem i32 %37, 16
%39 = add nuw nsw i32 %38, 1
%40 = and i32 %37, -16
%41 = or i32 %40, %39
%42 = or i32 %41, 4
store i32 %42, i32* %25, align 4
%43 = call i64 @FUNC(i64 %3, i64* nonnull %17, i64 %26)
%44 = load i32, i32* %sv_1, align 4
%45 = icmp slt i32 %44, 0
store i32* %25, i32** %.pre-phi5.reg2mem
br i1 %45, label LBL_9, label LBL_7.LBL_4_crit_edge
LBL_8:
%.pre = load i32, i32* %21, align 8
store i32 %.pre, i32* %.reg2mem
store i32 %44, i32* %.reg2mem6
store i64 %26, i64* %.reg2mem8
br label LBL_4
LBL_9:
%.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem
%46 = load i32, i32* %.pre-phi5.reload, align 4
%47 = or i32 %46, 8
store i32 %47, i32* %.pre-phi5.reload, align 4
%48 = add i64 %3, 12
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = and i32 %50, -17
store i32 %51, i32* %49, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %37, { 1, 0 }
uselistorder i64* %17, { 2, 1, 0 }
uselistorder i32* %sv_1, { 1, 3, 2, 0, 4 }
uselistorder i64 %3, { 0, 6, 7, 3, 4, 5, 1, 2, 8, 9 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem6, { 1, 0, 2 }
uselistorder i64* %.reg2mem8, { 1, 0, 2 }
uselistorder i32* %1, { 1, 0 }
uselistorder i32 -2147483648, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i64 (i64, i64*, i64)* @emac_load_desc, { 1, 0 }
uselistorder i32 0, { 2, 1, 0, 3, 4 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
}
|
0
|
CompRealVul
|
free_buffers_2327
|
free_buffers
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rdi.01.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
store i64 0, i64* %indvars.iv.reg2mem
store i64 %arg1, i64* %rdi.01.reg2mem
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%rdi.01.reload = load i64, i64* %rdi.01.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul nuw nsw i64 %indvars.iv.reload, 104
%2 = add i64 %1, %rdi.01.reload
%3 = inttoptr i64 %2 to i64*
%4 = call i32 @pthread_cond_destroy(i64* %3)
%5 = add nuw nsw i64 %1, 48
%6 = add i64 %5, %2
%7 = inttoptr i64 %6 to i64*
%8 = call i32 @pthread_mutex_destroy(i64* %7)
%9 = add nuw nsw i64 %1, 88
%10 = add i64 %9, %6
%11 = call i64 @FUNC(i64 %10)
%12 = add nuw nsw i64 %1, 96
%13 = add i64 %12, %10
%14 = call i64 @FUNC(i64 %13)
%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 i64 %13, i64* %rdi.01.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%15 = call i64 @FUNC(i64 %arg1)
%16 = add i64 %arg1, 8
%17 = call i64 @FUNC(i64 %16)
%18 = add i64 %arg1, 16
%19 = call i64 @FUNC(i64 %18)
%20 = add i64 %arg1, 24
%21 = call i64 @FUNC(i64 %20)
%22 = add i64 %arg1, 32
%23 = call i64 @FUNC(i64 %22)
%24 = add i64 %arg1, 40
%25 = inttoptr i64 %24 to i64*
store i64 0, i64* %25, align 8
ret i64 %arg1
uselistorder i64 %1, { 2, 1, 3, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64)* @av_freep, { 4, 3, 2, 1, 0, 6, 5 }
uselistorder i64 %arg1, { 3, 2, 1, 7, 6, 5, 4, 0, 8 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
sta_info_free_8252
|
sta_info_free
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = add i64 %arg2, 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = icmp eq i64 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %arg2)
br label LBL_2
LBL_2:
%5 = add i64 %arg2, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
store i64 0, i64* %indvars.iv.reg2mem
store i64 %7, i64* %.reg2mem
br i1 %8, label LBL_5, label LBL_3
LBL_3:
%.reload = load i64, i64* %.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%9 = mul i64 %indvars.iv.reload, 8
%10 = add i64 %9, %.reload
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%14 = load i64, i64* %6, align 8
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %14, i64* %.reg2mem
br i1 %exitcond, label LBL_4, label LBL_3
LBL_4:
%15 = call i64 @FUNC(i64 %14)
br label LBL_5
LBL_5:
%16 = add i64 %arg2, 24
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
%20 = call i64 @FUNC(i64 %arg2)
ret i64 %20
uselistorder i64 %14, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64 (i64)* @kfree, { 2, 0, 1 }
uselistorder i64 %arg2, { 2, 0, 1, 3, 4, 5 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
mp_init_size_6070
|
mp_init_size
|
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 slt i32 %0, 0
%2 = icmp eq i1 %1, false
store i64 1, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_3
LBL_1:
%3 = icmp sgt i32 %0, 1
%4 = select i1 %3, i32 %0, i32 1
%5 = call i64* @calloc(i32 %4, i32 4)
%6 = ptrtoint i64* %5 to i64
store i64 %6, i64* %arg1, align 8
%7 = icmp eq i32 %4, 0
%8 = icmp eq i1 %7, false
store i64 2, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_3
LBL_2:
%9 = ptrtoint i64* %arg1 to i64
%10 = add i64 %9, 8
%11 = inttoptr i64 %10 to i32*
store i32 0, i32* %11, align 4
%12 = add i64 %9, 12
%13 = inttoptr i64 %12 to i32*
store i32 %4, i32* %13, align 4
%14 = add i64 %9, 16
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %0, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
prologProcessor_11194
|
prologProcessor
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg4 to i64
%sv_0 = alloca i64, align 8
store i64 %arg2, i64* %sv_0, align 8
%3 = trunc i64 %1 to i32
%4 = and i64 %1, 4294967295
%5 = call i64 @FUNC(i64 %4, i64 %arg2, i64 %arg3, i64* nonnull %sv_0)
%6 = trunc i64 %5 to i32
%7 = load i64, i64* %sv_0, align 8
%8 = call i64 @FUNC(i64 %arg1, i32 %3, i64 %arg2, i64 %arg3, i32 %6, i64 %7, i64 %2)
ret i64 %8
uselistorder i64* %sv_0, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0 }
}
|
1
|
CompRealVul
|
sd_init_16306
|
sd_init
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%5 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_1 to i64*), i32 1, i32 36, %_IO_FILE* %4)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_2:
%6 = call i64 @FUNC(i64 24)
%7 = call i64 @FUNC(i64 %0, i64 512)
%8 = inttoptr i64 %6 to i64*
store i64 %7, i64* %8, align 8
%9 = trunc i64 %arg2 to i8
%10 = add i64 %6, 8
%11 = inttoptr i64 %10 to i8*
store i8 %9, i8* %11, align 1
%12 = add i64 %6, 9
%13 = inttoptr i64 %12 to i8*
store i8 1, i8* %13, align 1
%14 = call i64 @FUNC(i64 %6, i64 %0)
%15 = add i64 %6, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = call i64 @FUNC(i64 %17, i64 %6)
%20 = load i64, i64* %16, align 8
%21 = call i64 @FUNC(i64 %20, i64* nonnull @gv_2, i64 %6)
br label LBL_4
LBL_4:
%22 = call i64 @FUNC(i64 0, i64 4294967295, i64* nonnull @gv_3, i64 %6)
store i64 %6, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %6, { 0, 3, 1, 2, 4, 5, 6, 7, 8 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i8 0, { 1, 0 }
}
|
1
|
CompRealVul
|
st_init_16466
|
st_init
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%0 = call i32 @pthread_attr_init(i64* nonnull %sv_3)
%1 = call i32 @pthread_attr_setdetachstate(i64* nonnull %sv_3, i32 1)
%2 = bitcast i64* %sv_2 to %_TYPEDEF_sigset_t*
%3 = call i32 @sigfillset(%_TYPEDEF_sigset_t* nonnull %2)
%4 = bitcast i64* %sv_2 to %_TYPEDEF___sigset_t*
%5 = bitcast i64* %sv_1 to %_TYPEDEF___sigset_t*
%6 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %4, %_TYPEDEF___sigset_t* nonnull %5)
%7 = bitcast i64* %sv_0 to i32*
%8 = call i32 @pthread_create(i32* nonnull %7, i64* nonnull %sv_3, i64* (i64*)* inttoptr (i64 4198790 to i64* (i64*)*), i64* null)
%9 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %5, %_TYPEDEF___sigset_t* null)
%10 = icmp eq i32 %8, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%11 = ptrtoint i64* %sv_1 to i64
%12 = call i64 @FUNC(i64 4198805, i64 %11)
%13 = call i64 @FUNC(i64 %arg1)
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* %sv_1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 (i32, %_TYPEDEF___sigset_t*, %_TYPEDEF___sigset_t*)* @pthread_sigmask, { 1, 0 }
uselistorder i32 1, { 2, 6, 5, 4, 3, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
jiffies_to_timeval_12087
|
jiffies_to_timeval
|
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i128, align 8
%1 = mul i64 %arg1, 1000000
%2 = bitcast i128* %sv_0 to i64*
%3 = call i64 @FUNC(i64 %1, i64 1000000000, i64* nonnull %2)
store i64 %3, i64* %arg2, align 8
%4 = load i128, i128* %sv_0, align 8
%5 = trunc i128 %4 to i64
%6 = lshr i64 %5, 63
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
store i64 %6, i64* %8, align 8
ret i64 %0
}
|
1
|
CompRealVul
|
i915_gem_create_18039
|
i915_gem_create
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i32, align 4
%1 = call i64 @FUNC(i64 %arg3, i64 4096)
%2 = call i64 @FUNC(i64 %0, i64 %1)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_4
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = bitcast i32* %sv_0 to i64*
%7 = call i64 @FUNC(i64 %5, i64 %2, i64* nonnull %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i64 %2)
%11 = inttoptr i64 %2 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %2, i64 %12)
%14 = call i64 @FUNC(i64 %2)
%15 = and i64 %7, 4294967295
store i64 %15, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%16 = call i64 @FUNC(i64 %2)
%17 = call i64 @FUNC(i64 %2)
%18 = load i32, i32* %sv_0, align 4
%19 = bitcast i64* %arg4 to i32*
store i32 %18, i32* %19, align 4
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 %2, { 2, 1, 3, 0, 4, 5, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
verify_newpolicy_info_134
|
verify_newpolicy_info
|
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 ult i32 %2, 4
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_4
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp ult i32 %7, 2
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_4
LBL_2:
%9 = add i64 %4, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
store i64 4294967274, i64* %rax.0.reg2mem
switch i32 %11, label LBL_4 [
i32 2, label LBL_3
i32 10, label LBL_3
]
LBL_3:
%12 = add i64 %4, 12
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %15)
store i64 %16, 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, 4, 1, 2, 3 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
}
|
0
|
CompRealVul
|
dell_wmi_events_set_enabled_18050
|
dell_wmi_events_set_enabled
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%0 = trunc i64 %arg1 to i32
%1 = call i64 @FUNC(i64 40, i64 0)
%2 = inttoptr i64 %1 to i32*
store i32 1, i32* %2, align 4
%3 = add i64 %1, 4
%4 = inttoptr i64 %3 to i32*
store i32 2, i32* %4, align 4
%5 = add i64 %1, 8
%6 = inttoptr i64 %5 to i32*
store i32 65536, i32* %6, align 4
%7 = add i64 %1, 12
%8 = inttoptr i64 %7 to i32*
store i32 1364411732, i32* %8, align 4
%9 = urem i32 %0, 256
%10 = add i64 %1, 20
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = call i64 @FUNC(i64 %1)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i32 %13, i32* %sv_0.0.reg2mem
br i1 %15, label LBL_2, label LBL_1
LBL_1:
%16 = add i64 %1, 24
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
store i32 %18, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%19 = call i64 @FUNC(i64 %1)
%20 = zext i32 %sv_0.0.reload to i64
%21 = call i64 @FUNC(i64 %20)
ret i64 %21
uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7 }
uselistorder i32 1, { 1, 0 }
}
|
1
|
CompRealVul
|
qmp_query_commands_2942
|
qmp_query_commands
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%0 = load i64, i64* @gv_0, align 8
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
%3 = call i64 @FUNC(i64 %2, i64 4198681, i64* nonnull %sv_0)
%4 = load i64, i64* %sv_0, align 8
ret i64 %4
uselistorder i64* %sv_0, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
SFS_ObjectMethodCall_5968
|
SFS_ObjectMethodCall
|
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 = and i64 %1, 4294967295
%4 = icmp eq i32 %2, 0
%5 = icmp eq i1 %4, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = call i64 @FUNC(i64 %6, i64 4202512)
%9 = call i64 @FUNC(i64 %6)
%10 = call i64 @FUNC(i64 %6, i64 4202514)
%11 = call i64 @FUNC(i64 %6)
%12 = call i64 @FUNC(i64 %6, i64 4202516)
store i64 %12, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %6, { 4, 3, 2, 1, 0, 5 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 (i64, i64)* @SFS_AddString, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
gf_fs_load_filter_7814
|
gf_fs_load_filter
|
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%rdi.16.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%1 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %arg1)
%3 = icmp eq i64 %arg3, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = trunc i64 %1 to i32
%5 = icmp eq i32 %4, 1
%6 = icmp eq i1 %5, false
store i32 1, i32* %storemerge3.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
store i32 0, i32* %storemerge3.reg2mem
br label LBL_3
LBL_3:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%7 = icmp eq i64 %arg1, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_5, label LBL_4
LBL_4:
call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 94, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))
br label LBL_5
LBL_5:
%9 = icmp eq i64* %arg2, null
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_7, label LBL_6
LBL_6:
call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 95, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))
br label LBL_7
LBL_7:
br i1 %3, label LBL_9, label LBL_8
LBL_8:
%11 = inttoptr i64 %arg3 to i32*
store i32 0, i32* %11, align 4
br label LBL_9
LBL_9:
%12 = ptrtoint i64* %arg2 to i64
%13 = call i64 @FUNC(i64 %arg1, i64 %12)
%14 = icmp eq i64 %13, 0
br i1 %14, label LBL_11, label LBL_10
LBL_10:
%15 = add i64 %13, 1
%16 = sub i64 %13, %12
%17 = trunc i64 %16 to i32
store i64 %15, i64* %sv_0.0.reg2mem
store i32 %17, i32* %storemerge2.reg2mem
br label LBL_12
LBL_11:
%18 = bitcast i64* %arg2 to i8*
%19 = call i32 @strlen(i8* %18)
store i64 0, i64* %sv_0.0.reg2mem
store i32 %19, i32* %storemerge2.reg2mem
br label LBL_12
LBL_12:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%20 = icmp eq i32 %storemerge2.reload, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_15, label LBL_13
LBL_13:
%22 = icmp eq i32 %storemerge3.reload, 0
%23 = icmp eq i1 %22, false
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_48, label LBL_14
LBL_14:
%24 = call i64 @FUNC(i64 0, i64 2, i64 %12)
store i64 0, i64* %rax.0.reg2mem
br label LBL_48
LBL_15:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%25 = bitcast i64* %arg2 to i8*
%26 = call i32 @strncmp(i8* %25, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i32 %storemerge2.reload)
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_16, label LBL_18
LBL_16:
%29 = trunc i64 %2 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_31, label LBL_17
LBL_17:
%31 = zext i32 %storemerge2.reload to i64
%32 = and i64 %2, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
store i64 %12, i64* %rdi.16.reg2mem
br label LBL_19
LBL_18:
%33 = call i64 @FUNC(i64 %arg1, i64 %sv_0.0.reload)
store i64 %33, i64* %rax.0.reg2mem
br label LBL_48
LBL_19:
%rdi.16.reload = load i64, i64* %rdi.16.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%34 = call i64 @FUNC(i64 %rdi.16.reload, i64 %indvars.iv.reload)
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = inttoptr i64 %36 to i8*
%38 = call i32 @strlen(i8* %37)
%39 = sext i32 %38 to i64
%40 = icmp eq i64 %39, %31
%41 = icmp eq i1 %40, false
store i64 %36, i64* %rdi.0.reg2mem
br i1 %41, label LBL_30, label LBL_20
LBL_20:
%42 = load i64, i64* %35, align 8
%43 = inttoptr i64 %42 to i8*
%44 = call i32 @strncmp(i8* %43, i8* %25, i32 %storemerge2.reload)
%45 = icmp eq i32 %44, 0
%46 = icmp eq i1 %45, false
store i64 %42, i64* %rdi.0.reg2mem
br i1 %46, label LBL_30, label LBL_21
LBL_21:
%47 = add i64 %34, 8
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = urem i32 %49, 2
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_25, label LBL_22
LBL_22:
%52 = add i64 %arg1, 12
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = icmp eq i32 %54, 0
%56 = icmp eq i1 %55, false
br i1 %56, label LBL_25, label LBL_23
LBL_23:
%57 = call i64 @FUNC(i64 0, i64 2, i64 %12)
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_48, label LBL_24
LBL_24:
%58 = inttoptr i64 %arg3 to i32*
store i32 2, i32* %58, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_48
LBL_25:
%59 = and i32 %49, 2
%60 = icmp ne i32 %59, 0
%spec.select = zext i1 %60 to i64
%61 = call i64 @FUNC(i64 %arg1, i64 %34, i64 %sv_0.0.reload, i64 0, i64 %spec.select, i64 %arg3)
%62 = icmp eq i64 %61, 0
%63 = icmp eq i1 %62, false
store i64 0, i64* %rax.0.reg2mem
br i1 %63, label LBL_26, label LBL_48
LBL_26:
%64 = inttoptr i64 %61 to i32*
%65 = load i32, i32* %64, align 4
%66 = icmp eq i32 %65, 0
%67 = icmp eq i1 %66, false
store i64 %61, i64* %rax.0.reg2mem
br i1 %67, label LBL_48, label LBL_27
LBL_27:
%68 = call i8* @strstr(i8* %25, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0))
%69 = icmp eq i8* %68, null
store i64 %61, i64* %rax.0.reg2mem
br i1 %69, label LBL_48, label LBL_28
LBL_28:
%70 = ptrtoint i8* %68 to i64
%71 = add i64 %70, 3
%72 = inttoptr i64 %71 to i8*
%73 = load i8, i8* %72, align 1
%74 = add i64 %arg1, 8
%75 = inttoptr i64 %74 to i8*
%76 = load i8, i8* %75, align 1
%77 = icmp eq i8 %73, %76
%78 = icmp eq i1 %77, false
store i64 %61, i64* %rax.0.reg2mem
br i1 %78, label LBL_48, label LBL_29
LBL_29:
%79 = call i64 @FUNC(i64 %61)
store i64 %61, i64* %rax.0.reg2mem
br label LBL_48
LBL_30:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%80 = icmp ult i64 %indvars.iv.next, %32
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %rdi.0.reload, i64* %rdi.16.reg2mem
br i1 %80, label LBL_19, label LBL_31
LBL_31:
%81 = call i64 @FUNC(i64 %12)
%82 = icmp ugt i64 %81, %13
%sv_4.0 = select i1 %82, i64 0, i64 %81
%83 = icmp eq i64 %sv_4.0, 0
br i1 %83, label LBL_35, label LBL_32
LBL_32:
%84 = call i8* @strstr(i8* %25, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))
%85 = icmp eq i8* %84, null
%86 = icmp eq i1 %85, false
br i1 %86, label LBL_35, label LBL_33
LBL_33:
%87 = call i8* @strstr(i8* %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0))
%88 = icmp eq i8* %87, null
%89 = icmp eq i1 %88, false
br i1 %89, label LBL_35, label LBL_34
LBL_34:
%90 = call i8* @strstr(i8* %25, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0))
%91 = icmp eq i8* %90, null
br i1 %91, label LBL_44, label LBL_35
LBL_35:
%92 = icmp ult i32 %storemerge2.reload, 261
store i64 0, i64* %rax.0.reg2mem
br i1 %92, label LBL_36, label LBL_48
LBL_36:
%93 = ptrtoint i64* %sv_3 to i64
%94 = bitcast i64* %sv_2 to i8*
%95 = call i8* @strncpy(i8* nonnull %94, i8* %25, i32 %storemerge2.reload)
%96 = zext i32 %storemerge2.reload to i64
%97 = add i64 %93, -352
%98 = add i64 %97, %96
%99 = inttoptr i64 %98 to i8*
store i8 0, i8* %99, align 1
%100 = ptrtoint i64* %sv_2 to i64
%101 = call i64 @FUNC(i64 1, i64 2, i64 %100)
%102 = call i64 @FUNC(i64* nonnull %sv_2)
%103 = trunc i64 %102 to i32
%104 = icmp eq i32 %103, 0
%105 = bitcast i64* %sv_1 to i8*
br i1 %104, label LBL_37, label LBL_41
LBL_37:
%106 = call i8* @strcpy(i8* nonnull %105, i8* nonnull %94)
%107 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %sv_4.0)
%108 = trunc i64 %107 to i32
%109 = icmp eq i32 %108, 0
%110 = icmp eq i1 %83, %109
br i1 %110, label LBL_38, label LBL_40
LBL_38:
%111 = call i32 @strlen(i8* nonnull %105)
%112 = sext i32 %111 to i64
%113 = ptrtoint i64* %sv_1 to i64
%114 = add i64 %112, %113
%115 = inttoptr i64 %114 to i32*
store i32 7563822, i32* %115, align 4
%116 = call i64 @FUNC(i64* nonnull %sv_1)
%117 = trunc i64 %116 to i32
%118 = icmp eq i32 %117, 0
br i1 %118, label LBL_40, label LBL_39
LBL_39:
%119 = call i8* @strncpy(i8* nonnull %94, i8* %25, i32 %storemerge2.reload)
store i8 0, i8* %99, align 1
%120 = call i32 @strlen(i8* nonnull %94)
%121 = sext i32 %120 to i64
%122 = add i64 %121, %100
%123 = inttoptr i64 %122 to i32*
store i32 7563822, i32* %123, align 4
br label LBL_41
LBL_40:
br i1 %109, label LBL_44, label LBL_41
LBL_41:
%124 = add i64 %arg1, 8
%125 = inttoptr i64 %124 to i8*
%126 = load i8, i8* %125, align 1
%127 = add i64 %arg1, 9
%128 = inttoptr i64 %127 to i8*
%129 = load i8, i8* %128, align 1
%130 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %105, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i8 %129, i8 %126)
%131 = call i8* @strcat(i8* nonnull %105, i8* nonnull %94)
%132 = add i64 %96, %12
%133 = inttoptr i64 %132 to i8*
%134 = load i8, i8* %133, align 1
%135 = icmp eq i8 %134, 0
br i1 %135, label LBL_43, label LBL_42
LBL_42:
%136 = call i8* @strcat(i8* nonnull %105, i8* %133)
br label LBL_43
LBL_43:
%137 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_1, i64 %arg3)
store i64 %137, i64* %rax.0.reg2mem
br label LBL_48
LBL_44:
%138 = icmp eq i32 %storemerge3.reload, 0
%139 = icmp eq i1 %138, false
br i1 %139, label LBL_46, label LBL_45
LBL_45:
%140 = call i64 @FUNC(i64 0, i64 2, i64 %12)
br label LBL_46
LBL_46:
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_48, label LBL_47
LBL_47:
%141 = inttoptr i64 %arg3 to i32*
store i32 3, i32* %141, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_48
LBL_48:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i1 %109, { 1, 0 }
uselistorder i64 %sv_4.0, { 1, 0 }
uselistorder i8* %68, { 1, 0 }
uselistorder i64 %61, { 3, 4, 2, 1, 0, 5, 6 }
uselistorder i32 %49, { 1, 0 }
uselistorder i8* %25, { 3, 4, 0, 1, 2, 5, 6, 7 }
uselistorder i32 %storemerge2.reload, { 7, 5, 4, 6, 2, 3, 1, 0 }
uselistorder i64 %13, { 0, 2, 1, 3 }
uselistorder i64 %12, { 4, 1, 5, 6, 0, 3, 2, 7 }
uselistorder i32 %storemerge3.reload, { 1, 0 }
uselistorder i64* %sv_2, { 0, 1, 3, 2 }
uselistorder i64* %sv_1, { 0, 1, 4, 2, 3 }
uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.16.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 14, 3, 7, 6, 5, 4, 8, 10, 9, 13, 12, 11 }
uselistorder i8* (i8*, i8*)* @strcat, { 1, 0 }
uselistorder i64 (i64*)* @gf_file_exists, { 1, 0 }
uselistorder i8* null, { 1, 2, 3, 0 }
uselistorder i8* (i8*, i8*)* @strstr, { 2, 0, 1, 3 }
uselistorder i32 2, { 1, 2, 0 }
uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @GF_LOG, { 3, 2, 1, 0 }
uselistorder i32 (i8*)* @strlen, { 2, 0, 1, 3 }
uselistorder i64 1, { 1, 0, 2 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 11, 12, 13, 14, 0 }
uselistorder i64 %arg3, { 1, 0, 3, 2, 4, 5 }
uselistorder i64* %arg2, { 1, 0, 3, 2 }
uselistorder i64 %arg1, { 1, 3, 2, 5, 6, 4, 0, 7, 8, 9 }
uselistorder label LBL_48, { 1, 0, 12, 2, 6, 5, 4, 3, 7, 9, 8, 13, 11, 10 }
uselistorder label LBL_41, { 2, 1, 0 }
uselistorder label LBL_40, { 1, 0 }
uselistorder label LBL_19, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
avfilter_graph_add_filter_1356
|
avfilter_graph_add_filter
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = mul i64 %1, 4294967296
%sext = add i64 %3, 4294967296
%4 = ashr exact i64 %sext, 29
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7, i64 %4)
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_1:
%11 = bitcast i64* %rdi to i32*
%12 = ptrtoint i64* %arg2 to i64
store i64 %8, i64* %6, align 8
%13 = load i32, i32* %11, align 8
%14 = add i32 %13, 1
%15 = bitcast i64* %arg1 to i32*
store i32 %14, i32* %15, align 4
%16 = sext i32 %13 to i64
%17 = mul i64 %16, 8
%18 = add i64 %17, %8
%19 = inttoptr i64 %18 to i64*
store i64 %12, i64* %19, 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 i64 4294967296, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
qmp_blockdev_add_16667
|
qmp_blockdev_add
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
store i64 %3, i64* %sv_1, align 8
%4 = call i64 @FUNC()
store i64 0, i64* %sv_0, align 8
%5 = trunc i64 %1 to i8
%6 = icmp eq i8 %5, 1
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))
br label LBL_12
LBL_2:
%8 = add i64 %3, 1
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = icmp eq i8 %10, 0
br i1 %11, label LBL_8, label LBL_3
LBL_3:
%12 = add i64 %3, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 1
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_8, label LBL_4
LBL_4:
%17 = add i64 %3, 8
%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 = icmp eq i8 %21, 0
br i1 %22, label LBL_6, label LBL_5
LBL_5:
%23 = add i64 %19, 1
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp eq i8 %25, 0
br i1 %26, label LBL_6, label LBL_8
LBL_6:
%27 = add i64 %3, 16
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = icmp eq i8 %29, 1
br i1 %30, label LBL_8, label LBL_7
LBL_7:
%31 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0))
br label LBL_12
LBL_8:
%32 = call i64 @FUNC(i64 %4)
%33 = call i64 @FUNC(i64 %32, i64* nonnull %sv_1, i64 0, i64* nonnull %sv_0)
%34 = load i64, i64* %sv_0, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label LBL_10, label LBL_9
LBL_9:
%36 = call i64 @FUNC(i64 %2, i64 %34)
br label LBL_12
LBL_10:
%37 = call i64 @FUNC(i64 %4)
%38 = call i64 @FUNC(i64 %37)
%39 = call i64 @FUNC(i64 %38)
%40 = call i64 @FUNC(i64 0, i64 %38, i64* nonnull %sv_0)
%41 = load i64, i64* %sv_0, align 8
%42 = icmp eq i64 %41, 0
br i1 %42, label LBL_12, label LBL_11
LBL_11:
%43 = call i64 @FUNC(i64 %2, i64 %41)
br label LBL_12
LBL_12:
%44 = call i64 @FUNC(i64 %4)
ret i64 %44
uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 }
uselistorder i64 %3, { 0, 3, 2, 1, 4 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }
uselistorder i64 (i64, i8*)* @error_setg, { 1, 0 }
uselistorder label LBL_12, { 1, 0, 2, 3, 4 }
uselistorder label LBL_8, { 1, 0, 2, 3 }
uselistorder label LBL_6, { 1, 0 }
}
|
1
|
CompRealVul
|
virtio_blk_data_plane_stop_16833
|
virtio_blk_data_plane_stop
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i8
%3 = xor i8 %2, 1
%4 = zext i8 %3 to i64
%5 = icmp eq i8 %3, 0
%6 = icmp eq i1 %5, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%8 = bitcast i64* %arg1 to i8*
store i8 0, i8* %8, align 1
%9 = call i64 @FUNC(i64 %7)
%10 = add i64 %7, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i64 %12)
store i64 0, i64* %11, align 8
%.pre = add i64 %7, 24
store i64 %.pre, i64* %.pre-phi.reg2mem
br label LBL_4
LBL_3:
%15 = add i64 %7, 24
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %7, 16
%18 = call i64 @FUNC(i64 %17)
store i64 %15, i64* %.pre-phi.reg2mem
br label LBL_4
LBL_4:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%19 = add i64 %7, 32
%20 = call i64 @FUNC(i64 %19)
%21 = call i64 @FUNC(i64 %.pre-phi.reload)
%22 = add i64 %7, 48
%23 = call i64 @FUNC(i64 %22)
store i64 %23, 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 %7, { 2, 1, 4, 3, 0, 6, 5 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }
uselistorder i64 24, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
r_bin_wasm_get_global_entries_11678
|
r_bin_wasm_get_global_entries
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge9.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = trunc i64 %1 to i32
%7 = add i32 %6, 32
%8 = icmp ugt i32 %7, %5
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_11, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 4198448)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 0, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_11
LBL_2:
%12 = ptrtoint i64* %arg2 to i64
%13 = add i64 %12, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = add i64 %12, 8
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
store i32 0, i32* %sv_0, align 4
%19 = icmp ne i32 %15, 0
%20 = icmp ult i32 %15, %5
%or.cond5.not7 = icmp eq i1 %20, %19
%21 = icmp ne i32 %18, 0
%or.cond68 = icmp eq i1 %21, %or.cond5.not7
store i64 %9, i64* %rax.0.reg2mem
br i1 %or.cond68, label LBL_3, label LBL_11
LBL_3:
%22 = and i64 %1, 4294967295
%23 = add nuw nsw i64 %22, 4198448
%24 = add i32 %15, 8
%25 = icmp ugt i32 %24, %5
%26 = trunc i64 %23 to i32
%27 = add i32 %15, %26
%28 = zext i32 %27 to i64
store i32 0, i32* %storemerge9.reg2mem
br label LBL_4
LBL_4:
%29 = call i64* @calloc(i32 1, i32 2)
%30 = icmp eq i64* %29, null
%31 = icmp eq i1 %30, false
store i64 %9, i64* %rax.0.reg2mem
br i1 %31, label LBL_5, label LBL_11
LBL_5:
br i1 %25, label LBL_10, label LBL_6
LBL_6:
%32 = ptrtoint i64* %29 to i64
%33 = load i32, i32* %sv_0, align 4
%34 = zext i32 %33 to i64
%35 = add nuw nsw i64 %23, %34
%36 = call i64 @FUNC(i64 %35, i64 %28, i64 %32, i32* nonnull %sv_0)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_10, label LBL_7
LBL_7:
%39 = add i64 %32, 1
%40 = load i32, i32* %sv_0, align 4
%41 = zext i32 %40 to i64
%42 = add nuw nsw i64 %23, %41
%43 = call i64 @FUNC(i64 %42, i64 %28, i64 %39, i32* nonnull %sv_0)
%44 = trunc i64 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label LBL_10, label LBL_8
LBL_8:
%46 = load i32, i32* %sv_0, align 4
%47 = zext i32 %46 to i64
%48 = add nuw nsw i64 %23, %47
%49 = call i64 @FUNC(i64 %48, i64 %28, i64 0, i64 0, i32* nonnull %sv_0)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_10, label LBL_9
LBL_9:
%storemerge9.reload = load i32, i32* %storemerge9.reg2mem
%52 = call i64 @FUNC(i64 %9, i64 %32)
%53 = add nuw i32 %storemerge9.reload, 1
%54 = load i32, i32* %sv_0, align 4
%55 = icmp ugt i32 %15, %54
%56 = icmp ult i32 %53, %18
%or.cond6 = icmp eq i1 %56, %55
store i32 %53, i32* %storemerge9.reg2mem
store i64 %9, i64* %rax.0.reg2mem
br i1 %or.cond6, label LBL_4, label LBL_11
LBL_10:
call void @free(i64* %29)
store i64 %9, 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* %29, { 0, 2, 1 }
uselistorder i32 %18, { 1, 0 }
uselistorder i32 %15, { 4, 0, 3, 2, 1 }
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %9, { 3, 1, 4, 0, 2, 5 }
uselistorder i32 %5, { 1, 0, 2 }
uselistorder i32* %sv_0, { 3, 0, 4, 1, 5, 2, 6, 7 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 3, 4, 5 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder i64 (i64, i64, i64, i32*)* @consume_u8, { 1, 0 }
uselistorder i32 0, { 4, 5, 6, 0, 1, 2, 3 }
uselistorder label LBL_11, { 5, 1, 0, 2, 3, 4 }
uselistorder label LBL_4, { 1, 0 }
}
|
1
|
CompRealVul
|
host_x86_cpu_class_init_1417
|
host_x86_cpu_class_init
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%sv_2 = alloca i32, align 4
%sv_3 = alloca i32, align 4
store i32 0, i32* %sv_3, align 4
store i32 0, i32* %sv_2, align 4
store i32 0, i32* %sv_1, align 4
store i32 0, i32* %sv_0, align 4
%1 = bitcast i64* %arg1 to i8*
store i8 1, i8* %1, align 1
%2 = call i64 @FUNC(i64 0, i64 0, i32* nonnull %sv_3, i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0)
%3 = load i32, i32* %sv_1, align 4
%4 = load i32, i32* %sv_0, align 4
%5 = load i32, i32* %sv_2, align 4
%6 = zext i32 %5 to i64
%7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %6, i32 %4, i32 %3)
%8 = call i64 @FUNC(i64 1, i64 0, i32* nonnull %sv_3, i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0)
%9 = load i32, i32* %sv_3, align 4
%10 = udiv i32 %9, 256
%11 = urem i32 %10, 16
%12 = udiv i32 %9, 1048576
%13 = urem i32 %12, 256
%14 = add nuw nsw i32 %13, %11
store i32 %14, i32* bitcast (i64* @gv_1 to i32*), align 8
%15 = udiv i32 %9, 16
%16 = urem i32 %15, 16
%17 = udiv i32 %9, 4096
%18 = and i32 %17, 240
%19 = or i32 %18, %16
store i32 %19, i32* bitcast (i64* @gv_2 to i32*), align 8
%20 = urem i32 %9, 16
store i32 %20, i32* bitcast (i64* @gv_3 to i32*), align 8
%21 = call i64 @FUNC(i64* nonnull @gv_4)
%22 = add i64 %0, 8
%23 = inttoptr i64 %22 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %23, align 8
store i8 1, i8* bitcast (i64* @gv_5 to i8*), align 8
%24 = load i64, i64* @gv_6, align 8
store i64 %24, i64* %arg1, align 8
%25 = inttoptr i64 %22 to i8*
store i8 1, i8* %25, align 1
ret i64 %0
uselistorder i32 %9, { 4, 0, 1, 2, 3 }
uselistorder i32* %sv_3, { 2, 0, 1, 3 }
uselistorder i32* %sv_2, { 0, 2, 1, 3 }
uselistorder i32* %sv_1, { 0, 2, 1, 3 }
uselistorder i32* %sv_0, { 0, 2, 1, 3 }
uselistorder i32 16, { 1, 2, 0, 3 }
uselistorder i32 256, { 1, 0 }
uselistorder i64* @gv_0, { 1, 0 }
uselistorder i64 (i64, i64, i32*, i32*, i32*, i32*)* @host_cpuid, { 1, 0 }
}
|
0
|
CompRealVul
|
iwbmp_read_info_header_12689
|
iwbmp_read_info_header
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 4)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_17, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64* nonnull %sv_1)
%5 = trunc i64 %4 to i32
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
store i32 %5, i32* %7, align 4
%8 = and i64 %4, 4294967295
%9 = icmp ult i64 %8, 124
%spec.select = select i1 %9, i64 %8, i64 124
%10 = add nsw i64 %spec.select, -4
%11 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_17, label LBL_2
LBL_2:
%14 = load i32, i32* %7, align 4
%15 = icmp eq i32 %14, 12
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = add i64 %0, 12
%18 = inttoptr i64 %17 to i32*
store i32 2, i32* %18, align 4
%19 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_16, label LBL_17
LBL_4:
switch i32 %14, label LBL_5 [
i32 16, label LBL_6
i32 40, label LBL_6
]
LBL_5:
%23 = icmp eq i32 %14, 64
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_7, label LBL_6
LBL_6:
%25 = add i64 %0, 12
%26 = inttoptr i64 %25 to i32*
store i32 3, i32* %26, align 4
%27 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%28 = trunc i64 %27 to i32
%29 = icmp eq i32 %28, 0
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_16, label LBL_17
LBL_7:
switch i32 %14, label LBL_8 [
i32 108, label LBL_9
i32 52, label LBL_9
]
LBL_8:
%31 = icmp eq i32 %14, 56
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_11, label LBL_9
LBL_9:
%33 = add i64 %0, 12
%34 = inttoptr i64 %33 to i32*
store i32 4, i32* %34, align 4
%35 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label LBL_17, label LBL_10
LBL_10:
%38 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%39 = trunc i64 %38 to i32
%40 = icmp eq i32 %39, 0
%41 = icmp eq i1 %40, false
br i1 %41, label LBL_16, label LBL_17
LBL_11:
%42 = icmp eq i32 %14, 124
%43 = icmp eq i1 %42, false
br i1 %43, label LBL_15, label LBL_12
LBL_12:
%44 = add i64 %0, 12
%45 = inttoptr i64 %44 to i32*
store i32 5, i32* %45, align 4
%46 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label LBL_17, label LBL_13
LBL_13:
%49 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_17, label LBL_14
LBL_14:
%52 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
%53 = trunc i64 %52 to i32
%54 = icmp eq i32 %53, 0
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_16, label LBL_17
LBL_15:
%56 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))
br label LBL_17
LBL_16:
%57 = add i64 %0, 20
%58 = inttoptr i64 %57 to i32*
%59 = load i32, i32* %58, align 4
%60 = add i64 %0, 16
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = zext i32 %62 to i64
%64 = call i64 @FUNC(i64 %0, i64 %63, i32 %59)
%65 = trunc i64 %64 to i32
%66 = icmp ne i32 %65, 0
%spec.select1 = zext i1 %66 to i64
ret i64 %spec.select1
LBL_17:
ret i64 0
uselistorder i32 %14, { 2, 3, 0, 4, 1, 5 }
uselistorder i64 %8, { 1, 0 }
uselistorder i64 %0, { 0, 10, 9, 5, 2, 3, 4, 14, 6, 7, 8, 11, 12, 1, 13, 15, 16, 17 }
uselistorder i64 (i64, i64*)* @decode_v4_header_fields, { 1, 0 }
uselistorder i64 (i64, i64*)* @decode_v3_header_fields, { 2, 1, 0 }
uselistorder i64 (i64, i64*, i64)* @iwbmp_read, { 1, 0 }
uselistorder label LBL_17, { 9, 5, 0, 1, 6, 2, 7, 8, 3, 4 }
uselistorder label LBL_9, { 2, 0, 1 }
uselistorder label LBL_6, { 2, 0, 1 }
}
|
1
|
CompRealVul
|
write_pipe_9681
|
write_pipe
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rdi = alloca i64, align 8
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = bitcast i64* %rdi to i32*
%6 = and i64 %3, 4294967295
%7 = call i64 @FUNC(i64 %4, i64 2, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %2, i64 %1)
%8 = add i64 %4, 4
%9 = inttoptr i64 %8 to i32*
store i32 1, i32* %9, align 4
%10 = load i32, i32* %5, align 8
%11 = zext i32 %10 to i64
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %4, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 %15)
%17 = and i64 %16, 4294967295
%18 = call i64 @FUNC(i64 %17, i64 0, i64 4198797, i64 %4)
%19 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
ret i64 %19
uselistorder i64 %4, { 2, 0, 1, 3, 4, 5 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @cupsdLogClient, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
}
|
0
|
CompRealVul
|
ff_thread_release_buffer_16892
|
ff_thread_release_buffer
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = urem i64 %3, 2
%11 = icmp eq i64 %10, 0
store i32 1, i32* %storemerge.reg2mem
br i1 %11, label LBL_5, label LBL_1
LBL_1:
%12 = add i64 %4, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i32 1, i32* %storemerge.reg2mem
br i1 %16, label LBL_5, label LBL_2
LBL_2:
%17 = add i64 %4, 24
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_4, label LBL_3
LBL_3:
%22 = add i64 %4, 32
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = load i64, i64* @gv_0, align 8
%26 = icmp eq i64 %24, %25
%27 = icmp eq i1 %26, false
store i32 1, i32* %storemerge.reg2mem
br i1 %27, label LBL_4, label LBL_5
LBL_4:
store i32 0, i32* %storemerge.reg2mem
br label LBL_5
LBL_5:
%28 = ptrtoint i64* %arg2 to i64
%29 = icmp eq i64* %arg2, null
store i64 %28, i64* %rax.0.reg2mem
br i1 %29, label LBL_14, label LBL_6
LBL_6:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%30 = add i64 %4, 8
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = urem i32 %32, 2
%34 = icmp eq i32 %33, 0
store i64 %28, i64* %rsi.0.reg2mem
br i1 %34, label LBL_8, label LBL_7
LBL_7:
%35 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %2, i64 %1)
store i64 1, i64* %rsi.0.reg2mem
br label LBL_8
LBL_8:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%36 = add i64 %28, 8
%37 = call i64 @FUNC(i64 %36)
%38 = add i64 %28, 16
%39 = inttoptr i64 %38 to i64*
store i64 0, i64* %39, align 8
%40 = icmp eq i32 %storemerge.reload, 0
br i1 %40, label LBL_10, label LBL_9
LBL_9:
%41 = call i64 @FUNC(i64 %rsi.0.reload)
store i64 %41, i64* %rax.0.reg2mem
br label LBL_14
LBL_10:
%42 = inttoptr i64 %9 to i32*
%43 = add i64 %9, 24
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = inttoptr i64 %45 to i64*
%47 = call i32 @pthread_mutex_lock(i64* %46)
%48 = load i32, i32* %42, align 4
%49 = add i32 %48, 1
%50 = icmp ult i32 %49, 268435455
br i1 %50, label LBL_11, label LBL_13
LBL_11:
%51 = sext i32 %49 to i64
%52 = mul i64 %51, 8
%53 = add i64 %9, 16
%54 = add i64 %9, 8
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = call i64 @FUNC(i64 %56, i64 %53, i64 %52)
%58 = icmp eq i64 %57, 0
br i1 %58, label LBL_13, label LBL_12
LBL_12:
store i64 %57, i64* %55, align 8
%59 = load i32, i32* %42, align 4
%60 = sext i32 %59 to i64
%61 = mul i64 %60, 8
%62 = add i64 %61, %57
%63 = call i64 @FUNC(i64 %62, i64 %53)
%64 = load i32, i32* %42, align 4
%65 = add i32 %64, 1
store i32 %65, i32* %42, align 4
br label LBL_13
LBL_13:
%66 = call i32 @pthread_mutex_unlock(i64* %46)
%67 = sext i32 %66 to i64
store i64 %67, i64* %rax.0.reg2mem
br label LBL_14
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %42, { 1, 0, 2, 3 }
uselistorder i64 %28, { 4, 3, 2, 1, 0 }
uselistorder i64 %4, { 4, 3, 2, 1, 0, 5 }
uselistorder i32* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 8, { 0, 2, 1, 3, 4 }
uselistorder i32 0, { 1, 2, 0, 3 }
uselistorder label LBL_14, { 1, 2, 0 }
uselistorder label LBL_13, { 2, 0, 1 }
uselistorder label LBL_5, { 3, 2, 1, 0 }
}
|
1
|
CompRealVul
|
update_discovery_filter_6447
|
update_discovery_filter
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%3 = call i64 @FUNC(i64* nonnull @gv_0)
%4 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0))
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_12
LBL_2:
%9 = add i64 %2, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = urem i32 %11, 2
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_8, label LBL_3
LBL_3:
%15 = add i64 %2, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 %17, i64* %storemerge1.reg2mem
br i1 %19, label LBL_4, label LBL_8
LBL_4:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%20 = inttoptr i64 %storemerge1.reload to i64*
%21 = load i64, i64* %20, align 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = icmp eq i64 %23, 0
br i1 %24, label LBL_7, label LBL_5
LBL_5:
%25 = inttoptr i64 %23 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label LBL_7, label LBL_6
LBL_6:
%28 = call i64 @FUNC(i64 %2, i64 1)
br label LBL_8
LBL_7:
%29 = call i64 @FUNC(i64 %storemerge1.reload)
%30 = icmp eq i64 %29, 0
%31 = icmp eq i1 %30, false
store i64 %29, i64* %storemerge1.reg2mem
br i1 %31, label LBL_4, label LBL_8
LBL_8:
%32 = load i64, i64* %sv_0, align 8
%33 = add i64 %2, 8
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = call i64 @FUNC(i64 %35, i64 %32)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_11, label LBL_9
LBL_9:
%39 = add i64 %2, 24
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label LBL_11, label LBL_10
LBL_10:
%43 = call i64 @FUNC(i64* bitcast ([54 x i8]* @gv_2 to i64*))
%44 = load i64, i64* %sv_0, align 8
%45 = call i64 @FUNC(i64 %44)
store i64 0, i64* %rax.0.reg2mem
br label LBL_12
LBL_11:
%46 = load i64, i64* %34, align 8
%47 = call i64 @FUNC(i64 %46)
%48 = load i64, i64* %sv_0, align 8
store i64 %48, i64* %34, align 8
%49 = call i64 @FUNC(i64 %2, i64 0)
store i64 4294967181, 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* %34, { 1, 0, 2 }
uselistorder i64* %sv_0, { 1, 2, 3, 0 }
uselistorder i64 %2, { 2, 1, 3, 0, 5, 4, 6 }
uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64)* @g_free, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i1 false, { 1, 0, 2 }
uselistorder i32 0, { 2, 3, 1, 4, 5, 0 }
uselistorder i64 (i64*)* @DBG, { 1, 0 }
uselistorder label LBL_8, { 0, 2, 1, 3 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
shpc_interrupt_update_2693
|
shpc_interrupt_update
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.2.reg2mem = alloca i32
%storemerge4.reg2mem = alloca i32
%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 = zext i32 %3 to i64
store i32 0, i32* %storemerge4.reg2mem
br label LBL_1
LBL_1:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%5 = sext i32 %storemerge4.reload to i64
%6 = icmp slt i64 %5, %4
%7 = add i32 %storemerge4.reload, 1
store i32 %7, i32* %storemerge4.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_2:
%8 = trunc i64 %0 to i32
%9 = urem i32 %8, 2
%10 = icmp eq i32 %9, 0
store i32 0, i32* %sv_0.2.reg2mem
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = and i32 %8, 2
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
%spec.select = select i1 %13, i32 0, i32 4
store i32 %spec.select, i32* %sv_0.2.reg2mem
br label LBL_4
LBL_4:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%14 = add i64 %0, 12
%15 = inttoptr i64 %14 to i32*
store i32 %sv_0.2.reload, i32* %15, align 4
%16 = and i32 %8, 8
%17 = icmp eq i32 %16, 0
%18 = icmp ne i32 %sv_0.2.reload, 0
%not.or.cond = icmp eq i1 %17, %18
%storemerge = zext i1 %not.or.cond to i32
%19 = icmp eq i32 %sv_0.2.reload, %storemerge
br i1 %19, label LBL_6, label LBL_5
LBL_5:
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 0)
br label LBL_7
LBL_6:
%21 = zext i1 %not.or.cond to i64
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %21)
br label LBL_7
LBL_7:
store i32 %storemerge, i32* %15, align 4
ret i64 %0
uselistorder i32 %storemerge, { 1, 0 }
uselistorder i1 %not.or.cond, { 1, 0 }
uselistorder i32 %sv_0.2.reload, { 2, 1, 0 }
uselistorder i32 %8, { 2, 1, 0 }
uselistorder i32 %storemerge4.reload, { 1, 0 }
uselistorder i64 %0, { 2, 0, 1, 3 }
uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 0, { 3, 4, 2, 5, 0, 6, 1 }
}
|
0
|
CompRealVul
|
phy_detach_5270
|
phy_detach
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge1.reg2mem = alloca i32
%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 = inttoptr i64 %3 to i64*
store i64 0, i64* %4, align 8
store i64 0, i64* %2, align 8
%5 = call i64 @FUNC(i64 %0)
%6 = call i64 @FUNC(i64 %0)
store i32 0, i32* %storemerge1.reg2mem
br label LBL_1
LBL_1:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%7 = sext i32 %storemerge1.reload to i64
%8 = mul i64 %7, 8
%9 = add i64 %8, ptrtoint (i64* @gv_0 to i64)
%10 = icmp eq i64 %9, %0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %0)
br label LBL_4
LBL_3:
%13 = add nuw i32 %storemerge1.reload, 1
%14 = icmp ult i32 %13, 10
store i32 %13, i32* %storemerge1.reg2mem
br i1 %14, label LBL_1, label LBL_4
LBL_4:
%15 = add i64 %0, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %0)
%19 = inttoptr i64 %17 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %20)
ret i64 %21
uselistorder i64 %0, { 2, 1, 3, 0, 5, 4, 6 }
uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }
uselistorder i64 8, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
tcp_collapse_ofo_queue_6717
|
tcp_collapse_ofo_queue
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i32*
%.lcssa4.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_3.0.lcssa.reg2mem = alloca i32
%sv_3.06.reg2mem = alloca i32
%sv_2.07.reg2mem = alloca i32
%sv_1.08.reg2mem = alloca i32
%.reg2mem44 = alloca i64
%.reg2mem = alloca i32*
%sv_0.023.reg2mem = alloca i32
%sv_4.024.reg2mem = alloca i32*
%rdi = alloca i64, align 8
%sv_5 = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg1)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = inttoptr i64 %0 to i32*
%4 = ptrtoint i64* %sv_5 to i64
%5 = add i64 %4, -16
%6 = inttoptr i64 %5 to i64*
%7 = bitcast i64* %rdi to i32*
store i32* %3, i32** %sv_4.024.reg2mem
store i32 0, i32* %sv_0.023.reg2mem
br label LBL_3
LBL_2:
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i64*
store i64 %0, i64* %9, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_12
LBL_3:
%sv_0.023.reload = load i32, i32* %sv_0.023.reg2mem
%sv_4.024.reload = load i32*, i32** %sv_4.024.reg2mem
%10 = load i32, i32* %sv_4.024.reload, align 4
%11 = ptrtoint i32* %sv_4.024.reload to i64
%12 = add i64 %11, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %11, 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = inttoptr i64 %17 to i32*
%19 = icmp eq i64 %17, 0
store i32* %18, i32** %.reg2mem
store i64 %17, i64* %.reg2mem44
store i32 %10, i32* %sv_1.08.reg2mem
store i32 %14, i32* %sv_2.07.reg2mem
store i32 %10, i32* %sv_3.06.reg2mem
store i32 %10, i32* %sv_3.0.lcssa.reg2mem
store i32 %14, i32* %sv_2.0.lcssa.reg2mem
store i32 %10, i32* %sv_1.0.lcssa.reg2mem
store i64 0, i64* %.lcssa4.reg2mem
store i32* %18, i32** %.lcssa.reg2mem
br i1 %19, label LBL_6, label LBL_4
LBL_4:
%sv_3.06.reload = load i32, i32* %sv_3.06.reg2mem
%sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem
%sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem
%.reload45 = load i64, i64* %.reg2mem44
%.reload = load i32*, i32** %.reg2mem
%20 = load i32, i32* %.reload, align 4
%21 = sub i32 %20, %sv_2.07.reload
%22 = icmp eq i32 %21, 0
%23 = icmp slt i32 %21, 0
%24 = icmp eq i1 %23, false
%25 = icmp eq i1 %22, false
%26 = icmp eq i1 %24, %25
store i32 %sv_3.06.reload, i32* %sv_3.0.lcssa.reg2mem
store i32 %sv_2.07.reload, i32* %sv_2.0.lcssa.reg2mem
store i32 %sv_1.08.reload, i32* %sv_1.0.lcssa.reg2mem
store i64 %.reload45, i64* %.lcssa4.reg2mem
store i32* %.reload, i32** %.lcssa.reg2mem
br i1 %26, label LBL_6, label LBL_5
LBL_5:
%27 = add i64 %.reload45, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = sub i32 %29, %sv_3.06.reload
%31 = icmp slt i32 %30, 0
%32 = icmp eq i1 %31, false
store i32 %sv_3.06.reload, i32* %sv_3.0.lcssa.reg2mem
store i32 %sv_2.07.reload, i32* %sv_2.0.lcssa.reg2mem
store i32 %sv_1.08.reload, i32* %sv_1.0.lcssa.reg2mem
store i64 %.reload45, i64* %.lcssa4.reg2mem
store i32* %.reload, i32** %.lcssa.reg2mem
br i1 %32, label LBL_10, label LBL_6
LBL_6:
%.lcssa.reload = load i32*, i32** %.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem
%33 = icmp eq i32 %sv_1.0.lcssa.reload, %10
%34 = icmp eq i32 %sv_2.0.lcssa.reload, %sv_3.0.lcssa.reload
%or.cond = icmp eq i1 %34, %33
br i1 %or.cond, label LBL_8, label LBL_7
LBL_7:
%.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem
%35 = zext i32 %sv_2.0.lcssa.reload to i64
store i64 %35, i64* %6, align 8
%36 = zext i32 %sv_3.0.lcssa.reload to i64
%37 = call i64 @FUNC(i64 %arg1, i64 0, i64 %0, i64 %11, i64 %.lcssa4.reload, i64 %36)
store i32 %sv_0.023.reload, i32* %sv_0.1.reg2mem
br label LBL_9
LBL_8:
%38 = add i32 %10, %sv_0.023.reload
%39 = load i32, i32* %7, align 8
%40 = udiv i32 %39, 8
%41 = icmp ugt i32 %38, %40
store i32 %38, i32* %sv_0.1.reg2mem
br i1 %41, label LBL_11, label LBL_9
LBL_9:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%42 = icmp eq i32* %.lcssa.reload, null
%43 = icmp eq i1 %42, false
store i32* %.lcssa.reload, i32** %sv_4.024.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.023.reg2mem
br i1 %43, label LBL_3, label LBL_2
LBL_10:
%44 = add i32 %20, %sv_1.08.reload
%45 = sub i32 %20, %sv_3.06.reload
%46 = icmp slt i32 %45, 0
%47 = icmp eq i1 %46, false
%spec.select3 = select i1 %47, i32 %sv_3.06.reload, i32 %20
%48 = sub i32 %29, %sv_2.07.reload
%49 = icmp slt i32 %48, 1
%spec.select = select i1 %49, i32 %sv_2.07.reload, i32 %29
%50 = ptrtoint i32* %.reload to i64
%51 = add i64 %50, 8
%52 = inttoptr i64 %51 to i64*
%53 = load i64, i64* %52, align 8
%54 = inttoptr i64 %53 to i32*
%55 = icmp eq i64 %53, 0
store i32* %54, i32** %.reg2mem
store i64 %53, i64* %.reg2mem44
store i32 %44, i32* %sv_1.08.reg2mem
store i32 %spec.select, i32* %sv_2.07.reg2mem
store i32 %spec.select3, i32* %sv_3.06.reg2mem
store i32 %spec.select3, i32* %sv_3.0.lcssa.reg2mem
store i32 %spec.select, i32* %sv_2.0.lcssa.reg2mem
store i32 %44, i32* %sv_1.0.lcssa.reg2mem
store i64 0, i64* %.lcssa4.reg2mem
store i32* null, i32** %.lcssa.reg2mem
br i1 %55, label LBL_6, label LBL_4
LBL_11:
%56 = zext i32 %40 to i64
store i64 %56, 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 %53, { 0, 2, 1 }
uselistorder i32 %40, { 1, 0 }
uselistorder i32 %sv_3.0.lcssa.reload, { 1, 0 }
uselistorder i32 %sv_2.0.lcssa.reload, { 1, 0 }
uselistorder i32* %.lcssa.reload, { 1, 0 }
uselistorder i32 %29, { 1, 0, 2 }
uselistorder i32 %21, { 1, 0 }
uselistorder i32 %20, { 1, 2, 0, 3 }
uselistorder i32* %.reload, { 3, 0, 1, 2 }
uselistorder i64 %.reload45, { 0, 2, 1 }
uselistorder i32 %sv_1.08.reload, { 2, 0, 1 }
uselistorder i32 %sv_2.07.reload, { 2, 3, 0, 1, 4 }
uselistorder i32 %sv_3.06.reload, { 2, 3, 0, 4, 1 }
uselistorder i32 %10, { 4, 5, 0, 1, 2, 3 }
uselistorder i32 %sv_0.023.reload, { 1, 0 }
uselistorder i64 %0, { 4, 0, 2, 3, 5, 1 }
uselistorder i32** %sv_4.024.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.023.reg2mem, { 1, 0, 2 }
uselistorder i32** %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem44, { 2, 0, 1 }
uselistorder i32* %sv_1.08.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_3.06.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_3.0.lcssa.reg2mem, { 3, 0, 1, 2, 4 }
uselistorder i32* %sv_2.0.lcssa.reg2mem, { 3, 0, 1, 2, 4 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 3, 0, 1, 2, 4 }
uselistorder i64* %.lcssa4.reg2mem, { 3, 0, 1, 2, 4 }
uselistorder i32** %.lcssa.reg2mem, { 3, 0, 1, 2, 4 }
uselistorder i64 8, { 1, 0, 2 }
uselistorder i32 0, { 1, 2, 3, 4, 0 }
uselistorder i1 false, { 2, 5, 3, 4, 1, 0 }
uselistorder i32 1, { 15, 17, 16, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_6, { 0, 2, 1, 3 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
format_timespan_7830
|
format_timespan
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%sv_0.1.lcssa.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i8
%sv_0.0.reg2mem = alloca i64
%sv_2.2.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i64
%sv_4.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i64
%sv_5.1.off0.ph.reg2mem = alloca i64
%storemerge8.lcssa.reg2mem = alloca i64
%sv_6.1.lcssa.reg2mem = alloca i32
%sv_5.0.off0.lcssa.reg2mem = alloca i64
%sv_5.0.off023.reg2mem = alloca i64
%sv_6.124.reg2mem = alloca i32
%storemerge825.reg2mem = alloca i64
%sv_6.0.lcssa.reg2mem = alloca i32
%sv_6.021.reg2mem = alloca i32
%sv_3.129.reg2mem = alloca i64
%sv_2.332.reg2mem = alloca i64
%sv_0.133.reg2mem = alloca i64
%sv_1.134.reg2mem = alloca i8
%storemerge35.reg2mem = alloca i64
%sv_7 = alloca i64, align 8
store i64 %arg4, i64* %sv_7, align 8
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%2 = icmp eq i64 %arg2, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%4 = ptrtoint i64* %arg1 to i64
%5 = icmp eq i64 %arg3, 9223372036854775807
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_6, label LBL_5
LBL_5:
%7 = bitcast i64* %arg1 to i8*
%8 = trunc i64 %arg2 to i32
%9 = add i32 %8, -1
%10 = call i8* @strncpy(i8* %7, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i32 %9)
%11 = add i64 %4, %arg2
%12 = add i64 %11, -1
%13 = inttoptr i64 %12 to i8*
store i8 0, i8* %13, align 1
br label LBL_24
LBL_6:
%14 = icmp eq i64 %arg3, 0
%15 = icmp slt i64 %arg3, 0
%16 = icmp eq i1 %15, false
%17 = icmp eq i1 %14, false
%18 = icmp eq i1 %16, %17
br i1 %18, label LBL_7, label LBL_9
LBL_7:
%19 = icmp slt i64 %arg3, 1
store i64 %4, i64* %sv_0.1.lcssa.reg2mem
br i1 %19, label LBL_23, label LBL_8
LBL_8:
%20 = ptrtoint i64* %sv_7 to i64
%21 = add i64 %20, -8
%22 = inttoptr i64 %21 to i64*
%23 = add i64 %20, -16
%24 = inttoptr i64 %23 to i64*
store i64 0, i64* %storemerge35.reg2mem
store i8 0, i8* %sv_1.134.reg2mem
store i64 %4, i64* %sv_0.133.reg2mem
store i64 %arg3, i64* %sv_2.332.reg2mem
store i64 %arg2, i64* %sv_3.129.reg2mem
br label LBL_10
LBL_9:
%25 = bitcast i64* %arg1 to i8*
%26 = trunc i64 %arg2 to i32
%27 = add i32 %26, -1
%28 = call i8* @strncpy(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0), i32 %27)
%29 = add i64 %4, %arg2
%30 = add i64 %29, -1
%31 = inttoptr i64 %30 to i8*
store i8 0, i8* %31, align 1
br label LBL_24
LBL_10:
%sv_2.332.reload = load i64, i64* %sv_2.332.reg2mem
%sv_0.133.reload = load i64, i64* %sv_0.133.reg2mem
%sv_1.134.reload = load i8, i8* %sv_1.134.reg2mem
%32 = load i64, i64* %sv_7, align 8
%33 = icmp slt i64 %sv_2.332.reload, %32
%34 = icmp eq i8 %sv_1.134.reload, 0
%35 = icmp eq i1 %34, false
%or.cond18 = icmp eq i1 %35, %33
store i64 %sv_0.133.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %or.cond18, label LBL_23, label LBL_11
LBL_11:
%sv_3.129.reload = load i64, i64* %sv_3.129.reg2mem
%storemerge35.reload = load i64, i64* %storemerge35.reg2mem
%36 = mul i64 %storemerge35.reload, 16
%37 = add i64 %36, ptrtoint (i64* @gv_6 to i64)
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = icmp slt i64 %sv_2.332.reload, %39
store i64 %sv_3.129.reload, i64* %sv_3.0.reg2mem
store i64 %sv_2.332.reload, i64* %sv_2.2.reg2mem
store i64 %sv_0.133.reload, i64* %sv_0.0.reg2mem
store i8 %sv_1.134.reload, i8* %sv_1.0.reg2mem
br i1 %40, label LBL_22, label LBL_12
LBL_12:
%41 = icmp ult i64 %sv_3.129.reload, 2
store i64 %sv_0.133.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %41, label LBL_23, label LBL_13
LBL_13:
%42 = udiv i64 %sv_2.332.reload, %39
%43 = urem i64 %sv_2.332.reload, %39
%44 = icmp sgt i64 %sv_2.332.reload, 59999999
%45 = icmp slt i64 %43, 1
%or.cond20 = or i1 %44, %45
store i64 %43, i64* %sv_5.1.off0.ph.reg2mem
br i1 %or.cond20, label LBL_20, label LBL_14
LBL_14:
%46 = icmp sgt i64 %39, 1
store i32 0, i32* %sv_6.021.reg2mem
store i32 0, i32* %sv_6.0.lcssa.reg2mem
br i1 %46, label LBL_15, label LBL_16
LBL_15:
%sv_6.021.reload = load i32, i32* %sv_6.021.reg2mem
%47 = mul i32 %sv_6.021.reload, 16777216
%sext9 = add i32 %47, 16777216
%48 = ashr exact i32 %sext9, 24
store i32 %48, i32* %sv_6.021.reg2mem
store i32 %48, i32* %sv_6.0.lcssa.reg2mem
br i1 false, label LBL_15, label LBL_16
LBL_16:
%sv_6.0.lcssa.reload = load i32, i32* %sv_6.0.lcssa.reg2mem
%49 = icmp sgt i64 %32, 1
store i64 %32, i64* %storemerge825.reg2mem
store i32 %sv_6.0.lcssa.reload, i32* %sv_6.124.reg2mem
store i64 %43, i64* %sv_5.0.off023.reg2mem
store i64 %43, i64* %sv_5.0.off0.lcssa.reg2mem
store i32 %sv_6.0.lcssa.reload, i32* %sv_6.1.lcssa.reg2mem
store i64 %32, i64* %storemerge8.lcssa.reg2mem
br i1 %49, label LBL_17, label LBL_18
LBL_17:
%sv_5.0.off023.reload = load i64, i64* %sv_5.0.off023.reg2mem
%sv_6.124.reload = load i32, i32* %sv_6.124.reg2mem
%storemerge825.reload = load i64, i64* %storemerge825.reg2mem
%50 = lshr i64 %sv_5.0.off023.reload, 63
%51 = mul i32 %sv_6.124.reload, 16777216
%sext7 = add i32 %51, -16777216
%52 = ashr exact i32 %sext7, 24
%53 = ashr i64 %storemerge825.reload, 63
store i64 %53, i64* %storemerge825.reg2mem
store i32 %52, i32* %sv_6.124.reg2mem
store i64 %50, i64* %sv_5.0.off023.reg2mem
store i64 %50, i64* %sv_5.0.off0.lcssa.reg2mem
store i32 %52, i32* %sv_6.1.lcssa.reg2mem
store i64 %53, i64* %storemerge8.lcssa.reg2mem
br i1 false, label LBL_17, label LBL_18
LBL_18:
%sv_6.1.lcssa.reload = load i32, i32* %sv_6.1.lcssa.reg2mem
%sv_5.0.off0.lcssa.reload = load i64, i64* %sv_5.0.off0.lcssa.reg2mem
%54 = trunc i32 %sv_6.1.lcssa.reload to i8
%55 = icmp slt i8 %54, 1
store i64 %sv_5.0.off0.lcssa.reload, i64* %sv_5.1.off0.ph.reg2mem
br i1 %55, label LBL_20, label LBL_19
LBL_19:
%storemerge8.lcssa.reload = load i64, i64* %storemerge8.lcssa.reg2mem
%56 = add i64 %36, ptrtoint (i64** @gv_7 to i64)
%57 = inttoptr i64 %56 to i64*
%58 = load i64, i64* %57, align 8
%59 = zext i32 %sv_6.1.lcssa.reload to i64
%sext = mul i64 %59, 72057594037927936
%60 = ashr exact i64 %sext, 56
%61 = icmp ugt i64 %sv_0.133.reload, %4
%. = select i1 %61, i64 ptrtoint (i8** @gv_8 to i64), i64 ptrtoint (i64* @gv_9 to i64)
store i64 %58, i64* %22, align 8
store i64 %sv_5.0.off0.lcssa.reload, i64* %24, align 8
%62 = and i64 %60, 4294967295
%63 = inttoptr i64 %sv_0.133.reload to i8*
%64 = trunc i64 %sv_3.129.reload to i32
%65 = inttoptr i64 %. to i8*
%66 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %63, i32 %64, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_10, i64 0, i64 0), i8* %65, i64 %42, i64 %62, i64 %storemerge8.lcssa.reload)
store i64 0, i64* %sv_2.1.reg2mem
store i32 %66, i32* %sv_4.1.reg2mem
br label LBL_21
LBL_20:
%sv_5.1.off0.ph.reload = load i64, i64* %sv_5.1.off0.ph.reg2mem
%67 = add i64 %36, ptrtoint (i64** @gv_7 to i64)
%68 = inttoptr i64 %67 to i64*
%69 = load i64, i64* %68, align 8
%70 = icmp ugt i64 %sv_0.133.reload, %4
%.11 = select i1 %70, i64 ptrtoint (i8** @gv_8 to i64), i64 ptrtoint (i64* @gv_9 to i64)
%71 = inttoptr i64 %sv_0.133.reload to i8*
%72 = trunc i64 %sv_3.129.reload to i32
%73 = inttoptr i64 %.11 to i8*
%74 = inttoptr i64 %69 to i8*
%75 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %71, i32 %72, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i8* %73, i64 %42, i8* %74)
store i64 %sv_5.1.off0.ph.reload, i64* %sv_2.1.reg2mem
store i32 %75, i32* %sv_4.1.reg2mem
br label LBL_21
LBL_21:
%sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%76 = sext i32 %sv_4.1.reload to i64
%77 = icmp ugt i64 %sv_3.129.reload, %76
%78 = select i1 %77, i64 %76, i64 %sv_3.129.reload
%79 = sub i64 %sv_3.129.reload, %78
%80 = add i64 %78, %sv_0.133.reload
store i64 %79, i64* %sv_3.0.reg2mem
store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem
store i64 %80, i64* %sv_0.0.reg2mem
store i8 1, i8* %sv_1.0.reg2mem
br label LBL_22
LBL_22:
%sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
%81 = add nuw nsw i64 %storemerge35.reload, 1
%82 = icmp ugt i64 %storemerge35.reload, 7
%83 = icmp slt i64 %sv_2.2.reload, 1
%or.cond = or i1 %82, %83
store i64 %81, i64* %storemerge35.reg2mem
store i8 %sv_1.0.reload, i8* %sv_1.134.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.133.reg2mem
store i64 %sv_2.2.reload, i64* %sv_2.332.reg2mem
store i64 %sv_3.0.reload, i64* %sv_3.129.reg2mem
store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %or.cond, label LBL_23, label LBL_10
LBL_23:
%sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem
%84 = inttoptr i64 %sv_0.1.lcssa.reload to i8*
store i8 0, i8* %84, align 1
br label LBL_24
LBL_24:
ret i64 %4
uselistorder i64 %sv_2.2.reload, { 1, 0 }
uselistorder i64 %sv_5.0.off0.lcssa.reload, { 1, 0 }
uselistorder i64 %43, { 1, 2, 0, 3 }
uselistorder i64 %39, { 2, 0, 1, 3 }
uselistorder i64 %36, { 1, 2, 0 }
uselistorder i64 %storemerge35.reload, { 1, 0, 2 }
uselistorder i64 %sv_3.129.reload, { 4, 5, 6, 3, 1, 2, 0 }
uselistorder i64 %sv_0.133.reload, { 7, 5, 6, 3, 4, 1, 2, 0 }
uselistorder i64 %sv_2.332.reload, { 1, 5, 4, 0, 2, 3 }
uselistorder i64 %4, { 4, 6, 5, 2, 1, 0, 3 }
uselistorder i64* %sv_7, { 0, 2, 1 }
uselistorder i64* %storemerge35.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_1.134.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.133.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.332.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.129.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_6.021.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge825.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_6.124.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_5.0.off023.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_5.1.off0.ph.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 3, 1, 4 }
uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }
uselistorder i32 24, { 1, 0 }
uselistorder i32 16777216, { 0, 2, 1 }
uselistorder i64 1, { 4, 5, 1, 2, 3, 0 }
uselistorder i8 0, { 2, 1, 3, 0, 4 }
uselistorder i1 false, { 1, 0, 2, 4, 3, 5, 6, 7 }
uselistorder i64 %arg3, { 0, 1, 3, 4, 2 }
uselistorder i64 %arg2, { 1, 4, 0, 2, 3, 5 }
uselistorder i64* %arg1, { 0, 1, 3, 2 }
uselistorder label LBL_23, { 1, 0, 2, 3 }
uselistorder label LBL_22, { 1, 0 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
}
|
1
|
CompRealVul
|
virtio_config_readw_15908
|
virtio_config_readw
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %arg2, 4294967295
%3 = and i64 %1, 4294967295
%4 = add nsw i64 %3, -2
%5 = icmp ugt i64 %2, %4
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i32* %arg1 to i64
%7 = add i64 %6, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %9, %2
%11 = call i64 @FUNC(i64 %10)
%12 = urem i64 %11, 65536
store i64 %12, 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
|
check_rodc_critical_attribute_8693
|
check_rodc_critical_attribute
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 0)
%2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 0)
%3 = and i64 %1, 4
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%.not1 = urem i64 %2, 4
%5 = icmp eq i64 %.not1, 3
%6 = icmp eq i1 %5, false
store i64 1, i64* %storemerge.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i8*, i64)* @ldb_msg_find_attr_as_uint, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
m_stop_5356
|
m_stop
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 %0, i64* %rdi.0.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5, i64 %0)
store i64 %5, i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%7 = icmp eq i64 %rdi.0.reload, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_4, label LBL_3
LBL_3:
%8 = call i64 @FUNC(i64 %rdi.0.reload)
store i64 %8, 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 %rdi.0.reload, { 1, 0 }
uselistorder i64 %0, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
print_stack_trace_4650
|
print_stack_trace
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge23.reg2mem = alloca i32
%rdi.04.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
store i64 %0, i64* %rax.0.reg2mem
br i1 %1, label LBL_6, label LBL_1
LBL_1:
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = icmp eq i32 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_6, label LBL_2
LBL_2:
%6 = trunc i64 %arg2 to i32
%7 = icmp slt i32 %6, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge5.reg2mem
store i64 %0, i64* %rdi.04.reg2mem
br label LBL_3
LBL_3:
%rdi.04.reload = load i64, i64* %rdi.04.reg2mem
%storemerge5.reload = load i32, i32* %storemerge5.reg2mem
%.reload = load i64, i64* %.reg2mem
%8 = mul i64 %.reload, 8
%9 = add i64 %rdi.04.reload, %8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
store i32 0, i32* %storemerge23.reg2mem
br i1 %7, label LBL_5, label LBL_4
LBL_4:
%storemerge23.reload = load i32, i32* %storemerge23.reg2mem
%12 = call i64 @FUNC(i64 4202524)
%13 = add i32 %storemerge23.reload, 1
%14 = icmp sgt i32 %13, %6
store i32 %13, i32* %storemerge23.reg2mem
br i1 %14, label LBL_5, label LBL_4
LBL_5:
%15 = call i64 @FUNC(i64 %11)
%16 = add i32 %storemerge5.reload, 1
%17 = load i32, i32* %3, align 4
%18 = zext i32 %17 to i64
%19 = sext i32 %16 to i64
%20 = icmp slt i64 %19, %18
store i64 %19, i64* %.reg2mem
store i32 %16, i32* %storemerge5.reg2mem
store i64 %11, i64* %rdi.04.reg2mem
store i64 %18, i64* %rax.0.reg2mem
br i1 %20, label LBL_3, label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %6, { 1, 0 }
uselistorder i32* %3, { 1, 0 }
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }
uselistorder i64* %rdi.04.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge23.reg2mem, { 2, 0, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
serial_receive_byte_15616
|
serial_receive_byte
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = trunc i64 %arg2 to i32
store i32 %1, i32* %arg1, align 4
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = or i32 %4, 1
store i32 %5, i32* %3, align 4
%6 = call i64 @FUNC(i64 %0)
ret i64 %6
}
|
1
|
CompRealVul
|
mif_hdr_get_13626
|
mif_hdr_get
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i8
%storemerge.reg2mem = alloca i64
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%sv_0 = alloca i8, align 1
%4 = load i8, i8* %1
%5 = load i8, i8* %1
%6 = load i8, i8* %1
%sv_1 = alloca i8, align 1
%7 = bitcast i8* %sv_1 to i64*
%8 = call i64 @FUNC(i64 %arg1, i64* nonnull %7, i64 4)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 4
%11 = icmp eq i1 %10, false
store i64 0, i64* %storemerge.reg2mem
br i1 %11, label LBL_18, label LBL_1
LBL_1:
%12 = load i8, i8* %sv_1, align 1
%13 = icmp eq i8 %12, 77
%14 = icmp eq i8 %6, 73
%15 = icmp eq i1 %14, %13
br i1 %15, label LBL_2, label LBL_3
LBL_2:
%16 = icmp eq i8 %5, 70
%17 = icmp eq i8 %4, 58
%or.cond = icmp eq i1 %17, %16
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%18 = ptrtoint i8* %sv_1 to i64
%19 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 4, i64 %18, i64 %3, i64 %2)
store i64 0, i64* %storemerge.reg2mem
br label LBL_18
LBL_4:
%20 = call i64 @FUNC(i64 0)
%21 = icmp eq i64 %20, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %21, label LBL_18, label LBL_5
LBL_5:
%22 = ptrtoint i8* %sv_0 to i64
%23 = bitcast i8* %sv_0 to i64*
%24 = call i64 @FUNC(i64 %arg1, i64* nonnull %23, i64 4096)
%25 = trunc i64 %24 to i8
%26 = icmp eq i8 %25, 1
br i1 %26, label LBL_7, label LBL_6
LBL_6:
%27 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 4096, i64 %22, i64 %3, i64 %2)
br label LBL_16
LBL_7:
%28 = load i8, i8* %sv_0, align 1
%29 = icmp eq i8 %28, 0
br i1 %29, label LBL_15, label LBL_8
LBL_8:
%30 = call i64 @FUNC(i64 10, i64* nonnull %23, i64 4096, i64 %22, i64 %3, i64 %2)
%31 = call i64 @FUNC(i64* nonnull %23)
%32 = icmp eq i64 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_10, label LBL_9
LBL_9:
%34 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 4096, i64 %22, i64 %3, i64 %2)
%35 = call i64 @FUNC(i64 %20)
store i64 0, i64* %storemerge.reg2mem
br label LBL_18
LBL_10:
%36 = call i64 @FUNC(i64 %31)
%37 = trunc i64 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_11, label LBL_17
LBL_11:
%39 = call i64 @FUNC(i64 %31)
%40 = load i64, i64* @gv_3, align 8
%41 = call i64 @FUNC(i64 %40, i64 %39)
%42 = call i64 @FUNC(i64 %41)
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = call i64 @FUNC(i64 %31)
store i64 %20, i64* %storemerge.reg2mem
switch i32 %44, label LBL_14 [
i32 1, label LBL_12
i32 2, label LBL_18
]
LBL_12:
%46 = call i64 @FUNC(i64 %20, i64* nonnull %23)
%47 = trunc i64 %46 to i32
%48 = icmp eq i32 %47, 0
br i1 %48, label LBL_15, label LBL_13
LBL_13:
%49 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %22, i64 %22, i64 %22, i64 %3, i64 %2)
br label LBL_16
LBL_14:
%50 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %22, i64 %39, i64 %22, i64 %3, i64 %2)
br label LBL_16
LBL_15:
%51 = call i64 @FUNC(i64 %arg1, i64* nonnull %23, i64 4096)
%52 = trunc i64 %51 to i8
%53 = icmp eq i8 %52, 1
br i1 %53, label LBL_7, label LBL_6
LBL_16:
%54 = call i64 @FUNC(i64 %20)
store i64 0, i64* %storemerge.reg2mem
br label LBL_18
LBL_17:
%55 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 %22, i64 4096, i64 %22, i64 %3, i64 %2)
%56 = call i64 @FUNC(i64 %20)
%57 = call i64 @FUNC(i64 %31)
store i64 0, i64* %storemerge.reg2mem
br label LBL_18
LBL_18:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %23, { 4, 1, 2, 3, 0 }
uselistorder i64 %22, { 5, 6, 0, 1, 2, 3, 4, 7, 8, 11, 9, 10 }
uselistorder i64 %20, { 3, 2, 4, 0, 1, 5 }
uselistorder i8* %sv_0, { 1, 2, 0 }
uselistorder i64 %3, { 4, 6, 5, 3, 0, 2, 1 }
uselistorder i64 %2, { 4, 6, 5, 3, 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 7, 3, 1, 2, 6, 5, 4 }
uselistorder i8* %1, { 2, 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @jas_tvparser_destroy, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i8 0, { 1, 2, 3, 0 }
uselistorder i8 1, { 1, 0 }
uselistorder i64 (i64, i64*, i64)* @mif_getline, { 1, 0 }
uselistorder i64 4096, { 3, 5, 2, 4, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @jas_eprintf, { 3, 5, 4, 2, 1, 0 }
uselistorder i32 1, { 7, 8, 9, 6, 5, 4, 3, 1, 10, 2, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
uselistorder label LBL_18, { 6, 2, 0, 1, 5, 4, 3 }
uselistorder label LBL_16, { 1, 0, 2 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
get_cmd_5591
|
get_cmd
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i8
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%storemerge7.reg2mem = alloca i64
%storemerge8.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge5.reg2mem = alloca i64
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = load i8, i8* %1
%sv_1 = alloca i64, align 8
%sext = mul i64 %arg2, 4294967296
%5 = ashr exact i64 %sext, 32
%6 = add i64 %3, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_13, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64 %3)
%11 = trunc i64 %5 to i32
%12 = trunc i64 %10 to i32
%13 = icmp ugt i32 %11, %12
br i1 %13, label LBL_2, label LBL_3
LBL_2:
%14 = call i64 @FUNC(i64 %3)
store i64 %14, i64* %storemerge5.reg2mem
br label LBL_4
LBL_3:
%15 = and i64 %5, 4294967295
store i64 %15, i64* %storemerge5.reg2mem
br label LBL_4
LBL_4:
%storemerge5.reload = load i64, i64* %storemerge5.reg2mem
%16 = trunc i64 %storemerge5.reload to i32
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_5, label LBL_25
LBL_5:
%19 = add i64 %3, 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label LBL_10, label LBL_6
LBL_6:
%sext3 = mul i64 %storemerge5.reload, 4294967296
%23 = ashr exact i64 %sext3, 32
%24 = add i64 %3, 24
%25 = call i64 @FUNC(i64 %24)
%26 = trunc i64 %23 to i32
%27 = trunc i64 %25 to i32
%28 = icmp ugt i32 %26, %27
br i1 %28, label LBL_7, label LBL_8
LBL_7:
%29 = call i64 @FUNC(i64 %24)
store i64 %29, i64* %storemerge.reg2mem
br label LBL_9
LBL_8:
%30 = and i64 %23, 4294967295
store i64 %30, i64* %storemerge.reg2mem
br label LBL_9
LBL_9:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%31 = trunc i64 %storemerge.reload to i32
%sext4 = mul i64 %storemerge.reload, 4294967296
%32 = ashr exact i64 %sext4, 32
%33 = call i64 @FUNC(i64 %24, i64* nonnull %sv_1, i32 %31)
store i64 %32, i64* %sv_0.0.reg2mem
br label LBL_23
LBL_10:
%34 = call i64 @FUNC(i64 %3)
%35 = trunc i64 %34 to i32
%36 = icmp slt i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_12, label LBL_11
LBL_11:
%38 = add i64 %3, 24
%39 = call i64 @FUNC(i64 %38)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_25
LBL_12:
%40 = call i64 @FUNC(i64 %3)
%41 = add i64 %3, 24
%42 = call i64 @FUNC(i64 %41)
store i64 0, i64* %rax.0.reg2mem
br label LBL_25
LBL_13:
%43 = add i64 %3, 288
%44 = call i64 @FUNC(i64 %43)
%45 = trunc i64 %5 to i32
%46 = trunc i64 %44 to i32
%47 = icmp ugt i32 %45, %46
br i1 %47, label LBL_14, label LBL_15
LBL_14:
%48 = call i64 @FUNC(i64 %43)
store i64 %48, i64* %storemerge8.reg2mem
br label LBL_16
LBL_15:
%49 = and i64 %5, 4294967295
store i64 %49, i64* %storemerge8.reg2mem
br label LBL_16
LBL_16:
%storemerge8.reload = load i64, i64* %storemerge8.reg2mem
%50 = trunc i64 %storemerge8.reload to i32
%51 = icmp eq i32 %50, 0
%52 = icmp eq i1 %51, false
store i64 0, i64* %rax.0.reg2mem
br i1 %52, label LBL_17, label LBL_25
LBL_17:
%sext6 = mul i64 %storemerge8.reload, 4294967296
%53 = ashr exact i64 %sext6, 32
%54 = trunc i64 %53 to i32
%55 = call i64 @FUNC(i64 %43, i64* nonnull %sv_1, i32 %54)
%56 = trunc i64 %55 to i32
%57 = icmp ult i32 %56, 3
br i1 %57, label LBL_19, label LBL_18
LBL_18:
%58 = udiv i8 %4, 32
%59 = zext i8 %58 to i64
store i64 %59, i64* %sv_1, align 8
br label LBL_19
LBL_19:
%60 = add i64 %3, 24
%61 = call i64 @FUNC(i64 %60)
%62 = trunc i64 %61 to i32
%63 = icmp ugt i32 %56, %62
br i1 %63, label LBL_20, label LBL_21
LBL_20:
%64 = call i64 @FUNC(i64 %60)
store i64 %64, i64* %storemerge7.reg2mem
br label LBL_22
LBL_21:
%65 = and i64 %55, 4294967295
store i64 %65, i64* %storemerge7.reg2mem
br label LBL_22
LBL_22:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%66 = trunc i64 %storemerge7.reload to i32
%67 = call i64 @FUNC(i64 %60, i64* nonnull %sv_1, i32 %66)
store i64 %53, i64* %sv_0.0.reg2mem
br label LBL_23
LBL_23:
%68 = urem i64 %2, 256
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%69 = and i64 %sv_0.0.reload, 4294967295
%70 = call i64 @FUNC(i64 %69, i64 %68)
%71 = call i64 @FUNC(i64 %3)
%72 = trunc i64 %71 to i32
%73 = icmp slt i32 %72, 0
%74 = icmp eq i1 %73, false
store i64 %69, i64* %rax.0.reg2mem
br i1 %74, label LBL_25, label LBL_24
LBL_24:
%75 = add i64 %3, 24
%76 = call i64 @FUNC(i64 %75)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_25
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge8.reload, { 1, 0 }
uselistorder i64 %storemerge.reload, { 1, 0 }
uselistorder i64 %23, { 1, 0 }
uselistorder i64 %storemerge5.reload, { 1, 0 }
uselistorder i64 %5, { 3, 2, 1, 0 }
uselistorder i64* %sv_1, { 0, 3, 1, 2 }
uselistorder i64 %3, { 7, 8, 9, 10, 1, 0, 2, 5, 4, 3, 6, 11, 12 }
uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge8.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 }
uselistorder i64 256, { 1, 0 }
uselistorder i64 (i64)* @fifo8_num_used, { 1, 0 }
uselistorder i64 (i64)* @fifo8_reset, { 2, 1, 0 }
uselistorder i64 (i64)* @esp_select, { 1, 0 }
uselistorder i64 (i64, i64*, i32)* @fifo8_push_all, { 1, 0 }
uselistorder i64 (i64)* @fifo8_num_free, { 3, 2, 1, 0 }
uselistorder i64 4294967295, { 1, 6, 2, 3, 0, 5, 4, 7 }
uselistorder i64 (i64)* @esp_get_tc, { 1, 0 }
uselistorder label LBL_25, { 3, 0, 1, 4, 5, 2 }
}
|
0
|
CompRealVul
|
bn_mul_comba8_7878
|
bn_mul_comba8
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 0)
store i64 0, i64* %arg1, align 8
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %6, i64 %6, i64 0, i64 0, i64 0)
%8 = add i64 %1, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %10, i64 0, i64 0, i64 0, i64 0)
%12 = add i64 %2, 8
%13 = inttoptr i64 %12 to i64*
store i64 0, i64* %13, align 8
%14 = add i64 %1, 16
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16, i64 0, i64 0, i64 0, i64 0)
%18 = load i64, i64* %5, align 8
%19 = load i64, i64* %9, align 8
%20 = call i64 @FUNC(i64 %19, i64 %18, i64 0, i64 0, i64 0)
%21 = add i64 %0, 16
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23, i64 %23, i64 0, i64 0, i64 0)
%25 = add i64 %2, 16
%26 = inttoptr i64 %25 to i64*
store i64 0, i64* %26, align 8
%27 = add i64 %0, 24
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %29, i64 %29, i64 0, i64 0, i64 0)
%31 = load i64, i64* %22, align 8
%32 = load i64, i64* %9, align 8
%33 = call i64 @FUNC(i64 %32, i64 %31, i64 0, i64 0, i64 0)
%34 = load i64, i64* %5, align 8
%35 = load i64, i64* %15, align 8
%36 = call i64 @FUNC(i64 %35, i64 %34, i64 0, i64 0, i64 0)
%37 = add i64 %1, 24
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = call i64 @FUNC(i64 %39, i64 0, i64 0, i64 0, i64 0)
%41 = add i64 %2, 24
%42 = inttoptr i64 %41 to i64*
store i64 0, i64* %42, align 8
%43 = add i64 %1, 32
%44 = inttoptr i64 %43 to i64*
%45 = load i64, i64* %44, align 8
%46 = call i64 @FUNC(i64 %45, i64 0, i64 0, i64 0, i64 0)
%47 = load i64, i64* %5, align 8
%48 = load i64, i64* %38, align 8
%49 = call i64 @FUNC(i64 %48, i64 %47, i64 0, i64 0, i64 0)
%50 = load i64, i64* %22, align 8
%51 = load i64, i64* %15, align 8
%52 = call i64 @FUNC(i64 %51, i64 %50, i64 0, i64 0, i64 0)
%53 = load i64, i64* %28, align 8
%54 = load i64, i64* %9, align 8
%55 = call i64 @FUNC(i64 %54, i64 %53, i64 0, i64 0, i64 0)
%56 = add i64 %0, 32
%57 = inttoptr i64 %56 to i64*
%58 = load i64, i64* %57, align 8
%59 = call i64 @FUNC(i64 %58, i64 %58, i64 0, i64 0, i64 0)
%60 = add i64 %2, 32
%61 = inttoptr i64 %60 to i64*
store i64 0, i64* %61, align 8
%62 = add i64 %0, 40
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = call i64 @FUNC(i64 %64, i64 %64, i64 0, i64 0, i64 0)
%66 = load i64, i64* %57, align 8
%67 = load i64, i64* %9, align 8
%68 = call i64 @FUNC(i64 %67, i64 %66, i64 0, i64 0, i64 0)
%69 = load i64, i64* %28, align 8
%70 = load i64, i64* %15, align 8
%71 = call i64 @FUNC(i64 %70, i64 %69, i64 0, i64 0, i64 0)
%72 = load i64, i64* %22, align 8
%73 = load i64, i64* %38, align 8
%74 = call i64 @FUNC(i64 %73, i64 %72, i64 0, i64 0, i64 0)
%75 = load i64, i64* %5, align 8
%76 = load i64, i64* %44, align 8
%77 = call i64 @FUNC(i64 %76, i64 %75, i64 0, i64 0, i64 0)
%78 = add i64 %1, 40
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
%81 = call i64 @FUNC(i64 %80, i64 0, i64 0, i64 0, i64 0)
%82 = add i64 %2, 40
%83 = inttoptr i64 %82 to i64*
store i64 0, i64* %83, align 8
%84 = add i64 %1, 48
%85 = inttoptr i64 %84 to i64*
%86 = load i64, i64* %85, align 8
%87 = call i64 @FUNC(i64 %86, i64 0, i64 0, i64 0, i64 0)
%88 = load i64, i64* %5, align 8
%89 = load i64, i64* %79, align 8
%90 = call i64 @FUNC(i64 %89, i64 %88, i64 0, i64 0, i64 0)
%91 = load i64, i64* %22, align 8
%92 = load i64, i64* %44, align 8
%93 = call i64 @FUNC(i64 %92, i64 %91, i64 0, i64 0, i64 0)
%94 = load i64, i64* %28, align 8
%95 = load i64, i64* %38, align 8
%96 = call i64 @FUNC(i64 %95, i64 %94, i64 0, i64 0, i64 0)
%97 = load i64, i64* %57, align 8
%98 = load i64, i64* %15, align 8
%99 = call i64 @FUNC(i64 %98, i64 %97, i64 0, i64 0, i64 0)
%100 = load i64, i64* %63, align 8
%101 = load i64, i64* %9, align 8
%102 = call i64 @FUNC(i64 %101, i64 %100, i64 0, i64 0, i64 0)
%103 = add i64 %0, 48
%104 = inttoptr i64 %103 to i64*
%105 = load i64, i64* %104, align 8
%106 = call i64 @FUNC(i64 %105, i64 %105, i64 0, i64 0, i64 0)
%107 = add i64 %2, 48
%108 = inttoptr i64 %107 to i64*
store i64 0, i64* %108, align 8
%109 = add i64 %0, 56
%110 = inttoptr i64 %109 to i64*
%111 = load i64, i64* %110, align 8
%112 = call i64 @FUNC(i64 %111, i64 %111, i64 0, i64 0, i64 0)
%113 = load i64, i64* %104, align 8
%114 = load i64, i64* %9, align 8
%115 = call i64 @FUNC(i64 %114, i64 %113, i64 0, i64 0, i64 0)
%116 = load i64, i64* %63, align 8
%117 = load i64, i64* %15, align 8
%118 = call i64 @FUNC(i64 %117, i64 %116, i64 0, i64 0, i64 0)
%119 = load i64, i64* %57, align 8
%120 = load i64, i64* %38, align 8
%121 = call i64 @FUNC(i64 %120, i64 %119, i64 0, i64 0, i64 0)
%122 = load i64, i64* %28, align 8
%123 = load i64, i64* %44, align 8
%124 = call i64 @FUNC(i64 %123, i64 %122, i64 0, i64 0, i64 0)
%125 = load i64, i64* %22, align 8
%126 = load i64, i64* %79, align 8
%127 = call i64 @FUNC(i64 %126, i64 %125, i64 0, i64 0, i64 0)
%128 = load i64, i64* %5, align 8
%129 = load i64, i64* %85, align 8
%130 = call i64 @FUNC(i64 %129, i64 %128, i64 0, i64 0, i64 0)
%131 = add i64 %1, 56
%132 = inttoptr i64 %131 to i64*
%133 = load i64, i64* %132, align 8
%134 = call i64 @FUNC(i64 %133, i64 0, i64 0, i64 0, i64 0)
%135 = add i64 %2, 56
%136 = inttoptr i64 %135 to i64*
store i64 0, i64* %136, align 8
%137 = load i64, i64* %5, align 8
%138 = load i64, i64* %132, align 8
%139 = call i64 @FUNC(i64 %138, i64 %137, i64 0, i64 0, i64 0)
%140 = load i64, i64* %22, align 8
%141 = load i64, i64* %85, align 8
%142 = call i64 @FUNC(i64 %141, i64 %140, i64 0, i64 0, i64 0)
%143 = load i64, i64* %28, align 8
%144 = load i64, i64* %79, align 8
%145 = call i64 @FUNC(i64 %144, i64 %143, i64 0, i64 0, i64 0)
%146 = load i64, i64* %57, align 8
%147 = load i64, i64* %44, align 8
%148 = call i64 @FUNC(i64 %147, i64 %146, i64 0, i64 0, i64 0)
%149 = load i64, i64* %63, align 8
%150 = load i64, i64* %38, align 8
%151 = call i64 @FUNC(i64 %150, i64 %149, i64 0, i64 0, i64 0)
%152 = load i64, i64* %104, align 8
%153 = load i64, i64* %15, align 8
%154 = call i64 @FUNC(i64 %153, i64 %152, i64 0, i64 0, i64 0)
%155 = load i64, i64* %110, align 8
%156 = load i64, i64* %9, align 8
%157 = call i64 @FUNC(i64 %156, i64 %155, i64 0, i64 0, i64 0)
%158 = add i64 %2, 64
%159 = inttoptr i64 %158 to i64*
store i64 0, i64* %159, align 8
%160 = load i64, i64* %110, align 8
%161 = load i64, i64* %15, align 8
%162 = call i64 @FUNC(i64 %161, i64 %160, i64 0, i64 0, i64 0)
%163 = load i64, i64* %104, align 8
%164 = load i64, i64* %38, align 8
%165 = call i64 @FUNC(i64 %164, i64 %163, i64 0, i64 0, i64 0)
%166 = load i64, i64* %63, align 8
%167 = load i64, i64* %44, align 8
%168 = call i64 @FUNC(i64 %167, i64 %166, i64 0, i64 0, i64 0)
%169 = load i64, i64* %57, align 8
%170 = load i64, i64* %79, align 8
%171 = call i64 @FUNC(i64 %170, i64 %169, i64 0, i64 0, i64 0)
%172 = load i64, i64* %28, align 8
%173 = load i64, i64* %85, align 8
%174 = call i64 @FUNC(i64 %173, i64 %172, i64 0, i64 0, i64 0)
%175 = load i64, i64* %22, align 8
%176 = load i64, i64* %132, align 8
%177 = call i64 @FUNC(i64 %176, i64 %175, i64 0, i64 0, i64 0)
%178 = add i64 %2, 72
%179 = inttoptr i64 %178 to i64*
store i64 0, i64* %179, align 8
%180 = load i64, i64* %28, align 8
%181 = load i64, i64* %132, align 8
%182 = call i64 @FUNC(i64 %181, i64 %180, i64 0, i64 0, i64 0)
%183 = load i64, i64* %57, align 8
%184 = load i64, i64* %85, align 8
%185 = call i64 @FUNC(i64 %184, i64 %183, i64 0, i64 0, i64 0)
%186 = load i64, i64* %63, align 8
%187 = load i64, i64* %79, align 8
%188 = call i64 @FUNC(i64 %187, i64 %186, i64 0, i64 0, i64 0)
%189 = load i64, i64* %104, align 8
%190 = load i64, i64* %44, align 8
%191 = call i64 @FUNC(i64 %190, i64 %189, i64 0, i64 0, i64 0)
%192 = load i64, i64* %110, align 8
%193 = load i64, i64* %38, align 8
%194 = call i64 @FUNC(i64 %193, i64 %192, i64 0, i64 0, i64 0)
%195 = add i64 %2, 80
%196 = inttoptr i64 %195 to i64*
store i64 0, i64* %196, align 8
%197 = load i64, i64* %110, align 8
%198 = load i64, i64* %44, align 8
%199 = call i64 @FUNC(i64 %198, i64 %197, i64 0, i64 0, i64 0)
%200 = load i64, i64* %104, align 8
%201 = load i64, i64* %79, align 8
%202 = call i64 @FUNC(i64 %201, i64 %200, i64 0, i64 0, i64 0)
%203 = load i64, i64* %63, align 8
%204 = load i64, i64* %85, align 8
%205 = call i64 @FUNC(i64 %204, i64 %203, i64 0, i64 0, i64 0)
%206 = load i64, i64* %57, align 8
%207 = load i64, i64* %132, align 8
%208 = call i64 @FUNC(i64 %207, i64 %206, i64 0, i64 0, i64 0)
%209 = add i64 %2, 88
%210 = inttoptr i64 %209 to i64*
store i64 0, i64* %210, align 8
%211 = load i64, i64* %63, align 8
%212 = load i64, i64* %132, align 8
%213 = call i64 @FUNC(i64 %212, i64 %211, i64 0, i64 0, i64 0)
%214 = load i64, i64* %104, align 8
%215 = load i64, i64* %85, align 8
%216 = call i64 @FUNC(i64 %215, i64 %214, i64 0, i64 0, i64 0)
%217 = load i64, i64* %110, align 8
%218 = load i64, i64* %79, align 8
%219 = call i64 @FUNC(i64 %218, i64 %217, i64 0, i64 0, i64 0)
%220 = add i64 %2, 96
%221 = inttoptr i64 %220 to i64*
store i64 0, i64* %221, align 8
%222 = load i64, i64* %110, align 8
%223 = load i64, i64* %85, align 8
%224 = call i64 @FUNC(i64 %223, i64 %222, i64 0, i64 0, i64 0)
%225 = load i64, i64* %104, align 8
%226 = load i64, i64* %132, align 8
%227 = call i64 @FUNC(i64 %226, i64 %225, i64 0, i64 0, i64 0)
%228 = add i64 %2, 104
%229 = inttoptr i64 %228 to i64*
store i64 0, i64* %229, align 8
%230 = load i64, i64* %110, align 8
%231 = load i64, i64* %132, align 8
%232 = call i64 @FUNC(i64 %231, i64 %230, i64 0, i64 0, i64 0)
%233 = add i64 %2, 112
%234 = inttoptr i64 %233 to i64*
store i64 0, i64* %234, align 8
%235 = add i64 %2, 120
%236 = inttoptr i64 %235 to i64*
store i64 0, i64* %236, align 8
ret i64 0
uselistorder i64 %111, { 1, 0 }
uselistorder i64 %105, { 1, 0 }
uselistorder i64 %64, { 1, 0 }
uselistorder i64 %58, { 1, 0 }
uselistorder i64 %29, { 1, 0 }
uselistorder i64 %23, { 1, 0 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64, i64, i64)* @mul_add_c, { 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
}
|
1
|
CompRealVul
|
port100_send_complete_18228
|
port100_send_complete
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_5, label LBL_1
LBL_1:
%8 = and i64 %1, 4294967295
%9 = icmp slt i32 %6, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_4, label LBL_2
LBL_2:
%11 = icmp ne i32 %6, -104
%12 = icmp eq i32 %6, -2
%13 = icmp eq i1 %12, false
%or.cond = icmp eq i1 %11, %13
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%14 = inttoptr i64 %5 to i64*
%15 = load i64, i64* %14, align 8
%16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %8)
store i64 %16, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%17 = inttoptr i64 %5 to i64*
%18 = load i64, i64* %17, align 8
%19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %8)
store i64 %19, 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 %8, { 1, 0 }
uselistorder i32 %6, { 3, 2, 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i8*, i64)* @nfc_err, { 1, 0 }
uselistorder label LBL_5, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
ff_yuv2rgb_init_mmx_564
|
ff_yuv2rgb_init_mmx
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = call i64 @FUNC()
%3 = trunc i64 %1 to i32
%.off = add i32 %3, -1
%switch = icmp ult i32 %.off, 2
store i64 0, i64* %rax.0.reg2mem
br i1 %switch, label LBL_1, label LBL_17
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = trunc i64 %2 to i32
%6 = and i32 %5, 2
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_5, label LBL_2
LBL_2:
%8 = add i64 %4, 4
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
switch i32 %10, label LBL_5 [
i32 3, label LBL_3
i32 4, label LBL_4
]
LBL_3:
%11 = load i64, i64* @gv_0, align 8
store i64 %11, i64* %rax.0.reg2mem
br label LBL_17
LBL_4:
%12 = load i64, i64* @gv_1, align 8
store i64 %12, i64* %rax.0.reg2mem
br label LBL_17
LBL_5:
%13 = urem i32 %5, 2
%14 = icmp eq i32 %13, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_17, label LBL_6
LBL_6:
%15 = add i64 %4, 4
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i32 %17, -3
%19 = zext i32 %18 to i64
store i64 %19, i64* @0, align 8
store i64 0, i64* %rax.0.reg2mem
switch i32 %17, label LBL_17 [
i32 3, label LBL_13
i32 4, label LBL_14
i32 5, label LBL_7
i32 6, label LBL_10
i32 7, label LBL_15
i32 8, label LBL_16
]
LBL_7:
%20 = icmp eq i32 %3, 2
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_9, label LBL_8
LBL_8:
%22 = load i64, i64* @gv_2, align 8
store i64 %22, i64* %rax.0.reg2mem
br label LBL_17
LBL_9:
%23 = load i64, i64* @gv_3, align 8
store i64 %23, i64* %rax.0.reg2mem
br label LBL_17
LBL_10:
%24 = icmp eq i32 %3, 2
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_12, label LBL_11
LBL_11:
%26 = load i64, i64* @gv_4, align 8
store i64 %26, i64* %rax.0.reg2mem
br label LBL_17
LBL_12:
%27 = load i64, i64* @gv_5, align 8
store i64 %27, i64* %rax.0.reg2mem
br label LBL_17
LBL_13:
%28 = load i64, i64* @gv_6, align 8
store i64 %28, i64* %rax.0.reg2mem
br label LBL_17
LBL_14:
%29 = load i64, i64* @gv_7, align 8
store i64 %29, i64* %rax.0.reg2mem
br label LBL_17
LBL_15:
%30 = load i64, i64* @gv_8, align 8
store i64 %30, i64* %rax.0.reg2mem
br label LBL_17
LBL_16:
%31 = load i64, i64* @gv_9, align 8
store i64 %31, i64* %rax.0.reg2mem
br label LBL_17
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %4, { 1, 0 }
uselistorder i32 %3, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 13, 12, 7, 6, 11, 10, 9, 8, 2, 1, 4, 5, 3 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 3, { 1, 0 }
uselistorder i32 2, { 3, 2, 0, 4, 1 }
uselistorder label LBL_17, { 3, 4, 5, 6, 7, 8, 9, 10, 2, 1, 11, 12, 0 }
}
|
0
|
CompRealVul
|
ppc405_ocm_init_16356
|
ppc405_ocm_init
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 16)
%2 = call i64 @FUNC(i64 %1, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 4096, i64 4198726)
%3 = call i64 @FUNC(i64 %1)
%4 = add i64 %1, 8
%5 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %1, i64 0, i64 4096)
%6 = call i64 @FUNC(i64 4198952, i64 %1)
%7 = call i64 @FUNC(i64 %0, i64 0, i64 %1, i64 4198938, i64 4198945)
%8 = call i64 @FUNC(i64 %0, i64 1, i64 %1, i64 4198938, i64 4198945)
%9 = call i64 @FUNC(i64 %0, i64 2, i64 %1, i64 4198938, i64 4198945)
%10 = call i64 @FUNC(i64 %0, i64 3, i64 %1, i64 4198938, i64 4198945)
ret i64 %10
uselistorder i64 (i64, i64, i64, i64, i64)* @ppc_dcr_register, { 3, 2, 1, 0 }
}
|
1
|
CompRealVul
|
sock_warn_obsolete_bsdism_9536
|
sock_warn_obsolete_bsdism
|
define i64 @FUNC(i8* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i8*, i8** @gv_0, align 8
%5 = call i32 @strcmp(i8* bitcast (i8** @gv_1 to i8*), i8* %4)
%6 = icmp eq i32 %5, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = load i32, i32* @gv_2, align 4
%8 = zext i32 %7 to i64
%9 = icmp sgt i32 %7, 4
store i64 %8, i64* %rax.0.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = load i8*, i8** @gv_0, align 8
%11 = call i8* @strcpy(i8* bitcast (i8** @gv_1 to i8*), i8* %10)
%12 = ptrtoint i8* %arg1 to i64
%13 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0), i64* bitcast (i8** @gv_1 to i64*), i64 %12, i64 %3, i64 %2, i64 %1)
store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_2, align 4
store i64 ptrtoint (i32* @gv_4 to i64), i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i32* @gv_4, { 1, 0 }
uselistorder i32* @gv_2, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
dcstr_read_header_17063
|
dcstr_read_header
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_8
LBL_1:
%4 = inttoptr i64 %1 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
store i32 1, i32* %6, align 4
%7 = load i64, i64* %4, align 8
%8 = call i64 @FUNC(i64 %0)
%9 = trunc i64 %8 to i32
%10 = add i64 %7, 4
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%12 = load i64, i64* %4, align 8
%13 = call i64 @FUNC(i64 %0)
%14 = trunc i64 %13 to i32
%15 = add i64 %12, 8
%16 = inttoptr i64 %15 to i32*
store i32 %14, i32* %16, align 4
%17 = call i64 @FUNC(i64 %0)
%18 = call i64 @FUNC(i64 %0)
%19 = trunc i64 %18 to i32
%20 = call i64 @FUNC(i64 %0, i64 4)
%21 = call i64 @FUNC(i64 %0)
%22 = trunc i64 %21 to i32
%23 = add i64 %1, 8
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
%25 = call i64 @FUNC(i64 %0)
%26 = load i64, i64* %4, align 8
%27 = add i64 %26, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = trunc i64 %25 to i32
%31 = mul i32 %29, %30
store i32 %31, i32* %28, align 4
%32 = icmp eq i32 %19, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %32, label LBL_8, label LBL_2
LBL_2:
%33 = load i64, i64* %4, align 8
%34 = add i64 %33, 4
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = udiv i32 2147483647, %36
%38 = icmp ult i32 %37, %19
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %38, label LBL_8, label LBL_3
LBL_3:
%39 = trunc i64 %17 to i32
%40 = mul i32 %36, %19
%41 = add i64 %33, 12
%42 = inttoptr i64 %41 to i32*
store i32 %40, i32* %42, align 4
switch i32 %39, label LBL_6 [
i32 4, label LBL_4
i32 16, label LBL_5
]
LBL_4:
%43 = load i64, i64* %4, align 8
%44 = add i64 %43, 16
%45 = inttoptr i64 %44 to i32*
store i32 1, i32* %45, align 4
br label LBL_7
LBL_5:
%46 = load i64, i64* %4, align 8
%47 = add i64 %46, 16
%48 = inttoptr i64 %47 to i32*
store i32 2, i32* %48, align 4
br label LBL_7
LBL_6:
%49 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 %39)
store i64 4294967288, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%50 = call i64 @FUNC(i64 %0)
%51 = sub i64 2048, %50
%52 = and i64 %51, 4294967295
%53 = call i64 @FUNC(i64 %0, i64 %52)
%54 = load i64, i64* %4, align 8
%55 = add i64 %54, 8
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = zext i32 %57 to i64
%59 = call i64 @FUNC(i64 %1, i64 64, i64 1, i64 %58)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %39, { 1, 0 }
uselistorder i64* %4, { 1, 0, 2, 3, 4, 5, 6, 7 }
uselistorder i64 %0, { 2, 1, 0, 9, 8, 7, 6, 5, 4, 3, 10 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 1, 3 }
uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }
uselistorder i64 4, { 1, 2, 0, 3 }
uselistorder i64 (i64)* @avio_rl32, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_8, { 3, 4, 1, 0, 2 }
}
|
1
|
CompRealVul
|
GetCommandbyName_5981
|
GetCommandbyName
|
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 33
%4 = icmp eq i1 %3, false
store i64 0, i64* %indvars.iv.reg2mem
br i1 %4, label LBL_6, label LBL_1
LBL_1:
%5 = ptrtoint i8* %arg1 to i64
%6 = add i64 %5, 1
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = call i64 @FUNC(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_0, i64 0, i64 0), i64 %6)
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_3:
%11 = inttoptr i64 %6 to i8*
%12 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_1 to i8*), i32 256, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* %11)
%13 = icmp slt i32 %12, 256
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_4, i64 0, i64 0), i64 %6)
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_5:
%15 = bitcast i64* %arg2 to i32*
store i32 0, i32* %15, align 4
store i64 ptrtoint (i8** @gv_1 to i64), i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%16 = mul i64 %indvars.iv.reload, 8
%17 = add i64 %16, ptrtoint ([3 x i8*]* @gv_5 to i64)
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i8*
%21 = call i32 @strcmp(i8* %arg1, i8* %20)
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_8, label LBL_7
LBL_7:
%24 = mul i64 %indvars.iv.reload, 4
%25 = add i64 %24, ptrtoint (i32** @gv_6 to i64)
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = bitcast i64* %arg2 to i32*
store i32 %27, i32* %28, align 4
%29 = add i64 %16, ptrtoint ([3 x i8*]* @gv_7 to i64)
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
store i64 %31, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%32 = icmp ult i64 %indvars.iv.next, 3
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_6, label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %16, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2 }
uselistorder i8** @gv_1, { 1, 0 }
uselistorder i64 (i8*, i64)* @mwarn, { 1, 0 }
uselistorder i32 0, { 12, 13, 14, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }
uselistorder i8* %arg1, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
}
|
0
|
CompRealVul
|
snd_seq_queue_check_access_10339
|
snd_seq_queue_check_access
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = and i64 %arg1, 4294967295
%3 = call i64 @FUNC(i64 %2)
%4 = icmp eq i64 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = and i64 %arg2, 4294967295
%7 = call i64 @FUNC(i64 %3, i64 %1)
%8 = call i64 @FUNC(i64 %3, i64 %6)
%9 = call i64 @FUNC(i64 %3, i64 %1)
%10 = call i64 @FUNC(i64 %3)
%11 = and i64 %8, 4294967295
store i64 %11, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 2, 3, 1, 0, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 1, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
xen_pt_msixctrl_reg_write_5408
|
xen_pt_msixctrl_reg_write
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i16* %arg3, i16 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i32*
%rdi = alloca i64, align 8
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%rdx = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = ptrtoint i64* %arg1 to i64
store i64 %4, i64* %rdi, align 8
%5 = bitcast i64* %rsi to i16*
%6 = add i64 %3, 2
%7 = inttoptr i64 %6 to i16*
%8 = load i16, i16* %7, align 2
%9 = sub i16 0, %8
%10 = sub i16 %9, 1
%11 = trunc i64 %arg5 to i16
%12 = and i64 %1, %arg5
%13 = trunc i64 %12 to i16
%14 = and i16 %10, %13
%15 = bitcast i64* %rdx to i16*
%16 = trunc i64 %2 to i16
%17 = and i16 %14, %16
%18 = add i64 %3, 8
%19 = inttoptr i64 %18 to i16*
%20 = load i16, i16* %19, align 2
%21 = sub i16 0, %14
%22 = sub i16 %21, 1
%23 = and i16 %20, %22
%24 = or i16 %17, %23
store i16 %24, i16* %19, align 2
%25 = load i16, i16* %5, align 8
%26 = sub i16 0, %25
%27 = sub i16 %26, 1
%28 = and i16 %27, %11
%29 = load i16, i16* %15, align 8
%30 = and i16 %29, %28
%31 = sub i16 0, %28
%32 = sub i16 %31, 1
%33 = and i16 %32, %arg4
%34 = or i16 %33, %30
%35 = zext i16 %34 to i64
store i64 %35, i64* %rdx, align 8
store i16 %34, i16* %arg3, align 2
%36 = urem i16 %34, 2
%37 = icmp eq i16 %36, 0
br i1 %37, label LBL_4, label LBL_1
LBL_1:
%38 = and i16 %34, 2
%39 = icmp eq i16 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_3, label LBL_2
LBL_2:
store i64 %4, i64* %rdi, align 8
%41 = call i64 @FUNC(i64 %4)
%42 = trunc i64 %4 to i32
%.pre2 = bitcast i64* %rdi to i32*
store i32* %.pre2, i32** %.pre-phi.reg2mem
store i32 %42, i32* %.reg2mem
br label LBL_6
LBL_3:
%.phi.trans.insert = bitcast i64* %rdi to i32*
%.pre = load i32, i32* %.phi.trans.insert, align 8
store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem
store i32 %.pre, i32* %.reg2mem
br label LBL_6
LBL_4:
%43 = bitcast i64* %rdi to i32*
%44 = load i32, i32* %43, align 8
%45 = icmp eq i32 %44, 0
store i32* %43, i32** %.pre-phi.reg2mem
store i32 0, i32* %.reg2mem
br i1 %45, label LBL_6, label LBL_5
LBL_5:
store i64 %4, i64* %rdi, align 8
%46 = call i64 @FUNC(i64 %4)
%47 = trunc i64 %4 to i32
store i32* %43, i32** %.pre-phi.reg2mem
store i32 %47, i32* %.reg2mem
br label LBL_6
LBL_6:
%.reload = load i32, i32* %.reg2mem
%.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem
%48 = icmp eq i1 %37, false
%49 = load i64, i64* %rdi, align 8
%50 = zext i1 %48 to i32
%51 = inttoptr i64 %49 to i32*
store i32 %50, i32* %51, align 4
%52 = load i32, i32* %.pre-phi.reload, align 8
%53 = icmp eq i32 %.reload, %52
br i1 %53, label LBL_8, label LBL_7
LBL_7:
%54 = icmp eq i32 %52, 0
%55 = select i1 %54, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8* %55)
br label LBL_8
LBL_8:
ret i64 0
uselistorder i32* %43, { 1, 0, 2 }
uselistorder i16 %34, { 1, 0, 2, 3 }
uselistorder i64 %4, { 1, 5, 4, 0, 3, 2, 6 }
uselistorder i64* %rdi, { 5, 3, 4, 1, 0, 2, 6 }
uselistorder i32** %.pre-phi.reg2mem, { 0, 3, 2, 4, 1 }
uselistorder i32* %.reg2mem, { 0, 3, 2, 4, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder i16 2, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 0, 3 }
}
|
0
|
CompRealVul
|
spl_dllist_it_helper_rewind_10315
|
spl_dllist_it_helper_rewind
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %1)
%3 = urem i64 %arg4, 2
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i32 %7, -1
store i32 %8, i32* %arg2, align 4
%9 = add i64 %0, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
store i64 %11, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
store i32 0, i32* %arg2, align 4
store i64 %0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
store i64 %storemerge.reload, i64* %arg1, align 8
%12 = call i64 @FUNC(i64 %1)
ret i64 %12
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %arg2, { 1, 0 }
}
|
0
|
CompRealVul
|
vga_common_init_313
|
vga_common_init
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%sv_0.215.reg2mem = alloca i32
%storemerge616.reg2mem = alloca i32
%indvars.iv28.reg2mem = alloca i64
%sv_0.120.reg2mem = alloca i32
%storemerge921.reg2mem = alloca i32
%sv_0.018.reg2mem = alloca i32
%storemerge1119.reg2mem = alloca i32
%rdi = alloca i64, align 8
store i64 0, i64* %indvars.iv28.reg2mem
br label LBL_5
LBL_1:
%sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem
%storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem
%0 = lshr i32 %18, %storemerge1119.reload
%1 = urem i32 %0, 2
%2 = mul i32 %storemerge1119.reload, 4
%3 = shl i32 %1, %2
%4 = or i32 %3, %sv_0.018.reload
%5 = add nuw nsw i32 %storemerge1119.reload, 1
%exitcond26 = icmp eq i32 %5, 8
store i32 %5, i32* %storemerge1119.reg2mem
store i32 %4, i32* %sv_0.018.reg2mem
br i1 %exitcond26, label LBL_2, label LBL_1
LBL_2:
%6 = mul i64 %indvars.iv28.reload, 4
%7 = add i64 %6, ptrtoint (i32** @gv_0 to i64)
%8 = inttoptr i64 %7 to i32*
store i32 %4, i32* %8, align 4
store i32 0, i32* %storemerge921.reg2mem
store i32 0, i32* %sv_0.120.reg2mem
br label LBL_3
LBL_3:
%sv_0.120.reload = load i32, i32* %sv_0.120.reg2mem
%storemerge921.reload = load i32, i32* %storemerge921.reg2mem
%9 = mul i32 %storemerge921.reload, 2
%10 = ashr i32 %18, %9
%11 = urem i32 %10, 4
%12 = mul i32 %storemerge921.reload, 4
%13 = shl i32 %11, %12
%14 = or i32 %13, %sv_0.120.reload
%15 = add nuw nsw i32 %storemerge921.reload, 1
%exitcond27 = icmp eq i32 %15, 4
store i32 %15, i32* %storemerge921.reg2mem
store i32 %14, i32* %sv_0.120.reg2mem
br i1 %exitcond27, label LBL_4, label LBL_3
LBL_4:
%16 = add i64 %6, ptrtoint (i32** @gv_1 to i64)
%17 = inttoptr i64 %16 to i32*
store i32 %14, i32* %17, align 4
%indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1
%exitcond30 = icmp eq i64 %indvars.iv.next29, 256
store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem
br i1 %exitcond30, label LBL_6, label LBL_5
LBL_5:
%indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem
%18 = trunc i64 %indvars.iv28.reload to i32
store i32 0, i32* %storemerge1119.reg2mem
store i32 0, i32* %sv_0.018.reg2mem
br label LBL_1
LBL_6:
%19 = ptrtoint i64* %arg2 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_9
LBL_7:
%sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem
%storemerge616.reload = load i32, i32* %storemerge616.reg2mem
%20 = lshr i32 %32, %storemerge616.reload
%21 = urem i32 %20, 2
%22 = mul i32 %storemerge616.reload, 2
%23 = shl i32 %21, %22
%24 = or i32 %23, %sv_0.215.reload
%25 = or i32 %22, 1
%26 = shl i32 %21, %25
%27 = or i32 %24, %26
%28 = add nuw nsw i32 %storemerge616.reload, 1
%exitcond = icmp eq i32 %28, 4
store i32 %28, i32* %storemerge616.reg2mem
store i32 %27, i32* %sv_0.215.reg2mem
br i1 %exitcond, label LBL_8, label LBL_7
LBL_8:
%29 = mul i64 %indvars.iv.reload, 4
%30 = add i64 %29, ptrtoint (i32** @gv_2 to i64)
%31 = inttoptr i64 %30 to i32*
store i32 %27, i32* %31, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond25 = icmp eq i64 %indvars.iv.next, 16
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond25, label LBL_10, label LBL_9
LBL_9:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%32 = trunc i64 %indvars.iv.reload to i32
store i32 0, i32* %storemerge616.reg2mem
store i32 0, i32* %sv_0.215.reg2mem
br label LBL_7
LBL_10:
%33 = ptrtoint i64* %arg1 to i64
%34 = bitcast i64* %rdi to i32*
%35 = load i32, i32* %34, align 8
%36 = zext i32 %35 to i64
%37 = call i64 @FUNC(i64 %36, i64 1, i64 512)
%38 = trunc i64 %37 to i32
%39 = bitcast i64* %arg1 to i32*
store i32 %38, i32* %39, align 4
%40 = call i64 @FUNC(i64 %36)
%41 = trunc i64 %40 to i32
store i32 %41, i32* %39, align 4
%42 = mul i32 %35, 1048576
%43 = add i64 %33, 4
%44 = inttoptr i64 %43 to i32*
store i32 %42, i32* %44, align 4
%45 = add i64 %33, 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = icmp eq i32 %47, 0
%49 = icmp eq i1 %48, false
br i1 %49, label LBL_12, label LBL_11
LBL_11:
store i32 %42, i32* %46, align 4
br label LBL_12
LBL_12:
%50 = add i64 %33, 12
%51 = inttoptr i64 %50 to i32*
store i32 1, i32* %51, align 4
%52 = load i32, i32* %44, align 4
%53 = add i64 %33, 16
%54 = zext i32 %52 to i64
%55 = call i64 @FUNC(i64 %53, i64 %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64* nonnull @gv_4)
%56 = trunc i64 %arg3 to i8
%57 = icmp eq i8 %56, 0
%storemerge = select i1 %57, i64 %19, i64 0
%58 = call i64 @FUNC(i64 %53, i64 %storemerge)
%59 = call i64 @FUNC(i64 %53)
%60 = call i64 @FUNC(i64 %53)
%61 = add i64 %33, 24
%62 = inttoptr i64 %61 to i64*
store i64 %60, i64* %62, align 8
%63 = add i64 %33, 32
%64 = inttoptr i64 %63 to i64*
store i64 4198714, i64* %64, align 8
%65 = add i64 %33, 40
%66 = inttoptr i64 %65 to i64*
store i64 4198725, i64* %66, align 8
%67 = add i64 %33, 48
%68 = inttoptr i64 %67 to i64*
store i64 4198736, i64* %68, align 8
%69 = add i64 %33, 56
%70 = inttoptr i64 %69 to i64*
store i64 4212900, i64* %70, align 8
%71 = load i32, i32* @gv_5, align 4
switch i32 %71, label LBL_15 [
i32 0, label LBL_13
i32 1, label LBL_14
]
LBL_13:
%72 = add i64 %33, 64
%73 = inttoptr i64 %72 to i64*
store i64 4198758, i64* %73, align 8
%74 = add i64 %33, 72
%75 = inttoptr i64 %74 to i64*
store i64 4198772, i64* %75, align 8
br label LBL_15
LBL_14:
%76 = add i64 %33, 64
%77 = inttoptr i64 %76 to i64*
store i64 4198765, i64* %77, align 8
%78 = add i64 %33, 72
%79 = inttoptr i64 %78 to i64*
store i64 4198779, i64* %79, align 8
br label LBL_15
LBL_15:
%80 = add i64 %33, 80
%81 = inttoptr i64 %80 to i8*
store i8 0, i8* %81, align 1
%82 = call i64 @FUNC(i64 %33)
ret i64 %82
uselistorder i32 %42, { 1, 0 }
uselistorder i64 %33, { 2, 3, 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }
uselistorder i64 %indvars.iv.reload, { 1, 2, 0 }
uselistorder i32 %27, { 1, 0 }
uselistorder i32 %21, { 1, 0 }
uselistorder i32 %storemerge616.reload, { 0, 2, 1 }
uselistorder i32 %18, { 1, 0 }
uselistorder i64 %indvars.iv28.reload, { 1, 2, 0 }
uselistorder i32 %14, { 1, 0 }
uselistorder i32 %storemerge921.reload, { 0, 2, 1 }
uselistorder i64 %6, { 1, 0 }
uselistorder i32 %4, { 1, 0 }
uselistorder i32 %storemerge1119.reload, { 0, 2, 1 }
uselistorder i32* %storemerge1119.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.018.reg2mem, { 2, 1, 0 }
uselistorder i32* %storemerge921.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.120.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge616.reg2mem, { 2, 1, 0 }
uselistorder i32* %sv_0.215.reg2mem, { 2, 1, 0 }
uselistorder i64 32, { 2, 0, 1 }
uselistorder i64 16, { 1, 0 }
uselistorder i32 0, { 6, 8, 0, 1, 4, 5, 2, 3, 7 }
uselistorder i64 4, { 2, 0, 1 }
uselistorder i32 4, { 4, 3, 0, 2, 1 }
uselistorder i32 2, { 0, 3, 1, 4, 2 }
uselistorder label LBL_15, { 1, 2, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
0
|
CompRealVul
|
__rta_reserve_11552
|
__rta_reserve
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %arg3 to i16
%2 = add i16 %1, 4
%3 = add i64 %arg3, 7
%4 = and i64 %3, 4294967292
%5 = call i64 @FUNC(i64 %0, i64 %4)
%6 = trunc i64 %arg2 to i16
%7 = add i64 %5, 2
%8 = inttoptr i64 %7 to i16*
store i16 %6, i16* %8, align 2
%9 = inttoptr i64 %5 to i16*
store i16 %2, i16* %9, align 2
ret i64 %5
uselistorder i64 %arg3, { 1, 0 }
}
|
1
|
CompRealVul
|
atalk_getname_5318
|
atalk_getname
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) 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 i64, align 8
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %2, i64 1)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %2)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %10, label LBL_2, label LBL_4
LBL_2:
%11 = trunc i64 %1 to i32
%12 = bitcast i64* %arg3 to i32*
store i32 18, i32* %12, align 4
%13 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 8)
%14 = trunc i64 %arg4 to i32
%15 = icmp eq i32 %14, 0
%16 = icmp eq i32 %11, 1
%or.cond = or i1 %15, %16
store i64 4294967294, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_3, label LBL_4
LBL_3:
%17 = call i64* @memcpy(i64* %arg2, i64* nonnull %sv_0, i32 18)
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, 1, 2 }
uselistorder i32 0, { 1, 0, 2, 3 }
uselistorder label LBL_4, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
lvf_probe_414
|
lvf_probe
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 1280722502
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%.off = add i32 %5, -1
%6 = icmp ult i32 %.off, 256
%spec.select = select i1 %6, i64 50, i64 0
ret i64 %spec.select
LBL_2:
ret i64 0
}
|
0
|
CompRealVul
|
_process_request_next_key_12847
|
_process_request_next_key
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%sv_1.0.lcssa.reg2mem = alloca i64
%sv_1.01.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %3, %0
%5 = add i64 %0, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = trunc i64 %7 to i32
%9 = trunc i64 %3 to i32
%10 = sub i32 -2, %9
%11 = add i32 %10, %8
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i64 %3, i64* %.reg2mem
store i32 %11, i32* %sv_0.02.reg2mem
store i64 %4, i64* %sv_1.01.reg2mem
store i64 %4, i64* %sv_1.0.lcssa.reg2mem
store i32 %11, i32* %sv_0.0.lcssa.reg2mem
br i1 %13, label LBL_1, label LBL_3
LBL_1:
%sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%14 = inttoptr i64 %sv_1.01.reload to i8*
%15 = load i8, i8* %14, align 1
%16 = icmp eq i8 %15, 32
%17 = icmp eq i1 %16, false
store i64 %sv_1.01.reload, i64* %sv_1.0.lcssa.reg2mem
store i32 %sv_0.02.reload, i32* %sv_0.0.lcssa.reg2mem
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
%18 = add i32 %sv_0.02.reload, -1
%19 = add i64 %sv_1.01.reload, 1
%20 = add i64 %.reload, 1
store i64 %20, i64* %2, align 8
%21 = icmp eq i32 %18, 0
%22 = icmp eq i1 %21, false
store i64 %20, i64* %.reg2mem
store i32 %18, i32* %sv_0.02.reg2mem
store i64 %19, i64* %sv_1.01.reg2mem
store i64 %19, i64* %sv_1.0.lcssa.reg2mem
store i32 %18, i32* %sv_0.0.lcssa.reg2mem
br i1 %22, label LBL_1, label LBL_3
LBL_3:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem
%23 = inttoptr i64 %sv_1.0.lcssa.reload to i64*
%24 = call i64* @memchr(i64* %23, i32 32, i32 %sv_0.0.lcssa.reload)
%25 = icmp eq i64* %24, null
br i1 %25, label LBL_5, label LBL_4
LBL_4:
%26 = ptrtoint i64* %24 to i64
%27 = sub i64 %26, %sv_1.0.lcssa.reload
%28 = add i64 %0, 24
%29 = inttoptr i64 %28 to i64*
store i64 %27, i64* %29, align 8
%30 = load i64, i64* %2, align 8
%31 = add i64 %30, %27
store i64 %31, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%32 = sext i32 %sv_0.0.lcssa.reload to i64
%33 = add i64 %0, 24
%34 = inttoptr i64 %33 to i64*
store i64 %32, i64* %34, align 8
%35 = load i64, i64* %2, align 8
%36 = add i64 %35, %32
store i64 %36, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
store i64 %storemerge.reload, i64* %2, align 8
ret i64 0
uselistorder i64* %24, { 1, 0 }
uselistorder i32 %sv_0.02.reload, { 1, 0 }
uselistorder i64 %sv_1.01.reload, { 1, 0, 2 }
uselistorder i64 %3, { 0, 2, 1 }
uselistorder i64* %2, { 0, 2, 1, 3, 4 }
uselistorder i64 %0, { 2, 1, 3, 0, 4 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
CompRealVul
|
color_cmyk_to_rgb_13411
|
color_cmyk_to_rgb
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.pre-phi22.reg2mem = alloca i64*
%xmm0.016.reg2mem = alloca i128
%indvars.iv19.reg2mem = alloca i64
%rdi = alloca i64, align 8
%2 = load i64, i64* %1
%3 = load i128, i128* %0
%4 = trunc i64 %2 to i32
%5 = icmp ult i32 %4, 4
br i1 %5, label LBL_7, label LBL_1
LBL_1:
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 16
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %6, 48
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %9, %12
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_7, label LBL_2
LBL_2:
%15 = add i64 %6, 80
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %9, %17
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_7, label LBL_3
LBL_3:
%20 = add i64 %6, 112
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = icmp eq i32 %9, %22
%24 = icmp eq i1 %23, false
br i1 %24, label LBL_7, label LBL_4
LBL_4:
%25 = add i64 %6, 20
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %6, 52
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = icmp eq i32 %27, %30
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_7, label LBL_5
LBL_5:
%33 = add i64 %6, 84
%34 = inttoptr i64 %33 to i32*
%35 = load i32, i32* %34, align 4
%36 = icmp eq i32 %27, %35
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_7, label LBL_6
LBL_6:
%38 = add i64 %6, 116
%39 = inttoptr i64 %38 to i32*
%40 = load i32, i32* %39, align 4
%41 = icmp eq i32 %27, %40
br i1 %41, label LBL_8, label LBL_7
LBL_7:
%42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 29)
%44 = sext i32 %43 to i64
store i64 %44, i64* %rax.0.reg2mem
br label LBL_14
LBL_8:
%45 = add i64 %6, 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i64 %6, 12
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = mul i32 %50, %47
%52 = add i64 %6, 24
%53 = inttoptr i64 %52 to i32*
%54 = load i32, i32* %53, align 4
%55 = urem i32 %54, 32
%56 = icmp eq i32 %55, 0
%notmask25 = shl nsw i32 -1, %55
%57 = sub i32 0, %notmask25
%phitmp7 = sub i32 %57, 1
%storemerge = select i1 %56, i32 0, i32 %phitmp7
%58 = call i128 @FUNC(i128 %3, i128 %3)
%59 = call i128 @FUNC(i32 %storemerge)
%60 = call i128 @FUNC(i32 1065353216)
%61 = call i128 @FUNC(i128 %60, i128 %59)
%62 = call i64 @__asm_movss.1(i128 %61)
%63 = add i64 %6, 56
%64 = inttoptr i64 %63 to i32*
%65 = load i32, i32* %64, align 4
%66 = urem i32 %65, 32
%67 = icmp eq i32 %66, 0
%notmask26 = shl nsw i32 -1, %66
%68 = sub i32 0, %notmask26
%phitmp10 = sub i32 %68, 1
%storemerge1 = select i1 %67, i32 0, i32 %phitmp10
%69 = call i128 @FUNC(i128 %59, i128 %59)
%70 = call i128 @FUNC(i32 %storemerge1)
%71 = call i128 @FUNC(i32 1065353216)
%72 = call i128 @FUNC(i128 %71, i128 %70)
%73 = call i64 @__asm_movss.1(i128 %72)
%74 = add i64 %6, 88
%75 = inttoptr i64 %74 to i32*
%76 = load i32, i32* %75, align 4
%77 = urem i32 %76, 32
%78 = icmp eq i32 %77, 0
%notmask27 = shl nsw i32 -1, %77
%79 = sub i32 0, %notmask27
%phitmp13 = sub i32 %79, 1
%storemerge2 = select i1 %78, i32 0, i32 %phitmp13
%80 = call i128 @FUNC(i128 %70, i128 %70)
%81 = call i128 @FUNC(i32 %storemerge2)
%82 = call i128 @FUNC(i32 1065353216)
%83 = call i128 @FUNC(i128 %82, i128 %81)
%84 = call i64 @__asm_movss.1(i128 %83)
%85 = add i64 %6, 120
%86 = inttoptr i64 %85 to i32*
%87 = load i32, i32* %86, align 4
%88 = urem i32 %87, 32
%89 = icmp eq i32 %88, 0
%notmask = shl nsw i32 -1, %88
%90 = sub i32 0, %notmask
%phitmp = sub i32 %90, 1
%storemerge3 = select i1 %89, i32 0, i32 %phitmp
%91 = call i128 @FUNC(i128 %81, i128 %81)
%92 = call i128 @FUNC(i32 %storemerge3)
%93 = call i128 @FUNC(i32 1065353216)
%94 = call i128 @FUNC(i128 %93, i128 %92)
%95 = call i64 @__asm_movss.1(i128 %94)
%96 = icmp eq i32 %51, 0
br i1 %96, label LBL_8.LBL_12_crit_edge, label LBL_10
LBL_9:
%.pre = add i64 %6, 128
%.pre21 = inttoptr i64 %.pre to i64*
store i64* %.pre21, i64** %.pre-phi22.reg2mem
br label LBL_12
LBL_10:
%97 = trunc i64 %62 to i32
%98 = trunc i64 %73 to i32
%99 = trunc i64 %84 to i32
%100 = trunc i64 %95 to i32
%101 = add i64 %6, 32
%102 = inttoptr i64 %101 to i64*
%103 = add i64 %6, 64
%104 = inttoptr i64 %103 to i64*
%105 = add i64 %6, 96
%106 = inttoptr i64 %105 to i64*
%107 = add i64 %6, 128
%108 = inttoptr i64 %107 to i64*
%wide.trip.count = zext i32 %51 to i64
store i64 0, i64* %indvars.iv19.reg2mem
store i128 %94, i128* %xmm0.016.reg2mem
br label LBL_11
LBL_11:
%xmm0.016.reload = load i128, i128* %xmm0.016.reg2mem
%indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem
%109 = load i64, i64* %102, align 8
%110 = mul i64 %indvars.iv19.reload, 4
%111 = add i64 %109, %110
%112 = inttoptr i64 %111 to i32*
%113 = load i32, i32* %112, align 4
%114 = call i128 @FUNC(i128 %xmm0.016.reload, i128 %xmm0.016.reload)
%115 = call i128 @FUNC(i32 %113)
%116 = call i128 @FUNC(i32 %97)
%117 = call i128 @FUNC(i128 %115, i128 %116)
%118 = call i64 @__asm_movss.1(i128 %117)
%119 = trunc i64 %118 to i32
%120 = load i64, i64* %104, align 8
%121 = add i64 %120, %110
%122 = inttoptr i64 %121 to i32*
%123 = load i32, i32* %122, align 4
%124 = call i128 @FUNC(i128 %117, i128 %117)
%125 = call i128 @FUNC(i32 %123)
%126 = call i128 @FUNC(i32 %98)
%127 = call i128 @FUNC(i128 %125, i128 %126)
%128 = call i64 @__asm_movss.1(i128 %127)
%129 = trunc i64 %128 to i32
%130 = load i64, i64* %106, align 8
%131 = add i64 %130, %110
%132 = inttoptr i64 %131 to i32*
%133 = load i32, i32* %132, align 4
%134 = call i128 @FUNC(i128 %127, i128 %127)
%135 = call i128 @FUNC(i32 %133)
%136 = call i128 @FUNC(i32 %99)
%137 = call i128 @FUNC(i128 %135, i128 %136)
%138 = call i64 @__asm_movss.1(i128 %137)
%139 = trunc i64 %138 to i32
%140 = load i64, i64* %108, align 8
%141 = add i64 %140, %110
%142 = inttoptr i64 %141 to i32*
%143 = load i32, i32* %142, align 4
%144 = call i128 @FUNC(i128 %137, i128 %137)
%145 = call i128 @FUNC(i32 %143)
%146 = call i128 @FUNC(i32 %100)
%147 = call i128 @FUNC(i128 %145, i128 %146)
%148 = call i64 @__asm_movss.1(i128 %147)
%149 = trunc i64 %148 to i32
%150 = call i128 @FUNC(i32 1065353216)
%151 = call i128 @FUNC(i128 %150, i32 %119)
%152 = call i64 @__asm_movss.1(i128 %151)
%153 = trunc i64 %152 to i32
%154 = call i128 @FUNC(i32 1065353216)
%155 = call i128 @FUNC(i128 %154, i32 %129)
%156 = call i64 @__asm_movss.1(i128 %155)
%157 = trunc i64 %156 to i32
%158 = call i128 @FUNC(i32 1065353216)
%159 = call i128 @FUNC(i128 %158, i32 %139)
%160 = call i64 @__asm_movss.1(i128 %159)
%161 = trunc i64 %160 to i32
%162 = call i128 @FUNC(i32 1065353216)
%163 = call i128 @FUNC(i128 %162, i32 %149)
%164 = call i64 @__asm_movss.1(i128 %163)
%165 = trunc i64 %164 to i32
%166 = call i128 @FUNC(i32 %153)
%167 = load i32, i32* inttoptr (i64 4202616 to i32*), align 8
%168 = call i128 @FUNC(i32 %167)
%169 = call i128 @FUNC(i128 %168, i128 %166)
%170 = call i128 @__asm_mulss.2(i128 %169, i32 %165)
%171 = load i64, i64* %102, align 8
%172 = add i64 %171, %110
%173 = call i32 @FUNC(i128 %170)
%174 = inttoptr i64 %172 to i32*
store i32 %173, i32* %174, align 4
%175 = call i128 @FUNC(i32 %157)
%176 = call i128 @FUNC(i32 1132396544)
%177 = call i128 @FUNC(i128 %176, i128 %175)
%178 = call i128 @__asm_mulss.2(i128 %177, i32 %165)
%179 = load i64, i64* %104, align 8
%180 = add i64 %179, %110
%181 = call i32 @FUNC(i128 %178)
%182 = inttoptr i64 %180 to i32*
store i32 %181, i32* %182, align 4
%183 = call i128 @FUNC(i32 %161)
%184 = call i128 @FUNC(i32 1132396544)
%185 = call i128 @FUNC(i128 %184, i128 %183)
%186 = call i128 @__asm_mulss.2(i128 %185, i32 %165)
%187 = load i64, i64* %106, align 8
%188 = add i64 %187, %110
%189 = call i32 @FUNC(i128 %186)
%190 = inttoptr i64 %188 to i32*
store i32 %189, i32* %190, align 4
%indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next20, %wide.trip.count
store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem
store i128 %186, i128* %xmm0.016.reg2mem
store i64* %108, i64** %.pre-phi22.reg2mem
br i1 %exitcond, label LBL_12, label LBL_11
LBL_12:
%191 = bitcast i64* %rdi to i32*
%.pre-phi22.reload = load i64*, i64** %.pre-phi22.reg2mem
%192 = load i64, i64* %.pre-phi22.reload, align 8
%193 = inttoptr i64 %192 to i64*
call void @free(i64* %193)
store i64 0, i64* %.pre-phi22.reload, align 8
store i32 8, i32* %53, align 4
store i32 8, i32* %64, align 4
store i32 8, i32* %75, align 4
%194 = load i32, i32* %191, align 8
%195 = add i32 %194, -1
%196 = bitcast i64* %arg1 to i32*
store i32 %195, i32* %196, align 4
%197 = add i64 %6, 136
%198 = inttoptr i64 %197 to i32*
store i32 0, i32* %198, align 4
%199 = load i32, i32* %191, align 8
%200 = icmp ugt i32 %199, 3
%201 = zext i32 %199 to i64
store i64 3, i64* %indvars.iv.reg2mem
store i64 %201, i64* %rax.0.reg2mem
br i1 %200, label LBL_13, label LBL_14
LBL_13:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%202 = mul i64 %indvars.iv.next, 32
%203 = add i64 %202, %45
%204 = mul i64 %indvars.iv.reload, 32
%205 = add i64 %204, %45
%206 = inttoptr i64 %205 to i64*
%207 = inttoptr i64 %203 to i64*
%208 = call i64* @memcpy(i64* %206, i64* %207, i32 32)
%exitcond24 = icmp eq i64 %indvars.iv.next, %201
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %201, i64* %rax.0.reg2mem
br i1 %exitcond24, label LBL_14, label LBL_13
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %indvars.iv.next, { 0, 2, 1 }
uselistorder i64 %indvars.iv.reload, { 1, 0 }
uselistorder i64 %201, { 0, 2, 1 }
uselistorder i32 %165, { 2, 1, 0 }
uselistorder i128 %137, { 2, 1, 0 }
uselistorder i128 %127, { 2, 1, 0 }
uselistorder i128 %117, { 2, 1, 0 }
uselistorder i64 %110, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i128 %xmm0.016.reload, { 1, 0 }
uselistorder i128 %81, { 1, 0, 2 }
uselistorder i128 %70, { 1, 0, 2 }
uselistorder i128 %59, { 1, 0, 2 }
uselistorder i64 %6, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 18, 19, 17, 16, 14, 15, 13, 12, 11, 10 }
uselistorder i64* %indvars.iv19.reg2mem, { 1, 0, 2 }
uselistorder i128* %xmm0.016.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder i64 128, { 1, 0 }
uselistorder i32 -1, { 4, 0, 1, 2, 3 }
uselistorder i32 32, { 4, 0, 1, 2, 3 }
uselistorder label LBL_13, { 1, 0 }
}
|
0
|
CompRealVul
|
bracketed_paste_19005
|
bracketed_paste
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%sv_0.1.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_0.0.ph.reg2mem = alloca i32
%rdx = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%0 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))
%1 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4
%2 = load i32, i32* @gv_1, align 4
%3 = call i64 @FUNC(i64 %0)
store i32 ptrtoint (i32* @gv_2 to i32), i32* @gv_3, align 4
store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8
%4 = load i32, i32* @gv_1, align 4
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 1, i64 0, i64 0)
br label LBL_2
LBL_2:
%8 = ptrtoint i64* %arg3 to i64
%9 = ptrtoint i64* %sv_3 to i64
%10 = trunc i64 %3 to i32
%11 = icmp slt i32 %10, 1024
%spec.select = select i1 %11, i64 %0, i64 0
%12 = icmp eq i64 %spec.select, 0
%13 = icmp eq i1 %12, false
%14 = ptrtoint i32* %sv_2 to i64
%15 = add i64 %9, -1072
%16 = bitcast i32* %sv_2 to i64*
%17 = trunc i64 %arg2 to i32
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
%20 = trunc i64 %arg1 to i32
%21 = icmp eq i32 %20, 3
%22 = icmp ult i32 %20, 4
%23 = icmp eq i64* %arg3, null
%24 = add i64 %8, 8
%25 = inttoptr i64 %24 to i64*
%26 = bitcast i64* %rdx to i32*
%27 = bitcast i64* %arg3 to i32*
store i32 -1, i32* %sv_0.0.ph.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
store i32 0, i32* %sv_1.0.reg2mem
br label LBL_4
LBL_4:
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
br i1 %13, label LBL_6, label LBL_5
LBL_5:
%28 = call i64 @FUNC()
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label LBL_34, label LBL_6
LBL_6:
br label LBL_7
LBL_7:
%31 = call i64 @FUNC()
%32 = trunc i64 %31 to i32
switch i32 %32, label LBL_9 [
i32 255, label LBL_7.backedge
i32 254, label LBL_7.backedge
i32 253, label LBL_7.backedge
i32 0, label LBL_34
]
LBL_8:
br label LBL_7
LBL_9:
%33 = load i32, i32* @gv_6, align 4
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_34, label LBL_10
LBL_10:
%36 = load i32, i32* @gv_7, align 4
%37 = icmp eq i32 %36, 0
br i1 %37, label LBL_12, label LBL_11
LBL_11:
%38 = sext i32 %sv_1.0.reload to i64
%39 = add i64 %38, %14
%40 = and i64 %31, 4294967295
%41 = call i64 @FUNC(i64 %40, i64 %39)
%42 = trunc i64 %41 to i32
%43 = add i32 %sv_1.0.reload, %42
store i32 %43, i32* %sv_1.1.reg2mem
br label LBL_13
LBL_12:
%44 = add i32 %sv_1.0.reload, 1
%45 = sext i32 %sv_1.0.reload to i64
%46 = trunc i64 %31 to i8
%47 = add i64 %15, %45
%48 = inttoptr i64 %47 to i8*
store i8 %46, i8* %48, align 1
store i32 %44, i32* %sv_1.1.reg2mem
br label LBL_13
LBL_13:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%49 = sext i32 %sv_1.1.reload to i64
%50 = add i64 %15, %49
%51 = inttoptr i64 %50 to i8*
store i8 0, i8* %51, align 1
br i1 %12, label LBL_16, label LBL_14
LBL_14:
%52 = call i64 @FUNC(i64* nonnull %16, i64 %spec.select, i32 %sv_1.1.reload)
%53 = trunc i64 %52 to i32
%54 = icmp eq i32 %53, 0
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_16, label LBL_15
LBL_15:
%56 = add i64 %spec.select, %49
%57 = inttoptr i64 %56 to i8*
%58 = load i8, i8* %57, align 1
%59 = icmp eq i8 %58, 0
%60 = icmp eq i1 %59, false
store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem
br i1 %60, label LBL_4, label LBL_34
LBL_16:
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %19, label LBL_33, label LBL_17
LBL_17:
br i1 %21, label LBL_29, label LBL_18
LBL_18:
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %22, label LBL_19, label LBL_33
LBL_19:
switch i32 %20, label LBL_20 [
i32 2, label LBL_24
i32 0, label LBL_21
]
LBL_20:
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %23, label LBL_33, label LBL_22
LBL_21:
%61 = zext i32 %sv_1.1.reload to i64
%62 = call i64 @FUNC(i64* nonnull %16, i64 %61, i64 1)
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_22:
%63 = zext i32 %sv_1.1.reload to i64
%64 = call i64 @FUNC(i64 %8, i64 %63)
%65 = trunc i64 %64 to i32
%66 = icmp eq i32 %65, 0
%67 = icmp eq i1 %66, false
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %67, label LBL_33, label LBL_23
LBL_23:
%68 = load i64, i64* %25, align 8
%69 = load i32, i32* %26, align 8
%70 = sext i32 %69 to i64
%71 = add i64 %68, %70
%72 = call i64 @FUNC(i64 %71, i64* nonnull %16, i64 %49)
%73 = add i32 %69, %sv_1.1.reload
store i32 %73, i32* %27, align 4
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_24:
%74 = call i64 @FUNC()
%75 = trunc i64 %74 to i32
%76 = icmp eq i32 %75, 0
%77 = icmp eq i1 %76, false
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %77, label LBL_33, label LBL_25
LBL_25:
%78 = icmp eq i32 %sv_1.1.reload, 1
%79 = icmp eq i1 %78, false
br i1 %79, label LBL_28, label LBL_26
LBL_26:
%80 = load i32, i32* %sv_2, align 4
%trunc = trunc i32 %80 to i8
switch i8 %trunc, label LBL_28 [
i8 13, label LBL_27
i8 10, label LBL_27
]
LBL_27:
%81 = urem i32 %80, 256
%82 = zext i32 %81 to i64
%83 = call i64 @FUNC(i64 %82)
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_28:
%84 = zext i32 %sv_1.1.reload to i64
%85 = call i64 @FUNC(i64* nonnull %16, i64 %84)
%86 = call i64 @FUNC(i64* nonnull %16, i64 %84)
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_29:
%87 = icmp eq i32 %sv_0.0.ph.reload, -1
%88 = icmp eq i1 %87, false
store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem
br i1 %88, label LBL_33, label LBL_30
LBL_30:
%89 = load i32, i32* @gv_7, align 4
%90 = icmp eq i32 %89, 0
br i1 %90, label LBL_32, label LBL_31
LBL_31:
%91 = call i64 @FUNC(i64* nonnull %16)
%92 = trunc i64 %91 to i32
store i32 %92, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_32:
%93 = load i32, i32* %sv_2, align 4
%94 = urem i32 %93, 256
store i32 %94, i32* %sv_0.1.reg2mem
br label LBL_33
LBL_33:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
store i32 %sv_0.1.reload, i32* %sv_0.0.ph.reg2mem
br label LBL_3
LBL_34:
%95 = load i32, i32* @gv_3, align 4
%96 = add i32 %95, -1
store i32 %96, i32* @gv_3, align 4
store i32 %1, i32* bitcast (i64* @gv_4 to i32*), align 8
%97 = icmp eq i32 %2, 0
%98 = icmp eq i1 %97, false
br i1 %98, label LBL_36, label LBL_35
LBL_35:
%99 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 0, i64 0)
br label LBL_36
LBL_36:
%100 = zext i32 %sv_0.0.ph.reload to i64
ret i64 %100
uselistorder i32 %sv_1.1.reload, { 3, 2, 6, 5, 4, 7, 1, 0 }
uselistorder i32 %sv_1.0.reload, { 1, 2, 3, 0 }
uselistorder i32 %sv_0.0.ph.reload, { 11, 8, 10, 6, 5, 7, 1, 2, 4, 3, 0, 9 }
uselistorder i64* %16, { 0, 3, 2, 1, 4, 5 }
uselistorder i64 %15, { 1, 0 }
uselistorder i64 %spec.select, { 0, 2, 1 }
uselistorder i64 %8, { 1, 0 }
uselistorder i32* %sv_2, { 2, 1, 3, 0 }
uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 10, 9, 11, 7, 6, 8, 2, 3, 5, 4, 1, 12 }
uselistorder i32* @gv_7, { 1, 0 }
uselistorder i32 -1, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64)* @set_option_value, { 1, 0 }
uselistorder i32* @gv_3, { 2, 1, 0 }
uselistorder i32 0, { 8, 9, 10, 11, 1, 13, 14, 15, 2, 16, 0, 12, 17, 18, 3, 4, 5, 6, 7 }
uselistorder i32* @gv_1, { 1, 0 }
uselistorder label LBL_34, { 1, 2, 3, 0 }
uselistorder label LBL_33, { 3, 2, 1, 6, 5, 4, 8, 7, 10, 0, 9, 11 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
svhandler_flash_pgm_word_6476
|
svhandler_flash_pgm_word
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%1 = zext i32 %0 to i64
%2 = load i32, i32* @gv_1, align 4
%3 = call i64 @FUNC(i64 %1, i64 zext (i32 ptrtoint (i32* @gv_1 to i32) to i64))
%4 = and i64 %3, 4294967295
%5 = xor i64 %4, 1
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 0
%8 = icmp eq i1 %7, false
store i64 %5, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC()
%10 = call i64 @FUNC()
%11 = zext i32 %2 to i64
%12 = call i64 @FUNC(i64 %1, i64 %11)
%13 = call i64 @FUNC()
%14 = trunc i64 %13 to i32
%15 = urem i32 %14, 256
store i32 %15, i32* bitcast (i64* @gv_0 to i32*), align 8
store i32 0, i32* @gv_1, align 4
store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8
%16 = call i64 @FUNC()
%17 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%18 = and i32 %17, -4
%19 = or i32 %18, 2
%20 = zext i32 %19 to i64
store i32 %19, i32* @gv_3, align 4
store i64 %20, 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 i8 0, { 1, 0 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder i32 1, { 4, 3, 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
0
|
CompRealVul
|
libxenvchan_data_ready_6107
|
libxenvchan_data_ready
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = call i64 @FUNC(i64 %0)
ret i64 %2
uselistorder i64 1, { 1, 0 }
}
|
0
|
CompRealVul
|
ipc_addid_11777
|
ipc_addid
|
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i64
%.pre-phi6.reg2mem = alloca i32*
%storemerge.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i32, align 4
%3 = trunc i64 %arg3 to i32
%sext = mul i64 %arg3, 4294967296
%4 = ashr exact i64 %sext, 32
%5 = add i64 %2, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp slt i32 %3, 257
%spec.select = select i1 %8, i64 %4, i64 256
%9 = and i64 %1, 4294967295
%10 = icmp sgt i64 %spec.select, %9
store i64 1, i64* %rax.0.shrunk.reg2mem
br i1 %10, label LBL_1, label LBL_10
LBL_1:
%11 = ptrtoint i64* %arg2 to i64
%12 = call i64 @FUNC(i64 0)
%13 = add i64 %11, 28
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %11, 24
%16 = inttoptr i64 %15 to i8*
store i8 0, i8* %16, align 1
%17 = call i64 @FUNC()
%18 = call i64 @FUNC(i64 %13)
%19 = icmp slt i32 %7, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %19, label LBL_3, label LBL_2
LBL_2:
%20 = zext i32 %7 to i64
%21 = call i64 @FUNC(i64 %20)
%22 = and i64 %21, 4294967295
store i64 %22, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%23 = add i64 %2, 12
%24 = call i64 @FUNC(i64 %23, i64 %11, i64 %storemerge.reload, i64 0, i64 1)
%25 = trunc i64 %24 to i32
%26 = call i64 @FUNC()
%27 = icmp slt i32 %25, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_5, label LBL_4
LBL_4:
%29 = call i64 @FUNC(i64 %13)
%30 = call i64 @FUNC()
store i64 %24, i64* %rax.0.shrunk.reg2mem
br label LBL_10
LBL_5:
%31 = bitcast i64* %rdi to i32*
%32 = load i32, i32* %31, align 8
%33 = add i32 %32, 1
store i32 %33, i32* %arg1, align 4
%34 = bitcast i32* %sv_0 to i64*
%35 = bitcast i32* %sv_1 to i64*
%36 = call i64 @FUNC(i64* nonnull %34, i64* nonnull %35)
%37 = load i32, i32* %sv_0, align 4
%38 = add i64 %11, 12
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = add i64 %11, 8
%41 = inttoptr i64 %40 to i32*
store i32 %37, i32* %41, align 4
%42 = load i32, i32* %sv_1, align 4
%43 = add i64 %11, 20
%44 = inttoptr i64 %43 to i32*
store i32 %42, i32* %44, align 4
%45 = add i64 %11, 16
%46 = inttoptr i64 %45 to i32*
store i32 %42, i32* %46, align 4
%47 = icmp eq i1 %19, false
br i1 %47, label LBL_8, label LBL_6
LBL_6:
%48 = add i64 %2, 8
%49 = inttoptr i64 %48 to i32*
%50 = load i32, i32* %49, align 4
%51 = add i32 %50, 1
store i32 %51, i32* %49, align 4
%52 = add i64 %11, 4
%53 = inttoptr i64 %52 to i32*
store i32 %50, i32* %53, align 4
%54 = load i32, i32* %49, align 4
%55 = icmp slt i32 %54, 65536
store i32* %53, i32** %.pre-phi6.reg2mem
br i1 %55, label LBL_9, label LBL_7
LBL_7:
store i32 0, i32* %49, align 4
store i32* %53, i32** %.pre-phi6.reg2mem
br label LBL_9
LBL_8:
%56 = zext i32 %7 to i64
%57 = call i64 @FUNC(i64 %56)
%58 = trunc i64 %57 to i32
%59 = add i64 %11, 4
%60 = inttoptr i64 %59 to i32*
store i32 %58, i32* %60, align 4
store i32 -1, i32* %6, align 4
store i32* %60, i32** %.pre-phi6.reg2mem
br label LBL_9
LBL_9:
%.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem
%61 = load i32, i32* %.pre-phi6.reload, align 4
%62 = zext i32 %61 to i64
%63 = and i64 %24, 4294967295
%64 = call i64 @FUNC(i64 %63, i64 %62)
%65 = trunc i64 %64 to i32
%66 = bitcast i64* %arg2 to i32*
store i32 %65, i32* %66, align 4
store i64 %24, i64* %rax.0.shrunk.reg2mem
br label LBL_10
LBL_10:
%rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem
%rax.0 = and i64 %rax.0.shrunk.reload, 4294967295
ret i64 %rax.0
uselistorder i32* %53, { 1, 0, 2 }
uselistorder i32* %49, { 1, 0, 2, 3 }
uselistorder i64 %24, { 1, 2, 0, 3 }
uselistorder i64 %11, { 1, 0, 2, 3, 4, 5, 6, 8, 7 }
uselistorder i32 %7, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32** %.pre-phi6.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder label LBL_10, { 1, 2, 0 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
uev_init1_13127
|
uev_init1
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
br i1 %0, label LBL_2, label LBL_1
LBL_1:
%1 = trunc i64 %arg2 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp slt i32 %1, 0
%4 = icmp eq i1 %3, false
%5 = icmp eq i1 %2, false
%6 = icmp eq i1 %4, %5
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = call i32* @__errno_location()
store i32 22, i32* %7, align 4
store i64 4294967295, i64* %storemerge.reg2mem
br label LBL_4
LBL_3:
%8 = ptrtoint i64* %arg1 to i64
%9 = call i64* @memset(i64* nonnull %arg1, i32 0, i32 4)
%10 = bitcast i64* %arg1 to i32*
store i32 %1, i32* %10, align 4
%11 = call i64 @FUNC(i64 %8, i64 0)
store i64 %11, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %1, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %arg1, { 0, 1, 3, 2 }
}
|
1
|
CompRealVul
|
st_change_trace_event_state_14073
|
st_change_trace_event_state
|
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i8* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = icmp eq i64 %1, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = trunc i64 %arg2 to i8
%4 = add i64 %1, 50
%5 = inttoptr i64 %4 to i8*
store i8 %3, i8* %5, align 1
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 i32 1, { 0, 4, 3, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
int_x509_param_set_hosts_11364
|
int_x509_param_set_hosts
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64 %arg3, 0
store i64 %0, i64* %rdi.0.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = inttoptr i64 %arg3 to i64*
%3 = trunc i64 %arg4 to i32
%4 = call i64* @memchr(i64* %2, i32 0, i32 %3)
%5 = icmp eq i64* %4, null
store i64 %arg3, i64* %rdi.0.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_2, label LBL_9
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%6 = trunc i64 %arg2 to i32
%7 = icmp eq i32 %6, 1
%8 = icmp eq i1 %7, false
%9 = icmp eq i64 %rdi.0.reload, 0
%or.cond = or i1 %8, %9
br i1 %or.cond, label LBL_4, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %rdi.0.reload)
store i64 0, i64* %arg1, align 8
br label LBL_4
LBL_4:
%11 = icmp ne i64 %arg3, 0
%12 = icmp eq i64 %arg4, 0
%13 = icmp eq i1 %12, false
%or.cond4 = icmp eq i1 %11, %13
store i64 1, i64* %rax.0.reg2mem
br i1 %or.cond4, label LBL_5, label LBL_9
LBL_5:
%14 = inttoptr i64 %arg3 to i8*
%15 = trunc i64 %arg4 to i32
%16 = call i8* @strndup(i8* %14, i32 %15)
%17 = icmp eq i8* %16, null
%18 = icmp eq i1 %17, false
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_6, label LBL_9
LBL_6:
%19 = ptrtoint i8* %16 to i64
%20 = call i64 @FUNC(i64 %arg3, i64 %19)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 1, i64* %rax.0.reg2mem
br i1 %23, label LBL_9, label LBL_7
LBL_7:
%24 = bitcast i8* %16 to i64*
call void @free(i64* %24)
%25 = call i64 @FUNC(i64 %19)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
store i64 0, i64* %rax.0.reg2mem
br i1 %28, label LBL_9, label LBL_8
LBL_8:
%29 = call i64 @FUNC(i64 %19)
store i64 0, i64* %arg1, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8* %16, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6 }
uselistorder i1 false, { 1, 2, 3, 0, 4 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 %arg4, { 1, 0, 2 }
uselistorder i64 %arg3, { 2, 4, 3, 0, 1, 5 }
uselistorder label LBL_9, { 2, 1, 0, 3, 4, 5 }
}
|
1
|
CompRealVul
|
handle_11651
|
handle
|
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i1
%.reg2mem = alloca i16
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%sv_0 = alloca i64, align 8
%sext = mul i64 %arg1, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = bitcast i64* %sv_0 to i16*
%5 = icmp eq i32 %arg3, 7
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = call i32 @memcmp(i64* %arg2, i64* bitcast ([6 x i8]* @gv_0 to i64*), i32 5)
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_3, label LBL_2
LBL_2:
%10 = ptrtoint i64* %arg4 to i64
%11 = add i64 %10, 4
%12 = inttoptr i64 %11 to i32*
%13 = add i64 %2, 5
%14 = call i16 @htons(i16 1)
store i16 %14, i16* %4, align 8
%15 = ptrtoint i64* %sv_0 to i64
%16 = or i64 %15, 2
%17 = load i32, i32* %12, align 4
%18 = inttoptr i64 %16 to i32*
store i32 %17, i32* %18, align 4
%19 = or i64 %15, 6
%20 = inttoptr i64 %13 to i16*
%21 = load i16, i16* %20, align 2
%22 = inttoptr i64 %19 to i16*
store i16 %21, i16* %22, align 2
%23 = load i16, i16* %20, align 2
%24 = call i16 @ntohs(i16 %23)
%25 = load i32, i32* %12, align 4
%26 = insertvalue %in_addr undef, i32 %25, 0
%27 = call i8* @inet_ntoa(%in_addr %26)
%28 = zext i16 %24 to i64
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* %27, i64 %28)
%30 = trunc i64 %3 to i32
%31 = call i32 @send(i32 %30, i64* nonnull %sv_0, i32 8, i32 0)
%32 = icmp ne i32 %31, 8
store i1 %32, i1* %rax.0.shrunk.reg2mem
br label LBL_12
LBL_3:
%33 = trunc i64 %1 to i16
%34 = ptrtoint i64* %sv_0 to i64
%35 = or i64 %34, 2
%36 = call i16 @htons(i16 2)
store i16 %36, i16* %4, align 8
%37 = bitcast i64* %rsi to i16*
%38 = inttoptr i64 %35 to i16*
store i16 %33, i16* %38, align 2
%39 = load i16, i16* %37, align 8
%40 = call i16 @ntohs(i16 %39)
store i16 %40, i16* bitcast (i32* @gv_2 to i16*), align 4
%41 = icmp ult i16 %40, 20001
br i1 %41, label LBL_5, label LBL_4
LBL_4:
store i32 1, i32* @gv_3, align 4
store i16 %40, i16* %.reg2mem
br label LBL_7
LBL_5:
%.pre = load i32, i32* @gv_3, align 4
%phitmp = icmp ne i32 %.pre, 0
%42 = icmp ult i16 %40, 100
%or.cond = icmp eq i1 %42, %phitmp
store i16 %40, i16* %.reg2mem
br i1 %or.cond, label LBL_6, label LBL_7
LBL_6:
store i32 0, i32* @gv_3, align 4
%43 = call i64* @memset(i64* nonnull @gv_4, i32 0, i32 40000)
%.pre6 = load i16, i16* bitcast (i32* @gv_2 to i16*), align 4
store i16 %.pre6, i16* %.reg2mem
br label LBL_7
LBL_7:
%44 = add i32 %arg3, -2
%.reload = load i16, i16* %.reg2mem
%45 = zext i32 %44 to i64
%46 = zext i16 %.reload to i64
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 %46, i64 %45)
%48 = load i16, i16* bitcast (i32* @gv_2 to i16*), align 4
%49 = zext i16 %48 to i64
%50 = call i64 @FUNC(i64 %49)
%51 = trunc i64 %50 to i32
%52 = icmp eq i32 %51, 0
br i1 %52, label LBL_9, label LBL_8
LBL_8:
%53 = call i32 @puts(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0))
store i1 false, i1* %rax.0.shrunk.reg2mem
br label LBL_12
LBL_9:
%54 = or i64 %34, 4
%55 = inttoptr i64 %54 to i16*
%56 = call i32 @putchar(i32 10)
%57 = or i64 %34, 6
%58 = trunc i32 %44 to i16
%59 = call i16 @htons(i16 %58)
store i16 %59, i16* %55, align 4
%60 = add i64 %2, 2
%61 = inttoptr i64 %57 to i64*
%62 = inttoptr i64 %60 to i64*
%63 = call i64* @memcpy(i64* nonnull %61, i64* %62, i32 %44)
%64 = add i32 %arg3, 4
%65 = icmp slt i32 %64, 2049
br i1 %65, label LBL_11, label LBL_10
LBL_10:
call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_8, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0))
br label LBL_11
LBL_11:
%66 = trunc i64 %3 to i32
%67 = call i32 @send(i32 %66, i64* nonnull %sv_0, i32 %64, i32 0)
%68 = icmp ne i32 %67, %64
store i1 %68, i1* %rax.0.shrunk.reg2mem
br label LBL_12
LBL_12:
%rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem
%rax.0 = zext i1 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32 %64, { 1, 0, 2 }
uselistorder i16 %40, { 1, 2, 0, 3, 4 }
uselistorder i16* %4, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %sv_0, { 3, 0, 4, 1, 2 }
uselistorder i64 %2, { 1, 0 }
uselistorder i16* %.reg2mem, { 0, 2, 3, 1 }
uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 3, 2 }
uselistorder i32* @gv_3, { 2, 0, 1 }
uselistorder i16* bitcast (i32* @gv_2 to i16*), { 2, 0, 1 }
uselistorder i32 (i32, i64*, i32, i32)* @send, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
uselistorder i16 (i16)* @ntohs, { 1, 0 }
uselistorder i64 2, { 2, 0, 1 }
uselistorder i16 (i16)* @htons, { 1, 2, 0 }
uselistorder label LBL_12, { 0, 2, 1 }
uselistorder label LBL_7, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
parse_csum_name_4274
|
parse_csum_name
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp slt i32 %0, 0
%3 = icmp eq i1 %2, false
%4 = icmp eq i64 %arg1, 0
%or.cond = or i1 %4, %3
store i64 %1, i64* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%5 = inttoptr i64 %arg1 to i8*
%6 = call i32 @strlen(i8* %5)
%7 = sext i32 %6 to i64
store i64 %7, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
br i1 %4, label LBL_5, label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%8 = trunc i64 %sv_0.0.reload to i32
%9 = icmp eq i32 %8, 4
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_8, label LBL_4
LBL_4:
%11 = inttoptr i64 %arg1 to i8*
%12 = call i32 @strncasecmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4)
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_8, label LBL_5
LBL_5:
%15 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4
%16 = icmp slt i32 %15, 30
store i64 1, i64* %rax.0.reg2mem
br i1 %16, label LBL_6, label LBL_14
LBL_6:
%17 = load i32, i32* @gv_1, align 4
%18 = icmp slt i32 %17, 27
store i64 3, i64* %rax.0.reg2mem
br i1 %18, label LBL_7, label LBL_14
LBL_7:
%19 = icmp slt i32 %17, 21
%. = select i1 %19, i64 5, i64 4
store i64 %., i64* %rax.0.reg2mem
br label LBL_14
LBL_8:
%20 = icmp eq i32 %8, 3
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_11, label LBL_9
LBL_9:
%22 = inttoptr i64 %arg1 to i8*
%23 = call i32 @strncasecmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 3)
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
store i64 2, i64* %rax.0.reg2mem
br i1 %25, label LBL_10, label LBL_14
LBL_10:
%26 = call i32 @strncasecmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i32 3)
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
store i64 1, i64* %rax.0.reg2mem
br i1 %28, label LBL_11, label LBL_14
LBL_11:
br i1 %10, label LBL_13, label LBL_12
LBL_12:
%29 = inttoptr i64 %arg1 to i8*
%30 = call i32 @strncasecmp(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32 4)
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
store i64 6, i64* %rax.0.reg2mem
br i1 %32, label LBL_13, label LBL_14
LBL_13:
%33 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %arg1)
%34 = call i64 @FUNC(i64 2)
unreachable
LBL_14:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i1 %4, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i32 3, { 1, 2, 0 }
uselistorder i64 1, { 2, 0, 1 }
uselistorder i32 (i8*, i8*, i32)* @strncasecmp, { 3, 2, 1, 0 }
uselistorder i32 4, { 1, 2, 0 }
uselistorder i32 1, { 1, 0, 3, 2 }
uselistorder i64 %arg1, { 2, 1, 0, 3, 5, 4 }
uselistorder label LBL_11, { 1, 0 }
}
|
0
|
CompRealVul
|
compaction_suitable_17974
|
compaction_suitable
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%sext2 = mul i64 %1, 4294967296
%2 = ashr exact i64 %sext2, 32
%3 = urem i64 %arg2, 64
%4 = shl i64 2, %3
%5 = add i64 %2, %4
%6 = call i64 @FUNC(i64 %0, i64 0, i64 %5, i64 0, i64 0)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_1, label LBL_6
LBL_1:
%10 = and i64 %arg2, 4294967295
%11 = call i64 @FUNC(i64 %0, i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp slt i32 %12, 0
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4
%15 = zext i32 %14 to i64
%sext3 = mul i64 %11, 4294967296
%16 = ashr exact i64 %sext3, 32
%17 = icmp sgt i64 %16, %15
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_5, label LBL_6
LBL_3:
%18 = icmp eq i32 %12, -1
%19 = icmp eq i1 %18, false
br i1 %19, label LBL_5, label LBL_4
LBL_4:
%20 = call i64 @FUNC(i64 %0, i64 %10, i64 %5, i64 0, i64 0)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %22, label LBL_5, label LBL_6
LBL_5:
store i64 2, 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, 4, 1, 2, 3 }
uselistorder i64 (i64, i64, i64, i64, i64)* @zone_watermark_ok, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_6, { 3, 0, 1, 2 }
uselistorder label LBL_5, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
tipc_sk_send_ack_9053
|
tipc_sk_send_ack
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 20
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %2)
%6 = call i64 @FUNC(i64 %2)
%7 = trunc i64 %1 to i32
%8 = icmp eq i32 %7, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %8, label LBL_5, label LBL_1
LBL_1:
%9 = add i64 %2, 16
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = zext i32 %11 to i64
%13 = call i64 @FUNC(i64 %2)
%14 = and i64 %5, 4294967295
%15 = and i64 %13, 4294967295
%16 = and i64 %6, 4294967295
%17 = call i64 @FUNC(i64 0, i64 1, i64 2, i64 0, i64 %16, i64 %15, i64 %14, i64 %12, i64 0)
%18 = icmp eq i64 %17, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_5, label LBL_2
LBL_2:
%19 = call i64 @FUNC(i64 %17)
%20 = add i64 %2, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %19, i64 %23)
store i32 0, i32* %21, align 4
%25 = add i64 %2, 12
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = urem i32 %27, 2
%29 = icmp eq i32 %28, 0
br i1 %29, label LBL_4, label LBL_3
LBL_3:
%30 = inttoptr i64 %3 to i32*
%31 = load i32, i32* %30, align 4
%32 = zext i32 %31 to i64
%33 = call i64 @FUNC(i64 %32)
%34 = trunc i64 %33 to i32
%35 = add i64 %2, 8
%36 = inttoptr i64 %35 to i32*
store i32 %34, i32* %36, align 4
%37 = and i64 %33, 4294967295
%38 = call i64 @FUNC(i64 %19, i64 %37)
br label LBL_4
LBL_4:
%39 = trunc i64 %6 to i32
%40 = call i64 @FUNC(i64 %19)
%41 = and i64 %40, 4294967295
%42 = call i64 @FUNC(i64 %4, i64 %17, i32 %39, i64 %41)
store i64 %42, 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 %19, { 1, 0, 2 }
uselistorder i64 %6, { 1, 0 }
uselistorder i64 %2, { 1, 0, 2, 4, 3, 5, 6, 7 }
uselistorder i64 4294967295, { 3, 0, 1, 4, 2 }
uselistorder i32 0, { 2, 3, 4, 0, 1 }
uselistorder label LBL_5, { 2, 0, 1 }
}
|
0
|
CompRealVul
|
new_pes_packet_693
|
new_pes_packet
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = call i64 @FUNC(i64 %0)
store i64 4198737, i64* %arg2, align 8
%3 = add i64 %1, 56
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i64*
store i64 %5, i64* %7, align 8
%8 = add i64 %1, 64
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %0, 16
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = load i64, i64* %7, align 8
%14 = sext i32 %10 to i64
%15 = add i64 %13, %14
%16 = inttoptr i64 %15 to i64*
%17 = call i64* @memset(i64* %16, i32 0, i32 32)
%18 = icmp eq i64 %15, 0
br i1 %18, label LBL_4, label LBL_1
LBL_1:
%19 = add i64 %1, 16
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 131
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_4, label LBL_2
LBL_2:
%24 = add i64 %1, 20
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = icmp eq i32 %26, 118
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_4, label LBL_3
LBL_3:
%29 = trunc i64 %15 to i32
%30 = add i64 %0, 20
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
br label LBL_5
LBL_4:
%32 = add i64 %1, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = add i64 %0, 20
%38 = inttoptr i64 %37 to i32*
store i32 %36, i32* %38, align 4
br label LBL_5
LBL_5:
%39 = add i64 %1, 24
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = add i64 %0, 24
%43 = inttoptr i64 %42 to i64*
store i64 %41, i64* %43, align 8
%44 = add i64 %1, 32
%45 = inttoptr i64 %44 to i64*
%46 = load i64, i64* %45, align 8
%47 = add i64 %0, 32
%48 = inttoptr i64 %47 to i64*
store i64 %46, i64* %48, align 8
%49 = add i64 %1, 40
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = add i64 %0, 40
%53 = inttoptr i64 %52 to i64*
store i64 %51, i64* %53, align 8
%54 = add i64 %1, 48
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = add i64 %0, 48
%58 = inttoptr i64 %57 to i32*
store i32 %56, i32* %58, align 4
store i64 -9223372036854775808, i64* %40, align 8
store i64 -9223372036854775808, i64* %45, align 8
store i64 0, i64* %4, align 8
store i32 0, i32* %9, align 4
store i32 0, i32* %55, align 4
ret i64 %1
uselistorder i64 %1, { 2, 3, 4, 5, 6, 7, 1, 0, 8, 9 }
uselistorder i64 %0, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }
uselistorder i64 -9223372036854775808, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
}
|
0
|
CompRealVul
|
get_opers_7516
|
get_opers
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = urem i64 %arg1, 256
%1 = add nuw nsw i64 %0, 4294967072
%2 = and i64 %1, 4294967295
store i64 %2, i64* @0, align 8
%trunc = trunc i64 %1 to i32
switch i32 %trunc, label LBL_31 [
i32 0, label LBL_1
i32 1, label LBL_2
i32 2, label LBL_3
i32 3, label LBL_4
i32 4, label LBL_5
i32 5, label LBL_6
i32 6, label LBL_7
i32 7, label LBL_8
i32 8, label LBL_9
i32 9, label LBL_10
i32 10, label LBL_11
i32 11, label LBL_12
i32 12, label LBL_13
i32 13, label LBL_14
i32 16, label LBL_15
i32 17, label LBL_16
i32 18, label LBL_17
i32 19, label LBL_18
i32 20, label LBL_19
i32 21, label LBL_20
i32 22, label LBL_21
i32 23, label LBL_22
i32 24, label LBL_23
i32 25, label LBL_24
i32 26, label LBL_25
i32 27, label LBL_26
i32 28, label LBL_27
i32 29, label LBL_28
i32 30, label LBL_29
i32 31, label LBL_30
]
LBL_1:
%3 = call i8* @strdup(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))
%4 = ptrtoint i8* %3 to i64
store i64 %4, i64* %rax.0.reg2mem
br label LBL_43
LBL_2:
%5 = call i8* @strdup(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0))
%6 = ptrtoint i8* %5 to i64
store i64 %6, i64* %rax.0.reg2mem
br label LBL_43
LBL_3:
%7 = call i8* @strdup(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))
%8 = ptrtoint i8* %7 to i64
store i64 %8, i64* %rax.0.reg2mem
br label LBL_43
LBL_4:
%9 = call i8* @strdup(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))
%10 = ptrtoint i8* %9 to i64
store i64 %10, i64* %rax.0.reg2mem
br label LBL_43
LBL_5:
%11 = call i8* @strdup(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))
%12 = ptrtoint i8* %11 to i64
store i64 %12, i64* %rax.0.reg2mem
br label LBL_43
LBL_6:
%13 = call i8* @strdup(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0))
%14 = ptrtoint i8* %13 to i64
store i64 %14, i64* %rax.0.reg2mem
br label LBL_43
LBL_7:
%15 = call i8* @strdup(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0))
%16 = ptrtoint i8* %15 to i64
store i64 %16, i64* %rax.0.reg2mem
br label LBL_43
LBL_8:
%17 = call i8* @strdup(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0))
%18 = ptrtoint i8* %17 to i64
store i64 %18, i64* %rax.0.reg2mem
br label LBL_43
LBL_9:
%19 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))
%20 = ptrtoint i8* %19 to i64
store i64 %20, i64* %rax.0.reg2mem
br label LBL_43
LBL_10:
%21 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_9, i64 0, i64 0))
%22 = ptrtoint i8* %21 to i64
store i64 %22, i64* %rax.0.reg2mem
br label LBL_43
LBL_11:
%23 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0))
%24 = ptrtoint i8* %23 to i64
store i64 %24, i64* %rax.0.reg2mem
br label LBL_43
LBL_12:
%25 = call i8* @strdup(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0))
%26 = ptrtoint i8* %25 to i64
store i64 %26, i64* %rax.0.reg2mem
br label LBL_43
LBL_13:
%27 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_12, i64 0, i64 0))
%28 = ptrtoint i8* %27 to i64
store i64 %28, i64* %rax.0.reg2mem
br label LBL_43
LBL_14:
%29 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_13, i64 0, i64 0))
%30 = ptrtoint i8* %29 to i64
store i64 %30, i64* %rax.0.reg2mem
br label LBL_43
LBL_15:
%31 = call i8* @strdup(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_14, i64 0, i64 0))
%32 = ptrtoint i8* %31 to i64
store i64 %32, i64* %rax.0.reg2mem
br label LBL_43
LBL_16:
%33 = call i8* @strdup(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0))
%34 = ptrtoint i8* %33 to i64
store i64 %34, i64* %rax.0.reg2mem
br label LBL_43
LBL_17:
%35 = call i8* @strdup(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_16, i64 0, i64 0))
%36 = ptrtoint i8* %35 to i64
store i64 %36, i64* %rax.0.reg2mem
br label LBL_43
LBL_18:
%37 = call i8* @strdup(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_17, i64 0, i64 0))
%38 = ptrtoint i8* %37 to i64
store i64 %38, i64* %rax.0.reg2mem
br label LBL_43
LBL_19:
%39 = call i8* @strdup(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_18, i64 0, i64 0))
%40 = ptrtoint i8* %39 to i64
store i64 %40, i64* %rax.0.reg2mem
br label LBL_43
LBL_20:
%41 = call i8* @strdup(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_19, i64 0, i64 0))
%42 = ptrtoint i8* %41 to i64
store i64 %42, i64* %rax.0.reg2mem
br label LBL_43
LBL_21:
%43 = call i8* @strdup(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_20, i64 0, i64 0))
%44 = ptrtoint i8* %43 to i64
store i64 %44, i64* %rax.0.reg2mem
br label LBL_43
LBL_22:
%45 = call i8* @strdup(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_21, i64 0, i64 0))
%46 = ptrtoint i8* %45 to i64
store i64 %46, i64* %rax.0.reg2mem
br label LBL_43
LBL_23:
%47 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_22, i64 0, i64 0))
%48 = ptrtoint i8* %47 to i64
store i64 %48, i64* %rax.0.reg2mem
br label LBL_43
LBL_24:
%49 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_23, i64 0, i64 0))
%50 = ptrtoint i8* %49 to i64
store i64 %50, i64* %rax.0.reg2mem
br label LBL_43
LBL_25:
%51 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_24, i64 0, i64 0))
%52 = ptrtoint i8* %51 to i64
store i64 %52, i64* %rax.0.reg2mem
br label LBL_43
LBL_26:
%53 = call i8* @strdup(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_25, i64 0, i64 0))
%54 = ptrtoint i8* %53 to i64
store i64 %54, i64* %rax.0.reg2mem
br label LBL_43
LBL_27:
%55 = call i8* @strdup(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_26, i64 0, i64 0))
%56 = ptrtoint i8* %55 to i64
store i64 %56, i64* %rax.0.reg2mem
br label LBL_43
LBL_28:
%57 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_27, i64 0, i64 0))
%58 = ptrtoint i8* %57 to i64
store i64 %58, i64* %rax.0.reg2mem
br label LBL_43
LBL_29:
%59 = call i8* @strdup(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_28, i64 0, i64 0))
%60 = ptrtoint i8* %59 to i64
store i64 %60, i64* %rax.0.reg2mem
br label LBL_43
LBL_30:
%61 = call i8* @strdup(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_29, i64 0, i64 0))
%62 = ptrtoint i8* %61 to i64
store i64 %62, i64* %rax.0.reg2mem
br label LBL_43
LBL_31:
%sext = mul i64 %arg1, 72057594037927936
%63 = ashr exact i64 %sext, 56
%64 = udiv i64 %63, 32
%65 = trunc i64 %64 to i8
%66 = urem i8 %65, 8
%67 = icmp eq i8 %66, 6
br i1 %67, label LBL_39, label LBL_32
LBL_32:
%68 = zext i8 %66 to i32
%69 = urem i64 %63, 32
%70 = call i64 @FUNC(i64 %69)
%71 = zext i8 %66 to i64
store i64 %71, i64* @1, align 8
store i64 0, i64* %rax.0.reg2mem
switch i32 %68, label LBL_43 [
i32 0, label LBL_34
i32 1, label LBL_33
i32 2, label LBL_35
i32 3, label LBL_36
i32 4, label LBL_37
i32 5, label LBL_38
]
LBL_33:
%72 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_30, i64 0, i64 0), i64 1)
store i64 %72, i64* %rax.0.reg2mem
br label LBL_43
LBL_34:
%73 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_31, i64 0, i64 0), i64 1)
store i64 %73, i64* %rax.0.reg2mem
br label LBL_43
LBL_35:
%74 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_32, i64 0, i64 0), i64 1)
store i64 %74, i64* %rax.0.reg2mem
br label LBL_43
LBL_36:
%75 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_33, i64 0, i64 0), i64 1)
store i64 %75, i64* %rax.0.reg2mem
br label LBL_43
LBL_37:
%76 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_34, i64 0, i64 0), i64 1)
store i64 %76, i64* %rax.0.reg2mem
br label LBL_43
LBL_38:
%77 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_35, i64 0, i64 0), i64 1)
store i64 %77, i64* %rax.0.reg2mem
br label LBL_43
LBL_39:
%78 = urem i64 %63, 16
%79 = or i64 %78, 128
%80 = call i64 @FUNC(i64 %79)
%81 = udiv i64 %63, 16
%82 = trunc i64 %81 to i8
%83 = urem i8 %82, 16
switch i8 %83, label LBL_40 [
i8 12, label LBL_42
i8 13, label LBL_41
]
LBL_40:
%84 = inttoptr i64 %80 to i64*
call void @free(i64* %84)
store i64 0, i64* %rax.0.reg2mem
br label LBL_43
LBL_41:
%85 = call i64 @FUNC(i64 %80, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_30, i64 0, i64 0), i64 1)
store i64 %85, i64* %rax.0.reg2mem
br label LBL_43
LBL_42:
%86 = call i64 @FUNC(i64 %80, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_31, i64 0, i64 0), i64 1)
store i64 %86, 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 %80, { 2, 0, 1 }
uselistorder i64 %70, { 5, 4, 3, 2, 0, 1 }
uselistorder i8 %66, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 32, 31, 40, 38, 37, 36, 35, 33, 34, 39, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i8*, i64)* @strcat_dup, { 1, 0, 7, 6, 5, 4, 3, 2 }
uselistorder i8* (i8*)* @strdup, { 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 1, { 2, 3, 0, 1 }
uselistorder label LBL_43, { 1, 0, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 }
}
|
1
|
CompRealVul
|
virtio_net_class_init_15324
|
virtio_net_class_init
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i32*
store i32 1, i32* %4, align 4
store i64 4198669, i64* %arg1, align 8
store i64 4198676, i64* %2, align 8
%5 = inttoptr i64 %3 to i64*
store i64 4198683, i64* %5, align 8
%6 = add i64 %0, 24
%7 = inttoptr i64 %6 to i64*
store i64 4198690, i64* %7, align 8
%8 = add i64 %0, 32
%9 = inttoptr i64 %8 to i64*
store i64 4198697, i64* %9, align 8
%10 = add i64 %0, 40
%11 = inttoptr i64 %10 to i64*
store i64 4198704, i64* %11, align 8
%12 = add i64 %0, 48
%13 = inttoptr i64 %12 to i64*
store i64 4198711, i64* %13, align 8
%14 = add i64 %0, 56
%15 = inttoptr i64 %14 to i64*
store i64 4198718, i64* %15, align 8
%16 = add i64 %0, 64
%17 = inttoptr i64 %16 to i64*
store i64 4198725, i64* %17, align 8
%18 = add i64 %0, 72
%19 = inttoptr i64 %18 to i64*
store i64 4198732, i64* %19, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }
}
|
1
|
CompRealVul
|
spl_dllist_object_count_elements_10855
|
spl_dllist_object_count_elements
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%rax.0.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i32, i32* %0
%sv_0 = alloca i64, align 8
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_4, label LBL_1
LBL_1:
%7 = add i64 %1, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %1, i64 %9, i64 %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)
%11 = trunc i32 %2 to i8
%12 = icmp eq i8 %11, 1
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 %13, i64* %arg2, align 8
%14 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
store i64 0, i64* %arg2, align 8
store i64 1, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%15 = call i64 @FUNC(i64 %1)
%sext = mul i64 %15, 4294967296
%16 = ashr exact i64 %sext, 32
store i64 %16, i64* %arg2, 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 %1, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
}
|
0
|
CompRealVul
|
visit_type_uint32_14243
|
visit_type_uint32
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg4 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 %3, i64* %rax.0.reg2mem
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%8 = icmp eq i64* %arg4, null
store i64 %7, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_5
LBL_2:
%9 = trunc i64 %1 to i32
%10 = icmp slt i32 %9, 0
br i1 %10, label LBL_3, label LBL_4
LBL_3:
%11 = icmp eq i8* %arg3, null
%12 = ptrtoint i8* %arg3 to i64
%storemerge = select i1 %11, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 %12
%13 = call i64 @FUNC(i64 %2, i64 1, i64 %storemerge, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))
store i64 %13, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%14 = ptrtoint i32* %arg2 to i64
store i32 %9, i32* %arg2, align 4
store i64 %14, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %9, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }
uselistorder i8* %arg3, { 1, 0 }
uselistorder i32* %arg2, { 1, 0 }
uselistorder label LBL_5, { 1, 2, 0, 3 }
}
|
1
|
CompRealVul
|
phar_add_virtual_dirs_11850
|
phar_add_virtual_dirs
|
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i32* %arg1 to i64
store i32 %arg3, i32* %sv_0.0.reg2mem
br label LBL_2
LBL_1:
%2 = sub i64 %8, %0
%3 = trunc i64 %2 to i32
%4 = call i64 @FUNC(i64 %1, i64 %0, i32 %3)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, -1
store i32 %3, i32* %sv_0.0.reg2mem
store i64 %4, i64* %rax.0.reg2mem
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%7 = sext i32 %sv_0.0.reload to i64
%8 = call i64 @FUNC(i64 %0, i64 47, i64 %7)
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 %8, i64* %rax.0.reg2mem
br i1 %10, label LBL_1, label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %8, { 0, 2, 1 }
uselistorder i64 %0, { 2, 1, 0 }
uselistorder i1 false, { 0, 2, 1 }
uselistorder label LBL_3, { 1, 0 }
}
|
1
|
CompRealVul
|
to_pkcs8_7805
|
to_pkcs8
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_1.0.be.reg2mem = alloca i32
%sv_2.0.be.reg2mem = alloca i32
%sv_0.0.be.reg2mem = alloca i32
%storemerge8.reg2mem = alloca i32
%sv_3.19.reg2mem = alloca i32
%sv_4.010.reg2mem = alloca i32
%sv_0.011.reg2mem = alloca i32
%sv_2.013.reg2mem = alloca i32
%sv_1.016.reg2mem = alloca i32
%sv_5 = alloca i64, align 8
%sv_6 = alloca i64, align 8
%sv_7 = alloca i64, align 8
%sv_8 = alloca i64, align 8
%sv_9 = alloca i32, align 4
%sv_10 = alloca i64, align 8
%0 = icmp eq i64 %arg1, 0
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%3 = call i32 @fwrite(i64* bitcast ([67 x i8]* @gv_1 to i64*), i32 1, i32 66, %_IO_FILE* %2)
store i32 1, i32* %rax.0.shrunk.reg2mem
br label LBL_44
LBL_2:
%4 = icmp eq i64 %arg2, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%7 = call i32 @fwrite(i64* bitcast ([69 x i8]* @gv_2 to i64*), i32 1, i32 68, %_IO_FILE* %6)
store i32 1, i32* %rax.0.shrunk.reg2mem
br label LBL_44
LBL_4:
%8 = inttoptr i64 %arg1 to i8*
%9 = call %_IO_FILE* @fopen(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0))
%10 = icmp eq %_IO_FILE* %9, null
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_5, label LBL_8
LBL_5:
%12 = bitcast i64* %sv_8 to i8*
%13 = call i8* @fgets(i8* nonnull %12, i32 1024, %_IO_FILE* %9)
%14 = icmp eq i8* %13, null
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_7, label LBL_6
LBL_6:
%16 = call i32 @fclose(%_IO_FILE* %9)
%17 = call i64 @FUNC()
br label LBL_39
LBL_7:
%18 = ptrtoint i64* %sv_10 to i64
%19 = ptrtoint i64* %sv_8 to i64
%20 = or i64 %19, 1
store i32 0, i32* %sv_1.016.reg2mem
store i32 -1, i32* %sv_2.013.reg2mem
store i32 0, i32* %sv_0.011.reg2mem
store i32 0, i32* %sv_4.010.reg2mem
br label LBL_9
LBL_8:
%21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_4, i64 0, i64 0), i8* %8)
store i32 1, i32* %rax.0.shrunk.reg2mem
br label LBL_44
LBL_9:
%sv_4.010.reload = load i32, i32* %sv_4.010.reg2mem
%sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem
%sv_2.013.reload = load i32, i32* %sv_2.013.reg2mem
%sv_1.016.reload = load i32, i32* %sv_1.016.reg2mem
%23 = add i32 %sv_4.010.reload, 1
store i32 0, i32* %sv_9, align 4
store i32 -1, i32* %sv_3.19.reg2mem
store i32 0, i32* %storemerge8.reg2mem
br label LBL_11
LBL_10:
%sv_3.19.reload = load i32, i32* %sv_3.19.reg2mem
%24 = inttoptr i64 %44 to i8*
%25 = call i32 @strlen(i8* %24)
%26 = load i32, i32* %sv_9, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 8
%29 = add i64 %28, ptrtoint ([15 x i8*]* @gv_5 to i64)
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = inttoptr i64 %31 to i8*
%33 = call i32 @strncasecmp(i8* nonnull %12, i8* %32, i32 %25)
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
%36 = load i32, i32* %sv_9, align 4
%spec.select = select i1 %35, i32 %sv_3.19.reload, i32 %36
%37 = add i32 %36, 1
store i32 %37, i32* %sv_9, align 4
%38 = icmp eq i32 %spec.select, -1
%39 = icmp eq i1 %38, false
store i32 %spec.select, i32* %sv_3.19.reg2mem
store i32 %37, i32* %storemerge8.reg2mem
br i1 %39, label LBL_14, label LBL_11
LBL_11:
%storemerge8.reload = load i32, i32* %storemerge8.reg2mem
%40 = sext i32 %storemerge8.reload to i64
%41 = mul i64 %40, 8
%42 = add i64 %41, ptrtoint ([15 x i8*]* @gv_5 to i64)
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = icmp eq i64 %44, 0
%46 = icmp eq i1 %45, false
br i1 %46, label LBL_10, label LBL_12
LBL_12:
%47 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%48 = zext i32 %23 to i64
%49 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %47, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64 %48)
%50 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%51 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %50, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_8)
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %sv_1.016.reload, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_13:
%sv_1.0.be.reload = load i32, i32* %sv_1.0.be.reg2mem
%sv_2.0.be.reload = load i32, i32* %sv_2.0.be.reg2mem
%sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem
%52 = call i8* @fgets(i8* nonnull %12, i32 1024, %_IO_FILE* %9)
%53 = icmp eq i8* %52, null
%54 = icmp eq i1 %53, false
store i32 %sv_1.0.be.reload, i32* %sv_1.016.reg2mem
store i32 %sv_2.0.be.reload, i32* %sv_2.013.reg2mem
store i32 %sv_0.0.be.reload, i32* %sv_0.011.reg2mem
store i32 %23, i32* %sv_4.010.reg2mem
br i1 %54, label LBL_9, label LBL_33
LBL_14:
%55 = sext i32 %spec.select to i64
%56 = mul i64 %55, 8
%57 = add i64 %56, ptrtoint ([15 x i8*]* @gv_5 to i64)
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = inttoptr i64 %59 to i8*
%61 = call i32 @strlen(i8* %60)
%62 = sext i32 %61 to i64
%63 = add i64 %20, %62
%64 = inttoptr i64 %63 to i8*
%65 = load i8, i8* %64, align 1
%66 = icmp eq i8 %65, 0
%67 = icmp eq i1 %66, false
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %sv_1.016.reload, i32* %sv_1.0.be.reg2mem
br i1 %67, label LBL_15, label LBL_13
LBL_15:
%68 = urem i32 %spec.select, 32
%69 = shl i32 1, %68
%70 = and i32 %69, %sv_1.016.reload
%71 = icmp eq i32 %70, 0
br i1 %71, label LBL_17, label LBL_16
LBL_16:
%72 = load i64, i64* %58, align 8
%73 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%74 = zext i32 %23 to i64
%75 = inttoptr i64 %72 to i8*
%76 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %73, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_8, i64 0, i64 0), i8* %75, i64 %74)
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %sv_1.016.reload, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_17:
%77 = or i32 %69, %sv_1.016.reload
%78 = icmp sgt i32 %spec.select, 14
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br i1 %78, label LBL_13, label LBL_18
LBL_18:
%79 = icmp sgt i32 %spec.select, 1
br i1 %79, label LBL_28, label LBL_19
LBL_19:
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
switch i32 %spec.select, label LBL_13 [
i32 0, label LBL_20
i32 1, label LBL_27
]
LBL_20:
%80 = call i32 (i8*, i8*, ...) @sscanf(i8* %64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i32* nonnull %sv_9, i64* nonnull %sv_7)
%81 = icmp eq i32 %80, 2
br i1 %81, label LBL_22, label LBL_21
LBL_21:
%82 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%83 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %82, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_10, i64 0, i64 0), i8* %64)
store i32 1, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_22:
%84 = load i32, i32* %sv_9, align 4
%85 = icmp sgt i32 %84, 1
br i1 %85, label LBL_22.LBL_26_crit_edge, label LBL_24
LBL_23:
%.pre = load i64, i64* %sv_7, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_26
LBL_24:
%86 = icmp eq i32 %84, 1
%87 = icmp eq i1 %86, false
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br i1 %87, label LBL_13, label LBL_25
LBL_25:
%88 = load i64, i64* %sv_7, align 8
%89 = trunc i64 %88 to i32
%90 = icmp slt i32 %89, 1
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
store i64 %88, i64* %.reg2mem
br i1 %90, label LBL_13, label LBL_26
LBL_26:
%.reload = load i64, i64* %.reg2mem
%91 = and i64 %.reload, 4294967295
%92 = zext i32 %84 to i64
%93 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%94 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %93, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_11, i64 0, i64 0), i64 %92, i64 %91)
store i32 1, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_27:
%95 = call i32 @strtol(i8* %64, i8** null, i32 10)
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %95, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_28:
%96 = call i64 @FUNC(i64 %63, i64* nonnull %sv_6, i64 1024)
%97 = trunc i64 %96 to i32
%98 = icmp eq i32 %97, -1
%99 = icmp eq i1 %98, false
br i1 %99, label LBL_30, label LBL_29
LBL_29:
%100 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%101 = zext i32 %23 to i64
%102 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %100, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_12, i64 0, i64 0), i64 %101)
store i32 1, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_30:
%103 = call i64* @malloc(i32 %97)
%104 = ptrtoint i64* %103 to i64
%105 = mul i64 %55, 16
%106 = add i64 %105, %18
%107 = add i64 %106, -2272
%108 = inttoptr i64 %107 to i64*
store i64 %104, i64* %108, align 8
%109 = icmp eq i64* %103, null
%110 = icmp eq i1 %109, false
br i1 %110, label LBL_32, label LBL_31
LBL_31:
%111 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%112 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_13 to i64*), i32 1, i32 34, %_IO_FILE* %111)
store i32 1, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_32:
%113 = call i64* @memcpy(i64* %103, i64* nonnull %sv_6, i32 %97)
%114 = add i64 %106, -2264
%115 = inttoptr i64 %114 to i32*
store i32 %97, i32* %115, align 8
store i32 %sv_0.011.reload, i32* %sv_0.0.be.reg2mem
store i32 %sv_2.013.reload, i32* %sv_2.0.be.reg2mem
store i32 %77, i32* %sv_1.0.be.reg2mem
br label LBL_13
LBL_33:
%116 = call i32 @fclose(%_IO_FILE* %9)
%117 = icmp eq i32 %sv_0.0.be.reload, 0
br i1 %117, label LBL_35, label LBL_34
LBL_34:
%118 = call i64 @FUNC(i64* nonnull %sv_5)
store i32 %sv_0.0.be.reload, i32* %rax.0.shrunk.reg2mem
br label LBL_44
LBL_35:
%119 = call i64 @FUNC()
%120 = icmp sgt i32 %sv_2.0.be.reload, 7
br i1 %120, label LBL_42, label LBL_36
LBL_36:
%121 = icmp sgt i32 %sv_2.0.be.reload, 5
br i1 %121, label LBL_41, label LBL_37
LBL_37:
%122 = icmp eq i32 %sv_2.0.be.reload, -1
br i1 %122, label LBL_39, label LBL_38
LBL_38:
%123 = icmp sgt i32 %sv_2.0.be.reload, -2
%124 = add i32 %sv_2.0.be.reload, -1
%125 = icmp ult i32 %124, 5
%or.cond = icmp eq i1 %123, %125
br i1 %or.cond, label LBL_40, label LBL_42
LBL_39:
%126 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%127 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %126, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_14, i64 0, i64 0), i64 4294967295)
store i32 1, i32* %sv_0.1.reg2mem
br label LBL_43
LBL_40:
%128 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64* nonnull %sv_5)
%129 = trunc i64 %128 to i32
store i32 %129, i32* %sv_0.1.reg2mem
br label LBL_43
LBL_41:
%130 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64* nonnull %sv_5)
%131 = trunc i64 %130 to i32
store i32 %131, i32* %sv_0.1.reg2mem
br label LBL_43
LBL_42:
%132 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%133 = zext i32 %sv_2.0.be.reload to i64
%134 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %132, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_15, i64 0, i64 0), i64 %133)
store i32 1, i32* %sv_0.1.reg2mem
br label LBL_43
LBL_43:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%135 = call i64 @FUNC()
%136 = call i64 @FUNC(i64* nonnull %sv_5)
store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem
br label LBL_44
LBL_44:
%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 i64* %103, { 1, 0, 2 }
uselistorder i32 %77, { 9, 8, 7, 2, 6, 4, 5, 3, 1, 0 }
uselistorder i32 %sv_2.0.be.reload, { 5, 2, 3, 4, 1, 0, 6 }
uselistorder i64 %44, { 1, 0 }
uselistorder i32 %spec.select, { 2, 4, 3, 1, 5, 0, 6 }
uselistorder i32 %23, { 3, 2, 0, 1 }
uselistorder i32 %sv_1.016.reload, { 4, 2, 3, 1, 0 }
uselistorder i32 %sv_2.013.reload, { 11, 10, 9, 8, 6, 7, 5, 1, 0, 4, 3, 2 }
uselistorder i32 %sv_0.011.reload, { 8, 5, 6, 7, 1, 0, 4, 3, 2 }
uselistorder i8* %12, { 2, 1, 0 }
uselistorder %_IO_FILE* %9, { 2, 3, 0, 1, 4 }
uselistorder i32* %sv_9, { 3, 2, 1, 4, 5, 0 }
uselistorder i64* %sv_8, { 0, 2, 1 }
uselistorder i64* %sv_7, { 2, 0, 1 }
uselistorder i32* %sv_1.016.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.013.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.011.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_4.010.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.19.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.0.be.reg2mem, { 13, 12, 11, 6, 10, 8, 9, 7, 2, 1, 5, 4, 0, 3 }
uselistorder i32* %sv_2.0.be.reg2mem, { 13, 12, 11, 6, 10, 8, 9, 7, 2, 1, 5, 4, 0, 3 }
uselistorder i32* %sv_1.0.be.reg2mem, { 13, 12, 11, 6, 10, 8, 9, 7, 2, 1, 5, 4, 0, 3 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i64 (i64*)* @free_key_material, { 1, 0 }
uselistorder i8 0, { 1, 0 }
uselistorder i64 ptrtoint ([15 x i8*]* @gv_5 to i64), { 1, 2, 0 }
uselistorder i32 (i8*)* @strlen, { 1, 0 }
uselistorder i32 -1, { 2, 5, 3, 4, 0, 1 }
uselistorder i32 0, { 38, 5, 36, 37, 0, 4, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 }
uselistorder i64 ()* @crypto_init, { 1, 0 }
uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }
uselistorder i8* null, { 1, 0 }
uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }
uselistorder i32 1024, { 1, 0 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 8, 6, 7, 5, 0, 9, 10, 11 }
uselistorder i64 %arg3, { 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_39, { 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_13, { 11, 10, 9, 8, 7, 6, 5, 4, 1, 0, 3, 12, 2 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
}
|
1
|
CompRealVul
|
create_flash_16108
|
create_flash
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = udiv i64 %7, 2
%9 = load i64, i64* @gv_0, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label LBL_8, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 0, i64 0, i64 0)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = call i64 @FUNC(i8* getelementptr inbounds ([135 x i8], [135 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 %3, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_3:
%15 = load i64, i64* @gv_0, align 8
%16 = call i64 @FUNC(i64 0, i64 %15)
%17 = icmp eq i64 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = load i64, i64* @gv_0, align 8
%20 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %19, i64 0, i64 %3, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_5:
%21 = call i64 @FUNC(i64 %16, i64 %4, i64 %8)
%22 = trunc i64 %21 to i32
%23 = call i64 @FUNC(i64 %16)
%24 = icmp slt i32 %22, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%26 = load i64, i64* @gv_0, align 8
%27 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %26, i64 %8, i64 %4, i64 %2, i64 %1)
call void @exit(i32 1)
unreachable
LBL_7:
%28 = call i64 @FUNC(i64 %16)
br label LBL_8
LBL_8:
%29 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %8)
%30 = add i64 %8, %4
%31 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %30, i64 %8)
%32 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 %8, i64 %30, i64 %2, i64 %1)
%33 = add i64 %4, 16
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = call i64 @FUNC(i64 %35, i64 %32)
%37 = load i64, i64* %34, align 8
%38 = call i64 @FUNC(i64 %37, i64 %32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))
%39 = load i64, i64* %34, align 8
%40 = call i64 @FUNC(i64 %39, i64 %32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0), i64 2, i64 %4, i64 2)
%41 = load i64, i64* %34, align 8
%42 = call i64 @FUNC(i64 %41, i64 %32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 4)
%43 = call i64 @FUNC(i64 %32)
ret i64 %43
uselistorder i64* %34, { 1, 0, 2, 3 }
uselistorder i64 %30, { 1, 0 }
uselistorder i64 %16, { 0, 2, 1, 3 }
uselistorder i64 %8, { 0, 1, 5, 2, 4, 3 }
uselistorder i64 %4, { 3, 4, 6, 0, 5, 1, 2, 7 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64)* @create_one_flash, { 1, 0 }
uselistorder i64 (i64)* @g_free, { 2, 1, 0 }
uselistorder void (i32)* @exit, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 }
uselistorder i64 2, { 2, 1, 0 }
}
|
1
|
CompRealVul
|
op_divw_14699
|
op_divw
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i32
%rax.0.reg2mem = alloca i64
%0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%1 = icmp eq i32 %0, -2147483648
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%4 = icmp eq i32 %3, -1
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_3
LBL_2:
%6 = load i32, i32* @gv_1, align 4
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = ashr i32 %0, 31
%10 = zext i32 %9 to i64
store i64 %10, i64* %rax.0.reg2mem
store i32 %9, i32* %storemerge.reg2mem
br label LBL_5
LBL_4:
%11 = ashr i32 %0, 31
%12 = zext i32 %0 to i64
%13 = zext i32 %11 to i64
%14 = mul i64 %13, 4294967296
%15 = or i64 %14, %12
%16 = zext i32 %6 to i64
%17 = sdiv i64 %15, %16
%18 = and i64 %17, 4294967295
%19 = trunc i64 %17 to i32
store i64 %18, i64* %rax.0.reg2mem
store i32 %19, i32* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%rax.0.reload = load i64, i64* %rax.0.reg2mem
store i32 %storemerge.reload, i32* bitcast (i64* @gv_0 to i32*), align 8
ret i64 %rax.0.reload
uselistorder i32 %0, { 1, 0, 2, 3 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
do_prism_read_palette_12448
|
do_prism_read_palette
|
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.pre-phi.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.reg2mem21 = alloca i32
%.reg2mem19 = alloca i32
%.reg2mem17 = alloca i32
%indvars.iv10.reg2mem = alloca i64
%.reg2mem15 = alloca i32
%.reg2mem = alloca i32
%rsi = alloca i64, align 8
%1 = load i64, i64* %0
%rdx = alloca i64, align 8
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%2 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024)
%3 = trunc i64 %1 to i32
%4 = icmp sgt i32 %3, 0
store i32 %3, i32* %.reg2mem21
br i1 %4, label LBL_1, label LBL_5.LBL_9_crit_edge
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = bitcast i64* %rsi to i32*
%7 = ptrtoint i64* %sv_2 to i64
%8 = add i64 %7, -1072
store i32 %3, i32* %.reg2mem
store i32 %3, i32* %.reg2mem15
store i64 0, i64* %indvars.iv10.reg2mem
br label LBL_2
LBL_2:
%indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem
%.reload16 = load i32, i32* %.reg2mem15
%.reload = load i32, i32* %.reg2mem
%9 = mul nuw nsw i64 %indvars.iv10.reload, 6
%10 = add nuw nsw i64 %9, 128
%11 = call i64 @FUNC(i64 %10)
%12 = and i64 %11, 4294967295
%13 = add nuw nsw i64 %9, 130
%14 = call i64 @FUNC(i64 %13)
%15 = and i64 %14, 4294967295
%16 = add nuw nsw i64 %9, 132
%17 = call i64 @FUNC(i64 %16)
%18 = and i64 %17, 4294967295
%19 = call i64 @FUNC(i64 %12)
%20 = trunc i64 %19 to i32
%21 = call i64 @FUNC(i64 %15)
%22 = trunc i64 %21 to i32
%23 = call i64 @FUNC(i64 %18)
%24 = trunc i64 %23 to i32
%25 = mul i32 %20, 65536
%26 = and i32 %25, 16711680
%27 = mul i32 %22, 256
%28 = and i32 %27, 65280
%29 = or i32 %28, %26
%30 = urem i32 %24, 256
%31 = or i32 %29, %30
%32 = call i64 @FUNC(i64* nonnull %sv_0, i64 32, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %15, i64 %18)
%33 = call i64 @FUNC(i64 %5, i64 %indvars.iv10.reload, i32 %31, i64* nonnull %sv_0, i64 0, i64 0)
%34 = icmp ugt i64 %indvars.iv10.reload, 255
store i32 %.reload, i32* %.reg2mem17
store i32 %.reload16, i32* %.reg2mem19
br i1 %34, label LBL_4, label LBL_3
LBL_3:
%35 = mul i64 %indvars.iv10.reload, 4
%36 = add i64 %35, %8
%37 = inttoptr i64 %36 to i32*
store i32 %31, i32* %37, align 4
%.pre = load i32, i32* %6, align 8
store i32 %.pre, i32* %.reg2mem17
store i32 %.pre, i32* %.reg2mem19
br label LBL_4
LBL_4:
%.reload20 = load i32, i32* %.reg2mem19
%.reload18 = load i32, i32* %.reg2mem17
%indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1
%38 = sext i32 %.reload20 to i64
%39 = icmp slt i64 %indvars.iv.next11, %38
store i32 %.reload18, i32* %.reg2mem
store i32 %.reload20, i32* %.reg2mem15
store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem
br i1 %39, label LBL_2, label LBL_5
LBL_5:
%40 = icmp sgt i32 %.reload18, 0
store i32 %.reload18, i32* %.reg2mem21
br i1 %40, label LBL_7, label LBL_5.LBL_9_crit_edge
LBL_6:
%.reload22 = load i32, i32* %.reg2mem21
%.pre12 = sext i32 %.reload22 to i64
store i64 %.pre12, i64* %.pre-phi.reg2mem
br label LBL_9
LBL_7:
%41 = bitcast i64* %rdx to i32*
%42 = ptrtoint i32* %arg2 to i64
%43 = add i64 %42, 4
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_8
LBL_8:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%44 = load i32, i32* %41, align 8
%45 = zext i32 %44 to i64
%46 = call i64 @FUNC(i64 %45, i64 %indvars.iv.reload)
%47 = mul i64 %46, 4
%48 = and i64 %47, 17179869180
%49 = add i64 %48, %8
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = mul i64 %indvars.iv.reload, 4
%53 = add i64 %43, %52
%54 = inttoptr i64 %53 to i32*
store i32 %51, i32* %54, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%55 = load i32, i32* %6, align 8
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %indvars.iv.next, %56
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %56, i64* %.pre-phi.reg2mem
br i1 %57, label LBL_8, label LBL_9
LBL_9:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
ret i64 %.pre-phi.reload
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i32 %.reload20, { 1, 0 }
uselistorder i64 %indvars.iv10.reload, { 0, 4, 1, 2, 3 }
uselistorder i32* %6, { 1, 0 }
uselistorder i32 %3, { 1, 2, 0, 3 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem15, { 1, 0, 2 }
uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem17, { 0, 2, 1 }
uselistorder i32* %.reg2mem19, { 0, 2, 1 }
uselistorder i32* %.reg2mem21, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 4, { 0, 1, 3, 2 }
uselistorder i64 (i64)* @de_scale_1000_to_255, { 2, 1, 0 }
uselistorder i64 (i64)* @de_getu16be, { 2, 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_5.LBL_9_crit_edge, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
net_tx_pkt_do_sw_fragmentation_11594
|
net_tx_pkt_do_sw_fragmentation
|
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i32, align 4
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%sv_4 = alloca i32, align 4
%sv_5 = alloca i64, align 8
%2 = ptrtoint i64* %sv_5 to i64
store i64 %0, i64* %sv_5, align 8
store i32 0, i32* %sv_4, align 4
store i64 0, i64* %sv_3, align 8
%3 = add i64 %1, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %1, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = add i64 %1, 24
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
store i64 %1, i64* %sv_2, align 8
%12 = bitcast i32* %sv_1 to i64*
%13 = add i64 %1, 160
%14 = inttoptr i64 %13 to i64*
%15 = add i64 %2, -8
%16 = inttoptr i64 %15 to i64*
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_1
LBL_1:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%17 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4, i64* nonnull %sv_3, i64* nonnull %sv_2, i64* nonnull %12)
%18 = add i64 %17, %sv_0.0.reload
%19 = load i64, i64* %14, align 8
%20 = icmp ult i64 %18, %19
%21 = zext i1 %20 to i64
store i64 %21, i64* %16, align 8
%22 = call i64 @FUNC(i64 %1, i64 %5, i64 %8, i64 %11, i64 %17, i64 %sv_0.0.reload, i64 %21)
%23 = call i64 @FUNC(i64 %8, i64 %11)
%24 = load i32, i32* %sv_1, align 4
%25 = zext i32 %24 to i64
%26 = load i64, i64* %sv_5, align 8
%27 = call i64 @FUNC(i64 %1, i64 %26, i64* nonnull %sv_2, i64 %25)
%28 = icmp eq i1 %20, false
%29 = icmp eq i1 %28, false
store i64 %18, i64* %sv_0.0.reg2mem
br i1 %29, label LBL_1, label LBL_2
LBL_2:
ret i64 1
uselistorder i64 %17, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
}
|
1
|
CompRealVul
|
dvb_frontend_stop_13210
|
dvb_frontend_stop
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)
%9 = add i64 %4, 16
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label LBL_2, label LBL_1
LBL_1:
store i32 0, i32* %10, align 4
br label LBL_2
LBL_2:
%13 = call i64 @FUNC()
%14 = inttoptr i64 %7 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_5, label LBL_3
LBL_3:
%17 = call i64 @FUNC(i64 %15)
%18 = add i64 %7, 12
%19 = call i64 @FUNC(i64 %18, i64 1)
%20 = add i64 %7, 8
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = load i64, i64* %14, align 8
%23 = icmp eq i64 %22, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_5, label LBL_4
LBL_4:
%24 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %22)
store i64 %24, 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* %0, { 2, 1, 0 }
uselistorder label LBL_5, { 1, 2, 0 }
}
|
1
|
CompRealVul
|
tilegx_cpu_initfn_17084
|
tilegx_cpu_initfn
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = inttoptr i64 %1 to i64*
store i64 %2, i64* %3, align 8
%4 = call i64 @FUNC(i64 %1, i64 4198775)
%5 = call i64 @FUNC()
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 0
store i64 %5, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_1
LBL_1:
%8 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1
%9 = icmp eq i8 %8, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_3, label LBL_2
LBL_2:
store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8
%10 = call i64 @FUNC()
store i64 %10, 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 i8 1, { 1, 0 }
}
|
1
|
CompRealVul
|
snd_usb_caiaq_midi_init_12663
|
snd_usb_caiaq_midi_init
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8*, align 8
%3 = add i64 %2, 264
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %2, 260
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = add i64 %2, 4
%10 = zext i32 %5 to i64
%11 = zext i32 %8 to i64
%12 = and i64 %1, 4294967295
%13 = bitcast i8** %sv_0 to i64*
%14 = call i64 @FUNC(i64 %12, i64 %9, i64 0, i64 %11, i64 %10, i64* nonnull %13)
%15 = trunc i64 %14 to i32
%16 = icmp slt i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_2, label LBL_1
LBL_1:
%18 = and i64 %14, 4294967295
store i64 %18, i64* %storemerge.reg2mem
br label LBL_7
LBL_2:
%19 = load i8*, i8** %sv_0, align 8
%20 = inttoptr i64 %9 to i8*
%21 = call i8* @strcpy(i8* %19, i8* %20)
%22 = load i8*, i8** %sv_0, align 8
%23 = ptrtoint i8* %22 to i64
%24 = add i64 %23, 256
%25 = inttoptr i64 %24 to i32*
store i32 1, i32* %25, align 4
%26 = load i8*, i8** %sv_0, align 8
%27 = ptrtoint i8* %26 to i64
%28 = add i64 %27, 264
%29 = inttoptr i64 %28 to i64*
store i64 %2, i64* %29, align 8
%30 = load i32, i32* %7, align 4
%31 = icmp slt i32 %30, 1
br i1 %31, label LBL_4, label LBL_3
LBL_3:
%32 = load i8*, i8** %sv_0, align 8
%33 = ptrtoint i8* %32 to i64
%34 = add i64 %33, 256
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = or i32 %36, 2
store i32 %37, i32* %35, align 4
%38 = load i8*, i8** %sv_0, align 8
%39 = ptrtoint i8* %38 to i64
%40 = call i64 @FUNC(i64 %39, i64 1, i64* nonnull @gv_0)
br label LBL_4
LBL_4:
%41 = load i32, i32* %4, align 4
%42 = icmp slt i32 %41, 1
br i1 %42, label LBL_6, label LBL_5
LBL_5:
%43 = load i8*, i8** %sv_0, align 8
%44 = ptrtoint i8* %43 to i64
%45 = add i64 %44, 256
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = or i32 %47, 4
store i32 %48, i32* %46, align 4
%49 = load i8*, i8** %sv_0, align 8
%50 = ptrtoint i8* %49 to i64
%51 = call i64 @FUNC(i64 %50, i64 2, i64* nonnull @gv_1)
br label LBL_6
LBL_6:
%52 = load i8*, i8** %sv_0, align 8
%53 = ptrtoint i8* %52 to i64
%54 = add i64 %2, 272
%55 = inttoptr i64 %54 to i64*
store i64 %53, i64* %55, align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i8** %sv_0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64*)* @snd_rawmidi_set_ops, { 1, 0 }
}
|
1
|
CompRealVul
|
get_uncompressed_data_13689
|
get_uncompressed_data
|
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi1.reg2mem = alloca i64*
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 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 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_5, label LBL_1
LBL_1:
%10 = add i64 %5, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, -1
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_5, label LBL_2
LBL_2:
%15 = call i64 @FUNC(i64 %0, i64 %arg4, i64* nonnull %sv_0)
store i64 %15, i64* %arg2, align 8
%16 = load i64, i64* %sv_0, align 8
%17 = icmp eq i64 %16, 0
%18 = icmp slt i64 %16, 0
%19 = icmp eq i1 %18, false
%20 = icmp eq i1 %17, false
%21 = icmp eq i1 %19, %20
br i1 %21, label LBL_4, label LBL_3
LBL_3:
%22 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%23 = add i64 %5, 16
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = icmp ult i64 %25, %16
%27 = icmp eq i1 %26, false
%28 = select i1 %27, i64 %16, i64 %25
%29 = icmp ugt i64 %28, %arg3
%30 = icmp eq i1 %29, false
%spec.select = select i1 %30, i64 %28, i64 %arg3
%31 = or i1 %26, %29
br i1 %31, label %32, label %33
LBL_5:
%36 = add i64 %5, 24
%37 = inttoptr i64 %36 to i64*
%38 = load i64, i64* %37, align 8
%39 = icmp eq i64 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_7, label LBL_6
LBL_6:
%41 = call i64 @FUNC(i64 %0, i64 2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_12
LBL_7:
%42 = add i64 %5, 16
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = icmp ult i64 %44, %arg4
store i64 %44, i64* %.reg2mem
br i1 %45, label LBL_8, label LBL_10
LBL_8:
%46 = call i64 @FUNC(i64 %0, i64 %arg4)
%47 = trunc i64 %46 to i32
%48 = icmp slt i32 %47, 0
%49 = icmp eq i1 %48, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %49, label LBL_8.LBL_10_crit_edge, label LBL_12
LBL_9:
%.pre = load i64, i64* %43, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_10
LBL_10:
%.reload = load i64, i64* %.reg2mem
%50 = icmp ult i64 %.reload, %arg3
%.arg3 = select i1 %50, i64 %.reload, i64 %arg3
store i64 %.arg3, i64* %sv_0, align 8
%51 = load i64, i64* %37, align 8
store i64 %51, i64* %arg2, align 8
%52 = load i64, i64* %37, align 8
%53 = add i64 %52, %.arg3
store i64 %53, i64* %37, align 8
store i64* %43, i64** %.pre-phi1.reg2mem
br label LBL_11
LBL_11:
%.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem
%54 = load i64, i64* %.pre-phi1.reload, align 8
%55 = load i64, i64* %sv_0, align 8
%56 = sub i64 %54, %55
store i64 %56, i64* %.pre-phi1.reload, align 8
%57 = load i64, i64* %sv_0, align 8
store i64 %57, 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* %37, { 1, 0, 2, 3 }
uselistorder i64 %5, { 3, 2, 0, 1, 4, 5 }
uselistorder i64* %sv_0, { 3, 4, 1, 0, 5, 2 }
uselistorder i64 %0, { 3, 2, 0, 1, 4 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64** %.pre-phi1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 }
uselistorder i64 %arg4, { 2, 0, 1 }
uselistorder i64 %arg3, { 1, 2, 0, 3 }
uselistorder label LBL_12, { 1, 0, 2, 3 }
uselistorder label %33, { 1, 0 }
}
|
0
|
CompRealVul
|
btrfs_scrub_dev_7470
|
btrfs_scrub_dev
|
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_30
LBL_1:
%6 = ptrtoint i64* %arg5 to i64
%7 = trunc i64 %1 to i32
%8 = icmp slt i32 %7, 4097
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_0, i64 0, i64 0), i32 %7, i64 4096, i64 %6, i64 %arg6)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_30
LBL_3:
%10 = add i64 %2, 4
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 4096
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_1, i64 0, i64 0), i32 %12, i64 4096, i64 %6, i64 %arg6)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_30
LBL_5:
%15 = trunc i64 %arg7 to i32
%16 = call i64 @FUNC(i64 %2, i32 %15)
%17 = call i64 @FUNC(i64 %16)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_7, label LBL_6
LBL_6:
%20 = call i64 @FUNC(i64 %16)
store i64 %20, i64* %rax.0.reg2mem
br label LBL_30
LBL_7:
%21 = add i64 %2, 8
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23)
%25 = load i64, i64* %22, align 8
%26 = call i64 @FUNC(i64 %25, i64 %arg2, i64 0, i64 0)
%27 = icmp eq i64 %26, 0
br i1 %27, label LBL_9, label LBL_8
LBL_8:
%28 = call i64 @FUNC(i64 0, i64 %26)
%29 = trunc i64 %28 to i32
%30 = icmp eq i32 %29, 0
%31 = icmp eq i32 %15, 0
%32 = icmp eq i1 %31, false
%or.cond7 = or i1 %32, %30
br i1 %or.cond7, label LBL_10, label LBL_9
LBL_9:
%33 = load i64, i64* %22, align 8
%34 = call i64 @FUNC(i64 %33)
store i64 4294967277, i64* %sv_0.2.reg2mem
br label LBL_29
LBL_10:
%sext5 = mul i64 %arg6, 4294967296
%35 = ashr exact i64 %sext5, 32
br i1 %32, label LBL_14, label LBL_11
LBL_11:
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_14, label LBL_12
LBL_12:
%39 = call i64 @FUNC(i64 1, i64 %26)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_14, label LBL_13
LBL_13:
%43 = load i64, i64* %22, align 8
%44 = call i64 @FUNC(i64 %43)
%45 = add i64 %26, 8
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = call i64 @FUNC(i64 %47)
%49 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %48, i64 0, i64 %6, i64 %arg6)
store i64 4294967266, i64* %sv_0.2.reg2mem
br label LBL_29
LBL_14:
%50 = add i64 %2, 16
%51 = call i64 @FUNC(i64 %50)
%52 = call i64 @FUNC(i64 2, i64 %26)
%53 = trunc i64 %52 to i32
%54 = icmp eq i32 %53, 0
br i1 %54, label LBL_16, label LBL_15
LBL_15:
%55 = call i64 @FUNC(i64 3, i64 %26)
%56 = trunc i64 %55 to i32
%57 = icmp eq i32 %56, 0
br i1 %57, label LBL_17, label LBL_16
LBL_16:
%58 = call i64 @FUNC(i64 %50)
%59 = load i64, i64* %22, align 8
%60 = call i64 @FUNC(i64 %59)
store i64 4294967291, i64* %sv_0.2.reg2mem
br label LBL_29
LBL_17:
%61 = add i64 %2, 20
%62 = call i64 @FUNC(i64 %61)
%63 = add i64 %26, 16
%64 = inttoptr i64 %63 to i64*
%65 = load i64, i64* %64, align 8
%66 = icmp eq i64 %65, 0
%67 = icmp eq i1 %66, false
br i1 %67, label LBL_20, label LBL_18
LBL_18:
br i1 %32, label LBL_21, label LBL_19
LBL_19:
%68 = call i64 @FUNC(i64 %61)
%69 = trunc i64 %68 to i32
%70 = icmp eq i32 %69, 0
br i1 %70, label LBL_21, label LBL_20
LBL_20:
%71 = call i64 @FUNC(i64 %61)
%72 = call i64 @FUNC(i64 %50)
%73 = load i64, i64* %22, align 8
%74 = call i64 @FUNC(i64 %73)
store i64 4294967181, i64* %sv_0.2.reg2mem
br label LBL_29
LBL_21:
%75 = call i64 @FUNC(i64 %61)
%76 = call i64 @FUNC(i64 %2, i32 %15)
%77 = trunc i64 %76 to i32
%78 = icmp eq i32 %77, 0
br i1 %78, label LBL_23, label LBL_22
LBL_22:
%79 = call i64 @FUNC(i64 %50)
%80 = load i64, i64* %22, align 8
%81 = call i64 @FUNC(i64 %80)
%phitmp = and i64 %76, 4294967295
store i64 %phitmp, i64* %sv_0.2.reg2mem
br label LBL_29
LBL_23:
%82 = inttoptr i64 %16 to i32*
%83 = trunc i64 %35 to i32
store i32 %83, i32* %82, align 4
store i64 %16, i64* %64, align 8
%84 = load i64, i64* %22, align 8
%85 = call i64 @FUNC(i64 %84)
%86 = call i64 @FUNC(i64 %2)
%87 = add i64 %2, 24
%88 = call i64 @FUNC(i64 %87)
%89 = call i64 @FUNC(i64 %50)
%90 = call i64 @FUNC()
br i1 %32, label LBL_25, label LBL_24
LBL_24:
%91 = load i64, i64* %22, align 8
%92 = call i64 @FUNC(i64 %91)
%93 = call i64 @FUNC(i64 %16, i64 %26)
%94 = trunc i64 %93 to i32
%95 = load i64, i64* %22, align 8
%96 = call i64 @FUNC(i64 %95)
%97 = icmp eq i32 %94, 0
%98 = icmp eq i1 %97, false
store i64 %93, i64* %sv_0.1.reg2mem
br i1 %98, label LBL_26, label LBL_25
LBL_25:
%99 = call i64 @FUNC(i64 %16, i64 %26, i64 %arg3, i64 %arg4)
store i64 %99, i64* %sv_0.1.reg2mem
br label LBL_26
LBL_26:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%100 = and i64 %90, 4294967295
%101 = call i64 @FUNC(i64 %100)
%102 = add i64 %16, 8
%103 = call i64 @FUNC(i64 %102)
%104 = trunc i64 %103 to i32
%105 = icmp eq i32 %104, 0
%106 = add i64 %16, 4
%107 = inttoptr i64 %106 to i32*
%108 = load i32, i32* %107, align 4
%109 = zext i1 %105 to i64
%110 = zext i32 %108 to i64
%111 = call i64 @FUNC(i64 %110, i64 %109)
%112 = call i64 @FUNC(i64 %87)
%113 = add i64 %2, 28
%114 = call i64 @FUNC(i64 %113)
%115 = add i64 %16, 12
%116 = call i64 @FUNC(i64 %115)
%117 = trunc i64 %116 to i32
%118 = icmp eq i32 %117, 0
%119 = load i32, i32* %107, align 4
%120 = zext i1 %118 to i64
%121 = zext i32 %119 to i64
%122 = call i64 @FUNC(i64 %121, i64 %120)
%123 = icmp eq i64* %arg5, null
br i1 %123, label LBL_28, label LBL_27
LBL_27:
%124 = add i64 %16, 16
%125 = inttoptr i64 %124 to i32*
%126 = load i32, i32* %125, align 4
%127 = bitcast i64* %arg5 to i32*
store i32 %126, i32* %127, align 4
br label LBL_28
LBL_28:
%128 = call i64 @FUNC(i64 %50)
store i64 0, i64* %64, align 8
%129 = call i64 @FUNC(i64 %2)
%130 = call i64 @FUNC(i64 %50)
%131 = call i64 @FUNC(i64 %16)
%132 = and i64 %sv_0.1.reload, 4294967295
store i64 %132, i64* %rax.0.reg2mem
br label LBL_30
LBL_29:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%133 = call i64 @FUNC(i64 %16)
store i64 %sv_0.2.reload, i64* %rax.0.reg2mem
br label LBL_30
LBL_30:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %61, { 1, 2, 0, 3 }
uselistorder i64 %50, { 1, 2, 3, 0, 4, 5, 6 }
uselistorder i64 %35, { 1, 0 }
uselistorder i1 %32, { 2, 1, 0, 3 }
uselistorder i64 %26, { 3, 2, 4, 5, 6, 0, 1, 7, 8 }
uselistorder i64* %22, { 2, 3, 4, 1, 5, 6, 0, 7, 8, 9 }
uselistorder i64 %16, { 8, 0, 1, 2, 3, 4, 5, 6, 7, 10, 9, 11 }
uselistorder i32 %15, { 1, 0, 2 }
uselistorder i32 %7, { 1, 0 }
uselistorder i64 %6, { 2, 1, 0 }
uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 10, 11, 9, 12, 13 }
uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 3, 4, 1, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i64)* @wait_event, { 1, 0 }
uselistorder i64 (i64)* @atomic_read, { 1, 0 }
uselistorder i64 (i64)* @up_read, { 1, 0 }
uselistorder i64 (i64)* @mutex_unlock, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }
uselistorder i64 (i64, i64)* @test_bit, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @mutex_lock, { 3, 2, 1, 0 }
uselistorder i64 4294967274, { 2, 1, 0 }
uselistorder i64 %arg6, { 3, 0, 2, 1 }
uselistorder label LBL_30, { 1, 2, 3, 4, 5, 0 }
uselistorder label LBL_25, { 1, 0 }
}
|
1
|
CompRealVul
|
qtest_init_640
|
qtest_init
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg3 to i64
%4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)
store i64 %4, i64* %rax.0.reg2mem
br label LBL_7
LBL_2:
%5 = call i64 @FUNC(i64 %0, i64 4198863, i64 4198870, i64 4198877, i64 %0)
%6 = call i64 @FUNC(i64 %0, i64 1)
%7 = call i64 @FUNC(i64* nonnull @gv_2)
store i64 %7, i64* @gv_3, align 8
%8 = icmp eq i64 %arg2, 0
br i1 %8, label LBL_5, label LBL_3
LBL_3:
%9 = inttoptr i64 %arg2 to i8*
%10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_6, label LBL_4
LBL_4:
%12 = call %_IO_FILE* @fopen(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0))
store %_IO_FILE* %12, %_IO_FILE** @gv_6, align 8
br label LBL_6
LBL_5:
%13 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8
%14 = ptrtoint %_IO_FILE* %13 to i64
store i64 %14, i64* bitcast (%_IO_FILE** @gv_6 to i64*), align 8
br label LBL_6
LBL_6:
store i64 %0, i64* @gv_8, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 0, 1, 4, 2, 3, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
}
|
0
|
CompRealVul
|
x86_virt_spec_ctrl_8104
|
x86_virt_spec_ctrl
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%sext = mul i64 %arg3, 72057594037927936
%0 = ashr exact i64 %sext, 56
%1 = call i64 @FUNC()
%2 = call i64 @FUNC(i64 1)
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 0
br i1 %4, label LBL_6, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 2)
%6 = trunc i64 %5 to i8
%7 = icmp eq i8 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 3)
%10 = trunc i64 %9 to i8
%11 = icmp eq i8 %10, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = inttoptr i64 %1 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %13)
store i64 %14, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%15 = icmp eq i64 %sv_0.0.reload, %arg1
br i1 %15, label LBL_6, label LBL_5
LBL_5:
%16 = trunc i64 %0 to i8
%17 = icmp eq i8 %16, 0
%storemerge3 = select i1 %17, i64 %sv_0.0.reload, i64 %arg1
%18 = call i64 @FUNC(i64 72, i64 %storemerge3)
br label LBL_6
LBL_6:
%19 = call i64 @FUNC(i64 4)
%20 = trunc i64 %19 to i8
%21 = icmp eq i8 %20, 1
br i1 %21, label LBL_8, label LBL_7
LBL_7:
%22 = call i64 @FUNC(i64 5)
%23 = and i64 %22, 4294967295
%24 = xor i64 %23, 1
%25 = trunc i64 %24 to i8
%26 = icmp eq i8 %25, 0
%27 = icmp eq i1 %26, false
store i64 %24, i64* %rax.0.reg2mem
br i1 %27, label LBL_15, label LBL_8
LBL_8:
%28 = call i64 @FUNC(i64 6)
%29 = trunc i64 %28 to i8
%30 = icmp eq i8 %29, 0
store i64 1, i64* %storemerge2.reg2mem
br i1 %30, label LBL_9, label LBL_10
LBL_9:
%31 = inttoptr i64 %1 to i64*
%32 = load i64, i64* %31, align 8
%33 = call i64 @FUNC(i64 %32)
store i64 %33, i64* %storemerge2.reg2mem
br label LBL_10
LBL_10:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%34 = urem i64 %arg2, 2
%35 = icmp eq i64 %storemerge2.reload, %34
store i64 %storemerge2.reload, i64* %rax.0.reg2mem
br i1 %35, label LBL_15, label LBL_11
LBL_11:
%36 = trunc i64 %0 to i8
%37 = icmp eq i8 %36, 0
br i1 %37, label LBL_13, label LBL_12
LBL_12:
%38 = call i64 @FUNC(i64 %34)
store i64 %38, i64* %storemerge.reg2mem
br label LBL_14
LBL_13:
%39 = call i64 @FUNC(i64 %storemerge2.reload)
store i64 %39, i64* %storemerge.reg2mem
br label LBL_14
LBL_14:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%40 = call i64 @FUNC(i64 %storemerge.reload)
store i64 %40, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %34, { 1, 0 }
uselistorder i64 %storemerge2.reload, { 2, 0, 1 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @ssbd_spec_ctrl_to_tif, { 1, 0 }
uselistorder i64 (i64)* @ssbd_tif_to_spec_ctrl, { 1, 0 }
uselistorder i64 2, { 0, 2, 1 }
uselistorder i64 (i64)* @static_cpu_has, { 5, 4, 3, 2, 1, 0 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_15, { 1, 2, 0 }
uselistorder label LBL_10, { 1, 0 }
}
|
0
|
CompRealVul
|
op_check_subfo_64_14390
|
op_check_subfo_64
|
define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i64, i64* @gv_0, align 8
%1 = load i64, i64* @gv_1, align 8
%2 = load i64, i64* @gv_2, align 8
%3 = xor i64 %2, %0
%4 = xor i64 %0, -9223372036854775808
%.not = xor i64 %4, %1
%5 = or i64 %3, %.not
%6 = lshr i64 %5, 63
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
store i32 0, i32* @gv_3, align 4
br label LBL_3
LBL_2:
store i32 1, i32* @gv_3, align 4
store i32 1, i32* inttoptr (i64 4210764 to i32*), align 4
br label LBL_3
LBL_3:
ret i64 %6
uselistorder i64 %0, { 1, 0 }
}
|
1
|
CompRealVul
|
s_mp_mul_digs_fast_6065
|
s_mp_mul_digs_fast
|
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.lcssa.reg2mem = alloca i32
%sv_0.0.in.lcssa.reg2mem = alloca i64
%.reg2mem36 = alloca i32
%sv_0.0.in12.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_1.015.reg2mem = alloca i32
%sv_2.0.in16.reg2mem = alloca i64
%sv_3.0.in17.reg2mem = alloca i64
%storemerge918.reg2mem = alloca i32
%sv_1.120.reg2mem = alloca i32
%indvars.iv25.reg2mem = alloca i64
%.reg2mem34 = alloca i32
%.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = load i64, i64* %0
%rdx = alloca i64, align 8
%3 = load i64, i64* %0
%sv_4 = alloca i64, align 8
%4 = icmp slt i32 %arg4, 0
%5 = icmp eq i1 %4, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_15
LBL_1:
%6 = ptrtoint i64* %arg3 to i64
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = sext i32 %arg4 to i64
%12 = icmp sgt i64 %11, %10
br i1 %12, label LBL_2, label LBL_4
LBL_2:
%13 = zext i32 %arg4 to i64
%14 = call i64 @FUNC(i64 %6, i64 %13)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = and i64 %14, 4294967295
store i64 %17, i64* %rax.0.reg2mem
br label LBL_15
LBL_4:
%18 = trunc i64 %1 to i32
%19 = trunc i64 %2 to i32
%20 = add i32 %19, %18
%21 = sub i32 %arg4, %20
%22 = xor i32 %20, %arg4
%23 = xor i32 %21, %arg4
%24 = and i32 %23, %22
%25 = icmp slt i32 %24, 0
%26 = icmp eq i32 %21, 0
%27 = icmp slt i32 %21, 0
%28 = icmp eq i1 %27, %25
%29 = icmp eq i1 %26, false
%30 = icmp eq i1 %28, %29
%31 = select i1 %30, i32 %20, i32 %arg4
%32 = icmp sgt i32 %31, 0
br i1 %32, label LBL_6, label LBL_5
LBL_5:
%33 = trunc i64 %3 to i32
%34 = bitcast i64* %arg3 to i32*
store i32 %31, i32* %34, align 4
%35 = add i64 %6, 8
%36 = inttoptr i64 %35 to i64*
%37 = load i64, i64* %36, align 8
store i32 %33, i32* %.reg2mem36
store i64 %37, i64* %sv_0.0.in.lcssa.reg2mem
store i32 0, i32* %storemerge.lcssa.reg2mem
br label LBL_14
LBL_6:
%38 = ptrtoint i64* %sv_4 to i64
%39 = bitcast i64* %rdi to i32*
%40 = bitcast i64* %rsi to i32*
%41 = ptrtoint i32* %arg1 to i64
%42 = add i64 %41, 8
%43 = inttoptr i64 %42 to i64*
%44 = ptrtoint i32* %arg2 to i64
%45 = add i64 %44, 8
%46 = inttoptr i64 %45 to i64*
%47 = add i64 %38, -464
%wide.trip.count27 = zext i32 %31 to i64
store i32 %18, i32* %.reg2mem
store i32 %19, i32* %.reg2mem34
store i64 0, i64* %indvars.iv25.reg2mem
store i32 0, i32* %sv_1.120.reg2mem
br label LBL_7
LBL_7:
%sv_1.120.reload = load i32, i32* %sv_1.120.reg2mem
%indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem
%.reload35 = load i32, i32* %.reg2mem34
%.reload = load i32, i32* %.reg2mem
%48 = zext i32 %.reload35 to i64
%49 = icmp ult i64 %indvars.iv25.reload, %48
%50 = add i32 %.reload35, -1
%51 = trunc i64 %indvars.iv25.reload to i32
%storemerge11.in = select i1 %49, i32 %51, i32 %50
%52 = sub i32 %51, %storemerge11.in
%53 = sub i32 %.reload, %52
%54 = zext i32 %53 to i64
%55 = sext i32 %storemerge11.in to i64
%56 = icmp slt i64 %55, %54
%57 = add i32 %storemerge11.in, 1
%storemerge10.in = select i1 %56, i32 %57, i32 %53
%58 = icmp sgt i32 %storemerge10.in, 0
store i32 %sv_1.120.reload, i32* %sv_1.0.lcssa.reg2mem
br i1 %58, label LBL_8, label LBL_10
LBL_8:
%storemerge11 = zext i32 %storemerge11.in to i64
%sext = mul i64 %storemerge11, 4294967296
%59 = ashr exact i64 %sext, 30
%60 = load i64, i64* %46, align 8
%61 = add i64 %60, %59
%62 = sext i32 %52 to i64
%63 = mul i64 %62, 4
%64 = load i64, i64* %43, align 8
%65 = add i64 %64, %63
store i32 0, i32* %storemerge918.reg2mem
store i64 %61, i64* %sv_3.0.in17.reg2mem
store i64 %65, i64* %sv_2.0.in16.reg2mem
store i32 %sv_1.120.reload, i32* %sv_1.015.reg2mem
br label LBL_9
LBL_9:
%sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem
%sv_2.0.in16.reload = load i64, i64* %sv_2.0.in16.reg2mem
%sv_3.0.in17.reload = load i64, i64* %sv_3.0.in17.reg2mem
%storemerge918.reload = load i32, i32* %storemerge918.reg2mem
%sv_3.0 = inttoptr i64 %sv_3.0.in17.reload to i32*
%sv_2.0 = inttoptr i64 %sv_2.0.in16.reload to i32*
%66 = add i64 %sv_2.0.in16.reload, 4
%67 = load i32, i32* %sv_2.0, align 4
%68 = add i64 %sv_3.0.in17.reload, -4
%69 = load i32, i32* %sv_3.0, align 4
%70 = mul i32 %69, %67
%71 = add i32 %70, %sv_1.015.reload
%72 = add nuw nsw i32 %storemerge918.reload, 1
%exitcond24 = icmp eq i32 %72, %storemerge10.in
store i32 %72, i32* %storemerge918.reg2mem
store i64 %68, i64* %sv_3.0.in17.reg2mem
store i64 %66, i64* %sv_2.0.in16.reg2mem
store i32 %71, i32* %sv_1.015.reg2mem
store i32 %71, i32* %sv_1.0.lcssa.reg2mem
br i1 %exitcond24, label LBL_10, label LBL_9
LBL_10:
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%73 = mul i64 %indvars.iv25.reload, 4
%74 = add i64 %73, %47
%75 = inttoptr i64 %74 to i32*
store i32 %sv_1.0.lcssa.reload, i32* %75, align 4
%indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1
%exitcond28 = icmp eq i64 %indvars.iv.next26, %wide.trip.count27
br i1 %exitcond28, label LBL_12, label LBL_10.LBL_7_crit_edge
LBL_11:
%76 = ashr i32 %sv_1.0.lcssa.reload, 31
%.pre = load i32, i32* %40, align 8
%.pre29 = load i32, i32* %39, align 8
store i32 %.pre29, i32* %.reg2mem
store i32 %.pre, i32* %.reg2mem34
store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem
store i32 %76, i32* %sv_1.120.reg2mem
br label LBL_7
LBL_12:
%.phi.trans.insert = bitcast i64* %rdx to i32*
%.pre30 = load i32, i32* %.phi.trans.insert, align 8
%77 = bitcast i64* %arg3 to i32*
store i32 %31, i32* %77, align 4
%78 = add i64 %6, 8
%79 = inttoptr i64 %78 to i64*
%80 = load i64, i64* %79, align 8
store i64 0, i64* %indvars.iv.reg2mem
store i64 %80, i64* %sv_0.0.in12.reg2mem
br label LBL_13
LBL_13:
%sv_0.0.in12.reload = load i64, i64* %sv_0.0.in12.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%sv_0.0 = inttoptr i64 %sv_0.0.in12.reload to i32*
%81 = add i64 %sv_0.0.in12.reload, 4
%82 = mul i64 %indvars.iv.reload, 4
%83 = add i64 %82, %47
%84 = inttoptr i64 %83 to i32*
%85 = load i32, i32* %84, align 4
store i32 %85, i32* %sv_0.0, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count27
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %81, i64* %sv_0.0.in12.reg2mem
store i32 %.pre30, i32* %.reg2mem36
store i64 %81, i64* %sv_0.0.in.lcssa.reg2mem
store i32 %31, i32* %storemerge.lcssa.reg2mem
br i1 %exitcond, label LBL_14, label LBL_13
LBL_14:
%storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem
%sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem
%.reload37 = load i32, i32* %.reg2mem36
%86 = sub i32 %.reload37, %storemerge.lcssa.reload
%87 = zext i32 %86 to i64
%88 = call i64 @FUNC(i64 %sv_0.0.in.lcssa.reload, i64 %87)
%89 = call i64 @FUNC(i64 %6)
store i64 0, i64* %rax.0.reg2mem
br label LBL_15
LBL_15:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %storemerge11.in, { 1, 0, 3, 2 }
uselistorder i64 %indvars.iv25.reload, { 0, 3, 1, 2 }
uselistorder i32 %sv_1.120.reload, { 1, 0 }
uselistorder i32 %31, { 0, 4, 2, 1, 3 }
uselistorder i32 %21, { 1, 2, 0 }
uselistorder i32 %20, { 1, 0, 2 }
uselistorder i64 %6, { 1, 2, 0, 4, 3 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem34, { 1, 0, 2 }
uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.120.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge918.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_3.0.in17.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.in16.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.in12.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 -4, { 1, 0 }
uselistorder i64 8, { 3, 1, 2, 0, 4, 5 }
uselistorder i32 %arg4, { 3, 0, 1, 2, 4, 5, 6 }
uselistorder i64* %arg3, { 1, 0, 2 }
uselistorder label LBL_15, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
perf_event_stop_9365
|
perf_event_stop
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%sv_0 = alloca i32*, align 8
store i32* %arg1, i32** %sv_0, align 8
%2 = ptrtoint i32* %arg1 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = bitcast i32** %sv_0 to i64*
%6 = and i64 %1, 4294967295
br label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 1
store i64 0, i64* %storemerge.reg2mem
br i1 %9, label LBL_2, label LBL_4
LBL_2:
%10 = call i64 @FUNC()
%11 = load i32, i32* %4, align 4
%12 = zext i32 %11 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = and i64 %13, 4294967295
%15 = call i64 @FUNC(i64 %14, i64 4198765, i64* nonnull %5)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, -11
br i1 %17, label LBL_1, label LBL_3
LBL_3:
%18 = and i64 %15, 4294967295
store i64 %18, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32** %sv_0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @READ_ONCE, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
}
|
0
|
CompRealVul
|
sdsMakeRoomFor_7220
|
sdsMakeRoomFor
|
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = add i64 %arg1, -1
%2 = inttoptr i64 %1 to i8*
%3 = load i8, i8* %2, align 1
%4 = icmp ult i64 %0, %arg2
store i64 %arg1, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_11
LBL_1:
%5 = call i64 @FUNC(i64 %arg1)
%6 = add i64 %5, %arg2
%7 = icmp ult i64 %6, %5
br i1 %7, label LBL_2, label LBL_3
LBL_2:
call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
br label LBL_3
LBL_3:
%8 = icmp ult i64 %6, 1048576
%9 = add i64 %6, 1048576
%10 = mul i64 %6, 2
%storemerge2 = select i1 %8, i64 %10, i64 %9
%11 = call i64 @FUNC(i64 %storemerge2)
%12 = trunc i64 %11 to i8
%13 = icmp eq i8 %12, 0
%14 = icmp eq i1 %13, false
%spec.select = select i1 %14, i8 %12, i8 1
%15 = icmp eq i8 %spec.select, 0
%16 = icmp eq i1 %15, false
%storemerge1 = select i1 %16, i64 2, i64 1
%17 = add i64 %storemerge2, 1
%18 = add i64 %17, %storemerge1
%19 = icmp ult i64 %5, %18
br i1 %19, label LBL_5, label LBL_4
LBL_4:
call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
br label LBL_5
LBL_5:
%20 = urem i8 %3, 16
%21 = icmp eq i8 %20, 0
%22 = icmp eq i1 %21, false
%. = select i1 %22, i64 -2, i64 -1
%23 = add i64 %., %arg1
%24 = icmp eq i8 %20, %spec.select
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_8, label LBL_6
LBL_6:
%26 = call i64 @FUNC(i64 %23, i64 %18)
%27 = icmp eq i64 %26, 0
%28 = icmp eq i1 %27, false
store i64 0, i64* %rax.0.reg2mem
br i1 %28, label LBL_7, label LBL_11
LBL_7:
%29 = add i64 %26, %storemerge1
store i64 %29, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_8:
%30 = call i64 @FUNC(i64 %18)
%31 = icmp eq i64 %30, 0
%32 = icmp eq i1 %31, false
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_9, label LBL_11
LBL_9:
%33 = add i64 %30, %storemerge1
%34 = inttoptr i64 %33 to i64*
%35 = inttoptr i64 %arg1 to i64*
%36 = trunc i64 %5 to i32
%37 = add i32 %36, 1
%38 = call i64* @memcpy(i64* %34, i64* %35, i32 %37)
%39 = call i64 @FUNC(i64 %23)
%40 = add i64 %33, -1
%41 = inttoptr i64 %40 to i8*
store i8 %spec.select, i8* %41, align 1
%42 = call i64 @FUNC(i64 %33, i64 %5)
store i64 %33, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_10:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%43 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge2)
store i64 %sv_0.0.reload, 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 %33, { 0, 2, 1, 3 }
uselistorder i64 %23, { 1, 0 }
uselistorder i8 %20, { 1, 0 }
uselistorder i64 %6, { 0, 2, 1, 3 }
uselistorder i64 %5, { 1, 2, 3, 4, 0 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i1 false, { 0, 1, 2, 5, 3, 4 }
uselistorder i8 0, { 2, 0, 1 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 1048576, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i32 1, { 3, 2, 1, 0 }
uselistorder i64 %arg1, { 2, 1, 3, 0, 4, 5 }
uselistorder label LBL_11, { 3, 0, 1, 2 }
uselistorder label LBL_3, { 1, 0 }
}
|
0
|
CompRealVul
|
is_path_absolute_9532
|
is_path_absolute
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.in.reg2mem = alloca i8*
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i8
%3 = icmp eq i8 %2, 47
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_7
LBL_1:
%4 = inttoptr i64 %arg1 to i8*
%5 = call i8* @strchr(i8* %4, i32 60)
%6 = icmp eq i8* %5, null
%7 = icmp eq i1 %6, false
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_7, label LBL_2
LBL_2:
%8 = call i8* @strchr(i8* %4, i32 34)
%9 = icmp eq i8* %8, null
%10 = icmp eq i1 %9, false
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_7, label LBL_3
LBL_3:
%11 = call i8* @strchr(i8* %4, i32 39)
%12 = icmp eq i8* %11, null
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_4, label LBL_7
LBL_4:
%13 = call i8* @strstr(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))
%14 = icmp eq i8* %13, null
%15 = icmp eq i1 %14, false
store i8* %13, i8** %.in.reg2mem
store i64 1, i64* %rax.0.reg2mem
br i1 %15, label LBL_5, label LBL_7
LBL_5:
%.in.reload = load i8*, i8** %.in.reg2mem
%16 = ptrtoint i8* %.in.reload to i64
%17 = add i64 %16, 3
%18 = inttoptr i64 %17 to i8*
%19 = load i8, i8* %18, align 1
%20 = icmp ne i8 %19, 0
%21 = icmp eq i8 %19, 47
%22 = icmp eq i1 %21, false
%or.cond = icmp eq i1 %20, %22
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_6, label LBL_7
LBL_6:
%23 = add i64 %16, 1
%24 = inttoptr i64 %23 to i8*
%25 = call i8* @strstr(i8* %24, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))
%26 = icmp eq i8* %25, null
%27 = icmp eq i1 %26, false
store i8* %25, i8** %.in.reg2mem
store i64 1, i64* %rax.0.reg2mem
br i1 %27, label LBL_5, label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i8** %.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 6, 5, 4, 7 }
uselistorder i64 1, { 0, 2, 1 }
uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }
uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }
uselistorder i1 false, { 2, 1, 0, 3, 4 }
uselistorder i8* null, { 1, 0, 2, 3, 4 }
uselistorder i8* (i8*, i32)* @strchr, { 2, 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_7, { 1, 0, 2, 5, 4, 3, 6 }
uselistorder label LBL_5, { 1, 0 }
}
|
0
|
CompRealVul
|
gen_read_xer_802
|
gen_read_xer
|
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC()
%2 = trunc i64 %1 to i32
%3 = call i64 @FUNC()
%4 = trunc i64 %3 to i32
%5 = call i64 @FUNC()
%6 = trunc i64 %5 to i32
%7 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%8 = zext i32 %7 to i64
%9 = and i64 %arg2, 4294967295
%10 = call i64 @FUNC(i64 %9, i64 %8)
%11 = load i32, i32* @gv_1, align 4
%12 = zext i32 %11 to i64
%13 = and i64 %1, 4294967295
%14 = call i64 @FUNC(i64 %13, i64 %12, i64 1)
%15 = load i32, i32* @gv_2, align 4
%16 = zext i32 %15 to i64
%17 = and i64 %3, 4294967295
%18 = call i64 @FUNC(i64 %17, i64 %16, i64 2)
%19 = load i32, i32* @gv_3, align 4
%20 = zext i32 %19 to i64
%21 = and i64 %5, 4294967295
%22 = call i64 @FUNC(i64 %21, i64 %20, i64 3)
%23 = call i64 @FUNC(i64 %13, i64 %13, i32 %4)
%24 = call i64 @FUNC(i64 %9, i64 %9, i32 %6)
%25 = call i64 @FUNC(i64 %9, i64 %9, i32 %2)
%26 = call i64 @FUNC(i64 %0)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label LBL_2, label LBL_1
LBL_1:
%29 = load i32, i32* @gv_4, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %13, i64 %30, i64 4)
%32 = call i64 @FUNC(i64 %9, i64 %9, i32 %2)
%33 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
%34 = zext i32 %33 to i64
%35 = call i64 @FUNC(i64 %13, i64 %34, i64 5)
%36 = call i64 @FUNC(i64 %9, i64 %9, i32 %2)
br label LBL_2
LBL_2:
%37 = call i64 @FUNC(i64 %13)
%38 = call i64 @FUNC(i64 %17)
%39 = call i64 @FUNC(i64 %21)
ret i64 %39
uselistorder i64 %13, { 2, 0, 1, 4, 3, 5 }
uselistorder i64 %9, { 3, 2, 0, 1, 5, 4, 7, 6, 8 }
uselistorder i64 (i64)* @tcg_temp_free, { 2, 1, 0 }
uselistorder i64 (i64, i64, i32)* @tcg_gen_or_tl, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @tcg_gen_shli_tl, { 4, 3, 2, 1, 0 }
uselistorder i64 ()* @tcg_temp_new, { 2, 1, 0 }
}
|
0
|
CompRealVul
|
curses_display_init_14735
|
curses_display_init
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = call i32 @isatty(i32 1)
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%4 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %3)
call void @exit(i32 1)
unreachable
LBL_2:
%5 = call i64 @FUNC()
%6 = call i64 @FUNC()
%7 = call i64 @FUNC(i64 4198788, i64 %arg2)
%8 = call i64 @FUNC()
%9 = call i64 @FUNC(i64 8)
store i64 %9, i64* @gv_2, align 8
%10 = inttoptr i64 %9 to i64*
store i64 ptrtoint (i64* @gv_3 to i64), i64* %10, align 8
%11 = load i64, i64* @gv_2, align 8
%12 = call i64 @FUNC(i64 %11)
store i32 1, i32* bitcast (i64* @gv_4 to i32*), align 8
ret i64 %12
uselistorder i32 0, { 1, 0 }
}
|
1
|
CompRealVul
|
gen_load_2596
|
gen_load
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg2 to i32
%1 = bitcast i64* %arg1 to i32*
store i32 1, i32* %1, align 4
%2 = icmp sgt i32 %0, 4
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = icmp sgt i32 %0, 2
%.off = add i32 %0, -1
%switch = icmp ult i32 %.off, 2
%or.cond = or i1 %3, %switch
br i1 %or.cond, label LBL_3, label LBL_2
LBL_2:
call void @exit(i32 1)
unreachable
LBL_3:
%4 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4
store i32 %4, i32* bitcast (i64* @gv_0 to i32*), align 8
ret i64 0
uselistorder i32 %0, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
gss_auth_find_or_add_hashed_4496
|
gss_auth_find_or_add_hashed
|
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64* nonnull @gv_0)
%1 = icmp eq i64 %arg3, 0
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = add i64 %arg3, 24
%3 = load i64, i64* @gv_1, align 8
%4 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg2)
br label LBL_2
LBL_2:
%5 = call i64 @FUNC(i64* nonnull @gv_0)
ret i64 %arg3
uselistorder i64 %arg3, { 0, 2, 1 }
}
|
0
|
CompRealVul
|
__ptrace_unlink_13063
|
__ptrace_unlink
|
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
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC()
unreachable
LBL_2:
%6 = ptrtoint i64* %arg1 to i64
%7 = bitcast i64* %arg1 to i32*
store i32 0, i32* %7, align 4
%8 = add i64 %6, 24
%9 = call i64 @FUNC(i64 %8)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = call i64 @FUNC(i64 %8)
%14 = call i64 @FUNC(i64 %6)
%15 = add i64 %6, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = add i64 %6, 8
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
%20 = call i64 @FUNC(i64 %6)
br label LBL_4
LBL_4:
%21 = call i64 @FUNC(i64 %6)
ret i64 %21
uselistorder i64 %6, { 4, 0, 1, 3, 2, 5 }
}
|
1
|
CompRealVul
|
qxl_enter_vga_mode_16058
|
qxl_enter_vga_mode
|
define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 4
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 1
store i64 1, i64* %rax.0.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = and i64 %1, 4294967295
%8 = call i64 @FUNC(i64 %7)
%9 = add i64 %2, 16
%10 = call i64 @FUNC(i64 %9)
%11 = add i64 %2, 24
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = add i64 %2, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = call i64 @FUNC(i64 %16, i64 %13, i64 %11)
%18 = call i64 @FUNC(i64 %14, i64 1000)
%19 = call i64 @FUNC(i64 %14)
store i32 1, i32* %4, align 4
%20 = call i64 @FUNC(i64 %11)
%21 = add i64 %2, 32
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = call i64 @FUNC(i64 %23)
store i64 %24, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %11, { 0, 2, 1 }
uselistorder i64 %2, { 0, 1, 3, 2, 4 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
file_rlookup_19136
|
file_rlookup
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.04.reg2mem = alloca i32
%storemerge25.reg2mem = alloca i8**
%0 = load i32, i32* inttoptr (i64 4210832 to i32*), align 16
%1 = icmp eq i32 %0, 0
%2 = icmp slt i32 %0, 0
%3 = icmp eq i1 %2, false
%4 = icmp eq i1 %1, false
%5 = icmp eq i1 %3, %4
store i64 %arg1, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_5
LBL_1:
%6 = inttoptr i64 %arg1 to i8*
store i8** getelementptr inbounds ([6 x i8*], [6 x i8*]* @gv_0, i64 0, i64 0), i8*** %storemerge25.reg2mem
store i32 %0, i32* %sv_0.04.reg2mem
br label LBL_2
LBL_2:
%storemerge25.reload = load i8**, i8*** %storemerge25.reg2mem
%7 = load i8*, i8** %storemerge25.reload, align 8
%8 = call i32 @strcmp(i8* %7, i8* %6)
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = ptrtoint i8** %storemerge25.reload to i64
%12 = add i64 %11, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
store i64 %14, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem
%15 = add i32 %sv_0.04.reload, -1
%16 = ptrtoint i8** %storemerge25.reload to i64
%17 = add i64 %16, 16
%18 = inttoptr i64 %17 to i8**
%19 = icmp eq i32 %15, 0
%20 = icmp slt i32 %15, 0
%21 = icmp eq i1 %20, false
%22 = icmp eq i1 %19, false
%23 = icmp eq i1 %21, %22
store i8** %18, i8*** %storemerge25.reg2mem
store i32 %15, i32* %sv_0.04.reg2mem
store i64 %arg1, i64* %storemerge.reg2mem
br i1 %23, label LBL_2, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i8** %storemerge25.reload, { 0, 2, 1 }
uselistorder i8*** %storemerge25.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }
uselistorder i1 false, { 4, 2, 3, 0, 1 }
uselistorder i32 0, { 15, 16, 14, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder i64 %arg1, { 0, 2, 1 }
uselistorder label LBL_5, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
}
|
1
|
CompRealVul
|
journal_rate_limit_free_4256
|
journal_rate_limit_free
|
define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rdi.1.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
%1 = icmp eq i1 %0, false
store i64 %arg1, i64* %rdi.1.reg2mem
br i1 %1, label LBL_3, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%2 = call i64 @FUNC(i64 %rdi.0.reload)
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br label LBL_3
LBL_3:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%3 = icmp eq i64 %rdi.1.reload, 0
%4 = icmp eq i1 %3, false
store i64 %rdi.1.reload, i64* %rdi.0.reg2mem
br i1 %4, label LBL_2, label LBL_4
LBL_4:
%5 = inttoptr i64 %arg1 to i64*
call void @free(i64* %5)
ret i64 ptrtoint (i32* @0 to i64)
uselistorder i64 %rdi.1.reload, { 1, 0 }
uselistorder i64* %rdi.0.reg2mem, { 2, 0, 1 }
uselistorder [2 x i8]* @gv_0, { 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder i64 %arg1, { 1, 0, 2 }
}
|
0
|
CompRealVul
|
gnutls_session_get_data_11630
|
gnutls_session_get_data
|
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = alloca i32
%rax.0.reg2mem = alloca i64
%2 = load i64, i64* %0
%3 = load i32, i32* %1
%sv_0 = alloca i64, align 8
%4 = trunc i64 %2 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_6
LBL_1:
store i64 %arg2, i64* %sv_0, align 8
%7 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %8, 0
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = call i64 @FUNC()
%12 = and i64 %7, 4294967295
store i64 %12, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%13 = icmp eq i64 %arg2, 0
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = load i64, i64* %sv_0, align 8
%15 = inttoptr i64 %arg2 to i64*
%16 = inttoptr i64 %14 to i64*
%17 = call i64* @memcpy(i64* %15, i64* %16, i32 %3)
br label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64* nonnull %sv_0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %sv_0, { 0, 2, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_6, { 1, 2, 0 }
uselistorder label LBL_5, { 1, 0 }
}
|
1
|
CompRealVul
|
av1_uvlc_13126
|
av1_uvlc
|
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge3.reg2mem = alloca i64
%storemerge.lcssa5.reg2mem = alloca i32
%storemerge4.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i32 0, i32* %storemerge4.reg2mem
store i32 0, i32* %storemerge.lcssa5.reg2mem
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%5 = mul i32 %storemerge4.reload, 16777216
%sext = add i32 %5, 16777216
%6 = ashr exact i32 %sext, 24
%7 = call i64 @FUNC(i64 %0, i64 1)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i32 %6, i32* %storemerge4.reg2mem
br i1 %10, label LBL_2, label LBL_1
LBL_2:
%11 = trunc i32 %6 to i8
%12 = icmp ult i8 %11, 32
store i32 %6, i32* %storemerge.lcssa5.reg2mem
store i64 4294967295, i64* %storemerge3.reg2mem
br i1 %12, label LBL_3, label LBL_4
LBL_3:
%storemerge.lcssa5.reload = load i32, i32* %storemerge.lcssa5.reg2mem
%13 = urem i32 %storemerge.lcssa5.reload, 256
%14 = zext i32 %13 to i64
%15 = call i64 @FUNC(i64 %0, i64 %14)
%16 = urem i32 %storemerge.lcssa5.reload, 32
%17 = trunc i64 %15 to i32
%notmask = shl nsw i32 -1, %16
%18 = sub i32 0, %notmask
%19 = sub i32 %18, 1
%20 = add i32 %19, %17
%21 = mul i32 %storemerge.lcssa5.reload, 2
%22 = and i32 %21, 510
%23 = zext i32 %22 to i64
%24 = call i64 @FUNC(i64 %0, i64 %23, i64 %arg2, i32 %20)
%25 = zext i32 %20 to i64
store i64 %25, i64* %storemerge3.reg2mem
br label LBL_4
LBL_4:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
ret i64 %storemerge3.reload
uselistorder i32 %20, { 1, 0 }
uselistorder i32 %storemerge.lcssa5.reload, { 2, 1, 0 }
uselistorder i32 %6, { 0, 2, 1 }
uselistorder i64 %0, { 1, 2, 3, 0 }
uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge.lcssa5.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }
uselistorder i32 16777216, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 2, 4, 0, 1, 3 }
uselistorder i64 (i64, i64)* @gf_bs_read_int, { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
}
|
1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.