dataset stringclasses 1 value | file stringlengths 7 51 | fun_name stringlengths 2 45 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
CompRealVul | lpfc_rq_adjust_repost_17589 | lpfc_rq_adjust_repost | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%sext = mul i64 %arg3, 4294967296
%1 = ashr exact i64 %sext, 29
%2 = add i64 %1, ptrtoint (i64* @gv_0 to i64)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = udiv i32 %6, 8
%8 = icmp ult i32 %6, 8
%9 = icmp eq i1 %8, false
%spec.select = select i1 %9, i32 %7, i32 1
%10 = bitcast i64* %arg2 to i32*
store i32 %spec.select, i32* %10, align 4
ret i64 %0
} | 1 |
CompRealVul | php_object_property_dump_9484 | php_object_property_dump | 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 = load i64, i64* %0
%sv_0 = alloca i8*, align 8
%sv_1 = alloca i64, align 8
%sext = mul i64 %arg4, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = icmp eq i64* %arg3, null
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = add nsw i64 %3, 1
%7 = and i64 %6, 4294967295
%8 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 32, i64 %arg2, i64 %2, i64 %1)
br label LBL_9
LBL_2:
%9 = ptrtoint i64* %arg3 to i64
%10 = ptrtoint i8** %sv_0 to i64
%11 = bitcast i8** %sv_0 to i64*
%12 = call i64 @FUNC(i64 %9, i64* nonnull %11, i64* nonnull %sv_1)
%13 = add nsw i64 %3, 1
%14 = and i64 %13, 4294967295
%15 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 32, i64 %10, i64 %2, i64 %1)
%16 = load i8*, i8** %sv_0, align 8
%17 = icmp eq i8* %16, null
br i1 %17, label LBL_7, label LBL_3
LBL_3:
%18 = trunc i64 %12 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_7, label LBL_4
LBL_4:
%21 = load i8, i8* %16, align 1
%22 = icmp eq i8 %21, 42
%23 = icmp eq i1 %22, false
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = load i64, i64* %sv_1, align 8
%25 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %24, i64 32, i64 %10, i64 %2, i64 %1)
br label LBL_8
LBL_6:
%26 = ptrtoint i8* %16 to i64
%27 = load i64, i64* %sv_1, align 8
%28 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %26, i64 %10, i64 %2, i64 %1)
br label LBL_8
LBL_7:
%29 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 %14, i64 32, i64 %10, i64 %2, i64 %1)
%30 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8
%31 = ptrtoint %_IO_FILE* %30 to i64
%32 = add i64 %9, 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i64*
%36 = trunc i64 %34 to i32
%37 = call i32 @fwrite(i64* %35, i32 1, i32 %36, %_IO_FILE* %30)
%38 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i64 1, i64 %34, i64 %31, i64 %2, i64 %1)
br label LBL_8
LBL_8:
%39 = call i32 @puts(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0))
br label LBL_9
LBL_9:
%40 = ptrtoint i64* %arg1 to i64
%41 = add nsw i64 %3, 2
%42 = and i64 %41, 4294967295
%43 = call i64 @FUNC(i64 %40, i64 %42)
ret i64 %43
uselistorder i64 %34, { 2, 1, 0 }
uselistorder i64 %10, { 2, 1, 0, 3 }
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i8** %sv_0, { 1, 2, 0 }
uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @php_printf, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 4294967295, { 1, 0, 2, 3 }
uselistorder i64 32, { 1, 0, 3, 4, 2 }
uselistorder i64* %arg3, { 1, 0 }
} | 0 |
CompRealVul | srt_write_packet_16601 | srt_write_packet | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%.pre-phi6.reg2mem = alloca i64*
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg2 to i64
%6 = ptrtoint i64* %arg1 to i64
%7 = add i64 %6, 16
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i32*
%11 = trunc i64 %3 to i32
%12 = icmp eq i32 %11, 1
%13 = icmp eq i1 %12, false
%14 = load i32, i32* %10, align 4
%15 = add i32 %14, 1
store i32 %15, i32* %10, align 4
%16 = icmp eq i1 %13, false
br i1 %16, label LBL_0.LBL_7_crit_edge, label LBL_2
LBL_1:
%.pre = add i64 %6, 8
%.pre5 = inttoptr i64 %.pre to i64*
store i64* %.pre5, i64** %.pre-phi6.reg2mem
br label LBL_7
LBL_2:
%17 = add i64 %5, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
%21 = icmp slt i64 %19, 0
%22 = icmp eq i1 %21, false
%23 = icmp eq i1 %20, false
%24 = icmp eq i1 %22, %23
store i64 %19, i64* %sv_0.0.reg2mem
br i1 %24, label LBL_4, label LBL_3
LBL_3:
%25 = add i64 %5, 16
%26 = inttoptr i64 %25 to i64*
%27 = load i64, i64* %26, align 8
store i64 %27, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%28 = icmp ne i64* %arg2, inttoptr (i64 -1 to i64*)
%29 = icmp slt i64 %sv_0.0.reload, 0
%30 = icmp eq i1 %29, false
%or.cond = icmp eq i1 %28, %30
br i1 %or.cond, label LBL_6, label LBL_5
LBL_5:
%31 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967274, i64* %storemerge.reg2mem
br label LBL_10
LBL_6:
%32 = lshr i64 %5, 63
%33 = ashr i64 %5, 63
%34 = udiv i64 %33, 4294967296
%35 = trunc i64 %34 to i32
%36 = trunc i64 %32 to i32
%37 = add i32 %35, %36
%38 = ashr i32 %37, 5
%39 = mul i32 %38, -60
%40 = or i32 %39, %36
%41 = lshr i64 %5, 63
%42 = ashr i64 %5, 63
%43 = udiv i64 %42, 4294967296
%44 = trunc i64 %43 to i32
%45 = trunc i64 %41 to i32
%46 = add i32 %44, %45
%47 = ashr i32 %46, 5
%48 = mul i32 %47, -60
%49 = or i32 %48, %45
%50 = add i64 %6, 8
%51 = inttoptr i64 %50 to i64*
%52 = load i64, i64* %51, align 8
%53 = zext i32 %40 to i64
%54 = zext i32 %49 to i64
%55 = call i64 @FUNC(i64 %52, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 %15, i64 0, i64 %54, i64 %53)
store i64* %51, i64** %.pre-phi6.reg2mem
br label LBL_7
LBL_7:
%.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem
%56 = add i64 %5, 32
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = add i64 %5, 24
%60 = inttoptr i64 %59 to i64*
%61 = load i64, i64* %60, align 8
%62 = load i64, i64* %.pre-phi6.reload, align 8
%63 = call i64 @FUNC(i64 %62, i64 %61, i32 %58)
br i1 %16, label LBL_9, label LBL_8
LBL_8:
%64 = load i64, i64* %.pre-phi6.reload, align 8
%65 = call i64 @FUNC(i64 %64, i64 ptrtoint ([3 x i8]* @gv_2 to i64), i32 2)
br label LBL_9
LBL_9:
%66 = load i64, i64* %.pre-phi6.reload, align 8
%67 = call i64 @FUNC(i64 %66)
store i64 0, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.pre-phi6.reload, { 1, 0, 2 }
uselistorder i64 %19, { 0, 2, 1 }
uselistorder i64 %6, { 1, 2, 0, 3 }
uselistorder i64 %5, { 7, 6, 0, 1, 2, 3, 4, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i32)* @avio_write, { 1, 0 }
uselistorder i64 8, { 1, 2, 0 }
uselistorder i1 false, { 0, 3, 1, 2, 4 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
CompRealVul | alloc_identity_pagetable_8617 | alloc_identity_pagetable | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %2, i64 0, i64 %7, i64 4096)
%9 = and i64 %8, 4294967295
ret i64 %9
} | 0 |
CompRealVul | mov_read_wide_14611 | mov_read_wide | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%rax.0.reg2mem = alloca i64
%1 = load i32, i32* %0
%2 = trunc i64 %arg4 to i32
%3 = icmp ult i32 %2, 8
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_6, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = add i64 %arg4, 4294967292
%9 = and i64 %8, 4294967295
%10 = call i64 @FUNC(i64 %4, i64 %9)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_3:
%11 = call i64 @FUNC(i64 %4)
%12 = add i32 %2, -8
%13 = icmp eq i32 %1, 1835295092
br i1 %13, label LBL_5, label LBL_4
LBL_4:
%14 = zext i32 %12 to i64
%15 = call i64 @FUNC(i64 %4, i64 %14)
store i64 0, i64* %rax.0.reg2mem
br label LBL_6
LBL_5:
%16 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %11, 4294967296
%17 = ashr exact i64 %sext, 32
%18 = zext i32 %12 to i64
%19 = call i64 @FUNC(i64 %16, i64 %4, i64 %17, i64 %18)
%20 = and i64 %19, 4294967295
store i64 %20, i64* %rax.0.reg2mem
br label LBL_6
LBL_6:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %12, { 1, 0 }
uselistorder i64 %4, { 2, 1, 3, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 (i64, i64)* @url_fskip, { 1, 0 }
uselistorder label LBL_6, { 1, 2, 3, 0 }
} | 1 |
CompRealVul | ceph_con_in_msg_alloc_5382 | ceph_con_in_msg_alloc | define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rdi.1.reg2mem = alloca i64
%.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = ptrtoint i32* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = call i64 @FUNC(i64 %3)
%5 = add i64 %2, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = call i64 @FUNC(i64 %13)
%15 = add i64 %2, 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_2, label LBL_1
LBL_1:
%19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%20 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %19)
call void @exit(i32 1)
unreachable
LBL_2:
%21 = add i64 %2, 24
%22 = inttoptr i64 %21 to i64*
%23 = load i64, i64* %22, align 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label LBL_10, label LBL_3
LBL_3:
%27 = add i64 %2, 48
%28 = call i64 @FUNC(i64 %27)
%29 = call i64 @FUNC(i64 %27)
%30 = add i64 %2, 32
%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_4
LBL_4:
%34 = icmp eq i32* %arg1, null
store i64 4294967285, i64* %rax.0.reg2mem
br i1 %34, label LBL_20, label LBL_5
LBL_5:
%35 = call i64 @FUNC(i64 %2)
store i64 4294967285, i64* %rax.0.reg2mem
br label LBL_20
LBL_6:
store i64 %2, i64* %16, align 8
%36 = bitcast i64* %rsi to i32*
%37 = load i32, i32* %36, align 8
%38 = icmp eq i32 %37, 0
br i1 %38, label LBL_8, label LBL_7
LBL_7:
store i64 0, i64* %16, align 8
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_8:
%39 = icmp eq i32* %arg1, null
%40 = icmp eq i1 %39, false
store i64 %10, i64* %.pre-phi.reg2mem
store i64 %2, i64* %.reg2mem
store i64 %2, i64* %rdi.1.reg2mem
br i1 %40, label LBL_15, label LBL_9
LBL_9:
%41 = add i64 %2, 40
%42 = inttoptr i64 %41 to i64*
store i64 ptrtoint ([45 x i8]* @gv_2 to i64), i64* %42, align 8
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_20
LBL_10:
%43 = trunc i64 %9 to i32
%44 = and i64 %4, 4294967295
%45 = call i64 @FUNC(i64 %44, i32 %43, i64 0, i64 0)
store i64 %45, i64* %16, align 8
%46 = icmp eq i64 %45, 0
%47 = icmp eq i1 %46, false
br i1 %47, label LBL_12, label LBL_11
LBL_11:
%48 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%49 = and i64 %9, 4294967295
%50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %48, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i64 %44, i64 %49)
store i64 4294967284, i64* %rax.0.reg2mem
br label LBL_20
LBL_12:
%51 = add i64 %45, 16
%52 = inttoptr i64 %51 to i64*
store i64 %2, i64* %52, align 8
%53 = load i64, i64* %16, align 8
%54 = add i64 %53, 16
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = icmp eq i64 %56, 0
%58 = icmp eq i1 %57, false
br i1 %58, label LBL_14, label LBL_13
LBL_13:
%59 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%60 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %59)
call void @exit(i32 1)
unreachable
LBL_14:
%61 = add i64 %2, 12
%62 = inttoptr i64 %61 to i32*
%63 = load i32, i32* %62, align 4
%64 = zext i32 %63 to i64
%65 = call i64 @FUNC(i64 %64)
%66 = trunc i64 %65 to i32
%67 = add i64 %53, 32
%68 = inttoptr i64 %67 to i32*
store i32 %66, i32* %68, align 4
%.pre = load i64, i64* %16, align 8
%.pre18 = add i64 %.pre, 8
store i64 %.pre18, i64* %.pre-phi.reg2mem
store i64 %.pre, i64* %.reg2mem
store i64 %64, i64* %rdi.1.reg2mem
br label LBL_15
LBL_15:
%69 = trunc i64 %14 to i32
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%.reload = load i64, i64* %.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%70 = inttoptr i64 %10 to i64*
%71 = load i64, i64* %70, align 8
%72 = inttoptr i64 %.reload to i64*
store i64 %rdi.1.reload, i64* %72, align 8
%73 = inttoptr i64 %.pre-phi.reload to i64*
store i64 %71, i64* %73, align 8
%74 = icmp eq i32 %69, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %74, label LBL_19, label LBL_16
LBL_16:
%75 = load i64, i64* %16, align 8
%76 = add i64 %75, 24
%77 = inttoptr i64 %76 to i64*
%78 = load i64, i64* %77, align 8
%79 = icmp eq i64 %78, 0
%80 = icmp eq i1 %79, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %80, label LBL_19, label LBL_17
LBL_17:
%81 = call i64 @FUNC(i64 %2, i64 %75)
%82 = trunc i64 %81 to i32
%83 = icmp slt i32 %82, 0
%84 = icmp eq i1 %83, false
store i64 %81, i64* %sv_0.0.reg2mem
br i1 %84, label LBL_19, label LBL_18
LBL_18:
%85 = load i64, i64* %16, align 8
%86 = call i64 @FUNC(i64 %85)
store i64 0, i64* %16, align 8
store i64 %81, i64* %sv_0.0.reg2mem
br label LBL_19
LBL_19:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%87 = and i64 %sv_0.0.reload, 4294967295
store i64 %87, i64* %rax.0.reg2mem
br label LBL_20
LBL_20:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %45, { 1, 0, 2 }
uselistorder i64* %16, { 4, 5, 3, 0, 6, 7, 1, 2, 8 }
uselistorder i64 %10, { 1, 0, 2 }
uselistorder i64 %2, { 4, 10, 5, 2, 0, 1, 3, 7, 6, 9, 8, 11, 12, 13 }
uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i64 4294967284, { 1, 0 }
uselistorder i64 (i64)* @ceph_msg_put, { 1, 0 }
uselistorder i64 4294967285, { 1, 0 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }
uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }
uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }
uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }
uselistorder label LBL_20, { 2, 3, 4, 5, 1, 0 }
uselistorder label LBL_15, { 1, 0 }
} | 0 |
CompRealVul | udf_get_filename_10997 | udf_get_filename | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 16, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_12
LBL_1:
%3 = call i64 @FUNC(i64 16, i64 0)
%4 = icmp eq i64 %3, 0
store i64 0, i64* %sv_0.1.reg2mem
br i1 %4, label LBL_11, label LBL_2
LBL_2:
%5 = ptrtoint i64* %arg2 to i64
%6 = call i64 @FUNC(i64 %3, i64 %5, i32 %arg4)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %9, label LBL_10, label LBL_3
LBL_3:
%10 = ptrtoint i64* %arg1 to i64
%11 = call i64 @FUNC(i64 %10, i64 1)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_6, label LBL_4
LBL_4:
%14 = call i64 @FUNC(i64 %0, i64 %3)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_9, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_6:
%19 = call i64 @FUNC(i64 %10, i64 2)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %21, label LBL_10, label LBL_7
LBL_7:
%22 = call i64 @FUNC(i64 %10)
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = call i64 @FUNC(i64 %24, i64 %0, i64 %3)
%26 = trunc i64 %25 to i32
%27 = icmp eq i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_9, label LBL_8
LBL_8:
%29 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %5)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_10
LBL_9:
%30 = ptrtoint i64* %arg3 to i64
%31 = add i64 %3, 8
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = inttoptr i64 %3 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %0, 8
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = inttoptr i64 %0 to i64*
%40 = load i64, i64* %39, align 8
%41 = zext i32 %33 to i64
%42 = call i64 @FUNC(i64 %30, i64 %40, i32 %38, i64 %35, i64 %41)
store i64 %42, 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 %3)
store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem
br label LBL_11
LBL_11:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%44 = call i64 @FUNC(i64 %0)
%45 = and i64 %sv_0.1.reload, 4294967295
store i64 %45, i64* %storemerge.reg2mem
br label LBL_12
LBL_12:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64 %3, { 4, 2, 1, 3, 0, 5, 6 }
uselistorder i64 %0, { 4, 2, 1, 3, 0, 5 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i64 (i8*, i64)* @udf_debug, { 1, 0 }
uselistorder i64 (i64, i64)* @UDF_QUERY_FLAG, { 1, 0 }
uselistorder i64 1, { 3, 0, 1, 2 }
uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_10, { 2, 3, 0, 4, 1 }
} | 1 |
CompRealVul | ape_tag_read_field_15679 | ape_tag_read_field | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%4 = ptrtoint i64* %sv_2 to i64
%5 = call i64 @FUNC(i64 %3)
%6 = trunc i64 %5 to i32
%7 = call i64 @FUNC(i64 %3)
%8 = add i64 %4, -1088
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %storemerge2.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%9 = call i64 @FUNC(i64 %3)
%10 = trunc i64 %9 to i32
%.off = add i32 %10, -32
%11 = icmp ugt i32 %.off, 94
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%12 = trunc i64 %9 to i8
%13 = add i64 %indvars.iv.reload, %8
%14 = inttoptr i64 %13 to i8*
store i8 %12, i8* %14, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%15 = add nuw nsw i32 %storemerge2.reload, 1
%16 = icmp ult i64 %indvars.iv.next, 1023
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %15, i32* %storemerge2.reg2mem
br i1 %16, label LBL_1, label LBL_3
LBL_3:
%17 = zext i32 %15 to i64
%18 = add i64 %8, %17
%19 = inttoptr i64 %18 to i8*
store i8 0, i8* %19, align 1
br label LBL_5
LBL_4:
%sext3 = mul i64 %indvars.iv.reload, 4294967296
%20 = ashr exact i64 %sext3, 32
%21 = add i64 %20, %8
%22 = inttoptr i64 %21 to i8*
store i8 0, i8* %22, align 1
%23 = icmp eq i32 %10, 0
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 %2, i64 %1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_17
LBL_6:
%25 = icmp eq i32 %6, -1
%26 = icmp eq i1 %25, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %26, label LBL_7, label LBL_17
LBL_7:
%27 = urem i64 %7, 2
%28 = icmp eq i64 %27, 0
br i1 %28, label LBL_13, label LBL_8
LBL_8:
%29 = call i64 @FUNC(i64 %3, i64 0)
%30 = icmp eq i64 %29, 0
%31 = icmp eq i1 %30, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %31, label LBL_9, label LBL_17
LBL_9:
%32 = call i64 @FUNC(i64 %3, i64 2147483647, i64* nonnull %sv_0, i64 1024)
%33 = add i64 %5, 32
%34 = and i64 %33, 4294967295
%35 = inttoptr i64 %29 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %34)
%38 = inttoptr i64 %36 to i64*
store i64 %37, i64* %38, align 8
%39 = load i64, i64* %35, align 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
%43 = icmp eq i1 %42, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %43, label LBL_10, label LBL_17
LBL_10:
%44 = call i64 @FUNC(i64 %3, i64 %41, i32 %6)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %6, %45
%47 = load i64, i64* %35, align 8
br i1 %46, label LBL_12, label LBL_11
LBL_11:
%48 = call i64 @FUNC(i64 %47)
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_17
LBL_12:
%49 = add i64 %47, 8
%50 = inttoptr i64 %49 to i32*
store i32 %6, i32* %50, align 4
%51 = add i64 %29, 8
%52 = call i64 @FUNC(i64 %51, i64* nonnull %sv_1, i64* nonnull %sv_0, i64 0)
%53 = load i64, i64* %35, align 8
%54 = add i64 %53, 12
%55 = inttoptr i64 %54 to i32*
store i32 1, i32* %55, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_13:
%56 = add i64 %5, 1
%57 = and i64 %56, 4294967295
%58 = call i64 @FUNC(i64 %57)
%59 = icmp eq i64 %58, 0
%60 = icmp eq i1 %59, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %60, label LBL_14, label LBL_17
LBL_14:
%61 = call i64 @FUNC(i64 %3, i64 %58, i32 %6)
%62 = trunc i64 %61 to i32
%63 = icmp slt i32 %62, 0
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_16, label LBL_15
LBL_15:
%65 = and i64 %61, 4294967295
store i64 %65, i64* %rax.0.reg2mem
br label LBL_17
LBL_16:
%sext = mul i64 %61, 4294967296
%66 = ashr exact i64 %sext, 32
%67 = add i64 %66, %58
%68 = inttoptr i64 %67 to i8*
store i8 0, i8* %68, align 1
%69 = add i64 %3, 8
%70 = inttoptr i64 %58 to i64*
%71 = call i64 @FUNC(i64 %69, i64* nonnull %sv_1, i64* %70, i64 1)
store i64 0, 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 %58, { 1, 0, 2, 3 }
uselistorder i64 %47, { 1, 0 }
uselistorder i32 %15, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }
uselistorder i64 %8, { 1, 0, 2 }
uselistorder i32 %6, { 3, 0, 2, 1, 4 }
uselistorder i64 %3, { 4, 5, 1, 2, 3, 0, 6, 7, 8 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 9, 3, 1, 8, 4, 5, 6, 7 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64*, i64*, i64)* @av_dict_set, { 1, 0 }
uselistorder i64 (i64, i64, i32)* @avio_read, { 1, 0 }
uselistorder i64 (i64)* @av_malloc, { 1, 0 }
uselistorder i64 4294967295, { 2, 3, 4, 0, 1 }
uselistorder i64 32, { 1, 2, 0 }
uselistorder i8 0, { 1, 2, 0, 3 }
uselistorder i64 1, { 2, 1, 3, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i64 (i64)* @avio_rl32, { 1, 0 }
uselistorder label LBL_17, { 1, 6, 2, 0, 7, 3, 4, 5, 8 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | get_audio_frame_size_16195 | get_audio_frame_size | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
%4 = icmp eq i1 %3, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_8
LBL_1:
%5 = ptrtoint i64* %arg1 to i64
%6 = add i64 %5, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp sgt i32 %8, 1
store i32 %8, i32* %sv_0.0.reg2mem
br i1 %9, label LBL_7, label LBL_2
LBL_2:
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_5, label LBL_3
LBL_3:
%14 = add i64 %5, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %18, label LBL_4, label LBL_8
LBL_4:
%sext = mul i64 %arg2, 4294967296
%19 = ashr exact i64 %sext, 29
%20 = mul i32 %16, %12
%21 = trunc i64 %19 to i32
%22 = ashr i32 %21, 31
%23 = and i64 %19, 4294967288
%24 = zext i32 %22 to i64
%25 = mul i64 %24, 4294967296
%26 = or i64 %25, %23
%27 = zext i32 %20 to i64
%28 = sdiv i64 %26, %27
%29 = trunc i64 %28 to i32
store i32 %29, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_5:
%30 = add i64 %5, 12
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
%34 = icmp eq i1 %33, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_6, label LBL_8
LBL_6:
%35 = add i64 %5, 16
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = trunc i64 %arg2 to i32
%39 = mul i32 %38, 8
%40 = mul i32 %37, %39
%41 = ashr i32 %40, 31
%42 = zext i32 %40 to i64
%43 = zext i32 %41 to i64
%44 = mul i64 %43, 4294967296
%45 = or i64 %44, %42
%46 = zext i32 %32 to i64
%47 = sdiv i64 %45, %46
%48 = trunc i64 %47 to i32
store i32 %48, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%49 = zext i32 %sv_0.0.reload to i64
store i64 %49, 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 %40, { 1, 0 }
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %5, { 2, 0, 1, 3 }
uselistorder i64 %1, { 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_8, { 3, 0, 1, 2 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 1 |
CompRealVul | nbd_recv_coroutines_enter_all_1318 | nbd_recv_coroutines_enter_all | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul i64 %indvars.iv.reload, 8
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %4)
store i64 %6, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 0 |
CompRealVul | init_12549 | init | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = call i32 @pthread_mutex_init(i64* nonnull @gv_0, i64* null)
%1 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))
store i64 %1, i64* @gv_2, align 8
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_6, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0))
store i64 %5, i64* @gv_2, align 8
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
store i64 %5, i64* %.reg2mem
br i1 %7, label LBL_4, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
%9 = call i64 @FUNC()
store i64 %9, i64* @gv_2, align 8
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
store i64 %9, i64* %.reg2mem
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
br label LBL_9
LBL_4:
%.reload = load i64, i64* %.reg2mem
%13 = call i64 @FUNC(i64 %.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_6, label LBL_5
LBL_5:
%16 = call i32 @unlink(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0))
br label LBL_6
LBL_6:
%17 = load i64, i64* @gv_2, align 8
%18 = call i64 @FUNC(i64 %17)
%19 = call i64 @FUNC()
store i64 %19, i64* @gv_8, align 8
%20 = icmp eq i64 %19, 0
%21 = icmp eq i1 %20, false
br i1 %21, label LBL_8, label LBL_7
LBL_7:
%22 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))
br label LBL_9
LBL_8:
%23 = call i64 @FUNC(i64 0)
store i64 %23, i64* %storemerge.reg2mem
br label LBL_10
LBL_9:
%24 = load i64, i64* @gv_8, align 8
%25 = call i64 @FUNC(i64 %24)
%26 = load i64, i64* @gv_2, align 8
%27 = call i64 @FUNC(i64 %26)
%28 = call i32 @pthread_mutex_destroy(i64* nonnull @gv_0)
store i64 0, i64* @gv_8, align 8
store i64 0, i64* @gv_2, align 8
%29 = call i64 @FUNC(i64 1)
store i64 %29, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64)* @future_new_immediate, { 1, 0 }
uselistorder i64 (i8*, i8*)* @LOG_ERROR, { 1, 0 }
uselistorder i64 (i8*, i8*)* @LOG_WARN, { 1, 0 }
uselistorder i32 1, { 2, 1, 3, 4, 5, 0, 6, 7, 8 }
} | 1 |
CompRealVul | virtio_blk_update_config_15916 | virtio_blk_update_config | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i32, align 4
%sv_4 = alloca i64, align 8
%sv_5 = alloca i64, align 8
%sv_6 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %1)
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_6)
%6 = load i64, i64* %3, align 8
%7 = bitcast i32* %sv_3 to i64*
%8 = call i64 @FUNC(i64 %6, i64* nonnull %7, i64* nonnull %sv_4, i64* nonnull %sv_5)
%9 = load i64, i64* %sv_6, align 8
%10 = call i64 @FUNC(i64* nonnull %sv_2, i64 %9)
%11 = call i64 @FUNC(i64* nonnull %sv_1, i64 126)
%12 = load i32, i32* %sv_3, align 4
%13 = urem i32 %12, 65536
%14 = zext i32 %13 to i64
%15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %14)
%16 = load i64, i64* %sv_2, align 8
%17 = load i64, i64* %sv_1, align 8
store i64 %16, i64* %arg2, align 8
%18 = add i64 %0, 8
%19 = inttoptr i64 %18 to i64*
store i64 %17, i64* %19, align 8
ret i64 %16
uselistorder i64 %16, { 1, 0 }
uselistorder i64* %sv_6, { 1, 0 }
uselistorder i64* %sv_2, { 1, 0 }
uselistorder i64* %sv_1, { 1, 0 }
} | 1 |
CompRealVul | jpc_bitstream_putbits_11018 | jpc_bitstream_putbits | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge3.reg2mem = alloca i64
%sv_0.06.reg2mem = alloca i64
%.in.reg2mem = alloca i32
%0 = trunc i64 %arg2 to i32
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = icmp sgt i32 %0, -1
%3 = trunc i64 %1 to i32
%4 = icmp slt i32 %3, 32
%or.cond = icmp eq i1 %2, %4
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%5 = urem i64 %1, 64
%phitmp = shl i64 -1, %5
%6 = and i64 %phitmp, %arg3
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))
br label LBL_4
LBL_4:
%8 = ptrtoint i64* %arg1 to i64
%9 = add nsw i64 %1, 63
%10 = urem i64 %9, 64
%11 = add i32 %3, -1
%12 = icmp slt i32 %11, 0
%13 = icmp eq i1 %12, false
store i32 %11, i32* %.in.reg2mem
store i64 %arg3, i64* %sv_0.06.reg2mem
store i64 0, i64* %storemerge3.reg2mem
br i1 %13, label LBL_5, label LBL_7
LBL_5:
%sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem
%storemerge24 = lshr i64 %sv_0.06.reload, %10
%14 = urem i64 %storemerge24, 2
%15 = call i64 @FUNC(i64 %8, i64 %14)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, -1
%18 = icmp eq i1 %17, false
store i64 4294967295, i64* %storemerge3.reg2mem
br i1 %18, label LBL_6, label LBL_7
LBL_6:
%.in.reload = load i32, i32* %.in.reg2mem
%19 = mul i64 %sv_0.06.reload, 2
%20 = add i32 %.in.reload, -1
%21 = icmp slt i32 %20, 0
%22 = icmp eq i1 %21, false
store i32 %20, i32* %.in.reg2mem
store i64 %19, i64* %sv_0.06.reg2mem
store i64 0, i64* %storemerge3.reg2mem
br i1 %22, label LBL_5, label LBL_7
LBL_7:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
ret i64 %storemerge3.reload
uselistorder i64 %sv_0.06.reload, { 1, 0 }
uselistorder i64 %1, { 2, 0, 1 }
uselistorder i32* %.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }
uselistorder i32 -1, { 3, 2, 0, 1 }
uselistorder label LBL_7, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | __report_context_error_9639 | __report_context_error | define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = trunc i64 %arg3 to i32
%2 = bitcast i64* %arg2 to i8*
store i8 1, i8* %2, align 1
%3 = add i64 %0, 4
%4 = inttoptr i64 %3 to i32*
store i32 %1, i32* %4, align 4
%5 = mul i64 %arg3, 8
%6 = and i64 %5, 34359738360
%7 = add i64 %6, ptrtoint ([3 x i8*]* @gv_0 to i64)
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = add i64 %0, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = zext i32 %15 to i64
%17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%18 = and i64 %arg4, 4294967295
%19 = inttoptr i64 %12 to i8*
%20 = inttoptr i64 %9 to i8*
%21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i8* %arg1, i64 %16, i8* %19, i8* %20, i64 %18)
%22 = sext i32 %21 to i64
ret i64 %22
uselistorder i64 8, { 1, 0 }
} | 0 |
CompRealVul | lcdSetPixels_ArrayBuffer_flat_11505 | lcdSetPixels_ArrayBuffer_flat | define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%sv_0.0.ph.reg2mem = alloca i32
%sv_2.2.ph.reg2mem = alloca i8*
%sv_1.0.ph.reg2mem = alloca i64
%sv_2.145.reg2mem = alloca i8*
%storemerge1346.reg2mem = alloca i32
%sv_0.0.ph.be.reg2mem = alloca i32
%sv_2.2.ph.be.reg2mem = alloca i8*
%sv_1.0.ph.be.reg2mem = alloca i64
%sv_2.043.reg2mem = alloca i8*
%sv_3.044.reg2mem = alloca i32
%storemerge14.reg2mem = alloca i1
%.pre-phi76.reg2mem = alloca i32*
%.pre75.pre-phi.reg2mem = alloca i32*
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%sext = mul i64 %arg5, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = trunc i64 %arg2 to i16
%5 = trunc i64 %arg3 to i16
%6 = trunc i64 %arg4 to i16
%7 = add i64 %2, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 %2, i16 %4, i16 %5, i16 %6)
%11 = trunc i64 %3 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label LBL_3, label LBL_1
LBL_1:
%13 = trunc i64 %1 to i32
%14 = urem i32 %13, 32
%notmask = shl nsw i32 -1, %14
%.demorgan = or i32 %notmask, %11
%15 = icmp eq i32 %.demorgan, -1
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_1.LBL_4_crit_edge, label LBL_3
LBL_2:
%.pre77 = add i64 %2, 4
%.pre = inttoptr i64 %.pre77 to i32*
store i32* %.pre, i32** %.pre75.pre-phi.reg2mem
br label LBL_4
LBL_3:
%17 = add i64 %2, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = urem i32 %19, 2
%21 = icmp eq i32 %20, 0
%22 = icmp eq i1 %21, false
store i32* %18, i32** %.pre75.pre-phi.reg2mem
store i32* %18, i32** %.pre-phi76.reg2mem
store i1 false, i1* %storemerge14.reg2mem
br i1 %22, label LBL_4, label LBL_5
LBL_4:
%.pre75.pre-phi.reload = load i32*, i32** %.pre75.pre-phi.reg2mem
store i32* %.pre75.pre-phi.reload, i32** %.pre-phi76.reg2mem
store i1 true, i1* %storemerge14.reg2mem
br label LBL_5
LBL_5:
%sext4 = mul i64 %arg4, 281474976710656
%23 = ashr exact i64 %sext4, 48
%24 = trunc i64 %10 to i32
%25 = udiv i64 %10, 8
%26 = urem i64 %25, 536870912
%27 = add i64 %26, %9
%28 = inttoptr i64 %27 to i8*
%29 = bitcast i64* %rdi to i32*
%storemerge14.reload = load i1, i1* %storemerge14.reg2mem
%.pre-phi76.reload = load i32*, i32** %.pre-phi76.reg2mem
%30 = icmp ne i32 %11, 0
%31 = sext i1 %30 to i8
store i64 %23, i64* %sv_1.0.ph.reg2mem
store i8* %28, i8** %sv_2.2.ph.reg2mem
store i32 %24, i32* %sv_0.0.ph.reg2mem
br label LBL_19
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%32 = mul i64 %sv_1.0.reload, 281474976710656
%sext5 = add i64 %32, -281474976710656
%33 = ashr exact i64 %sext5, 48
%34 = load i32, i32* %29, align 8
%35 = urem i32 %34, 8
%36 = icmp eq i32 %35, 0
br i1 %36, label LBL_7, label LBL_8
LBL_7:
%37 = icmp eq i32 %34, 0
store i64 %33, i64* %sv_1.0.ph.be.reg2mem
store i8* %sv_2.2.ph.reload, i8** %sv_2.2.ph.be.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem
store i32 0, i32* %storemerge1346.reg2mem
store i8* %sv_2.2.ph.reload, i8** %sv_2.145.reg2mem
br i1 %37, label LBL_17, label LBL_18
LBL_8:
%38 = urem i32 %sv_0.0.reload, 8
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
%or.cond = or i1 %storemerge14.reload, %40
br i1 %or.cond, label LBL_12, label LBL_9
LBL_9:
%41 = udiv i64 %sext5, 4294967296
%sext6 = trunc i64 %41 to i32
%42 = ashr exact i32 %sext6, 16
%43 = add nsw i32 %42, 1
%44 = mul i32 %34, %43
%45 = icmp ult i32 %44, 8
br i1 %45, label LBL_12, label LBL_10
LBL_10:
%46 = udiv i32 %44, 8
%47 = trunc i64 %33 to i32
%48 = and i32 %44, -8
%49 = udiv i32 %48, %34
%50 = sub i32 %47, %49
%51 = zext i32 %50 to i64
%52 = mul i64 %51, 281474976710656
%sext7 = add i64 %52, 281474976710656
store i32 %46, i32* %sv_3.044.reg2mem
store i8* %sv_2.2.ph.reload, i8** %sv_2.043.reg2mem
br label LBL_11
LBL_11:
%sv_2.043.reload = load i8*, i8** %sv_2.043.reg2mem
%sv_3.044.reload = load i32, i32* %sv_3.044.reg2mem
%53 = add i32 %sv_3.044.reload, -1
store i8 %31, i8* %sv_2.043.reload, align 1
%54 = ptrtoint i8* %sv_2.043.reload to i64
%55 = add i64 %54, 1
%56 = inttoptr i64 %55 to i8*
%57 = icmp eq i32 %53, 0
%58 = icmp eq i1 %57, false
store i32 %53, i32* %sv_3.044.reg2mem
store i8* %56, i8** %sv_2.043.reg2mem
br i1 %58, label LBL_11, label LBL_16
LBL_12:
%59 = urem i32 %34, 32
%notmask130 = shl nsw i32 -1, %59
%60 = sub i32 0, %notmask130
%61 = sub i32 %60, 1
%62 = load i8, i8* %sv_2.2.ph.reload, align 1
%63 = zext i8 %62 to i32
%64 = load i32, i32* %.pre-phi76.reload, align 4
%65 = and i32 %64, 2
%66 = icmp eq i32 %65, 0
%.neg19 = sub nsw i32 8, %38
%67 = sub i32 %.neg19, %34
%storemerge11.in = select i1 %66, i32 %38, i32 %67
%68 = urem i32 %storemerge11.in, 32
%69 = shl i32 %61, %68
%70 = xor i32 %69, 255
%71 = and i32 %70, %63
%72 = and i32 %61, %11
%73 = shl i32 %72, %68
%74 = or i32 %71, %73
%75 = trunc i32 %74 to i8
store i8 %75, i8* %sv_2.2.ph.reload, align 1
%76 = load i32, i32* %.pre-phi76.reload, align 4
%77 = urem i32 %76, 2
%78 = icmp eq i32 %77, 0
br i1 %78, label LBL_14, label LBL_13
LBL_13:
%79 = ptrtoint i8* %sv_2.2.ph.reload to i64
%80 = add i64 %79, 1
%81 = inttoptr i64 %80 to i8*
store i64 %33, i64* %sv_1.0.ph.be.reg2mem
store i8* %81, i8** %sv_2.2.ph.be.reg2mem
store i32 %38, i32* %sv_0.0.ph.be.reg2mem
br label LBL_17
LBL_14:
%82 = load i32, i32* %29, align 8
%83 = add i32 %82, %38
%84 = icmp ult i32 %83, 8
store i64 %33, i64* %sv_1.0.reg2mem
store i32 %83, i32* %sv_0.0.reg2mem
br i1 %84, label LBL_20, label LBL_15
LBL_15:
%85 = ptrtoint i8* %sv_2.2.ph.reload to i64
%86 = add i64 %85, 1
%87 = inttoptr i64 %86 to i8*
store i64 %33, i64* %sv_1.0.ph.be.reg2mem
store i8* %87, i8** %sv_2.2.ph.be.reg2mem
store i32 %83, i32* %sv_0.0.ph.be.reg2mem
br label LBL_17
LBL_16:
%88 = ashr exact i64 %sext7, 48
store i64 %88, i64* %sv_1.0.ph.be.reg2mem
store i8* %56, i8** %sv_2.2.ph.be.reg2mem
store i32 %38, i32* %sv_0.0.ph.be.reg2mem
br label LBL_17
LBL_17:
%sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem
%sv_2.2.ph.be.reload = load i8*, i8** %sv_2.2.ph.be.reg2mem
%sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem
store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph.reg2mem
store i8* %sv_2.2.ph.be.reload, i8** %sv_2.2.ph.reg2mem
store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph.reg2mem
br label LBL_19
LBL_18:
%sv_2.145.reload = load i8*, i8** %sv_2.145.reg2mem
%storemerge1346.reload = load i32, i32* %storemerge1346.reg2mem
%89 = and i32 %storemerge1346.reload, 24
%90 = icmp eq i32 %89, 0
%91 = lshr i32 %11, %89
%92 = zext i32 %91 to i64
%storemerge12 = select i1 %90, i64 %3, i64 %92
%93 = trunc i64 %storemerge12 to i8
store i8 %93, i8* %sv_2.145.reload, align 1
%94 = ptrtoint i8* %sv_2.145.reload to i64
%95 = add i64 %94, 1
%96 = inttoptr i64 %95 to i8*
%97 = add i32 %storemerge1346.reload, 8
%98 = load i32, i32* %29, align 8
%99 = icmp ugt i32 %98, %97
store i64 %33, i64* %sv_1.0.ph.be.reg2mem
store i8* %96, i8** %sv_2.2.ph.be.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.0.ph.be.reg2mem
store i32 %97, i32* %storemerge1346.reg2mem
store i8* %96, i8** %sv_2.145.reg2mem
br i1 %99, label LBL_18, label LBL_17
LBL_19:
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
%sv_2.2.ph.reload = load i8*, i8** %sv_2.2.ph.reg2mem
%sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem
store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem
br label LBL_20
LBL_20:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%100 = icmp eq i64 %sv_1.0.reload, 0
%101 = icmp eq i1 %100, false
br i1 %101, label LBL_6, label LBL_21
LBL_21:
%102 = urem i64 %sv_1.0.reload, 65536
ret i64 %102
uselistorder i64 %sv_1.0.reload, { 1, 0, 2 }
uselistorder i8* %sv_2.2.ph.reload, { 5, 6, 4, 3, 2, 0, 1 }
uselistorder i8* %sv_2.145.reload, { 1, 0 }
uselistorder i32 %83, { 1, 0, 2 }
uselistorder i32 %68, { 1, 0 }
uselistorder i8* %sv_2.043.reload, { 1, 0 }
uselistorder i32 %44, { 2, 1, 0 }
uselistorder i32 %38, { 0, 4, 1, 3, 5, 2 }
uselistorder i32 %34, { 4, 0, 3, 5, 2, 1 }
uselistorder i64 %33, { 1, 3, 0, 4, 5, 2 }
uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }
uselistorder i32* %29, { 1, 0, 2 }
uselistorder i32 %11, { 3, 0, 2, 1, 4 }
uselistorder i64 %2, { 1, 0, 2, 3 }
uselistorder i32* %sv_3.044.reg2mem, { 1, 0, 2 }
uselistorder i8** %sv_2.043.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 }
uselistorder i8** %sv_2.2.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 }
uselistorder i32* %sv_0.0.ph.be.reg2mem, { 1, 0, 2, 4, 5, 3 }
uselistorder i32* %storemerge1346.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_2.145.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 1, 2, 0 }
uselistorder i32 8, { 6, 5, 4, 1, 0, 2, 3 }
uselistorder i64 281474976710656, { 3, 1, 0, 2 }
uselistorder i32 2, { 0, 2, 1 }
uselistorder i64 4, { 1, 0 }
uselistorder i1 false, { 3, 2, 1, 0, 4, 5 }
uselistorder i32 -1, { 0, 3, 1, 2 }
uselistorder i32 0, { 4, 5, 6, 1, 7, 3, 0, 2, 9, 8, 10, 11 }
uselistorder i64 4294967296, { 1, 0 }
uselistorder label LBL_18, { 1, 0 }
uselistorder label LBL_17, { 0, 1, 3, 4, 2 }
uselistorder label LBL_11, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | bitstr_close_6450 | bitstr_close | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64 %arg1, 0
%3 = icmp eq i1 %2, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_4
LBL_1:
%4 = trunc i64 %1 to i32
store i64 4294967295, i64* %rax.0.reg2mem
switch i32 %4, label LBL_4 [
i32 1, label LBL_2
i32 2, label LBL_3
]
LBL_2:
%5 = call i64 @FUNC(i64 %arg1)
store i64 %5, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%6 = call i64 @FUNC(i64 %arg1)
store i64 %6, 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, 4, 1, 2 }
uselistorder label LBL_4, { 2, 3, 0, 1 }
} | 0 |
CompRealVul | g_free_2414 | g_free | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1, i64 0)
ret i64 %1
} | 0 |
CompRealVul | acpi_setup_14588 | acpi_setup | 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
%sv_0 = alloca i64, align 8
%4 = icmp eq i64* %arg1, null
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))
%7 = sext i32 %6 to i64
store i64 %7, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%8 = ptrtoint i64* %arg1 to i64
%9 = add i64 %8, 8
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0))
%15 = sext i32 %14 to i64
store i64 %15, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%16 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))
%20 = sext i32 %19 to i64
store i64 %20, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%21 = call i64 @FUNC(i64 24)
%22 = inttoptr i64 %21 to i64*
store i64 %8, i64* %22, align 8
%23 = call i64 @FUNC()
%24 = call i64 @FUNC(i64* nonnull %sv_0)
%25 = load i64, i64* %22, align 8
%26 = call i64 @FUNC(i64 %25, i64* nonnull %sv_0)
%27 = call i64 @FUNC(i64 %21, i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 1024)
%28 = add i64 %21, 8
%29 = inttoptr i64 %28 to i64*
store i64 %27, i64* %29, align 8
%30 = icmp eq i64 %27, -1
%31 = icmp eq i1 %30, false
br i1 %31, label LBL_8, label LBL_7
LBL_7:
call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_5, i64 0, i64 0), i32 82, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0))
br label LBL_8
LBL_8:
%32 = call i64 @FUNC(i64 %3)
%33 = add i64 %21, 16
%34 = inttoptr i64 %33 to i64*
store i64 %32, i64* %34, align 8
%35 = call i64 @FUNC(i64 0, i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0), i64 0)
%36 = load i64, i64* %sv_0, align 8
%37 = call i64 @FUNC(i64 %36)
%38 = load i64, i64* %sv_0, align 8
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0), i64 %40, i64 %37)
%42 = call i64 @FUNC(i64 %1)
%43 = inttoptr i64 %1 to i64*
%44 = load i64, i64* %43, align 8
%45 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 %44, i64 %42)
%46 = call i64 @FUNC(i64 4198855, i64 %21)
%47 = call i64 @FUNC(i64 %21)
%48 = call i64 @FUNC(i64 0, i64 0, i64* nonnull @gv_10, i64 %21)
%49 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)
store i64 %49, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %21, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder i64* %sv_0, { 0, 3, 4, 1, 2 }
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64)* @fw_cfg_add_file, { 1, 0 }
uselistorder i64 (i64)* @acpi_data_len, { 2, 1, 0 }
uselistorder i64 (i64, i64, i8*, i64)* @acpi_add_rom_blob, { 1, 0 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder i32 (i8*)* @puts, { 2, 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
} | 1 |
CompRealVul | do_adjust_relative_7370 | do_adjust_relative | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 28
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %0)
br label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %0)
%7 = add i64 %0, 36
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = add i64 %0, 40
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = add i64 %0, 4
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = add i32 %16, %13
store i32 %17, i32* %12, align 4
%18 = add i64 %0, 44
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = add i64 %0, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = add i32 %23, %20
store i32 %24, i32* %19, align 4
%25 = add i64 %0, 48
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = add i64 %0, 12
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = add i32 %30, %27
store i32 %31, i32* %26, align 4
%32 = add i64 %0, 52
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = add i64 %0, 16
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i32 %37, %34
store i32 %38, i32* %33, align 4
%39 = add i64 %0, 56
%40 = inttoptr i64 %39 to i32*
%41 = load i32, i32* %40, align 4
%42 = add i64 %0, 20
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = add i32 %44, %41
store i32 %45, i32* %40, align 4
%46 = add i64 %0, 60
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = add i64 %0, 24
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = add i32 %51, %48
store i32 %52, i32* %47, align 4
br label LBL_4
LBL_4:
%53 = add i64 %0, 32
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
switch i32 %55, label LBL_7 [
i32 1, label LBL_5
i32 2, label LBL_6
]
LBL_5:
%56 = add i64 %0, 52
%57 = inttoptr i64 %56 to i32*
store i32 1, i32* %57, align 4
br label LBL_7
LBL_6:
%58 = add i64 %0, 52
%59 = inttoptr i64 %58 to i32*
store i32 0, i32* %59, align 4
%60 = add i64 %0, 56
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = add i32 %62, 1
store i32 %63, i32* %61, align 4
br label LBL_7
LBL_7:
%64 = call i64 @FUNC(i64 %0)
ret i64 %64
uselistorder i64 %0, { 12, 10, 11, 13, 14, 1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 16, 17, 15, 18, 19, 20 }
uselistorder i64 (i64)* @timelib_do_normalize, { 1, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 0 |
CompRealVul | find_compressor_2042 | find_compressor | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem6 = alloca i64
%.reg2mem4 = alloca i64
%.reg2mem = alloca i32
%storemerge2.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg3 to i64
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 1280
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = add i64 %3, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 720
store i32 1, i32* %storemerge2.reg2mem
br i1 %10, label LBL_7, label LBL_2
LBL_2:
%11 = icmp eq i32 %4, 1440
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = add i64 %3, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 1080
store i32 1, i32* %storemerge2.reg2mem
br i1 %16, label LBL_7, label LBL_4
LBL_4:
%17 = icmp eq i32 %4, 1920
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = add i64 %3, 4
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = icmp eq i32 %21, 1080
%23 = icmp eq i1 %22, false
store i32 1, i32* %storemerge2.reg2mem
br i1 %23, label LBL_6, label LBL_7
LBL_6:
store i32 0, i32* %storemerge2.reg2mem
br label LBL_7
LBL_7:
%24 = ptrtoint i64* %arg1 to i64
%storemerge2.reload = load i32, i32* %storemerge2.reg2mem
%25 = add i64 %3, 8
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp eq i32 %27, 1
%29 = icmp eq i1 %28, false
store i32 %27, i32* %.reg2mem
store i64 %3, i64* %.reg2mem4
br i1 %29, label LBL_11, label LBL_8
LBL_8:
%30 = add i64 %3, 16
%31 = inttoptr i64 %30 to i64*
%32 = load i64, i64* %31, align 8
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = call i64 @FUNC(i64 %34, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0)
%36 = icmp eq i64 %35, 0
br i1 %36, label LBL_8.LBL_11_crit_edge, label LBL_10
LBL_9:
%.pre = load i32, i32* inttoptr (i64 8 to i32*), align 8
store i32 %.pre, i32* %.reg2mem
store i64 0, i64* %.reg2mem4
br label LBL_11
LBL_10:
%37 = inttoptr i64 %35 to i64*
%38 = load i64, i64* %37, align 8
%39 = call i64 @FUNC(i64 %24, i64 %38, i64 32)
store i64 %39, i64* %rax.0.reg2mem
br label LBL_18
LBL_11:
%.reload = load i32, i32* %.reg2mem
%40 = zext i32 %.reload to i64
%41 = icmp eq i32 %.reload, 2
%42 = icmp eq i1 %41, false
%43 = icmp eq i32 %storemerge2.reload, 0
%or.cond = or i1 %43, %42
store i64 %40, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_18, label LBL_12
LBL_12:
%sext = mul i64 %arg2, 4294967296
%44 = ashr exact i64 %sext, 32
%.reload5 = load i64, i64* %.reg2mem4
%45 = add i64 %.reload5, 12
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = add i64 %3, 16
%49 = inttoptr i64 %48 to i64*
%50 = load i64, i64* %49, align 8
%51 = call i64 @FUNC(i64 0, i64 %50)
%52 = and i64 %44, 4294967295
%53 = trunc i64 %44 to i32
%54 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %53, i64 %2, i64 %1)
%55 = load i32, i32* inttoptr (i64 add (i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64 16) to i32*), align 4
%56 = icmp eq i32 %55, 3
%57 = icmp eq i1 %56, false
br i1 %57, label LBL_14, label LBL_13
LBL_13:
%58 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i32 %53, i64 %2, i64 %1)
store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %.reg2mem6
br label LBL_17
LBL_14:
br i1 icmp ne (i32 ptrtoint ([6 x i8]* @gv_1 to i32), i32 1440), label LBL_16, label LBL_15
LBL_15:
%59 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i32 %53, i64 %2, i64 %1)
store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %.reg2mem6
br label LBL_17
LBL_16:
%60 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i32 %53, i64 %2, i64 %1)
store i64 ptrtoint ([4 x i8]* @gv_4 to i64), i64* %.reg2mem6
br label LBL_17
LBL_17:
%61 = icmp eq i32 %47, 0
%62 = icmp slt i32 %47, 0
%63 = icmp eq i1 %62, false
%64 = icmp eq i1 %61, false
%65 = icmp eq i1 %63, %64
%66 = trunc i64 %51 to i32
%.reload7 = load i64, i64* %.reg2mem6
%67 = icmp eq i1 %65, false
%. = select i1 %67, i64 112, i64 105
%68 = add i64 %.reload7, 4
%69 = inttoptr i64 %68 to i32*
%70 = load i32, i32* %69, align 4
%71 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i32 %70, i64 %., i64 %1)
%72 = select i1 %65, i32 2, i32 1
%73 = mul i32 %72, %66
%74 = call i64 @FUNC(i64 %24, i64 %52, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0), i32 %73, i64 %., i64 %1)
store i64 %74, i64* %rax.0.reg2mem
br label LBL_18
LBL_18:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %., { 1, 0 }
uselistorder i32 %53, { 2, 1, 0, 3 }
uselistorder i64 %52, { 1, 2, 4, 3, 0, 5 }
uselistorder i32 %47, { 1, 0 }
uselistorder i64 %44, { 1, 0 }
uselistorder i64 %24, { 2, 3, 4, 5, 1, 6, 0 }
uselistorder i64 %3, { 5, 7, 0, 6, 1, 2, 3, 4 }
uselistorder i64 %2, { 3, 2, 1, 0 }
uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }
uselistorder i32* %storemerge2.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem4, { 0, 2, 1 }
uselistorder i64* %.reg2mem6, { 0, 3, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder [4 x i8]* @gv_4, { 1, 0 }
uselistorder [4 x i8]* @gv_3, { 1, 0 }
uselistorder [7 x i8]* @gv_2, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i32, i64, i64)* @av_strlcatf, { 5, 4, 3, 2, 1, 0 }
uselistorder [6 x i8]* @gv_1, { 0, 2, 1 }
uselistorder i32 0, { 2, 3, 1, 0 }
uselistorder i1 false, { 0, 3, 1, 2, 4, 5, 6, 7, 8, 9 }
uselistorder label LBL_7, { 3, 2, 1, 0 }
} | 0 |
CompRealVul | __set_data_blkaddr_10095 | __set_data_blkaddr | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %1)
%3 = add i64 %0, 12
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 4
%11 = add i64 %10, %2
%12 = zext i32 %5 to i64
%13 = call i64 @FUNC(i64 %12)
%14 = trunc i64 %13 to i32
%15 = inttoptr i64 %11 to i32*
store i32 %14, i32* %15, align 4
ret i64 %13
uselistorder i64 %13, { 1, 0 }
} | 0 |
CompRealVul | gen_sub_carry_14008 | gen_sub_carry | define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%sext = mul i64 %0, 4294967296
%1 = ashr exact i64 %sext, 32
%2 = and i64 %arg2, 4294967295
%3 = call i64 @FUNC(i64 %1, i64 %2, i32 %arg3)
%4 = call i64 @FUNC(i64 1)
%5 = trunc i64 %4 to i32
%6 = and i64 %0, 4294967295
%7 = call i64 @FUNC(i64 %1, i64 %6, i32 %5)
%8 = call i64 @FUNC(i64 %1, i64 %6, i64 1)
%9 = and i64 %4, 4294967295
%10 = call i64 @FUNC(i64 %9)
ret i64 %10
uselistorder i64 %0, { 1, 0 }
} | 1 |
CompRealVul | vnc_display_password_16580 | vnc_display_password | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
%2 = load i64, i64* @gv_0, align 8
%storemerge = select i1 %1, i64 %2, i64 %0
%3 = icmp eq i64 %storemerge, 0
%4 = icmp eq i1 %3, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %4, label LBL_1, label LBL_7
LBL_1:
%5 = icmp eq i8* %arg2, null
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = call i64 @FUNC(i64 %0)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%8 = inttoptr i64 %storemerge to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label LBL_5, label LBL_4
LBL_4:
%11 = call i64 @FUNC(i64 %9)
store i64 0, i64* %8, align 8
br label LBL_5
LBL_5:
%12 = ptrtoint i8* %arg2 to i64
%13 = call i64 @FUNC(i64 %12)
store i64 %13, i64* %8, align 8
%14 = add i64 %storemerge, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i1 %17, false
store i64 0, i64* %rax.0.reg2mem
br i1 %18, label LBL_7, label LBL_6
LBL_6:
store i32 1, i32* %15, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder label LBL_7, { 1, 0, 3, 2 }
} | 1 |
CompRealVul | test_address_equality_4213 | test_address_equality | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0 = alloca i32*, align 8
%sv_1 = alloca i32*, align 8
store i32* null, i32** %sv_0, align 8
store i32* null, i32** %sv_1, align 8
%0 = bitcast i32** %sv_0 to i64*
%1 = call i64 @FUNC(i64* nonnull %0)
%2 = icmp sgt i64 %1, -1
%3 = zext i1 %2 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = bitcast i32** %sv_1 to i64*
%6 = call i64 @FUNC(i64* nonnull %5)
%7 = icmp sgt i64 %6, -1
%8 = zext i1 %7 to i64
%9 = call i64 @FUNC(i64 %8)
%10 = call i64 @FUNC(i64 0, i64 0)
%11 = and i64 %10, 4294967295
%12 = call i64 @FUNC(i64 %11)
%13 = load i32*, i32** %sv_0, align 8
%14 = ptrtoint i32* %13 to i64
%15 = call i64 @FUNC(i64 %14, i64 0)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i64
%19 = call i64 @FUNC(i64 %18)
%20 = load i32*, i32** %sv_1, align 8
%21 = ptrtoint i32* %20 to i64
%22 = call i64 @FUNC(i64 0, i64 %21)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i64
%26 = call i64 @FUNC(i64 %25)
%27 = load i32*, i32** %sv_1, align 8
%28 = ptrtoint i32* %27 to i64
%29 = load i32*, i32** %sv_0, align 8
%30 = ptrtoint i32* %29 to i64
%31 = call i64 @FUNC(i64 %30, i64 %28)
%32 = and i64 %31, 4294967295
%33 = call i64 @FUNC(i64 %32)
%34 = load i32*, i32** %sv_0, align 8
store i32 2, i32* %34, align 4
%35 = load i32*, i32** %sv_1, align 8
%36 = ptrtoint i32* %35 to i64
%37 = load i32*, i32** %sv_0, align 8
%38 = ptrtoint i32* %37 to i64
%39 = call i64 @FUNC(i64 %38, i64 %36)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
%42 = zext i1 %41 to i64
%43 = call i64 @FUNC(i64 %42)
%44 = load i32*, i32** %sv_1, align 8
store i32 2, i32* %44, align 4
%45 = load i32*, i32** %sv_1, align 8
%46 = ptrtoint i32* %45 to i64
%47 = load i32*, i32** %sv_0, align 8
%48 = ptrtoint i32* %47 to i64
%49 = call i64 @FUNC(i64 %48, i64 %46)
%50 = and i64 %49, 4294967295
%51 = call i64 @FUNC(i64 %50)
%52 = load i32*, i32** %sv_0, align 8
%53 = ptrtoint i32* %52 to i64
%54 = add i64 %53, 4
%55 = inttoptr i64 %54 to i64*
%56 = call i32 @inet_pton(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64* %55)
%57 = zext i32 %56 to i64
%58 = call i64 @FUNC(i64 %57)
%59 = load i32*, i32** %sv_1, align 8
%60 = ptrtoint i32* %59 to i64
%61 = load i32*, i32** %sv_0, align 8
%62 = ptrtoint i32* %61 to i64
%63 = call i64 @FUNC(i64 %62, i64 %60)
%64 = and i64 %63, 4294967295
%65 = call i64 @FUNC(i64 %64)
%66 = load i32*, i32** %sv_1, align 8
%67 = ptrtoint i32* %66 to i64
%68 = add i64 %67, 4
%69 = inttoptr i64 %68 to i64*
%70 = call i32 @inet_pton(i32 2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64* %69)
%71 = zext i32 %70 to i64
%72 = call i64 @FUNC(i64 %71)
%73 = load i32*, i32** %sv_1, align 8
%74 = ptrtoint i32* %73 to i64
%75 = load i32*, i32** %sv_0, align 8
%76 = ptrtoint i32* %75 to i64
%77 = call i64 @FUNC(i64 %76, i64 %74)
%78 = and i64 %77, 4294967295
%79 = call i64 @FUNC(i64 %78)
%80 = load i32*, i32** %sv_0, align 8
%81 = ptrtoint i32* %80 to i64
%82 = add i64 %81, 20
%83 = inttoptr i64 %82 to i32*
store i32 10, i32* %83, align 4
%84 = load i32*, i32** %sv_1, align 8
%85 = ptrtoint i32* %84 to i64
%86 = load i32*, i32** %sv_0, align 8
%87 = ptrtoint i32* %86 to i64
%88 = call i64 @FUNC(i64 %87, i64 %85)
%89 = trunc i64 %88 to i32
%90 = icmp eq i32 %89, 0
%91 = zext i1 %90 to i64
%92 = call i64 @FUNC(i64 %91)
%93 = load i32*, i32** %sv_1, align 8
%94 = ptrtoint i32* %93 to i64
%95 = add i64 %94, 20
%96 = inttoptr i64 %95 to i32*
store i32 10, i32* %96, align 4
%97 = load i32*, i32** %sv_1, align 8
%98 = ptrtoint i32* %97 to i64
%99 = load i32*, i32** %sv_0, align 8
%100 = ptrtoint i32* %99 to i64
%101 = call i64 @FUNC(i64 %100, i64 %98)
%102 = and i64 %101, 4294967295
%103 = call i64 @FUNC(i64 %102)
%104 = load i32*, i32** %sv_1, align 8
%105 = ptrtoint i32* %104 to i64
%106 = add i64 %105, 4
%107 = inttoptr i64 %106 to i64*
%108 = call i32 @inet_pton(i32 2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64* %107)
%109 = zext i32 %108 to i64
%110 = call i64 @FUNC(i64 %109)
%111 = load i32*, i32** %sv_1, align 8
%112 = ptrtoint i32* %111 to i64
%113 = load i32*, i32** %sv_0, align 8
%114 = ptrtoint i32* %113 to i64
%115 = call i64 @FUNC(i64 %114, i64 %112)
%116 = and i64 %115, 4294967295
%117 = call i64 @FUNC(i64 %116)
%118 = load i32*, i32** %sv_0, align 8
store i32 10, i32* %118, align 4
%119 = load i32*, i32** %sv_1, align 8
%120 = ptrtoint i32* %119 to i64
%121 = load i32*, i32** %sv_0, align 8
%122 = ptrtoint i32* %121 to i64
%123 = call i64 @FUNC(i64 %122, i64 %120)
%124 = trunc i64 %123 to i32
%125 = icmp eq i32 %124, 0
%126 = zext i1 %125 to i64
%127 = call i64 @FUNC(i64 %126)
%128 = load i32*, i32** %sv_1, align 8
store i32 10, i32* %128, align 4
%129 = load i32*, i32** %sv_0, align 8
%130 = ptrtoint i32* %129 to i64
%131 = add i64 %130, 4
%132 = inttoptr i64 %131 to i64*
%133 = call i32 @inet_pton(i32 10, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64* %132)
%134 = zext i32 %133 to i64
%135 = call i64 @FUNC(i64 %134)
%136 = load i32*, i32** %sv_1, align 8
%137 = ptrtoint i32* %136 to i64
%138 = add i64 %137, 4
%139 = inttoptr i64 %138 to i64*
%140 = call i32 @inet_pton(i32 10, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64* %139)
%141 = zext i32 %140 to i64
%142 = call i64 @FUNC(i64 %141)
%143 = load i32*, i32** %sv_1, align 8
%144 = ptrtoint i32* %143 to i64
%145 = load i32*, i32** %sv_0, align 8
%146 = ptrtoint i32* %145 to i64
%147 = call i64 @FUNC(i64 %146, i64 %144)
%148 = and i64 %147, 4294967295
%149 = call i64 @FUNC(i64 %148)
%150 = load i32*, i32** %sv_1, align 8
%151 = ptrtoint i32* %150 to i64
%152 = add i64 %151, 20
%153 = inttoptr i64 %152 to i32*
store i32 8, i32* %153, align 4
%154 = load i32*, i32** %sv_1, align 8
%155 = ptrtoint i32* %154 to i64
%156 = load i32*, i32** %sv_0, align 8
%157 = ptrtoint i32* %156 to i64
%158 = call i64 @FUNC(i64 %157, i64 %155)
%159 = and i64 %158, 4294967295
%160 = call i64 @FUNC(i64 %159)
%161 = load i32*, i32** %sv_1, align 8
%162 = ptrtoint i32* %161 to i64
%163 = add i64 %162, 4
%164 = inttoptr i64 %163 to i64*
%165 = call i32 @inet_pton(i32 10, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i64* %164)
%166 = zext i32 %165 to i64
%167 = call i64 @FUNC(i64 %166)
%168 = load i32*, i32** %sv_1, align 8
%169 = ptrtoint i32* %168 to i64
%170 = load i32*, i32** %sv_0, align 8
%171 = ptrtoint i32* %170 to i64
%172 = call i64 @FUNC(i64 %171, i64 %169)
%173 = trunc i64 %172 to i32
%174 = icmp eq i32 %173, 0
%175 = zext i1 %174 to i64
%176 = call i64 @FUNC(i64 %175)
%177 = call i64 @FUNC(i64* nonnull %5)
%178 = call i64 @FUNC(i64* nonnull %0)
ret i64 %178
uselistorder i32** %sv_1, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 22, 0 }
uselistorder i32** %sv_0, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 19, 0 }
uselistorder i64 (i64*)* @_cleanup_address_free_, { 1, 0 }
uselistorder i32 10, { 0, 1, 2, 4, 5, 6, 7, 3 }
uselistorder i32 (i32, i8*, i64*)* @inet_pton, { 5, 4, 3, 2, 1, 0 }
uselistorder i32 2, { 0, 1, 2, 4, 5, 3 }
uselistorder i64 (i64, i64)* @address_equal, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @assert_se, { 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i64*)* @address_new_dynamic, { 1, 0 }
uselistorder i32 1, { 3, 4, 1, 2, 0 }
} | 0 |
CompRealVul | startInputStream_7051 | startInputStream | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = load i32, i32* @gv_0, align 4
%1 = icmp sgt i32 %0, 4
br i1 %1, label LBL_4, label LBL_1
LBL_1:
%2 = load i32, i32* @gv_1, align 4
%3 = zext i32 %2 to i64
%4 = call i64 @FUNC(i64* nonnull @gv_2, i64 %3, i64 35043, i64 5)
%5 = trunc i64 %4 to i32
store i32 %5, i32* @gv_3, align 4
%6 = icmp eq i32 %5, -1
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC()
store i64 %8, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%9 = and i64 %4, 4294967295
%10 = call i64 @FUNC(i64 %9)
br label LBL_4
LBL_4:
%11 = call i64 @FUNC(i64 4198762, i64 0, i64 4210780)
%12 = and i64 %11, 4294967295
store i64 %12, 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* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 1, { 1, 0 }
} | 0 |
CompRealVul | t_gen_mov_TN_preg_1955 | t_gen_mov_TN_preg | 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 ult i32 %0, 16
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))
br label LBL_2
LBL_2:
%sext = mul i64 %arg1, 4294967296
%2 = ashr exact i64 %sext, 32
%switch = icmp ugt i32 %0, 1
%3 = icmp eq i32 %0, 2
%4 = icmp eq i1 %3, false
%or.cond7 = icmp eq i1 %switch, %4
br i1 %or.cond7, label LBL_4, label LBL_3
LBL_3:
%5 = call i64 @FUNC(i64 0)
%6 = and i64 %5, 4294967295
%7 = and i64 %2, 4294967295
%8 = call i64 @FUNC(i64 %7, i64 %6)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%9 = icmp eq i32 %0, 3
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_6, label LBL_5
LBL_5:
%11 = call i64 @FUNC(i64 32)
%12 = and i64 %11, 4294967295
%13 = and i64 %2, 4294967295
%14 = call i64 @FUNC(i64 %13, i64 %12)
store i64 %14, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%sext3 = mul i64 %arg2, 4294967296
%15 = ashr exact i64 %sext3, 30
%16 = add i64 %15, ptrtoint (i32** @gv_3 to i64)
%17 = inttoptr i64 %16 to i32*
%18 = load i32, i32* %17, align 4
%19 = zext i32 %18 to i64
%20 = and i64 %2, 4294967295
%21 = call i64 @FUNC(i64 %20, i64 %19)
store i64 %21, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 1, 0, 2 }
uselistorder i32 %0, { 2, 1, 3, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64)* @tcg_gen_mov_tl, { 2, 1, 0 }
uselistorder i64 (i64)* @tcg_const_tl, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | in_mqtt_exit_12296 | in_mqtt_exit | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
ret i64 0
} | 1 |
CompRealVul | tssy_Write_8279 | tssy_Write | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = icmp eq i64* %arg1, null
%3 = icmp eq i1 %2, false
store i64 1, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_4
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
%6 = call i64 @FUNC(i64 %5, i64 %4)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = and i64 %6, 4294967295
store i64 %9, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%10 = call i64 @FUNC(i64 %4, i64 0, i64 6)
%11 = and i64 %1, 4294967295
%12 = call i64 @FUNC(i64 %4, i64 %11, i64 2)
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 %4, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
CompRealVul | unix_close_3183 | unix_close | 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 = call i32 @close(i32 %2)
%4 = call i64 @FUNC(i64 %arg1)
ret i64 0
} | 0 |
CompRealVul | cmd_sdbk_7247 | cmd_sdbk | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i8
%4 = icmp eq i8 %3, 32
%5 = icmp eq i1 %4, false
%6 = add i64 %arg2, 1
%storemerge1 = select i1 %5, i64 ptrtoint (i64* @gv_0 to i64), i64 %6
%7 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 %storemerge1)
%8 = icmp eq i64 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = call i64 @FUNC(i64 %7)
%10 = inttoptr i64 %7 to i64*
call void @free(i64* %10)
store i64 ptrtoint (i32* @0 to i64), i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%11 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8
%12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))
%13 = sext i32 %12 to i64
store i64 %13, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
CompRealVul | store_icy_6803 | store_icy | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i32, align 4
%sv_3 = alloca i64, align 8
%3 = trunc i64 %1 to i32
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp ugt i32 %6, %3
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %7, label LBL_12, label LBL_1
LBL_1:
%8 = sub i32 %3, %6
%9 = icmp eq i32 %8, 0
%10 = icmp eq i1 %9, false
store i32 %8, i32* %sv_0.0.in.reg2mem
br i1 %10, label LBL_11, label LBL_2
LBL_2:
%11 = bitcast i32* %sv_2 to i64*
%12 = call i64 @FUNC(i64 %2, i64* nonnull %11, i64 1)
%13 = trunc i64 %12 to i32
%14 = icmp slt i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = and i64 %12, 4294967295
store i64 %16, i64* %rax.0.reg2mem
br label LBL_12
LBL_4:
%17 = load i32, i32* %sv_2, align 4
%18 = trunc i32 %17 to i8
%19 = icmp eq i8 %18, 0
br i1 %19, label LBL_10, label LBL_5
LBL_5:
%20 = mul i32 %17, 16
%21 = and i32 %20, 4080
%22 = zext i32 %21 to i64
%23 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i64 %22)
%24 = trunc i64 %23 to i32
%25 = icmp slt i32 %24, 0
%26 = icmp eq i1 %25, false
br i1 %26, label LBL_7, label LBL_6
LBL_6:
%27 = and i64 %23, 4294967295
store i64 %27, i64* %rax.0.reg2mem
br label LBL_12
LBL_7:
%28 = ptrtoint i64* %sv_3 to i64
%29 = or i32 %21, 1
%30 = zext i32 %29 to i64
%31 = add i64 %28, -4112
%32 = add i64 %31, %30
%33 = inttoptr i64 %32 to i8*
store i8 0, i8* %33, align 1
%34 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 0)
%35 = trunc i64 %34 to i32
%36 = icmp slt i32 %35, 0
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_9, label LBL_8
LBL_8:
%38 = and i64 %34, 4294967295
store i64 %38, i64* %rax.0.reg2mem
br label LBL_12
LBL_9:
%39 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1)
br label LBL_10
LBL_10:
%40 = bitcast i64* %rdi to i32*
store i32 0, i32* %5, align 4
%41 = load i32, i32* %40, align 8
store i32 %41, i32* %sv_0.0.in.reg2mem
br label LBL_11
LBL_11:
%sext = mul i64 %arg2, 4294967296
%sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem
%sv_0.0 = sext i32 %sv_0.0.in.reload to i64
%42 = ashr exact i64 %sext, 32
%43 = icmp ugt i64 %42, %sv_0.0
%44 = select i1 %43, i64 %sv_0.0, i64 %42
store i64 %44, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %6, { 1, 0 }
uselistorder i32 %3, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i64 (i64, i64*, i64)* @http_read_stream_all, { 1, 0 }
uselistorder i32 0, { 1, 2, 3, 4, 0 }
uselistorder label LBL_12, { 1, 2, 3, 4, 0 }
} | 0 |
CompRealVul | setup_efi_state_13736 | setup_efi_state | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = load i32, i32* @gv_0, align 4
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_1, label LBL_3
LBL_1:
%3 = call i64 @FUNC(i64 1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_2, label LBL_3
LBL_2:
%6 = ptrtoint i64* %arg1 to i64
%7 = load i64, i64* @gv_1, align 8
%8 = add i64 %6, 40
%9 = inttoptr i64 %8 to i64*
store i64 %7, i64* %9, align 8
%10 = load i64, i64* @gv_2, align 8
store i64 %10, i64* %arg1, align 8
%11 = load i64, i64* @gv_3, align 8
%12 = add i64 %6, 8
%13 = inttoptr i64 %12 to i64*
store i64 %11, i64* %13, align 8
%14 = load i64, i64* @gv_4, align 8
%15 = add i64 %6, 16
%16 = inttoptr i64 %15 to i64*
store i64 %14, i64* %16, align 8
%17 = load i32, i32* @gv_5, align 4
%18 = add i64 %6, 24
%19 = inttoptr i64 %18 to i32*
store i32 %17, i32* %19, align 4
%20 = call i64 @FUNC()
%21 = trunc i64 %20 to i32
%22 = add i64 %6, 28
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = trunc i64 %arg4 to i32
%25 = trunc i64 %arg3 to i32
%26 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %25, i32 %24)
%27 = trunc i64 %arg5 to i32
%28 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %27)
br label LBL_3
LBL_3:
ret i64 0
uselistorder i64 %6, { 1, 0, 2, 3, 4, 5, 6 }
uselistorder i64 40, { 1, 0 }
uselistorder i32 0, { 2, 3, 0, 1 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder label LBL_3, { 2, 0, 1 }
} | 0 |
CompRealVul | check_timecode_15521 | check_timecode | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = trunc i64 %3 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp slt i32 %5, 0
%8 = icmp eq i1 %7, false
%9 = icmp eq i1 %6, false
%10 = icmp eq i1 %8, %9
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_6
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 = urem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_4, label %switch.early.test
LBL_3:
%18 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)
store i64 4294967274, i64* %rax.0.reg2mem
br label LBL_6
LBL_4:
%19 = and i64 %3, 4294967295
%20 = call i64 @FUNC(i64 %19)
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_6, label LBL_5
LBL_5:
%24 = add i64 %12, 12
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = add i64 %12, 8
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = zext i32 %26 to i64
%31 = zext i32 %29 to i64
%32 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %31, i64 %30, i64 %1)
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 %12, { 1, 0, 2 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %3, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 4294967274, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }
uselistorder i1 false, { 1, 2, 0, 3 }
uselistorder i64 %arg1, { 2, 1, 0 }
uselistorder label LBL_6, { 1, 0, 2, 3 }
} | 1 |
CompRealVul | get_qcc_15035 | get_qcc | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = sub i64 %3, %0
%5 = icmp eq i64 %4, 0
%6 = icmp slt i64 %4, 0
%7 = icmp eq i1 %6, false
%8 = icmp eq i1 %5, false
%9 = icmp eq i1 %7, %8
store i64 4294967274, i64* %storemerge.reg2mem
br i1 %9, label LBL_1, label LBL_2
LBL_1:
%10 = ptrtoint i64* %arg3 to i64
%11 = ptrtoint i64* %arg4 to i64
%12 = call i64 @FUNC(i64 %0)
%sext2 = mul i64 %12, 4294967296
%13 = ashr exact i64 %sext2, 32
%14 = add i64 %13, %11
%15 = inttoptr i64 %14 to i8*
%16 = load i8, i8* %15, align 1
%17 = or i8 %16, 1
store i8 %17, i8* %15, align 1
%18 = add i64 %arg2, 4294967295
%19 = and i64 %18, 4294967295
%20 = call i64 @FUNC(i64 %0, i64 %19, i64 %10)
store i64 %20, 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 i1 false, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | bdrv_aio_bh_cb_14664 | bdrv_aio_bh_cb | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.pre-phi2.reg2mem = alloca i64*
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2
LBL_1:
%.pre = add i64 %2, 8
%.pre1 = inttoptr i64 %.pre to i64*
store i64* %.pre1, i64** %.pre-phi2.reg2mem
br label LBL_3
LBL_2:
%6 = add i64 %2, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = add i64 %2, 8
%12 = inttoptr i64 %11 to i64*
%13 = load i64, i64* %12, align 8
%14 = call i64 @FUNC(i64 %8, i64 0, i64 %13, i64 %10)
store i64* %12, i64** %.pre-phi2.reg2mem
br label LBL_3
LBL_3:
%.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem
%15 = load i64, i64* %.pre-phi2.reload, align 8
%16 = call i64 @FUNC(i64 %15)
%17 = add i64 %2, 48
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 %19)
store i64 0, i64* %18, align 8
%21 = call i64 @FUNC(i64 %2)
ret i64 %21
uselistorder i64 %2, { 1, 2, 4, 3, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | io_grab_files_12205 | io_grab_files | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC()
%2 = add i64 %0, 16
%3 = call i64 @FUNC(i64 %2)
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = call i64 @FUNC(i64 %7)
%9 = inttoptr i64 %2 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %8, %10
%12 = icmp eq i1 %11, false
store i64 4294967287, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_2, label LBL_1
LBL_1:
%13 = add i64 %0, 40
%14 = call i64 @FUNC(i64 %13, i64 %0)
%15 = add i64 %0, 24
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = or i32 %17, 1
store i32 %18, i32* %16, align 4
%19 = load i64, i64* @gv_0, align 8
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = add i64 %0, 32
%23 = inttoptr i64 %22 to i64*
store i64 %21, i64* %23, align 8
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%24 = call i64 @FUNC(i64 %2)
%25 = call i64 @FUNC()
ret i64 %sv_0.0.reload
uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }
} | 1 |
CompRealVul | raven_pcihost_class_init_3323 | raven_pcihost_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = or i64 %0, 1
store i64 %1, i64* %arg1, align 8
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
store i64 4198662, i64* %3, align 8
%4 = add i64 %0, 16
%5 = inttoptr i64 %4 to i64*
store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %5, align 8
%6 = add i64 %0, 24
%7 = inttoptr i64 %6 to i8*
store i8 1, i8* %7, align 1
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4 }
} | 0 |
CompRealVul | nfs4_set_delegation_18073 | nfs4_set_delegation | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%storemerge.reg2mem = alloca i32
%rdx = alloca i64, align 8
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 -11, i64* %rax.0.reg2mem
br i1 %3, label LBL_1, label LBL_9
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = ptrtoint i64* %arg2 to i64
%6 = call i64 @FUNC(i64 %4, i64 %5)
%7 = icmp eq i64 %6, 0
%8 = icmp eq i1 %7, false
store i64 -12, i64* %rax.0.reg2mem
br i1 %8, label LBL_2, label LBL_9
LBL_2:
%9 = ptrtoint i64* %arg3 to i64
%10 = call i64 @FUNC(i64 %9)
%11 = call i64 @FUNC(i64* nonnull @gv_0)
%12 = add i64 %9, 20
%13 = inttoptr i64 %12 to i64*
%14 = call i64 @FUNC(i64* %13)
%15 = inttoptr i64 %6 to i64*
store i64 %9, i64* %15, align 8
%16 = add i64 %9, 8
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = icmp eq i64 %18, 0
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = call i64 @FUNC(i64 %12)
%22 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))
%23 = call i64 @FUNC(i64 %6)
%24 = trunc i64 %23 to i32
store i32 %24, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_4:
%25 = bitcast i64* %rdx to i32*
%26 = add i64 %9, 16
%27 = call i64 @FUNC(i64 %26)
%28 = load i32, i32* %25, align 8
%29 = icmp eq i32 %28, 0
store i32 -11, i32* %storemerge.reg2mem
br i1 %29, label LBL_5, label LBL_6
LBL_5:
%30 = call i64 @FUNC(i64 %6, i64 %9)
store i32 0, i32* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i32, i32* %storemerge.reg2mem
%31 = call i64 @FUNC(i64 %12)
%32 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))
store i32 %storemerge.reload, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%33 = icmp eq i32 %sv_0.0.reload, 0
store i64 %6, i64* %rax.0.reg2mem
br i1 %33, label LBL_9, label LBL_8
LBL_8:
%34 = call i64 @FUNC(i64 %6)
%35 = sext i32 %sv_0.0.reload to i64
store i64 %35, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %12, { 1, 0, 2 }
uselistorder i64 %9, { 0, 2, 1, 3, 5, 4 }
uselistorder i64 %6, { 2, 0, 3, 1, 4, 5 }
uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64 (i64)* @spin_unlock, { 3, 2, 1, 0 }
uselistorder i64 (i64*)* @spin_lock, { 1, 0 }
uselistorder i64* @gv_0, { 1, 0 }
uselistorder i32 0, { 1, 0, 2, 3 }
uselistorder label LBL_9, { 3, 0, 1, 2 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
CompRealVul | set_sigmask_14728 | set_sigmask | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 2, i64 %0, i64 0)
ret i64 %1
} | 1 |
CompRealVul | _nfs4_opendata_to_nfs4_state_10024 | _nfs4_opendata_to_nfs4_state | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %2)
store i64 %6, i64* %storemerge.reg2mem
br label LBL_10
LBL_2:
%7 = add i64 %2, 36
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = urem i32 %9, 2
%11 = icmp eq i32 %10, 0
store i64 4294967285, i64* %sv_0.0.reg2mem
br i1 %11, label LBL_9, label LBL_3
LBL_3:
%12 = add i64 %2, 24
%13 = add i64 %2, 8
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17, i64 %12, i64 %7)
%19 = call i64 @FUNC(i64 %18)
%20 = call i64 @FUNC(i64 %18)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 0
%23 = icmp eq i1 %22, false
store i64 %19, i64* %sv_0.0.reg2mem
br i1 %23, label LBL_9, label LBL_4
LBL_4:
%24 = add i64 %2, 40
%25 = inttoptr i64 %24 to i64*
%26 = load i64, i64* %25, align 8
%27 = call i64 @FUNC(i64 %18, i64 %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label LBL_8, label LBL_5
LBL_5:
%29 = add i64 %2, 16
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label LBL_7, label LBL_6
LBL_6:
%33 = call i64 @FUNC(i64 %2, i64 %27)
br label LBL_7
LBL_7:
%34 = add i64 %2, 32
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = add i64 %2, 20
%38 = zext i32 %36 to i64
%39 = call i64 @FUNC(i64 %27, i64 %37, i64 0, i64 %38)
%40 = call i64 @FUNC(i64 %18)
store i64 %27, i64* %storemerge.reg2mem
br label LBL_10
LBL_8:
%41 = call i64 @FUNC(i64 %18)
store i64 4294967284, i64* %sv_0.0.reg2mem
br label LBL_9
LBL_9:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%42 = and i64 %sv_0.0.reload, 4294967295
%43 = call i64 @FUNC(i64 %42)
store i64 %43, i64* %storemerge.reg2mem
br label LBL_10
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %18, { 1, 0, 2, 3, 4 }
uselistorder i64 %2, { 1, 0, 3, 2, 4, 6, 7, 5, 8 }
uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i64 (i64)* @iput, { 1, 0 }
uselistorder i64 32, { 1, 0 }
uselistorder label LBL_10, { 2, 1, 0 }
uselistorder label LBL_9, { 2, 0, 1 }
} | 0 |
CompRealVul | loader_exec_18624 | loader_exec | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6) local_unnamed_addr {
LBL_0:
%rax.0.shrunk.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_0.02.reg2mem = alloca i32
%sv_0.0.in.reg2mem = alloca i64
%0 = ptrtoint i64* %arg6 to i64
%1 = add i64 %0, 4208
%2 = inttoptr i64 %1 to i32*
store i32 32764, i32* %2, align 4
%3 = add i64 %0, 4144
%4 = inttoptr i64 %3 to i64*
%5 = call i64* @memset(i64* %4, i32 0, i32 64)
%6 = inttoptr i64 %arg1 to i8*
%7 = call i32 (i8*, i32, ...) @open(i8* %6, i32 0)
%8 = icmp slt i32 %7, 0
%9 = icmp eq i1 %8, false
store i32 %7, i32* %rax.0.shrunk.reg2mem
br i1 %9, label LBL_1, label LBL_17
LBL_1:
%10 = ptrtoint i64* %arg3 to i64
%11 = bitcast i64* %arg6 to i32*
store i32 %7, i32* %11, align 4
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i64*
store i64 %arg1, i64* %13, align 8
%14 = call i64 @FUNC(i64 %arg2)
%15 = trunc i64 %14 to i32
%16 = add i64 %0, 16
%17 = inttoptr i64 %16 to i32*
store i32 %15, i32* %17, align 4
%18 = add i64 %0, 24
%19 = inttoptr i64 %18 to i64*
store i64 %arg2, i64* %19, align 8
%20 = call i64 @FUNC(i64 %10)
%21 = trunc i64 %20 to i32
%22 = add i64 %0, 32
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = add i64 %0, 40
%25 = inttoptr i64 %24 to i64*
store i64 %10, i64* %25, align 8
%26 = call i64 @FUNC(i64 %0)
%27 = trunc i64 %26 to i32
%28 = icmp slt i32 %27, 0
store i32 %27, i32* %sv_0.02.reg2mem
br i1 %28, label LBL_14, label LBL_2
LBL_2:
%29 = ptrtoint i64* %arg5 to i64
%30 = ptrtoint i64* %arg4 to i64
%31 = add i64 %0, 48
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32, align 1
%34 = icmp eq i8 %33, 127
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_7, label LBL_3
LBL_3:
%36 = add i64 %0, 49
%37 = inttoptr i64 %36 to i8*
%38 = load i8, i8* %37, align 1
%39 = icmp eq i8 %38, 69
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_7, label LBL_4
LBL_4:
%41 = add i64 %0, 50
%42 = inttoptr i64 %41 to i8*
%43 = load i8, i8* %42, align 1
%44 = icmp eq i8 %43, 76
%45 = icmp eq i1 %44, false
br i1 %45, label LBL_7, label LBL_5
LBL_5:
%46 = add i64 %0, 51
%47 = inttoptr i64 %46 to i8*
%48 = load i8, i8* %47, align 1
%49 = icmp eq i8 %48, 70
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_7, label LBL_6
LBL_6:
%51 = call i64 @FUNC(i64 %0, i64 %30, i64 %29)
store i64 %51, i64* %sv_0.0.in.reg2mem
br label LBL_13
LBL_7:
%52 = icmp eq i8 %33, 98
%53 = icmp eq i1 %52, false
br i1 %53, label LBL_12, label LBL_8
LBL_8:
%54 = add i64 %0, 49
%55 = inttoptr i64 %54 to i8*
%56 = load i8, i8* %55, align 1
%57 = icmp eq i8 %56, 70
%58 = icmp eq i1 %57, false
br i1 %58, label LBL_12, label LBL_9
LBL_9:
%59 = add i64 %0, 50
%60 = inttoptr i64 %59 to i8*
%61 = load i8, i8* %60, align 1
%62 = icmp eq i8 %61, 76
%63 = icmp eq i1 %62, false
br i1 %63, label LBL_12, label LBL_10
LBL_10:
%64 = add i64 %0, 51
%65 = inttoptr i64 %64 to i8*
%66 = load i8, i8* %65, align 1
%67 = icmp eq i8 %66, 84
%68 = icmp eq i1 %67, false
br i1 %68, label LBL_12, label LBL_11
LBL_11:
%69 = call i64 @FUNC(i64 %0, i64 %30, i64 %29)
store i64 %69, i64* %sv_0.0.in.reg2mem
br label LBL_13
LBL_12:
%70 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%71 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %70)
store i32 -1, i32* %rax.0.shrunk.reg2mem
br label LBL_17
LBL_13:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%72 = icmp slt i32 %sv_0.0, 0
store i32 %sv_0.0, i32* %sv_0.02.reg2mem
br i1 %72, label LBL_14, label LBL_15
LBL_14:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_16
LBL_15:
%73 = call i64 @FUNC(i64 %30, i64 %29)
store i32 %sv_0.0, i32* %rax.0.shrunk.reg2mem
br label LBL_17
LBL_16:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%74 = mul i64 %indvars.iv.reload, 8
%75 = add i64 %74, %3
%76 = inttoptr i64 %75 to i64*
%77 = load i64, i64* %76, align 8
%78 = inttoptr i64 %77 to i64*
call void @free(i64* %78)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %sv_0.02.reload, i32* %rax.0.shrunk.reg2mem
br i1 %exitcond, label LBL_17, label LBL_16
LBL_17:
%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 %30, { 2, 1, 0 }
uselistorder i64 %29, { 2, 1, 0 }
uselistorder i32 %7, { 1, 0, 2 }
uselistorder i64 %0, { 3, 2, 1, 0, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 14, 15, 16 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 0, 2, 1 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 4, 3, 2 }
uselistorder i64 (i64)* @count, { 1, 0 }
uselistorder label LBL_17, { 0, 2, 3, 1 }
uselistorder label LBL_14, { 1, 0 }
} | 1 |
CompRealVul | hugetlb_unreserve_pages_12080 | hugetlb_unreserve_pages | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0, i64 %arg2)
%3 = add i64 %0, 16
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %1)
%6 = mul i64 %5, %arg3
%7 = add i64 %0, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = sub i64 %9, %6
store i64 %10, i64* %8, align 8
%11 = call i64 @FUNC(i64 %3)
%12 = sub i64 %2, %arg3
%13 = call i64 @FUNC(i64 %3, i64 %12)
%14 = sub i64 %arg3, %2
%15 = call i64 @FUNC(i64 %1, i64 %14)
ret i64 %15
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %arg3, { 2, 1, 0 }
} | 1 |
CompRealVul | gnrm_box_dump_12058 | gnrm_box_dump | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_2, label LBL_1
LBL_1:
store i32 %4, i32* %arg1, align 4
br label LBL_2
LBL_2:
%6 = ptrtoint i32* %arg1 to i64
%7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
%8 = add i64 %6, 8
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %6, 4
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 %13, i32 %10, i64 %2, i64 %1)
store i32 1, i32* %arg1, align 4
%15 = load i32, i32* %9, align 4
%16 = add i64 %6, 16
%17 = inttoptr i64 %16 to i64*
%18 = load i64, i64* %17, align 8
%19 = zext i32 %15 to i64
%20 = call i64 @FUNC(i64 %18, i64 %19, i64 %arg2)
%21 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %arg2)
ret i64 0
uselistorder i64 %6, { 0, 1, 3, 2, 4 }
uselistorder i32 %4, { 1, 0 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2, 3 }
uselistorder i32* %arg1, { 1, 2, 0 }
} | 1 |
CompRealVul | soft_offline_in_use_page_5643 | soft_offline_in_use_page | define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge4.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = trunc i64 %1 to i32
%5 = urem i32 %4, 2
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_9, label LBL_1
LBL_1:
%8 = inttoptr i64 %3 to i32*
%9 = load i32, i32* %8, align 4
%10 = and i32 %9, 2
%11 = icmp eq i32 %10, 0
br i1 %11, label LBL_9, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %2)
%13 = and i32 %4, 4
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_4, label LBL_3
LBL_3:
%15 = call i64 @FUNC(i64 %2)
%16 = and i64 %15, 4294967295
%17 = call i64 @FUNC(i64 %16)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_8, label LBL_4
LBL_4:
%20 = call i64 @FUNC(i64 %2)
%21 = icmp eq i1 %14, false
%22 = call i64 @FUNC(i64 %2)
br i1 %21, label LBL_6, label LBL_5
LBL_5:
%23 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %22)
br label LBL_7
LBL_6:
%24 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %22)
br label LBL_7
LBL_7:
%25 = call i64 @FUNC(i64 %2)
store i64 4294967280, i64* %storemerge.reg2mem
br label LBL_13
LBL_8:
%26 = call i64 @FUNC(i64 %2)
br label LBL_9
LBL_9:
%27 = and i64 %arg2, 4294967295
%28 = call i64 @FUNC(i64 %2)
%29 = call i64 @FUNC(i64 %2, i64 1)
br i1 %6, label LBL_11, label LBL_10
LBL_10:
%30 = call i64 @FUNC(i64 %2, i64 %27)
store i64 %30, i64* %storemerge4.in.reg2mem
br label LBL_12
LBL_11:
%31 = call i64 @FUNC(i64 %2, i64 %27)
store i64 %31, i64* %storemerge4.in.reg2mem
br label LBL_12
LBL_12:
%storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem
%32 = and i64 %28, 4294967295
%33 = call i64 @FUNC(i64 %2, i64 %32)
%34 = and i64 %storemerge4.in.reload, 4294967295
store i64 %34, i64* %storemerge.reg2mem
br label LBL_13
LBL_13:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %27, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i32 %4, { 1, 0 }
uselistorder i64 %2, { 6, 7, 8, 10, 9, 0, 2, 3, 4, 1, 5, 11 }
uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64)* @set_pageblock_migratetype, { 1, 0 }
uselistorder i64 (i8*, i64)* @pr_info, { 1, 0 }
uselistorder i64 (i64)* @unlock_page, { 1, 0 }
uselistorder i32 2, { 1, 0 }
} | 0 |
CompRealVul | gva_to_ma_par_12180 | gva_to_ma_par | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 0)
%1 = call i64 @FUNC(i64 %arg1, i64 0)
%2 = call i64 @FUNC()
%3 = call i64 @FUNC(i64 0)
%4 = call i64 @FUNC(i64 %0, i64 0)
ret i64 %3
uselistorder i64 (i64)* @READ_CP64, { 1, 0 }
} | 1 |
CompRealVul | rom_copy_5557 | rom_copy | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.3.lcssa.reg2mem = alloca i32
%sv_1.1.lcssa.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%.reg2mem15 = alloca i64
%.reg2mem = alloca i64
%sv_1.14.reg2mem = alloca i64
%sv_0.35.reg2mem = alloca i32
%storemerge6.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%storemerge3 = load i64, i64* @gv_0, align 8
%1 = icmp eq i64 %storemerge3, 0
%2 = icmp eq i1 %1, false
store i64 %0, i64* %sv_1.1.lcssa.reg2mem
store i32 0, i32* %sv_0.3.lcssa.reg2mem
br i1 %2, label LBL_1, label LBL_12
LBL_1:
%3 = add i64 %arg3, %arg2
%4 = add i64 %0, %arg3
store i64 %storemerge3, i64* %storemerge6.reg2mem
store i32 0, i32* %sv_0.35.reg2mem
store i64 %0, i64* %sv_1.14.reg2mem
br label LBL_2
LBL_2:
%sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem
%sv_0.35.reload = load i32, i32* %sv_0.35.reg2mem
%storemerge6.reload = load i64, i64* %storemerge6.reg2mem
%5 = add i64 %storemerge6.reload, 40
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.35.reload, i32* %sv_0.2.reg2mem
br i1 %9, label LBL_11, label LBL_3
LBL_3:
%10 = add i64 %storemerge6.reload, 48
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.35.reload, i32* %sv_0.2.reg2mem
br i1 %14, label LBL_11, label LBL_4
LBL_4:
%15 = inttoptr i64 %storemerge6.reload to i64*
%16 = load i64, i64* %15, align 8
%17 = add i64 %storemerge6.reload, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = add i64 %19, %16
%21 = icmp ult i64 %20, %arg2
store i64 %sv_1.14.reload, i64* %sv_1.0.reg2mem
store i32 %sv_0.35.reload, i32* %sv_0.2.reg2mem
br i1 %21, label LBL_11, label LBL_5
LBL_5:
%22 = icmp ult i64 %3, %16
%23 = icmp ult i64 %16, %arg2
%or.cond = or i1 %22, %23
store i64 %sv_1.14.reload, i64* %sv_1.1.lcssa.reg2mem
store i32 %sv_0.35.reload, i32* %sv_0.3.lcssa.reg2mem
br i1 %or.cond, label LBL_12, label LBL_6
LBL_6:
%24 = sub i64 %16, %arg2
%25 = add i64 %24, %0
%26 = add i64 %storemerge6.reload, 16
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = add i64 %28, %25
%30 = icmp ugt i64 %29, %4
%31 = sub i64 0, %24
%spec.select = select i1 %30, i64 %31, i64 %28
%sv_0.0 = trunc i64 %spec.select to i32
%32 = icmp eq i32 %sv_0.0, 0
store i64 %28, i64* %.reg2mem
store i64 %19, i64* %.reg2mem15
br i1 %32, label LBL_8, label LBL_7
LBL_7:
%33 = add i64 %storemerge6.reload, 24
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = inttoptr i64 %25 to i64*
%37 = inttoptr i64 %35 to i64*
%38 = call i64* @memcpy(i64* %36, i64* %37, i32 %sv_0.0)
%.pre = load i64, i64* %18, align 8
%.pre14 = load i64, i64* %27, align 8
store i64 %.pre14, i64* %.reg2mem
store i64 %.pre, i64* %.reg2mem15
br label LBL_8
LBL_8:
%.reload16 = load i64, i64* %.reg2mem15
%.reload = load i64, i64* %.reg2mem
%39 = icmp ugt i64 %.reload16, %.reload
store i64 %25, i64* %sv_1.0.reg2mem
store i32 %sv_0.0, i32* %sv_0.2.reg2mem
br i1 %39, label LBL_9, label LBL_11
LBL_9:
%sext = mul i64 %spec.select, 4294967296
%40 = ashr exact i64 %sext, 32
%41 = add i64 %40, %25
%42 = sub i64 %.reload16, %.reload
%43 = add i64 %42, %41
%44 = icmp ugt i64 %43, %4
%45 = sub i64 %0, %41
%spec.select2 = select i1 %44, i64 %45, i64 %42
%sv_0.1 = trunc i64 %spec.select2 to i32
%46 = icmp eq i32 %sv_0.1, 0
store i64 %41, i64* %sv_1.0.reg2mem
store i32 0, i32* %sv_0.2.reg2mem
br i1 %46, label LBL_11, label LBL_10
LBL_10:
%47 = inttoptr i64 %41 to i64*
%48 = call i64* @memset(i64* %47, i32 0, i32 %sv_0.1)
store i64 %41, i64* %sv_1.0.reg2mem
store i32 %sv_0.1, i32* %sv_0.2.reg2mem
br label LBL_11
LBL_11:
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%49 = add i64 %storemerge6.reload, 32
%50 = inttoptr i64 %49 to i64*
%storemerge = load i64, i64* %50, align 8
%51 = icmp eq i64 %storemerge, 0
%52 = icmp eq i1 %51, false
store i64 %storemerge, i64* %storemerge6.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.35.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.14.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem
store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem
br i1 %52, label LBL_2, label LBL_12
LBL_12:
%sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem
%sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem
%53 = sext i32 %sv_0.3.lcssa.reload to i64
%54 = sub i64 %sv_1.1.lcssa.reload, %0
%55 = add i64 %54, %53
ret i64 %55
uselistorder i64 %42, { 1, 0 }
uselistorder i64 %41, { 0, 3, 1, 4, 2 }
uselistorder i64 %28, { 0, 2, 1 }
uselistorder i64 %25, { 1, 0, 3, 2 }
uselistorder i64 %24, { 1, 0 }
uselistorder i64 %16, { 2, 1, 3, 0 }
uselistorder i64 %storemerge6.reload, { 6, 0, 1, 3, 2, 4, 5 }
uselistorder i64 %0, { 3, 5, 4, 1, 2, 0 }
uselistorder i64* %storemerge6.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.35.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.14.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem15, { 0, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }
uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_0.3.lcssa.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 32, { 1, 0 }
uselistorder i32 0, { 5, 1, 3, 4, 2, 0 }
uselistorder i1 false, { 3, 1, 2, 0 }
uselistorder i64 %arg2, { 3, 1, 2, 0 }
uselistorder label LBL_11, { 4, 5, 3, 0, 1, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
CompRealVul | append_option_parameters_18258 | append_option_parameters | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%sv_0.01.reg2mem = alloca i64
%sv_1.13.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %arg1)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %2, %1
%4 = mul i64 %3, 16
%5 = add i64 %4, 16
%6 = call i64 @FUNC(i64 %arg1, i64 %5)
%7 = icmp eq i64* %arg2, null
store i64 %1, i64* %sv_1.13.reg2mem
store i64 %0, i64* %sv_0.01.reg2mem
br i1 %7, label LBL_5, label LBL_4
LBL_1:
%sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem
%8 = call i64 @FUNC(i64 %6, i64 %27)
%9 = icmp eq i64 %8, 0
%10 = icmp eq i1 %9, false
store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = add i64 %sv_1.13.reload, 1
%12 = mul i64 %sv_1.13.reload, 16
%13 = add i64 %12, %6
%14 = add i64 %sv_0.01.reload, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = load i64, i64* %26, align 8
%18 = inttoptr i64 %13 to i64*
store i64 %17, i64* %18, align 8
%19 = add i64 %13, 8
%20 = inttoptr i64 %19 to i64*
store i64 %16, i64* %20, align 8
%21 = mul i64 %11, 16
%22 = add i64 %21, %6
%23 = inttoptr i64 %22 to i64*
store i64 0, i64* %23, align 8
store i64 %11, i64* %sv_1.0.reg2mem
br label LBL_3
LBL_3:
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%24 = add i64 %sv_0.01.reload, 16
%25 = icmp eq i64 %24, 0
store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem
store i64 %24, i64* %sv_0.01.reg2mem
br i1 %25, label LBL_5, label LBL_4
LBL_4:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%26 = inttoptr i64 %sv_0.01.reload to i64*
%27 = load i64, i64* %26, align 8
%28 = icmp eq i64 %27, 0
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_1, label LBL_5
LBL_5:
ret i64 %6
uselistorder i64 %27, { 1, 0 }
uselistorder i64* %26, { 1, 0 }
uselistorder i64 %sv_0.01.reload, { 1, 0, 2 }
uselistorder i64 %13, { 1, 0 }
uselistorder i64 %sv_1.13.reload, { 1, 0, 2 }
uselistorder i64 %6, { 3, 0, 1, 2 }
uselistorder i64* %sv_1.13.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @count_option_parameters, { 1, 0 }
uselistorder label LBL_5, { 1, 0, 2 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | palette8tobgr24_16645 | palette8tobgr24 | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%storemerge.lcssa.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = ptrtoint i64* %arg4 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = icmp sgt i64 %arg3, 0
store i64 0, i64* %storemerge2.reg2mem
store i64 %arg2, i64* %sv_0.01.reg2mem
store i64 0, i64* %storemerge.lcssa.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%3 = add i64 %storemerge2.reload, %1
%4 = inttoptr i64 %3 to i8*
%5 = load i8, i8* %4, align 1
%6 = zext i8 %5 to i64
%7 = mul i64 %6, 4
%8 = add i64 %7, %0
%9 = inttoptr i64 %8 to i8*
%10 = load i8, i8* %9, align 1
%11 = inttoptr i64 %sv_0.01.reload to i8*
store i8 %10, i8* %11, align 1
%12 = load i8, i8* %4, align 1
%13 = zext i8 %12 to i64
%14 = mul i64 %13, 4
%15 = or i64 %14, 1
%16 = add i64 %15, %0
%17 = add i64 %sv_0.01.reload, 1
%18 = inttoptr i64 %16 to i8*
%19 = load i8, i8* %18, align 1
%20 = inttoptr i64 %17 to i8*
store i8 %19, i8* %20, align 1
%21 = load i8, i8* %4, align 1
%22 = zext i8 %21 to i64
%23 = mul i64 %22, 4
%24 = or i64 %23, 2
%25 = add i64 %24, %0
%26 = add i64 %sv_0.01.reload, 2
%27 = inttoptr i64 %25 to i8*
%28 = load i8, i8* %27, align 1
%29 = inttoptr i64 %26 to i8*
store i8 %28, i8* %29, align 1
%30 = add i64 %sv_0.01.reload, 3
%31 = add nuw nsw i64 %storemerge2.reload, 1
%exitcond = icmp eq i64 %31, %arg3
store i64 %31, i64* %storemerge2.reg2mem
store i64 %30, i64* %sv_0.01.reg2mem
store i64 %arg3, i64* %storemerge.lcssa.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
ret i64 %storemerge.lcssa.reload
uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 1, { 1, 2, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | png_filter_row_3684 | png_filter_row | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.in.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%storemerge1537.reg2mem = alloca i64
%storemerge2036.reg2mem = alloca i64
%sv_0.031.reg2mem = alloca i64
%sv_1.032.reg2mem = alloca i32
%storemerge2733.reg2mem = alloca i64
%rsi = alloca i64, align 8
%0 = ptrtoint i64* %arg5 to i64
%1 = ptrtoint i64* %arg4 to i64
%2 = ptrtoint i64* %arg2 to i64
%sext = mul i64 %arg7, 4294967296
%3 = ashr exact i64 %sext, 32
%sext5 = mul i64 %arg3, 4294967296
%4 = ashr exact i64 %sext5, 32
%sext6 = mul i64 %arg6, 4294967296
%5 = ashr exact i64 %sext6, 32
%6 = and i64 %4, 4294967295
store i64 %6, i64* @0, align 8
%7 = mul i64 %6, 8
%8 = add i64 %7, ptrtoint (i64* @gv_0 to i64)
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%trunc = trunc i64 %4 to i32
store i64 %10, i64* %rax.0.reg2mem
switch i32 %trunc, label LBL_19 [
i32 0, label LBL_4
i32 1, label LBL_3
i32 2, label LBL_11
i32 3, label LBL_2
i32 4, label LBL_1
]
LBL_1:
%11 = trunc i64 %3 to i32
%12 = icmp sgt i32 %11, 0
store i64 0, i64* %storemerge1537.reg2mem
store i64 0, i64* %sv_0.1.reg2mem
br i1 %12, label LBL_14, label LBL_17
LBL_2:
%13 = trunc i64 %3 to i32
%14 = icmp sgt i32 %13, 0
store i64 0, i64* %storemerge2036.reg2mem
br i1 %14, label LBL_12, label LBL_13
LBL_3:
%15 = trunc i64 %3 to i32
%16 = icmp sgt i32 %15, 0
store i64 0, i64* %storemerge2733.reg2mem
br i1 %16, label LBL_5, label LBL_10
LBL_4:
%17 = trunc i64 %5 to i32
%18 = call i64* @memcpy(i64* %arg2, i64* %arg4, i32 %17)
%19 = ptrtoint i64* %18 to i64
store i64 %19, i64* %rax.0.reg2mem
br label LBL_19
LBL_5:
%storemerge2733.reload = load i64, i64* %storemerge2733.reg2mem
%20 = add i64 %storemerge2733.reload, %1
%21 = add i64 %storemerge2733.reload, %2
%22 = inttoptr i64 %20 to i8*
%23 = load i8, i8* %22, align 1
%24 = inttoptr i64 %21 to i8*
store i8 %23, i8* %24, align 1
%25 = mul i64 %storemerge2733.reload, 4294967296
%sext26 = add i64 %25, 4294967296
%26 = ashr exact i64 %sext26, 32
%27 = trunc i64 %26 to i32
%28 = icmp slt i32 %27, %15
store i64 %26, i64* %storemerge2733.reg2mem
br i1 %28, label LBL_5, label LBL_6
LBL_6:
%29 = icmp eq i32 %15, 4
%30 = icmp eq i1 %29, false
br i1 %30, label LBL_10, label LBL_7
LBL_7:
%31 = trunc i64 %5 to i32
%32 = icmp slt i32 %27, %31
store i64 %26, i64* %.lcssa.in.reg2mem
br i1 %32, label LBL_8, label LBL_18
LBL_8:
%33 = bitcast i64* %rsi to i32*
%34 = load i32, i32* %33, align 8
store i32 %34, i32* %sv_1.032.reg2mem
store i64 %26, i64* %sv_0.031.reg2mem
br label LBL_9
LBL_9:
%sv_0.031.reload = load i64, i64* %sv_0.031.reg2mem
%sv_1.032.reload = load i32, i32* %sv_1.032.reg2mem
%35 = add i64 %sv_0.031.reload, %1
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = and i32 %37, 2139062143
%39 = and i32 %sv_1.032.reload, 2139062143
%40 = add nuw i32 %38, %39
%41 = xor i32 %37, %sv_1.032.reload
%42 = and i32 %41, -2139062144
%43 = xor i32 %42, %40
%44 = add i64 %sv_0.031.reload, %2
%45 = inttoptr i64 %44 to i32*
store i32 %43, i32* %45, align 4
%46 = add nsw i64 %sv_0.031.reload, %3
%sext23 = mul i64 %46, 4294967296
%47 = ashr exact i64 %sext23, 32
%48 = trunc i64 %47 to i32
%49 = icmp slt i32 %48, %31
store i32 %43, i32* %sv_1.032.reg2mem
store i64 %47, i64* %sv_0.031.reg2mem
store i64 %47, i64* %.lcssa.in.reg2mem
br i1 %49, label LBL_9, label LBL_18
LBL_10:
%50 = call i64 @FUNC(i64 1)
store i64 %50, i64* %rax.0.reg2mem
br label LBL_19
LBL_11:
store i64 %2, i64* %rax.0.reg2mem
br label LBL_19
LBL_12:
%storemerge2036.reload = load i64, i64* %storemerge2036.reg2mem
%51 = add i64 %storemerge2036.reload, %0
%52 = inttoptr i64 %51 to i8*
%53 = load i8, i8* %52, align 1
%54 = udiv i8 %53, 2
%55 = add i64 %storemerge2036.reload, %1
%56 = inttoptr i64 %55 to i8*
%57 = load i8, i8* %56, align 1
%58 = add i64 %storemerge2036.reload, %2
%59 = add i8 %57, %54
%60 = inttoptr i64 %58 to i8*
store i8 %59, i8* %60, align 1
%61 = mul i64 %storemerge2036.reload, 4294967296
%sext19 = add i64 %61, 4294967296
%62 = ashr exact i64 %sext19, 32
%63 = trunc i64 %62 to i32
%64 = icmp slt i32 %63, %13
store i64 %62, i64* %storemerge2036.reg2mem
br i1 %64, label LBL_12, label LBL_13
LBL_13:
%65 = call i64 @FUNC(i64 2)
store i64 %65, i64* %rax.0.reg2mem
br label LBL_19
LBL_14:
%storemerge1537.reload = load i64, i64* %storemerge1537.reg2mem
%66 = add i64 %storemerge1537.reload, %0
%67 = inttoptr i64 %66 to i8*
%68 = load i8, i8* %67, align 1
%69 = add i64 %storemerge1537.reload, %1
%70 = inttoptr i64 %69 to i8*
%71 = load i8, i8* %70, align 1
%72 = add i64 %storemerge1537.reload, %2
%73 = add i8 %71, %68
%74 = inttoptr i64 %72 to i8*
store i8 %73, i8* %74, align 1
%75 = mul i64 %storemerge1537.reload, 4294967296
%sext14 = add i64 %75, 4294967296
%76 = ashr exact i64 %sext14, 32
%77 = trunc i64 %76 to i32
%78 = icmp slt i32 %77, %11
store i64 %76, i64* %storemerge1537.reg2mem
br i1 %78, label LBL_14, label LBL_15
LBL_15:
%79 = icmp slt i32 %11, 3
%80 = trunc i64 %5 to i32
%81 = icmp slt i32 %80, 5
%or.cond = or i1 %81, %79
store i64 %76, i64* %sv_0.1.reg2mem
br i1 %or.cond, label LBL_17, label LBL_16
LBL_16:
%82 = icmp eq i32 %11, 4
%83 = add i64 %sext6, -12884901888
%sext7 = select i1 %82, i64 %sext6, i64 %83
%84 = ashr exact i64 %sext7, 32
store i64 %84, i64* %sv_0.1.reg2mem
br label LBL_17
LBL_17:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%85 = sub nsw i64 %5, %sv_0.1.reload
%86 = add i64 %sv_0.1.reload, %0
%87 = add i64 %sv_0.1.reload, %1
%88 = add i64 %sv_0.1.reload, %2
%89 = and i64 %85, 4294967295
%90 = call i64 @FUNC(i64 %88, i64 %87, i64 %86, i64 %89, i32 %11)
store i64 %90, i64* %rax.0.reg2mem
br label LBL_19
LBL_18:
%.lcssa.in.reload = load i64, i64* %.lcssa.in.reg2mem
%.lcssa = and i64 %.lcssa.in.reload, 4294967295
store i64 %.lcssa, i64* %rax.0.reg2mem
br label LBL_19
LBL_19:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.1.reload, { 3, 2, 1, 0 }
uselistorder i64 %storemerge1537.reload, { 3, 2, 1, 0 }
uselistorder i64 %storemerge2036.reload, { 3, 2, 1, 0 }
uselistorder i32 %sv_1.032.reload, { 1, 0 }
uselistorder i64 %sv_0.031.reload, { 2, 1, 0 }
uselistorder i32 %31, { 1, 0 }
uselistorder i64 %26, { 1, 0, 2, 3 }
uselistorder i64 %storemerge2733.reload, { 2, 1, 0 }
uselistorder i32 %15, { 0, 2, 1 }
uselistorder i32 %13, { 1, 0 }
uselistorder i32 %11, { 0, 1, 2, 4, 3 }
uselistorder i64 %5, { 3, 0, 2, 1 }
uselistorder i64 %sext6, { 1, 2, 0 }
uselistorder i64 %4, { 1, 0 }
uselistorder i64 %2, { 4, 5, 3, 0, 1, 2 }
uselistorder i64 %1, { 3, 4, 2, 0, 1 }
uselistorder i64 %0, { 1, 2, 0 }
uselistorder i64* %storemerge2733.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.032.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.031.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge2036.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge1537.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 3, 2, 7 }
uselistorder i64 (i64)* @UNROLL_FILTER, { 1, 0 }
uselistorder i32 4, { 1, 0, 2 }
uselistorder i64 32, { 4, 3, 2, 1, 0, 5, 6, 7 }
uselistorder i64 4294967296, { 9, 0, 8, 1, 2, 7, 3, 4, 5, 6 }
uselistorder label LBL_17, { 1, 2, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
CompRealVul | lpfc_els_hbq_alloc_3915 | lpfc_els_hbq_alloc | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 24, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_4
LBL_1:
%3 = add i64 %0, 8
%4 = call i64 @FUNC(i64 24, i64 0, i64 %3)
%5 = inttoptr i64 %0 to i64*
store i64 %4, i64* %5, align 8
%6 = icmp eq i64 %4, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%9 = add i64 %0, 16
%10 = inttoptr i64 %9 to i64*
store i64 1024, i64* %10, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 0, 2, 1, 4, 3, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
CompRealVul | expandRegular_6365 | expandRegular | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = call i32 @umask(i32 383)
%1 = icmp eq i32 %arg4, 0
%. = select i1 %1, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([9 x i8]* @gv_1 to i64)
%2 = call i64 @FUNC(i64 %arg2, i64 %.)
%3 = call i32 @umask(i32 %0)
%4 = icmp eq i1 %1, false
%5 = icmp eq i64 %2, 0
%or.cond = or i1 %4, %5
br i1 %or.cond, label LBL_2, label LBL_1
LBL_1:
%6 = call i64 @FUNC(i64 %2, i64 %arg2)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
%9 = icmp eq i1 %8, false
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %9, label LBL_2, label LBL_5
LBL_2:
%10 = call i64 @FUNC(i64 %2)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 4294967295, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_3, label LBL_5
LBL_3:
%13 = trunc i64 %arg6 to i32
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 0, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_5, label LBL_4
LBL_4:
%16 = trunc i64 %arg5 to i32
%17 = call i64 @FUNC(i64 %arg1, i64 %2, i32 %16, i64 %arg3)
%phitmp = and i64 %17, 4294967295
store i64 %phitmp, i64* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
br i1 %5, label LBL_7, label LBL_6
LBL_6:
%18 = call i32* @__errno_location()
%19 = load i32, i32* %18, align 4
%20 = call i64 @FUNC(i64 %2)
%21 = call i32* @__errno_location()
store i32 %19, i32* %21, align 4
br label LBL_7
LBL_7:
ret i64 %sv_0.0.reload
uselistorder i64 %2, { 1, 0, 2, 4, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }
uselistorder i32* ()* @__errno_location, { 1, 0 }
uselistorder i32 (i32)* @umask, { 1, 0 }
uselistorder label LBL_5, { 3, 2, 0, 1 }
} | 0 |
CompRealVul | parse_uint32_420 | parse_uint32 | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8*, align 8
%2 = call i64 @FUNC(i64 %1, i64 %0)
%3 = inttoptr i64 %arg3 to i8*
%4 = call i32 @strtoul(i8* %3, i8** nonnull %sv_0, i32 0)
%5 = inttoptr i64 %2 to i32*
store i32 %4, i32* %5, align 4
%6 = load i8*, i8** %sv_0, align 8
%7 = load i8, i8* %6, align 1
%8 = icmp eq i8 %7, 0
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = ptrtoint i8* %6 to i64
%11 = icmp eq i64 %10, %arg3
%12 = icmp eq i1 %11, false
%spec.select = select i1 %12, i64 0, i64 4294967274
ret i64 %spec.select
LBL_2:
ret i64 4294967274
uselistorder i8 0, { 1, 0 }
} | 0 |
CompRealVul | nsim_destroy_13151 | nsim_destroy | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = call i64 @FUNC(i64 %arg1)
%2 = add i64 %arg1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %arg1)
%9 = call i64 @FUNC(i64 %arg1)
%10 = call i64 @FUNC(i64 %arg1)
br label LBL_2
LBL_2:
%11 = call i64 @FUNC()
%12 = load i64, i64* %3, align 8
%13 = call i64 @FUNC(i64 %12)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %arg1)
br label LBL_4
LBL_4:
%17 = add i64 %arg1, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64 %19)
%21 = call i64 @FUNC(i64 %arg1)
ret i64 %21
uselistorder i64 (i64)* @nsim_dev_port_is_pf, { 1, 0 }
uselistorder i64 %arg1, { 4, 5, 3, 2, 1, 0, 6, 7 }
} | 1 |
CompRealVul | gdb_set_spe_reg_16427 | gdb_set_spe_reg | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = icmp sgt i32 %2, 31
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%sext = mul i64 %arg3, 4294967296
%4 = call i64 @FUNC(i64 %0)
%5 = trunc i64 %4 to i32
%6 = ashr exact i64 %sext, 30
%7 = add i64 %1, 128
%8 = add i64 %7, %6
%9 = inttoptr i64 %8 to i32*
store i32 %5, i32* %9, align 4
store i64 4, i64* %rax.0.reg2mem
br label LBL_5
LBL_2:
%10 = icmp eq i32 %2, 33
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %0)
%13 = add i64 %1, 256
%14 = inttoptr i64 %13 to i64*
store i64 %12, i64* %14, align 8
store i64 8, i64* %rax.0.reg2mem
br label LBL_5
LBL_4:
%15 = icmp eq i32 %2, 34
%16 = icmp eq i1 %15, false
%. = select i1 %16, i64 0, i64 4
store i64 %., 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 %2, { 1, 0, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i64 4, { 1, 0 }
} | 1 |
CompRealVul | gic_acknowledge_irq_3533 | gic_acknowledge_irq | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = and i64 %arg3, 4294967295
%5 = and i64 %3, 4294967295
%6 = call i64 @FUNC(i64 %2, i64 %5, i64 %4)
%7 = trunc i64 %6 to i32
%8 = and i64 %6, 4294967295
%9 = call i64 @FUNC(i64 %5, i64 %8)
%10 = icmp slt i32 %7, 1020
br i1 %10, label LBL_2, label LBL_1
LBL_1:
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i64 %8)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%12 = ashr exact i64 %sext, 30
%13 = add i64 %2, 4
%14 = add i64 %13, %12
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp slt i32 %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 i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %8)
store i64 1023, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%23 = trunc i64 %1 to i32
%24 = add i32 %23, -1
%25 = icmp ult i32 %24, 2
%26 = icmp sgt i32 %7, 15
%or.cond14 = or i1 %25, %26
store i32 %7, i32* %sv_0.0.reg2mem
br i1 %or.cond14, label LBL_8, label LBL_5
LBL_5:
%sext9 = mul i64 %6, 4294967296
%27 = ashr exact i64 %sext9, 30
%28 = add nsw i64 %27, %3
%29 = mul i64 %28, 4
%30 = add i64 %2, 20
%31 = add i64 %30, %29
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
store i32 %33, i32* %.reg2mem
br i1 %35, label LBL_7, label LBL_6
LBL_6:
call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_3, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0))
%.pre = load i32, i32* %32, align 4
store i32 %.pre, i32* %.reg2mem
br label LBL_7
LBL_7:
%.reload = load i32, i32* %.reg2mem
%36 = call i32 @FUNC(i32 %.reload)
%37 = load i32, i32* %32, align 4
%38 = urem i32 %36, 32
%39 = icmp eq i32 %38, 0
%40 = shl i32 -1, %38
%phitmp = add i32 %40, -1
%storemerge7 = select i1 %39, i32 -2, i32 %phitmp
%41 = and i32 %storemerge7, %37
store i32 %41, i32* %32, align 4
%42 = mul i32 %36, 1024
%43 = and i32 %42, 7168
%44 = or i32 %43, %7
store i32 %44, i32* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%45 = call i64 @FUNC(i64 %2, i64 %5, i32 %7)
%46 = call i64 @FUNC(i64 %2)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i64 %8)
%48 = zext i32 %sv_0.0.reload to i64
store i64 %48, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %32, { 1, 2, 0, 3 }
uselistorder i32 %16, { 1, 0 }
uselistorder i64 %8, { 3, 2, 0, 1, 4 }
uselistorder i32 %7, { 3, 1, 0, 2, 4 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %2, { 2, 1, 0, 3, 4 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i1 false, { 1, 2, 0 }
uselistorder i64 4294967295, { 1, 2, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
CompRealVul | pflash_cfi01_class_init_2074 | pflash_cfi01_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 4198669, i64* %2, align 8
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8
%5 = add i64 %0, 24
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 0, i64 %7)
%9 = add i64 %0, 32
%10 = inttoptr i64 %9 to i8*
store i8 1, i8* %10, align 1
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4 }
} | 0 |
CompRealVul | get_sigframe_13905 | get_sigframe | define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg2 to i64
%1 = add i64 %0, 32
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = sub i64 %3, %arg3
%5 = and i64 %4, 4294967288
ret i64 %5
} | 1 |
CompRealVul | put_prev_task_7374 | put_prev_task | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC(i64 %2)
br label LBL_2
LBL_2:
ret i64 %2
} | 0 |
CompRealVul | hyper_getgrnam_13331 | hyper_getgrnam | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))
%2 = icmp eq %_IO_FILE* %1, null
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = trunc i64 %0 to i32
%5 = inttoptr i64 %arg1 to i8*
br label LBL_3
LBL_2:
call void @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%6 = call %group* @fgetgrent(%_IO_FILE* %1)
%7 = icmp eq %group* %6, null
br i1 %7, label LBL_7, label LBL_4
LBL_4:
%8 = ptrtoint %group* %6 to i64
%9 = bitcast %group* %6 to i64*
%10 = load i64, i64* %9, align 8
%11 = inttoptr i64 %10 to i8*
%12 = call i32 @strcmp(i8* %11, i8* %5)
%13 = icmp eq i32 %12, 0
br i1 %13, label LBL_6, label LBL_5
LBL_5:
%14 = add i64 %8, 16
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, %4
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_3, label LBL_6
LBL_6:
%19 = call i32 @fclose(%_IO_FILE* %1)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%20 = call i32 @fclose(%_IO_FILE* %1)
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 %group* %6, { 0, 2, 1 }
uselistorder %_IO_FILE* %1, { 1, 0, 2, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | _import_text_13270 | _import_text | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i32
%sv_2.2.reg2mem = alloca i32
%sv_3.2.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%sv_3.1.reg2mem = alloca i32
%sv_4.01.reg2mem = alloca i64
%sv_3.32.reg2mem = alloca i32
%sv_2.33.reg2mem = alloca i32
%sv_1.14.reg2mem = alloca i32
%sv_0.15.reg2mem = alloca i32
%storemerge6.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0, i32 0)
%2 = icmp eq i64 %arg3, 0
store i32 0, i32* %storemerge6.reg2mem
store i32 0, i32* %sv_0.15.reg2mem
store i32 0, i32* %sv_1.14.reg2mem
store i32 0, i32* %sv_2.33.reg2mem
store i32 0, i32* %sv_3.32.reg2mem
store i64 %arg2, i64* %sv_4.01.reg2mem
br i1 %2, label LBL_10, label LBL_1
LBL_1:
%sv_4.01.reload = load i64, i64* %sv_4.01.reg2mem
%sv_3.32.reload = load i32, i32* %sv_3.32.reg2mem
%sv_2.33.reload = load i32, i32* %sv_2.33.reg2mem
%sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem
%sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%3 = inttoptr i64 %sv_4.01.reload to i8*
%4 = load i8, i8* %3, align 1
%5 = icmp eq i8 %4, 13
store i32 %sv_3.32.reload, i32* %sv_3.2.reg2mem
store i32 %sv_2.33.reload, i32* %sv_2.2.reg2mem
store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem
store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem
br i1 %5, label LBL_7, label LBL_2
LBL_2:
%6 = icmp eq i8 %4, 10
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_4, label LBL_3
LBL_3:
%8 = add i32 %sv_0.15.reload, 1
store i32 %sv_3.32.reload, i32* %sv_3.2.reg2mem
store i32 %sv_2.33.reload, i32* %sv_2.2.reg2mem
store i32 0, i32* %sv_1.0.reg2mem
store i32 %8, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_4:
%9 = icmp ult i32 %sv_1.14.reload, %sv_3.32.reload
%10 = icmp ult i32 %sv_0.15.reload, %sv_2.33.reload
%or.cond = icmp eq i1 %10, %9
%.pre = add i32 %sv_1.14.reload, 1
store i32 %sv_3.32.reload, i32* %sv_3.1.reg2mem
store i32 %sv_2.33.reload, i32* %sv_2.1.reg2mem
br i1 %or.cond, label LBL_6, label LBL_5
LBL_5:
%spec.select = select i1 %9, i32 %sv_3.32.reload, i32 %.pre
%11 = add i32 %sv_0.15.reload, 1
%sv_2.0 = select i1 %10, i32 %sv_2.33.reload, i32 %11
%12 = zext i32 %spec.select to i64
%13 = call i64 @FUNC(i64 %0, i64 %12, i32 %sv_2.0)
store i32 %spec.select, i32* %sv_3.1.reg2mem
store i32 %sv_2.0, i32* %sv_2.1.reg2mem
br label LBL_6
LBL_6:
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem
%14 = call i64 @FUNC(i64 %0, i32 %sv_1.14.reload, i32 %sv_0.15.reload, i8 %4)
store i32 %sv_3.1.reload, i32* %sv_3.2.reg2mem
store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem
store i32 %.pre, i32* %sv_1.0.reg2mem
store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem
br label LBL_7
LBL_7:
%15 = add i64 %sv_4.01.reload, 1
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem
%sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem
%16 = add i32 %storemerge6.reload, 1
%17 = zext i32 %16 to i64
%18 = icmp ult i64 %17, %arg3
store i32 %16, i32* %storemerge6.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem
store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem
store i32 %sv_2.2.reload, i32* %sv_2.33.reg2mem
store i32 %sv_3.2.reload, i32* %sv_3.32.reg2mem
store i64 %15, i64* %sv_4.01.reg2mem
br i1 %18, label LBL_1, label LBL_8
LBL_8:
%19 = icmp ugt i32 %sv_0.0.reload, %sv_2.2.reload
br i1 %19, label LBL_9, label LBL_10
LBL_9:
%20 = zext i32 %sv_3.2.reload to i64
%21 = call i64 @FUNC(i64 %0, i64 %20, i32 %sv_0.0.reload)
br label LBL_10
LBL_10:
ret i64 %arg3
uselistorder i1 %10, { 1, 0 }
uselistorder i1 %9, { 1, 0 }
uselistorder i32 %sv_0.15.reload, { 0, 4, 5, 2, 3, 1 }
uselistorder i32 %sv_1.14.reload, { 1, 3, 2, 0 }
uselistorder i32 %sv_2.33.reload, { 3, 2, 4, 0, 1 }
uselistorder i32 %sv_3.32.reload, { 3, 2, 4, 0, 1 }
uselistorder i64 %sv_4.01.reload, { 1, 0 }
uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.14.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_2.33.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_3.32.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_4.01.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_3.2.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_2.2.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64, i32)* @caca_set_canvas_size, { 1, 2, 0 }
uselistorder i64 %arg3, { 2, 1, 0 }
uselistorder label LBL_10, { 2, 1, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | ecc_mem_writel_14779 | ecc_mem_writel | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg3, 4294967296
%3 = ashr exact i64 %sext, 32
%4 = urem i64 %arg2, 256
store i64 %4, i64* @0, align 8
%5 = mul i64 %4, 8
%6 = add i64 %5, ptrtoint (i64* @gv_0 to i64)
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%trunc = trunc i64 %4 to i32
%9 = udiv i32 %trunc, 4
%10 = mul i32 %trunc, 1073741824
%11 = or i32 %9, %10
store i64 %8, i64* %rax.0.reg2mem
switch i32 %11, label LBL_8 [
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
]
LBL_1:
%12 = trunc i64 %1 to i32
%13 = urem i32 %12, 4
%14 = trunc i64 %3 to i32
%15 = and i32 %14, -4
%16 = or i32 %13, %15
%17 = bitcast i64* %arg1 to i32*
store i32 %16, i32* %17, align 4
%18 = and i64 %3, 4294967295
%19 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %18)
store i64 %19, i64* %rax.0.reg2mem
br label LBL_8
LBL_2:
%20 = trunc i64 %3 to i32
%21 = urem i32 %20, 65536
%22 = add i64 %2, 4
%23 = inttoptr i64 %22 to i32*
store i32 %21, i32* %23, align 4
%24 = and i64 %3, 4294967295
%25 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %24)
store i64 %25, i64* %rax.0.reg2mem
br label LBL_8
LBL_3:
%26 = trunc i64 %3 to i32
%27 = add i64 %2, 8
%28 = inttoptr i64 %27 to i32*
store i32 %26, i32* %28, align 4
%29 = and i64 %3, 4294967295
%30 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %29)
store i64 %30, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%31 = trunc i64 %3 to i32
%32 = add i64 %2, 12
%33 = inttoptr i64 %32 to i32*
store i32 %31, i32* %33, align 4
%34 = and i64 %3, 4294967295
%35 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %34)
store i64 %35, i64* %rax.0.reg2mem
br label LBL_8
LBL_5:
%36 = trunc i64 %3 to i32
%37 = add i64 %2, 24
%38 = inttoptr i64 %37 to i32*
store i32 %36, i32* %38, align 4
%39 = and i64 %3, 4294967295
%40 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i64 %39)
store i64 %40, i64* %rax.0.reg2mem
br label LBL_8
LBL_6:
%41 = trunc i64 %3 to i32
%42 = add i64 %2, 28
%43 = inttoptr i64 %42 to i32*
store i32 %41, i32* %43, align 4
%44 = and i64 %3, 4294967295
%45 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %44)
store i64 %45, i64* %rax.0.reg2mem
br label LBL_8
LBL_7:
%46 = trunc i64 %3 to i32
%47 = add i64 %2, 28
%48 = inttoptr i64 %47 to i32*
store i32 %46, i32* %48, align 4
%49 = and i64 %3, 4294967295
%50 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_7, i64 0, i64 0), i64 %49)
store i64 %50, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %4, { 1, 0, 2 }
uselistorder i64 %3, { 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 }
uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 8 }
uselistorder i64 (i8*, i64)* @DPRINTF, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 4294967295, { 6, 5, 4, 3, 2, 1, 0 }
uselistorder i32 4, { 0, 2, 1 }
} | 1 |
CompRealVul | all_cpu_threads_idle_1873 | all_cpu_threads_idle | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge13.reg2mem = alloca i64
%storemerge12 = load i64, i64* @gv_0, align 8
%0 = icmp eq i64 %storemerge12, 0
%1 = icmp eq i1 %0, false
store i64 %storemerge12, i64* %storemerge13.reg2mem
store i64 1, i64* %storemerge.reg2mem
br i1 %1, label LBL_1, label LBL_3
LBL_1:
%storemerge13.reload = load i64, i64* %storemerge13.reg2mem
%2 = call i64 @FUNC(i64 %storemerge13.reload)
%3 = trunc i64 %2 to i8
%4 = icmp eq i8 %3, 1
store i64 0, i64* %storemerge.reg2mem
br i1 %4, label LBL_2, label LBL_3
LBL_2:
%5 = inttoptr i64 %storemerge13.reload to i64*
%storemerge1 = load i64, i64* %5, align 8
%6 = icmp eq i64 %storemerge1, 0
%7 = icmp eq i1 %6, false
store i64 %storemerge1, i64* %storemerge13.reg2mem
store i64 1, i64* %storemerge.reg2mem
br i1 %7, label LBL_1, label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 1, { 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
CompRealVul | decode_plane_bitstream_465 | decode_plane_bitstream | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge29.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = icmp slt i32 %3, 0
%5 = zext i1 %4 to i32
%6 = add i32 %5, %3
%7 = ashr i32 %6, 1
%8 = trunc i64 %1 to i32
%9 = icmp sgt i32 %8, 8
br i1 %9, label LBL_3, label LBL_1
LBL_1:
%10 = add i64 %2, 24
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = add i32 %12, 63
%14 = icmp slt i32 %12, 0
%15 = select i1 %14, i32 %13, i32 %12
%16 = ashr i32 %15, 6
%17 = zext i32 %16 to i64
%18 = sext i32 %7 to i64
%19 = icmp slt i64 %18, %17
store i64 %17, i64* %rax.0.reg2mem
br i1 %19, label LBL_2, label LBL_12
LBL_2:
%20 = icmp sgt i32 %7, 0
%smax15 = select i1 %20, i32 %7, i32 0
%21 = zext i32 %smax15 to i64
store i64 %21, i64* %rax.0.reg2mem
br label LBL_12
LBL_3:
%22 = icmp sgt i32 %8, 14
%23 = add i64 %2, 24
%24 = call i64 @FUNC(i64 %23)
%25 = trunc i64 %24 to i32
%26 = add i32 %25, 63
%27 = icmp slt i32 %25, 0
%28 = select i1 %27, i32 %26, i32 %25
%29 = ashr i32 %28, 6
%30 = zext i32 %29 to i64
%31 = sext i32 %7 to i64
%32 = icmp slt i64 %31, %30
br i1 %22, label LBL_6, label LBL_4
LBL_4:
store i64 %30, i64* %rax.0.reg2mem
br i1 %32, label LBL_5, label LBL_12
LBL_5:
%33 = icmp sgt i32 %7, 0
%smax14 = select i1 %33, i32 %7, i32 0
%34 = zext i32 %smax14 to i64
store i64 %34, i64* %rax.0.reg2mem
br label LBL_12
LBL_6:
br i1 %32, label LBL_8, label LBL_7
LBL_7:
%35 = icmp sgt i32 %6, 1
store i32 0, i32* %storemerge29.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %35, label LBL_10, label LBL_12
LBL_8:
%36 = icmp sgt i32 %7, 0
%smax = select i1 %36, i32 %7, i32 0
%37 = zext i32 %smax to i64
store i64 %37, i64* %rax.0.reg2mem
br label LBL_12
LBL_9:
%storemerge29.reload = load i32, i32* %storemerge29.reg2mem
%38 = add nuw nsw i32 %storemerge29.reload, 1
%39 = icmp slt i32 %38, %7
store i32 %38, i32* %storemerge29.reg2mem
br i1 %39, label LBL_10, label LBL_9.LBL_12.loopexit4_crit_edge
LBL_10:
%40 = call i64 @FUNC(i64 %23)
%41 = trunc i64 %40 to i32
%42 = icmp eq i32 %41, 0
%43 = icmp slt i32 %41, 0
%44 = icmp eq i1 %43, false
%45 = icmp eq i1 %42, false
%46 = icmp eq i1 %44, %45
store i64 %40, i64* %rax.0.reg2mem
br i1 %46, label LBL_9, label LBL_12
LBL_11:
%47 = zext i32 %38 to i64
store i64 %47, i64* %rax.0.reg2mem
br label LBL_12
LBL_12:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %41, { 1, 0 }
uselistorder i32 %38, { 1, 0, 2 }
uselistorder i1 %32, { 1, 0 }
uselistorder i32 %8, { 1, 0 }
uselistorder i32 %7, { 7, 4, 5, 2, 3, 8, 0, 1, 6 }
uselistorder i32 %3, { 1, 0 }
uselistorder i64 %2, { 1, 0 }
uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 6, 2, 5, 8, 4, 7 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 (i64)* @get_bits_left, { 2, 1, 0 }
uselistorder i32 0, { 8, 9, 6, 7, 0, 4, 5, 10, 2, 3, 11, 1 }
uselistorder label LBL_12, { 2, 0, 5, 1, 4, 6, 3, 7 }
uselistorder label LBL_10, { 1, 0 }
} | 0 |
CompRealVul | pdf_page_set_size_8718 | pdf_page_set_size | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = icmp eq i64* %arg2, null
%3 = icmp eq i1 %2, false
store i64 %0, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %1, i64 1)
store i64 %4, i64* %sv_0.0.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%5 = icmp eq i64 %sv_0.0.reload, 0
br i1 %5, label LBL_4, label LBL_3
LBL_3:
%6 = inttoptr i64 %sv_0.0.reload to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label LBL_5, label LBL_4
LBL_4:
%9 = call i64 @FUNC(i64 %1, i64 4294967274, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))
store i64 %9, i64* %storemerge.reg2mem
br label LBL_6
LBL_5:
%10 = trunc i64 %arg3 to i32
%11 = add i64 %sv_0.0.reload, 4
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = trunc i64 %arg4 to i32
%14 = add i64 %sv_0.0.reload, 8
%15 = inttoptr i64 %14 to i32*
store i32 %13, i32* %15, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_6
LBL_6:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
CompRealVul | s390_machine_reset_3020 | s390_machine_reset | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 0)
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC()
%3 = call i64 @FUNC()
%4 = call i64 @FUNC()
%5 = call i64 @FUNC(i64 %1)
%6 = call i64 @FUNC(i64 1, i64 %1)
ret i64 %6
} | 0 |
CompRealVul | may_mknod_10606 | may_mknod | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = and i64 %arg1, 61440
%1 = icmp eq i64 %0, 49152
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_12, label LBL_1
LBL_1:
%2 = trunc i64 %0 to i32
%3 = icmp ult i32 %2, 49153
br i1 %3, label LBL_2, label LBL_11
LBL_2:
%4 = icmp eq i32 %2, 32768
store i64 0, i64* %rax.0.reg2mem
br i1 %4, label LBL_12, label LBL_3
LBL_3:
%5 = icmp ult i32 %2, 32769
br i1 %5, label LBL_4, label LBL_11
LBL_4:
%6 = icmp eq i32 %2, 24576
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_12, label LBL_5
LBL_5:
%7 = icmp ult i32 %2, 24577
br i1 %7, label LBL_6, label LBL_11
LBL_6:
%8 = icmp eq i32 %2, 16384
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %8, label LBL_12, label LBL_7
LBL_7:
%9 = icmp ult i32 %2, 16385
br i1 %9, label LBL_8, label LBL_11
LBL_8:
%10 = icmp eq i32 %2, 8192
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_12, label LBL_9
LBL_9:
%11 = icmp ult i32 %2, 8193
br i1 %11, label LBL_10, label LBL_11
LBL_10:
%12 = icmp ne i32 %2, 0
%13 = icmp eq i32 %2, 4096
%14 = icmp eq i1 %13, false
%or.cond = icmp eq i1 %12, %14
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_11, label LBL_12
LBL_11:
store i64 4294967274, 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* %rax.0.reg2mem, { 0, 7, 6, 5, 1, 4, 3, 2 }
uselistorder label LBL_12, { 6, 5, 4, 0, 3, 2, 1 }
} | 0 |
CompRealVul | pci_ehci_config_1234 | pci_ehci_config | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%1 = load i32, i32* @gv_0, align 4
%2 = zext i32 %1 to i64
%3 = call i64 @FUNC(i64 %2, i32 %0, i64 96, i64 1)
ret i64 %3
} | 0 |
CompRealVul | get_private_data_14579 | get_private_data | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem7 = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem5 = alloca i64
%.reg2mem3 = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%sv_1 = alloca i64, align 8
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
store i64 %5, i64* %sv_1, align 8
%6 = add i64 %2, 16
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
store i32 %8, i32* %sv_0, align 4
%9 = trunc i64 %1 to i32
%10 = icmp eq i32 %9, 1
%11 = icmp eq i1 %10, false
store i64 %5, i64* %.reg2mem
br i1 %11, label LBL_3, label LBL_1
LBL_1:
%12 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i32* nonnull %sv_0)
%13 = load i64, i64* %sv_1, align 8
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
store i64 %13, i64* %.reg2mem
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = load i64, i64* %4, align 8
store i64 %16, i64* %sv_1, align 8
store i64 %16, i64* %.reg2mem
br label LBL_3
LBL_3:
%.reload = load i64, i64* %.reg2mem
%17 = icmp eq i64 %.reload, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_9, label LBL_4
LBL_4:
%18 = load i32, i32* %sv_0, align 4
%19 = mul i32 %18, 2
%20 = or i32 %19, 1
%21 = sext i32 %20 to i64
%22 = call i64 @FUNC(i64 %21)
store i64 %22, i64* %4, align 8
%23 = icmp eq i64 %22, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_9, label LBL_5
LBL_5:
%24 = load i32, i32* %sv_0, align 4
%25 = icmp eq i32 %24, 0
store i64 %22, i64* %.reg2mem3
store i64 0, i64* %.reg2mem5
store i32 0, i32* %storemerge1.reg2mem
store i64 %22, i64* %.reg2mem7
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload6 = load i64, i64* %.reg2mem5
%.reload4 = load i64, i64* %.reg2mem3
%26 = load i64, i64* %sv_1, align 8
%27 = add i64 %26, %.reload6
%28 = inttoptr i64 %27 to i8*
%29 = load i8, i8* %28, align 1
%30 = mul i32 %storemerge1.reload, 2
%31 = sext i32 %30 to i64
%32 = add i64 %.reload4, %31
%33 = zext i8 %29 to i32
%34 = inttoptr i64 %32 to i8*
%35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %34, i32 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %33)
%36 = add i32 %storemerge1.reload, 1
%37 = load i32, i32* %sv_0, align 4
%38 = zext i32 %37 to i64
%39 = sext i32 %36 to i64
%40 = icmp slt i64 %39, %38
%.pre = load i64, i64* %4, align 8
store i64 %.pre, i64* %.reg2mem3
store i64 %39, i64* %.reg2mem5
store i32 %36, i32* %storemerge1.reg2mem
store i64 %.pre, i64* %.reg2mem7
br i1 %40, label LBL_6, label LBL_7
LBL_7:
%.reload8 = load i64, i64* %.reg2mem7
%41 = load i64, i64* %sv_1, align 8
%42 = icmp eq i64 %.reload8, %41
store i64 %.reload8, i64* %rax.0.reg2mem
br i1 %42, label LBL_9, label LBL_8
LBL_8:
%43 = call i64 @FUNC(i64 %41)
store i64 %43, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 1, 0, 2 }
uselistorder i64* %4, { 0, 2, 1, 3 }
uselistorder i64* %sv_1, { 1, 2, 3, 4, 0, 5 }
uselistorder i32* %sv_0, { 2, 0, 3, 1, 4 }
uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }
uselistorder i64* %.reg2mem3, { 2, 0, 1 }
uselistorder i64* %.reg2mem5, { 2, 0, 1 }
uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder label LBL_9, { 2, 3, 0, 1 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_3, { 1, 2, 0 }
} | 1 |
CompRealVul | iov_iter_advance_11858 | iov_iter_advance | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.pr.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = icmp ult i64 %3, %arg2
br i1 %4, label LBL_1, label LBL_2
LBL_1:
call void @exit(i32 1)
unreachable
LBL_2:
%5 = add i64 %0, 24
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 1
%9 = icmp eq i1 %8, false
%10 = add i64 %0, 16
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
store i64 %3, i64* %.pr.reg2mem
store i64 %arg2, i64* %sv_2.0.reg2mem
store i64 %0, i64* %sv_1.0.reg2mem
store i64 %12, i64* %sv_0.0.reg2mem
br i1 %9, label LBL_8, label LBL_3
LBL_3:
%13 = add i64 %12, %arg2
store i64 %13, i64* %11, align 8
%14 = load i64, i64* %2, align 8
%15 = sub i64 %14, %arg2
store i64 %15, i64* %2, align 8
br label LBL_12
LBL_4:
%16 = icmp eq i64 %.pr.reload, 0
br i1 %16, label LBL_6, label LBL_5
LBL_5:
%17 = sub i64 %.pre13, %sv_0.0.reload
%18 = icmp ugt i64 %17, %sv_2.0.reload
%19 = select i1 %18, i64 %sv_2.0.reload, i64 %17
%sext = mul i64 %19, 4294967296
%20 = ashr exact i64 %sext, 32
%21 = icmp ult i64 %.pr.reload, %20
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_7, label LBL_6
LBL_6:
call void @exit(i32 1)
unreachable
LBL_7:
%23 = sub i64 %.pr.reload, %20
store i64 %23, i64* %2, align 8
%24 = sub i64 %sv_2.0.reload, %20
%25 = add i64 %20, %sv_0.0.reload
%26 = load i64, i64* %.pre7, align 8
%27 = icmp eq i64 %25, %26
%28 = icmp eq i1 %27, false
%29 = add i64 %sv_1.0.reload, 16
%spec.select = select i1 %28, i64 %sv_1.0.reload, i64 %29
%spec.select2 = select i1 %28, i64 %25, i64 0
store i64 %23, i64* %.pr.reg2mem
store i64 %24, i64* %sv_2.0.reg2mem
store i64 %spec.select, i64* %sv_1.0.reg2mem
store i64 %spec.select2, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_8:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%.pr.reload = load i64, i64* %.pr.reg2mem
%30 = icmp eq i64 %sv_2.0.reload, 0
%31 = icmp eq i1 %30, false
%.pre = add i64 %sv_1.0.reload, 8
%.pre7 = inttoptr i64 %.pre to i64*
%.pre13 = load i64, i64* %.pre7, align 8
br i1 %31, label LBL_4, label LBL_9
LBL_9:
%32 = icmp eq i64 %.pre13, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_11, label LBL_10
LBL_10:
%34 = icmp eq i64 %.pr.reload, 0
%35 = icmp eq i1 %34, false
%36 = icmp eq i1 %35, false
%37 = icmp eq i1 %36, false
br i1 %37, label LBL_4, label LBL_11
LBL_11:
store i64 %sv_1.0.reload, i64* %arg1, align 8
store i64 %sv_0.0.reload, i64* %11, align 8
br label LBL_12
LBL_12:
ret i64 %0
uselistorder i64 %.pre13, { 1, 0 }
uselistorder i64 %sv_2.0.reload, { 0, 2, 1, 3 }
uselistorder i64 %sv_1.0.reload, { 3, 2, 0, 1 }
uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }
uselistorder i64 %20, { 0, 1, 3, 2 }
uselistorder i64 %12, { 1, 0 }
uselistorder i64* %2, { 2, 1, 0, 3 }
uselistorder i64 %0, { 1, 0, 2, 3, 4 }
uselistorder i64* %.pr.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i1 false, { 5, 0, 6, 1, 7, 3, 4, 2 }
uselistorder void (i32)* @exit, { 1, 0 }
uselistorder i64 %arg2, { 2, 1, 0, 3 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
CompRealVul | test_tco_second_timeout_none_15329 | test_tco_second_timeout_none | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0 = alloca i8*, align 8
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8
%0 = bitcast i8** %sv_0 to i64*
%1 = call i64 @FUNC(i64* nonnull %0)
%2 = call i64 @FUNC(i64* nonnull %0)
%3 = call i64 @FUNC(i64* nonnull %0)
%4 = call i64 @FUNC(i64 1)
%5 = call i64 @FUNC(i64* nonnull %0, i64 59392)
%6 = call i64 @FUNC(i64* nonnull %0)
%7 = call i64 @FUNC(i64* nonnull %0)
%8 = call i64 @FUNC(i64 118784000)
%9 = call i64 @FUNC()
%10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))
%11 = inttoptr i64 %10 to i8*
%12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i64
%15 = call i64 @FUNC(i64 %14)
%16 = call i64 @FUNC(i64 %9)
%17 = call i64 @FUNC(i64* nonnull %0)
%18 = call i64 @FUNC()
ret i64 %18
uselistorder i8** %sv_0, { 1, 0 }
uselistorder i64 (i64*)* @stop_tco, { 1, 0 }
uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
} | 1 |
CompRealVul | do_open_permission_18078 | do_open_permission | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%.pre = ptrtoint i32* %arg3 to i64
%.pre2 = add i64 %.pre, 4
%.pre4 = inttoptr i64 %.pre2 to i32*
%.pre6 = load i32, i32* %.pre4, align 4
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = urem i32 %.pre6, 2
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
%7 = ptrtoint i64* %arg2 to i64
%8 = ptrtoint i64* %arg1 to i64
%9 = udiv i32 %.pre6, 2
%10 = urem i32 %9, 2
%11 = or i32 %10, %arg4
%12 = add i64 %.pre, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = urem i32 %14, 2
%16 = icmp eq i32 %15, 0
%17 = or i32 %11, 6
%sv_0.1 = select i1 %16, i32 %11, i32 %17
%18 = zext i32 %sv_0.1 to i64
%19 = call i64 @FUNC(i64 %8, i64 %7, i64 32768, i64 %18)
%20 = and i64 %19, 4294967295
store i64 %20, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %11, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 2, { 1, 2, 0, 3 }
uselistorder label LBL_3, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | read_private_key_17329 | read_private_key | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.03.reg2mem = alloca i8*
%storemerge4.reg2mem = alloca i64
%sv_1 = alloca i64, align 8
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%0 = call i64 @FUNC()
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 1, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_14
LBL_1:
%3 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2)
%4 = load i64, i64* @gv_1, align 8
%5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64* nonnull %sv_1)
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = and i64 %5, 4294967295
%9 = call i64 @FUNC(i64 %8)
%10 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8
%11 = inttoptr i64 %9 to i8*
%12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i8* %11)
store i64 2, i64* %rax.0.reg2mem
br label LBL_14
LBL_3:
%13 = load i64, i64* %sv_1, align 8
%14 = call i64 @FUNC(i64 %13, i64 0)
%15 = icmp eq i64 %14, 0
store i64 10, i64* %rax.0.reg2mem
br i1 %15, label LBL_14, label LBL_4
LBL_4:
%16 = inttoptr i64 %14 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
store i64 10, i64* %rax.0.reg2mem
br i1 %19, label LBL_5, label LBL_14
LBL_5:
%20 = load i64, i64* %sv_1, align 8
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = call i64 @FUNC(i64 %20)
%24 = load i64, i64* @gv_1, align 8
%25 = call i64 @FUNC(i64 %24, i64 0, i64* nonnull %sv_3, i64 %22, i64 0)
%26 = trunc i64 %25 to i32
%27 = icmp slt i32 %26, 0
%28 = icmp eq i1 %27, false
br i1 %28, label LBL_7, label LBL_6
LBL_6:
%29 = and i64 %25, 4294967295
%30 = call i64 @FUNC(i64 %29)
%31 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8
%32 = inttoptr i64 %30 to i8*
%33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i8* %32)
store i64 2, i64* %rax.0.reg2mem
br label LBL_14
LBL_7:
%34 = ptrtoint i64* %arg1 to i64
%35 = bitcast i64* %sv_3 to i8*
%sext = mul i64 %25, 4294967296
%36 = ashr exact i64 %sext, 32
%37 = icmp ult i64 %36, 4
store i64 %36, i64* %storemerge4.reg2mem
store i8* %35, i8** %sv_0.03.reg2mem
store i64 3, i64* %rax.0.reg2mem
br i1 %37, label LBL_14, label LBL_8
LBL_8:
%sv_0.03.reload = load i8*, i8** %sv_0.03.reg2mem
%38 = load i8, i8* %sv_0.03.reload, align 1
%39 = zext i8 %38 to i64
%40 = mul i64 %39, 256
%41 = ptrtoint i8* %sv_0.03.reload to i64
%42 = add i64 %41, 1
%43 = inttoptr i64 %42 to i8*
%44 = load i8, i8* %43, align 1
%45 = zext i8 %44 to i64
%46 = or i64 %40, %45
store i64 %46, i64* %sv_2, align 8
%47 = icmp eq i64 %46, 0
br i1 %47, label LBL_12, label LBL_9
LBL_9:
%48 = icmp ult i64 %46, 3
store i64 3, i64* %rax.0.reg2mem
br i1 %48, label LBL_14, label LBL_10
LBL_10:
%49 = add i64 %41, 2
%50 = inttoptr i64 %49 to i8*
%51 = load i8, i8* %50, align 1
%52 = load i32, i32* @gv_5, align 4
%53 = zext i8 %51 to i32
%54 = icmp eq i32 %52, %53
br i1 %54, label LBL_13, label LBL_11
LBL_11:
%storemerge4.reload = load i64, i64* %storemerge4.reg2mem
%55 = add i64 %46, %41
%56 = inttoptr i64 %55 to i8*
%57 = sub i64 %storemerge4.reload, %46
%58 = icmp ult i64 %57, 4
store i64 %57, i64* %storemerge4.reg2mem
store i8* %56, i8** %sv_0.03.reg2mem
store i64 3, i64* %rax.0.reg2mem
br i1 %58, label LBL_14, label LBL_8
LBL_12:
%59 = load i32, i32* @gv_5, align 4
%60 = zext i32 %59 to i64
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %60)
store i64 2, i64* %rax.0.reg2mem
br label LBL_14
LBL_13:
%62 = call i64 @FUNC(i64 %41, i64 %46, i64 %34)
store i64 %62, 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 %46, { 0, 2, 1, 3, 4, 5 }
uselistorder i8* %sv_0.03.reload, { 1, 0 }
uselistorder i64* %sv_2, { 2, 0, 1 }
uselistorder i64* %sv_1, { 1, 2, 0 }
uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_0.03.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 1, 2, 3, 8, 5, 4, 7, 6 }
uselistorder i32* @gv_5, { 1, 0 }
uselistorder i64 3, { 0, 1, 3, 2 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 10, { 1, 0 }
uselistorder i64 2, { 2, 3, 1, 0 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }
uselistorder %_IO_FILE** @gv_2, { 1, 0 }
uselistorder i64 (i64)* @sc_strerror, { 1, 0 }
uselistorder i64 0, { 3, 4, 16, 5, 6, 12, 11, 17, 13, 7, 8, 9, 10, 0, 1, 2, 14, 15 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 5, 0, 1 }
uselistorder label LBL_14, { 6, 7, 0, 1, 2, 8, 4, 3, 9, 5 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
CompRealVul | sk_setup_caps_8948 | sk_setup_caps | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = trunc i64 %2 to i32
%6 = bitcast i64* %arg1 to i32*
%7 = trunc i64 %1 to i32
%8 = urem i32 %7, 2
%9 = icmp eq i32 %8, 0
%10 = or i32 %7, 2
%spec.select = select i1 %9, i32 %5, i32 %10
store i32 %spec.select, i32* %6, align 4
%11 = call i64 @FUNC(i64 %3)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
store i64 %11, i64* %rax.0.reg2mem
br i1 %13, label LBL_4, label LBL_1
LBL_1:
%14 = add i64 %2, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_3, label LBL_2
LBL_2:
%18 = and i32 %7, -16
store i32 %18, i32* %6, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%19 = or i32 %7, 12
store i32 %19, i32* %6, align 4
%20 = add i64 %2, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = add i64 %3, 4
%24 = inttoptr i64 %23 to i32*
store i32 %22, i32* %24, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %7, { 2, 1, 3, 0 }
uselistorder i32* %6, { 2, 1, 0 }
uselistorder i64 %3, { 1, 2, 0, 3, 4 }
uselistorder i64 %2, { 0, 2, 1, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i32 2, { 1, 0 }
} | 0 |
CompRealVul | get_stats_qobject_14682 | get_stats_qobject | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC()
%4 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%5 = trunc i64 %1 to i32
%6 = mul i32 %5, 4096
%7 = sub i32 %4, %6
%8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %7)
%9 = add i64 %2, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %11)
%13 = add i64 %2, 8
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i32 %15)
%17 = add i64 %2, 12
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0), i32 %19)
%21 = add i64 %2, 16
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i32 %23)
%25 = add i64 %2, 20
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i32 %27)
%29 = add i64 %2, 24
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i32 %31)
ret i64 %3
uselistorder i64 (i64, i8*, i32)* @stat_put, { 6, 5, 4, 3, 2, 1, 0 }
} | 1 |
CompRealVul | use_high_update_speed_15213 | use_high_update_speed | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.1.lcssa.reg2mem = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem39 = alloca i64
%.reg2mem37 = alloca i64
%storemerge1216.reg2mem = alloca i32
%.reg2mem35 = alloca i64
%.reg2mem33 = alloca i64
%storemerge815.reg2mem = alloca i32
%.reg2mem31 = alloca i64
%storemerge18.reg2mem = alloca i32
%.reg2mem29 = alloca i64
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%1 = ashr exact i64 %sext, 30
%2 = add i64 %1, %0
%3 = inttoptr i64 %2 to i32*
store i32 16, i32* %3, align 4
%4 = add i64 %0, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %6, %1
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = zext i32 %9 to i64
%11 = icmp slt i32 %9, 0
%12 = icmp eq i1 %11, false
store i64 %10, i64* %rax.1.lcssa.reg2mem
br i1 %12, label LBL_1, label LBL_8
LBL_1:
%13 = add i64 %0, 24
%14 = inttoptr i64 %13 to i64*
%15 = ashr exact i64 %sext, 29
%16 = add i64 %0, 16
%17 = inttoptr i64 %16 to i32*
%.pre = load i64, i64* %14, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %.pre, i64* %.reg2mem29
store i32 %9, i32* %storemerge18.reg2mem
br label LBL_2
LBL_2:
%storemerge18.reload = load i32, i32* %storemerge18.reg2mem
%.reload = load i64, i64* %.reg2mem
%18 = sext i32 %storemerge18.reload to i64
%19 = mul i64 %18, 16
%20 = load i32, i32* %17, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label LBL_4, label LBL_3
LBL_3:
%.reload30 = load i64, i64* %.reg2mem29
%22 = add i64 %.reload30, %15
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = or i64 %19, 4
%26 = add i64 %25, %24
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = add i64 %19, %24
%30 = inttoptr i64 %29 to i32*
%31 = load i32, i32* %30, align 4
%32 = icmp eq i32 %31, 0
store i64 %29, i64* %.reg2mem31
store i32 0, i32* %storemerge815.reg2mem
store i64 %.reload, i64* %.reg2mem37
store i64 %.reload30, i64* %.reg2mem39
store i64 0, i64* %rax.0.reg2mem
br i1 %32, label LBL_7, label LBL_5
LBL_4:
%33 = add i64 %.reload, %15
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = add i64 %35, %19
%37 = inttoptr i64 %36 to i32*
%38 = load i32, i32* %37, align 4
%39 = icmp eq i32 %38, 0
store i64 0, i64* %.reg2mem33
store i64 %36, i64* %.reg2mem35
store i32 0, i32* %storemerge1216.reg2mem
store i64 %.reload, i64* %.reg2mem37
store i64 %.reload, i64* %.reg2mem39
store i64 0, i64* %rax.0.reg2mem
br i1 %39, label LBL_7, label LBL_6
LBL_5:
%storemerge815.reload = load i32, i32* %storemerge815.reg2mem
%.reload32 = load i64, i64* %.reg2mem31
%40 = add i64 %.reload32, 8
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = add i32 %storemerge815.reload, %28
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 4
%46 = add i64 %45, %42
%47 = inttoptr i64 %46 to i32*
%48 = load i32, i32* %47, align 4
%49 = mul i32 %48, 2
store i32 %49, i32* %47, align 4
%50 = add i32 %storemerge815.reload, 1
%51 = load i64, i64* %14, align 8
%52 = add i64 %51, %15
%53 = inttoptr i64 %52 to i64*
%54 = load i64, i64* %53, align 8
%55 = add i64 %54, %19
%56 = inttoptr i64 %55 to i32*
%57 = load i32, i32* %56, align 4
%58 = zext i32 %57 to i64
%59 = sext i32 %50 to i64
%60 = icmp slt i64 %59, %58
store i64 %55, i64* %.reg2mem31
store i32 %50, i32* %storemerge815.reg2mem
store i64 %51, i64* %.reg2mem37
store i64 %51, i64* %.reg2mem39
store i64 %58, i64* %rax.0.reg2mem
br i1 %60, label LBL_5, label LBL_7
LBL_6:
%storemerge1216.reload = load i32, i32* %storemerge1216.reg2mem
%.reload36 = load i64, i64* %.reg2mem35
%.reload34 = load i64, i64* %.reg2mem33
%61 = add i64 %.reload36, 8
%62 = inttoptr i64 %61 to i64*
%63 = load i64, i64* %62, align 8
%64 = mul i64 %.reload34, 4
%65 = add i64 %63, %64
%66 = inttoptr i64 %65 to i32*
%67 = load i32, i32* %66, align 4
%68 = mul i32 %67, 2
store i32 %68, i32* %66, align 4
%69 = add i32 %storemerge1216.reload, 1
%70 = load i64, i64* %14, align 8
%71 = add i64 %70, %15
%72 = inttoptr i64 %71 to i64*
%73 = load i64, i64* %72, align 8
%74 = add i64 %73, %19
%75 = inttoptr i64 %74 to i32*
%76 = load i32, i32* %75, align 4
%77 = zext i32 %76 to i64
%78 = sext i32 %69 to i64
%79 = icmp slt i64 %78, %77
store i64 %78, i64* %.reg2mem33
store i64 %74, i64* %.reg2mem35
store i32 %69, i32* %storemerge1216.reg2mem
store i64 %70, i64* %.reg2mem37
store i64 %70, i64* %.reg2mem39
store i64 %77, i64* %rax.0.reg2mem
br i1 %79, label LBL_6, label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%.reload40 = load i64, i64* %.reg2mem39
%.reload38 = load i64, i64* %.reg2mem37
%80 = add i32 %storemerge18.reload, -1
%81 = icmp slt i32 %80, 0
%82 = icmp eq i1 %81, false
store i64 %.reload38, i64* %.reg2mem
store i64 %.reload40, i64* %.reg2mem29
store i32 %80, i32* %storemerge18.reg2mem
store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem
br i1 %82, label LBL_2, label LBL_8
LBL_8:
%rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem
ret i64 %rax.1.lcssa.reload
uselistorder i64 %19, { 4, 2, 3, 1, 0 }
uselistorder i64 %.reload, { 0, 2, 3, 1 }
uselistorder i64 %15, { 0, 2, 1, 3 }
uselistorder i64* %14, { 2, 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %0, { 1, 2, 3, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem29, { 1, 0, 2 }
uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem31, { 2, 0, 1 }
uselistorder i32* %storemerge815.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem33, { 2, 0, 1 }
uselistorder i64* %.reg2mem35, { 2, 0, 1 }
uselistorder i32* %storemerge1216.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem37, { 0, 2, 1, 4, 3 }
uselistorder i64* %.reg2mem39, { 0, 2, 1, 4, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }
uselistorder i1 false, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 3, 2 }
uselistorder label LBL_6, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | qemu_announce_self_once_388 | qemu_announce_self_once | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge2.in.in.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%sv_0 = alloca i64, align 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%0 = mul nuw nsw i64 %indvars.iv.reload, 24
%1 = add i64 %0, ptrtoint (i32** @gv_0 to i64)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 8
%4 = icmp eq i32 %3, 0
br i1 %4, label LBL_4, label LBL_2
LBL_2:
%5 = add i64 %0, add (i64 ptrtoint (i32** @gv_0 to i64), i64 4)
%6 = call i64 @FUNC(i64* nonnull %sv_0, i64 %5)
%7 = add i64 %0, ptrtoint (i64* @gv_1 to i64)
store i64 %7, i64* %storemerge2.in.in.reg2mem
br label LBL_3
LBL_3:
%storemerge2.in.in.reload = load i64, i64* %storemerge2.in.in.reg2mem
%storemerge2.in = inttoptr i64 %storemerge2.in.in.reload to i64*
%storemerge2 = load i64, i64* %storemerge2.in, align 8
%8 = icmp eq i64 %storemerge2, 0
%9 = icmp eq i1 %8, false
%10 = add i64 %storemerge2, 8
store i64 %10, i64* %storemerge2.in.in.reg2mem
br i1 %9, label LBL_3, label LBL_4
LBL_4:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_5, label LBL_1
LBL_5:
%11 = ptrtoint i64* %arg1 to i64
%12 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4
%13 = add i32 %12, -1
store i32 %13, i32* @gv_2, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_7, label LBL_6
LBL_6:
%15 = call i64 @FUNC(i64 0)
%16 = load i32, i32* @gv_2, align 4
%17 = sub i32 4, %16
%18 = mul i32 %17, 100
%19 = trunc i64 %15 to i32
%20 = add i32 %19, 50
%21 = add i32 %20, %18
%22 = zext i32 %21 to i64
%23 = call i64 @FUNC(i64 %11, i64 %22)
store i64 %23, i64* %storemerge.reg2mem
br label LBL_8
LBL_7:
%24 = call i64 @FUNC(i64 %11)
%25 = call i64 @FUNC(i64 %11)
store i64 %25, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %11, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge2.in.in.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32* @gv_2, { 1, 0 }
uselistorder i32 0, { 1, 0 }
} | 0 |
CompRealVul | dpp1_cm_set_regamma_pwl_4630 | dpp1_cm_set_regamma_pwl | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = trunc i64 %arg3 to i32
%5 = icmp eq i32 %4, 3
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_6
LBL_1:
%6 = add i64 %3, 4
%7 = inttoptr i64 %6 to i64*
%8 = bitcast i32* %arg2 to i64*
%9 = call i32 @memcmp(i64* %7, i64* %8, i32 8)
%10 = icmp eq i32 %9, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %10, label LBL_6, label LBL_2
LBL_2:
%11 = trunc i64 %1 to i32
%12 = call i64 @FUNC(i64 %3, i64 1)
%13 = and i64 %1, 4294967295
%14 = call i64 @FUNC(i64 %3, i64 %13)
%15 = icmp eq i32 %11, 0
%16 = ptrtoint i32* %arg2 to i64
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%17 = call i64 @FUNC(i64 %3, i64 %16)
br label LBL_5
LBL_4:
%18 = call i64 @FUNC(i64 %3, i64 %16)
br label LBL_5
LBL_5:
%19 = bitcast i64* %rdi to i32*
%20 = add i64 %16, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = and i64 %2, 4294967295
%24 = call i64 @FUNC(i64 %3, i64 %23, i32 %22)
store i64 %23, i64* %7, align 8
%25 = load i32, i32* %19, align 8
%26 = icmp eq i32 %25, 0
%27 = zext i1 %26 to i32
%28 = bitcast i64* %arg1 to i32*
store i32 %27, i32* %28, align 4
store i64 %3, 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 %23, { 1, 0 }
uselistorder i64 %16, { 0, 2, 1 }
uselistorder i64 %3, { 1, 2, 3, 4, 6, 5, 7, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_6, { 2, 1, 0 }
} | 0 |
CompRealVul | mpls_print_7539 | mpls_print | define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.1.reg2mem = alloca i64
%.pre-phi25.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_1.015.reg2mem = alloca i64
%sv_2.016.reg2mem = alloca i32
%sv_3.017.reg2mem = alloca i32*
%1 = load i64, i64* %0
%sext = mul i64 %arg3, 4294967296
%2 = ashr exact i64 %sext, 32
%3 = bitcast i32* %arg1 to i8*
%4 = call i32 (i8*, ...) @printf(i8* %3)
%5 = sext i32 %4 to i64
%6 = trunc i64 %2 to i32
%7 = icmp ult i32 %6, 4
store i64 %5, i64* %rax.1.reg2mem
br i1 %7, label LBL_27, label LBL_1
LBL_1:
%8 = trunc i64 %1 to i32
%9 = icmp eq i32 %8, 0
store i32* %arg2, i32** %sv_3.017.reg2mem
store i32 0, i32* %sv_2.016.reg2mem
store i64 %2, i64* %sv_1.015.reg2mem
br label LBL_3
LBL_2:
%10 = mul i32 %sv_2.016.reload, 65536
%sext5 = add i32 %10, 65536
%11 = ashr exact i32 %sext5, 16
%12 = inttoptr i64 %28 to i32*
%13 = trunc i64 %30 to i32
%14 = icmp ult i32 %13, 4
store i32* %12, i32** %sv_3.017.reg2mem
store i32 %11, i32* %sv_2.016.reg2mem
store i64 %30, i64* %sv_1.015.reg2mem
store i64 0, i64* %rax.1.reg2mem
br i1 %14, label LBL_27, label LBL_3
LBL_3:
%sv_1.015.reload = load i64, i64* %sv_1.015.reg2mem
%sv_2.016.reload = load i32, i32* %sv_2.016.reg2mem
%sv_3.017.reload = load i32*, i32** %sv_3.017.reg2mem
%15 = load i32, i32* %sv_3.017.reload, align 4
%16 = icmp eq i32 %sv_2.016.reload, 0
%or.cond = or i1 %9, %16
%storemerge = select i1 %or.cond, i32 ptrtoint (i64* @gv_0 to i32), i32 ptrtoint (i32* @gv_1 to i32)
%17 = call i32 (i8*, ...) @printf(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i32 %storemerge)
br i1 %9, label LBL_6, label LBL_4
LBL_4:
%18 = icmp ult i32 %15, 61440
%.mask = and i32 %15, -4096
%19 = icmp eq i32 %.mask, 61440
%20 = or i1 %18, %19
br i1 %20, label LBL_5, label LBL_6
LBL_5:
%21 = call i32 (i8*, ...) @printf(i8* %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))
br label LBL_6
LBL_6:
%22 = call i32 (i8*, ...) @printf(i8* %3, i32 ptrtoint (i32* @gv_4 to i32))
%23 = and i32 %15, 256
%24 = icmp eq i32 %23, 0
br i1 %24, label LBL_8, label LBL_7
LBL_7:
%25 = call i32 (i8*, ...) @printf(i8* %3)
br label LBL_8
LBL_8:
%26 = call i32 (i8*, ...) @printf(i8* %3, i32 ptrtoint (i32* @gv_5 to i32))
%27 = ptrtoint i32* %sv_3.017.reload to i64
%28 = add i64 %27, 4
%29 = mul i64 %sv_1.015.reload, 4294967296
%sext6 = add i64 %29, -17179869184
%30 = ashr exact i64 %sext6, 32
br i1 %24, label LBL_2, label LBL_9
LBL_9:
%31 = and i32 %15, -4096
%32 = icmp eq i32 %31, 12288
br i1 %32, label LBL_23, label LBL_10
LBL_10:
%33 = udiv i32 %15, 4096
%34 = icmp ult i32 %15, 16384
br i1 %34, label LBL_11, label LBL_13
LBL_11:
switch i32 %33, label LBL_13 [
i32 0, label LBL_23
i32 2, label LBL_12
]
LBL_12:
%35 = call i32 (i8*, ...) @printf(i8* %3)
%.pre24 = trunc i64 %30 to i32
store i32 %.pre24, i32* %.pre-phi25.reg2mem
br label LBL_26
LBL_13:
%36 = zext i32 %33 to i64
%37 = trunc i64 %30 to i32
%38 = icmp eq i32 %37, 0
store i64 %36, i64* %rax.1.reg2mem
br i1 %38, label LBL_27, label LBL_14
LBL_14:
%39 = inttoptr i64 %28 to i8*
%40 = load i8, i8* %39, align 1
%41 = icmp ugt i8 %40, -125
br i1 %41, label LBL_21, label LBL_15
LBL_15:
%42 = icmp ugt i8 %40, -128
br i1 %42, label LBL_16, label LBL_17
LBL_16:
%43 = call i32 (i8*, ...) @printf(i8* %3)
%44 = ptrtoint i32* %arg1 to i64
%45 = call i64 @FUNC(i64 %44, i64 %28, i32 %37, i32 %37)
store i64 %45, i64* %rax.1.reg2mem
br label LBL_27
LBL_17:
%46 = icmp ugt i8 %40, 79
br i1 %46, label LBL_19, label LBL_18
LBL_18:
%47 = icmp ugt i8 %40, 68
%spec.select = zext i1 %47 to i32
store i32 %spec.select, i32* %sv_0.0.reg2mem
br label LBL_20
LBL_19:
%48 = and i8 %40, -16
%49 = icmp eq i8 %48, 96
%spec.select7 = select i1 %49, i32 2, i32 0
store i32 %spec.select7, i32* %sv_0.0.reg2mem
br label LBL_20
LBL_20:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%50 = icmp eq i32 %sv_0.0.reload, 0
%51 = icmp eq i1 %50, false
br i1 %51, label LBL_24, label LBL_21
LBL_21:
%52 = ptrtoint i32* %arg1 to i64
%53 = add i64 %52, 4
%54 = inttoptr i64 %53 to i32*
%55 = load i32, i32* %54, align 4
%56 = zext i32 %55 to i64
%57 = icmp eq i32 %55, 0
%58 = icmp eq i1 %57, false
store i64 %56, i64* %rax.1.reg2mem
br i1 %58, label LBL_27, label LBL_22
LBL_22:
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0))
%60 = sext i32 %59 to i64
store i64 %60, i64* %rax.1.reg2mem
br label LBL_27
LBL_23:
%61 = call i32 (i8*, ...) @printf(i8* %3)
%.pre = trunc i64 %30 to i32
store i32 %.pre, i32* %.pre-phi.reg2mem
br label LBL_25
LBL_24:
%62 = call i32 (i8*, ...) @printf(i8* %3)
%63 = sext i32 %62 to i64
store i32 %37, i32* %.pre-phi.reg2mem
store i32 %37, i32* %.pre-phi25.reg2mem
store i64 %63, i64* %rax.1.reg2mem
switch i32 %sv_0.0.reload, label LBL_27 [
i32 2, label LBL_26
i32 1, label LBL_25
]
LBL_25:
%.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem
%64 = ptrtoint i32* %arg1 to i64
%65 = call i64 @FUNC(i64 %64, i64 %28, i32 %.pre-phi.reload)
store i64 %65, i64* %rax.1.reg2mem
br label LBL_27
LBL_26:
%.pre-phi25.reload = load i32, i32* %.pre-phi25.reg2mem
%66 = ptrtoint i32* %arg1 to i64
%67 = call i64 @FUNC(i64 %66, i64 %28, i32 %.pre-phi25.reload)
store i64 %67, i64* %rax.1.reg2mem
br label LBL_27
LBL_27:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %30, { 2, 1, 3, 4, 0 }
uselistorder i64 %28, { 1, 0, 2, 3, 4 }
uselistorder i32 %15, { 2, 1, 0, 5, 4, 3 }
uselistorder i1 %9, { 1, 0 }
uselistorder i8* %3, { 5, 2, 1, 0, 6, 4, 7, 3, 8, 9 }
uselistorder i32** %sv_3.017.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_2.016.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.015.reg2mem, { 0, 2, 1 }
uselistorder i32* %.pre-phi25.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.1.reg2mem, { 0, 7, 8, 3, 5, 6, 9, 4, 1, 2 }
uselistorder i32 65536, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 9, 2, 4, 1, 0, 12, 3, 11, 7, 5, 13, 10, 6, 8 }
uselistorder i32* %arg1, { 0, 1, 3, 2, 4 }
uselistorder label LBL_27, { 6, 5, 2, 4, 3, 7, 8, 0, 1 }
uselistorder label LBL_25, { 1, 0 }
uselistorder label LBL_23, { 1, 0 }
uselistorder label LBL_21, { 1, 0 }
uselistorder label LBL_6, { 1, 0, 2 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
CompRealVul | test_opts_dict_unvisited_3040 | test_opts_dict_unvisited | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
store i64 0, i64* %sv_0, align 8
%0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 4198960)
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %sv_1, i64* nonnull %sv_0)
%4 = call i64 @FUNC(i64* nonnull %sv_0)
%5 = call i64 @FUNC(i64 %2)
%6 = call i64 @FUNC(i64 %1)
%7 = load i64, i64* %sv_1, align 8
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i64
%10 = call i64 @FUNC(i64 %9)
ret i64 %10
uselistorder i64* %sv_1, { 1, 0 }
uselistorder i32 1, { 5, 4, 2, 3, 1, 0 }
} | 0 |
CompRealVul | b43_ssb_remove_18544 | b43_ssb_remove | 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 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = add i64 %2, 8
%6 = call i64 @FUNC(i64 %5)
%7 = icmp eq i64 %1, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%10 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %9)
br label LBL_2
LBL_2:
%11 = inttoptr i64 %1 to i64*
%12 = load i64, i64* %11, align 8
%13 = icmp eq i64 %2, %12
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_5, label LBL_3
LBL_3:
%15 = add i64 %1, 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = call i64 @FUNC(i64 %2)
%20 = add i64 %1, 32
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = call i64 @FUNC(i64 %22)
br label LBL_5
LBL_5:
%24 = call i64 @FUNC(i64 %4)
%25 = add i64 %1, 16
%26 = call i64 @FUNC(i64 %25)
%27 = trunc i64 %26 to i32
%28 = icmp eq i32 %27, 0
store i64 %26, i64* %rax.0.reg2mem
br i1 %28, label LBL_7, label LBL_6
LBL_6:
%29 = call i64 @FUNC(i64 %1)
%30 = call i64 @FUNC(i64 %4, i64 %1)
store i64 %30, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %2, { 1, 0, 2, 3 }
uselistorder i64 %1, { 2, 1, 3, 0, 5, 4, 6 }
} | 1 |
CompRealVul | ASN1_STRING_to_UTF8_18082 | ASN1_STRING_to_UTF8 | define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%1 = load i64, i64* %0
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%2 = ptrtoint i64* %sv_1 to i64
store i64 %2, i64* %sv_0, align 8
%3 = icmp eq i32* %arg2, null
%4 = icmp eq i1 %3, false
%5 = trunc i64 %1 to i32
%6 = icmp ult i32 %5, 31
%or.cond = icmp eq i1 %4, %6
store i32 -1, i32* %rax.0.shrunk.reg2mem
br i1 %or.cond, label LBL_1, label LBL_4
LBL_1:
%sext = mul i64 %1, 4294967296
%7 = ashr exact i64 %sext, 30
%8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %10, -1
%12 = icmp eq i1 %11, false
store i32 -1, i32* %rax.0.shrunk.reg2mem
br i1 %12, label LBL_2, label LBL_4
LBL_2:
%13 = or i32 %10, 4096
%14 = ptrtoint i32* %arg2 to i64
%15 = add i64 %14, 16
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = add i64 %14, 8
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64* nonnull %sv_0, i64 %20, i32 %17, i32 %13, i64 0)
%22 = trunc i64 %21 to i32
%23 = icmp slt i32 %22, 0
%24 = icmp eq i1 %23, false
store i32 %22, i32* %rax.0.shrunk.reg2mem
br i1 %24, label LBL_3, label LBL_4
LBL_3:
store i64 0, i64* %arg1, align 8
br label LBL_4
LBL_4:
%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 %1, { 1, 0 }
uselistorder i32 -1, { 0, 2, 1 }
uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }
uselistorder label LBL_4, { 3, 0, 1, 2 }
} | 1 |
CompRealVul | etsec_class_init_17167 | etsec_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 4198669, i64* %2, align 8
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i64*
store i64 4198676, i64* %4, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0, 2 }
} | 1 |
CompRealVul | preallocate_15802 | preallocate | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i32
%rax.0.reg2mem = alloca i64
%sv_0.01.reg2mem = alloca i64
%sv_1.02.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%2 = load i32, i32* %0
%sv_3 = alloca i32, align 4
%sv_4 = alloca i64, align 8
%3 = call i64 @FUNC(i64 %1)
%4 = udiv i64 %3, 512
%5 = call i64 @FUNC(i64* nonnull %sv_4)
store i64 0, i64* %sv_4, align 8
%6 = icmp ult i64 %3, 512
%7 = icmp eq i1 %6, false
store i64 0, i64* %sv_1.02.reg2mem
store i64 %4, i64* %sv_0.01.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_7
LBL_1:
%sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem
%sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem
%8 = icmp ult i64 %sv_0.01.reload, 4194303
%9 = select i1 %8, i64 %sv_0.01.reload, i64 4194303
%10 = trunc i64 %9 to i32
store i32 %10, i32* %sv_3, align 4
%11 = call i64 @FUNC(i64 %1, i64 %sv_1.02.reload, i64 0, i64 %9, i32* nonnull %sv_3, i64* nonnull %sv_4)
%12 = trunc i64 %11 to i32
%13 = icmp slt i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %14, label LBL_2, label LBL_7
LBL_2:
%15 = call i64 @FUNC(i64 %1, i64* nonnull %sv_4)
%16 = trunc i64 %15 to i32
%17 = icmp slt i32 %16, 0
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = load i64, i64* %sv_4, align 8
%20 = call i64 @FUNC(i64 %1, i64 %19, i32 %2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%21 = call i64 @FUNC(i64* nonnull %sv_4)
%22 = load i32, i32* %sv_3, align 4
%23 = sext i32 %22 to i64
%24 = sub i64 %sv_0.01.reload, %23
%25 = mul i32 %22, 512
%26 = sext i32 %25 to i64
%27 = add i64 %sv_1.02.reload, %26
%28 = icmp eq i64 %24, 0
%29 = icmp eq i1 %28, false
store i64 %27, i64* %sv_1.02.reg2mem
store i64 %24, i64* %sv_0.01.reg2mem
br i1 %29, label LBL_1, label LBL_5
LBL_5:
%.pre = load i64, i64* %sv_4, align 8
%phitmp = icmp eq i64 %.pre, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %phitmp, label LBL_7, label LBL_6
LBL_6:
%30 = ptrtoint i64* %sv_2 to i64
%31 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 512)
%32 = load i64, i64* %sv_4, align 8
%33 = udiv i64 %32, 512
%34 = load i32, i32* %sv_3, align 4
%35 = sext i32 %34 to i64
%36 = add nsw i64 %33, -1
%37 = add nsw i64 %36, %35
%38 = call i64 @FUNC(i64 %30, i64 %37, i64* nonnull %sv_2, i64 1)
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 %sv_1.02.reload, { 1, 0 }
uselistorder i64* %sv_4, { 5, 0, 1, 6, 2, 3, 7, 4 }
uselistorder i32* %sv_3, { 1, 2, 0, 3 }
uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 1, 2 }
uselistorder i32 512, { 1, 0 }
uselistorder i1 false, { 3, 1, 2, 0 }
uselistorder i64 512, { 1, 0, 2 }
uselistorder label LBL_7, { 3, 2, 4, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | init_pdf_283 | init_pdf | define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i8* %arg2 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %arg1, i64 %1)
%3 = call i64 @FUNC(i64 %arg1, i64 %1)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, -1
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %1)
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%8 = call i64 @FUNC(i64 %arg1, i64 %1)
store i64 %1, 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 }
} | 1 |
CompRealVul | mptsas_fetch_request_6539 | mptsas_fetch_request | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%sv_1 = alloca i64, align 8
%1 = bitcast i64* %sv_1 to i32*
%2 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull %sv_1, i64 8)
%3 = load i32, i32* %1, align 8
%4 = icmp ult i32 %3, 3
br i1 %4, label LBL_1, label LBL_7
LBL_1:
%5 = sext i32 %3 to i64
%6 = mul i64 %5, 4
%7 = add i64 %6, ptrtoint (i32** @gv_0 to i64)
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
store i32 %3, i32* %.reg2mem
br i1 %10, label LBL_5, label LBL_2
LBL_2:
%11 = icmp slt i32 %9, 1025
br i1 %11, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))
br label LBL_4
LBL_4:
%12 = sext i32 %9 to i64
%13 = add nsw i64 %12, -8
%14 = add i64 %0, 8
%15 = call i64 @FUNC(i64 %0, i64 %14, i64* nonnull %sv_0, i64 %13)
%.pre = load i32, i32* %1, align 8
store i32 %.pre, i32* %.reg2mem
br label LBL_5
LBL_5:
%.reload = load i32, i32* %.reg2mem
%16 = icmp eq i32 %.reload, 1
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_7, label LBL_6
LBL_6:
%18 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 %0)
store i64 %18, i64* %storemerge.reg2mem
br label LBL_8
LBL_7:
%19 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)
store i64 %19, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %sv_1, { 1, 2, 3, 0 }
uselistorder i64 %0, { 4, 3, 2, 0, 1, 6, 5 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64*, i64)* @pci_dma_read, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
CompRealVul | page_unprotect_5091 | page_unprotect | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.lcssa.reg2mem = alloca i32
%.reg2mem = alloca i32
%sv_0.02.reg2mem = alloca i32
%storemerge3.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = udiv i64 %arg1, 4096
%2 = call i64 @FUNC(i64 %1)
%3 = icmp eq i64 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = call i64 @FUNC()
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%6 = inttoptr i64 %2 to i32*
%7 = load i32, i32* %6, align 4
%8 = urem i32 %7, 2
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_8, label LBL_3
LBL_3:
%10 = and i32 %7, 2
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
br i1 %12, label LBL_8, label LBL_4
LBL_4:
%13 = load i64, i64* @gv_0, align 8
%14 = and i64 %13, %arg1
%15 = load i32, i32* @gv_1, align 4
%16 = sext i32 %15 to i64
%17 = add i64 %14, %16
%18 = icmp ult i64 %14, %17
store i64 %14, i64* %storemerge3.reg2mem
store i32 0, i32* %sv_0.02.reg2mem
store i32 %15, i32* %.reg2mem
store i32 0, i32* %sv_0.0.lcssa.reg2mem
br i1 %18, label LBL_5, label LBL_7
LBL_5:
%sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
%19 = udiv i64 %storemerge3.reload, 4096
%20 = call i64 @FUNC(i64 %19)
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = or i32 %22, 2
store i32 %23, i32* %21, align 4
%24 = or i32 %23, %sv_0.02.reload
%25 = call i64 @FUNC(i64 %storemerge3.reload, i64 %arg2, i64 %arg3, i64 1)
%26 = call i64 @FUNC(i64 %storemerge3.reload)
%27 = add i64 %storemerge3.reload, 4096
%28 = icmp ult i64 %27, %17
store i64 %27, i64* %storemerge3.reg2mem
store i32 %24, i32* %sv_0.02.reg2mem
br i1 %28, label LBL_5, label LBL_6
LBL_6:
%phitmp = urem i32 %24, 4
%.pre = load i32, i32* @gv_1, align 4
store i32 %.pre, i32* %.reg2mem
store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem
br label LBL_7
LBL_7:
%sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem
%.reload = load i32, i32* %.reg2mem
%29 = call i64 @FUNC(i64 %14)
%30 = inttoptr i64 %29 to i64*
%31 = call i32 @mprotect(i64* %30, i32 %.reload, i32 %sv_0.0.lcssa.reload)
%32 = call i64 @FUNC()
store i64 1, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%33 = call i64 @FUNC()
store i64 0, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %24, { 1, 0 }
uselistorder i64 %storemerge3.reload, { 2, 1, 0, 3 }
uselistorder i64 %17, { 1, 0 }
uselistorder i64 %14, { 3, 0, 2, 1 }
uselistorder i32 %7, { 1, 0 }
uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 2, { 1, 2, 0 }
uselistorder i64 ()* @mmap_unlock, { 2, 1, 0 }
uselistorder i64 (i64)* @page_find, { 1, 0 }
uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 9, 1, 0 }
uselistorder i64 %arg1, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
CompRealVul | snd_soc_unregister_codec_18801 | snd_soc_unregister_codec | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge14.reg2mem = alloca i32
%storemerge26.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = ptrtoint i64* %arg1 to i64
%storemerge25 = load i64, i64* inttoptr (i64 4210736 to i64*), align 16
%6 = icmp eq i64 %storemerge25, 4210736
%7 = icmp eq i1 %6, false
store i64 %storemerge25, i64* %storemerge26.reg2mem
store i64 %storemerge25, i64* %rax.0.reg2mem
br i1 %7, label LBL_1, label LBL_8
LBL_1:
%storemerge26.reload = load i64, i64* %storemerge26.reg2mem
%8 = inttoptr i64 %storemerge26.reload to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, %5
br i1 %10, label LBL_3, label LBL_2
LBL_2:
%11 = add i64 %storemerge26.reload, 32
%12 = inttoptr i64 %11 to i64*
%storemerge2 = load i64, i64* %12, align 8
%13 = icmp eq i64 %storemerge2, 4210736
%14 = icmp eq i1 %13, false
store i64 %storemerge2, i64* %storemerge26.reg2mem
store i64 %storemerge2, i64* %rax.0.reg2mem
br i1 %14, label LBL_1, label LBL_8
LBL_3:
%15 = add i64 %storemerge26.reload, 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
store i32 0, i32* %storemerge14.reg2mem
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%storemerge14.reload = load i32, i32* %storemerge14.reg2mem
%19 = call i64 @FUNC(i64 %5)
%20 = add i32 %storemerge14.reload, 1
%21 = load i32, i32* %16, align 4
%22 = zext i32 %21 to i64
%23 = sext i32 %20 to i64
%24 = icmp slt i64 %23, %22
store i32 %20, i32* %storemerge14.reg2mem
br i1 %24, label LBL_4, label LBL_5
LBL_5:
%25 = call i64 @FUNC(i64* nonnull @gv_0)
%26 = add i64 %storemerge26.reload, 32
%27 = call i64 @FUNC(i64 %26)
%28 = call i64 @FUNC(i64* nonnull @gv_0)
%29 = add i64 %storemerge26.reload, 16
%30 = inttoptr i64 %29 to i64*
%31 = load i64, i64* %30, align 8
%32 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %31, i64 %3, i64 %4, i64 %2, i64 %1)
%33 = add i64 %storemerge26.reload, 24
%34 = inttoptr i64 %33 to i64*
%35 = load i64, i64* %34, align 8
%36 = icmp eq i64 %35, 0
br i1 %36, label LBL_7, label LBL_6
LBL_6:
%37 = call i64 @FUNC(i64 %35)
br label LBL_7
LBL_7:
%38 = call i64 @FUNC(i64 %storemerge26.reload)
store i64 %38, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge26.reload, { 2, 3, 5, 4, 6, 1, 0 }
uselistorder i64 %5, { 1, 0 }
uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 3, 2, 1, 0 }
uselistorder i64 (i64)* @kfree, { 1, 0 }
uselistorder i1 false, { 1, 0 }
uselistorder i64 4210736, { 1, 0, 2 }
uselistorder label LBL_8, { 2, 0, 1 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
CompRealVul | qemu_set_log_filename_2722 | qemu_set_log_filename | define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* @gv_0, align 8
%5 = call i64 @FUNC(i64 %4)
%6 = call i8* @strchr(i8* %arg1, i32 37)
%7 = icmp eq i8* %6, null
br i1 %7, label LBL_5, label LBL_1
LBL_1:
%8 = ptrtoint i8* %6 to i64
%9 = add i64 %8, 1
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = icmp eq i8 %11, 100
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_3, label LBL_2
LBL_2:
%14 = add i64 %8, 2
%15 = inttoptr i64 %14 to i8*
%16 = call i8* @strchr(i8* %15, i32 37)
%17 = icmp eq i8* %16, null
br i1 %17, label LBL_4, label LBL_3
LBL_3:
%18 = ptrtoint i64* %arg2 to i64
%19 = ptrtoint i8* %arg1 to i64
%20 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %19)
store i64 %20, i64* %storemerge.reg2mem
br label LBL_7
LBL_4:
%21 = call i32 @getpid()
%22 = zext i32 %21 to i64
%23 = ptrtoint i8* %arg1 to i64
%24 = call i64 @FUNC(i64 %23, i64 %22, i64 %22, i64 %3, i64 %2, i64 %1)
store i64 %24, i64* %storemerge2.reg2mem
br label LBL_6
LBL_5:
%25 = ptrtoint i8* %arg1 to i64
%26 = call i64 @FUNC(i64 %25)
store i64 %26, i64* %storemerge2.reg2mem
br label LBL_6
LBL_6:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
store i64 %storemerge2.reload, i64* @gv_0, align 8
%27 = call i64 @FUNC()
%28 = load i32, i32* @gv_2, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %29)
store i64 %30, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %22, { 1, 0 }
uselistorder i8* %6, { 1, 0 }
uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }
uselistorder i8* %arg1, { 2, 0, 1, 3 }
} | 0 |
CompRealVul | iax2_add_ts_fields_12234 | iax2_add_ts_fields | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i16 %arg4) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i16
%.pn.in.in.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i16
%0 = ptrtoint i64* %arg3 to i64
%sv_1 = alloca i64, align 8
%1 = icmp eq i64* %arg3, null
store i64 %0, i64* %rax.0.reg2mem
br i1 %1, label LBL_8, label LBL_1
LBL_1:
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, -1
%6 = icmp eq i1 %5, false
store i16 %arg4, i16* %sv_0.1.reg2mem
br i1 %6, label LBL_6, label LBL_2
LBL_2:
%7 = ptrtoint i64* %arg1 to i64
%8 = sext i16 %arg4 to i64
%9 = and i64 %8, 4294967295
%10 = add i64 %7, -16
store i16 %arg4, i16* %sv_0.0.reg2mem
store i64 %9, i64* %.pn.in.in.reg2mem
br label LBL_3
LBL_3:
%.pn.in.in.reload = load i64, i64* %.pn.in.in.reg2mem
%sv_0.0.reload = load i16, i16* %sv_0.0.reg2mem
%.pn.in = mul nuw nsw i64 %.pn.in.in.reload, 274877907
%.pn = udiv i64 %.pn.in, 274877906944
%storemerge = add i64 %.pn, %0
%sext = mul i64 %storemerge, 4294967296
%11 = ashr exact i64 %sext, 32
%12 = icmp sgt i64 %10, %11
%13 = sext i16 %sv_0.0.reload to i32
%14 = add nsw i32 %13, 32768
%15 = trunc i32 %14 to i16
%16 = zext i32 %14 to i64
store i16 %15, i16* %sv_0.0.reg2mem
store i64 %16, i64* %.pn.in.in.reg2mem
br i1 %12, label LBL_3, label LBL_4
LBL_4:
store i64 %11, i64* %3, align 8
%17 = add nsw i64 %11, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = sext i16 %sv_0.0.reload to i64
%21 = and i64 %20, 4294967295
%narrow2 = mul nuw nsw i64 %21, 274877907
%22 = udiv i64 %narrow2, 274877906944
%23 = mul nsw i64 %22, -1000
%24 = add nsw i64 %23, %20
%25 = mul nsw i64 %24, 1000000
%26 = and i64 %25, 4294967232
%27 = add i64 %19, %26
%28 = add i64 %0, 16
%29 = inttoptr i64 %28 to i64*
store i64 %27, i64* %29, align 8
%30 = icmp slt i64 %27, 1000000000
store i16 %sv_0.0.reload, i16* %sv_0.1.reg2mem
br i1 %30, label LBL_6, label LBL_5
LBL_5:
%31 = add i64 %27, -1000000000
store i64 %31, i64* %29, align 8
%32 = load i64, i64* %3, align 8
%33 = add i64 %32, 1
store i64 %33, i64* %3, align 8
store i16 %sv_0.0.reload, i16* %sv_0.1.reg2mem
br label LBL_6
LBL_6:
%sv_0.1.reload = load i16, i16* %sv_0.1.reg2mem
%34 = load i64, i64* @gv_0, align 8
%35 = sext i16 %sv_0.1.reload to i32
%36 = inttoptr i64 %34 to i32*
store i32 %35, i32* %36, align 4
%37 = icmp eq i64* %arg2, null
store i64 %34, i64* %rax.0.reg2mem
br i1 %37, label LBL_8, label LBL_7
LBL_7:
%38 = ptrtoint i64* %arg2 to i64
%39 = load i32, i32* @gv_1, align 4
%40 = call i64 @FUNC(i64 %38, i32 %39, i64 0, i64 0, i64 0, i64 %2)
%41 = call i64 @FUNC(i64 %40)
store i64 %40, i64* %sv_1, align 8
%42 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_1, i64 %2)
%43 = load i32, i32* @gv_2, align 4
%44 = ptrtoint i64* %sv_1 to i64
%45 = call i64 @FUNC(i64 %38, i32 %43, i64 0, i64 0, i64 0, i64 %44)
%46 = call i64 @FUNC(i64 %45)
store i64 %46, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %27, { 1, 0, 2 }
uselistorder i16 %sv_0.0.reload, { 0, 1, 3, 2 }
uselistorder i64* %3, { 1, 0, 2, 3 }
uselistorder i64* %sv_1, { 2, 0, 1, 3 }
uselistorder i64 %0, { 2, 1, 3, 0 }
uselistorder i16* %sv_0.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %.pn.in.in.reg2mem, { 1, 0, 2 }
uselistorder i16* %sv_0.1.reg2mem, { 0, 2, 3, 1 }
uselistorder i64 (i64)* @PROTO_ITEM_SET_GENERATED, { 1, 0 }
uselistorder i64 (i64, i32, i64, i64, i64, i64)* @proto_tree_add_time, { 1, 0 }
uselistorder i64 274877907, { 1, 0 }
uselistorder i16 %arg4, { 1, 2, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 0 }
uselistorder label LBL_6, { 1, 2, 0 }
} | 1 |
CompRealVul | pvpanic_fw_cfg_963 | pvpanic_fw_cfg | 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 %1)
%3 = call i64 @FUNC(i64 2)
%4 = inttoptr i64 %2 to i16*
%5 = load i16, i16* %4, align 2
%6 = zext i16 %5 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i16
%9 = inttoptr i64 %3 to i16*
store i16 %8, i16* %9, align 2
%10 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 2)
ret i64 %10
} | 0 |
CompRealVul | do_rt_sigreturn_14264 | do_rt_sigreturn | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%2 = load i64, i64* %0
%3 = add i64 %1, 32
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %5, -4
%7 = call i64 @FUNC(i64 %1, i64 %6)
%8 = call i64 @FUNC(i64 0, i64 %2, i64 %6, i64 1)
%9 = trunc i64 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label LBL_4, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2)
%12 = call i64 @FUNC(i64* nonnull %sv_0)
%13 = add i64 %2, 128
%14 = call i64 @FUNC(i64 %1, i64 %13)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
br i1 %17, label LBL_4, label LBL_2
LBL_2:
%18 = call i64 @FUNC(i64 %1)
%19 = add i64 %5, 124
%20 = call i64 @FUNC(i64 %19, i64 0, i64 %18)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 1
br i1 %22, label LBL_4, label LBL_3
LBL_3:
%23 = call i64 @FUNC(i64 %2, i64 %6, i64 0)
store i64 1, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%24 = call i64 @FUNC(i64 %2, i64 %6, i64 0)
%25 = call i64 @FUNC(i64 11)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %6, { 1, 0, 3, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }
uselistorder i64 1, { 0, 2, 1 }
} | 1 |
CompRealVul | qmp_migrate_set_speed_2067 | qmp_migrate_set_speed | define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = icmp slt i64 %arg1, 0
%1 = icmp eq i1 %0, false
%spec.select = select i1 %1, i64 %arg1, i64 0
%2 = call i64 @FUNC()
%3 = inttoptr i64 %2 to i64*
store i64 %spec.select, i64* %3, align 8
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 %6, i64 %spec.select)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 0 |
CompRealVul | recover_from_urb_loss_10378 | recover_from_urb_loss | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%sv_0.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = zext i32 %7 to i64
%9 = call i64 @FUNC(i64 %8, i64 0)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 %9, i64* %sv_0.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%13 = add i64 %4, 8
%14 = inttoptr i64 %13 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), i32 %10)
store i64 %9, i64* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%17 = and i64 %sv_0.0.reload, 4294967295
ret i64 %17
} | 0 |
CompRealVul | webm_dash_manifest_read_header_2136 | webm_dash_manifest_read_header | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%.pre-phi2.reg2mem = alloca i64*
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = load i64, i64* %0
%5 = load i64, i64* %0
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_10
LBL_2:
%11 = add i64 %6, 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = call i64 @FUNC(i64 %6)
%17 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_10
LBL_4:
%18 = add i64 %6, 32
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = add i64 %20, 8
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
br i1 %25, label LBL_4.LBL_8_crit_edge, label LBL_6
LBL_5:
%.pre = add i64 %6, 16
%.pre1 = inttoptr i64 %.pre to i64*
store i64* %.pre1, i64** %.pre-phi2.reg2mem
store i64 %6, i64* %rdi.0.reg2mem
br label LBL_8
LBL_6:
%26 = inttoptr i64 %20 to i64*
%27 = load i64, i64* %26, align 8
%28 = call i128 @FUNC(i64 %27)
%29 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)
%30 = icmp eq i64 %29, 0
%31 = icmp eq i1 %30, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %31, label LBL_7, label LBL_10
LBL_7:
%32 = add i64 %6, 16
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = inttoptr i64 %34 to i64*
%36 = load i64, i64* %35, align 8
%37 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 0)
%38 = call i64 @FUNC(i64 %29)
%39 = add i64 %6, 24
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = call i64 @FUNC(i64 %41)
%43 = mul i64 %42, 4294967296
%sext = add i64 %43, -21474836480
%44 = ashr exact i64 %sext, 32
%45 = load i64, i64* %33, align 8
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %44, i64 0)
store i64* %33, i64** %.pre-phi2.reg2mem
store i64 %47, i64* %rdi.0.reg2mem
br label LBL_8
LBL_8:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem
%49 = inttoptr i64 %rdi.0.reload to i8*
%50 = call i8* @strrchr(i8* %49, i32 47)
%51 = ptrtoint i8* %50 to i64
%52 = icmp eq i8* %50, null
%53 = add i64 %51, 1
%storemerge = select i1 %52, i64 %rdi.0.reload, i64 %53
%54 = load i64, i64* %.pre-phi2.reload, align 8
%55 = inttoptr i64 %54 to i64*
%56 = load i64, i64* %55, align 8
%57 = call i64 @FUNC(i64 %56, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge, i64 0)
%58 = add i64 %20, 16
%59 = inttoptr i64 %58 to i64*
%60 = load i64, i64* %59, align 8
%61 = inttoptr i64 %60 to i32*
%62 = load i32, i32* %61, align 4
%63 = sext i32 %62 to i64
%64 = load i64, i64* %.pre-phi2.reload, align 8
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = call i64 @FUNC(i64 %66, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i64 %63, i64 0)
%68 = load i32, i32* %22, align 4
%69 = icmp eq i32 %68, 0
%70 = icmp eq i1 %69, false
store i64 0, i64* %rax.0.reg2mem
br i1 %70, label LBL_10, label LBL_9
LBL_9:
%71 = call i64 @FUNC(i64 %6)
store i64 %71, i64* %rax.0.reg2mem
br label LBL_10
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %rdi.0.reload, { 1, 0 }
uselistorder i64 %29, { 1, 0, 2 }
uselistorder i64 %6, { 4, 2, 3, 0, 1, 9, 7, 8, 5, 6, 10 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }
uselistorder i64* %0, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64, i8*, i64, i64)* @av_dict_set_int, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i64)* @av_dict_set, { 1, 0 }
uselistorder i64 16, { 1, 2, 0 }
uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }
uselistorder label LBL_10, { 2, 0, 1, 3, 4 }
uselistorder label LBL_8, { 1, 0 }
} | 0 |
CompRealVul | readBytes_12981 | readBytes | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = call i64* @malloc(i32 %0)
%2 = ptrtoint i64* %1 to i64
%3 = icmp sgt i32 %0, 0
br i1 %3, label LBL_1, label LBL_3
LBL_1:
%wide.trip.count = and i64 %arg2, 4294967295
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%4 = call i64 @FUNC(i64 %arg1)
%5 = add i64 %indvars.iv.reload, %2
%6 = trunc i64 %4 to i8
%7 = inttoptr i64 %5 to i8*
store i8 %6, i8* %7, align 1
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
ret i64 %2
uselistorder i64 %2, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | cdev_get_19144 | cdev_get | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp eq i64* %arg1, null
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %0)
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_2, label LBL_4
LBL_2:
%6 = add i64 %0, 8
%7 = call i64 @FUNC(i64 %6)
%8 = icmp eq i64 %7, 0
%9 = icmp eq i1 %8, false
store i64 %7, i64* %storemerge.reg2mem
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %0)
store i64 %7, i64* %storemerge.reg2mem
br label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder label LBL_4, { 1, 0, 2 }
} | 1 |
CompRealVul | bink_idct_col_1602 | bink_idct_col | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %2, 32
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %2, 64
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = or i32 %9, %6
%11 = add i64 %2, 96
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = or i32 %10, %13
%15 = add i64 %2, 128
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = or i32 %14, %17
%19 = add i64 %2, 160
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = or i32 %18, %21
%23 = add i64 %2, 192
%24 = inttoptr i64 %23 to i32*
%25 = load i32, i32* %24, align 4
%26 = or i32 %22, %25
%27 = add i64 %2, 224
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = or i32 %26, %29
%31 = icmp eq i32 %30, 0
%32 = icmp eq i1 %31, false
br i1 %32, label LBL_2, label LBL_1
LBL_1:
%33 = trunc i64 %1 to i32
%34 = add i64 %3, 224
%35 = inttoptr i64 %34 to i32*
store i32 %33, i32* %35, align 4
%36 = add i64 %3, 192
%37 = inttoptr i64 %36 to i32*
store i32 %33, i32* %37, align 4
%38 = add i64 %3, 160
%39 = inttoptr i64 %38 to i32*
store i32 %33, i32* %39, align 4
%40 = add i64 %3, 128
%41 = inttoptr i64 %40 to i32*
store i32 %33, i32* %41, align 4
%42 = add i64 %3, 96
%43 = inttoptr i64 %42 to i32*
store i32 %33, i32* %43, align 4
%44 = add i64 %3, 64
%45 = inttoptr i64 %44 to i32*
store i32 %33, i32* %45, align 4
%46 = add i64 %3, 32
%47 = inttoptr i64 %46 to i32*
store i32 %33, i32* %47, align 4
%48 = bitcast i64* %arg1 to i32*
store i32 %33, i32* %48, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_3
LBL_2:
%49 = call i64 @FUNC(i64 %3, i64 %2)
store i64 %49, 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 %33, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %3, { 8, 0, 1, 2, 3, 4, 5, 6, 7 }
uselistorder i64 %2, { 0, 1, 3, 2, 5, 4, 6, 7 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
} | 0 |
CompRealVul | config_5388 | config | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%storemerge.reg2mem = alloca i64
%.reg2mem20 = alloca i32
%.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i32
%.pre-phi19.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i128, i128* %0
%2 = trunc i64 %arg7 to i32
%3 = ptrtoint i64* %arg1 to i64
store i64 %3, i64* %rdi, align 8
%sv_2 = alloca i64, align 8
%4 = icmp eq i32 %2, 1
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_8
LBL_1:
%sext7 = mul i64 %arg2, 4294967296
%6 = ashr exact i64 %sext7, 32
%sext8 = mul i64 %arg3, 4294967296
%7 = ashr exact i64 %sext8, 32
%sext9 = mul i64 %arg4, 4294967296
%8 = ashr exact i64 %sext9, 32
%sext10 = mul i64 %arg5, 4294967296
%9 = ashr exact i64 %sext10, 32
%10 = trunc i64 %7 to i32
%11 = bitcast i64* %arg1 to i32*
store i32 %10, i32* %11, align 4
%12 = trunc i64 %6 to i32
%13 = add i64 %3, 4
%14 = inttoptr i64 %13 to i32*
store i32 %12, i32* %14, align 4
%15 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%16 = icmp eq i32 %15, 0
%17 = icmp eq i1 %16, false
store i64 %8, i64* %sv_1.0.reg2mem
store i64 %9, i64* %sv_0.0.reg2mem
br i1 %17, label LBL_4, label LBL_2
LBL_2:
%18 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
store i64 %8, i64* %sv_1.0.reg2mem
store i64 %9, i64* %sv_0.0.reg2mem
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = load i64, i64* %rdi, align 8
%22 = add i64 %21, 4
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = trunc i64 %8 to i32
%26 = mul i32 %24, %25
%27 = ashr i32 %26, 31
%28 = zext i32 %26 to i64
%29 = zext i32 %27 to i64
%30 = mul i64 %29, 4294967296
%31 = or i64 %30, %28
%32 = and i64 %6, 4294967295
%33 = sdiv i64 %31, %32
%sext13 = mul i64 %33, 4294967296
%34 = ashr exact i64 %sext13, 32
%35 = trunc i64 %21 to i32
%36 = trunc i64 %9 to i32
%37 = mul i32 %35, %36
%38 = ashr i32 %37, 31
%39 = zext i32 %37 to i64
%40 = zext i32 %38 to i64
%41 = mul i64 %40, 4294967296
%42 = or i64 %41, %39
%43 = and i64 %7, 4294967295
%44 = sdiv i64 %42, %43
%sext15 = mul i64 %44, 4294967296
%45 = ashr exact i64 %sext15, 32
store i64 %34, i64* %sv_1.0.reg2mem
store i64 %45, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%46 = load i64, i64* %rdi, align 8
%47 = add i64 %46, 4
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = bitcast i64* %rdi to i32*
%51 = trunc i64 %46 to i32
%52 = mul i32 %49, %51
%53 = sext i32 %52 to i64
%54 = call i64* @malloc(i32 %52)
%55 = ptrtoint i64* %54 to i64
%56 = add i64 %46, 24
%57 = inttoptr i64 %56 to i64*
store i64 %55, i64* %57, align 8
%58 = add nsw i64 %53, 4
%59 = inttoptr i64 %58 to i32*
%60 = load i32, i32* %59, align 4
%61 = load i32, i32* %50, align 8
%62 = mul i32 %61, %60
%63 = sext i32 %62 to i64
%64 = call i64* @malloc(i32 %62)
%65 = ptrtoint i64* %64 to i64
%66 = add nsw i64 %53, 32
%67 = inttoptr i64 %66 to i64*
store i64 %65, i64* %67, align 8
%68 = load i32, i32* %50, align 8
%69 = sext i32 %68 to i64
store i64 %69, i64* %rdi, align 8
%70 = call i64* @malloc(i32 %68)
%71 = ptrtoint i64* %70 to i64
%72 = add nsw i64 %63, 40
%73 = inttoptr i64 %72 to i64*
store i64 %71, i64* %73, align 8
%74 = add nsw i64 %69, 8
%75 = inttoptr i64 %74 to i64*
%76 = load i64, i64* %75, align 8
%77 = icmp eq i64 %76, 0
br i1 %77, label LBL_4.LBL_7_crit_edge, label LBL_6
LBL_5:
%.pre = load i32, i32* %50, align 8
%.pre16 = load i64, i64* %rdi, align 8
%.pre17 = trunc i64 %sv_0.0.reload to i32
%.pre18 = trunc i64 %sv_1.0.reload to i32
store i32 %.pre18, i32* %.pre-phi19.reg2mem
store i32 %.pre17, i32* %.pre-phi.reg2mem
store i64 %.pre16, i64* %.reg2mem
store i32 %.pre, i32* %.reg2mem20
br label LBL_7
LBL_6:
%78 = ptrtoint i64* %sv_2 to i64
%79 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 40)
%80 = or i64 %78, 4
%81 = inttoptr i64 %80 to i32*
%82 = load i32, i32* %81, align 4
%83 = sext i32 %82 to i64
store i64 %83, i64* %sv_2, align 8
%84 = call i128 @FUNC(i64 4607182418800017408)
%85 = call i64 @__asm_movsd.1(i128 %84)
%86 = call i128 @FUNC(i64 4607182418800017408)
%87 = call i64 @__asm_movsd.1(i128 %86)
%88 = call i128 @FUNC(i128 %86, i128 %86)
%89 = trunc i64 %sv_1.0.reload to i32
%90 = call i128 @FUNC(i32 %89)
%91 = call i128 @FUNC(i128 %1, i128 %1)
%92 = trunc i64 %sv_0.0.reload to i32
%93 = call i128 @FUNC(i32 %92)
%94 = call i128 @FUNC(i128 %90, i128 %93)
%95 = call i64 @__asm_movsd.1(i128 %94)
%96 = add i64 %78, 8
%97 = inttoptr i64 %96 to i64*
%98 = load i64, i64* %97, align 8
store i64 %98, i64* %rdi, align 8
%99 = call i64 @FUNC(i64 %98, i64* nonnull %sv_2)
%100 = trunc i64 %98 to i32
store i32 %89, i32* %.pre-phi19.reg2mem
store i32 %92, i32* %.pre-phi.reg2mem
store i64 %98, i64* %.reg2mem
store i32 %100, i32* %.reg2mem20
br label LBL_7
LBL_7:
%.reload21 = load i32, i32* %.reg2mem20
%.reload = load i64, i64* %.reg2mem
%.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem
%.pre-phi19.reload = load i32, i32* %.pre-phi19.reg2mem
%101 = add i64 %.reload, 4
%102 = inttoptr i64 %101 to i32*
%103 = load i32, i32* %102, align 4
%104 = trunc i64 %arg6 to i32
%105 = call i64 @FUNC(i64 %3, i32 %103, i32 %.reload21, i32 %.pre-phi19.reload, i32 %.pre-phi.reload, i32 %104)
store i64 %105, i64* %storemerge.reg2mem
br label LBL_8
LBL_8:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i128 %86, { 2, 1, 0 }
uselistorder i64 %78, { 1, 0 }
uselistorder i64 %46, { 1, 0, 2 }
uselistorder i64 %9, { 2, 0, 1 }
uselistorder i64 %8, { 2, 0, 1 }
uselistorder i64* %sv_2, { 0, 2, 1, 3 }
uselistorder i64 %3, { 1, 0, 2 }
uselistorder i64* %rdi, { 2, 0, 1, 4, 5, 3, 6 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* (i32)* @malloc, { 2, 1, 0 }
uselistorder i64 4, { 1, 0, 2, 3, 4, 5 }
uselistorder i64 32, { 6, 0, 1, 2, 3, 4, 5 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 0 |
CompRealVul | set_string_number_7380 | set_string_number | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%r9.1.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i32
%.in.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%.in24.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%sv_3.2.reg2mem = alloca i64
%sv_2.0.lcssa.reg2mem = alloca i32
%.pre-phi.reg2mem = alloca i64
%sv_2.019.reg2mem = alloca i32
%r9.0.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%rdx = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg3 to i64
%sv_4 = alloca i64, align 8
%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 i64, align 8
%sv_10 = alloca i64, align 8
%sv_11 = alloca i64, align 8
%sv_12 = alloca i64, align 8
%sv_13 = alloca i64, align 8
%4 = inttoptr i64 %arg4 to i8*
%5 = inttoptr i64 %1 to i64*
%6 = inttoptr i64 %arg5 to i8*
%7 = call i32 (i8*, i8*, ...) @sscanf(i8* %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_9, i64* nonnull %sv_10, i64* nonnull %sv_11, i64* %5, i8* %6)
%8 = icmp eq i32 %7, 2
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = load i64, i64* %sv_9, align 8
%11 = and i64 %10, 4294967295
%12 = load i64, i64* %sv_10, align 8
%13 = and i64 %12, 4294967295
%14 = call i128 @FUNC(i64 4607182418800017408)
%15 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %arg5, i64 %13, i64 %11)
%16 = trunc i64 %15 to i32
%17 = icmp slt i32 %16, 0
br i1 %17, label LBL_2, label LBL_3
LBL_2:
%18 = ptrtoint i64* %sv_13 to i64
%19 = ptrtoint i64* %sv_12 to i64
%20 = trunc i64 %2 to i32
%21 = bitcast i64* %rdx to i32*
%22 = add i64 %18, -1344
%23 = add i64 %3, 8
%24 = inttoptr i64 %23 to i64*
%25 = add i64 %18, -576
%26 = add i64 %18, -1088
%27 = add i64 %3, 32
%28 = inttoptr i64 %27 to i64*
%29 = add i64 %3, 16
%30 = inttoptr i64 %29 to i64*
%31 = add i64 %3, 24
%32 = inttoptr i64 %31 to i64*
%33 = ptrtoint i64* %sv_7 to i64
%34 = add i64 %19, -16
%35 = inttoptr i64 %34 to i64*
%36 = add i64 %19, -24
%37 = inttoptr i64 %36 to i64*
%38 = add i64 %19, -32
%39 = inttoptr i64 %38 to i64*
%40 = add i64 %19, -40
%41 = inttoptr i64 %40 to i64*
%42 = add i64 %19, -48
%43 = inttoptr i64 %42 to i64*
store i32 %20, i32* %.reg2mem
store i64 %arg4, i64* %sv_3.0.reg2mem
br label LBL_4
LBL_3:
%44 = and i64 %15, 4294967295
store i64 %44, i64* %rax.0.reg2mem
br label LBL_36
LBL_4:
%r9.0.reload = load i64, i64* %r9.0.reg2mem
%sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem
%.reload = load i32, i32* %.reg2mem
store i64 1, i64* %sv_8, align 8
%45 = icmp eq i32 %.reload, 1
%46 = icmp eq i1 %45, false
store i64 %sv_3.0.reload, i64* %sv_3.2.reg2mem
store i32 0, i32* %sv_2.1.reg2mem
store i32 0, i32* %sv_1.1.reg2mem
br i1 %46, label LBL_10, label LBL_5
LBL_5:
%47 = inttoptr i64 %sv_3.0.reload to i8*
%48 = load i8, i8* %47, align 1
%49 = icmp ne i8 %48, 43
%50 = icmp eq i8 %48, 45
%51 = icmp eq i1 %50, false
%or.cond = icmp eq i1 %49, %51
%52 = sext i8 %48 to i32
%not.or.cond.demorgan = icmp eq i1 %49, %51
%not.or.cond = icmp ne i1 %not.or.cond.demorgan, true
%53 = zext i1 %not.or.cond to i64
%sv_3.1.ph = add i64 %sv_3.0.reload, %53
%sv_1.0.ph = select i1 %or.cond, i32 0, i32 %52
store i32 0, i32* %sv_2.019.reg2mem
br label LBL_7
LBL_6:
%54 = add i64 %22, %58
%55 = inttoptr i64 %54 to i8*
store i8 %61, i8* %55, align 1
%56 = add nuw i32 %sv_2.019.reload, 1
%57 = icmp ult i32 %56, 255
store i32 %56, i32* %sv_2.019.reg2mem
store i64 255, i64* %.pre-phi.reg2mem
store i32 255, i32* %sv_2.0.lcssa.reg2mem
br i1 %57, label LBL_7, label LBL_9
LBL_7:
%sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem
%58 = sext i32 %sv_2.019.reload to i64
%59 = add i64 %sv_3.1.ph, %58
%60 = inttoptr i64 %59 to i8*
%61 = load i8, i8* %60, align 1
store i64 %58, i64* %.pre-phi.reg2mem
store i64 %58, i64* %.pre-phi.reg2mem
store i32 %sv_2.019.reload, i32* %sv_2.0.lcssa.reg2mem
store i32 %sv_2.019.reload, i32* %sv_2.0.lcssa.reg2mem
switch i8 %61, label LBL_8 [
i8 0, label LBL_9
i8 43, label LBL_9
]
LBL_8:
%62 = icmp eq i8 %61, 45
%63 = icmp eq i1 %62, false
store i64 %58, i64* %.pre-phi.reg2mem
store i32 %sv_2.019.reload, i32* %sv_2.0.lcssa.reg2mem
br i1 %63, label LBL_6, label LBL_9
LBL_9:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%64 = add i64 %.pre-phi.reload, %22
%65 = inttoptr i64 %64 to i8*
store i8 0, i8* %65, align 1
store i64 %sv_3.1.ph, i64* %sv_3.2.reg2mem
store i32 %sv_2.0.lcssa.reload, i32* %sv_2.1.reg2mem
store i32 %sv_1.0.ph, i32* %sv_1.1.reg2mem
br label LBL_10
LBL_10:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem
%66 = load i64, i64* %24, align 8
%67 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_7, i64 %66, i64 0, i64 0)
%68 = icmp eq i64 %67, 0
br i1 %68, label LBL_13, label LBL_11
LBL_11:
%69 = inttoptr i64 %67 to i32*
%70 = load i32, i32* %69, align 4
%71 = icmp eq i32 %70, 2
%72 = icmp eq i1 %71, false
br i1 %72, label LBL_13, label LBL_12
LBL_12:
%73 = add i64 %67, 32
%74 = inttoptr i64 %73 to i64*
%75 = load i64, i64* %74, align 8
%76 = call i128 @__asm_movsd.1(i64 %75)
%77 = call i64 @FUNC(i128 %76)
store i64 %77, i64* %sv_6, align 8
store i64 %r9.0.reload, i64* %r9.1.reg2mem
br label LBL_27
LBL_13:
%78 = load i64, i64* %24, align 8
%79 = icmp eq i64 %78, 0
store i32 0, i32* %sv_0.1.reg2mem
br i1 %79, label LBL_25, label LBL_14
LBL_14:
%80 = call i64 @FUNC(i64 %arg2, i64 0)
%81 = icmp eq i64 %80, 0
%82 = icmp eq i1 %81, false
store i64 0, i64* %indvars.iv.reg2mem
store i64 %80, i64* %.in.reg2mem
store i32 0, i32* %sv_0.1.reg2mem
br i1 %82, label LBL_15.lr.ph, label LBL_25
LBL_15:
%.in24.reload = load i64, i64* %.in24.reg2mem
%83 = inttoptr i64 %.in24.reload to i32*
%84 = load i32, i32* %83, align 4
%85 = icmp eq i32 %84, 2
%86 = icmp eq i1 %85, false
br i1 %86, label LBL_16, label LBL_17
LBL_16:
%87 = call i64 @FUNC(i64 %arg2, i64 %.in24.reload)
%88 = icmp eq i64 %87, 0
%89 = icmp eq i1 %88, false
store i64 %87, i64* %.in24.reg2mem
br i1 %89, label LBL_15, label LBL_24
LBL_17:
%90 = add i64 %.in24.reload, 8
%91 = inttoptr i64 %90 to i64*
%92 = load i64, i64* %91, align 8
%93 = icmp eq i64 %92, 0
br i1 %93, label LBL_16, label LBL_18
LBL_18:
%94 = load i64, i64* %24, align 8
%95 = inttoptr i64 %92 to i8*
%96 = inttoptr i64 %94 to i8*
%97 = call i32 @strcmp(i8* %95, i8* %96)
%98 = icmp eq i32 %97, 0
%99 = icmp eq i1 %98, false
br i1 %99, label LBL_16, label LBL_19
LBL_19:
%100 = icmp ult i64 %indvars.iv.reload, 58
br i1 %100, label LBL_21, label LBL_20
LBL_20:
%101 = load i64, i64* %24, align 8
%102 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %101, i64 0, i64 %r9.0.reload)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_36
LBL_21:
%103 = add i64 %.in24.reload, 40
%104 = inttoptr i64 %103 to i64*
%105 = load i64, i64* %104, align 8
%106 = mul i64 %indvars.iv.reload, 8
%107 = add i64 %106, %25
%108 = inttoptr i64 %107 to i64*
store i64 %105, i64* %108, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%109 = add i64 %.in24.reload, 32
%110 = inttoptr i64 %109 to i64*
%111 = load i64, i64* %110, align 8
%112 = call i128 @__asm_movsd.1(i64 %111)
%113 = call i64 @FUNC(i128 %112)
%114 = add i64 %106, %26
%115 = inttoptr i64 %114 to i64*
store i64 %113, i64* %115, align 8
%116 = call i64 @FUNC(i64 %arg2, i64 %.in24.reload)
%117 = icmp eq i64 %116, 0
%118 = icmp eq i1 %117, false
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %116, i64* %.in.reg2mem
br i1 %118, label LBL_15.lr.ph, label LBL_23
LBL_22:
%.in.reload = load i64, i64* %.in.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
store i64 %.in.reload, i64* %.in24.reg2mem
br label LBL_15
LBL_23:
%119 = trunc i64 %indvars.iv.next to i32
store i32 %119, i32* %sv_0.1.reg2mem
br label LBL_25
LBL_24:
%120 = trunc i64 %indvars.iv.reload to i32
store i32 %120, i32* %sv_0.1.reg2mem
br label LBL_25
LBL_25:
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%121 = sext i32 %sv_0.1.reload to i64
%122 = mul i64 %121, 8
%123 = add i64 %122, %25
%124 = inttoptr i64 %123 to i64*
store i64 ptrtoint ([8 x i8]* @gv_2 to i64), i64* %124, align 8
%125 = add i32 %sv_0.1.reload, 1
%126 = load i64, i64* %28, align 8
%127 = call i128 @__asm_movsd.1(i64 %126)
%128 = call i64 @FUNC(i128 %127)
%129 = add i64 %122, %26
%130 = inttoptr i64 %129 to i64*
store i64 %128, i64* %130, align 8
%131 = sext i32 %125 to i64
%132 = mul i64 %131, 8
%133 = add i64 %132, %25
%134 = inttoptr i64 %133 to i64*
store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %134, align 8
%135 = add i32 %sv_0.1.reload, 2
%136 = load i64, i64* %30, align 8
%137 = call i128 @__asm_movsd.1(i64 %136)
%138 = call i64 @FUNC(i128 %137)
%139 = add i64 %132, %26
%140 = inttoptr i64 %139 to i64*
store i64 %138, i64* %140, align 8
%141 = sext i32 %135 to i64
%142 = mul i64 %141, 8
%143 = add i64 %142, %25
%144 = inttoptr i64 %143 to i64*
store i64 ptrtoint ([4 x i8]* @gv_4 to i64), i64* %144, align 8
%145 = add i32 %sv_0.1.reload, 3
%146 = load i64, i64* %32, align 8
%147 = call i128 @__asm_movsd.1(i64 %146)
%148 = call i64 @FUNC(i128 %147)
%149 = add i64 %142, %26
%150 = inttoptr i64 %149 to i64*
store i64 %148, i64* %150, align 8
%151 = sext i32 %145 to i64
%152 = mul i64 %151, 8
%153 = add i64 %152, %25
%154 = inttoptr i64 %153 to i64*
store i64 ptrtoint ([5 x i8]* @gv_5 to i64), i64* %154, align 8
%155 = add i32 %sv_0.1.reload, 4
%156 = call i128 @FUNC(i128 %147, i128 %147)
%157 = call i64 @FUNC(i128 %156)
%158 = add i64 %152, %26
%159 = inttoptr i64 %158 to i64*
store i64 %157, i64* %159, align 8
%160 = sext i32 %155 to i64
%161 = mul i64 %160, 8
%162 = add i64 %161, %25
%163 = inttoptr i64 %162 to i64*
store i64 ptrtoint ([4 x i8]* @gv_6 to i64), i64* %163, align 8
%164 = add i32 %sv_0.1.reload, 5
%165 = call i128 @__asm_movsd.1(i64 -4616189618054758400)
%166 = call i64 @FUNC(i128 %165)
%167 = add i64 %161, %26
%168 = inttoptr i64 %167 to i64*
store i64 %166, i64* %168, align 8
%169 = sext i32 %164 to i64
%170 = mul i64 %169, 8
%171 = add i64 %170, %25
%172 = inttoptr i64 %171 to i64*
store i64 0, i64* %172, align 8
%173 = call i128 @FUNC(i128 %165, i128 %165)
%174 = call i64 @FUNC(i128 %173)
%175 = add i64 %170, %26
%176 = inttoptr i64 %175 to i64*
store i64 %174, i64* %176, align 8
%177 = icmp eq i32 %sv_2.1.reload, 0
%storemerge = select i1 %177, i64 %sv_3.2.reload, i64 %33
store i64 %arg1, i64* %35, align 8
store i64 0, i64* %37, align 8
store i64 0, i64* %39, align 8
store i64 0, i64* %41, align 8
store i64 0, i64* %43, align 8
%178 = call i64 @FUNC(i64* nonnull %sv_6, i64 %storemerge, i64* nonnull %sv_4, i64* nonnull %sv_5, i64 0, i64 0)
%179 = trunc i64 %178 to i32
%180 = icmp slt i32 %179, 0
%181 = icmp eq i1 %180, false
store i64 0, i64* %r9.1.reg2mem
br i1 %181, label LBL_27, label LBL_26
LBL_26:
%182 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_7, i64 0, i64 0), i64 %sv_3.2.reload, i64 0, i64 0)
%183 = and i64 %178, 4294967295
store i64 %183, i64* %rax.0.reg2mem
br label LBL_36
LBL_27:
%r9.1.reload = load i64, i64* %r9.1.reg2mem
%184 = load i32, i32* %21, align 8
%185 = icmp eq i32 %184, 1
%186 = icmp eq i1 %185, false
br i1 %186, label LBL_32, label LBL_28
LBL_28:
%187 = call i64 @FUNC(i64 %3, i64 %arg5, i64 0, i64 0, i64* nonnull %sv_8)
%188 = icmp eq i32 %sv_1.1.reload, 43
%189 = icmp eq i1 %188, false
br i1 %189, label LBL_30, label LBL_29
LBL_29:
%190 = load i64, i64* %sv_6, align 8
%191 = call i128 @__asm_movsd.1(i64 %190)
%192 = call i64 @FUNC(i128 %191)
%193 = load i64, i64* %sv_8, align 8
%194 = or i64 %193, %192
%195 = call i128 @FUNC(i128 %191, i128 %191)
%196 = call i128 @FUNC(i64 %194)
%197 = call i64 @FUNC(i128 %196)
store i64 %197, i64* %sv_6, align 8
br label LBL_32
LBL_30:
%198 = icmp eq i32 %sv_1.1.reload, 45
%199 = icmp eq i1 %198, false
br i1 %199, label LBL_32, label LBL_31
LBL_31:
%200 = load i64, i64* %sv_6, align 8
%201 = call i128 @__asm_movsd.1(i64 %200)
%202 = call i64 @FUNC(i128 %201)
%203 = sub i64 0, %202
%204 = sub i64 %203, 1
%205 = load i64, i64* %sv_8, align 8
%206 = and i64 %205, %204
%207 = call i128 @FUNC(i128 %201, i128 %201)
%208 = call i128 @FUNC(i64 %206)
%209 = call i64 @FUNC(i128 %208)
store i64 %209, i64* %sv_6, align 8
br label LBL_32
LBL_32:
%210 = load i64, i64* %sv_6, align 8
%211 = call i128 @FUNC(i64 %210)
%212 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %arg5, i64 1, i64 1)
%213 = trunc i64 %212 to i32
%214 = icmp slt i32 %213, 0
%215 = icmp eq i1 %214, false
br i1 %215, label LBL_34, label LBL_33
LBL_33:
%216 = and i64 %212, 4294967295
store i64 %216, i64* %rax.0.reg2mem
br label LBL_36
LBL_34:
%217 = icmp eq i32 %sv_2.1.reload, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %217, label LBL_36, label LBL_35
LBL_35:
%218 = sext i32 %sv_2.1.reload to i64
%219 = add i64 %sv_3.2.reload, %218
%220 = inttoptr i64 %219 to i8*
%221 = load i8, i8* %220, align 1
%222 = icmp eq i8 %221, 0
%223 = icmp eq i1 %222, false
store i32 %184, i32* %.reg2mem
store i64 %219, i64* %sv_3.0.reg2mem
store i64 %r9.1.reload, i64* %r9.0.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %223, label LBL_4, label LBL_36
LBL_36:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i128 %201, { 2, 1, 0 }
uselistorder i128 %191, { 2, 1, 0 }
uselistorder i64 %170, { 1, 0 }
uselistorder i128 %165, { 2, 1, 0 }
uselistorder i64 %161, { 1, 0 }
uselistorder i64 %152, { 1, 0 }
uselistorder i128 %147, { 2, 1, 0 }
uselistorder i64 %142, { 1, 0 }
uselistorder i64 %132, { 1, 0 }
uselistorder i64 %122, { 1, 0 }
uselistorder i32 %sv_0.1.reload, { 1, 2, 3, 4, 5, 0 }
uselistorder i64 %indvars.iv.reload, { 2, 1, 3, 0 }
uselistorder i64 %indvars.iv.next, { 1, 0 }
uselistorder i64 %106, { 1, 0 }
uselistorder i64 %.in24.reload, { 3, 4, 5, 2, 1, 0 }
uselistorder i64 %sv_3.2.reload, { 1, 2, 0 }
uselistorder i32 %sv_2.1.reload, { 2, 1, 0 }
uselistorder i8 %61, { 2, 0, 1 }
uselistorder i64 %58, { 0, 1, 2, 4, 3 }
uselistorder i32 %sv_2.019.reload, { 0, 1, 2, 4, 3 }
uselistorder i64 %sv_3.0.reload, { 2, 1, 0 }
uselistorder i64 %r9.0.reload, { 1, 0 }
uselistorder i64 %22, { 1, 0 }
uselistorder i64 %18, { 1, 2, 0 }
uselistorder i64* %sv_10, { 1, 0 }
uselistorder i64* %sv_9, { 1, 0 }
uselistorder i64* %sv_8, { 1, 2, 0, 3 }
uselistorder i64* %sv_6, { 1, 2, 3, 4, 5, 0, 6 }
uselistorder i64 %3, { 2, 1, 3, 4, 5, 6, 0 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_3.0.reg2mem, { 2, 0, 1 }
uselistorder i64* %r9.0.reg2mem, { 1, 0 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 3, 4, 1 }
uselistorder i64* %.in24.reg2mem, { 2, 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }
uselistorder i64* %.in.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1, 4 }
uselistorder i64* %r9.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 5, 4, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }
uselistorder i64 (i64, i64)* @av_opt_next, { 1, 2, 0 }
uselistorder i8 0, { 1, 2, 0, 3 }
uselistorder i8 45, { 1, 0 }
uselistorder i64 1, { 3, 2, 0, 1, 4 }
uselistorder i64 32, { 0, 2, 1 }
uselistorder i32 0, { 6, 7, 8, 10, 9, 0, 1, 4, 5, 2, 3, 11 }
uselistorder i64 (i64, i64, i64, i64, i64)* @write_number, { 1, 0 }
uselistorder i1 false, { 3, 4, 5, 6, 7, 8, 1, 9, 11, 10, 0, 12, 13, 2, 14, 15 }
uselistorder i32 2, { 1, 0, 2, 3 }
uselistorder i64 %arg5, { 2, 1, 0, 3 }
uselistorder i64 %arg2, { 1, 2, 0, 3 }
uselistorder i64 %arg1, { 3, 2, 4, 1, 0 }
uselistorder label LBL_36, { 1, 0, 2, 3, 4, 5 }
uselistorder label LBL_15.lr.ph, { 1, 0 }
uselistorder label LBL_16, { 2, 1, 0 }
uselistorder label LBL_9, { 3, 1, 2, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
CompRealVul | w9966_term_4638 | w9966_term | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1, i64 1)
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %0)
%5 = call i64 @FUNC(i64 %0, i64 1, i64 0)
br label LBL_2
LBL_2:
%6 = call i64 @FUNC(i64 %0, i64 2, i64 2)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_4, label LBL_3
LBL_3:
%9 = call i64 @FUNC(i64 %0)
%10 = add i64 %0, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12, i64 0)
%14 = call i64 @FUNC(i64 %0)
br label LBL_4
LBL_4:
%15 = call i64 @FUNC(i64 %0, i64 2, i64 2)
%16 = trunc i64 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = add i64 %0, 4
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = zext i32 %20 to i64
%22 = call i64 @FUNC(i64 %21)
%23 = call i64 @FUNC(i64 %0, i64 2, i64 0)
br label LBL_6
LBL_6:
%24 = call i64* @memset(i64* %arg1, i32 0, i32 16)
%25 = ptrtoint i64* %24 to i64
ret i64 %25
uselistorder i64 %0, { 6, 5, 7, 4, 3, 2, 8, 1, 0, 9 }
uselistorder i64 2, { 0, 2, 1, 4, 3 }
uselistorder i64 (i64, i64, i64)* @w9966_set_state, { 1, 0 }
uselistorder i64 (i64, i64, i64)* @w9966_get_state, { 2, 1, 0 }
uselistorder i64 1, { 1, 3, 2, 0 }
} | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.