dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
cmd_sort_8058
cmd_sort
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i32* %sv_0.09.reg2mem = alloca i32* %sv_1.0.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i128, i128* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 0, i64* %sv_3, align 8 %6 = call i32 @clock() %7 = load i64, i64* @gv_0, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = trunc i64 %5 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 ptrtoint ([9 x i8]* @gv_2 to i64) %11 = inttoptr i64 %7 to i64* %12 = load i64, i64* %11, align 8 %13 = ptrtoint i8* %arg1 to i64 %14 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 %., i64 %3, i64 %2) %15 = load i64, i64* @gv_0, align 8 %16 = call i64 @FUNC(i64 %15, i64 65536) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %rax.0.reg2mem br i1 %19, label LBL_13, label LBL_2 LBL_2: %20 = load i64, i64* @gv_0, align 8 %21 = call i64 @FUNC(i64 %20, i64 %13, i64 0) store i64 %21, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %22 = ptrtoint i8* %arg1 to i64 %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_3) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, -1 store i32* null, i32** %sv_0.09.reg2mem br i1 %25, label LBL_11.thread, label LBL_4 LBL_4: %26 = load i32, i32* @gv_4, align 4 %27 = load i32, i32* @gv_5, align 4 %28 = or i32 %27, %26 %29 = icmp ne i32 %28, 0 %storemerge5 = zext i1 %29 to i64 %30 = load i64, i64* @gv_6, align 8 %31 = load i64, i64* @gv_7, align 8 %sext7 = mul i64 %23, 4294967296 %32 = ashr exact i64 %sext7, 32 %33 = call i64 @FUNC(i64 %22, i64 0, i64* nonnull @gv_8, i64 %31, i64 %30, i64 %storemerge5, i64 %32) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* @gv_9, align 4 %36 = urem i32 %35, 2 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_6, label LBL_5 LBL_5: %38 = load i32, i32* %34, align 4 %39 = add i32 %38, 1 store i32 %39, i32* %34, align 4 br label LBL_6 LBL_6: %40 = load i64, i64* @gv_10, align 8 %41 = load i64, i64* @gv_11, align 8 %42 = call i64 @FUNC(i64 %41, i64 %40, i64 %33) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, -1 store i32* %34, i32** %sv_0.09.reg2mem br i1 %44, label LBL_11.thread, label LBL_7 LBL_7: %45 = icmp eq i32 %43, 13 %46 = icmp eq i1 %45, false store i32 %43, i32* %sv_1.0.reg2mem br i1 %46, label LBL_9, label LBL_8 LBL_8: %47 = load i64, i64* @gv_11, align 8 %48 = call i64 @FUNC(i64 %47) %49 = trunc i64 %48 to i32 store i32 %49, i32* %sv_1.0.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %50 = icmp eq i32 %sv_1.0.reload, 10 br i1 %50, label LBL_10, label LBL_11 LBL_10: %51 = sext i32 %6 to i64 %52 = load i64, i64* %sv_3, align 8 %53 = load i64, i64* @gv_12, align 8 %54 = trunc i64 %5 to i32 %55 = call i64 @FUNC(i64 %53, i64 %52, i64 %33, i32 %54) %56 = call i32 @clock() %57 = sext i32 %56 to i64 %58 = sub nsw i64 %57, %51 %59 = call i128 @FUNC(i128 %4, i128 %4) %60 = call i128 @FUNC(i64 %58) %61 = call i128 @FUNC(i64 4696837146684686336) %62 = call i128 @FUNC(i128 %60, i128 %61) %63 = call i64 @FUNC(i128 %62) %64 = call i128 @__asm_movq.1(i64 %63) %65 = bitcast i64* %sv_2 to i8* %66 = trunc i128 %64 to i64 %67 = bitcast i64 %66 to double %68 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %65, i32 100, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_13, i64 0, i64 0), double %67) %69 = load i64, i64* %sv_3, align 8 %70 = call i64 @FUNC(i64 %69) %71 = and i64 %55, 4294967295 %72 = inttoptr i64 %70 to i8* call void (i32, i8*, ...) @syslog(i32 7, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_14, i64 0, i64 0), i8* %72, i64 %71, i64* nonnull %sv_2) %73 = inttoptr i64 %70 to i64* call void @free(i64* %73) %74 = call i64 @FUNC(i64 0) %75 = load i64, i64* @gv_10, align 8 %76 = ptrtoint i64* %sv_2 to i64 %77 = call i64 @FUNC(i64 %75, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_15, i64 0, i64 0), i64 %22, i64 %74, i64 %71, i64 %76) %78 = load i64, i64* %sv_3, align 8 %79 = call i64 @FUNC(i64 %78) %80 = call i64 @FUNC(i64 %33) store i64 %80, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %81 = load i64, i64* @gv_10, align 8 %82 = call i64 @FUNC(i64 %81, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_16, i64 0, i64 0), i64 %22, i64 %40, i64 %30, i64 %storemerge5) %83 = icmp eq i32 %sv_1.0.reload, -1 store i32* %34, i32** %sv_0.09.reg2mem store i32* %34, i32** %sv_0.08.reg2mem store i32 %sv_1.0.reload, i32* %.reg2mem br i1 %83, label LBL_11.thread, label %84 LBL_12: %sv_0.09.reload = load i32*, i32** %sv_0.09.reg2mem store i32* %sv_0.09.reload, i32** %sv_0.08.reg2mem store i32 32, i32* %.reg2mem br label %84 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.0.reload, { 0, 2, 1 } uselistorder i32* %34, { 0, 2, 1, 4, 3 } uselistorder i64 %storemerge5, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_3, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_2, { 2, 0, 1 } uselistorder i32** %sv_0.09.reg2mem, { 0, 3, 2, 1 } uselistorder i32** %sv_0.08.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %1, { 1, 0 } uselistorder i64 (i64)* @freesearchargs, { 1, 0 } uselistorder i64 (i64)* @freesortcrit, { 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i32 10, { 1, 2, 0 } uselistorder i64* @gv_10, { 1, 0, 2 } uselistorder i32 -1, { 2, 3, 4, 1, 0 } uselistorder i1 false, { 2, 3, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @prot_printf, { 1, 2, 0 } uselistorder i32 0, { 4, 0, 5, 6, 7, 1, 2, 3 } uselistorder i32 1, { 11, 13, 12, 9, 8, 7, 6, 5, 4, 1, 10, 3, 14, 2, 0 } uselistorder i8* %arg1, { 1, 0 } uselistorder label LBL_13, { 2, 3, 1, 0 } uselistorder label %84, { 1, 0 } uselistorder label LBL_11.thread, { 2, 0, 1 } }
0
BinRealVul
find_low_bit_12706
find_low_bit
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 store i32 0, i32* %storemerge35.reg2mem br label LBL_1 LBL_1: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %1 = urem i32 %storemerge35.reload, 32 %2 = shl i32 1, %1 %3 = and i32 %2, %0 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = zext i32 %storemerge35.reload to i64 store i64 %5, i64* %storemerge2.reg2mem br label LBL_4 LBL_3: %6 = add nuw nsw i32 %storemerge35.reload, 1 %7 = icmp ult i32 %6, 32 store i32 %6, i32* %storemerge35.reg2mem store i64 0, i64* %storemerge2.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_4: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i32 32, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
of_dma_controller_register_4857
of_dma_controller_register
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = icmp ne i64* %arg1, null %5 = icmp eq i64 %arg2, 0 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %8 = call i64 @FUNC(i64 56, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_6 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 0) %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %3, i64 %2, i64 %1) %18 = call i64 @FUNC(i64 %8) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %19 = inttoptr i64 %8 to i64* store i64 %11, i64* %19, align 8 %20 = add i64 %8, 8 %21 = inttoptr i64 %20 to i32* store i32 %14, i32* %21, align 4 %22 = add i64 %8, 16 %23 = inttoptr i64 %22 to i64* store i64 %arg2, i64* %23, align 8 %24 = add i64 %8, 24 %25 = inttoptr i64 %24 to i64* store i64 %arg3, i64* %25, align 8 %26 = add i64 %8, 32 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %8, 40 %29 = call i64 @FUNC(i64 %28, i64* nonnull @gv_4) 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 %8, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_err, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3 } }
0
BinRealVul
kex_input_newkeys_11411
kex_input_newkeys
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0, i64 21, i64 4198770) %3 = call i64 @FUNC(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: %6 = and i64 %3, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = bitcast i64* %arg3 to i32* store i32 1, i32* %7, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %0, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = and i32 %14, -2 store i32 %15, i32* %13, align 4 %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* call void @free(i64* %19) store i64 0, i64* %17, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1, 4, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
line_construct_pts_8418
line_construct_pts
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i128 @__asm_movsd.1(i64 %0) %4 = call i128 @FUNC(i128 %3) %5 = call i128 @FUNC(i64 %1) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %10 = call i64 @FUNC(i128 %9) store i64 %10, i64* %arg1, align 8 %11 = call i128 @FUNC(i128 %9, i128 %9) %12 = call i64 @FUNC(i128 %11) %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i128 @__asm_movsd.1(i64 %1) %16 = call i64 @FUNC(i128 %15) %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 br label LBL_6 LBL_2: %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i128 @__asm_movsd.1(i64 %21) %23 = add i64 %1, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i128 @FUNC(i128 %22) %27 = call i128 @FUNC(i64 %25) %28 = call i64 @FUNC() %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = call i128 @FUNC(i128 %27, i128 %27) %32 = call i64 @FUNC(i128 %31) store i64 %32, i64* %arg1, align 8 %33 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %34 = call i64 @FUNC(i128 %33) %35 = add i64 %2, 8 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = load i64, i64* %24, align 8 %38 = call i128 @__asm_movsd.1(i64 %37) %39 = call i64 @FUNC(i128 %38) %40 = add i64 %2, 16 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 br label LBL_6 LBL_4: %42 = trunc i64 %28 to i8 %43 = call i8 @llvm.ctpop.i8(i8 %42), !range !38 %44 = urem i8 %43, 2 %45 = icmp eq i8 %44, 0 %46 = load i64, i64* %20, align 8 %47 = call i128 @__asm_movsd.1(i64 %46) %48 = load i64, i64* %24, align 8 %49 = call i128 @__asm_movsd.1(i64 %48) %50 = call i128 @__asm_subsd.2(i128 %47, i128 %49) %51 = call i128 @__asm_movsd.1(i64 %0) %52 = call i128 @__asm_movsd.1(i64 %1) %53 = call i128 @__asm_subsd.2(i128 %51, i128 %52) %54 = call i128 @FUNC(i128 %50, i128 %53) %55 = call i64 @FUNC(i128 %54) store i64 %55, i64* %arg1, align 8 %56 = call i128 @__asm_movsd.1(i64 -4616189618054758400) %57 = call i64 @FUNC(i128 %56) %58 = add i64 %2, 8 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 %60 = load i64, i64* %24, align 8 %61 = call i128 @__asm_movsd.1(i64 %60) %62 = call i128 @__asm_movsd.1(i64 %2) %63 = call i128 @__asm_movsd.1(i64 %1) %64 = call i128 @FUNC(i128 %63, i128 %62) %65 = call i128 @__asm_subsd.2(i128 %61, i128 %64) %66 = call i64 @FUNC(i128 %65) %67 = add i64 %2, 16 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 %69 = call i128 @__asm_movsd.1(i64 %66) %70 = call i128 @FUNC(i128 %64, i128 %64) call void @FUNC(i128 %69, i128 %70) br i1 %45, label LBL_6, label LBL_5 LBL_5: %71 = call i128 @FUNC(i128 %70, i128 %70) call void @FUNC(i128 %69, i128 %71) %72 = call i128 @FUNC(i128 %69, i128 %69) %73 = call i64 @FUNC(i128 %72) store i64 %73, i64* %68, align 8 br label LBL_6 LBL_6: ret i64 %2 uselistorder i128 %70, { 1, 0, 2 } uselistorder i128 %69, { 1, 0, 2, 3 } uselistorder i128 %64, { 2, 1, 0 } uselistorder i128 %27, { 1, 0 } uselistorder i64* %24, { 1, 2, 0, 3 } uselistorder i128 %9, { 2, 1, 0 } uselistorder i64 %2, { 0, 5, 6, 7, 3, 4, 1, 2 } uselistorder i64 %1, { 1, 2, 3, 0, 4 } uselistorder i64 ()* @FPeq, { 1, 0 } }
0
BinRealVul
iwjpeg_scan_exif_11180
iwjpeg_scan_exif
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 %sv_0 = alloca i64, align 8 %2 = icmp ult i64 %arg3, 8 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %1 to i8 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 24) store i64 %3, i64* %sv_0, align 8 %7 = icmp eq i8 %4, 73 %8 = icmp eq i1 %7, false %9 = add i64 %3, 4 %10 = zext i1 %8 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = trunc i64 %11 to i32 %13 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i32 %12) store i64 %13, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hci_loglink_complete_evt_12882
hci_loglink_complete_evt
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 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %3, 3 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = add i64 %3, 2 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = urem i64 %2, 65536 %12 = call i64 @FUNC(i64 %11) %13 = urem i64 %12, 65536 %14 = zext i8 %7 to i64 %15 = zext i8 %10 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %13, i64 %15, i64 %14, i64 %1) %17 = load i8, i8* %9, align 1 %18 = zext i8 %17 to i64 %19 = call i64 @FUNC(i64 %4, i64 %18) %20 = icmp eq i64 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_1 LBL_1: %21 = call i64 @FUNC(i64 %19) %22 = icmp eq i64 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_5, label LBL_2 LBL_2: %23 = inttoptr i64 %21 to i16* %24 = call i64 @FUNC(i64 %11) %25 = trunc i64 %24 to i16 store i16 %25, i16* %23, align 2 %26 = inttoptr i64 %19 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %27, i64 %21, i64 %14, i64 %1) %29 = load i64, i64* %26, align 8 %30 = icmp eq i64 %29, 0 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_5, label LBL_3 LBL_3: %31 = inttoptr i64 %29 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %32) %35 = inttoptr i64 %32 to i64* %36 = load i64, i64* %35, align 8 %37 = add i64 %4, 8 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = inttoptr i64 %36 to i16* store i16 %39, i16* %40, align 2 %41 = call i64 @FUNC(i64 %32, i64 %21, i64 0) %42 = call i64 @FUNC(i64 %19) %43 = call i64 @FUNC(i64 %32) store i64 %43, 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 %32, { 3, 2, 1, 0, 4 } uselistorder i64 %19, { 0, 2, 1, 3, 4 } uselistorder i64 %11, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @BT_DBG, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 } uselistorder label LBL_5, { 2, 3, 4, 0, 1 } }
1
BinRealVul
eir_has_data_type_17870
eir_has_data_type
define i64 @FUNC(i32* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32* %sv_1.04.reg2mem = alloca i64 %0 = add i64 %arg2, -1 %1 = icmp eq i64 %0, 0 store i64 0, i64* %sv_1.04.reg2mem store i32* %arg1, i32** %sv_0.03.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %sv_0.03.reload = load i32*, i32** %sv_0.03.reg2mem %2 = bitcast i32* %sv_0.03.reload to i8* %3 = load i8, i8* %2, align 1 %4 = icmp eq i8 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_5, label LBL_2 LBL_2: %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem %5 = zext i8 %3 to i64 %6 = add nuw nsw i64 %5, 1 %7 = add i64 %6, %sv_1.04.reload %8 = icmp ugt i64 %7, %arg2 store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = ptrtoint i32* %sv_0.03.reload to i64 %10 = add i64 %9, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, %arg3 %14 = icmp eq i1 %13, false store i64 1, i64* %storemerge.reg2mem br i1 %14, label LBL_4, label LBL_5 LBL_4: %15 = add i64 %6, %9 %16 = inttoptr i64 %15 to i32* %17 = icmp ult i64 %7, %0 store i64 %7, i64* %sv_1.04.reg2mem store i32* %16, i32** %sv_0.03.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %17, label LBL_1, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2, 5 } uselistorder i64 1, { 0, 2, 1 } uselistorder label LBL_5, { 3, 0, 1, 2, 4 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
local_create_mapped_attr_dir_15808
local_create_mapped_attr_dir
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %0 = inttoptr i64 %arg2 to i8* %1 = call i8* @strdup(i8* %0) %2 = call i8* @dirname(i8* %1) %3 = bitcast i64* %sv_1 to i8* %4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 4096, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %5 = call i32 @mkdir(i8* nonnull %3, i32 448) %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i32 %5, i32* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 17 %11 = icmp eq i1 %10, false %spec.select = select i1 %11, i32 %5, i32 0 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %12 = bitcast i8* %1 to i64* call void @free(i64* %12) %13 = zext i32 %sv_0.0.reload to i64 ret i64 %13 uselistorder i32 %5, { 1, 0, 2 } }
1
BinRealVul
bdrv_getlength_2794
bdrv_getlength
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp sgt i64 %1, 18014398509481983 %storemerge1 = select i1 %2, i64 -27, i64 %1 %3 = icmp slt i64 %storemerge1, 0 %4 = mul i64 %storemerge1, 512 %storemerge = select i1 %3, i64 %storemerge1, i64 %4 ret i64 %storemerge uselistorder i64 %storemerge1, { 1, 0, 2 } }
0
BinRealVul
xenbus_watch_pathfmt_4498
xenbus_watch_pathfmt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i64* %arg1 to i64 store i32 32, i32* %sv_0, align 4 %22 = ptrtoint i8* %arg4 to i64 %23 = call i64 @FUNC(i64 0, i64 %22, i32* nonnull %sv_0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: %26 = call i64 @FUNC(i64 %21, i64 4294967284, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_7 LBL_4: %27 = ptrtoint i64* %arg2 to i64 %28 = call i64 @FUNC(i64 %21, i64 %23, i64 %27, i64 %arg3) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %23) br label LBL_6 LBL_6: %32 = and i64 %28, 4294967295 store i64 %32, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %21, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 0 } }
0
BinRealVul
udf_encode_fh_11300
udf_encode_fh
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i64* %arg4, null %4 = icmp sgt i32 %2, 4 %or.cond = or i1 %3, %4 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: store i32 5, i32* %arg3, align 4 store i64 255, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp sgt i32 %2, 2 store i32 3, i32* %arg3, align 4 store i64 255, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_5 LBL_3: %10 = ptrtoint i64* %arg2 to i64 store i64 %5, i64* %arg2, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* store i64 %8, i64* %12, align 8 %13 = add i64 %10, 16 %14 = inttoptr i64 %13 to i64* store i64 %5, i64* %14, align 8 store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_4 LBL_4: %15 = ptrtoint i64* %arg4 to i64 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %10, 24 %20 = inttoptr i64 %19 to i64* store i64 %15, i64* %20, align 8 %21 = add i64 %10, 32 %22 = inttoptr i64 %21 to i64* store i64 %18, i64* %22, align 8 %23 = add i64 %10, 40 %24 = inttoptr i64 %23 to i64* store i64 %5, i64* %24, align 8 store i32 5, i32* %arg3, align 4 store i64 2, 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* %arg4, { 1, 0 } uselistorder i32* %arg3, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
1
BinRealVul
ff_png_zalloc_3424
ff_png_zalloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = zext i32 %arg3 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %2 }
0
BinRealVul
hci_uart_init_work_18366
hci_uart_init_work
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -16 %2 = call i64 @FUNC(i64 0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = add i64 %0, -24 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) %13 = load i64, i64* %6, align 8 store i64 0, i64* %6, align 8 %14 = call i64 @FUNC(i64 %13) store i64 %5, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %15 = add i64 %0, -12 %16 = call i64 @FUNC(i64 1, i64 %15) store i64 %16, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %6, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
vmdk_read_cid_1679
vmdk_read_cid
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3, i64 %0, i64* nonnull %sv_0, i64 512) %5 = icmp eq i64 %4, 512 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = trunc i64 %arg2 to i32 %7 = icmp eq i32 %6, 0 %. = select i1 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0) %8 = bitcast i64* %sv_0 to i8* %9 = call i8* @strstr(i8* nonnull %8, i8* %.) %10 = icmp eq i8* %9, null store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = ptrtoint i8* %9 to i64 %.5 = select i1 %7, i64 4, i64 10 %12 = add i64 %.5, %11 %13 = inttoptr i64 %12 to i8* %14 = call i32 (i8*, i8*, ...) @sscanf(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32* nonnull %sv_1) %.pre = load i32, i32* %sv_1, align 4 %phitmp = zext i32 %.pre to i64 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %9, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
_warc_read_11804
_warc_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp ugt i64 %3, %0 br i1 %4, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg2, align 8 store i64 0, i64* %arg3, align 8 %5 = add i64 %0, 4 store i64 %5, i64* %arg4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %sv_0) %9 = load i64, i64* %sv_0, align 8 %10 = icmp slt i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %arg3, align 8 store i64 %9, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %12 = icmp eq i64 %9, 0 br i1 %12, label LBL_1, label LBL_5 LBL_5: %13 = load i64, i64* %2, align 8 %14 = sub i64 %13, %0 %15 = icmp ult i64 %14, %9 %16 = icmp eq i1 %15, false store i64 %9, i64* %.reg2mem br i1 %16, label LBL_7, label LBL_6 LBL_6: store i64 %14, i64* %sv_0, align 8 store i64 %14, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem store i64 %0, i64* %arg4, align 8 store i64 %.reload, i64* %arg3, align 8 store i64 %8, i64* %arg2, align 8 %17 = add i64 %.reload, %0 store i64 %17, i64* %arg1, align 8 %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* store i64 %.reload, i64* %19, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 0, 2, 1 } uselistorder i64 %9, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_0, { 1, 2, 0 } uselistorder i64 %0, { 2, 0, 3, 4, 6, 5, 1, 7, 8 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
vnc_auth_sasl_check_ssf_15290
vnc_auth_sasl_check_ssf
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32*, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = bitcast i32** %sv_0 to i64* %10 = call i64 @FUNC(i64 %8, i64 1, i64* nonnull %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_4 LBL_2: %13 = load i32*, i32** %sv_0, align 8 %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %15) %17 = icmp sgt i32 %14, 55 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 store i64 1, 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 %14, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
do_rfi_13863
do_rfi
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 %1) %3 = and i64 %arg3, -3 %4 = and i64 %arg2, 4294967292 store i64 %4, i64* %arg1, align 8 %5 = call i64 @FUNC(i64 %0, i64 %3, i64 1) %6 = inttoptr i64 %2 to i32* %7 = load i32, i32* %6, align 4 %8 = or i32 %7, 2 store i32 %8, i32* %6, align 4 %9 = call i64 @FUNC(i64 %0) ret i64 %9 }
1
BinRealVul
do_set_cpus_allowed_9430
do_set_cpus_allowed
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 = add i64 %1, 8 %3 = call i64 @FUNC(i64 %2, i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = add i64 %1, 16 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 ret i64 %4 uselistorder i64 %4, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
decode_bmv_frame_109
decode_bmv_frame
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.4.reg2mem = alloca i64 %storemerge1546.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_2.3.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i64 %sv_3.1.reg2mem = alloca i64 %sv_4.1.reg2mem = alloca i32 %sv_1.234.reg2mem = alloca i64 %sv_5.235.reg2mem = alloca i32 %sv_2.236.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_5.1.reg2mem = alloca i32 %sv_6.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_5.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %storemerge20.reg2mem = alloca i32 %storemerge23.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_7.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_4.0.reg2mem = alloca i32 %sv_8.0.ph.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_40 LBL_1: %7 = ptrtoint i64* %arg3 to i64 %8 = ptrtoint i64* %arg1 to i64 %sext4 = mul i64 %arg4, 4294967296 %9 = ashr exact i64 %sext4, 32 %10 = add i64 %0, %8 %11 = add i64 %7, 307200 %12 = trunc i64 %9 to i32 %13 = trunc i64 %arg4 to i32 %14 = icmp slt i32 %13, -639 %15 = icmp sgt i32 %12, -1 %narrow = or i1 %14, %15 %16 = icmp eq i1 %narrow, false store i64 %8, i64* %sv_1.0.ph.reg2mem store i64 %7, i64* %sv_0.0.ph.reg2mem store i64 %11, i64* %sv_8.0.ph.reg2mem br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = add i64 %10, -1 %18 = add i64 %7, 307199 %19 = add i64 %7, -1 store i64 %17, i64* %sv_1.0.ph.reg2mem store i64 %18, i64* %sv_0.0.ph.reg2mem store i64 %19, i64* %sv_8.0.ph.reg2mem br label LBL_3 LBL_3: %sv_8.0.ph.reload = load i64, i64* %sv_8.0.ph.reg2mem %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %storemerge16.in.in.in.v = select i1 %16, i64 1, i64 -1 store i32 0, i32* %sv_4.0.reg2mem store i64 %0, i64* %sv_3.0.reg2mem store i32 0, i32* %sv_7.0.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.0.ph.reload, 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 %sv_7.0.reload = load i32, i32* %sv_7.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %20 = icmp eq i32 %sv_7.0.reload, 0 %.not = icmp ne i1 %20, true %21 = icmp eq i64 %sv_3.0.reload, 4 %22 = icmp eq i1 %21, false %or.cond56 = icmp eq i1 %22, %.not store i32 %sv_4.0.reload, i32* %storemerge23.reg2mem store i32 0, i32* %storemerge20.reg2mem br i1 %or.cond56, label LBL_7, label LBL_5 LBL_5: %23 = icmp uge i64 %sv_1.0.reload, %8 %24 = icmp ult i64 %sv_1.0.reload, %10 %or.cond = icmp eq i1 %23, %24 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_6, label LBL_40 LBL_6: %25 = inttoptr i64 %sv_1.0.reload to i8* %26 = load i8, i8* %25, align 1 %27 = zext i8 %26 to i32 store i32 %27, i32* %storemerge23.reg2mem store i32 1, i32* %storemerge20.reg2mem br label LBL_7 LBL_7: %storemerge20.reload = load i32, i32* %storemerge20.reg2mem %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %28 = and i32 %storemerge23.reload, 12 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 0, i32* %sv_5.0.reg2mem store i32 %storemerge23.reload, i32* %sv_2.0.reg2mem store i32 %storemerge20.reload, i32* %sv_6.0.reg2mem br i1 %30, label LBL_13, label LBL_8 LBL_8: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %31 = icmp slt i32 %sv_5.0.reload, 23 store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_9, label LBL_40 LBL_9: %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %32 = icmp eq i32 %sv_6.0.reload, 0 %33 = icmp eq i1 %32, false store i32 %sv_5.0.reload, i32* %sv_5.1.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem br i1 %33, label LBL_12, label LBL_10 LBL_10: %34 = icmp uge i64 %sv_1.1.reload, %8 %35 = icmp ult i64 %sv_1.1.reload, %10 %or.cond26 = icmp eq i1 %34, %35 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond26, label LBL_11, label LBL_40 LBL_11: %36 = add i32 %sv_5.0.reload, 2 %37 = inttoptr i64 %sv_1.1.reload to i8* %38 = load i8, i8* %37, align 1 %39 = zext i8 %38 to i32 %40 = urem i32 %36, 32 %41 = shl i32 %39, %40 %42 = or i32 %41, %sv_2.0.reload %43 = and i8 %38, 12 %44 = icmp eq i8 %43, 0 %45 = icmp eq i1 %44, false store i32 %36, i32* %sv_5.1.reg2mem store i32 %42, i32* %sv_2.1.reg2mem store i32 %42, i32* %sv_2.236.reg2mem store i32 %36, i32* %sv_5.235.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.234.reg2mem br i1 %45, label LBL_14, label LBL_12 LBL_12: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %sv_5.1.reload = load i32, i32* %sv_5.1.reg2mem %46 = add i32 %sv_5.1.reload, 2 %47 = urem i32 %46, 32 %48 = shl i32 1, %47 %49 = add i32 %48, -1 %50 = udiv i32 %sv_2.1.reload, 4 %51 = sub i32 0, %48 %52 = and i32 %50, %51 %53 = and i32 %49, %sv_2.1.reload %54 = or i32 %53, %52 %55 = add i64 %sv_1.1.reload, 1 %56 = shl i32 12, %47 %57 = and i32 %54, %56 %58 = icmp eq i32 %57, 0 store i64 %55, i64* %sv_1.1.reg2mem store i32 %46, i32* %sv_5.0.reg2mem store i32 %54, i32* %sv_2.0.reg2mem store i32 0, i32* %sv_6.0.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i64 4, i64* %sv_3.1.reg2mem store i64 %55, i64* %sv_1.3.reg2mem store i32 %54, i32* %sv_2.3.reg2mem br i1 %58, label LBL_8, label LBL_15 LBL_13: %59 = icmp eq i1 %22, false %or.cond57 = or i1 %20, %59 store i32 %storemerge23.reload, i32* %sv_2.236.reg2mem store i32 0, i32* %sv_5.235.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.234.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.1.reg2mem store i64 4, i64* %sv_3.1.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.3.reg2mem store i32 %storemerge23.reload, i32* %sv_2.3.reg2mem br i1 %or.cond57, label LBL_14, label LBL_15 LBL_14: %sv_1.234.reload = load i64, i64* %sv_1.234.reg2mem %sv_5.235.reload = load i32, i32* %sv_5.235.reg2mem %sv_2.236.reload = load i32, i32* %sv_2.236.reg2mem %60 = add i32 %sv_5.235.reload, 4 %61 = urem i32 %60, 32 %62 = lshr i32 %sv_2.236.reload, %61 %notmask = shl nsw i32 -1, %61 %63 = sub i32 0, %notmask %64 = sub i32 %63, 1 %65 = and i32 %sv_2.236.reload, %64 %66 = add i64 %sv_1.234.reload, 1 store i32 %62, i32* %sv_4.1.reg2mem store i64 0, i64* %sv_3.1.reg2mem store i64 %66, i64* %sv_1.3.reg2mem store i32 %65, i32* %sv_2.3.reg2mem br label LBL_15 LBL_15: %sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem %67 = udiv i32 %sv_2.3.reload, 2 %68 = add nsw i32 %67, -1 %69 = icmp eq i32 %68, 0 %70 = icmp ult i32 %sv_2.3.reload, 2 %71 = icmp eq i1 %70, false %72 = icmp eq i1 %69, false %73 = icmp eq i1 %71, %72 %74 = zext i1 %73 to i64 %75 = call i64 @FUNC(i64 %74) %76 = icmp ult i32 %sv_2.3.reload, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %76, label LBL_40, label LBL_16 LBL_16: %77 = sub i64 %sv_8.0.ph.reload, %sv_0.0.reload %78 = icmp slt i64 %77, 0 %79 = icmp eq i1 %78, false %80 = sub i64 %sv_0.0.reload, %sv_8.0.ph.reload %storemerge17 = select i1 %79, i64 %77, i64 %80 %81 = sext i32 %68 to i64 %82 = icmp slt i64 %storemerge17, %81 store i64 4294967295, i64* %rax.0.reg2mem br i1 %82, label LBL_40, label LBL_17 LBL_17: %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem %83 = urem i32 %sv_2.3.reload, 2 %84 = add i32 %sv_7.0.reload, 1 %85 = add i32 %84, %83 %86 = icmp slt i32 %85, 4 %87 = add i32 %85, -3 %spec.select = select i1 %86, i32 %85, i32 %87 %88 = icmp eq i32 %spec.select, 3 br i1 %88, label LBL_36, label LBL_18 LBL_18: %89 = icmp sgt i32 %spec.select, 3 store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %89, label LBL_39, label LBL_19 LBL_19: store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem switch i32 %spec.select, label LBL_39 [ i32 1, label LBL_20 i32 2, label LBL_31 ] LBL_20: br i1 %16, label LBL_27, label LBL_21 LBL_21: %90 = sub i64 %sv_0.0.reload, %7 %91 = add i64 %90, 640 %92 = icmp slt i64 %91, %9 %93 = add i64 %91, %9 %94 = icmp slt i64 %93, 0 %or.cond28 = or i1 %92, %94 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond28, label LBL_40, label LBL_22 LBL_22: %95 = sub i64 %11, %sv_0.0.reload %96 = add i32 %68, %12 %97 = sext i32 %96 to i64 %98 = icmp slt i64 %95, %97 %99 = icmp slt i64 %95, %81 %or.cond29 = or i1 %99, %98 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond29, label LBL_40, label LBL_23 LBL_23: %100 = icmp sgt i32 %68, 0 br i1 %100, label LBL_24, label LBL_26 LBL_24: %wide.trip.count = zext i32 %68 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_25 LBL_25: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %101 = add i64 %indvars.iv.reload, %9 %sext54 = mul i64 %101, 4294967296 %102 = ashr exact i64 %sext54, 32 %103 = add i64 %102, %sv_0.0.reload %104 = add i64 %indvars.iv.reload, %sv_0.0.reload %105 = inttoptr i64 %103 to i8* %106 = load i8, i8* %105, align 1 %107 = inttoptr i64 %104 to i8* store i8 %106, i8* %107, 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_26, label LBL_25 LBL_26: %108 = add i64 %sv_0.0.reload, %81 store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %108, i64* %sv_0.1.reg2mem br label LBL_39 LBL_27: %109 = sub i64 %sv_0.0.reload, %81 %110 = sub i64 %109, %7 %111 = add i64 %110, 640 %112 = icmp slt i64 %111, %9 %113 = add i64 %111, %9 %114 = icmp slt i64 %113, 0 %or.cond31 = or i1 %112, %114 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond31, label LBL_40, label LBL_28 LBL_28: %115 = sub i64 %11, %109 %116 = add i32 %68, %12 %117 = sext i32 %116 to i64 %118 = icmp slt i64 %115, %117 %119 = icmp slt i64 %115, %81 %or.cond33 = or i1 %118, %119 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond33, label LBL_40, label LBL_29 LBL_29: %storemerge1545 = add nsw i32 %67, -2 %120 = icmp slt i32 %storemerge1545, 0 %121 = icmp eq i1 %120, false store i32 %storemerge1545, i32* %storemerge1546.reg2mem store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %109, i64* %sv_0.1.reg2mem br i1 %121, label LBL_30, label LBL_39 LBL_30: %storemerge1546.reload = load i32, i32* %storemerge1546.reg2mem %122 = add i32 %storemerge1546.reload, %12 %123 = sext i32 %122 to i64 %124 = add i64 %109, %123 %125 = sext i32 %storemerge1546.reload to i64 %126 = add i64 %109, %125 %127 = inttoptr i64 %124 to i8* %128 = load i8, i8* %127, align 1 %129 = inttoptr i64 %126 to i8* store i8 %128, i8* %129, align 1 %storemerge15 = add i32 %storemerge1546.reload, -1 %130 = icmp slt i32 %storemerge15, 0 %131 = icmp eq i1 %130, false store i32 %storemerge15, i32* %storemerge1546.reg2mem store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %109, i64* %sv_0.1.reg2mem br i1 %131, label LBL_30, label LBL_39 LBL_31: br i1 %16, label LBL_34, label LBL_32 LBL_32: %132 = sub i64 %10, %sv_1.3.reload %133 = icmp slt i64 %132, %81 store i64 4294967295, i64* %rax.0.reg2mem br i1 %133, label LBL_40, label LBL_33 LBL_33: %134 = inttoptr i64 %sv_0.0.reload to i64* %135 = inttoptr i64 %sv_1.3.reload to i64* %136 = call i64* @memcpy(i64* %134, i64* %135, i32 %68) %137 = add i64 %sv_0.0.reload, %81 %138 = add i64 %sv_1.3.reload, %81 store i64 %138, i64* %sv_1.4.reg2mem store i64 %137, i64* %sv_0.1.reg2mem br label LBL_39 LBL_34: %139 = sub i64 %sv_1.3.reload, %8 %140 = icmp slt i64 %139, %81 store i64 4294967295, i64* %rax.0.reg2mem br i1 %140, label LBL_40, label LBL_35 LBL_35: %141 = sub i64 %sv_0.0.reload, %81 %142 = sub i64 %sv_1.3.reload, %81 %143 = inttoptr i64 %141 to i64* %144 = inttoptr i64 %142 to i64* %145 = call i64* @memcpy(i64* %143, i64* %144, i32 %68) store i64 %142, i64* %sv_1.4.reg2mem store i64 %141, i64* %sv_0.1.reg2mem br label LBL_39 LBL_36: %storemerge16.in.in.in = add i64 %sv_0.0.reload, %storemerge16.in.in.in.v %storemerge16.in.in = inttoptr i64 %storemerge16.in.in.in to i8* %storemerge16.in = load i8, i8* %storemerge16.in.in, align 1 %146 = zext i8 %storemerge16.in to i32 br i1 %16, label LBL_38, label LBL_37 LBL_37: %147 = inttoptr i64 %sv_0.0.reload to i64* %148 = call i64* @memset(i64* %147, i32 %146, i32 %68) %149 = add i64 %sv_0.0.reload, %81 store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %149, i64* %sv_0.1.reg2mem br label LBL_39 LBL_38: %150 = sub i64 %sv_0.0.reload, %81 %151 = inttoptr i64 %150 to i64* %152 = call i64* @memset(i64* %151, i32 %146, i32 %68) store i64 %sv_1.3.reload, i64* %sv_1.4.reg2mem store i64 %150, i64* %sv_0.1.reg2mem br label LBL_39 LBL_39: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem %153 = icmp eq i64 %sv_0.1.reload, %sv_8.0.ph.reload %154 = icmp eq i1 %153, false store i32 %sv_4.1.reload, i32* %sv_4.0.reg2mem store i64 %sv_3.1.reload, i64* %sv_3.0.reg2mem store i32 %spec.select, i32* %sv_7.0.reg2mem store i64 %sv_1.4.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %154, label LBL_4, label LBL_40 LBL_40: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i32 %storemerge1546.reload, { 1, 0, 2 } uselistorder i64 %109, { 0, 2, 3, 1, 4, 5 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %sv_1.3.reload, { 6, 5, 8, 7, 11, 9, 10, 0, 1, 3, 2, 4 } uselistorder i64 %81, { 5, 0, 8, 9, 10, 2, 3, 7, 4, 11, 1, 6, 12 } uselistorder i32 %68, { 5, 6, 4, 8, 0, 2, 3, 1, 7, 9 } uselistorder i32 %67, { 1, 0 } uselistorder i32 %sv_2.3.reload, { 1, 0, 3, 2 } uselistorder i32 %sv_2.236.reload, { 1, 0 } uselistorder i32 %48, { 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i64 %sv_1.1.reload, { 1, 0, 3, 4, 2 } uselistorder i32 %sv_2.0.reload, { 1, 0 } uselistorder i32 %sv_5.0.reload, { 1, 0, 2 } uselistorder i1 %22, { 1, 0 } uselistorder i1 %20, { 1, 0 } uselistorder i32 %sv_4.0.reload, { 1, 0, 2 } uselistorder i32 %sv_7.0.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %sv_0.0.reload, { 4, 16, 5, 13, 9, 14, 10, 6, 15, 12, 11, 7, 8, 0, 1, 2, 3 } uselistorder i64 %sv_8.0.ph.reload, { 0, 2, 1 } uselistorder i1 %16, { 2, 4, 3, 1, 0 } uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %10, { 1, 2, 3, 0 } uselistorder i64 %9, { 0, 4, 1, 2, 3, 5 } uselistorder i64 %8, { 3, 2, 4, 0, 1 } uselistorder i64 %7, { 3, 2, 4, 1, 0, 5 } uselistorder i32 %1, { 1, 0 } uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_3.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_7.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge23.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge20.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_5.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.236.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_5.235.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.234.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_3.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_1.3.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.3.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1546.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.4.reg2mem, { 0, 9, 8, 5, 4, 1, 2, 6, 3, 7 } uselistorder i64* %sv_0.1.reg2mem, { 0, 9, 8, 5, 4, 1, 2, 6, 3, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 5, 4, 7, 6, 9, 8, 11, 12, 10, 13 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 4, { 3, 1, 2, 0 } uselistorder i32 2, { 3, 2, 0, 1, 4, 5 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 1, { 0, 2, 3, 1 } uselistorder i64 -1, { 1, 2, 0 } uselistorder i32 -1, { 2, 3, 0, 4, 1 } uselistorder i1 false, { 6, 7, 2, 8, 9, 4, 0, 10, 11, 12, 1, 3, 13, 5, 14 } uselistorder i32 0, { 10, 8, 7, 11, 6, 0, 1, 12, 9, 13, 2, 14, 3, 15, 4, 5, 16, 17, 18 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_40, { 0, 1, 2, 4, 3, 6, 5, 8, 7, 10, 11, 9, 12 } uselistorder label LBL_39, { 4, 3, 5, 6, 0, 1, 7, 2, 8 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_15, { 2, 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
do_reupdate_17490
do_reupdate
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %.pre-phi4.reg2mem = alloca i64* %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %arg2, 8 %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 1, i64 %0, i64 %1) %3 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1) %4 = load i32, i32* @gv_2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_14, label LBL_1 LBL_1: %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br label LBL_3 LBL_2: %9 = icmp eq i32 %48, 0 br i1 %9, label LBL_14, label LBL_3 LBL_3: store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %10 = load i64, i64* @gv_3, align 8 %11 = mul i64 %.reload, 8 %12 = add i64 %10, %11 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_13, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %14, i64* nonnull %sv_0, i64 0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_13, label LBL_6 LBL_6: br i1 %8, label LBL_6.LBL_12_crit_edge, label LBL_8 LBL_7: %.pre = add i64 %14, 8 %.pre3 = inttoptr i64 %.pre to i64* store i64* %.pre3, i64** %.pre-phi4.reg2mem br label LBL_12 LBL_8: %22 = call i64 @FUNC(i64 %14) %23 = add i64 %14, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = and i64 %22, 4294967295 %27 = call i64 @FUNC(i64 0, i64* nonnull @gv_1, i64 %25, i64 %26, i64 0) %28 = icmp eq i64 %27, 0 store i64* %24, i64** %.pre-phi4.reg2mem br i1 %28, label LBL_12, label LBL_9 LBL_9: %29 = inttoptr i64 %14 to i32* %30 = load i32, i32* %29, align 4 %31 = inttoptr i64 %27 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %30, %32 %34 = icmp eq i1 %33, false store i64* %24, i64** %.pre-phi4.reg2mem br i1 %34, label LBL_12, label LBL_10 LBL_10: %35 = add i64 %27, 16 %36 = add i64 %14, 16 %37 = call i64 @FUNC(i64 %36, i64 %35) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64* %24, i64** %.pre-phi4.reg2mem br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = inttoptr i64 %27 to i64* call void @free(i64* %41) br label LBL_13 LBL_12: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %42 = load i32, i32* @gv_2, align 4 %43 = load i64, i64* %.pre-phi4.reload, align 8 %44 = call i64 @FUNC(i64 %43) store i64 %44, i64* %sv_0, align 8 %45 = call i64 @FUNC(i64 %44) %46 = load i64, i64* %sv_0, align 8 %47 = inttoptr i64 %46 to i64* call void @free(i64* %47) %48 = load i32, i32* @gv_2, align 4 %49 = icmp eq i32 %42, %48 br i1 %49, label LBL_13, label LBL_2 LBL_13: %50 = add i32 %storemerge2.reload, 1 %51 = load i32, i32* @gv_2, align 4 %52 = zext i32 %51 to i64 %53 = sext i32 %50 to i64 %54 = icmp slt i64 %53, %52 store i64 %53, i64* %.reg2mem store i32 %50, i32* %storemerge2.reg2mem br i1 %54, label LBL_4, label LBL_14 LBL_14: %55 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 uselistorder i32 %48, { 1, 0 } uselistorder i64 %27, { 3, 1, 2, 0 } uselistorder i64* %24, { 2, 1, 0, 3 } uselistorder i64 %14, { 1, 5, 2, 3, 0, 4, 6 } uselistorder i64* %sv_0, { 0, 3, 4, 1, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64** %.pre-phi4.reg2mem, { 0, 3, 2, 1, 4 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i32 0, { 4, 5, 6, 0, 1, 7, 2, 3 } uselistorder i32* @gv_2, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 8, { 2, 1, 0, 3, 4 } uselistorder i32 1, { 8, 7, 5, 4, 3, 6, 2, 1, 0 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_13, { 2, 3, 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
parse_dacl_7599
parse_dacl
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false %6 = trunc i64 %2 to i32 br i1 %5, label LBL_2, label LBL_1 LBL_1: %7 = or i32 %6, 511 %8 = ptrtoint i32* %arg5 to i64 store i32 %7, i32* %arg5, align 4 store i64 %8, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = urem i64 %3, 65536 %11 = call i64 @FUNC(i64 %10) %12 = urem i64 %11, 65536 %13 = add i64 %12, %9 %14 = icmp ugt i64 %13, %arg2 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) store i64 %16, i64* %rax.0.reg2mem br label LBL_18 LBL_4: %17 = add i64 %9, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64 %10) %23 = add i64 %9, 2 %24 = inttoptr i64 %23 to i16* %25 = load i16, i16* %24, align 2 %26 = zext i16 %25 to i64 %27 = call i64 @FUNC(i64 %26) %28 = and i64 %21, 4294967295 %29 = urem i64 %22, 65536 %30 = urem i64 %27, 65536 %31 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %29, i64 %28, i64 %1) %32 = and i32 %6, -512 store i32 %32, i32* %arg5, align 4 %33 = load i32, i32* %18, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 1 store i64 %35, i64* %rax.0.reg2mem br i1 %37, label LBL_18, label LBL_5 LBL_5: store i32 448, i32* %sv_4, align 4 store i32 56, i32* %sv_3, align 4 store i32 511, i32* %sv_2, align 4 %sext = mul i64 %35, 4294967296 %38 = ashr exact i64 %sext, 29 %39 = call i64 @FUNC(i64 %38, i64 0) %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_6, label LBL_7 LBL_6: %42 = ptrtoint i64* %arg4 to i64 %43 = ptrtoint i64* %arg3 to i64 %44 = ptrtoint i32* %arg5 to i64 %wide.trip.count = and i64 %35, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i64 8, i64* %sv_1.03.reg2mem store i64 %9, i64* %sv_0.02.reg2mem br label LBL_8 LBL_7: %45 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0)) store i64 %45, i64* %rax.0.reg2mem br label LBL_18 LBL_8: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %46 = mul i64 %indvars.iv.reload, 8 %47 = add i64 %46, %39 %48 = add i64 %sv_0.02.reload, %sv_1.03.reload %49 = inttoptr i64 %47 to i64* store i64 %48, i64* %49, align 8 %50 = call i64 @FUNC(i64 %48, i64 %arg2) %51 = load i64, i64* %49, align 8 %52 = call i64 @FUNC(i64 %51, i64 %43) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_10, label LBL_9 LBL_9: %56 = load i64, i64* %49, align 8 %57 = add i64 %56, 4 %58 = inttoptr i64 %57 to i16* %59 = load i16, i16* %58, align 2 %60 = zext i16 %59 to i64 %61 = inttoptr i64 %56 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %62 to i64 %64 = call i64 @FUNC(i64 %63, i64 %60, i64 %44, i32* nonnull %sv_4) br label LBL_10 LBL_10: %65 = load i64, i64* %49, align 8 %66 = call i64 @FUNC(i64 %65, i64 %42) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_12, label LBL_11 LBL_11: %70 = load i64, i64* %49, align 8 %71 = add i64 %70, 4 %72 = inttoptr i64 %71 to i16* %73 = load i16, i16* %72, align 2 %74 = zext i16 %73 to i64 %75 = inttoptr i64 %70 to i32* %76 = load i32, i32* %75, align 4 %77 = zext i32 %76 to i64 %78 = call i64 @FUNC(i64 %77, i64 %74, i64 %44, i32* nonnull %sv_3) br label LBL_12 LBL_12: %79 = load i64, i64* %49, align 8 %80 = call i64 @FUNC(i64 %79, i64 4210761) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_14, label LBL_13 LBL_13: %84 = load i64, i64* %49, align 8 %85 = add i64 %84, 4 %86 = inttoptr i64 %85 to i16* %87 = load i16, i16* %86, align 2 %88 = zext i16 %87 to i64 %89 = inttoptr i64 %84 to i32* %90 = load i32, i32* %89, align 4 %91 = zext i32 %90 to i64 %92 = call i64 @FUNC(i64 %91, i64 %88, i64 %44, i32* nonnull %sv_2) br label LBL_14 LBL_14: %93 = load i64, i64* %49, align 8 %94 = call i64 @FUNC(i64 %93, i64 4210762) %95 = trunc i64 %94 to i32 %96 = icmp eq i32 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_16, label LBL_15 LBL_15: %98 = load i64, i64* %49, align 8 %99 = add i64 %98, 4 %100 = inttoptr i64 %99 to i16* %101 = load i16, i16* %100, align 2 %102 = zext i16 %101 to i64 %103 = inttoptr i64 %98 to i32* %104 = load i32, i32* %103, align 4 %105 = zext i32 %104 to i64 %106 = call i64 @FUNC(i64 %105, i64 %102, i64 %44, i32* nonnull %sv_2) br label LBL_16 LBL_16: %107 = load i64, i64* %49, align 8 %108 = add i64 %107, 6 %109 = inttoptr i64 %108 to i16* %110 = load i16, i16* %109, align 2 %111 = zext i16 %110 to i64 %112 = call i64 @FUNC(i64 %111) %113 = urem i64 %112, 65536 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %113, i64* %sv_1.03.reg2mem store i64 %107, i64* %sv_0.02.reg2mem br i1 %exitcond, label LBL_17, label LBL_8 LBL_17: %114 = call i64 @FUNC(i64 %39) store i64 %114, 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* %49, { 4, 3, 5, 2, 6, 1, 7, 0, 8, 9 } uselistorder i64 %39, { 1, 0, 2 } uselistorder i64 %35, { 2, 1, 0, 3 } uselistorder i64 %9, { 0, 2, 3, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i32*)* @access_flags_to_mode, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @compare_sids, { 3, 2, 1, 0 } uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 } uselistorder i64 (i64, i8*)* @cERROR, { 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 3, 2, 1, 0 } uselistorder i32* %arg5, { 0, 1, 3, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_18, { 1, 2, 0, 3, 4 } }
1
BinRealVul
amr_nb_encode_init_16884
amr_nb_encode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i32* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 8000 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967258, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %9 = add i64 %5, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967258, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %14 = add i64 %5, 32 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = add i64 %5, 8 %18 = inttoptr i64 %17 to i32* store i32 160, i32* %18, align 4 %19 = call i64 @FUNC() %20 = add i64 %5, 16 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = add i64 %16, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24) %26 = inttoptr i64 %16 to i64* store i64 %25, i64* %26, align 8 %27 = icmp eq i64 %25, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %30 = add i64 %5, 24 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33, i64 %5) %35 = trunc i64 %34 to i32 %36 = add i64 %16, 16 %37 = inttoptr i64 %36 to i32* store i32 %35, i32* %37, align 4 %38 = load i32, i32* %31, align 4 %39 = add i64 %16, 20 %40 = inttoptr i64 %39 to i32* store i32 %38, i32* %40, 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 %16, { 0, 1, 3, 2 } uselistorder i64 %5, { 2, 0, 1, 3, 7, 8, 6, 4, 5 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 4294967258, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } }
1
BinRealVul
initialise_write_state_6377
initialise_write_state
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg3 to i64 %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 = trunc i64 %1 to i32 %9 = bitcast i64* %arg4 to i32* store i32 %8, i32* %9, align 4 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %3, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %3, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %2, 12 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = add i64 %3, 16 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i64 %3, 20 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %2, 20 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = add i64 %3, 24 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %2, 24 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %3, 28 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i64 %2, 28 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = add i64 %3, 32 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %2, 32 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = add i64 %3, 36 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %2, 36 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 %57 = add i64 %2, 40 %58 = inttoptr i64 %57 to i32* store i32 0, i32* %58, align 4 %59 = add i64 %2, 44 %60 = inttoptr i64 %59 to i32* store i32 -2147483648, i32* %60, align 4 %61 = add i64 %2, 48 %62 = inttoptr i64 %61 to i32* store i32 0, i32* %62, align 4 %63 = add i64 %2, 56 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %64, align 8 %65 = add i64 %2, 64 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 %67 = add i64 %2, 72 %68 = inttoptr i64 %67 to i64* store i64 0, i64* %68, align 8 %69 = add i64 %2, 80 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %70, align 8 %71 = add i64 %2, 88 %72 = inttoptr i64 %71 to i64* store i64 0, i64* %72, align 8 %73 = add i64 %3, 40 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %2, 96 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 %78 = add i64 %3, 44 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = add i64 %2, 100 %82 = inttoptr i64 %81 to i32* store i32 %80, i32* %82, align 4 %83 = call i64 @FUNC(i64 %5, i64 %2, i32 %7) ret i64 %83 uselistorder i64 %2, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
init_paths_1867
init_paths
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_10, label LBL_1 LBL_1: %4 = inttoptr i64 %arg1 to i8* %5 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_10, label LBL_2 LBL_2: %7 = icmp eq i8 %2, 47 br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = call i8* @getcwd(i8* null, i32 0) %9 = icmp eq i8* %8, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: call void @abort() unreachable LBL_5: %11 = ptrtoint i8* %8 to i64 %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64 %11) %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64* bitcast ([2 x i8]* @gv_0 to i64*)) %14 = inttoptr i64 %arg1 to i64* %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64* %14) %16 = bitcast i8* %8 to i64* call void @free(i64* %16) br label LBL_7 LBL_6: %17 = add i64 %arg1, 1 %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64 %17) br label LBL_7 LBL_7: %19 = call i64 @FUNC(i64* nonnull @gv_1, i64 0, i64* nonnull %sv_0) store i64 %19, i64* @gv_2, align 8 %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* @gv_2, align 8 %21 = add i64 %20, 16 %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_9, label LBL_8 LBL_8: %26 = inttoptr i64 %20 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = load i64, i64* @gv_2, align 8 %30 = add i64 %29, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32) %34 = load i64, i64* @gv_2, align 8 %35 = call i64 @FUNC(i64 %34) store i64 0, i64* @gv_2, align 8 store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = call i64 @FUNC(i64 %20, i64 %20) store i64 %36, 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 i8* %8, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 (i64*, i64, i64*)* @pstrcat, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @pstrcpy, { 1, 0 } uselistorder i64 4096, { 2, 1, 0, 3 } uselistorder i32 0, { 2, 1, 3, 4, 0 } uselistorder [2 x i8]* @gv_0, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_10, { 2, 3, 1, 0 } }
0
BinRealVul
vnc_desktop_resize_16982
vnc_desktop_resize
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %2, i64 1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = call i64 @FUNC(i64 %7) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %15, %17 %19 = icmp eq i1 %18, false %.pre = add i64 %2, 8 %.pre2 = inttoptr i64 %.pre to i32* br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = load i32, i32* %.pre2, align 4 %21 = call i64 @FUNC(i64 %7) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %20, %22 store i64 %21, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %7) %25 = trunc i64 %24 to i32 store i32 %25, i32* %14, align 4 %26 = call i64 @FUNC(i64 %7) %27 = trunc i64 %26 to i32 store i32 %27, i32* %.pre2, align 4 %28 = call i64 @FUNC(i64 %2) %29 = call i64 @FUNC(i64 %2, i64 0) %30 = call i64 @FUNC(i64 %2, i64 0) %31 = call i64 @FUNC(i64 %2, i64 1) %32 = load i32, i32* %.pre2, align 4 %33 = load i32, i32* %14, align 4 %34 = zext i32 %32 to i64 %35 = zext i32 %33 to i64 %36 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 %35, i64 %34, i64 0) %37 = call i64 @FUNC(i64 %2) %38 = call i64 @FUNC(i64 %2) store i64 %38, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 2, 0, 3 } uselistorder i64 %2, { 2, 1, 3, 4, 7, 6, 5, 0, 8, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 } uselistorder i64 (i64)* @surface_height, { 1, 0 } uselistorder i64 (i64)* @surface_width, { 1, 0 } uselistorder i64 4294967295, { 0, 2, 3, 1 } uselistorder label LBL_5, { 3, 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
qemu_fclose_14171
qemu_fclose
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %arg1, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %phitmp = and i64 %4, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %5 = call i64 @FUNC(i64 %arg1) ret i64 %sv_0.0.reload uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3 } }
1
BinRealVul
crypto_aes_ccm_alloc_ctx_5973
crypto_aes_ccm_alloc_ctx
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0, i64 1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: store i64 %0, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
alloc_ucounts_5925
alloc_ucounts
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = call i64 @FUNC(i64 %0, i64 %1, i64 %2) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 16, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_7 LBL_2: %sext = mul i64 %arg2, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = inttoptr i64 %8 to i64* store i64 %0, i64* %12, align 8 %13 = trunc i64 %11 to i32 %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %8, 12 %17 = call i64 @FUNC(i64 %16, i64 1) %18 = call i64 @FUNC(i64* nonnull @gv_0) %19 = and i64 %11, 4294967295 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %2) %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %8) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %23 = add i64 %8, 16 %24 = call i64 @FUNC(i64 %23, i64 %2) %25 = load i64, i64* %12, align 8 %26 = call i64 @FUNC(i64 %25) %27 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = call i64 @FUNC(i64 %sv_0.0.reload) %29 = urem i64 %28, 256 %30 = icmp eq i64 %29, 0 %31 = call i64 @FUNC(i64* nonnull @gv_0) %32 = icmp eq i1 %30, false store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %sv_0.0.reload) 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_0.0.reload, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64*)* @spin_unlock_irq, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @find_ucounts, { 1, 0 } uselistorder i64 (i64*)* @spin_lock_irq, { 1, 0 } uselistorder i64* @gv_0, { 1, 0, 2, 3, 4 } uselistorder label LBL_7, { 2, 0, 3, 1 } }
0
BinRealVul
dns_question_add_4309
dns_question_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 4294967268, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_11 LBL_3: %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_9, label LBL_4 LBL_4: %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i64* %12 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = load i64, i64* %11, align 8 %14 = mul i64 %indvars.iv.reload, 8 %15 = add i64 %13, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 %6) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = and i64 %18, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %23 = icmp slt i32 %19, 1 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_8, label LBL_11 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp ult i64 %indvars.iv.next, %12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %24, label LBL_5, label LBL_9 LBL_9: %25 = add i64 %7, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp ugt i32 %27, %8 store i64 4294967268, i64* %rax.0.reg2mem br i1 %28, label LBL_10, label LBL_11 LBL_10: %29 = add i64 %7, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = add i32 %8, 1 %33 = bitcast i64* %arg1 to i32* store i32 %32, i32* %33, align 4 %sext = mul i64 %1, 4294967296 %34 = ashr exact i64 %sext, 29 %35 = add i64 %31, %34 %36 = call i64 @FUNC(i64 %6) %37 = inttoptr i64 %35 to i64* store i64 %36, i64* %37, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 5, 3 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_11, { 3, 1, 0, 4, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
fix_database_storage_name_4721
fix_database_storage_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 9) %2 = icmp eq i32 %1, 0 store i64 1, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 356, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) %4 = call i64 @FUNC(i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0) %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* %0, i8* %7) %9 = and i64 %4, 4294967295 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64 0, { 5, 6, 1, 2, 3, 4, 7, 8, 9, 10, 0, 11, 12, 13 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rebind_store_13812
rebind_store
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg2 to i8* %1 = call i32 @strnlen(i8* %0, i32 256) %2 = icmp slt i32 %1, 256 store i64 -22, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = call i64 @FUNC(i64 %arg2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 -19, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_5 LBL_2: %6 = inttoptr i64 %3 to i32* store i32 1, i32* %6, align 4 %7 = call i64 @FUNC(i64 %3) %8 = call i64 @FUNC(i64 %arg2, i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %sext = mul i64 %8, 4294967296 %12 = ashr exact i64 %sext, 32 store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %13 = call i64 @FUNC(i64 %arg2) store i64 %arg3, 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, 4, 3, 1, 2 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
0
BinRealVul
yc_poly_emulator_12959
yc_poly_emulator
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i8 %sv_1.111.reg2mem = alloca i32 %storemerge512.reg2mem = alloca i32 %sv_2.0.in14.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i32 %arg3, 0 store i64 0, i64* %storemerge4.reg2mem br i1 %0, label LBL_27, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i32 %arg3, 16777216 %3 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 %sext, i32* %sv_2.0.in14.reg2mem br label LBL_2 LBL_2: %sv_2.0.in14.reload = load i32, i32* %sv_2.0.in14.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %sv_2.016 = ashr exact i32 %sv_2.0.in14.reload, 24 %4 = add i64 %indvars.iv.reload, %1 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = sext i8 %6 to i32 %8 = urem i32 %sv_2.016, 256 %9 = zext i32 %8 to i64 store i32 0, i32* %storemerge512.reg2mem store i32 %7, i32* %sv_1.111.reg2mem br label LBL_3 LBL_3: %storemerge512.reload = load i32, i32* %storemerge512.reg2mem %10 = zext i32 %storemerge512.reload to i64 %11 = add i64 %10, %2 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp sgt i8 %13, 52 store i8 %13, i8* %.reg2mem br i1 %14, label LBL_24, label LBL_4 LBL_4: %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %15 = icmp sgt i8 %13, -22 br i1 %15, label LBL_8, label LBL_5 LBL_5: %16 = icmp eq i8 %13, -46 br i1 %16, label LBL_21, label LBL_6 LBL_6: %17 = icmp sgt i8 %13, -46 store i8 %13, i8* %.reg2mem br i1 %17, label LBL_24, label LBL_7 LBL_7: store i8 %13, i8* %.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem switch i8 %13, label LBL_24 [ i8 -112, label LBL_25 i8 -64, label LBL_18 ] LBL_8: %18 = sext i8 %13 to i64 %19 = add nsw i64 %18, 21 %20 = and i64 %19, 4294967295 store i64 %20, i64* @0, align 8 %trunc = trunc i64 %19 to i32 store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem store i32 %storemerge512.reload, i32* %sv_0.0.reg2mem switch i32 %trunc, label LBL_8.LBL_24_crit_edge [ i32 0, label LBL_10 i32 13, label LBL_25 i32 14, label LBL_25 i32 19, label LBL_11 i32 23, label LBL_13 i32 25, label LBL_15 i32 63, label LBL_12 i32 65, label LBL_17 i32 71, label LBL_14 i32 73, label LBL_16 ] LBL_9: %.pre = load i8, i8* %12, align 1 store i8 %.pre, i8* %.reg2mem br label LBL_24 LBL_10: %21 = add i32 %storemerge512.reload, 1 %22 = zext i32 %21 to i64 %23 = add i64 %22, %2 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = sext i8 %25 to i32 %27 = add i32 %21, %26 store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %27, i32* %sv_0.0.reg2mem br label LBL_25 LBL_11: %28 = mul i32 %sv_1.111.reload, 16777216 %sext9 = add i32 %28, -16777216 %29 = ashr exact i32 %sext9, 24 %30 = add i32 %storemerge512.reload, 1 store i32 %29, i32* %sv_1.0.reg2mem store i32 %30, i32* %sv_0.0.reg2mem br label LBL_25 LBL_12: %31 = sub i32 %sv_1.111.reload, %sv_2.016 %sext7 = mul i32 %31, 16777216 %32 = ashr exact i32 %sext7, 24 %33 = add i32 %storemerge512.reload, 1 store i32 %32, i32* %sv_1.0.reg2mem store i32 %33, i32* %sv_0.0.reg2mem br label LBL_25 LBL_13: %34 = add i32 %sv_1.111.reload, %sv_2.016 %sext8 = mul i32 %34, 16777216 %35 = ashr exact i32 %sext8, 24 %36 = add i32 %storemerge512.reload, 1 store i32 %35, i32* %sv_1.0.reg2mem store i32 %36, i32* %sv_0.0.reg2mem br label LBL_25 LBL_14: %37 = xor i32 %sv_1.111.reload, %sv_2.016 %sext6 = mul i32 %37, 16777216 %38 = ashr exact i32 %sext6, 24 %39 = add i32 %storemerge512.reload, 1 store i32 %38, i32* %sv_1.0.reg2mem store i32 %39, i32* %sv_0.0.reg2mem br label LBL_25 LBL_15: %40 = add i32 %storemerge512.reload, 1 %41 = zext i32 %40 to i64 %42 = add i64 %41, %2 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = trunc i32 %sv_1.111.reload to i8 %46 = add i8 %44, %45 %47 = sext i8 %46 to i32 store i32 %47, i32* %sv_1.0.reg2mem store i32 %40, i32* %sv_0.0.reg2mem br label LBL_25 LBL_16: %48 = add i32 %storemerge512.reload, 1 %49 = zext i32 %48 to i64 %50 = add i64 %49, %2 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = trunc i32 %sv_1.111.reload to i8 %54 = xor i8 %52, %53 %55 = sext i8 %54 to i32 store i32 %55, i32* %sv_1.0.reg2mem store i32 %48, i32* %sv_0.0.reg2mem br label LBL_25 LBL_17: %56 = add i32 %storemerge512.reload, 1 %57 = zext i32 %56 to i64 %58 = add i64 %57, %2 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = trunc i32 %sv_1.111.reload to i8 %62 = sub i8 %61, %60 %63 = sext i8 %62 to i32 store i32 %63, i32* %sv_1.0.reg2mem store i32 %56, i32* %sv_0.0.reg2mem br label LBL_25 LBL_18: %64 = add i32 %storemerge512.reload, 1 %65 = zext i32 %64 to i64 %66 = add i64 %65, %2 %67 = inttoptr i64 %66 to i8* %68 = load i8, i8* %67, align 1 %69 = icmp eq i8 %68, -64 %70 = icmp eq i1 %69, false %71 = add i32 %storemerge512.reload, 2 %72 = zext i32 %71 to i64 %73 = add i64 %72, %2 %74 = inttoptr i64 %73 to i8* %75 = load i8, i8* %74, align 1 %76 = urem i32 %sv_1.111.reload, 256 %77 = zext i32 %76 to i64 %78 = zext i8 %75 to i64 br i1 %70, label LBL_20, label LBL_19 LBL_19: %79 = call i64 @FUNC(i64 %77, i64 %78) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %71, i32* %sv_0.0.reg2mem br label LBL_25 LBL_20: %80 = call i64 @FUNC(i64 %77, i64 %78) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %71, i32* %sv_0.0.reg2mem br label LBL_25 LBL_21: %81 = add i32 %storemerge512.reload, 1 %82 = zext i32 %81 to i64 %83 = add i64 %82, %2 %84 = inttoptr i64 %83 to i8* %85 = load i8, i8* %84, align 1 %86 = icmp eq i8 %85, -56 %87 = icmp eq i1 %86, false %88 = add i32 %storemerge512.reload, 2 %89 = urem i32 %sv_1.111.reload, 256 %90 = zext i32 %89 to i64 br i1 %87, label LBL_23, label LBL_22 LBL_22: %91 = call i64 @FUNC(i64 %90, i64 %9) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %88, i32* %sv_0.0.reg2mem br label LBL_25 LBL_23: %92 = call i64 @FUNC(i64 %90, i64 %9) store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %88, i32* %sv_0.0.reg2mem br label LBL_25 LBL_24: %.reload = load i8, i8* %.reg2mem %93 = zext i8 %.reload to i64 %94 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %93) store i64 1, i64* %storemerge4.reg2mem br label LBL_27 LBL_25: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %95 = add i32 %sv_0.0.reload, 1 %96 = icmp ult i32 %95, 48 store i32 %95, i32* %storemerge512.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem br i1 %96, label LBL_3, label LBL_26 LBL_26: %sext3 = add i32 %sv_2.0.in14.reload, -16777216 %97 = trunc i32 %sv_1.0.reload to i8 store i8 %97, i8* %5, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %98 = icmp ult i64 %indvars.iv.next, %3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sext3, i32* %sv_2.0.in14.reg2mem store i64 0, i64* %storemerge4.reg2mem br i1 %98, label LBL_2, label LBL_27 LBL_27: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i64 %90, { 1, 0 } uselistorder i32 %88, { 1, 0 } uselistorder i64 %78, { 1, 0 } uselistorder i64 %77, { 1, 0 } uselistorder i32 %71, { 1, 0, 2 } uselistorder i32 %sv_1.111.reload, { 4, 3, 15, 1, 0, 14, 10, 11, 8, 12, 13, 9, 16, 5, 6, 7, 2 } uselistorder i8 %13, { 8, 3, 0, 1, 4, 5, 6, 2, 7 } uselistorder i32 %storemerge512.reload, { 3, 6, 4, 5, 12, 14, 10, 13, 9, 11, 8, 7, 1, 2, 0, 15 } uselistorder i64 %9, { 1, 0 } uselistorder i32 %sv_2.016, { 2, 1, 3, 0 } uselistorder i64 %2, { 4, 5, 6, 2, 3, 1, 0, 7 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.in14.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge512.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.111.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 2, 1, 13, 15, 11, 14, 10, 12, 9, 6, 7, 8, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 2, 1, 13, 15, 11, 14, 10, 12, 9, 6, 7, 8, 3 } uselistorder i64* %storemerge4.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64, i64)* @CLI_ROR, { 1, 0 } uselistorder i64 (i64, i64)* @CLI_ROL, { 1, 0 } uselistorder i32 -16777216, { 1, 0 } uselistorder i8 -64, { 1, 0 } uselistorder i32 24, { 4, 2, 3, 1, 0 } uselistorder i32 %arg3, { 1, 0, 2 } uselistorder label LBL_27, { 0, 2, 1 } uselistorder label LBL_25, { 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, 9, 10, 2, 1, 0 } uselistorder label LBL_24, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
hook_build_update_3970
hook_build_update
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg2, %arg1 store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %0, i64 %0, i64 %2) %storemerge.in.in1 = add i64 %0, 8 %storemerge.in2 = inttoptr i64 %storemerge.in.in1 to i64* %storemerge3 = load i64, i64* %storemerge.in2, align 8 %4 = icmp eq i64 %storemerge3, 0 %5 = icmp eq i1 %4, false store i64 %storemerge3, i64* %storemerge4.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %6 = call i64 @FUNC(i64 %0, i64 %storemerge4.reload) %storemerge.in.in = add i64 %storemerge4.reload, 8 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %7 = icmp eq i64 %storemerge, 0 %8 = icmp eq i1 %7, false store i64 %storemerge, i64* %storemerge4.reg2mem br i1 %8, label LBL_2, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0, i64 %2) store i64 %9, 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 %storemerge4.reload, { 1, 0 } uselistorder i64 %0, { 2, 3, 1, 5, 4, 0 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
acpi_build_tables_cleanup_15138
acpi_build_tables_cleanup
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i8 %1, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %5 = urem i64 %arg2, 256 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %5) %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 %5) %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %5) ret i64 %17 uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 (i64, i64)* @g_array_free, { 2, 1, 0 } }
1
BinRealVul
CloseSource_9649
CloseSource
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to %_IO_FILE* %2 = call i32 @fclose(%_IO_FILE* %1) %3 = inttoptr i64 %arg1 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = inttoptr i64 %6 to i64* call void @free(i64* %8) store i64 0, i64* %5, align 8 br label LBL_3 LBL_3: %9 = add i64 %arg1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = inttoptr i64 %11 to i64* call void @free(i64* %13) store i64 0, i64* %10, align 8 br label LBL_5 LBL_5: call void @free(i64* %3) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3, 4 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
relay_open_buf_18326
relay_open_buf
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %10 = call i64 @FUNC(i64 256, i64 0) %11 = icmp eq i64 %10, 0 store i64 0, i64* %storemerge.reg2mem br i1 %11, label LBL_7, label LBL_3 LBL_3: %sext = mul i64 %arg2, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = inttoptr i64 %10 to i8* %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = and i64 %12, 4294967295 %19 = inttoptr i64 %17 to i8* %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %13, i32 255, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %19, i64 %18) %21 = call i64 @FUNC(i64 %14) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_6, label LBL_4 LBL_4: %23 = bitcast i64* %rdi to i32* %24 = inttoptr i64 %21 to i32* %25 = trunc i64 %12 to i32 store i32 %25, i32* %24, align 4 %26 = call i64 @FUNC(i64 %21, i64 1) %27 = add i64 %21, 8 %28 = inttoptr i64 %27 to i64* store i64 %10, i64* %28, align 8 %29 = load i32, i32* %23, align 8 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = add i64 %14, 16 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* store i64 %21, i64* %34, align 8 store i32 0, i32* %24, align 4 br label LBL_6 LBL_6: %35 = call i64 @FUNC(i64 %10) store i64 %21, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
1
BinRealVul
e1000_post_load_1453
e1000_post_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = inttoptr i64 %6 to i8* %8 = urem i64 %1, 2 %9 = icmp eq i64 %8, 0 %10 = zext i1 %9 to i8 store i8 %10, i8* %7, align 1 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 4 %15 = icmp eq i32 %14, 3 br i1 %15, label LBL_1, label LBL_3 LBL_1: %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = and i32 %18, 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_2 LBL_2: store i8 0, i8* %7, align 1 %22 = load i64, i64* @gv_0, align 8 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %23, 500 %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = and i64 %24, 4294967295 %29 = call i64 @FUNC(i64 %27, i64 %28) br label LBL_3 LBL_3: ret i64 0 uselistorder i32 4, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
ok_csv_circular_buffer_skip_12388
ok_csv_circular_buffer_skip
define i64 @FUNC(i64* %arg1, i64 %arg2) 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 = icmp ult i64 %3, %arg2 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, %arg2 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = urem i64 %5, %8 store i64 %9, i64* %arg1, align 8 %10 = load i64, i64* %2, align 8 %11 = sub i64 %10, %arg2 store i64 %11, i64* %2, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
monitor_init_3432
monitor_init
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC() %3 = call i64 @FUNC() store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8 br label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 32) %5 = call i64 @FUNC(i64 %4) %6 = ptrtoint i32* %arg1 to i64 %7 = inttoptr i64 %4 to i64* store i64 %6, i64* %7, align 8 %8 = trunc i64 %arg2 to i32 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = urem i64 %arg2, 2 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 4198901, i64 4198912, i64 %4, i64 4198919) %14 = add i64 %4, 16 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 %4, i64 0) br label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %4) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %6, i64 4198859, i64 4198866, i64 4198873, i64 %4) %21 = call i64 @FUNC(i64 %6, i64 1) %22 = add i64 %4, 24 %23 = call i64 @FUNC(i64 %22, i64 4198894) br label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 %6, i64 4198859, i64 4198880, i64 4198887, i64 %4) br label LBL_7 LBL_7: %25 = call i64 @FUNC(i64* nonnull @gv_1) %26 = call i64 @FUNC(i64* nonnull @gv_1) ret i64 %26 uselistorder i64 %6, { 0, 2, 1, 3 } uselistorder i64 %4, { 3, 4, 5, 6, 0, 2, 1, 7, 8, 9 } uselistorder i64 (i64, i64, i64, i64, i64)* @qemu_chr_add_handlers, { 1, 0 } }
0
BinRealVul
virtio_gpu_cleanup_mapping_2026
virtio_gpu_cleanup_mapping
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) store i64 0, i64* %arg1, align 8 store i32 0, i32* %2, align 4 ret i64 %0 uselistorder i64 %0, { 0, 2, 1 } }
0
BinRealVul
decode_blocks_14432
decode_blocks
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %storemerge34.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp sgt i32 %5, 0 store i64 0, i64* %storemerge2.reg2mem br i1 %6, label LBL_1, label LBL_7 LBL_1: %7 = trunc i64 %1 to i32 %8 = icmp sgt i32 %7, 0 store i32 0, i32* %storemerge5.reg2mem br label LBL_4.preheader LBL_2: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %9 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge34.reload, i32 %storemerge5.reload) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = and i64 %9, 4294967295 store i64 %13, i64* %storemerge2.reg2mem br label LBL_7 LBL_4: %14 = add nuw nsw i32 %storemerge34.reload, 1 %15 = icmp slt i32 %14, %7 store i32 %14, i32* %storemerge34.reg2mem br i1 %15, label LBL_2, label LBL_5 LBL_5: %16 = add nuw nsw i32 %storemerge5.reload, 1 %17 = icmp slt i32 %16, %5 store i32 %16, i32* %storemerge5.reg2mem store i64 0, i64* %storemerge2.reg2mem br i1 %17, label LBL_4.preheader, label LBL_7 LBL_6: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem store i32 0, i32* %storemerge34.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_7: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i32 %5, { 1, 0 } uselistorder i32* %storemerge34.reg2mem, { 1, 2, 0 } uselistorder i64* %storemerge2.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 4, 0, 2, 3 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_4.preheader, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
qmp_netdev_del_15723
qmp_netdev_del
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i8* %arg1 to i64 %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(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %1) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %2) %7 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %0) %8 = call i64 @FUNC(i64 %7, i64 %1) %9 = call i64 @FUNC(i64 %8) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
fast_get_data_ready_6109
fast_get_data_ready
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = icmp ult i64 %2, %arg2 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = call i64 @FUNC(i64 %0, i64 1) %6 = call i64 @FUNC(i64 %0) store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @raw_get_data_ready, { 1, 0 } }
0
BinRealVul
curlx_strdup_4945
curlx_strdup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = inttoptr i64 %arg1 to i8* %3 = call i32 @strlen(i8* %2) %4 = add i32 %3, 1 %5 = call i64* @malloc(i32 %4) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = bitcast i64* %5 to i8* %9 = call i8* @strcpy(i8* %8, i8* %2) %10 = ptrtoint i64* %5 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %5, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
esp_slave_configure_3956
esp_slave_configure
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = inttoptr i64 %6 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %2, i64 %16) br label LBL_2 LBL_2: %sext = mul i64 %1, 4294967296 %18 = ashr exact i64 %sext, 30 %19 = add i64 %9, %18 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = or i32 %21, 1 store i32 %22, i32* %20, align 4 %23 = add i64 %2, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_4, label LBL_3 LBL_3: %30 = call i64 @FUNC(i64 %2) br label LBL_4 LBL_4: ret i64 0 uselistorder i32* %20, { 1, 0 } uselistorder i64 %2, { 0, 1, 3, 2, 4 } }
0
BinRealVul
tcg_add_target_add_op_defs_7706
tcg_add_target_add_op_defs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %sv_0.114.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge320.reg2mem = alloca i32 %.reg2mem38 = alloca i64 %storemerge4.lcssa28.reg2mem = alloca i64 %.reg2mem36 = alloca i8* %.reg2mem34 = alloca i8 %indvars.iv26.reg2mem = alloca i64 %storemerge21.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_1 = alloca i8*, align 8 %0 = bitcast i64* %arg1 to i32* %1 = load i32, i32* %0, align 4 %2 = icmp eq i32 %1, -1 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i8** %sv_1 to i64* store i32 %1, i32* %.reg2mem store i64 %3, i64* %storemerge21.reg2mem br label LBL_3 LBL_2: store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.114.reg2mem br label LBL_32 LBL_3: %storemerge21.reload = load i64, i64* %storemerge21.reg2mem %.reload = load i32, i32* %.reg2mem %5 = icmp ult i32 %.reload, 256 br i1 %5, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %6 = sext i32 %.reload to i64 %7 = mul nsw i64 %6, 472 %8 = add i64 %7, add (i64 ptrtoint (i64* @gv_3 to i64), i64 8) %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 8 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_7: %12 = add i64 %7, ptrtoint (i64* @gv_3 to i64) store i32 1, i32* %9, align 8 %13 = add i64 %7, add (i64 ptrtoint (i64* @gv_3 to i64), i64 12) %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %7, add (i64 ptrtoint (i64* @gv_3 to i64), i64 16) %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 8 %19 = add i32 %18, %15 %20 = icmp sgt i32 %19, 0 %21 = add i64 %storemerge21.reload, 8 store i64 0, i64* %storemerge4.lcssa28.reg2mem br i1 %20, label LBL_8, label LBL_26 LBL_8: %22 = sext i32 %19 to i64 store i64 0, i64* %indvars.iv26.reg2mem br label LBL_9 LBL_9: %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %23 = mul i64 %indvars.iv26.reload, 8 %24 = add i64 %21, %23 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i8* store i8* %27, i8** %sv_1, align 8 %28 = icmp eq i64 %26, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_11, label LBL_10 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 76, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_11 LBL_11: %30 = mul nuw nsw i64 %indvars.iv26.reload, 24 %31 = add i64 %30, %12 %32 = add i64 %31, 32 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %31, 24 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 8 %38 = load i8*, i8** %sv_1, align 8 %39 = load i8, i8* %38, align 1 %.off = add i8 %39, -48 %40 = icmp ugt i8 %.off, 9 br i1 %40, label LBL_12, label LBL_13 LBL_12: %41 = icmp eq i8 %39, 0 store i8 %39, i8* %.reg2mem34 br i1 %41, label LBL_24, label LBL_18 LBL_13: %42 = sext i8 %39 to i32 %43 = add nsw i32 %42, -48 %44 = load i32, i32* %17, align 8 %45 = zext i32 %44 to i64 %46 = sext i32 %43 to i64 %47 = icmp slt i64 %46, %45 br i1 %47, label LBL_15, label LBL_14 LBL_14: call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 82, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_15 LBL_15: %narrow = mul nsw i32 %43, 24 %48 = sext i32 %narrow to i64 %49 = add i64 %12, %48 %50 = add i64 %49, 24 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 8 %53 = urem i32 %52, 2 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_17, label LBL_16 LBL_16: call void @__assert_fail(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_17 LBL_17: %56 = inttoptr i64 %50 to i64* %57 = load i64, i64* %56, align 8 %58 = add i64 %49, 32 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = inttoptr i64 %36 to i64* store i64 %57, i64* %61, align 8 store i64 %60, i64* %33, align 8 %62 = add i64 %49, 40 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %31, 40 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 store i32 2, i32* %51, align 8 %67 = inttoptr i64 %62 to i32* %68 = trunc i64 %indvars.iv26.reload to i32 store i32 %68, i32* %67, align 8 %69 = load i32, i32* %37, align 8 %70 = or i32 %69, 4 store i32 %70, i32* %37, align 8 %71 = inttoptr i64 %65 to i32* store i32 %43, i32* %71, align 8 br label LBL_24 LBL_18: %.reload35 = load i8, i8* %.reg2mem34 %72 = icmp eq i8 %.reload35, 105 %73 = icmp eq i1 %72, false br i1 %73, label LBL_20, label LBL_19 LBL_19: %74 = load i32, i32* %37, align 8 %75 = or i32 %74, 8 store i32 %75, i32* %37, align 8 %76 = load i8*, i8** %sv_1, align 8 %77 = ptrtoint i8* %76 to i64 %78 = add i64 %77, 1 %79 = inttoptr i64 %78 to i8* store i8* %79, i8** %sv_1, align 8 store i8* %79, i8** %.reg2mem36 br label LBL_22 LBL_20: %80 = call i64 @FUNC(i64 %36, i64* nonnull %4) %81 = trunc i64 %80 to i32 %82 = icmp slt i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_20.LBL_22_crit_edge, label LBL_23 LBL_21: %.pre = load i8*, i8** %sv_1, align 8 store i8* %.pre, i8** %.reg2mem36 br label LBL_22 LBL_22: %.reload37 = load i8*, i8** %.reg2mem36 %84 = load i8, i8* %.reload37, align 1 %85 = icmp eq i8 %84, 0 store i8 %84, i8* %.reg2mem34 br i1 %85, label LBL_24, label LBL_18 LBL_23: %86 = inttoptr i64 %12 to i64* %87 = load i64, i64* %86, align 8 %88 = load i8*, i8** %sv_1, align 8 %89 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %90 = and i64 %indvars.iv26.reload, 4294967295 %91 = inttoptr i64 %87 to i8* %92 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %89, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_9, i64 0, i64 0), i8* %88, i64 %90, i8* %91) call void @exit(i32 1) unreachable LBL_24: %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %93 = icmp slt i64 %indvars.iv.next27, %22 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem br i1 %93, label LBL_9, label LBL_25 LBL_25: %94 = trunc i64 %indvars.iv.next27 to i32 %95 = icmp eq i32 %94, 16 store i64 %indvars.iv.next27, i64* %storemerge4.lcssa28.reg2mem br i1 %95, label LBL_28, label LBL_26 LBL_26: %storemerge4.lcssa28.reload = load i64, i64* %storemerge4.lcssa28.reg2mem %sext = mul i64 %storemerge4.lcssa28.reload, 4294967296 %96 = ashr exact i64 %sext, 29 %97 = add i64 %21, %96 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = icmp eq i64 %99, 0 br i1 %100, label LBL_28, label LBL_27 LBL_27: call void @__assert_fail(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 102, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) br label LBL_28 LBL_28: %101 = load i32, i32* %17, align 8 %102 = call i64 @FUNC(i64 %12, i64 0, i32 %101) %103 = load i32, i32* %14, align 4 %104 = load i32, i32* %17, align 8 %105 = zext i32 %104 to i64 %106 = call i64 @FUNC(i64 %12, i64 %105, i32 %103) %107 = inttoptr i64 %12 to i64* %108 = load i64, i64* %107, align 8 %109 = inttoptr i64 %108 to i8* %110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0), i8* %109) %111 = load i32, i32* %17, align 8 %112 = load i32, i32* %14, align 4 %113 = sub i32 0, %111 %114 = icmp eq i32 %112, %113 br i1 %114, label LBL_31, label LBL_29 LBL_29: %115 = add i64 %7, add (i64 ptrtoint (i64* @gv_3 to i64), i64 408) store i64 0, i64* %.reg2mem38 store i32 0, i32* %storemerge320.reg2mem br label LBL_30 LBL_30: %storemerge320.reload = load i32, i32* %storemerge320.reg2mem %.reload39 = load i64, i64* %.reg2mem38 %116 = mul i64 %.reload39, 4 %117 = add i64 %115, %116 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = zext i32 %119 to i64 %121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_12, i64 0, i64 0), i64 %120) %122 = add i32 %storemerge320.reload, 1 %123 = load i32, i32* %17, align 8 %124 = load i32, i32* %14, align 4 %125 = add i32 %124, %123 %126 = zext i32 %125 to i64 %127 = sext i32 %122 to i64 %128 = icmp slt i64 %127, %126 store i64 %127, i64* %.reg2mem38 store i32 %122, i32* %storemerge320.reg2mem br i1 %128, label LBL_30, label LBL_31 LBL_31: %129 = call i32 @putchar(i32 10) %130 = add i64 %storemerge21.reload, 136 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = icmp eq i32 %132, -1 store i32 %132, i32* %.reg2mem store i64 %130, i64* %storemerge21.reg2mem br i1 %133, label LBL_2, label LBL_3 LBL_32: %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %134 = icmp eq i64 %indvars.iv.reload, 1 %135 = icmp eq i1 %134, false %136 = mul nuw nsw i64 %indvars.iv.reload, 472 %137 = add i64 %136, ptrtoint (i32** @gv_13 to i64) %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 8 %140 = icmp eq i32 %139, 0 br i1 %135, label LBL_35, label LBL_33 LBL_33: store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem br i1 %140, label LBL_37, label LBL_34 LBL_34: %141 = add i64 %136, ptrtoint (i64* @gv_3 to i64) %142 = inttoptr i64 %141 to i64* %143 = load i64, i64* %142, align 8 %144 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %145 = inttoptr i64 %143 to i8* %146 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %144, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_14, i64 0, i64 0), i8* %145) store i32 1, i32* %sv_0.0.reg2mem br label LBL_37 LBL_35: %147 = icmp eq i1 %140, false store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem br i1 %147, label LBL_37, label LBL_36 LBL_36: %148 = add i64 %136, ptrtoint (i64* @gv_3 to i64) %149 = inttoptr i64 %148 to i64* %150 = load i64, i64* %149, align 8 %151 = load %_IO_FILE*, %_IO_FILE** @gv_8, align 8 %152 = inttoptr i64 %150 to i8* %153 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %151, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_15, i64 0, i64 0), i8* %152) store i32 1, i32* %sv_0.0.reg2mem br label LBL_37 LBL_37: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem br i1 %exitcond, label LBL_38, label LBL_32 LBL_38: %154 = icmp eq i32 %sv_0.0.reload, 1 %155 = icmp eq i1 %154, false br i1 %155, label LBL_40, label LBL_39 LBL_39: %156 = call i64 @FUNC() unreachable LBL_40: ret i64 256 uselistorder i1 %140, { 1, 0 } uselistorder i64 %136, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv.next27, { 0, 2, 1, 3 } uselistorder i64 %49, { 1, 0, 2 } uselistorder i32 %43, { 1, 0, 2 } uselistorder i8 %39, { 3, 0, 1, 2 } uselistorder i32* %37, { 3, 2, 1, 0, 4 } uselistorder i64 %indvars.iv26.reload, { 0, 3, 1, 2, 4 } uselistorder i32* %17, { 1, 0, 2, 3, 4, 5 } uselistorder i32* %14, { 1, 0, 2, 3 } uselistorder i64 %12, { 3, 4, 5, 0, 1, 2 } uselistorder i64 %7, { 0, 1, 2, 4, 3 } uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %storemerge21.reload, { 1, 0 } uselistorder i8** %sv_1, { 5, 0, 4, 3, 2, 1, 6 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge21.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv26.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem34, { 2, 0, 1 } uselistorder i8** %.reg2mem36, { 0, 2, 1 } uselistorder i64* %storemerge4.lcssa28.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %storemerge320.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64 (i64, i64, i32)* @sort_constraints, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_8, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 2, 0, 1 } uselistorder i64 24, { 1, 2, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i64 8, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 5, 4, 1, 0 } uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), { 3, 0, 1, 2, 4, 5 } uselistorder i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), { 3, 0, 1, 2, 4, 5 } uselistorder i32 -1, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 0, 2, 1 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ieee80211_radiotap_iterator_init_11254
ieee80211_radiotap_iterator_init
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem7 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = ptrtoint i8* %arg2 to i64 %5 = add i64 %4, 2 %6 = inttoptr i64 %5 to i16* %7 = load i16, i16* %6, align 2 %8 = zext i16 %7 to i64 %9 = ashr exact i64 %sext, 32 %10 = icmp slt i64 %9, %8 store i64 4294967274, i64* %rax.0.reg2mem br i1 %10, label LBL_6, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg4 to i64 %12 = ptrtoint i64* %arg1 to i64 store i64 %4, i64* %arg1, align 8 %13 = load i16, i16* %6, align 2 %14 = zext i16 %13 to i32 %15 = add i64 %12, 8 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %12, 12 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %4, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i64 %12, 16 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %4, 8 %25 = add i64 %12, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = add i64 %12, 32 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 %29 = add i64 %12, 40 %30 = inttoptr i64 %29 to i64* store i64 %24, i64* %30, align 8 %31 = add i64 %12, 48 %32 = inttoptr i64 %31 to i64* store i64 %11, i64* %32, align 8 %33 = add i64 %12, 64 %34 = inttoptr i64 %33 to i64* store i64 4210725, i64* %34, align 8 %35 = add i64 %12, 72 %36 = inttoptr i64 %35 to i32* store i32 1, i32* %36, align 4 %37 = load i32, i32* %23, align 4 %38 = urem i32 %37, 2 %39 = icmp eq i32 %38, 0 %.pre4 = load i64, i64* %26, align 8 store i64 %.pre4, i64* %.reg2mem store i64 %.pre4, i64* %.reg2mem7 br i1 %39, label LBL_5, label LBL_4 LBL_3: %40 = sub i64 %49, %12 %41 = load i32, i32* %16, align 4 %42 = sext i32 %41 to i64 %43 = icmp ugt i64 %40, %42 store i64 %49, i64* %.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %43, label LBL_6, label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %44 = inttoptr i64 %.reload to i32* %45 = load i32, i32* %44, align 4 %46 = urem i32 %45, 2 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false %49 = add i64 %.reload, 4 store i64 %49, i64* %26, align 8 store i64 %49, i64* %.reg2mem7 br i1 %48, label LBL_3, label LBL_5 LBL_5: %.reload8 = load i64, i64* %.reg2mem7 %50 = add i64 %12, 56 %51 = inttoptr i64 %50 to i64* store i64 %.reload8, i64* %51, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %49, { 0, 3, 2, 1 } uselistorder i64* %26, { 1, 0, 2 } uselistorder i64 %12, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
set_reg_profile_12527
set_reg_profile
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 ptrtoint ([444 x i8]* @gv_0 to i64)) ret i64 %1 }
1
BinRealVul
key_event_8989
key_event
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext3 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext3, 32 %2 = trunc i64 %1 to i32 %.off = add i32 %2, -65 %3 = icmp ugt i32 %.off, 25 store i64 %0, i64* %.reg2mem store i64 %1, i64* %sv_0.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %.reg2mem store i64 %1, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %sext4 = add i64 %sext3, 137438953472 %7 = ashr exact i64 %sext4, 32 store i64 0, i64* %.reg2mem store i64 %7, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i64, i64* %.reg2mem %9 = urem i64 %sv_0.0.reload, 65536 %10 = and i64 %.reload, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = trunc i64 %11 to i32 %13 = urem i32 %12, 256 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = and i64 %1, 4294967295 %17 = and i64 %8, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %16, i32 %13, i64 %15) %19 = trunc i64 %8 to i32 %20 = call i64 @FUNC(i64 %0, i32 %19, i32 %13, i64 %16) ret i64 %20 uselistorder i32 %13, { 2, 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %1, { 2, 0, 1, 3 } uselistorder i64 %sext3, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 4294967296, { 1, 0 } }
0
BinRealVul
decode_syncpoint_14776
decode_syncpoint
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %storemerge.reg2mem = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %rdi.04.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem6 = alloca i64 %.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = load i32, i32* %1 %6 = add i64 %4, 40 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %9, -8 %11 = add i64 %4, 32 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i64 %4, i64 %8, i64 1) %14 = call i64 @FUNC(i64 %8) %15 = call i64 @FUNC(i64 %8) %16 = call i64 @FUNC(i64 %8) %17 = add i64 %4, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %4, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sext i32 %22 to i64 %24 = urem i64 %15, %23 %25 = mul i64 %24, 8 %26 = add i64 %25, %19 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = trunc i64 %28 to i32 %30 = add i64 %8, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 store i32 %22, i32* %.reg2mem store i64 0, i64* %.reg2mem6 store i32 0, i32* %storemerge35.reg2mem store i64 %8, i64* %rdi.04.reg2mem store i64 %23, i64* %rcx.0.lcssa.reg2mem br i1 %33, label LBL_3, label LBL_1 LBL_1: %rdi.04.reload = load i64, i64* %rdi.04.reg2mem %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %.reload = load i32, i32* %.reg2mem %34 = mul i64 %.reload7, 16 %35 = add i64 %rdi.04.reload, %34 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = mul i32 %37, %5 %39 = zext i32 %38 to i64 %40 = or i64 %34, 4 %41 = add nsw i64 %40, %39 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = mul i32 %43, %29 %45 = zext i32 %44 to i64 %46 = sext i32 %.reload to i64 %47 = udiv i64 %15, %46 %48 = call i64 @FUNC(i64 %47, i64 %45, i64 %39, i64 0) %sext = mul i64 %48, 4294967296 %49 = ashr exact i64 %sext, 32 %50 = or i64 %34, 8 %51 = add i64 %47, %50 %52 = inttoptr i64 %51 to i64* store i64 %49, i64* %52, align 8 %53 = add i32 %storemerge35.reload, 1 %54 = load i32, i32* %31, align 4 %55 = zext i32 %54 to i64 %56 = sext i32 %53 to i64 %57 = icmp slt i64 %56, %55 store i64 %47, i64* %rcx.0.lcssa.reg2mem br i1 %57, label LBL_1.LBL_1_crit_edge, label LBL_3 LBL_2: %.pre = load i32, i32* %21, align 4 store i32 %.pre, i32* %.reg2mem store i64 %56, i64* %.reg2mem6 store i32 %53, i32* %storemerge35.reg2mem store i64 %47, i64* %rdi.04.reg2mem br label LBL_1 LBL_3: %58 = add i64 %13, -4 %59 = add i64 %58, %14 %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %60 = call i64 @FUNC(i64 %8, i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_5, label LBL_4 LBL_4: %64 = call i64 @FUNC(i64 %8) %65 = trunc i64 %64 to i32 %66 = icmp eq i32 %65, 0 store i64 0, i64* %storemerge.reg2mem br i1 %66, label LBL_6, label LBL_5 LBL_5: %67 = call i64 @FUNC(i64 %8, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.0.lcssa.reload, i64 %3, i64 %2) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %47, { 1, 0, 2, 3 } uselistorder i64 %39, { 1, 0 } uselistorder i64 %34, { 1, 0, 2 } uselistorder i32* %31, { 1, 0 } uselistorder i64 %8, { 2, 1, 3, 0, 4, 5, 6, 7, 8, 9 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem6, { 2, 0, 1 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.04.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 (i64)* @get_v, { 1, 0 } uselistorder i64 32, { 0, 3, 1, 2 } uselistorder i64 (i64)* @url_ftell, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
tree_evaluate_6864
tree_evaluate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %sv_1.0.in6.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ugt i32 %2, 1 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = and i64 %1, 4294967295 store i64 %7, i64* %sv_1.0.in6.in.reg2mem store i32 1, i32* %sv_0.05.reg2mem br label LBL_2 LBL_2: %sv_1.0.in6.in.reload = load i64, i64* %sv_1.0.in6.in.reg2mem %sv_1.0.in6 = add i64 %sv_1.0.in6.in.reload, 16 %9 = add i64 %sv_1.0.in6.in.reload, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %sv_1.0.in6, i64 %12, i64 %4) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_8 LBL_3: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %sv_1.07 = inttoptr i64 %sv_1.0.in6 to i32* %17 = load i32, i32* %sv_1.07, align 4 %18 = urem i32 %17, 2 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %sv_1.0.in6, i64 %12, i64 %4) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_5, label LBL_8 LBL_5: %25 = call i64 @FUNC(i64 %4, i64 %sv_1.0.in6) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = and i64 %25, 4294967295 store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %29 = add i32 %sv_0.05.reload, 1 %30 = sext i32 %29 to i64 %31 = icmp sgt i64 %8, %30 store i64 %sv_1.0.in6, i64* %sv_1.0.in6.in.reg2mem store i32 %29, i32* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_2, label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.in6, { 0, 3, 2, 4, 1 } uselistorder i64 %sv_1.0.in6.in.reload, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_1.0.in6.in.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 1, 4 } uselistorder label LBL_8, { 2, 4, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
i440fx_update_memory_mappings_16816
i440fx_update_memory_mappings
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC() %4 = add i64 %2, 72 %5 = udiv i64 %1, 16 %6 = urem i64 %5, 4 %7 = call i64 @FUNC(i64 %2, i64 983040, i64 1048576, i64 %6, i64 %4) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = trunc i64 %indvars.iv.reload to i32 %9 = ashr i32 %8, 1 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = add i64 %12, %2 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %8, 4 %17 = and i32 %16, 4 %18 = lshr i32 %15, %17 %19 = urem i32 %18, 4 %20 = zext i32 %19 to i64 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = mul i64 %indvars.iv.next, 8 %22 = add i64 %21, %4 %23 = mul i64 %indvars.iv.reload, 16384 %24 = add nuw nsw i64 %23, 802816 %25 = add nuw nsw i64 %23, 786432 %26 = call i64 @FUNC(i64 %2, i64 %25, i64 %24, i64 %20, i64 %22) %exitcond = icmp eq i64 %indvars.iv.next, 12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %27 = add i64 %2, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %2, 64 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = icmp eq i8 %32, 0 br i1 %33, label LBL_4, label LBL_3 LBL_3: %34 = and i32 %29, 8 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false store i64 0, i64* %storemerge.reg2mem br i1 %36, label LBL_5, label LBL_4 LBL_4: %37 = and i32 %29, 64 %38 = icmp eq i32 %37, 0 %spec.select = zext i1 %38 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem %39 = add i64 %2, 176 %40 = call i64 @FUNC(i64 %39, i64 %storemerge.reload) %41 = call i64 @FUNC() ret i64 %41 uselistorder i64 %23, { 1, 0 } uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i64 %2, { 1, 3, 2, 4, 0, 5, 6 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 4, { 1, 2, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @update_pam, { 1, 0 } uselistorder i64 4, { 2, 0, 1 } }
1
BinRealVul
gdImageScaleTwoPass_19047
gdImageScaleTwoPass
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = 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) br label LBL_2 LBL_2: %sext5 = mul i64 %arg3, 4294967296 %7 = ashr exact i64 %sext5, 32 %sext6 = mul i64 %arg4, 4294967296 %8 = ashr exact i64 %sext6, 32 %9 = and i64 %7, 4294967295 %10 = and i64 %8, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_6 LBL_3: %14 = and i64 %arg5, 4294967295 %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %11, i64 %18) %20 = trunc i64 %7 to i32 %21 = trunc i64 %arg2 to i32 %22 = call i64 @FUNC(i64 %2, i32 %21, i32 %20, i64 %11, i64 %10, i64 %9) %23 = call i64 @FUNC(i64 %10, i64 %14) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %11) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %27 = load i32, i32* %16, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %23, i64 %28) %30 = trunc i64 %8 to i32 %31 = call i64 @FUNC(i64 %11, i32 %30, i32 %20, i64 %23, i64 %10, i64 %14) %32 = call i64 @FUNC(i64 %11) store i64 %23, 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, { 0, 2, 1, 3 } uselistorder i64 %11, { 2, 1, 0, 4, 3, 5 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @gdFree, { 1, 0 } uselistorder i64 (i64, i64)* @gdImageSetInterpolationMethod, { 1, 0 } uselistorder i64 (i64, i64)* @gdImageCreateTrueColor, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
av_int2dbl_2864
av_int2dbl
define i128 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %storemerge.reg2mem = alloca i64 %1 = load i128, i128* %0 %2 = mul i64 %arg1, 2 %3 = icmp ult i64 %2, -9007199254740991 store i64 9221120237041090560, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = udiv i64 %arg1, 4503599627370496 %5 = trunc i64 %4 to i32 %6 = urem i32 %5, 2048 %7 = add nsw i32 %6, -1075 %8 = and i64 %arg1, 4503599627370495 %9 = or i64 %8, 4503599627370496 %10 = ashr i64 %arg1, 63 %11 = or i64 %10, 1 %12 = mul nsw i64 %11, %9 %13 = call i128 @FUNC(i128 %1, i128 %1) %14 = call i128 @FUNC(i64 %12) %15 = call i64 @FUNC(i128 %14) %16 = call i128 @__asm_movq.1(i64 %15) %17 = trunc i128 %16 to i64 %18 = bitcast i64 %17 to double %19 = call double @ldexp(double %18, i32 %7) %20 = fptrunc double %19 to float %21 = bitcast float %20 to i32 %22 = sext i32 %21 to i128 %23 = call i64 @FUNC(i128 %22) store i64 %23, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %24 = call i128 @__asm_movq.1(i64 %storemerge.reload) ret i128 %24 uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4503599627370496, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 2, 3, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
encode_write_8359
encode_write
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, i64 %0) %3 = add i64 %0, 20 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %0, 32 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %1, i64 %11, i32 %8, i32 %5) ret i64 0 }
0
BinRealVul
mlx5_ib_destroy_wq_8974
mlx5_ib_destroy_wq
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64 %2) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %1, i64 %8, i64 %2) %10 = call i64 @FUNC(i64 %2) ret i64 0 }
0
BinRealVul
do_calculate_time_7676
do_calculate_time
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: ret i64 4294967295 }
1
BinRealVul
pm_check_save_msr_12922
pm_check_save_msr
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0) %2 = load i64, i64* @gv_1, align 8 %3 = call i64 @FUNC(i64 %2) ret i64 0 }
1
BinRealVul
perf_swevent_add_12586
perf_swevent_add
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = bitcast i64* %arg1 to i32* store i32 %7, i32* %8, align 4 %9 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %10 = urem i64 %arg2, 2 %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %1, i64 %0) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = inttoptr i64 %1 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %22 = add i64 %0, 16 %23 = call i64 @FUNC(i64 %22, i64 %15) %24 = call i64 @FUNC(i64 %0) 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 %1, { 1, 0 } uselistorder i64 %0, { 3, 2, 4, 5, 0, 1, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
parse_hex32_14240
parse_hex32
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %arg3 to i8* %4 = inttoptr i64 %2 to i32* %5 = call i32 (i8*, i8*, ...) @sscanf(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i32* %4) %6 = icmp eq i32 %5, 1 %. = select i1 %6, i64 0, i64 4294967274 ret i64 %. }
1
BinRealVul
gluster_free_server_9816
gluster_free_server
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @free(i64* nonnull %arg1) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* call void @free(i64* %5) %6 = add i64 %4, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %8, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* call void @free(i64* %13) %14 = add i64 %12, 16 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 call void @free(i64* %13) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 %0 uselistorder void (i64*)* @free, { 0, 1, 3, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
cpu_handle_halt_2380
cpu_handle_halt
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 store i64 1, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: store i32 0, i32* %arg1, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
pci_default_write_config_17177
pci_default_write_config
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi12.reg2mem = alloca i64 %sv_0.07.reg2mem = alloca i64 %rdi.18.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %sext6 = mul i64 %arg4, 4294967296 %2 = ashr exact i64 %sext6, 32 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %2 to i32 %6 = icmp sgt i32 %5, 0 br i1 %6, label LBL_2, label LBL_0.LBL_7_crit_edge LBL_1: %.pre11 = and i64 %1, 4294967295 store i64 %.pre11, i64* %.pre-phi12.reg2mem br label LBL_7 LBL_2: %sext5 = mul i64 %arg3, 4294967296 %7 = ashr exact i64 %sext5, 32 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i64* %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = and i64 %1, 4294967295 %13 = and i64 %4, 4294967295 store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %rdi.18.reg2mem store i64 %7, i64* %sv_0.07.reg2mem br label LBL_6 LBL_3: %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem %rdi.18.reload = load i64, i64* %rdi.18.reg2mem %14 = load i64, i64* %9, align 8 %15 = add i64 %14, %51 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = load i64, i64* %11, align 8 %19 = add i64 %18, %51 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = and i8 %21, %17 %23 = icmp eq i8 %22, 0 store i64 %rdi.18.reload, i64* %rdi.0.reg2mem br i1 %23, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_5 LBL_5: %24 = sext i8 %17 to i32 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %25 = add i64 %rdi.0.reload, %51 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i32 %29 = xor i32 %24, 255 %30 = and i32 %29, %28 %31 = zext i32 %30 to i64 %32 = trunc i64 %sv_0.07.reload to i32 %33 = and i32 %24, %32 %34 = add nuw nsw i64 %51, %31 %35 = or i32 %30, %33 %36 = trunc i32 %35 to i8 %37 = inttoptr i64 %34 to i8* store i8 %36, i8* %37, align 1 %38 = trunc i64 %sv_0.07.reload to i8 %39 = and i8 %21, %38 %40 = zext i8 %39 to i64 %41 = and i64 %sv_0.07.reload, 4294967040 %42 = or i64 %41, %40 %43 = xor i64 %42, 4294967295 %44 = add nuw nsw i64 %43, %51 %45 = trunc i64 %43 to i8 %46 = and i8 %36, %45 %47 = inttoptr i64 %44 to i8* store i8 %46, i8* %47, align 1 %48 = udiv i64 %sv_0.07.reload, 256 %49 = urem i64 %48, 16777216 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %50 = icmp slt i64 %indvars.iv.next, %2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %43, i64* %rdi.18.reg2mem store i64 %49, i64* %sv_0.07.reg2mem store i64 %12, i64* %.pre-phi12.reg2mem br i1 %50, label LBL_6, label LBL_7 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %51 = add nuw nsw i64 %indvars.iv.reload, %12 %52 = icmp ult i64 %51, %13 store i64 %12, i64* %.pre-phi12.reg2mem br i1 %52, label LBL_3, label LBL_7 LBL_7: %.pre-phi12.reload = load i64, i64* %.pre-phi12.reg2mem %53 = call i64 @FUNC(i64 %.pre-phi12.reload, i32 %5, i64 16, i64 24) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_11, label LBL_8 LBL_8: %57 = call i64 @FUNC(i64 %.pre-phi12.reload, i32 %5, i64 48, i64 4) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_11, label LBL_9 LBL_9: %61 = call i64 @FUNC(i64 %.pre-phi12.reload, i32 %5, i64 56, i64 4) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_11, label LBL_10 LBL_10: %65 = and i64 %2, 4294967295 %66 = call i64 @FUNC(i64 %.pre-phi12.reload, i64 %65, i64 4) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 store i64 %65, i64* %.pre-phi.reg2mem br i1 %68, label LBL_12, label LBL_11 LBL_11: %69 = call i64 @FUNC(i64 %0) %.pre = and i64 %2, 4294967295 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_12 LBL_12: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %70 = call i64 @FUNC(i64 %.pre-phi12.reload, i64 %.pre-phi.reload, i64 4) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 store i64 %70, i64* %rax.0.reg2mem br i1 %72, label LBL_14, label LBL_13 LBL_13: %73 = and i64 %3, 4294967295 %74 = call i64 @FUNC(i64 %0, i64 %73) store i64 %74, 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 %.pre-phi12.reload, { 3, 0, 1, 2, 4 } uselistorder i64 %51, { 5, 4, 3, 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %43, { 0, 2, 1 } uselistorder i8 %17, { 1, 0 } uselistorder i64 %sv_0.07.reload, { 3, 1, 0, 2 } uselistorder i64 %12, { 1, 2, 0 } uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64* %rdi.18.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi12.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @range_covers_byte, { 1, 0 } uselistorder i64 (i64, i32, i64, i64)* @ranges_overlap, { 2, 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 256, { 1, 0 } uselistorder [19 x i8]* @gv_0, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
spectre_bhb_loop_affected_12949
spectre_bhb_loop_affected
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i32 32, i32* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = call i64 @FUNC() %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9, i64* nonnull @gv_1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i32 24, i32* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = call i64 @FUNC() %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14, i64* nonnull @gv_2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %spec.select = select i1 %17, i32 0, i32 8 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %19 = zext i32 %sv_0.0.reload to i64 %20 = zext i8 %18 to i64 %21 = call i64 @FUNC(i64 %20, i64 %19) %22 = trunc i64 %21 to i8 store i8 %22, i8* bitcast (i32* @gv_3 to i8*), align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_6 LBL_5: %23 = load i8, i8* bitcast (i32* @gv_3 to i8*), align 4 %24 = sext i8 %23 to i32 store i32 %24, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %25 = urem i32 %sv_0.1.reload, 256 %26 = zext i32 %25 to i64 ret i64 %26 uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i8* bitcast (i32* @gv_3 to i8*), { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i64 (i64, i64*)* @is_midr_in_range_list, { 2, 1, 0 } uselistorder i64 ()* @read_cpuid_id, { 2, 1, 0 } uselistorder i1 false, { 1, 3, 2, 0, 4 } uselistorder i32 1, { 5, 1, 0, 6, 4, 3, 2 } }
1
BinRealVul
vidioc_queryctrl_4615
vidioc_queryctrl
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i32* %sv_0.15.reg2mem = alloca i32* %storemerge36.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %2 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_9, label LBL_1 LBL_1: %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %12, label LBL_12, label LBL_2 LBL_2: %13 = trunc i64 %1 to i32 %14 = urem i32 %4, -2147483648 %15 = add i64 %9, 8 %16 = inttoptr i64 %15 to i64* %17 = zext i32 %11 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge36.reg2mem store i32* null, i32** %sv_0.15.reg2mem br label LBL_3 LBL_3: %sv_0.15.reload = load i32*, i32** %sv_0.15.reg2mem %storemerge36.reload = load i32, i32* %storemerge36.reg2mem %18 = urem i32 %storemerge36.reload, 32 %19 = shl i32 1, %18 %20 = and i32 %19, %13 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32* %sv_0.15.reload, i32** %sv_0.0.reg2mem br i1 %22, label LBL_8, label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %23 = load i64, i64* %16, align 8 %24 = mul i64 %.reload, 4 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp ult i32 %14, %27 store i32* %sv_0.15.reload, i32** %sv_0.0.reg2mem br i1 %28, label LBL_5, label LBL_8 LBL_5: %29 = icmp eq i32* %sv_0.15.reload, null br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = load i32, i32* %sv_0.15.reload, align 4 %31 = icmp ugt i32 %27, %30 store i32* %sv_0.15.reload, i32** %sv_0.0.reg2mem br i1 %31, label LBL_8, label LBL_7 LBL_7: store i32* %26, i32** %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %32 = add i32 %storemerge36.reload, 1 %33 = sext i32 %32 to i64 %34 = icmp slt i64 %33, %17 store i64 %33, i64* %.reg2mem store i32 %32, i32* %storemerge36.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.15.reg2mem store i32* %sv_0.0.reload, i32** %sv_0.2.reg2mem br i1 %34, label LBL_3, label LBL_10 LBL_9: %35 = and i64 %2, 4294967295 %36 = call i64 @FUNC(i64 %3, i64 %35) %37 = inttoptr i64 %36 to i32* store i32* %37, i32** %sv_0.2.reg2mem br label LBL_10 LBL_10: %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem %38 = icmp eq i32* %sv_0.2.reload, null %39 = icmp eq i1 %38, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %39, label LBL_11, label LBL_12 LBL_11: %40 = load i32, i32* %sv_0.2.reload, align 4 store i32 %40, i32* %arg3, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %sv_0.2.reload, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i32* %sv_0.15.reload, { 1, 4, 3, 2, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.0.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i32** %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32* null, { 2, 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder label LBL_12, { 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
reposvul_c_test
conn_cleanup_219
conn_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_2: %4 = call i64 @FUNC(i64 %0) call void @free(i64* nonnull %arg1) store i64 0, i64* %arg1, align 8 br label LBL_3 LBL_3: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_7, label LBL_4 LBL_4: %9 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %12 = call i64 @FUNC(i64 %5) store i64 0, i64* %6, align 8 br label LBL_7 LBL_7: %13 = add i64 %0, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = icmp eq i32 %15, 1 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_9, label LBL_8 LBL_8: %19 = call i64 @FUNC(i64 %0, i64 0) store i64 %19, 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 %0, { 1, 2, 3, 4, 0 } uselistorder i64 (i64)* @conn_release_items, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
get_set_object_11987
get_set_object
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 store i8 0, i8* %sv_0, align 1 %1 = call i64 @FUNC(i64 %0, i8* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %6 = load i8, i8* %sv_0, align 1 %7 = icmp eq i8 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_5 LBL_3: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %0, i64 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_5 LBL_4: %12 = inttoptr i64 %9 to i32* store i32 1, i32* %12, align 4 store i64 %9, 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 i8* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i8 0, { 2, 1, 3, 0 } uselistorder label LBL_5, { 2, 0, 1, 3 } }
1
BinRealVul
breakline_17268
breakline
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 store i64 %0, i64* %sv_2, align 8 %1 = call i64* @calloc(i32 8, i32 1) %2 = ptrtoint i64* %1 to i64 store i32 0, i32* %sv_1.0.ph.reg2mem store i64 %2, i64* %sv_0.0.ph.reg2mem br label LBL_4 LBL_1: %3 = inttoptr i64 %22 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = mul i32 %sv_1.0.ph.reload, 8 %8 = add i32 %7, 16 %9 = inttoptr i64 %sv_0.0.ph.reload to i64* %10 = call i64* @realloc(i64* %9, i32 %8) %11 = ptrtoint i64* %10 to i64 %12 = icmp eq i64* %10, null %13 = icmp eq i1 %12, false store i32 0, i32* %sv_1.1.reg2mem store i64 %11, i64* %sv_0.1.reg2mem br i1 %13, label LBL_3, label LBL_7 LBL_3: %14 = add i32 %sv_1.0.ph.reload, 1 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = add i64 %16, %11 %18 = add i64 %17, -8 %19 = inttoptr i64 %18 to i64* store i64 %22, i64* %19, align 8 %20 = inttoptr i64 %17 to i64* store i64 0, i64* %20, align 8 store i32 %14, i32* %sv_1.0.ph.reg2mem store i64 %11, i64* %sv_0.0.ph.reg2mem br label LBL_4 LBL_4: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %21 = icmp eq i64 %sv_0.0.ph.reload, 0 br label LBL_5 LBL_5: store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64* nonnull %sv_2, i64 4202512) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem br i1 %24, label LBL_1, label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %25 = bitcast i64* %arg2 to i32* store i32 %sv_1.1.reload, i32* %25, align 4 ret i64 %sv_0.1.reload uselistorder i64 %22, { 2, 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 0, 1, 3, 2 } uselistorder i64 %sv_0.0.ph.reload, { 0, 2, 1 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder label LBL_7, { 1, 2, 0 } }
1
BinRealVul
ntlm_write_message_header_6767
ntlm_write_message_header
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, i64 %0, i64 8) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %1, i64 %6) ret i64 %7 uselistorder i64 8, { 1, 0 } }
0
BinRealVul
ip_vs_fwd_name_10009
ip_vs_fwd_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = urem i64 %arg1, 16 %1 = icmp eq i64 %0, 3 store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = trunc i64 %0 to i32 %3 = icmp ult i32 %2, 4 br i1 %3, label LBL_2, label LBL_4 LBL_2: store i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem switch i32 %2, label LBL_4 [ i32 1, label LBL_5 i32 2, label LBL_3 ] LBL_3: store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i64 ptrtoint ([5 x i8]* @gv_3 to 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 i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_5, { 2, 3, 1, 0 } }
0
BinRealVul
hbitmap_set_2885
hbitmap_set
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %arg2, -1 %2 = add i64 %1, %arg3 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = urem i64 %5, 64 %7 = lshr i64 %2, %6 %8 = lshr i64 %arg2, %6 %9 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i64 %8, i64 %7) %10 = load i64, i64* %4, align 8 %11 = urem i64 %10, 64 %12 = lshr i64 %2, %11 %13 = icmp ult i64 %12, %0 br i1 %13, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %14 = lshr i64 %arg2, %11 %15 = call i64 @FUNC(i64 %0, i64 %14, i64 %12) %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = sub i64 1, %14 %20 = add i64 %19, %12 %21 = sub i64 %20, %15 %22 = add i64 %21, %18 store i64 %22, i64* %17, align 8 %23 = call i64 @FUNC(i64 %0, i64 9, i64 %14, i64 %12) ret i64 %23 uselistorder i64 %14, { 1, 0, 2 } uselistorder i64 %12, { 1, 0, 2, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 3, 0 } }
0
BinRealVul
imap_quote_string_13649
imap_quote_string
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i8* %sv_0.1.in.lcssa.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i64 %sv_0.1.in7.reg2mem = alloca i64 %sv_2.08.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i8* %.reg2mem20 = alloca i8* %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg4 to i8 %2 = icmp eq i8 %1, 1 %spec.select = select i1 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0) %3 = add i64 %0, 1 %4 = bitcast i64* %arg1 to i8* store i8 34, i8* %4, align 1 %5 = add i64 %arg2, -3 %sv_0.14 = inttoptr i64 %3 to i8* %6 = inttoptr i64 %arg3 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp ne i8 %7, 0 %9 = icmp eq i64 %5, 0 %10 = icmp eq i1 %9, false %or.cond5 = icmp eq i1 %10, %8 store i8 %7, i8* %.reg2mem store i8* %6, i8** %.reg2mem20 store i8* %sv_0.14, i8** %sv_0.19.reg2mem store i64 %arg3, i64* %sv_2.08.reg2mem store i64 %3, i64* %sv_0.1.in7.reg2mem store i64 %5, i64* %sv_1.16.reg2mem store i64 %3, i64* %sv_0.1.in.lcssa.reg2mem store i8* %sv_0.14, i8** %sv_0.1.lcssa.reg2mem br i1 %or.cond5, label LBL_1, label LBL_6 LBL_1: %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem %sv_0.1.in7.reload = load i64, i64* %sv_0.1.in7.reg2mem %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem %.reload21 = load i8*, i8** %.reg2mem20 %.reload = load i8, i8* %.reg2mem %11 = sext i8 %.reload to i32 %12 = call i8* @strchr(i8* %spec.select, i32 %11) %13 = icmp eq i8* %12, null br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = icmp ult i64 %sv_1.16.reload, 2 store i64 %sv_0.1.in7.reload, i64* %sv_0.1.in.lcssa.reg2mem store i8* %sv_0.19.reload, i8** %sv_0.1.lcssa.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = add i64 %sv_1.16.reload, -2 %16 = add i64 %sv_0.1.in7.reload, 1 store i8 92, i8* %sv_0.19.reload, align 1 %17 = add i64 %sv_0.1.in7.reload, 2 %18 = load i8, i8* %.reload21, align 1 %19 = inttoptr i64 %16 to i8* store i8 %18, i8* %19, align 1 store i64 %15, i64* %sv_1.0.reg2mem store i64 %17, i64* %sv_0.0.in.reg2mem br label LBL_5 LBL_4: %20 = add i64 %sv_0.1.in7.reload, 1 %21 = load i8, i8* %.reload21, align 1 store i8 %21, i8* %sv_0.19.reload, align 1 %22 = add i64 %sv_1.16.reload, -1 store i64 %22, i64* %sv_1.0.reg2mem store i64 %20, i64* %sv_0.0.in.reg2mem br label LBL_5 LBL_5: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %23 = add i64 %sv_2.08.reload, 1 %sv_0.1 = inttoptr i64 %sv_0.0.in.reload to i8* %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = icmp ne i8 %25, 0 %27 = icmp eq i64 %sv_1.0.reload, 0 %28 = icmp eq i1 %27, false %or.cond = icmp eq i1 %28, %26 store i8 %25, i8* %.reg2mem store i8* %24, i8** %.reg2mem20 store i8* %sv_0.1, i8** %sv_0.19.reg2mem store i64 %23, i64* %sv_2.08.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.1.in7.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.16.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.1.in.lcssa.reg2mem store i8* %sv_0.1, i8** %sv_0.1.lcssa.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_6: %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem %sv_0.1.in.lcssa.reload = load i64, i64* %sv_0.1.in.lcssa.reg2mem %29 = add i64 %sv_0.1.in.lcssa.reload, 1 store i8 34, i8* %sv_0.1.lcssa.reload, align 1 %30 = inttoptr i64 %29 to i8* store i8 0, i8* %30, align 1 ret i64 %29 uselistorder i64 %29, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %sv_0.0.in.reload, { 0, 2, 1 } uselistorder i8* %.reload21, { 1, 0 } uselistorder i8* %sv_0.19.reload, { 1, 2, 0 } uselistorder i64 %sv_0.1.in7.reload, { 1, 3, 2, 0 } uselistorder i64 %sv_1.16.reload, { 2, 1, 0 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem20, { 2, 0, 1 } uselistorder i8** %sv_0.19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.08.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.in7.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.16.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.in.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i8** %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64 2, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
rdma_delete_block_71
rdma_delete_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.reg2mem35 = alloca i64 %.reg2mem33 = alloca i32 %.reg2mem31 = alloca i64 %rdi.115.reg2mem = alloca i64 %.reg2mem29 = alloca i32 %rdi.1.reg2mem = alloca i64 %.reg2mem27 = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i64 %.reg2mem21 = alloca i32 %storemerge26.reg2mem = alloca i32 %.reg2mem19 = alloca i64 %.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 %0, i64* %rsi.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 40 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %4, i64 %8) store i64 %8, i64* %rsi.0.reg2mem br label LBL_2 LBL_2: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %10 = icmp eq i64 %rsi.0.reload, 0 br i1 %10, label LBL_9, label LBL_3 LBL_3: %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_8, label LBL_4 LBL_4: %15 = add i64 %1, 24 %16 = inttoptr i64 %15 to i32* store i32 %13, i32* %.reg2mem store i64 0, i64* %.reg2mem19 store i32 0, i32* %storemerge26.reg2mem br label LBL_5 LBL_5: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %.reload20 = load i64, i64* %.reg2mem19 %.reload = load i32, i32* %.reg2mem %17 = mul i64 %.reload20, 8 %18 = add i64 %17, %rsi.0.reload %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i32 %.reload, i32* %.reg2mem21 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 %20) %23 = load i32, i32* %16, align 4 %24 = add i32 %23, -1 store i32 %24, i32* %16, align 4 %.pre = load i32, i32* %12, align 4 store i32 %.pre, i32* %.reg2mem21 br label LBL_7 LBL_7: %.reload22 = load i32, i32* %.reg2mem21 %25 = add i32 %storemerge26.reload, 1 %26 = zext i32 %.reload22 to i64 %27 = sext i32 %25 to i64 %28 = icmp slt i64 %27, %26 store i32 %.reload22, i32* %.reg2mem store i64 %27, i64* %.reg2mem19 store i32 %25, i32* %storemerge26.reg2mem br i1 %28, label LBL_5, label LBL_8 LBL_8: %29 = call i64 @FUNC(i64 %rsi.0.reload) store i64 0, i64* %arg2, align 8 br label LBL_9 LBL_9: %30 = add i64 %0, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = call i64 @FUNC(i64 %32) %35 = add i64 %1, 24 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i32 %37, -1 store i32 %38, i32* %36, align 4 store i64 0, i64* %31, align 8 br label LBL_11 LBL_11: %39 = add i64 %0, 24 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %41) store i64 0, i64* %40, align 8 %43 = add i64 %0, 32 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45) store i64 0, i64* %44, align 8 %47 = add i64 %0, 72 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = call i64 @FUNC(i64 %49) store i64 0, i64* %48, align 8 %51 = add i64 %0, 16 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53) store i64 0, i64* %52, align 8 %55 = load i64, i64* %3, align 8 %56 = icmp eq i64 %55, 0 %.pre10 = add i64 %1, 8 %.pre11 = inttoptr i64 %.pre10 to i32* %.pr = load i32, i32* %.pre11, align 4 store i32 %.pr, i32* %.reg2mem27 store i64 %53, i64* %rdi.1.reg2mem br i1 %56, label LBL_15, label LBL_12 LBL_12: %57 = icmp eq i32 %.pr, 0 store i64 %53, i64* %rdi.115.reg2mem br i1 %57, label LBL_20, label LBL_13 LBL_13: %58 = add i64 %1, 40 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %55, i64 %60) %62 = load i32, i32* %.pre11, align 4 %63 = icmp ugt i32 %62, 1 store i64 1, i64* %.reg2mem23 store i32 1, i32* %.reg2mem25 store i64 %55, i64* %rdi.115.reg2mem br i1 %63, label LBL_14, label LBL_20 LBL_14: %.reload26 = load i32, i32* %.reg2mem25 %.reload24 = load i64, i64* %.reg2mem23 %.pre7 = load i64, i64* %3, align 8 %64 = mul nsw i64 %.reload24, 80 %65 = add i64 %58, %64 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = call i64 @FUNC(i64 %.pre7, i64 %67) %69 = add i32 %.reload26, 1 %70 = load i32, i32* %.pre11, align 4 %71 = zext i32 %70 to i64 %72 = sext i32 %69 to i64 %73 = icmp slt i64 %72, %71 store i64 %72, i64* %.reg2mem23 store i32 %69, i32* %.reg2mem25 store i32 %70, i32* %.reg2mem27 store i64 %.pre7, i64* %rdi.1.reg2mem br i1 %73, label LBL_14, label LBL_15 LBL_15: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.reload28 = load i32, i32* %.reg2mem27 %74 = icmp slt i32 %.reload28, 2 store i64 %rdi.1.reload, i64* %rdi.115.reg2mem br i1 %74, label LBL_20, label LBL_16 LBL_16: %75 = add i32 %.reload28, -1 %76 = sext i32 %75 to i64 %77 = mul nsw i64 %76, 80 %78 = call i64 @FUNC(i64 %77) store i64 %78, i64* %arg1, align 8 %79 = add i64 %0, 52 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = icmp eq i32 %81, 0 store i32 0, i32* %.reg2mem29 br i1 %82, label LBL_18, label LBL_17 LBL_17: %83 = mul i32 %81, 80 %84 = inttoptr i64 %77 to i64* %85 = call i64* @memcpy(i64* %84, i64* nonnull %arg1, i32 %83) %.pre8 = load i32, i32* %80, align 4 store i32 %.pre8, i32* %.reg2mem29 br label LBL_18 LBL_18: %.reload30 = load i32, i32* %.reg2mem29 %86 = load i32, i32* %.pre11, align 4 %87 = add i32 %86, -1 %88 = icmp ult i32 %.reload30, %87 br i1 %88, label LBL_19, label LBL_23 LBL_19: %89 = sub i32 0, %.reload30 %90 = sub i32 %89, 1 %91 = add i32 %86, %90 %92 = mul i32 %91, 80 %93 = sext i32 %.reload30 to i64 %94 = mul nsw i64 %93, 80 %95 = add i64 %1, 80 %96 = add i64 %95, %94 %97 = add nsw i64 %94, %77 %98 = inttoptr i64 %97 to i64* %99 = inttoptr i64 %96 to i64* %100 = call i64* @memcpy(i64* %98, i64* %99, i32 %92) br label LBL_23 LBL_20: %rdi.115.reload = load i64, i64* %rdi.115.reg2mem %101 = icmp eq i64 %rdi.115.reload, %0 br i1 %101, label LBL_22, label LBL_21 LBL_21: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 103, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_22 LBL_22: store i64 0, i64* %arg1, align 8 br label LBL_23 LBL_23: %102 = add i64 %0, 48 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = sext i32 %104 to i64 %106 = add nsw i64 %105, 63 %107 = and i64 %106, -64 %108 = add i64 %0, 56 %109 = inttoptr i64 %108 to i64* %110 = load i64, i64* %109, align 8 %111 = add i64 %0, 64 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = add i64 %113, %110 %115 = add i64 %0, 40 %116 = inttoptr i64 %115 to i64* %117 = load i64, i64* %116, align 8 %118 = call i64 @FUNC(i64 %0, i64 %110, i64 %117, i64 %113, i64 %114, i64 %107) %119 = call i64 @FUNC(i64 %1) %120 = load i32, i32* %.pre11, align 4 %121 = add i32 %120, -1 store i32 %121, i32* %.pre11, align 4 %122 = icmp eq i32 %121, 0 br i1 %122, label LBL_27, label LBL_24 LBL_24: %123 = load i64, i64* %3, align 8 %124 = icmp eq i64 %123, 0 br i1 %124, label LBL_27, label LBL_25 LBL_25: %125 = add i64 %1, 40 %126 = inttoptr i64 %125 to i64* %127 = load i64, i64* %126, align 8 %128 = call i64 @FUNC(i64 %123, i64 %127, i64 %1) %129 = load i32, i32* %.pre11, align 4 %130 = icmp ugt i32 %129, 1 store i64 1, i64* %.reg2mem31 store i32 1, i32* %.reg2mem33 store i64 %123, i64* %.reg2mem35 br i1 %130, label LBL_26, label LBL_27 LBL_26: %.reload36 = load i64, i64* %.reg2mem35 %.reload34 = load i32, i32* %.reg2mem33 %.reload32 = load i64, i64* %.reg2mem31 %.pre9 = load i64, i64* %3, align 8 %131 = mul nsw i64 %.reload32, 80 %132 = add i64 %.reload36, %131 %133 = add i64 %132, 40 %134 = inttoptr i64 %133 to i64* %135 = load i64, i64* %134, align 8 %136 = call i64 @FUNC(i64 %.pre9, i64 %135, i64 %132) %137 = add i32 %.reload34, 1 %138 = load i32, i32* %.pre11, align 4 %139 = zext i32 %138 to i64 %140 = sext i32 %137 to i64 %141 = icmp slt i64 %140, %139 store i64 %140, i64* %.reg2mem31 store i32 %137, i32* %.reg2mem33 store i64 %.pre9, i64* %.reg2mem35 br i1 %141, label LBL_26, label LBL_27 LBL_27: ret i64 0 uselistorder i64 %132, { 1, 0 } uselistorder i64 %113, { 1, 0 } uselistorder i64 %110, { 1, 0 } uselistorder i32 %.reload30, { 0, 2, 1 } uselistorder i32 %.reload28, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i32 %.pr, { 1, 0 } uselistorder i32* %.pre11, { 2, 1, 4, 3, 5, 6, 0, 7 } uselistorder i32 %.reload22, { 1, 0 } uselistorder i64 %rsi.0.reload, { 1, 2, 0 } uselistorder i64* %3, { 0, 2, 1, 3, 4 } uselistorder i64 %1, { 0, 1, 7, 3, 4, 2, 6, 5, 8 } uselistorder i64 %0, { 9, 8, 6, 7, 5, 1, 4, 10, 11, 12, 13, 14, 3, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem19, { 1, 0, 2 } uselistorder i32* %storemerge26.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %.reg2mem25, { 2, 0, 1 } uselistorder i32* %.reg2mem29, { 0, 2, 1 } uselistorder i64* %rdi.115.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %.reg2mem31, { 2, 0, 1 } uselistorder i32* %.reg2mem33, { 2, 0, 1 } uselistorder i64* %.reg2mem35, { 2, 0, 1 } uselistorder i64 (i64, i64, i64)* @g_hash_table_insert, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 80, { 1, 3, 2, 4, 0 } uselistorder i64 (i64)* @g_free, { 5, 4, 3, 2, 1, 0 } uselistorder i32 -1, { 1, 2, 3, 4, 0 } uselistorder i64 (i64)* @ibv_dereg_mr, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i32 0, { 5, 2, 0, 6, 3, 1, 4 } uselistorder i64 (i64, i64)* @g_hash_table_remove, { 2, 0, 1 } uselistorder i64 40, { 2, 0, 3, 1, 4 } uselistorder label LBL_27, { 1, 0, 2, 3 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_23, { 1, 2, 0 } uselistorder label LBL_20, { 2, 0, 1 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
handle_recv_2_13015
handle_recv_2
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8, align 1 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %0 = trunc i64 %arg4 to i16 %sext = mul i64 %arg4, 281474976710656 %1 = ashr exact i64 %sext, 48 %2 = icmp ugt i16 %0, 1024 %3 = trunc i64 %1 to i16 %4 = icmp ult i16 %3, 22 %or.cond = or i1 %2, %4 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %5, 13 %9 = add i64 %5, 1 %10 = add i64 %6, 8 %11 = call i64 @FUNC(i64 %10, i64 %9, i64 %8, i64 32, i64* nonnull %sv_5) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 16 store i64 1, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_2: %14 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_5, i32 16, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, -1 %17 = icmp eq i1 %16, false store i64 1, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_4 LBL_3: store i8 1, i8* %sv_3, align 1 %18 = call i64* @memcpy(i64* nonnull %sv_1, i64* nonnull %sv_2, i32 10) %19 = trunc i64 %1 to i32 %20 = urem i32 %19, 65536 %21 = add nsw i32 %20, -21 %22 = add i64 %5, 21 %23 = ptrtoint i64* %sv_0 to i64 %24 = inttoptr i64 %22 to i64* %25 = call i64* @memcpy(i64* nonnull %sv_0, i64* %24, i32 %21) %26 = add i16 %3, -10 %27 = load i64, i64* %sv_4, align 8 %28 = call i64 @FUNC(i64 %23, i64 %27, i8* nonnull %sv_3, i16 %26) %29 = trunc i64 %28 to i32 %30 = zext i16 %26 to i32 %31 = icmp ne i32 %29, %30 %. = zext i1 %31 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 1, { 0, 1, 3, 2 } uselistorder label LBL_4, { 1, 2, 3, 0 } }
1
BinRealVul
bytes_to_hex_13240
bytes_to_hex
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = mul i32 %0, 2 %2 = or i32 %1, 1 %3 = call i64* @malloc(i32 %2) %4 = icmp eq i64* %3, null %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = ptrtoint i64* %3 to i64 %7 = icmp eq i32 %0, 0 store i64 %6, i64* %storemerge.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = ptrtoint i32* %arg1 to i64 %wide.trip.count = and i64 %arg2, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %9 = add i64 %indvars.iv.reload, %8 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = mul i64 %indvars.iv.reload, 2 %13 = and i64 %12, 4294967294 %14 = add i64 %13, %6 %15 = zext i8 %11 to i32 %16 = inttoptr i64 %14 to i8* %17 = call i32 (i8*, i8*, ...) @sprintf(i8* %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %15) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %6, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64* %3, { 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
1
BinRealVul
ReadPWPImage_7767
ReadPWPImage
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64* %storemerge.lcssa.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i64 %storemerge518.reg2mem = alloca i64 %storemerge715.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i8, i8* %1 %5 = load i8, i8* %1 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %sv_3 = alloca i64, align 8 %6 = icmp eq i64* %arg1, null %7 = icmp eq i1 %6, false store i64 %3, i64* %rdi.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 208, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([39 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %8 = add i64 %3, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 305419896 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 209, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([41 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_6, label LBL_5 LBL_5: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 3, i64 %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %rdi.1.reload) br label LBL_6 LBL_6: %18 = icmp eq i32* %arg2, null %19 = icmp eq i1 %18, false br i1 %19, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 213, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %20 = trunc i64 %2 to i32 %21 = icmp eq i32 %20, 305419896 br i1 %21, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 214, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) br label LBL_10 LBL_10: %22 = call i64 @FUNC(i64 %3) %23 = load i32, i32* inttoptr (i64 4210860 to i32*), align 4 %24 = ptrtoint i32* %arg2 to i64 %25 = call i64 @FUNC(i64 %3, i64 %22, i32 %23, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_11, label LBL_40 LBL_11: %29 = bitcast i8* %sv_2 to i64* %30 = call i64 @FUNC(i64 %22, i64 5, i64* nonnull %29) %31 = icmp eq i64 %30, 5 %32 = icmp eq i1 %31, false br i1 %32, label LBL_13, label LBL_12 LBL_12: %33 = call i64 @FUNC(i64* nonnull %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 5) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_14, label LBL_13 LBL_13: %36 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0)) unreachable LBL_14: %37 = ptrtoint i64* %sv_3 to i64 %38 = call i64 @FUNC(i64 %3) %39 = call i64 @FUNC(i64 %38, i64 0, i64 0) %40 = call i64 @FUNC(i64 %38, i64 0, i64 0) %41 = inttoptr i64 %38 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, -1 %46 = zext i8 %5 to i64 %47 = mul nuw nsw i64 %46, 65535 %48 = zext i8 %4 to i64 %49 = mul i64 %48, 256 %50 = add nuw nsw i64 %47, %49 %51 = add i64 %3, 16 %52 = inttoptr i64 %51 to i32* %53 = add i64 %3, 20 %54 = inttoptr i64 %53 to i32* store i64 %22, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %55 = call i64 @FUNC(i64 %22) %storemerge616 = trunc i64 %55 to i32 %56 = icmp eq i32 %storemerge616, -1 %57 = icmp eq i1 %56, false store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %57, label LBL_19, label LBL_35 LBL_16: %storemerge715.reload = load i64, i64* %storemerge715.reg2mem %58 = add i64 %storemerge715.reload, %37 %59 = add i64 %58, -1135 %60 = inttoptr i64 %59 to i8* %61 = load i8, i8* %60, align 1 %62 = add i64 %58, -1136 %63 = inttoptr i64 %62 to i8* store i8 %61, i8* %63, align 1 %64 = add nuw nsw i64 %storemerge715.reload, 1 %exitcond = icmp eq i64 %64, 17 store i64 %64, i64* %storemerge715.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: %65 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i64 6) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_20, label LBL_18 LBL_18: %68 = call i64 @FUNC(i64 %22) %storemerge6 = trunc i64 %68 to i32 %69 = icmp eq i32 %storemerge6, -1 %70 = icmp eq i1 %69, false store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %70, label LBL_19, label LBL_35 LBL_19: store i64 0, i64* %storemerge715.reg2mem br label LBL_16 LBL_20: %71 = call i64 @FUNC(i64* nonnull %sv_1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i64 6) %72 = trunc i64 %71 to i32 %73 = icmp eq i32 %72, 0 br i1 %73, label LBL_22, label LBL_21 LBL_21: %74 = load i64, i64* %41, align 8 %75 = call i64 @FUNC(i64 %74) %76 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0)) unreachable LBL_22: br i1 %45, label LBL_24, label LBL_23 LBL_23: %77 = call %_IO_FILE* @fdopen(i32 %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_10, i64 0, i64 0)) %78 = icmp eq %_IO_FILE* %77, null %79 = icmp eq i1 %78, false br i1 %79, label LBL_25, label LBL_24 LBL_24: %80 = load i64, i64* %41, align 8 %81 = call i64 @FUNC(i64 %80) %82 = add i64 %sv_0.0.reload, 24 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = call i64 @FUNC(i64 %24, i64 2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0), i64 %84) unreachable LBL_25: %86 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_9 to i64*), i32 1, i32 6, %_IO_FILE* %77) %87 = load i8, i8* %sv_2, align 1 %88 = zext i8 %87 to i64 %89 = add nuw nsw i64 %50, %88 %90 = icmp eq i64 %89, 0 store i64 0, i64* %storemerge518.reg2mem br i1 %90, label LBL_27, label LBL_26 LBL_26: %storemerge518.reload = load i64, i64* %storemerge518.reg2mem %91 = call i64 @FUNC(i64 %22) %92 = trunc i64 %91 to i32 %93 = call i32 @fputc(i32 %92, %_IO_FILE* %77) %94 = add nuw nsw i64 %storemerge518.reload, 1 %exitcond31 = icmp eq i64 %94, %89 store i64 %94, i64* %storemerge518.reg2mem br i1 %exitcond31, label LBL_27, label LBL_26 LBL_27: %95 = call i32 @fclose(%_IO_FILE* %77) %96 = call i64 @FUNC(i64 %38, i64 %24) %97 = icmp eq i64 %96, 0 store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem br i1 %97, label LBL_35, label LBL_28 LBL_28: %98 = add i64 %96, 16 %99 = inttoptr i64 %98 to i64* %100 = load i64, i64* %99, align 8 %101 = add i64 %96, 24 %102 = inttoptr i64 %101 to i64* %103 = load i64, i64* %102, align 8 %104 = call i64 @FUNC(i64 %103, i64 1024, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_12, i64 0, i64 0), i64 %100) %105 = icmp eq i64 %sv_0.0.reload, 0 %106 = icmp eq i1 %105, false store i64 %96, i64* %sv_0.1.reg2mem br i1 %106, label LBL_29, label LBL_32 LBL_29: %107 = inttoptr i64 %sv_0.0.reload to i64* %108 = load i64, i64* %107, align 8 %109 = icmp eq i64 %108, 0 %110 = icmp eq i1 %109, false store i64 %sv_0.0.reload, i64* %storemerge19.reg2mem store i64 %sv_0.0.reload, i64* %storemerge.lcssa.reg2mem store i64* %107, i64** %.lcssa.reg2mem br i1 %110, label LBL_30, label LBL_31 LBL_30: %storemerge19.reload = load i64, i64* %storemerge19.reg2mem %111 = call i64 @FUNC(i64 %storemerge19.reload) %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = icmp eq i64 %113, 0 %115 = icmp eq i1 %114, false store i64 %111, i64* %storemerge19.reg2mem store i64 %111, i64* %storemerge.lcssa.reg2mem store i64* %112, i64** %.lcssa.reg2mem br i1 %115, label LBL_30, label LBL_31 LBL_31: %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %116 = add i64 %96, 8 %117 = inttoptr i64 %116 to i64* store i64 %storemerge.lcssa.reload, i64* %117, align 8 %118 = add i64 %storemerge.lcssa.reload, 16 %119 = inttoptr i64 %118 to i64* %120 = load i64, i64* %119, align 8 %121 = add i64 %120, 1 store i64 %121, i64* %99, align 8 store i64 %96, i64* %.lcssa.reload, align 8 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_32 LBL_32: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %122 = load i32, i32* %52, align 4 %123 = icmp eq i32 %122, 0 br i1 %123, label LBL_34, label LBL_33 LBL_33: %124 = load i64, i64* %99, align 8 %125 = load i32, i32* %54, align 4 %126 = add i32 %122, -1 %127 = add i32 %126, %125 %128 = sext i32 %127 to i64 %129 = icmp slt i64 %124, %128 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %129, label LBL_34, label LBL_35 LBL_34: %130 = call i64 @FUNC(i64 %22) %sext = mul i64 %130, 4294967296 %131 = ashr exact i64 %sext, 32 %132 = call i64 @FUNC(i64 %22) %sext4 = mul i64 %132, 4294967296 %133 = ashr exact i64 %sext4, 32 %134 = call i64 @FUNC(i64 %sv_0.1.reload, i64 4, i64 %133, i64 %131) %135 = trunc i64 %134 to i32 %136 = icmp eq i32 %135, 0 store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %136, label LBL_35, label LBL_15 LBL_35: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem br i1 %45, label LBL_37, label LBL_36 LBL_36: %137 = call i32 @close(i32 %44) br label LBL_37 LBL_37: %138 = load i64, i64* %41, align 8 %139 = call i64 @FUNC(i64 %138) %140 = call i64 @FUNC(i64 %38) %141 = call i64 @FUNC(i64 %22) %142 = call i64 @FUNC(i64 %22) %143 = call i64 @FUNC(i64 %sv_0.2.reload) %144 = trunc i64 %143 to i32 %145 = icmp eq i32 %144, 0 br i1 %145, label LBL_39, label LBL_38 LBL_38: %146 = call i32* @__errno_location() %147 = load i32, i32* %146, align 4 %148 = zext i32 %147 to i64 %149 = call i64 @FUNC(i64 %148) %150 = add i64 %sv_0.2.reload, 24 %151 = inttoptr i64 %150 to i64* %152 = load i64, i64* %151, align 8 %153 = call i64 @FUNC() %154 = call i64 @FUNC(i64 %24, i64 %153, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_13, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_14, i64 0, i64 0), i64 %152) %155 = call i64 @FUNC(i64 %149) br label LBL_39 LBL_39: %156 = call i64 @FUNC(i64 %sv_0.2.reload) %157 = call i64 @FUNC(i64 %sv_0.2.reload) store i64 %157, i64* %rax.0.reg2mem br label LBL_40 LBL_40: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.2.reload, { 1, 2, 3, 0 } uselistorder i64 %sv_0.1.reload, { 1, 3, 2, 0 } uselistorder i64 %96, { 1, 2, 0, 4, 3, 5 } uselistorder %_IO_FILE* %77, { 3, 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 3, 4, 5, 7, 6, 1, 8, 2, 0 } uselistorder i32 %44, { 2, 1, 0 } uselistorder i64* %41, { 2, 1, 0, 3 } uselistorder i64 %38, { 1, 0, 2, 3, 4 } uselistorder i64 %24, { 2, 1, 0, 3 } uselistorder i64 %22, { 6, 5, 3, 2, 4, 1, 7, 0, 8, 9 } uselistorder i64 %3, { 2, 1, 3, 4, 5, 6, 7, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge715.reg2mem, { 2, 1, 0 } uselistorder i64* %storemerge518.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 2, 4, 5, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i8* %1, { 1, 0 } uselistorder i64 (i64)* @CloseBlob, { 1, 0 } uselistorder i64 24, { 1, 2, 3, 0, 4, 5 } uselistorder i64 (i64)* @RelinquishUniqueFileResource, { 2, 1, 0 } uselistorder [7 x i8]* @gv_9, { 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64)* @ReadBlobByte, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 0, 3, 4 } uselistorder i32 -1, { 1, 3, 0, 2 } uselistorder i64 (i64, i8*)* @ThrowReaderException, { 1, 0 } uselistorder i64 (i64*, i8*, i64)* @LocaleNCompare, { 2, 1, 0 } uselistorder i64 5, { 1, 0, 2 } uselistorder i64 ()* @GetMagickModule, { 1, 0 } uselistorder [41 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 0, 2, 1 } uselistorder [39 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_35, { 0, 1, 2, 4, 3 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
mdec_decode_block_intra_45
mdec_decode_block_intra
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 2 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %2, 40 %13 = call i64 @FUNC(i64 %12, i64 10) %14 = trunc i64 %13 to i16 %15 = mul i16 %14, 2 %16 = add i16 %15, 1024 %17 = bitcast i64* %arg2 to i16* store i16 %16, i16* %17, align 2 br label LBL_4 LBL_2: %18 = trunc i64 %arg3 to i32 %19 = add i32 %18, -3 %20 = sub i32 2, %18 %21 = and i32 %20, %18 %22 = icmp slt i32 %21, 0 %23 = icmp slt i32 %19, 0 %24 = icmp eq i1 %23, %22 %25 = select i1 %24, i32 %19, i32 0 %26 = add i64 %2, 40 %27 = zext i32 %25 to i64 %28 = call i64 @FUNC(i64 %26, i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 65535 store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_3, label LBL_12 LBL_3: %31 = sext i32 %25 to i64 %32 = mul i64 %31, 4 %33 = add i64 %2, 8 %34 = add i64 %33, %32 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i32 %36, %29 store i32 %37, i32* %35, align 4 %.tr = trunc i32 %37 to i16 %38 = mul i16 %.tr, 8 %39 = bitcast i64* %arg2 to i16* store i16 %38, i16* %39, align 2 br label LBL_4 LBL_4: %40 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 store i32 0, i32* %sv_2.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem switch i32 %sv_1.0.reload, label LBL_6 [ i32 127, label LBL_11 i32 0, label LBL_8 ] LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %41 = add i32 %sv_0.0.reload, %sv_2.0.reload %42 = icmp slt i32 %41, 64 store i64 4294967295, i64* %rax.0.reg2mem br i1 %42, label LBL_7, label LBL_12 LBL_7: %43 = sext i32 %41 to i64 %44 = add i64 %5, %43 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = mul i32 %sv_1.0.reload, %8 %48 = zext i8 %46 to i64 %49 = mul i64 %48, 2 %50 = add i64 %49, ptrtoint (i64* @gv_0 to i64) %51 = inttoptr i64 %50 to i16* %52 = load i16, i16* %51, align 2 %53 = zext i16 %52 to i32 %54 = mul i32 %47, %53 %55 = ashr i32 %54, 3 store i64 %49, i64* %.pre-phi.reg2mem store i32 %41, i32* %sv_2.1.reg2mem store i32 %55, i32* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_10 LBL_8: %56 = add i32 %sv_2.0.reload, 1 %57 = icmp slt i32 %56, 64 store i64 4294967295, i64* %rax.0.reg2mem br i1 %57, label LBL_9, label LBL_12 LBL_9: %58 = sext i32 %56 to i64 %59 = add i64 %5, %58 %60 = inttoptr i64 %59 to i8* %61 = load i8, i8* %60, align 1 %.pre = zext i8 %61 to i64 %.pre5 = mul i64 %.pre, 2 store i64 %.pre5, i64* %.pre-phi.reg2mem store i32 %56, i32* %sv_2.1.reg2mem store i32 -1, i32* %sv_1.1.reg2mem store i32 1, i32* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %62 = add i64 %.pre-phi.reload, %40 %63 = trunc i32 %sv_1.1.reload to i16 %64 = inttoptr i64 %62 to i16* store i16 %63, i16* %64, align 2 store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem br label LBL_5 LBL_11: %65 = ashr exact i64 %sext, 30 %66 = add i64 %2, 48 %67 = add i64 %66, %65 %68 = inttoptr i64 %67 to i32* store i32 %sv_2.0.reload, i32* %68, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_1.1.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 2, 0, 1 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 0, 2, 3, 1, 4, 5 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i64* %arg2, { 2, 0, 1 } uselistorder label LBL_12, { 3, 0, 1, 2 } }
1
BinRealVul
bm_puts_12795
bm_puts
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 ret i64 %1 LBL_2: ret i64 0 uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
mov_write_avid_tag_1936
mov_write_avid_tag
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 24) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) br i1 and (i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_1 to i32), i32 0), i1 icmp ne (i32 ptrtoint ([5 x i8]* @gv_1 to i32), i32 1)), label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 1) br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %0, i64 2) br label LBL_3 LBL_3: %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %0, i64 0) %9 = call i64 @FUNC(i64 %0, i64 24) %10 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %12 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %13 = call i64 @FUNC(i64 %0, i64 1) %14 = call i64 @FUNC(i64 %0, i64 0) %15 = call i64 @FUNC(i64 %0, i64 120) %16 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %17 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %18 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %19 = add i64 %7, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %21, 40 %23 = call i64 @FUNC(i64 %22) %24 = and i64 %23, 4294967295 %25 = call i64 @FUNC(i64 %0, i64 %24) %26 = add nuw nsw i64 %24, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %0, i64 %29) %31 = load i64, i64* %20, align 8 %32 = add i64 %31, 5 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = and i8 %34, 2 %36 = icmp eq i8 %35, 0 %37 = add nuw nsw i64 %29, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 br i1 %36, label LBL_5, label LBL_4 LBL_4: %40 = icmp slt i32 %39, 0 %41 = zext i1 %40 to i32 %42 = add i32 %39, %41 %43 = ashr i32 %42, 1 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64 %0, i64 %44) %46 = call i64 @FUNC(i64 %0, i64 2) %47 = call i64 @FUNC(i64 %0, i64 0) %48 = call i64 @FUNC(i64 %0, i64 4) br label LBL_8 LBL_5: %49 = zext i32 %39 to i64 %50 = call i64 @FUNC(i64 %0, i64 %49) %51 = call i64 @FUNC(i64 %0, i64 1) %52 = call i64 @FUNC(i64 %0, i64 0) %53 = load i32, i32* inttoptr (i64 8 to i32*), align 8 %54 = icmp eq i32 %53, 1080 %55 = icmp eq i1 %54, false br i1 %55, label LBL_7, label LBL_6 LBL_6: %56 = call i64 @FUNC(i64 %0, i64 5) br label LBL_8 LBL_7: %57 = call i64 @FUNC(i64 %0, i64 6) br label LBL_8 LBL_8: store i32 0, i32* %storemerge2.reg2mem br label LBL_9 LBL_9: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %58 = call i64 @FUNC(i64 %0, i64 0) %59 = add nuw nsw i32 %storemerge2.reload, 1 %exitcond = icmp eq i32 %59, 10 store i32 %59, i32* %storemerge2.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: ret i64 0 uselistorder i32 %39, { 2, 0, 1 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %0, { 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0, 24, 25, 26, 27, 28 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @avio_wb32, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
mgt_vcc_default_17613
mgt_vcc_default
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %sv_3 = alloca i64, align 8 %0 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %sext4 = mul i64 %arg4, 4294967296 %3 = ashr exact i64 %sext4, 32 %4 = icmp eq i64 %arg1, 0 br i1 %4, label LBL_9, label LBL_3 LBL_3: %5 = bitcast i8** %sv_2 to i64* %6 = call i64 @FUNC(i64 %arg1, i64* nonnull %5, i64* nonnull %sv_3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = load i8*, i8** %sv_2, align 8 %11 = icmp eq i8* %10, null %12 = icmp eq i1 %11, false br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([25 x i8]* @gv_1 to i64*), i32 1, i32 24, %_IO_FILE* %13) store i64 1, i64* %rax.0.reg2mem br label LBL_16 LBL_6: store i64 0, i64* %sv_1, align 8 %15 = load i64, i64* %sv_3, align 8 %16 = icmp eq i64 %15, 0 %storemerge = select i1 %16, i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 %15 %17 = bitcast i64* %sv_1 to i8** %18 = inttoptr i64 %storemerge to i8* %19 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %17, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_3, i64 0, i64 0), i8* %10, i8* %18) %20 = load i8*, i8** %sv_2, align 8 %21 = bitcast i8* %20 to i64* call void @free(i64* %21) %22 = load i64, i64* %sv_3, align 8 %23 = inttoptr i64 %22 to i64* call void @free(i64* %23) %24 = load i64, i64* %sv_1, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: call void @exit(i32 1) unreachable LBL_8: %27 = and i64 %3, 4294967295 %28 = call i64 @FUNC(i64 %0, i64 %24, i64 0, i64 %27) %29 = load i64, i64* %sv_1, align 8 %30 = inttoptr i64 %29 to i64* call void @free(i64* %30) store i64 %28, i64* %sv_0.0.reg2mem br label LBL_10 LBL_9: %31 = trunc i64 %arg3 to i32 %32 = trunc i64 %3 to i32 %33 = call i64 @FUNC(i64 %0, i64 %arg2, i32 %32, i32 %31) store i64 %33, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %34 = call i64 @FUNC(i64 %0) %35 = call i64 @FUNC(i64 %0) %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_12, label LBL_11 LBL_11: %37 = call i64 @FUNC(i64 %0) %38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %39 = inttoptr i64 %37 to i8* %40 = call i32 @fputs(i8* %39, %_IO_FILE* %38) br label LBL_12 LBL_12: %41 = call i64 @FUNC(i64 %0) %42 = trunc i64 %3 to i32 %43 = icmp eq i32 %42, 0 store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_13, label LBL_16 LBL_13: %44 = icmp eq i64 %sv_0.0.reload, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_15, label LBL_14 LBL_14: %46 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %47 = call i32 @fwrite(i64* bitcast ([25 x i8]* @gv_4 to i64*), i32 1, i32 24, %_IO_FILE* %46) store i64 1, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %48 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %sv_0.0.reload) %49 = inttoptr i64 %48 to i32* store i32 1, i32* %49, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %0, { 2, 1, 4, 3, 5, 0, 6 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i8** %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder void (i64*)* @free, { 3, 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_16, { 1, 2, 0, 3 } }
1
BinRealVul
inode_owner_or_capable_6127
inode_owner_or_capable
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = and i64 %1, 4294967295 %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %8, i64 1) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %8, i64 %3) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 0 store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: 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 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 0, 4, 1, 2, 3 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
tm2_read_deltas_818
tm2_read_deltas
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3, i64 9) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %3, i64 5) %7 = trunc i64 %6 to i32 %8 = add i32 %7, -31 %9 = sub i32 30, %7 %10 = and i32 %9, %7 %11 = icmp slt i32 %10, 0 %12 = icmp eq i32 %8, 0 %13 = icmp slt i32 %8, 0 %14 = icmp ne i1 %13, %11 %15 = or i1 %12, %14 %16 = zext i1 %15 to i64 %17 = call i64 @FUNC(i64 %16) %.off = add i32 %5, -1 %18 = icmp ugt i32 %.off, 15 br i1 %18, label LBL_3, label LBL_1 LBL_1: %19 = icmp eq i32 %7, 0 %20 = icmp slt i32 %7, 0 %21 = icmp eq i1 %20, false %22 = icmp eq i1 %19, false %23 = icmp eq i1 %21, %22 br i1 %23, label LBL_2, label LBL_3 LBL_2: %sext = mul i64 %arg2, 4294967296 %24 = and i64 %6, 4294967295 %25 = add i32 %7, 31 %26 = urem i32 %25, 32 %27 = icmp eq i32 %26, 0 %28 = urem i32 %7, 32 %29 = shl i32 1, %28 %30 = ashr exact i64 %sext, 29 %31 = add i64 %30, %3 %32 = inttoptr i64 %31 to i64* %wide.trip.count = and i64 %4, 4294967295 store i64 0, i64* %indvars.iv13.reg2mem br label LBL_4 LBL_3: %33 = add i64 %2, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = and i64 %6, 4294967295 %37 = and i64 %4, 4294967295 %38 = call i64 @FUNC(i64 %35, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %37, i64 %36, i64 %1) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_10 LBL_4: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %39 = call i64 @FUNC(i64 %3, i64 %24) %40 = trunc i64 %39 to i32 %41 = lshr i32 %40, %26 %42 = zext i32 %41 to i64 %storemerge3 = select i1 %27, i64 %39, i64 %42 %43 = urem i64 %storemerge3, 2 %44 = icmp eq i64 %43, 0 br i1 %44, label LBL_6, label LBL_5 LBL_5: %45 = sub i32 %40, %29 %46 = load i64, i64* %32, align 8 %47 = mul i64 %indvars.iv13.reload, 4 %48 = add i64 %46, %47 %49 = inttoptr i64 %48 to i32* store i32 %45, i32* %49, align 4 br label LBL_7 LBL_6: %50 = load i64, i64* %32, align 8 %51 = mul i64 %indvars.iv13.reload, 4 %52 = add i64 %50, %51 %53 = inttoptr i64 %52 to i32* store i32 %40, i32* %53, align 4 br label LBL_7 LBL_7: %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %exitcond15 = icmp eq i64 %indvars.iv.next14, %wide.trip.count store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem br i1 %exitcond15, label LBL_8, label LBL_4 LBL_8: %54 = trunc i64 %4 to i32 %55 = icmp slt i32 %54, 16 store i64 %wide.trip.count, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %55, label LBL_9, label LBL_10 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %56 = load i64, i64* %32, align 8 %57 = mul i64 %indvars.iv.reload, 4 %58 = add i64 %56, %57 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %40, { 2, 1, 0 } uselistorder i64 %indvars.iv13.reload, { 0, 2, 1 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i32 %7, { 0, 2, 4, 3, 1, 5, 6 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %4, { 0, 2, 1, 3 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
gf_avc_change_vui_7067
gf_avc_change_vui
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.be.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem3 = alloca i32 %.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %sv_4 to i64 %3 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 4) store i64 -1, i64* %sv_4, align 8 store i32 0, i32* %sv_3, align 4 %4 = call i64 @FUNC(i64 %2, i32* nonnull %sv_3) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_14 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = bitcast i32* %sv_1 to i64* store i64 %4, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem store i64 0, i64* %sv_2, align 8 %9 = add i64 %.reload, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %.reload to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 %11, i64* nonnull %sv_4, i64 0, i64* nonnull %8) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %13, i64* %rdi.0.be.reg2mem br i1 %17, label LBL_4, label LBL_13 LBL_4: %18 = load i64, i64* %10, align 8 %19 = add i64 %18, -1 %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* %sv_2, align 8 %21 = load i64, i64* %10, align 8 %22 = add i64 %21, 4294967295 %23 = and i64 %22, 4294967295 %24 = load i64, i64* %12, align 8 %25 = add i64 %24, 1 %26 = call i64 @FUNC(i64 %25, i64 %20, i64 %23) %27 = trunc i64 %26 to i32 %28 = load i64, i64* %sv_2, align 8 %29 = and i64 %26, 4294967295 %30 = call i64 @FUNC(i64 %28, i64 %29, i64 0) %31 = load i64, i64* %sv_2, align 8 %32 = call i64 @FUNC(i64 %30, i64 %31, i32 %27) %33 = call i64 @FUNC(i64 %30, i64 0) %34 = call i64 @FUNC(i64 0, i64 0, i64 1) %35 = load i32, i32* %sv_1, align 4 %36 = icmp ult i32 %35, 8 store i32 %35, i32* %.reg2mem3 br i1 %36, label LBL_5, label LBL_7 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 124, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %37 = call i64 @FUNC(i64 %30, i64 1) %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_0, align 4 %39 = and i64 %37, 4294967295 %40 = call i64 @FUNC(i64 %34, i64 %39, i64 1) %41 = load i32, i32* %sv_1, align 4 %42 = add i32 %41, -1 store i32 %42, i32* %sv_1, align 4 store i32 %42, i32* %.reg2mem3 br label LBL_7 LBL_7: %.reload4 = load i32, i32* %.reg2mem3 %43 = icmp eq i32 %.reload4, 8 %44 = icmp eq i1 %43, false br i1 %44, label LBL_6, label LBL_8 LBL_8: %45 = call i64 @FUNC(i64 %7, i64 %30, i64 %34, i64 0) %46 = call i64 @FUNC(i64 %30) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_9, label LBL_10 LBL_9: %50 = call i64 @FUNC(i64 %30, i64 1) %51 = trunc i64 %50 to i32 store i32 %51, i32* %sv_0, align 4 %52 = and i64 %50, 4294967295 %53 = call i64 @FUNC(i64 %34, i64 %52, i64 1) %54 = call i64 @FUNC(i64 %30) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_9, label LBL_10 LBL_10: %58 = call i64 @FUNC(i64 %30) %59 = load i64, i64* %sv_2, align 8 %60 = call i64 @FUNC(i64 %59) %61 = call i64 @FUNC(i64 %34, i64* nonnull %sv_2, i32* nonnull %sv_0) %62 = load i32, i32* %sv_0, align 4 %63 = load i64, i64* %sv_2, align 8 %64 = zext i32 %62 to i64 %65 = call i64 @FUNC(i64 %63, i64 %64) %66 = trunc i64 %65 to i32 %67 = load i32, i32* %sv_0, align 4 %68 = add i32 %66, 1 %69 = add i32 %68, %67 %70 = zext i32 %69 to i64 %71 = load i64, i64* %10, align 8 %72 = icmp ult i64 %71, %70 %73 = load i64, i64* %12, align 8 store i64 %73, i64* %.reg2mem5 store i32 %67, i32* %.reg2mem7 br i1 %72, label LBL_11, label LBL_12 LBL_11: %74 = call i64 @FUNC(i64 %73, i64 %70) store i64 %74, i64* %12, align 8 %.pre = load i32, i32* %sv_0, align 4 store i64 %74, i64* %.reg2mem5 store i32 %.pre, i32* %.reg2mem7 br label LBL_12 LBL_12: %.reload8 = load i32, i32* %.reg2mem7 %.reload6 = load i64, i64* %.reg2mem5 %75 = add i64 %.reload6, 1 %76 = load i64, i64* %sv_2, align 8 %77 = call i64 @FUNC(i64 %76, i64 %75, i32 %.reload8) %78 = add i64 %77, 1 %79 = and i64 %78, 4294967295 store i64 %79, i64* %10, align 8 %80 = call i64 @FUNC(i64 %34) %81 = load i64, i64* %sv_2, align 8 %82 = call i64 @FUNC(i64 %81) store i64 %81, i64* %rdi.0.be.reg2mem br label LBL_13 LBL_13: %rdi.0.be.reload = load i64, i64* %rdi.0.be.reg2mem %83 = call i64 @FUNC(i64 %rdi.0.be.reload, i32* nonnull %sv_3) %84 = icmp eq i64 %83, 0 %85 = icmp eq i1 %84, false store i64 %83, i64* %.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %85, label LBL_3, label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %73, { 1, 0 } uselistorder i64 %30, { 2, 3, 1, 0, 4, 5, 6, 7 } uselistorder i64* %12, { 1, 0, 2, 3 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64* %sv_4, { 0, 2, 1, 3 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 2, 3, 0, 4, 5, 6, 7, 8 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i32* %sv_0, { 0, 2, 3, 1, 4, 5 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem5, { 0, 2, 1 } uselistorder i32* %.reg2mem7, { 0, 2, 1 } uselistorder i64* %rdi.0.be.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @gf_free, { 1, 0 } uselistorder i64 (i64)* @gf_bs_del, { 1, 0 } uselistorder i64 (i64)* @gf_bs_bits_available, { 1, 0 } uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 1, 0 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 } uselistorder i64 (i64, i64, i64)* @gf_bs_new, { 1, 0 } uselistorder i64 1, { 1, 7, 2, 3, 4, 5, 6, 8, 0 } uselistorder i64 (i64, i32*)* @gf_list_enum, { 1, 0 } uselistorder i32 0, { 4, 0, 5, 3, 1, 2 } uselistorder i1 false, { 5, 2, 1, 3, 4, 0, 6 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
av_metadata_set_4169
av_metadata_set
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %.pre3.pre-phi.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64 1) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 %1, i64* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 16) store i64 %5, i64* %arg1, align 8 store i64 16, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = icmp eq i64 %2, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %2 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %sv_0.0.reload, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, -1 store i32 %17, i32* %15, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 16 %20 = add i64 %19, %12 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %20 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %11, align 8 store i64 %23, i64* %8, align 8 store i32* %15, i32** %.pre3.pre-phi.reg2mem store i64 %12, i64* %rdi.1.reg2mem br label LBL_6 LBL_4: %26 = add i64 %sv_0.0.reload, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, 1 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 16 %32 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %31) %33 = icmp eq i64 %32, 0 store i64 4294967284, i64* %storemerge.reg2mem br i1 %33, label LBL_10, label LBL_5 LBL_5: %34 = inttoptr i64 %sv_0.0.reload to i64* store i64 %32, i64* %34, align 8 store i32* %27, i32** %.pre3.pre-phi.reg2mem store i64 %sv_0.0.reload, i64* %rdi.1.reg2mem br label LBL_6 LBL_6: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.pre3.pre-phi.reload = load i32*, i32** %.pre3.pre-phi.reg2mem %35 = icmp eq i8* %arg3, null %.pre5 = load i32, i32* %.pre3.pre-phi.reload, align 4 store i32 %.pre5, i32* %.reg2mem store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = sext i32 %.pre5 to i64 %37 = mul i64 %36, 16 %38 = add i64 %37, %rdi.1.reload %39 = call i64 @FUNC(i64 %0) %40 = inttoptr i64 %38 to i64* store i64 %39, i64* %40, align 8 %41 = load i32, i32* %.pre3.pre-phi.reload, align 4 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 16 %44 = ptrtoint i8* %arg3 to i64 %45 = call i64 @FUNC(i64 %44) %46 = add i64 %0, 8 %47 = add i64 %46, %43 %48 = inttoptr i64 %47 to i64* store i64 %45, i64* %48, align 8 %49 = load i32, i32* %.pre3.pre-phi.reload, align 4 %50 = add i32 %49, 1 store i32 %50, i32* %.pre3.pre-phi.reload, align 4 store i32 %50, i32* %.reg2mem store i64 %44, i64* %rdi.2.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %51 = icmp eq i32 %.reload, 0 %52 = icmp eq i1 %51, false store i64 0, i64* %storemerge.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %53 = call i64 @FUNC(i64 %rdi.2.reload) %54 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre5, { 1, 0 } uselistorder i32* %.pre3.pre-phi.reload, { 2, 3, 1, 0 } uselistorder i64 %rdi.1.reload, { 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 2, 4, 1, 3 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32** %.pre3.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @av_strdup, { 1, 0 } uselistorder i64 16, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
add_push_report_sideband_pkt_12682
add_push_report_sideband_pkt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i64 %sv_2.08.reg2mem = alloca i64 %sv_2.0.ph.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 store i64 0, i64* %sv_4, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %1, i64* %sv_1.0.ph.reg2mem store i64 %10, i64* %sv_2.0.ph.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %10) %12 = load i64, i64* %3, align 8 store i64 %10, i64* %sv_1.0.ph.reg2mem store i64 %12, i64* %sv_2.0.ph.reg2mem br label LBL_2 LBL_2: %13 = ptrtoint i64* %arg1 to i64 %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %14 = icmp eq i64 %sv_2.0.ph.reload, 0 %15 = icmp eq i1 %14, false store i64 %sv_2.0.ph.reload, i64* %sv_2.08.reg2mem store i64 %sv_1.0.ph.reload, i64* %sv_1.07.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %15, label LBL_3, label LBL_10 LBL_3: %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem %16 = call i64 @FUNC(i64* nonnull %sv_3, i64 %sv_1.07.reload, i64* nonnull %sv_4, i64 %sv_2.08.reload) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, -1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_4 LBL_4: %20 = icmp eq i1 %7, false store i64 0, i64* %sv_0.04.reg2mem br i1 %20, label LBL_11, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 %0, i64 %sv_1.07.reload, i64 %sv_2.08.reload) store i64 0, i64* %sv_0.02.reg2mem br label LBL_12 LBL_6: %22 = icmp slt i32 %17, 0 store i64 %16, i64* %sv_0.0.reg2mem br i1 %22, label LBL_10, label LBL_7 LBL_7: %23 = load i64, i64* %sv_4, align 8 %24 = load i64, i64* %sv_3, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = sub i64 %sv_1.07.reload, %23 %28 = add i64 %27, %sv_2.08.reload %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false store i64 %28, i64* %sv_2.08.reg2mem store i64 %23, i64* %sv_1.07.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %30, label LBL_3, label LBL_10 LBL_9: %31 = call i64 @FUNC(i64 %13, i64 %24) %32 = trunc i64 %31 to i32 %33 = load i64, i64* %sv_3, align 8 %34 = call i64 @FUNC(i64 %33) %35 = icmp slt i32 %32, 0 %36 = icmp eq i32 %32, -2 %37 = icmp eq i1 %36, false %or.cond = icmp eq i1 %35, %37 store i64 %31, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_10, label LBL_8 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.04.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.02.reg2mem br i1 %7, label LBL_12, label LBL_11 LBL_11: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %38 = load i64, i64* %sv_4, align 8 %39 = call i64 @FUNC(i64 %0, i64 %38) store i64 %sv_0.04.reload, i64* %sv_0.02.reg2mem br label LBL_12 LBL_12: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %40 = and i64 %sv_0.02.reload, 4294967295 ret i64 %40 uselistorder i64 %sv_2.08.reload, { 1, 2, 0 } uselistorder i64 %sv_1.07.reload, { 0, 2, 1 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i64* %sv_4, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %sv_2.08.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.07.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0.04.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @git_buf_put, { 1, 0 } uselistorder i1 false, { 1, 6, 3, 4, 5, 0, 2, 7 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 2, 0, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
qxl_spice_monitors_config_async_18641
qxl_spice_monitors_config_async
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i32 %2, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 2, i64 0) %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 4 %12 = zext i32 %10 to i64 %13 = call i64 @FUNC(i64 %11, i64 %12, i64 1, i64 %6) store i64 %13, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %.pre = add i64 %14, 4 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = zext i32 %17 to i64 %20 = call i64 @FUNC(i64 %.pre, i64 %19) br label LBL_4 LBL_4: %21 = add i64 %14, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %14, 24 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = call i64 @FUNC(i64 3, i64 4) %29 = load i64, i64* %22, align 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %.pre, i64 %32, i64 1, i64 %28) store i64 %33, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %14, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64)* @spice_qxl_monitors_config_async, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 (i64, i64)* @qxl_cookie_new, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
__setup_irq_7602
__setup_irq
define i64 @FUNC(i64 %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.08.reg2mem = alloca i1 %.pre-phi.reg2mem = alloca i64* %sv_2.0.reg2mem = alloca i32* %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %rdx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = icmp eq i32* %arg2, null %6 = icmp eq i1 %5, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_43 LBL_1: %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 32 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, ptrtoint (i64* @gv_0 to i64) %12 = icmp eq i1 %11, false store i64 4294967258, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_43 LBL_2: %sext = mul i64 %arg1, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = trunc i64 %3 to i32 %15 = urem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = and i64 %13, 4294967295 %18 = call i64 @FUNC(i64 %17) br label LBL_4 LBL_4: %19 = and i32 %14, 6 %20 = icmp eq i32 %19, 6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_43, label LBL_5 LBL_5: %21 = ptrtoint i64* %arg3 to i64 %22 = urem i64 %2, 2 %23 = icmp eq i64 %22, 0 %24 = add i64 %21, 40 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 br i1 %23, label LBL_8, label LBL_6 LBL_6: %28 = icmp eq i1 %27, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_43 LBL_7: %29 = add i64 %21, 32 %30 = inttoptr i64 %29 to i64* store i64 4199178, i64* %30, align 8 br label LBL_11 LBL_8: br i1 %27, label LBL_11, label LBL_9 LBL_9: %31 = add i64 %21, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = and i64 %13, 4294967295 %35 = call i64 @FUNC(i64 4199185, i64 %21, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %34, i64 %33, i64 %1) %36 = icmp ult i64 %35, -1000 store i64 %35, i64* %rax.0.reg2mem br i1 %36, label LBL_10, label LBL_43 LBL_10: %37 = call i64 @FUNC(i64 %35) %38 = add i64 %21, 24 %39 = inttoptr i64 %38 to i64* store i64 %35, i64* %39, align 8 store i64 %34, i64* %rcx.0.reg2mem store i64 %33, i64* %r8.0.reg2mem br label LBL_11 LBL_11: %40 = bitcast i64* %rsi to i32* %41 = add i64 %7, 24 %42 = call i64 @FUNC(i64 %41, i64 %4) %43 = add i64 %7, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label LBL_15, label LBL_12 LBL_12: %r8.0.reload = load i64, i64* %r8.0.reg2mem %47 = inttoptr i64 %45 to i32* %48 = load i32, i32* %47, align 4 %49 = zext i32 %48 to i64 store i64 %49, i64* %rdx, align 8 %50 = and i32 %48, 4 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_35, label LBL_13 LBL_13: %52 = load i32, i32* %47, align 4 %53 = zext i32 %52 to i64 store i64 %53, i64* %rdx, align 8 %54 = load i32, i32* %47, align 4 %55 = zext i32 %54 to i64 store i64 %55, i64* %rdx, align 8 store i32* %47, i32** %sv_2.0.reg2mem br label LBL_14 LBL_14: %sv_2.0.reload = load i32*, i32** %sv_2.0.reg2mem %56 = ptrtoint i32* %sv_2.0.reload to i64 %57 = add i64 %56, 16 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = inttoptr i64 %59 to i32* %61 = icmp eq i64 %59, 0 %62 = icmp eq i1 %61, false store i32* %60, i32** %sv_2.0.reg2mem br i1 %62, label LBL_14, label LBL_26 LBL_15: %63 = bitcast i64* %rdx to i32* %64 = load i64, i64* %9, align 8 %65 = call i64 @FUNC(i64 %64) %66 = add i64 %7, 48 %67 = call i64 @FUNC(i64 %66) %68 = load i32, i32* %63, align 8 %69 = and i32 %68, 8 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_17, label LBL_16 LBL_16: %71 = zext i32 %69 to i64 %72 = and i64 %13, 4294967295 %73 = call i64 @FUNC(i64 %7, i64 %72, i64 %71) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 store i64 %73, i64* %sv_0.0.reg2mem br i1 %75, label LBL_18, label LBL_38 LBL_17: %76 = call i64 @FUNC(i64 %7) br label LBL_18 LBL_18: %77 = and i32 %68, 16 %78 = icmp eq i32 %77, 0 %.pre = load i32, i32* %40, align 8 br i1 %78, label LBL_20, label LBL_19 LBL_19: %79 = or i32 %.pre, 8192 store i32 %79, i32* %arg2, align 4 br label LBL_20 LBL_20: %80 = and i32 %.pre, -7937 %81 = and i32 %68, 2 %82 = icmp eq i32 %81, 0 %83 = or i32 %.pre, 2048 %spec.select = select i1 %82, i32 %80, i32 %83 store i32 %spec.select, i32* %arg2, align 4 %84 = and i32 %.pre, 64 %85 = icmp eq i32 %84, 0 %86 = icmp eq i1 %85, false %87 = add i64 %7, 40 %88 = inttoptr i64 %87 to i32* br i1 %86, label LBL_22, label LBL_21 LBL_21: store i32 0, i32* %88, align 4 %89 = load i32, i32* %40, align 8 %90 = and i32 %89, -129 store i32 %90, i32* %arg2, align 4 br label LBL_23 LBL_22: store i32 1, i32* %88, align 4 br label LBL_23 LBL_23: %91 = load i32, i32* %63, align 8 %92 = and i32 %91, 32 %93 = icmp eq i32 %92, 0 br i1 %93, label LBL_25, label LBL_24 LBL_24: %94 = load i32, i32* %40, align 8 %95 = or i32 %94, 2 store i32 %95, i32* %arg2, align 4 br label LBL_25 LBL_25: %96 = and i64 %13, 4294967295 %97 = call i64 @FUNC(i64 %96, i64 %7) store i64* %44, i64** %.pre-phi.reg2mem store i1 true, i1* %sv_1.08.reg2mem br label LBL_29 LBL_26: %98 = and i32 %54, 8 %99 = icmp eq i32 %98, 0 store i64* %58, i64** %.pre-phi.reg2mem store i1 false, i1* %sv_1.08.reg2mem br i1 %99, label LBL_29, label LBL_27 LBL_27: %100 = load i32, i32* %40, align 8 %101 = and i32 %100, 16384 %102 = icmp eq i32 %98, %101 store i64* %58, i64** %.pre-phi.reg2mem store i1 false, i1* %sv_1.08.reg2mem br i1 %102, label LBL_29, label LBL_28 LBL_28: %103 = zext i32 %98 to i64 %104 = zext i32 %101 to i64 %105 = and i64 %13, 4294967295 %106 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 %105, i64 %104, i64 %103, i64 %r8.0.reload, i64 %1) store i64* %58, i64** %.pre-phi.reg2mem store i1 false, i1* %sv_1.08.reg2mem br label LBL_29 LBL_29: %sv_1.08.reload = load i1, i1* %sv_1.08.reg2mem %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %107 = trunc i64 %13 to i32 %108 = add i64 %21, 48 %109 = inttoptr i64 %108 to i32* store i32 %107, i32* %109, align 4 store i64 %21, i64* %.pre-phi.reload, align 8 %110 = add i64 %7, 16 %111 = inttoptr i64 %110 to i32* store i32 0, i32* %111, align 4 %112 = add i64 %7, 20 %113 = inttoptr i64 %112 to i32* store i32 0, i32* %113, align 4 br i1 %sv_1.08.reload, label LBL_32, label LBL_30 LBL_30: %114 = load i32, i32* %40, align 8 %115 = and i32 %114, 256 %116 = icmp eq i32 %115, 0 br i1 %116, label LBL_32, label LBL_31 LBL_31: %117 = and i32 %114, -257 store i32 %117, i32* %arg2, align 4 %118 = and i64 %13, 4294967295 %119 = call i64 @FUNC(i64 %7, i64 %118, i64 0) br label LBL_32 LBL_32: %120 = call i64 @FUNC(i64 %41, i64 %4) %121 = add i64 %21, 24 %122 = inttoptr i64 %121 to i64* %123 = load i64, i64* %122, align 8 %124 = icmp eq i64 %123, 0 br i1 %124, label LBL_34, label LBL_33 LBL_33: %125 = call i64 @FUNC(i64 %123) br label LBL_34 LBL_34: %126 = and i64 %13, 4294967295 %127 = call i64 @FUNC(i64 %126, i64 %7) %128 = add i64 %21, 56 %129 = inttoptr i64 %128 to i64* store i64 0, i64* %129, align 8 %130 = call i64 @FUNC(i64 %126, i64 %21) store i64 0, i64* %rax.0.reg2mem br label LBL_43 LBL_35: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %131 = add i64 %45, 8 %132 = inttoptr i64 %131 to i64* %133 = load i64, i64* %132, align 8 %134 = and i64 %13, 4294967295 %135 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i64 %134, i32 %48, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) %136 = icmp eq i64 %133, 0 br i1 %136, label LBL_37, label LBL_36 LBL_36: %137 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %133, i32 %48, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) br label LBL_37 LBL_37: %138 = call i64 @FUNC() store i64 4294967280, i64* %sv_0.0.reg2mem br label LBL_38 LBL_38: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %139 = call i64 @FUNC(i64 %41, i64 %4) %140 = add i64 %21, 24 %141 = inttoptr i64 %140 to i64* %142 = load i64, i64* %141, align 8 %143 = icmp eq i64 %142, 0 br i1 %143, label LBL_42, label LBL_39 LBL_39: store i64 0, i64* %141, align 8 %144 = add i64 %21, 64 %145 = call i64 @FUNC(i64 8, i64 %144) %146 = trunc i64 %145 to i32 %147 = icmp eq i32 %146, 0 %148 = icmp eq i1 %147, false br i1 %148, label LBL_41, label LBL_40 LBL_40: %149 = call i64 @FUNC(i64 %142) br label LBL_41 LBL_41: %150 = call i64 @FUNC(i64 %142) br label LBL_42 LBL_42: %151 = and i64 %sv_0.0.reload, 4294967295 store i64 %151, i64* %rax.0.reg2mem br label LBL_43 LBL_43: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %142, { 1, 0, 2 } uselistorder i64 %rcx.0.reload, { 1, 0 } uselistorder i32* %88, { 1, 0 } uselistorder i32 %.pre, { 2, 1, 0, 3 } uselistorder i64 %59, { 1, 0 } uselistorder i64* %58, { 2, 1, 0, 3 } uselistorder i32 %48, { 1, 0, 2, 3 } uselistorder i64 %r8.0.reload, { 2, 1, 0 } uselistorder i32* %40, { 3, 4, 2, 1, 0 } uselistorder i64 %35, { 2, 1, 0, 3 } uselistorder i64 %21, { 2, 3, 4, 5, 6, 7, 8, 1, 10, 11, 0, 9 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %13, { 2, 7, 6, 8, 5, 4, 3, 1, 0 } uselistorder i64 %7, { 6, 5, 7, 8, 1, 2, 3, 0, 4, 9, 10, 11 } uselistorder i64* %rdx, { 3, 2, 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i32** %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i64** %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i1* %sv_1.08.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 1, 2, 3, 4, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @printk, { 1, 0 } uselistorder i64 (i64, i64)* @raw_spin_unlock_irqrestore, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i1 false, { 3, 2, 1, 0, 4, 5, 6, 7, 8 } uselistorder i32* %arg2, { 4, 3, 2, 0, 1, 5, 6 } uselistorder label LBL_43, { 5, 6, 1, 2, 0, 3, 4 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } }
1
BinRealVul
calipso_doi_remove_12880
calipso_doi_remove
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64* nonnull @gv_0) store i32 -2, i32* %sv_0.0.reg2mem br label LBL_5 LBL_2: %9 = add i64 %5, 8 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64* nonnull @gv_0) store i32 -16, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %15 = add i64 %5, 16 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC(i64* nonnull @gv_0) %18 = add i64 %5, 24 %19 = call i64 @FUNC(i64 %18, i64 4198771) store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %20 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 1, i64 %20) %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = icmp eq i32 %sv_0.0.reload, 0 %24 = zext i1 %23 to i64 %25 = trunc i64 %arg1 to i32 %26 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i32 %25, i64 %24, i64 %2, i64 %1) %27 = call i64 @FUNC(i64 %21) br label LBL_7 LBL_7: %28 = zext i32 %sv_0.0.reload to i64 ret i64 %28 uselistorder i64 %21, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i64*)* @spin_unlock, { 2, 1, 0 } }
1
BinRealVul
lance_init_14719
lance_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4) %2 = load i64, i64* @gv_2, align 8 %3 = call i64 @FUNC(i64 %0, i64 %2, i64 1) %4 = call i64 @FUNC(i64 %0, i64 %0) %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = load i64, i64* @gv_3, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = load i64, i64* @gv_4, align 8 %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_5) ret i64 %13 uselistorder i64 %0, { 10, 11, 9, 8, 0, 7, 6, 1, 5, 3, 2, 4 } }
1
BinRealVul
free_winch_17860
free_winch
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %arg1, 16 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, -1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 1) br label LBL_2 LBL_2: %8 = add i64 %arg1, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = zext i32 %10 to i64 %13 = call i64 @FUNC(i64 %12) br label LBL_4 LBL_4: %14 = add i64 %arg1, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %16, i64 0) br label LBL_6 LBL_6: %19 = trunc i64 %arg2 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 1, i64 %arg1) br label LBL_8 LBL_8: %22 = call i64 @FUNC(i64 %arg1) ret i64 %22 uselistorder i64 %1, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } }
1
BinRealVul
uc32_cpu_initfn_14867
uc32_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64 4198739) %5 = inttoptr i64 %2 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %2, 128 %7 = inttoptr i64 %6 to i32* store i32 50331648, i32* %7, align 4 %8 = call i64 @FUNC(i64 %1, i64 1) %9 = call i64 @FUNC() %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 0 store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_1 LBL_1: %12 = load i8, i8* inttoptr (i64 4210916 to i8*), align 4 %13 = icmp eq i8 %12, 1 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 %14 = call i64 @FUNC() store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 1, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
BinRealVul
zep_print_ts_6875
zep_print_ts
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i64, i64* %1 %6 = load i128, i128* %0 %7 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = icmp eq i32 %10, 0 %13 = call i128 @FUNC(i128 %6, i128 %6) %14 = call i128 @FUNC(i64 %11) %15 = call i64 @FUNC(i128 %14) %16 = trunc i64 %15 to i32 %17 = call i128 @FUNC(i128 %14, i128 %14) call void @FUNC(i128 %17, i32 %16) store i32 %16, i32* %sv_0.0.reg2mem br i1 %12, label LBL_2, label LBL_1 LBL_1: %18 = call i128 @__asm_movss.1(i32 %16) %19 = call i128 @__asm_movss.1(i32 1325400064) %20 = call i128 @FUNC(i128 %19, i128 %18) %21 = call i64 @FUNC(i128 %20) %22 = trunc i64 %21 to i32 store i32 %22, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %23 = trunc i64 %4 to i32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %24 = call i128 @__asm_movss.1(i32 %sv_0.0.reload) %25 = call i128 @__asm_movss.1(i32 1325400064) %26 = call i128 @FUNC(i128 %24, i128 %25) %27 = call i64 @FUNC(i128 %26) %28 = trunc i64 %27 to i32 %29 = call i128 @FUNC(i128 %25, i128 %25) %30 = call i128 @FUNC(i32 %28) %31 = call i128 @FUNC(i64 4741671816366391296) %32 = call i128 @FUNC(i128 %31, i128 %30) %33 = call i64 @FUNC(i128 %32) %34 = trunc i64 %33 to i32 %35 = and i64 %4, 4294967295 %36 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %35, i32 %34, i64 %5, i64 %3, i64 %2) %37 = icmp eq i32 %23, 0 store i64 %36, i64* %rax.0.reg2mem br i1 %37, label LBL_4, label LBL_3 LBL_3: %38 = add i64 %4, 2085978496 %39 = and i64 %38, 4294967295 store i64 %39, i64* %sv_2, align 8 %40 = bitcast i64* %sv_2 to i32* %41 = call %tm* @localtime(i32* nonnull %40) %42 = ptrtoint %tm* %41 to i64 %43 = call i64 @FUNC(i64* nonnull %sv_1, i64 128, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %42) %44 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %43, i32 ptrtoint ([18 x i8]* @gv_1 to i32), i64 %42, i64 %3, i64 %2) store i64 %44, 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 %42, { 1, 0 } uselistorder i128 %25, { 2, 1, 0 } uselistorder i32 %16, { 1, 0, 2 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %1, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @ND_PRINT, { 1, 0 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
msi_uninit_15604
msi_uninit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = urem i64 %1, 256 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %3) %5 = urem i64 %4, 65536 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i8 %8 = call i64 @FUNC(i64 %0, i64 17, i8 %7) %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) ret i64 %9 uselistorder i64 %0, { 1, 2, 0, 3 } }
1
BinRealVul
blk_rq_map_user_iov_11729
blk_rq_map_user_iov
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg3, null store i64 1, i64* %sv_1.0.ph.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg4 to i64 %4 = or i64 %1, %0 %5 = call i64 @FUNC(i64 %3) %6 = and i64 %5, %4 %7 = icmp eq i64 %6, 0 store i64 1, i64* %sv_1.0.ph.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 store i64 0, i64* %sv_1.0.ph.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0) %12 = urem i64 %11, 256 %13 = call i64 @FUNC(i64 %3) %14 = and i64 %12, %13 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false %phitmp = zext i1 %16 to i64 store i64 %phitmp, i64* %sv_1.0.ph.reg2mem br label LBL_4 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = ptrtoint i64* %arg2 to i64 %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem %19 = and i64 %arg5, 4294967295 %20 = bitcast i32* %sv_2 to i64* store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 %18, i64 %17, i64* nonnull %20, i64 %19, i64 %sv_1.0.ph.reload) %22 = trunc i64 %21 to i32 store i32 %22, i32* %sv_2, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_9, label LBL_6 LBL_6: %25 = icmp eq i64 %sv_0.0.reload, 0 %26 = icmp eq i1 %25, false %spec.select = select i1 %26, i64 %sv_0.0.reload, i64 %17 %27 = call i64 @FUNC(i64* nonnull %20) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %spec.select, i64* %sv_0.0.reg2mem br i1 %30, label LBL_5, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %spec.select, i64 1) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %storemerge.reg2mem br i1 %34, label LBL_10, label LBL_8 LBL_8: %35 = add i64 %18, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = or i32 %37, 2 store i32 %38, i32* %36, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_9: %39 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 0, i64* %arg2, align 8 store i64 4294967274, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %sv_1.0.ph.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @queue_virt_boundary, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0, 3, 2 } }
1
BinRealVul
pndisc_constructor_9594
pndisc_constructor
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
ohci_bus_start_18666
ohci_bus_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 4198855, i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 %1, i64* %3, align 8 %4 = icmp eq i64 %1, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 0) %7 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 0) store i64 %8, 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
BinRealVul
pipe_zero_10612
pipe_zero
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %.reg2mem4 = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = bitcast i32* %sv_1 to i64* %6 = call i64 @FUNC(i64 %0, i64 %arg1, i64* nonnull %5, i64* nonnull %sv_2) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i32* %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i64* %.pre = load i64, i64* %sv_2, align 8 %.pre3 = load i32, i32* %sv_1, align 4 store i32 %.pre3, i32* %.reg2mem store i64 %.pre, i64* %.reg2mem4 store i64 %6, i64* %sv_0.02.reg2mem br label LBL_3 LBL_3: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %.reload5 = load i64, i64* %.reg2mem4 %.reload = load i32, i32* %.reg2mem %13 = sub i64 4096, %.reload5 %14 = icmp ugt i64 %sv_0.02.reload, %13 %15 = select i1 %14, i64 %13, i64 %sv_0.02.reload %16 = sext i32 %.reload to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, %0 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 %.reload5, i64 %15) %22 = load i32, i32* %sv_1, align 4 store i32 %22, i32* %10, align 4 %23 = load i64, i64* %sv_2, align 8 %24 = add i64 %23, %15 store i64 %24, i64* %12, align 8 %25 = sub i64 %sv_0.02.reload, %15 %26 = load i32, i32* %sv_1, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64 %0) %29 = trunc i64 %28 to i32 store i32 %29, i32* %sv_1, align 4 store i64 0, i64* %sv_2, align 8 %30 = icmp eq i64 %25, 0 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem store i64 0, i64* %.reg2mem4 store i64 %25, i64* %sv_0.02.reg2mem br i1 %31, label LBL_3, label LBL_4 LBL_4: %32 = add i64 %0, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = sub i64 %34, %6 store i64 %35, i64* %33, align 8 store i64 %6, 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 %15, { 1, 0, 2 } uselistorder i64 %6, { 0, 2, 1, 3 } uselistorder i64* %sv_2, { 2, 3, 0, 1 } uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem4, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder label LBL_5, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
iscsi_truncate_2878
iscsi_truncate
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 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967201, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %6 = load i64, i64* %sv_0, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %6) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %9 = call i64 @FUNC(i64 %4) %sext = mul i64 %9, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = icmp slt i64 %10, %arg2 store i64 4294967274, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %14) %17 = add i64 %4, 20 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %4, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23, i64 %4) %25 = zext i32 %19 to i64 %26 = and i64 %24, 4294967295 %27 = call i64 @FUNC(i64 %26, i64 %25) %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 %28) store i64 %29, i64* %13, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 3, 2, 4, 5 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 } uselistorder label LBL_6, { 1, 0, 2, 4, 3 } }
0
BinRealVul
bm_roundrect_12785
bm_roundrect
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg3 to i32 %4 = trunc i64 %arg5 to i32 %5 = trunc i64 %arg6 to i32 %6 = sub i32 0, %5 %7 = mul i32 %5, 2 %8 = sub i32 2, %7 %9 = sub i64 %arg4, %arg6 %10 = and i64 %9, 4294967295 %11 = add i64 %arg6, %arg2 %12 = and i64 %11, 4294967295 %13 = and i64 %arg3, 4294967295 %14 = call i64 @FUNC(i64 %2, i64 %12, i32 %3, i64 %10, i64 %13) %15 = sub i64 %arg5, %arg6 %16 = add i64 %arg6, %arg3 %17 = trunc i64 %16 to i32 %18 = and i64 %arg2, 4294967295 %19 = and i64 %15, 4294967295 %20 = call i64 @FUNC(i64 %2, i64 %18, i32 %17, i64 %18, i64 %19) %21 = and i64 %arg5, 4294967295 %22 = call i64 @FUNC(i64 %2, i64 %12, i32 %4, i64 %10, i64 %21) %23 = and i64 %arg4, 4294967295 %24 = call i64 @FUNC(i64 %2, i64 %23, i32 %17, i64 %23, i64 %19) %25 = trunc i64 %arg4 to i32 %26 = sub i32 %4, %5 %27 = add i64 %2, 8 %28 = inttoptr i64 %27 to i32* %29 = add i64 %2, 4 %30 = inttoptr i64 %29 to i32* %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* %33 = add i64 %2, 16 %34 = inttoptr i64 %33 to i32* %35 = trunc i64 %arg2 to i32 %36 = sub i32 %25, %5 %37 = and i64 %1, 4294967295 store i32 %6, i32* %sv_2.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem store i32 %8, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %38 = sub i32 %25, %sv_2.0.reload %39 = sub i32 %38, %5 %40 = sext i32 %39 to i64 %41 = icmp sgt i64 %37, %40 br i1 %41, label LBL_6, label LBL_2 LBL_2: %42 = load i32, i32* %28, align 4 %43 = zext i32 %42 to i64 %44 = icmp slt i64 %40, %43 br i1 %44, label LBL_3, label LBL_6 LBL_3: %45 = add i32 %sv_1.0.reload, %26 %46 = load i32, i32* %30, align 4 %47 = zext i32 %46 to i64 %48 = sext i32 %45 to i64 %49 = icmp slt i64 %48, %47 br i1 %49, label LBL_6, label LBL_4 LBL_4: %50 = load i32, i32* %32, align 4 %51 = zext i32 %50 to i64 %52 = icmp slt i64 %48, %51 br i1 %52, label LBL_5, label LBL_6 LBL_5: %53 = load i32, i32* %34, align 4 %54 = call i64 @FUNC(i64 %2, i32 %39, i32 %45, i32 %53) br label LBL_6 LBL_6: %55 = sub i32 %35, %sv_1.0.reload %56 = add i32 %55, %5 %57 = sext i32 %56 to i64 %58 = icmp sgt i64 %37, %57 br i1 %58, label LBL_11, label LBL_7 LBL_7: %59 = load i32, i32* %28, align 4 %60 = zext i32 %59 to i64 %61 = icmp slt i64 %57, %60 br i1 %61, label LBL_8, label LBL_11 LBL_8: %62 = sub i32 %4, %sv_2.0.reload %63 = sub i32 %62, %5 %64 = load i32, i32* %30, align 4 %65 = zext i32 %64 to i64 %66 = sext i32 %63 to i64 %67 = icmp slt i64 %66, %65 br i1 %67, label LBL_11, label LBL_9 LBL_9: %68 = load i32, i32* %32, align 4 %69 = zext i32 %68 to i64 %70 = icmp slt i64 %66, %69 br i1 %70, label LBL_10, label LBL_11 LBL_10: %71 = load i32, i32* %34, align 4 %72 = call i64 @FUNC(i64 %2, i32 %56, i32 %63, i32 %71) br label LBL_11 LBL_11: %73 = add i32 %sv_2.0.reload, %5 %74 = add i32 %73, %35 %75 = sext i32 %74 to i64 %76 = icmp sgt i64 %37, %75 br i1 %76, label LBL_16, label LBL_12 LBL_12: %77 = load i32, i32* %28, align 4 %78 = zext i32 %77 to i64 %79 = icmp slt i64 %75, %78 br i1 %79, label LBL_13, label LBL_16 LBL_13: %80 = sub i32 %3, %sv_1.0.reload %81 = add i32 %80, %5 %82 = load i32, i32* %30, align 4 %83 = zext i32 %82 to i64 %84 = sext i32 %81 to i64 %85 = icmp slt i64 %84, %83 br i1 %85, label LBL_16, label LBL_14 LBL_14: %86 = load i32, i32* %32, align 4 %87 = zext i32 %86 to i64 %88 = icmp slt i64 %84, %87 br i1 %88, label LBL_15, label LBL_16 LBL_15: %89 = load i32, i32* %34, align 4 %90 = call i64 @FUNC(i64 %2, i32 %74, i32 %81, i32 %89) br label LBL_16 LBL_16: %91 = add i32 %sv_1.0.reload, %36 %92 = sext i32 %91 to i64 %93 = icmp sgt i64 %37, %92 br i1 %93, label LBL_21, label LBL_17 LBL_17: %94 = load i32, i32* %28, align 4 %95 = zext i32 %94 to i64 %96 = icmp slt i64 %92, %95 br i1 %96, label LBL_18, label LBL_21 LBL_18: %97 = add i32 %73, %3 %98 = load i32, i32* %30, align 4 %99 = zext i32 %98 to i64 %100 = sext i32 %97 to i64 %101 = icmp slt i64 %100, %99 br i1 %101, label LBL_21, label LBL_19 LBL_19: %102 = load i32, i32* %32, align 4 %103 = zext i32 %102 to i64 %104 = icmp slt i64 %100, %103 br i1 %104, label LBL_20, label LBL_21 LBL_20: %105 = load i32, i32* %34, align 4 %106 = call i64 @FUNC(i64 %2, i32 %91, i32 %97, i32 %105) br label LBL_21 LBL_21: %107 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %107, label LBL_22, label LBL_23 LBL_22: %108 = add i32 %sv_2.0.reload, 1 %109 = mul i32 %108, 2 %110 = or i32 %109, 1 %111 = add i32 %110, %sv_0.0.reload store i32 %108, i32* %sv_2.1.reg2mem store i32 %111, i32* %sv_0.1.reg2mem br label LBL_23 LBL_23: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %112 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem br i1 %112, label LBL_25, label LBL_24 LBL_24: %113 = add i32 %sv_1.0.reload, 1 %114 = mul i32 %113, 2 %115 = or i32 %114, 1 %116 = add i32 %sv_0.1.reload, %115 store i32 %113, i32* %sv_1.1.reg2mem store i32 %116, i32* %sv_0.2.reg2mem store i32 %115, i32* %rax.0.in.reg2mem br label LBL_25 LBL_25: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %117 = icmp slt i32 %sv_2.1.reload, 0 store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem br i1 %117, label LBL_1, label LBL_26 LBL_26: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i64 %92, { 1, 0 } uselistorder i32 %91, { 1, 0 } uselistorder i64 %75, { 1, 0 } uselistorder i64 %57, { 1, 0 } uselistorder i32 %45, { 1, 0 } uselistorder i64 %40, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 3, 0, 4, 5, 2, 1 } uselistorder i32 %sv_1.0.reload, { 3, 0, 4, 6, 2, 1, 5 } uselistorder i32 %sv_0.0.reload, { 0, 3, 4, 1, 2 } uselistorder i32 %25, { 1, 0 } uselistorder i32 %5, { 3, 4, 1, 5, 2, 7, 6, 0, 8 } uselistorder i64 %2, { 7, 6, 5, 3, 4, 2, 1, 0, 8, 9, 10, 11 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32, i32, i32)* @BM_SET, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32, i64, i64)* @bm_line, { 3, 2, 1, 0 } uselistorder i32 2, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg6, { 0, 2, 1, 3, 4 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_21, { 2, 0, 3, 1, 4 } uselistorder label LBL_16, { 2, 0, 3, 1, 4 } uselistorder label LBL_11, { 2, 0, 3, 1, 4 } uselistorder label LBL_6, { 2, 0, 3, 1, 4 } }
1