dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
avrc_send_next_vendor_cmd_9453
avrc_send_next_vendor_cmd
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sext = mul i64 %arg1, 72057594037927936 %3 = ashr exact i64 %sext, 56 %4 = mul i64 %arg1, 16 %5 = and i64 %4, 4080 %6 = or i64 %5, 8 %7 = trunc i64 %3 to i8 %8 = urem i64 %3, 256 br label LBL_3 LBL_1: %9 = add i64 %26, 2 %10 = inttoptr i64 %9 to i16* %11 = load i16, i16* %10, align 2 %12 = udiv i16 %11, 256 %13 = trunc i16 %12 to i8 %14 = urem i16 %11, 256 store i16 %14, i16* %10, align 2 %15 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_0, i64 0, i64 0), i64 %26, i8 %7, i8 %13, i64 %2, i64 %1) %16 = call i64 @FUNC(i64 %8, i8 %13, i64 1, i64 %26) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_3, label LBL_2 LBL_2: %20 = zext i16 %12 to i64 %21 = call i64 @FUNC(i64 %8, i64 %20, i64 2) store i64 %21, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %22 = load i64, i64* @gv_1, align 8 %23 = add i64 %22, %6 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_1, label LBL_4 LBL_4: %29 = load i64, i64* @gv_1, align 8 %30 = add i64 %29, %5 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = and i32 %32, -5 store i32 %33, i32* %31, align 4 store i64 %30, 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 %26, { 3, 2, 1, 0 } uselistorder i16 %12, { 1, 0 } uselistorder i16 %11, { 1, 0 } uselistorder i64 %8, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i16 256, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
mk_request_free_12278
mk_request_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %8) br label LBL_4 LBL_4: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %2, 24 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %13, %16 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %11) br label LBL_6 LBL_6: %19 = add i64 %2, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %2, 40 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %21, %24 store i64 %21, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %19) store i64 %26, 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 %2, { 1, 0, 3, 2, 4, 5 } uselistorder i64 (i64)* @mk_ptr_free, { 1, 0 } }
1
BinRealVul
__cil_build_ast_first_child_helper_12354
__cil_build_ast_first_child_helper
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem5 = alloca i32 %.reg2mem3 = alloca i32 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = bitcast i64* %rsi to i32* %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i32 %4, i32* %.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* store i64 %2, i64* %8, align 8 %.pre = load i32, i32* %3, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %9 = icmp eq i32 %.reload, 1 %10 = icmp eq i1 %9, false store i32 %.reload, i32* %.reg2mem3 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* store i64 %2, i64* %12, align 8 %.pre1 = load i32, i32* %3, align 8 store i32 %.pre1, i32* %.reg2mem3 br label LBL_4 LBL_4: %.reload4 = load i32, i32* %.reg2mem3 %13 = icmp eq i32 %.reload4, 2 %14 = icmp eq i1 %13, false store i32 %.reload4, i32* %.reg2mem5 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = add i64 %2, 24 %16 = inttoptr i64 %15 to i64* store i64 %2, i64* %16, align 8 %.pre2 = load i32, i32* %3, align 8 store i32 %.pre2, i32* %.reg2mem5 br label LBL_6 LBL_6: %.reload6 = load i32, i32* %.reg2mem5 %17 = icmp eq i32 %.reload6, 3 %18 = icmp eq i1 %17, false br i1 %18, label LBL_8, label LBL_7 LBL_7: %19 = add i64 %2, 32 %20 = inttoptr i64 %19 to i64* store i64 %2, i64* %20, align 8 br label LBL_8 LBL_8: ret i64 0 uselistorder i64 %2, { 5, 6, 3, 4, 1, 2, 7, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem3, { 0, 2, 1 } uselistorder i32* %.reg2mem5, { 0, 2, 1 } }
1
BinRealVul
_nfs4_proc_link_9736
_nfs4_proc_link
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 %0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %1 = ptrtoint i64* %sv_2 to i64 %2 = load i64, i64* @gv_0, align 8 store i64 %2, i64* %sv_0, align 8 %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %1) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0, i64 0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_1) %14 = call i64 @FUNC(i64 %12, i64 %1) %15 = call i64 @FUNC(i64 %0, i64 %1) br label LBL_2 LBL_2: %16 = and i64 %8, 4294967295 ret i64 %16 uselistorder i64 %12, { 1, 0 } uselistorder i64 (i64, i64)* @nfs_post_op_update_inode, { 1, 0 } uselistorder i64 (i64)* @nfs_fattr_init, { 1, 0 } }
0
BinRealVul
set_protocol_8031
set_protocol
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge3.in.in.in.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 store i64 %0, i64* %storemerge3.in.in.in.in.reg2mem br label LBL_3 LBL_1: %storemerge3 = inttoptr i64 %storemerge3.in to i32* %2 = load i32, i32* %storemerge3, align 4 %3 = icmp eq i32 %2, %1 %4 = icmp eq i1 %3, false store i64 %storemerge3.in, i64* %storemerge3.in.in.in.in.reg2mem br i1 %4, label LBL_3, label LBL_2 LBL_2: store i64 %storemerge3.in, i64* %arg1, align 8 %5 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %storemerge3.in.in.in.in.reload = load i64, i64* %storemerge3.in.in.in.in.reg2mem %storemerge3.in.in.in = add i64 %storemerge3.in.in.in.in.reload, 8 %storemerge3.in.in = inttoptr i64 %storemerge3.in.in.in to i64* %storemerge3.in = load i64, i64* %storemerge3.in.in, align 8 %6 = icmp eq i64 %storemerge3.in, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_4 LBL_4: store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge3.in, { 2, 3, 0, 1 } uselistorder i64 %0, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
br2684_push_7587
br2684_push
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi2.reg2mem = alloca i32* %.reg2mem = alloca i32 %.pre1.pre-phi.reg2mem = alloca i32* %.pre-phi5.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %rsi = alloca i64, align 8 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %5, i64 %6, i64 %2, i64 %1) %8 = icmp eq i64 %arg2, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %arg1) %11 = add i64 %arg1, 16 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_28, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64* nonnull @gv_1) %16 = add i64 %arg1, 24 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64* nonnull @gv_1) %19 = call i64 @FUNC(i64 %arg1) store i64 %19, i64* %rax.0.reg2mem br label LBL_28 LBL_3: %20 = trunc i64 %3 to i32 %21 = call i64 @FUNC(i64 %arg2) %22 = add i64 %arg2, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %arg1, i64 %25) %27 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %25, i64 %6, i64 %2, i64 %1) %28 = add i64 %arg1, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_20, label LBL_4 LBL_4: %33 = trunc i64 %4 to i32 %34 = icmp slt i32 %33, 8 br i1 %34, label LBL_7, label LBL_5 LBL_5: %35 = add i64 %arg2, 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %37, 7 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp eq i8 %40, 1 %42 = icmp eq i1 %41, false store i64* %36, i64** %.pre-phi5.reg2mem br i1 %42, label LBL_9, label LBL_6 LBL_6: %43 = add i64 %4, 4294967292 %44 = and i64 %43, 4294967295 %45 = call i64 @FUNC(i64 %arg2, i64 %44) store i64* %36, i64** %.pre-phi5.reg2mem br label LBL_9 LBL_7: %46 = icmp ult i32 %33, 3 br i1 %46, label LBL_19, label LBL_7.LBL_9_crit_edge LBL_8: %.pre3 = add i64 %arg2, 8 %.pre4 = inttoptr i64 %.pre3 to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem br label LBL_9 LBL_9: %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %47 = load i64, i64* %.pre-phi5.reload, align 8 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = load i8, i8* @gv_3, align 1 %51 = icmp eq i8 %49, %50 %52 = icmp eq i1 %51, false br i1 %52, label LBL_16, label LBL_10 LBL_10: %53 = add i64 %47, 6 %54 = inttoptr i64 %53 to i64* %55 = call i32 @memcmp(i64* %54, i64* inttoptr (i64 4210778 to i64*), i32 2) %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_12, label LBL_11 LBL_11: %58 = call i64 @FUNC(i64 34525) %59 = trunc i64 %58 to i32 %60 = urem i32 %59, 65536 %61 = add i64 %arg2, 16 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 store i32* %62, i32** %.pre1.pre-phi.reg2mem br label LBL_15 LBL_12: %63 = load i64, i64* %.pre-phi5.reload, align 8 %64 = add i64 %63, 6 %65 = inttoptr i64 %64 to i64* %66 = call i32 @memcmp(i64* %65, i64* inttoptr (i64 4210780 to i64*), i32 2) %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_14, label LBL_13 LBL_13: %69 = call i64 @FUNC(i64 2048) %70 = trunc i64 %69 to i32 %71 = urem i32 %70, 65536 %72 = add i64 %arg2, 16 %73 = inttoptr i64 %72 to i32* store i32 %71, i32* %73, align 4 store i32* %73, i32** %.pre1.pre-phi.reg2mem br label LBL_15 LBL_14: %74 = add i32 %20, 1 %75 = inttoptr i64 %arg1 to i32* store i32 %74, i32* %75, align 4 %76 = call i64 @FUNC(i64 %arg2) store i64 %76, i64* %rax.0.reg2mem br label LBL_28 LBL_15: %.pre1.pre-phi.reload = load i32*, i32** %.pre1.pre-phi.reg2mem %77 = call i64 @FUNC(i64 %arg2, i64 3) %78 = call i64 @FUNC(i64 %arg2) %79 = add i64 %arg2, 32 %80 = inttoptr i64 %79 to i32* store i32 0, i32* %80, align 4 %.pre = load i32, i32* %.pre1.pre-phi.reload, align 4 store i32 %.pre, i32* %.reg2mem store i32* %.pre1.pre-phi.reload, i32** %.pre-phi2.reg2mem br label LBL_23 LBL_16: %81 = icmp ult i32 %33, 7 br i1 %81, label LBL_19, label LBL_17 LBL_17: %82 = inttoptr i64 %47 to i64* %83 = call i32 @memcmp(i64* %82, i64* nonnull @gv_4, i32 7) %84 = icmp eq i32 %83, 0 %85 = icmp eq i1 %84, false br i1 %85, label LBL_19, label LBL_18 LBL_18: %86 = call i64 @FUNC(i64 %arg2, i64 7) %87 = call i64 @FUNC(i64 %arg2, i64 %arg1) %88 = trunc i64 %87 to i32 %89 = add i64 %arg2, 16 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 store i32 %88, i32* %.reg2mem store i32* %90, i32** %.pre-phi2.reg2mem br label LBL_23 LBL_19: %91 = add i32 %20, 1 %92 = inttoptr i64 %arg1 to i32* store i32 %91, i32* %92, align 4 %93 = call i64 @FUNC(i64 %arg2) store i64 %93, i64* %rax.0.reg2mem br label LBL_28 LBL_20: %94 = add i64 %arg2, 8 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = inttoptr i64 %96 to i16* %98 = load i16, i16* %97, align 2 %99 = icmp eq i16 %98, 0 br i1 %99, label LBL_22, label LBL_21 LBL_21: %100 = add i32 %20, 1 %101 = inttoptr i64 %arg1 to i32* store i32 %100, i32* %101, align 4 %102 = call i64 @FUNC(i64 %arg2) store i64 %102, i64* %rax.0.reg2mem br label LBL_28 LBL_22: %103 = call i64 @FUNC(i64 %arg2, i64 14) %104 = call i64 @FUNC(i64 %arg2, i64 %arg1) %105 = trunc i64 %104 to i32 %106 = add i64 %arg2, 16 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 store i32 %105, i32* %.reg2mem store i32* %107, i32** %.pre-phi2.reg2mem br label LBL_23 LBL_23: %.reload = load i32, i32* %.reg2mem %108 = zext i32 %.reload to i64 %109 = call i64 @FUNC(i64 %108, i64 %arg1, i64 %arg2) %110 = trunc i64 %109 to i32 %111 = icmp eq i32 %110, 0 br i1 %111, label LBL_25, label LBL_24 LBL_24: %112 = add i64 %arg1, 4 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = add i32 %114, 1 store i32 %115, i32* %113, align 4 %116 = call i64 @FUNC(i64 %arg2) store i64 %116, i64* %rax.0.reg2mem br label LBL_28 LBL_25: %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem %117 = add i64 %arg2, 24 %118 = inttoptr i64 %117 to i64* store i64 %arg1, i64* %118, align 8 %119 = inttoptr i64 %arg2 to i64* store i64 %arg1, i64* %119, align 8 %120 = load i32, i32* %.pre-phi2.reload, align 4 %121 = urem i32 %120, 65536 %122 = zext i32 %121 to i64 %123 = call i64 @FUNC(i64 %122) %124 = urem i64 %123, 65536 %125 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %124, i64 %arg1, i64 %arg1, i64 %2, i64 %1) %126 = call i64 @FUNC(i64 %arg2) %127 = bitcast i64* %rdi to i32* %128 = load i32, i32* %127, align 8 %129 = urem i32 %128, 2 %130 = icmp eq i32 %129, 0 %131 = icmp eq i1 %130, false br i1 %131, label LBL_27, label LBL_26 LBL_26: %132 = add i64 %arg1, 4 %133 = inttoptr i64 %132 to i32* %134 = load i32, i32* %133, align 4 %135 = add i32 %134, 1 store i32 %135, i32* %133, align 4 %136 = call i64 @FUNC(i64 %arg2) store i64 %136, i64* %rax.0.reg2mem br label LBL_28 LBL_27: %137 = load i32, i32* %29, align 4 %138 = add i32 %137, 1 store i32 %138, i32* %29, align 4 %139 = add i64 %arg1, 12 %140 = inttoptr i64 %139 to i32* %141 = load i32, i32* %140, align 4 %142 = bitcast i64* %rsi to i32* %143 = load i32, i32* %142, align 8 %144 = add i32 %143, %141 store i32 %144, i32* %140, align 4 %145 = call i64* @memset(i64* %119, i32 0, i32 8) %146 = call i64 @FUNC(i64 %arg2) store i64 %146, i64* %rax.0.reg2mem br label LBL_28 LBL_28: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %33, { 1, 0, 2 } uselistorder i32* %29, { 1, 0, 2 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64** %.pre-phi5.reg2mem, { 0, 3, 1, 2 } uselistorder i32** %.pre1.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i32** %.pre-phi2.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 1, 2 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @eth_type_trans, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 (i64, i64)* @skb_pull, { 2, 1, 0 } uselistorder i64 (i64)* @dev_kfree_skb, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @__constant_htons, { 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 2, 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64)* @skb_debug, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 2, 1, 0 } uselistorder i32 1, { 22, 23, 24, 19, 20, 21, 26, 25, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 16, 15, 17, 18, 19, 14, 20, 21, 22, 24, 13, 23, 12, 9, 10, 11, 4, 5, 6, 8, 7, 3, 0, 2, 1, 25, 27, 26, 28 } uselistorder i64 %arg1, { 9, 10, 11, 12, 13, 14, 8, 15, 16, 7, 6, 5, 4, 17, 18, 19, 0, 1, 2, 3 } uselistorder label LBL_28, { 2, 3, 4, 5, 6, 7, 1, 0 } uselistorder label LBL_19, { 1, 2, 0 } uselistorder label LBL_9, { 0, 2, 1 } }
1
BinRealVul
push_leaf_right_4410
push_leaf_right
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 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 eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_9 LBL_1: %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = call i64 @FUNC(i64 %3) %10 = add i64 %9, 4294967295 %11 = and i64 %10, 4294967295 %12 = sext i32 %8 to i64 %13 = icmp sgt i64 %11, %12 store i64 1, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_9 LBL_2: %14 = ptrtoint i64* %arg2 to i64 %15 = load i64, i64* %2, align 8 %16 = call i64 @FUNC(i64 %15) %17 = add i32 %8, 1 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %14, i64 %3, i64 %18) store i64 %19, i64* %sv_0, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_9 LBL_3: %22 = call i64 @FUNC(i64 %19) %23 = call i64 @FUNC(i64 %19) %24 = call i64 @FUNC(i64 %14, i64 %19) %25 = trunc i64 %24 to i32 %26 = trunc i64 %arg5 to i32 %27 = icmp slt i32 %25, %26 br i1 %27, label LBL_8, label LBL_4 LBL_4: %28 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %24, 4294967296 %29 = ashr exact i64 %sext, 32 %30 = call i64 @FUNC(i64 %28, i64 %14, i64 %19, i64 %3, i64 %18, i64* nonnull %sv_0, i64 %29) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_5 LBL_5: %34 = load i64, i64* %sv_0, align 8 %35 = call i64 @FUNC(i64 %14, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, %26 br i1 %37, label LBL_8, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %0) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_8, label LBL_7 LBL_7: %41 = load i64, i64* %sv_0, align 8 %42 = trunc i64 %arg6 to i32 %43 = trunc i64 %arg4 to i32 %44 = call i64 @FUNC(i64 %28, i64 %14, i64 %0, i32 %43, i32 %42, i64 %41) store i64 %44, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %45 = load i64, i64* %sv_0, align 8 %46 = call i64 @FUNC(i64 %45) %47 = load i64, i64* %sv_0, align 8 %48 = call i64 @FUNC(i64 %47) store i64 1, 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 %3, { 2, 1, 0, 3, 4 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64, i64)* @btrfs_leaf_free_space, { 1, 0 } uselistorder i64 (i64)* @btrfs_header_nritems, { 1, 0 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder label LBL_9, { 3, 4, 0, 1, 2 } }
0
BinRealVul
probe_common_18455
probe_common
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 48, i64 0) %sext = mul i64 %1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = call i64 @FUNC(i64 40, i64 0) %sext1 = mul i64 %3, 4294967296 %4 = ashr exact i64 %sext1, 32 %5 = inttoptr i64 %2 to i64* store i64 %4, i64* %5, align 8 %6 = add nsw i64 %2, 40 %7 = call i64 @FUNC(i64 %6) %8 = add nsw i64 %2, 8 %9 = inttoptr i64 %8 to i64* store i64 4198726, i64* %9, align 8 %10 = add nsw i64 %2, 16 %11 = inttoptr i64 %10 to i64* store i64 4198737, i64* %11, align 8 %12 = add nsw i64 %2, 24 %13 = inttoptr i64 %12 to i64* store i64 %2, i64* %13, align 8 store i64 %2, i64* %arg1, align 8 %14 = call i64 @FUNC(i64 %0, i64 4198870, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %15 = add nsw i64 %2, 32 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = icmp ult i64 %14, -1000 store i32 0, i32* %sv_0.0.reg2mem br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = load i64, i64* %5, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %16, align 8 %20 = call i64 @FUNC(i64 %2) %21 = and i64 %14, 4294967295 store i64 %21, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = add i32 %sv_0.0.reload, 1 %23 = load i64, i64* %5, align 8 %24 = zext i32 %sv_0.0.reload to i64 %25 = inttoptr i64 %23 to i8* %26 = call i32 (i8*, i8*, ...) @sprintf(i8* %25, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %24) %27 = call i64 @FUNC(i64 %2) %28 = trunc i64 %27 to i32 store i32 %22, i32* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem switch i32 %28, label LBL_3 [ i32 -17, label LBL_2 i32 0, label LBL_4 ] LBL_3: %29 = load i64, i64* %5, align 8 %30 = call i64 @FUNC(i64 %29) store i64 0, i64* %16, align 8 %31 = call i64 @FUNC(i64 %2) %32 = and i64 %27, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %16, { 1, 0, 2 } uselistorder i64* %5, { 1, 2, 0, 3 } uselistorder i64 %2, { 1, 2, 0, 10, 9, 7, 8, 6, 5, 4, 3 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 40, { 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nilfs_btree_propagate_v_3929
nilfs_btree_propagate_v
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %3 = call i64 @FUNC(i64 %2) %sext = mul i64 %3, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %0) %6 = sext i32 %arg3 to i64 %7 = mul i64 %6, 16 %8 = add i64 %7, %1 %9 = inttoptr i64 %8 to i64* store i64 %0, i64* %9, align 8 %10 = call i64 @FUNC(i64 %2, i64 %1, i32 %arg3, i32* nonnull %sv_1, i64 %4) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 store i64 %10, i64* %sv_0.1.reg2mem br i1 %12, label LBL_4, label LBL_1 LBL_1: %13 = load i64, i64* %9, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %10, i64* %sv_0.0.reg2mem br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = add i32 %arg3, 1 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %2, i64 %1, i64 %18) %20 = add i64 %8, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = call i64 @FUNC(i64 %2, i64 %19, i32 %22) %24 = call i64 @FUNC(i64 %4, i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 store i64 %24, i64* %sv_0.0.reg2mem store i64 %24, i64* %sv_0.1.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %27 = load i32, i32* %sv_1, align 4 %28 = call i64 @FUNC(i64 %2, i64 %1, i32 %arg3, i32 %27, i64 %0, i64 %4) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %29 = load i64, i64* %9, align 8 %30 = call i64 @FUNC(i64 %29) store i64 0, i64* %9, align 8 %31 = and i64 %sv_0.1.reload, 4294967295 ret i64 %31 uselistorder i64 %10, { 1, 0, 2 } uselistorder i64* %9, { 1, 2, 0, 3 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %2, { 2, 0, 1, 3, 4 } uselistorder i64 %1, { 2, 1, 3, 0 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i32 %arg3, { 1, 0, 2, 3 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
process_incoming_migration_co_15078
process_incoming_migration_co
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = inttoptr i64 %2 to i64* store i64 %arg1, i64* %3, align 8 %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = call i64 @FUNC(i64 0) %9 = add i64 %2, 12 %10 = call i64 @FUNC(i64 %9, i64 0, i64 1) %11 = call i64 @FUNC(i64 %arg1) %12 = trunc i64 %11 to i32 %13 = call i64 @FUNC() %14 = trunc i64 %13 to i32 %15 = and i64 %13, 4294967295 %16 = and i64 %11, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = icmp eq i32 %14, 0 br i1 %18, label LBL_5, label LBL_1 LBL_1: %19 = icmp eq i32 %14, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_3: %22 = icmp slt i32 %12, 0 br i1 %22, label LBL_8, label LBL_4 LBL_4: %23 = call i64 @FUNC() store i64 %23, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %24 = icmp eq i32 %12, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = call i64 @FUNC() %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC() %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = add i64 %2, 32 %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 4199072, i64 %2, i64 1) %34 = add i64 %2, 24 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = call i64 @FUNC() %37 = call i64 @FUNC(i64 %32) store i64 %2, i64* %rcx.0.reg2mem store i64 1, i64* %r8.0.reg2mem br label LBL_8 LBL_8: %38 = call i64 @FUNC(i64 %arg1) %39 = call i64 @FUNC() %40 = icmp slt i32 %12, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_9 LBL_9: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %42 = call i64 @FUNC(i64 %9, i64 1, i64 2) %43 = sub i32 0, %12 %44 = call i8* @strerror(i32 %43) %45 = ptrtoint i8* %44 to i64 %46 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %45, i64 2, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1) %47 = call i64 @FUNC() call void @exit(i32 1) unreachable LBL_10: %48 = call i64 @FUNC(i64 4199039, i64 %2) %49 = add i64 %2, 40 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = call i64 @FUNC(i64 %48) store i64 %51, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %12, { 1, 2, 3, 0 } uselistorder i64 %2, { 7, 6, 0, 4, 3, 2, 5, 1, 8, 9, 10 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @migrate_set_state, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 4, 1 } uselistorder i32 1, { 18, 19, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 0, 4, 3, 2, 1 } uselistorder label LBL_8, { 1, 2, 3, 0 } }
1
BinRealVul
show_man_page_17582
show_man_page
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 3) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i32 @strlen(i8* %0) %5 = add i32 %4, 4 %6 = add i32 %4, 5 %7 = call i64* @malloc(i32 %6) %8 = ptrtoint i64* %7 to i64 %9 = bitcast i64* %7 to i32* store i32 762603879, i32* %9, align 4 %10 = add i64 %8, 4 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %12 = call i8* @strcpy(i8* %11, i8* %0) %13 = sext i32 %5 to i64 %14 = add i64 %8, %13 %15 = inttoptr i64 %14 to i8* store i8 0, i8* %15, align 1 br label LBL_2 LBL_2: %16 = call i32 (i8*, i8*, ...) @execlp(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0)) %17 = sext i32 %16 to i64 ret i64 %17 uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dump_stacktrace_10104
dump_stacktrace
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to i64** %1 = call i32 @backtrace(i64** nonnull %0, i32 100) %2 = sext i32 %1 to i64 %3 = call i8** @backtrace_symbols(i64** nonnull %0, i32 %1) %4 = ptrtoint i8** %3 to i64 %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %2) %7 = icmp eq i32 %1, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %8 = mul i64 %storemerge1.reload, 8 %9 = add i64 %8, %4 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = inttoptr i64 %11 to i8* %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* %13) %15 = add nuw i64 %storemerge1.reload, 1 %16 = icmp ult i64 %15, %2 store i64 %15, i64* %storemerge1.reg2mem br i1 %16, label LBL_1, label LBL_2 LBL_2: %17 = bitcast i8** %3 to i64* call void @free(i64* %17) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vrend_hw_switch_context_8316
vrend_hw_switch_context
define i64 @FUNC(i32* %arg1, i64 %arg2) 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 = load i64, i64* @gv_0, align 8 %4 = icmp eq i64 %3, %2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 5 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 1 store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_7 LBL_4: %16 = add i64 %2, 5 %17 = inttoptr i64 %16 to i8* store i8 1, i8* %17, align 1 %18 = trunc i64 %arg2 to i8 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %2) br label LBL_6 LBL_6: store i64 %2, i64* @gv_0, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 3, 2, 4, 1, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8 1, { 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
nl80211_crypto_settings_4656
nl80211_crypto_settings
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %storemerge59.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64* @memset(i64* %arg2, i32 0, i32 100) %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %5 to i32 %7 = bitcast i64* %arg2 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %1, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_6, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %10) %13 = load i64, i64* %9, align 8 %14 = call i64 @FUNC(i64 %13) %sext2 = mul i64 %14, 4294967296 %15 = ashr exact i64 %sext2, 32 %16 = udiv i64 %15, 4 %17 = trunc i64 %16 to i32 %18 = add i64 %0, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = urem i64 %14, 4 %21 = icmp eq i64 %20, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %21, label LBL_2, label LBL_15 LBL_2: %sext = mul i64 %arg3, 4294967296 %22 = and i64 %16, 4294967295 %23 = ashr exact i64 %sext, 32 %24 = icmp slt i64 %23, %22 store i64 4294967274, i64* %rax.0.reg2mem br i1 %24, label LBL_15, label LBL_3 LBL_3: %25 = trunc i64 %14 to i32 %26 = add i64 %0, 8 %27 = inttoptr i64 %26 to i64* %28 = inttoptr i64 %12 to i64* %29 = call i64* @memcpy(i64* %27, i64* %28, i32 %25) %30 = load i32, i32* %19, align 4 %31 = icmp eq i32 %30, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge59.reg2mem br i1 %31, label LBL_6, label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %32 = mul i64 %.reload, 4 %33 = add i64 %32, %26 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %40, label LBL_5, label LBL_15 LBL_5: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %41 = add i32 %storemerge59.reload, 1 %42 = load i32, i32* %19, align 4 %43 = zext i32 %42 to i64 %44 = sext i32 %41 to i64 %45 = icmp slt i64 %44, %43 store i64 %44, i64* %.reg2mem store i32 %41, i32* %storemerge59.reg2mem br i1 %45, label LBL_4, label LBL_6 LBL_6: %46 = add i64 %1, 24 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label LBL_8, label LBL_7 LBL_7: %50 = call i64 @FUNC(i64 %48) %51 = trunc i64 %50 to i32 %52 = add i64 %0, 48 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 %54 = and i64 %50, 4294967295 %55 = call i64 @FUNC(i64 %54) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %58, label LBL_8, label LBL_15 LBL_8: %59 = add i64 %1, 32 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 br i1 %62, label LBL_10, label LBL_9 LBL_9: %63 = call i64 @FUNC(i64 %61) %64 = trunc i64 %63 to i32 %65 = add i64 %0, 52 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = and i64 %63, 4294967295 %68 = call i64 @FUNC(i64 %67) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %71, label LBL_10, label LBL_15 LBL_10: %72 = add i64 %1, 40 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = icmp eq i64 %74, 0 store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_15, label LBL_11 LBL_11: %76 = call i64 @FUNC(i64 %74) %77 = load i64, i64* %73, align 8 %78 = call i64 @FUNC(i64 %77) %sext4 = mul i64 %78, 4294967296 %79 = ashr exact i64 %sext4, 32 %80 = udiv i64 %79, 4 %81 = trunc i64 %80 to i32 %82 = add i64 %0, 56 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = urem i64 %78, 4 %85 = icmp eq i64 %84, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %85, label LBL_12, label LBL_15 LBL_12: %86 = trunc i64 %78 to i32 %87 = add i64 %0, 60 %88 = inttoptr i64 %87 to i64* %89 = inttoptr i64 %76 to i64* %90 = call i64* @memcpy(i64* %88, i64* %89, i32 %86) %91 = add i64 %0, 4 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %93, 0 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge7.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %94, label LBL_15, label LBL_13 LBL_13: %.reload12 = load i64, i64* %.reg2mem11 %95 = mul i64 %.reload12, 4 %96 = add i64 %95, %87 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = zext i32 %98 to i64 %100 = call i64 @FUNC(i64 %99) %101 = trunc i64 %100 to i32 %102 = icmp eq i32 %101, 0 %103 = icmp eq i1 %102, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %103, label LBL_14, label LBL_15 LBL_14: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %104 = add i32 %storemerge7.reload, 1 %105 = load i32, i32* %92, align 4 %106 = zext i32 %105 to i64 %107 = sext i32 %104 to i64 %108 = icmp slt i64 %107, %106 store i64 %107, i64* %.reg2mem11 store i32 %104, i32* %storemerge7.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %108, label LBL_13, label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %92, { 1, 0 } uselistorder i64 %78, { 2, 1, 0 } uselistorder i32* %19, { 1, 0, 2 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i64 %0, { 4, 5, 6, 3, 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge59.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem11, { 2, 0, 1 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 6, 5, 7, 8, 1, 9, 10 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64)* @nla_get_u32, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 4294967274, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 4, { 0, 6, 3, 2, 1, 5, 7, 4 } uselistorder i64 32, { 0, 3, 1, 2 } uselistorder i64 4294967296, { 0, 2, 1 } uselistorder i64 (i64)* @nla_len, { 1, 0 } uselistorder i64 (i64)* @nla_data, { 1, 0 } uselistorder i32 0, { 5, 0, 2, 6, 8, 7, 1, 3, 4 } uselistorder label LBL_15, { 2, 1, 3, 5, 4, 6, 7, 0, 8, 9 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
dv_extract_audio_info_1063
dv_extract_audio_info
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %4 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %3, i64 %5) %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 48 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = bitcast i64* %arg1 to i32* store i32 0, i32* %14, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %15 = add i64 %6, 3 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = urem i8 %17, 32 %19 = icmp ult i8 %18, 4 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %8, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = zext i8 %18 to i64 %24 = call i64 @FUNC(i64 %22, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 %2, i64 %1) %25 = bitcast i64* %arg1 to i32* store i32 0, i32* %25, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %26 = ptrtoint i64* %sv_0 to i64 %27 = add i64 %6, 1 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = add i64 %6, 4 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = udiv i8 %32, 8 %34 = urem i8 %33, 8 %35 = urem i8 %32, 8 %36 = mul i8 %18, 4 %37 = zext i8 %36 to i64 %38 = add i64 %26, -48 %39 = add i64 %38, %37 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 1 %43 = icmp eq i8 %35, 0 %44 = icmp eq i8 %34, 2 %45 = icmp eq i1 %44, %42 %46 = icmp ne i1 %45, true %47 = or i1 %43, %46 %sv_1.0 = select i1 %47, i32 %41, i32 2 %48 = icmp sgt i32 %sv_1.0, 0 %49 = mul i8 %34, 4 %50 = zext i8 %49 to i64 store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %48, label LBL_6, label LBL_13 LBL_6: %51 = add i64 %8, 8 %52 = inttoptr i64 %51 to i64* %53 = add i64 %50, ptrtoint (i32** @gv_1 to i64) %54 = inttoptr i64 %53 to i32* %55 = sext i32 %sv_1.0 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %56 = mul i64 %indvars.iv.reload, 8 %57 = add i64 %56, %8 %58 = add i64 %57, 16 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, 0 %62 = icmp eq i1 %61, false store i64 %60, i64* %.reg2mem br i1 %62, label LBL_10, label LBL_8 LBL_8: %63 = load i64, i64* %52, align 8 %64 = call i64 @FUNC(i64 %63, i64 0) store i64 %64, i64* %59, align 8 %65 = icmp eq i64 %64, 0 br i1 %65, label LBL_8.LBL_13_crit_edge, label LBL_9 LBL_9: %66 = call i64 @FUNC(i64 %64, i64 64, i64 1, i64 30000) %67 = load i64, i64* %59, align 8 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = inttoptr i64 %69 to i32* store i32 1, i32* %70, align 4 %71 = load i64, i64* %59, align 8 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = add i64 %73, 4 %75 = inttoptr i64 %74 to i32* store i32 2, i32* %75, align 4 %76 = mul nuw nsw i64 %indvars.iv.reload, 24 %77 = add i64 %76, %8 %78 = add i64 %77, 56 %79 = call i64 @FUNC(i64 %78) %80 = inttoptr i64 %78 to i32* store i32 0, i32* %80, align 4 %81 = add i64 %57, 152 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = add i64 %77, 64 %85 = inttoptr i64 %84 to i64* store i64 %83, i64* %85, align 8 %86 = load i64, i64* %59, align 8 %87 = add i64 %86, 8 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = add i64 %77, 72 %91 = inttoptr i64 %90 to i32* store i32 %89, i32* %91, align 4 %92 = add i64 %77, 76 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = or i32 %94, 1 store i32 %95, i32* %93, align 4 %.pre = load i64, i64* %59, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_10 LBL_10: %.reload = load i64, i64* %.reg2mem %96 = inttoptr i64 %.reload to i64* %97 = load i64, i64* %96, align 8 %98 = load i32, i32* %54, align 4 %99 = add i64 %97, 8 %100 = inttoptr i64 %99 to i32* store i32 %98, i32* %100, align 4 %101 = load i64, i64* %59, align 8 %102 = inttoptr i64 %101 to i64* %103 = load i64, i64* %102, align 8 %104 = add i64 %103, 12 %105 = inttoptr i64 %104 to i32* store i32 2, i32* %105, align 4 %106 = load i32, i32* %54, align 4 %107 = load i64, i64* %59, align 8 %108 = inttoptr i64 %107 to i64* %109 = load i64, i64* %108, align 8 %110 = mul i32 %106, 32 %111 = add i64 %109, 16 %112 = inttoptr i64 %111 to i32* store i32 %110, i32* %112, align 4 %113 = load i64, i64* %59, align 8 %114 = add i64 %113, 12 %115 = inttoptr i64 %114 to i32* store i32 0, i32* %115, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %116 = icmp slt i64 %indvars.iv.next, %55 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %116, label LBL_7, label LBL_12 LBL_11: %117 = trunc i64 %indvars.iv.reload to i32 store i32 %117, i32* %storemerge.lcssa.reg2mem br label LBL_13 LBL_12: %118 = trunc i64 %indvars.iv.next to i32 store i32 %118, i32* %storemerge.lcssa.reg2mem br label LBL_13 LBL_13: %119 = urem i8 %29, 64 %120 = zext i8 %119 to i32 %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %121 = bitcast i64* %arg1 to i32* store i32 %storemerge.lcssa.reload, i32* %121, align 4 %122 = load i64, i64* %10, align 8 %123 = add i64 %122, %50 %124 = inttoptr i64 %123 to i32* %125 = load i32, i32* %124, align 4 %126 = add i32 %125, %120 %127 = mul i32 %126, 4 %128 = zext i32 %127 to i64 store i64 %128, 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 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %77, { 2, 1, 0, 3 } uselistorder i64 %64, { 1, 0, 2 } uselistorder i64* %59, { 5, 6, 7, 0, 1, 2, 3, 4, 8 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 3 } uselistorder i8 %18, { 0, 2, 1 } uselistorder i64 %8, { 0, 1, 3, 2, 4 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 64, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i8 8, { 0, 2, 1 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i64 8, { 1, 2, 0, 3, 4 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
vc1_inv_trans_8x4_c_14553
vc1_inv_trans_8x4_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.012.reg2mem = alloca i64 %sv_1.113.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %sv_2.016.reg2mem = alloca i64 %storemerge817.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 store i32 0, i32* %storemerge817.reg2mem store i64 %0, i64* %sv_2.016.reg2mem br label LBL_1 LBL_1: %sv_2.016.reload = load i64, i64* %sv_2.016.reg2mem %storemerge817.reload = load i32, i32* %storemerge817.reg2mem %1 = inttoptr i64 %sv_2.016.reload to i16* %2 = load i16, i16* %1, align 2 %3 = add i64 %sv_2.016.reload, 8 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = sext i16 %5 to i64 %7 = sext i16 %2 to i64 %8 = add nsw i64 %6, %7 %9 = mul nsw i64 %8, 12 %10 = add nsw i64 %9, 4 %11 = sub nsw i64 %7, %6 %12 = mul nsw i64 %11, 12 %13 = add nsw i64 %12, 4 %14 = add i64 %sv_2.016.reload, 4 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = sext i16 %16 to i64 %18 = mul i64 %17, 16 %19 = add i64 %sv_2.016.reload, 12 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = sext i16 %21 to i64 %23 = mul nsw i64 %22, 6 %24 = add nsw i64 %23, %18 %25 = mul nsw i64 %17, 6 %26 = mul i64 %22, 16 %27 = sub nsw i64 %25, %26 %28 = add nsw i64 %24, %10 %29 = add nsw i64 %27, %13 %30 = sub nsw i64 %13, %27 %31 = sub nsw i64 %10, %24 %32 = add i64 %sv_2.016.reload, 2 %33 = inttoptr i64 %32 to i16* %34 = load i16, i16* %33, align 2 %35 = sext i16 %34 to i64 %36 = mul i64 %35, 16 %37 = add i64 %sv_2.016.reload, 6 %38 = inttoptr i64 %37 to i16* %39 = load i16, i16* %38, align 2 %40 = sext i16 %39 to i64 %41 = mul i64 %40, 16 %42 = mul nsw i64 %40, 15 %43 = add nsw i64 %42, %36 %44 = add i64 %sv_2.016.reload, 10 %45 = inttoptr i64 %44 to i16* %46 = load i16, i16* %45, align 2 %47 = sext i16 %46 to i64 %48 = mul nsw i64 %47, 9 %49 = add nsw i64 %43, %48 %50 = add i64 %sv_2.016.reload, 14 %51 = inttoptr i64 %50 to i16* %52 = load i16, i16* %51, align 2 %53 = sext i16 %52 to i64 %54 = mul i64 %53, 4 %55 = add nsw i64 %49, %54 %56 = mul nsw i64 %35, 15 %57 = mul i64 %40, 4 %58 = sub nsw i64 %56, %57 %59 = mul i64 %47, 16 %60 = sub nsw i64 %58, %59 %61 = mul nsw i64 %53, -9 %62 = add nsw i64 %60, %61 %63 = mul nsw i64 %35, 9 %64 = sub nsw i64 %63, %41 %65 = mul i64 %47, 4 %66 = add nsw i64 %64, %65 %67 = mul i64 %53, 16 %68 = mul nsw i64 %53, 15 %69 = add nsw i64 %66, %68 %70 = mul i64 %35, 4 %71 = mul nsw i64 %40, -9 %72 = add nsw i64 %71, %70 %73 = mul nsw i64 %47, 15 %74 = add nsw i64 %72, %73 %75 = sub nsw i64 %74, %67 %76 = add nsw i64 %55, %28 %77 = trunc i64 %76 to i32 %78 = udiv i32 %77, 8 %79 = trunc i32 %78 to i16 store i16 %79, i16* %1, align 2 %80 = add nsw i64 %62, %29 %81 = trunc i64 %80 to i32 %82 = udiv i32 %81, 8 %83 = trunc i32 %82 to i16 store i16 %83, i16* %33, align 2 %84 = add nsw i64 %69, %30 %85 = trunc i64 %84 to i32 %86 = udiv i32 %85, 8 %87 = trunc i32 %86 to i16 store i16 %87, i16* %15, align 2 %88 = add nsw i64 %75, %31 %89 = trunc i64 %88 to i32 %90 = udiv i32 %89, 8 %91 = trunc i32 %90 to i16 store i16 %91, i16* %38, align 2 %92 = trunc i64 %31 to i32 %93 = trunc i64 %75 to i32 %94 = sub i32 %92, %93 %95 = udiv i32 %94, 8 %96 = trunc i32 %95 to i16 store i16 %96, i16* %4, align 2 %97 = trunc i64 %30 to i32 %98 = trunc i64 %69 to i32 %99 = sub i32 %97, %98 %100 = udiv i32 %99, 8 %101 = trunc i32 %100 to i16 store i16 %101, i16* %45, align 2 %102 = trunc i64 %29 to i32 %103 = trunc i64 %62 to i32 %104 = sub i32 %102, %103 %105 = udiv i32 %104, 8 %106 = trunc i32 %105 to i16 store i16 %106, i16* %20, align 2 %107 = trunc i64 %28 to i32 %108 = trunc i64 %55 to i32 %109 = sub i32 %107, %108 %110 = udiv i32 %109, 8 %111 = trunc i32 %110 to i16 store i16 %111, i16* %51, align 2 %112 = add i64 %sv_2.016.reload, 16 %113 = add nuw nsw i32 %storemerge817.reload, 1 %exitcond18 = icmp eq i32 %113, 4 store i32 %113, i32* %storemerge817.reg2mem store i64 %112, i64* %sv_2.016.reg2mem br i1 %exitcond18, label LBL_2, label LBL_1 LBL_2: %sext = mul i64 %arg2, 4294967296 %114 = ptrtoint i64* %arg1 to i64 %115 = ashr exact i64 %sext, 32 %116 = mul i64 %arg2, 8589934592 %117 = ashr exact i64 %116, 32 %sext6 = mul i64 %115, 12884901888 %118 = ashr exact i64 %sext6, 32 store i32 0, i32* %storemerge14.reg2mem store i64 %0, i64* %sv_1.113.reg2mem store i64 %114, i64* %sv_0.012.reg2mem br label LBL_3 LBL_3: %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem %sv_1.113.reload = load i64, i64* %sv_1.113.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %119 = inttoptr i64 %sv_1.113.reload to i16* %120 = load i16, i16* %119, align 2 %121 = add i64 %sv_1.113.reload, 32 %122 = inttoptr i64 %121 to i16* %123 = load i16, i16* %122, align 2 %124 = sext i16 %123 to i64 %125 = sext i16 %120 to i64 %126 = add nsw i64 %124, %125 %127 = mul nsw i64 %126, 17 %128 = add nsw i64 %127, 64 %129 = sub nsw i64 %125, %124 %130 = mul nsw i64 %129, 17 %131 = add nsw i64 %130, 64 %132 = add i64 %sv_1.113.reload, 16 %133 = inttoptr i64 %132 to i16* %134 = load i16, i16* %133, align 2 %135 = sext i16 %134 to i64 %136 = mul nsw i64 %135, 22 %137 = add i64 %sv_1.113.reload, 48 %138 = inttoptr i64 %137 to i16* %139 = load i16, i16* %138, align 2 %140 = sext i16 %139 to i64 %141 = mul nsw i64 %140, 10 %142 = add nsw i64 %141, %136 %143 = mul nsw i64 %140, 22 %144 = mul nsw i64 %135, 4294967286 %145 = add nsw i64 %143, %144 %146 = inttoptr i64 %sv_0.012.reload to i8* %147 = load i8, i8* %146, align 1 %148 = add nsw i64 %142, %128 %149 = trunc i64 %148 to i32 %150 = ashr i32 %149, 7 %151 = zext i8 %147 to i32 %152 = add nsw i32 %150, %151 %153 = sext i32 %152 to i64 %154 = add i64 %153, ptrtoint (i64* @gv_0 to i64) %155 = inttoptr i64 %154 to i8* %156 = load i8, i8* %155, align 1 store i8 %156, i8* %146, align 1 %157 = add i64 %sv_0.012.reload, %115 %158 = inttoptr i64 %157 to i8* %159 = load i8, i8* %158, align 1 %160 = trunc i64 %131 to i32 %161 = trunc i64 %145 to i32 %162 = sub i32 %160, %161 %163 = ashr i32 %162, 7 %164 = zext i8 %159 to i32 %165 = add nsw i32 %163, %164 %166 = sext i32 %165 to i64 %167 = add i64 %166, ptrtoint (i64* @gv_0 to i64) %168 = inttoptr i64 %167 to i8* %169 = load i8, i8* %168, align 1 store i8 %169, i8* %158, align 1 %170 = add i64 %sv_0.012.reload, %117 %171 = inttoptr i64 %170 to i8* %172 = load i8, i8* %171, align 1 %173 = add nsw i64 %145, %131 %174 = trunc i64 %173 to i32 %175 = ashr i32 %174, 7 %176 = zext i8 %172 to i32 %177 = add nsw i32 %175, %176 %178 = sext i32 %177 to i64 %179 = add i64 %178, ptrtoint (i64* @gv_0 to i64) %180 = inttoptr i64 %179 to i8* %181 = load i8, i8* %180, align 1 store i8 %181, i8* %171, align 1 %182 = add i64 %sv_0.012.reload, %118 %183 = inttoptr i64 %182 to i8* %184 = load i8, i8* %183, align 1 %185 = trunc i64 %128 to i32 %186 = trunc i64 %142 to i32 %187 = sub i32 %185, %186 %188 = ashr i32 %187, 7 %189 = zext i8 %184 to i32 %190 = add nsw i32 %188, %189 %191 = sext i32 %190 to i64 %192 = add i64 %191, ptrtoint (i64* @gv_0 to i64) %193 = inttoptr i64 %192 to i8* %194 = load i8, i8* %193, align 1 store i8 %194, i8* %183, align 1 %195 = add i64 %sv_1.113.reload, 2 %196 = add i64 %sv_0.012.reload, 1 %197 = add nuw nsw i32 %storemerge14.reload, 1 %exitcond = icmp eq i32 %197, 8 store i32 %197, i32* %storemerge14.reg2mem store i64 %195, i64* %sv_1.113.reg2mem store i64 %196, i64* %sv_0.012.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %198 = zext i8 %194 to i64 ret i64 %198 uselistorder i64 %142, { 1, 0 } uselistorder i64 %140, { 1, 0 } uselistorder i64 %128, { 1, 0 } uselistorder i64 %125, { 1, 0 } uselistorder i64 %124, { 1, 0 } uselistorder i64 %sv_1.113.reload, { 0, 3, 4, 2, 1 } uselistorder i64 %sv_0.012.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %69, { 1, 0 } uselistorder i64 %62, { 1, 0 } uselistorder i64 %55, { 1, 0 } uselistorder i64 %53, { 2, 0, 3, 1 } uselistorder i64 %47, { 2, 0, 1, 3 } uselistorder i64 %40, { 2, 0, 3, 1 } uselistorder i64 %35, { 0, 2, 3, 1 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %29, { 1, 0 } uselistorder i64 %28, { 1, 0 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %sv_2.016.reload, { 0, 1, 2, 4, 3, 6, 5, 7, 8 } uselistorder i32* %storemerge817.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.016.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.113.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 } uselistorder i64 32, { 3, 0, 1, 2 } uselistorder i32 8, { 8, 0, 1, 2, 3, 4, 5, 6, 7 } uselistorder i64 6, { 2, 0, 1 } uselistorder i64 16, { 6, 7, 0, 1, 2, 3, 4, 5 } uselistorder i64 4, { 0, 1, 2, 3, 6, 4, 5 } uselistorder i64 12, { 2, 0, 1 } }
1
BinRealVul
tb_phys_invalidate_14192
tb_phys_invalidate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = call i64 @FUNC() %5 = and i64 %1, 4294967294 %6 = or i64 %5, 1 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = add i64 %2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %2, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 4096 %15 = add i32 %14, %10 %16 = add i64 %2, 20 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = urem i64 %1, 256 %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = zext i32 %18 to i64 %24 = zext i32 %15 to i64 %25 = call i64 @FUNC(i64 %24, i32 %13, i32 %22, i64 %19, i64 %23) %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2, i32 %26) %28 = load i32, i32* %9, align 4 %29 = icmp eq i32 %28, %3 br i1 %29, label LBL_2, label LBL_1 LBL_1: %30 = udiv i32 %28, 4096 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31) %33 = call i64 @FUNC(i64 %32, i64 %2) %34 = call i64 @FUNC(i64 %32) br label LBL_2 LBL_2: %35 = add i64 %2, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, -1 %39 = icmp eq i32 %37, %3 %or.cond = or i1 %38, %39 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %40 = udiv i32 %37, 4096 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %41) %43 = call i64 @FUNC(i64 %42, i64 %2) %44 = call i64 @FUNC(i64 %42) br label LBL_4 LBL_4: %45 = load i32, i32* %12, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %storemerge3 = load i64, i64* @gv_1, align 8 %48 = icmp eq i64 %storemerge3, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_5, label LBL_9 LBL_5: %50 = mul i64 %47, 8 %51 = and i64 %50, 34359738360 store i64 %storemerge3, i64* %storemerge4.reg2mem br label LBL_6 LBL_6: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %52 = add i64 %storemerge4.reload, %51 %53 = call i64 @FUNC(i64 %52) %54 = and i64 %53, 4294967295 %55 = icmp eq i64 %54, %2 %56 = icmp eq i1 %55, false br i1 %56, label LBL_8, label LBL_7 LBL_7: %57 = call i64 @FUNC(i64 %52, i64 0) br label LBL_8 LBL_8: %58 = add i64 %storemerge4.reload, 2048 %59 = inttoptr i64 %58 to i64* %storemerge = load i64, i64* %59, align 8 %60 = icmp eq i64 %storemerge, 0 %61 = icmp eq i1 %60, false store i64 %storemerge, i64* %storemerge4.reg2mem br i1 %61, label LBL_6, label LBL_9 LBL_9: %62 = call i64 @FUNC(i64 %2, i64 0) %63 = call i64 @FUNC(i64 %2, i64 1) %64 = call i64 @FUNC(i64 %2) store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8 ret i64 ptrtoint (i32* @gv_2 to i64) uselistorder i32 %13, { 1, 0 } uselistorder i64 %2, { 5, 4, 3, 0, 2, 6, 1, 7, 8, 9, 10, 11, 12 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* @gv_2, { 1, 0 } uselistorder i64 (i64, i64)* @tb_remove_from_jmp_list, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 (i64)* @invalidate_page_bitmap, { 1, 0 } uselistorder i64 (i64, i64)* @tb_page_remove, { 1, 0 } uselistorder i64 (i64)* @page_find, { 1, 0 } uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ib_prctl_set_6885
ib_prctl_set
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 4294967294, i64* %rax.0.reg2mem switch i64 %arg2, label LBL_1 [ i64 1, label LBL_2 i64 0, label LBL_14 ] LBL_1: %1 = or i64 %arg2, 1 %2 = icmp eq i64 %1, 3 store i64 4294967294, i64* %rax.0.reg2mem br i1 %2, label LBL_7, label LBL_14 LBL_2: %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = load i32, i32* @gv_1, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_14 LBL_4: %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_14, label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_14 LBL_6: %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %17 = load i32, i32* @gv_0, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_9, label LBL_8 LBL_8: %20 = load i32, i32* @gv_1, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %22, label LBL_9, label LBL_14 LBL_9: %23 = call i64 @FUNC() %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_10, label LBL_14 LBL_10: %27 = call i64 @FUNC(i64 %0) %28 = icmp eq i64 %arg2, 3 %29 = icmp eq i1 %28, false br i1 %29, label LBL_12, label LBL_11 LBL_11: %30 = call i64 @FUNC(i64 %0) br label LBL_12 LBL_12: %31 = call i64 @FUNC(i64 %0) %32 = load i64, i64* @gv_2, align 8 %33 = icmp eq i64 %32, %0 %34 = icmp eq i1 %33, false store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_14, label LBL_13 LBL_13: %35 = call i64 @FUNC() store i64 0, 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 %0, { 0, 2, 1, 3, 5, 4, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 6, 7, 1, 9, 8, 10, 4, 5 } uselistorder i64 (i64)* @task_update_spec_tif, { 1, 0 } uselistorder i64 ()* @is_spec_ib_user_controlled, { 1, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 0, 1 } uselistorder i32* @gv_0, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_14, { 1, 2, 5, 6, 0, 8, 7, 9, 3, 4 } }
0
BinRealVul
add_probe_13848
add_probe
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i8* @strchr(i8* %arg1, i32 47) %1 = icmp eq i8* %0, null %2 = ptrtoint i8* %arg1 to i64 br i1 %1, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %2) unreachable LBL_2: %4 = call i64 @FUNC(i64 %2) %5 = load i32, i32* @gv_1, align 4 %6 = urem i32 %5, 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %.pre = add i64 %4, 16 %.pre2 = inttoptr i64 %.pre to i32* br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = load i32, i32* %.pre2, align 4 %10 = and i32 %9, 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %2) store i64 %12, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %13 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %2) %14 = inttoptr i64 %4 to i64* store i64 %2, i64* %14, align 8 %15 = load i32, i32* %.pre2, align 4 %16 = or i32 %15, 8 store i32 %16, i32* %.pre2, align 4 %17 = call i64 @FUNC(i64* nonnull @gv_4, i64 %4) store i32 ptrtoint (i32* @gv_5 to i32), i32* bitcast (i64* @gv_6 to i32*), align 8 %18 = add i64 %4, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i8* %22 = call i32 @strncmp(i8* %21, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i32 7) %23 = sext i32 %22 to i64 %24 = icmp eq i32 %22, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %rax.0.reg2mem br i1 %25, label LBL_7, label LBL_6 LBL_6: store i32 1, i32* bitcast (i64* @gv_8 to i32*), align 8 store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 2, 1, 3, 0 } uselistorder i64 %2, { 2, 1, 0, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i8*, i64)* @DBG, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1 } uselistorder i32 1, { 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
ntlm_read_ntlm_v2_client_challenge_5768
ntlm_read_ntlm_v2_client_challenge
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp ult i64 %3, 28 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = urem i64 %1, 256 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = add i64 %5, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i64 %12 = call i64 @FUNC(i64 %2, i64 %11) %13 = add i64 %5, 2 %14 = inttoptr i64 %13 to i16* %15 = load i16, i16* %14, align 2 %16 = zext i16 %15 to i64 %17 = call i64 @FUNC(i64 %2, i64 %16) %18 = add i64 %5, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %2, i64 %21) %23 = add i64 %5, 8 %24 = call i64 @FUNC(i64 %2, i64 %23, i64 8) %25 = add i64 %5, 16 %26 = call i64 @FUNC(i64 %2, i64 %25, i64 8) %27 = add i64 %5, 24 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %2, i64 %30) %32 = call i64 @FUNC(i64 %2) %33 = call i64 @FUNC(i64 %2) %34 = sub i64 %32, %33 %35 = icmp ult i64 %34, 4294967296 store i64 4294967295, i64* %rax.0.reg2mem br i1 %35, label LBL_2, label LBL_4 LBL_2: %36 = add i64 %5, 32 %37 = inttoptr i64 %36 to i64* store i64 %34, i64* %37, align 8 %38 = trunc i64 %34 to i32 %39 = call i64* @malloc(i32 %38) %40 = ptrtoint i64* %39 to i64 %41 = add i64 %5, 40 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = icmp eq i64* %39, null %44 = icmp eq i1 %43, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_3, label LBL_4 LBL_3: %45 = call i64 @FUNC(i64 %2, i64 %40, i64 %34) 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 i64 %34, { 1, 0, 2, 3 } uselistorder i64 %5, { 0, 1, 4, 3, 2, 5, 6, 7 } uselistorder i64 %2, { 0, 3, 2, 1, 6, 5, 4, 7, 8, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64)* @Stream_Read, { 2, 1, 0 } uselistorder i64 (i64, i64)* @Stream_Read_UINT32, { 1, 0 } uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 1, 0 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
genh_read_header_151
genh_read_header
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: ret i64 4294967284 }
1
BinRealVul
lm32_juart_set_jtx_16765
lm32_juart_set_jtx
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %sext = mul i64 %arg2, 72057594037927936 %3 = ashr exact i64 %sext, 56 store i64 %3, i64* %sv_0, align 8 %4 = inttoptr i64 %2 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) store i32 %1, i32* %4, align 4 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = bitcast i64* %sv_0 to i8* %13 = call i64 @FUNC(i64 %10, i8* nonnull %12, i64 1) 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* %sv_0, { 1, 0 } }
1
BinRealVul
krb5_is_tgs_principal_8841
krb5_is_tgs_principal
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 2 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = load i64, i64* @gv_0, align 8 %5 = call i64 @FUNC(i64 %4, i64 %arg1, i64 0) %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = sext i8 %7 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %10 = trunc i64 %9 to i32 %11 = icmp ne i32 %10, 0 %. = zext i1 %11 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
spl_ptr_llist_push_10537
spl_ptr_llist_push
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 24) %2 = add i64 %1, 16 %3 = inttoptr i64 %2 to i32* store i32 1, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %1 to i64* store i64 %6, i64* %7, align 8 %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %1, 20 %11 = ptrtoint i32* %arg2 to i64 %12 = call i64 @FUNC(i64 %10, i64 %11) %13 = load i64, i64* %5, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = add i64 %13, 8 %16 = inttoptr i64 %15 to i64* store i64 %1, i64* %16, align 8 br label LBL_3 LBL_2: store i64 %1, i64* %arg1, align 8 br label LBL_3 LBL_3: store i64 %1, i64* %5, align 8 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, 1 store i32 %20, i32* %18, align 4 %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %spec.select = select i1 %24, i64 0, i64 %1 ret i64 %spec.select uselistorder i64 %1, { 0, 2, 3, 1, 4, 5, 6, 7 } uselistorder i64 24, { 1, 0 } }
0
BinRealVul
connection_exit_about_to_close_9947
connection_exit_about_to_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3, i64 %0) br label LBL_2 LBL_2: %6 = inttoptr i64 %1 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = icmp eq i32 %7, 1 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
0
BinRealVul
ff_eval_coefs_15979
ff_eval_coefs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = bitcast i64* %sv_0 to i32* %3 = ptrtoint i64* %sv_0 to i64 %4 = add i64 %1, -4 %5 = bitcast i64* %rdi to i32* %6 = bitcast i64* %arg1 to i32* store i64 0, i64* %indvars.iv11.reg2mem br label LBL_1 LBL_1: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %7 = mul i64 %indvars.iv11.reload, 4 %8 = add i64 %7, %0 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, %3 %12 = mul i32 %10, 16 %13 = inttoptr i64 %11 to i32* store i32 %12, i32* %13, align 4 %14 = icmp eq i64 %indvars.iv11.reload, 0 store i64 0, i64* %indvars.iv8.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %15 = load i32, i32* %9, align 4 %16 = sub nsw i64 %indvars.iv11.reload, %indvars.iv8.reload %17 = mul i64 %16, 4 %18 = add i64 %4, %17 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = mul i32 %20, %15 %22 = ashr i32 %21, 12 %23 = mul i64 %indvars.iv8.reload, 4 %24 = add i64 %23, %1 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %23, %3 %28 = add i32 %22, %26 %29 = inttoptr i64 %27 to i32* store i32 %28, i32* %29, align 4 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond10 = icmp eq i64 %indvars.iv.next9, %indvars.iv11.reload store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %exitcond10, label LBL_3, label LBL_2 LBL_3: %30 = load i32, i32* %2, align 8 %31 = load i32, i32* %5, align 8 store i32 %31, i32* %2, align 8 store i32 %30, i32* %6, align 4 %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next12, 10 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %exitcond13, label LBL_4, label LBL_1 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %32 = mul i64 %indvars.iv.reload, 4 %33 = add i64 %32, %1 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = ashr i32 %35, 4 store i32 %36, i32* %34, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: ret i64 %33 uselistorder i64 %23, { 1, 0 } uselistorder i64 %indvars.iv8.reload, { 0, 2, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %indvars.iv11.reload, { 0, 2, 1, 3, 4 } uselistorder i32* %2, { 1, 0 } uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv8.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 10, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__ext4_xattr_check_block_13852
__ext4_xattr_check_block
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %2) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC(i64 3925999616) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %6, %8 %10 = icmp eq i1 %9, false store i64 1, i64* %sv_0.04.reg2mem br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %2) %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = call i64 @FUNC(i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %14, %16 %18 = icmp eq i1 %17, false store i64 1, i64* %sv_0.04.reg2mem br i1 %18, label LBL_5, label LBL_2 LBL_2: %19 = call i64 @FUNC(i64 %2) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_3, label LBL_8 LBL_3: %22 = call i64 @FUNC(i64 %3, i64 %2) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 2, i64* %sv_0.04.reg2mem br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = and i64 %1, 4294967295 %29 = add i64 %27, %28 %30 = call i64 @FUNC(i64 %2) %31 = call i64 @FUNC(i64 %30, i64 %29, i64 %27) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 store i64 %31, i64* %sv_0.04.reg2mem br i1 %33, label LBL_6, label LBL_5 LBL_5: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %34 = add i64 %2, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = trunc i64 %arg4 to i32 %39 = ptrtoint i8* %arg3 to i64 %40 = call i64 @FUNC(i64 %3, i64 %39, i32 %38, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %37) store i64 %sv_0.04.reload, i64* %sv_0.03.reg2mem br label LBL_7 LBL_6: %41 = call i64 @FUNC(i64 %2) store i64 0, i64* %sv_0.03.reg2mem br label LBL_7 LBL_7: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %42 = and i64 %sv_0.03.reload, 4294967295 store i64 %42, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %27, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 5, 6, 1, 0, 2, 3, 4, 7 } uselistorder i64* %sv_0.04.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 3, 0, 2 } uselistorder i64 (i64)* @cpu_to_le32, { 1, 0 } uselistorder i64 (i64)* @BHDR, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 3, 0, 1, 2 } }
0
BinRealVul
lexer_process_char_literal_11688
lexer_process_char_literal
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.0.lcssa.reg2mem = alloca i32 %sv_0.010.reg2mem = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem = alloca i8* %sv_1 = alloca i8*, align 8 %0 = trunc i64 %arg4 to i8 %1 = add i8 %0, -1 %2 = icmp ult i8 %1, 2 br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %3 = icmp eq i8 %0, 1 %4 = icmp eq i1 %3, false %5 = icmp ult i64 %arg3, 257 %or.cond = or i1 %5, %4 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: call void @exit(i32 1) unreachable LBL_4: %6 = icmp eq i8 %0, 2 %7 = icmp eq i1 %6, false %or.cond6 = or i1 %5, %7 br i1 %or.cond6, label LBL_6, label LBL_5 LBL_5: call void @exit(i32 1) unreachable LBL_6: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 24 %10 = bitcast i8** %sv_1 to i64* %11 = call i64 @FUNC(i64 %9, i64* nonnull %10) %12 = call i64 @FUNC(i64* nonnull %10) %13 = inttoptr i64 %12 to i8* store i8* %13, i8** %sv_1, align 8 %14 = icmp eq i64 %12, 0 %15 = icmp eq i1 %14, false store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %15, label LBL_7, label LBL_13 LBL_7: %16 = trunc i64 %arg3 to i32 store i8* %13, i8** %.reg2mem store i64 %12, i64* %.reg2mem15 store i32 0, i32* %sv_0.010.reg2mem br label LBL_8 LBL_8: %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem %.reload = load i8*, i8** %.reg2mem %17 = load i8, i8* %.reload, align 1 %18 = icmp eq i8 %17, %0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_12, label LBL_9 LBL_9: %.reload16 = load i64, i64* %.reg2mem15 %20 = add i64 %.reload16, 16 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = zext i16 %22 to i64 %24 = icmp eq i64 %23, %arg3 %25 = icmp eq i1 %24, false br i1 %25, label LBL_12, label LBL_10 LBL_10: %26 = add i64 %.reload16, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = call i32 @memcmp(i64* %29, i64* %arg2, i32 %16) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_12, label LBL_11 LBL_11: %33 = load i8*, i8** %sv_1, align 8 %34 = ptrtoint i8* %33 to i64 store i64 %34, i64* %arg1, align 8 %35 = trunc i32 %sv_0.010.reload to i16 %36 = add i64 %8, 8 %37 = inttoptr i64 %36 to i16* store i16 %35, i16* %37, align 2 %38 = load i8*, i8** %sv_1, align 8 %39 = ptrtoint i8* %38 to i64 %40 = add i64 %39, 1 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = and i8 %42, -2 store i8 %43, i8* %41, align 1 store i64 %39, i64* %rax.0.reg2mem br label LBL_21 LBL_12: %44 = add i32 %sv_0.010.reload, 1 %45 = call i64 @FUNC(i64* nonnull %10) %46 = inttoptr i64 %45 to i8* store i8* %46, i8** %sv_1, align 8 %47 = icmp eq i64 %45, 0 %48 = icmp eq i1 %47, false store i8* %46, i8** %.reg2mem store i64 %45, i64* %.reg2mem15 store i32 %44, i32* %sv_0.010.reg2mem store i32 %44, i32* %sv_0.0.lcssa.reg2mem br i1 %48, label LBL_8, label LBL_13 LBL_13: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %49 = add i64 %8, 16 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %sv_0.0.lcssa.reload, %51 br i1 %52, label LBL_15, label LBL_14 LBL_14: call void @exit(i32 1) unreachable LBL_15: %53 = icmp ult i32 %sv_0.0.lcssa.reload, 1024 br i1 %53, label LBL_17, label LBL_16 LBL_16: %54 = call i64 @FUNC(i64 %8, i64 1) unreachable LBL_17: %55 = call i64 @FUNC(i64 %8, i64 %9) %56 = inttoptr i64 %55 to i8* store i8* %56, i8** %sv_1, align 8 %57 = trunc i64 %arg3 to i16 %58 = add i64 %55, 16 %59 = inttoptr i64 %58 to i16* store i16 %57, i16* %59, align 2 %60 = load i8*, i8** %sv_1, align 8 store i8 %0, i8* %60, align 1 %61 = trunc i64 %arg5 to i8 %62 = icmp eq i8 %61, 0 %. = select i1 %62, i8 2, i8 0 %63 = load i8*, i8** %sv_1, align 8 %64 = ptrtoint i8* %63 to i64 %65 = add i64 %64, 1 %66 = inttoptr i64 %65 to i8* store i8 %., i8* %66, align 1 br i1 %62, label LBL_19, label LBL_18 LBL_18: %67 = call i64 @FUNC(i64 %arg3) %68 = load i8*, i8** %sv_1, align 8 %69 = ptrtoint i8* %68 to i64 %70 = add i64 %69, 8 %71 = inttoptr i64 %70 to i64* store i64 %67, i64* %71, align 8 %72 = load i8*, i8** %sv_1, align 8 %73 = ptrtoint i8* %72 to i64 %74 = add i64 %73, 8 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = inttoptr i64 %76 to i64* %78 = trunc i64 %arg3 to i32 %79 = call i64* @memcpy(i64* %77, i64* %arg2, i32 %78) br label LBL_20 LBL_19: %80 = ptrtoint i64* %arg2 to i64 %81 = load i8*, i8** %sv_1, align 8 %82 = ptrtoint i8* %81 to i64 %83 = add i64 %82, 8 %84 = inttoptr i64 %83 to i64* store i64 %80, i64* %84, align 8 br label LBL_20 LBL_20: %85 = load i8*, i8** %sv_1, align 8 %86 = ptrtoint i8* %85 to i64 store i64 %86, i64* %arg1, align 8 %87 = trunc i32 %sv_0.0.lcssa.reload to i16 %88 = add i64 %8, 8 %89 = inttoptr i64 %88 to i16* store i16 %87, i16* %89, align 2 %90 = load i32, i32* %50, align 4 %91 = add i32 %90, 1 store i32 %91, i32* %50, align 4 store i64 %8, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %50, { 1, 0, 2 } uselistorder i32 %sv_0.0.lcssa.reload, { 0, 2, 1 } uselistorder i64* %10, { 1, 0, 2 } uselistorder i64 %8, { 0, 1, 4, 3, 2, 5, 6 } uselistorder i8 %0, { 3, 2, 1, 4, 0 } uselistorder i8** %sv_1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem15, { 1, 0, 2 } uselistorder i32* %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 16, { 0, 2, 1 } uselistorder i32 0, { 2, 1, 0 } uselistorder i64 (i64*)* @parser_list_iterator_next, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0, 5, 6 } uselistorder void (i32)* @exit, { 4, 3, 2, 1, 0 } uselistorder i8 2, { 2, 1, 0 } uselistorder i64 %arg3, { 1, 2, 3, 0, 4, 5 } uselistorder i64* %arg2, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
xhci_class_init_14731
xhci_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = load i64, i64* @gv_1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 %1, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198662, i64* %5, align 8 store i64 4198669, i64* %arg1, align 8 %6 = inttoptr i64 %2 to i32* store i32 4147, i32* %6, align 4 %7 = add i64 %0, 12 %8 = inttoptr i64 %7 to i32* store i32 53, i32* %8, align 4 %9 = inttoptr i64 %4 to i32* store i32 787216, i32* %9, align 4 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* store i32 3, i32* %11, align 4 %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
clock_info_cmd_complete_17782
clock_info_cmd_complete
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg2 to i8 %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 20) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 store i64 %8, i64* %sv_0, align 8 %9 = icmp eq i8 %3, 0 %10 = icmp eq i1 %9, false %.pre = add i64 %2, 16 %.pre3 = inttoptr i64 %.pre to i32* br i1 %10, label LBL_5, label LBL_1 LBL_1: %11 = load i32, i32* %.pre3, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = inttoptr i64 %13 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = call i64 @FUNC(i64 %13) br label LBL_3 LBL_3: %20 = icmp eq i64* %arg1, null br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = and i64 %1, 4294967295 %22 = call i64 @FUNC(i64 %21) %23 = add i64 %2, 4 %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) br label LBL_5 LBL_5: %28 = add i64 %2, 20 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = load i32, i32* %.pre3, align 4 %32 = add i64 %2, 24 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35, i32 %31, i32 %30, i8 %3, i64* nonnull %sv_0, i64 20) %37 = icmp eq i64* %arg1, null br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %2) %39 = call i64 @FUNC(i64 %2) br label LBL_7 LBL_7: %40 = and i64 %36, 4294967295 ret i64 %40 uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64 %2, { 2, 3, 5, 4, 1, 0, 6 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 (i64)* @cpu_to_le32, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } }
1
BinRealVul
mxf_read_essence_container_data_10113
mxf_read_essence_container_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp eq i32 %2, 16135 br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, 16135 br i1 %4, label LBL_6, label LBL_2 LBL_2: switch i32 %2, label LBL_6 [ i32 9985, label LBL_3 i32 16134, label LBL_4 ] LBL_3: %5 = call i64 @FUNC(i64 %0, i64 %1, i64 16) %6 = add i64 %1, 16 %7 = call i64 @FUNC(i64 %0, i64 %6, i64 16) br label LBL_6 LBL_4: %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = add i64 %1, 32 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 br label LBL_6 LBL_5: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 %14 = add i64 %1, 36 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 br label LBL_6 LBL_6: ret i64 0 uselistorder i32 %2, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 3, 2 } uselistorder i64 %0, { 3, 0, 2, 1 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 (i64, i64, i64)* @avio_read, { 1, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i32 16135, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0, 4 } }
0
BinRealVul
ovl_get_acl_6748
ovl_get_acl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %storemerge = select i1 %7, i64 %1, i64 0 ret i64 %storemerge }
0
BinRealVul
init_ralf_vlc_15027
init_ralf_vlc
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv9.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i32 %indvars.iv12.reg2mem = alloca i64 %indvars.iv16.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %1 = ptrtoint i64* %sv_3 to i64 %2 = mul i32 %arg3, 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64* nonnull %sv_2, i64 %0, i64 %3) %5 = add i64 %1, -864 store i64 0, i64* %indvars.iv16.reg2mem br label LBL_1 LBL_1: %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem %6 = mul i64 %indvars.iv16.reload, 4 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1 %exitcond18 = icmp eq i64 %indvars.iv.next17, 17 store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem br i1 %exitcond18, label LBL_2, label LBL_1 LBL_2: %9 = icmp sgt i32 %arg3, 0 store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_5 LBL_3: %10 = add i64 %1, -272 %wide.trip.count14 = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv12.reg2mem store i32 0, i32* %sv_0.06.reg2mem br label LBL_4 LBL_4: %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %11 = call i64 @FUNC(i64* nonnull %sv_2, i64 4) %12 = trunc i64 %11 to i32 %13 = add i32 %12, 1 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = add i64 %15, %5 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i32 %18, 1 store i32 %19, i32* %17, align 4 %20 = sub i32 %sv_0.06.reload, %13 %21 = xor i32 %13, %sv_0.06.reload %22 = xor i32 %20, %sv_0.06.reload %23 = and i32 %22, %21 %24 = icmp slt i32 %23, 0 %25 = icmp slt i32 %20, 0 %26 = icmp eq i1 %25, %24 %27 = select i1 %26, i32 %sv_0.06.reload, i32 %13 %28 = trunc i32 %13 to i8 %29 = add i64 %10, %indvars.iv12.reload %30 = inttoptr i64 %29 to i8* store i8 %28, i8* %30, align 1 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1 %exitcond15 = icmp eq i64 %indvars.iv.next13, %wide.trip.count14 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i32 %27, i32* %sv_0.06.reg2mem store i32 %27, i32* %sv_0.0.lcssa.reg2mem br i1 %exitcond15, label LBL_5, label LBL_4 LBL_5: %31 = ptrtoint i64* %arg1 to i64 %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %32 = add i64 %1, -944 store i64 1, i64* %indvars.iv9.reg2mem br label LBL_6 LBL_6: %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem %33 = mul i64 %indvars.iv9.reload, 4 %34 = add i64 %33, %32 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %33, %5 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i32 %39, %36 %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1 %41 = mul i32 %40, 2 %42 = mul i64 %indvars.iv.next10, 4 %43 = add i64 %42, %32 %44 = inttoptr i64 %43 to i32* store i32 %41, i32* %44, align 4 %exitcond11 = icmp eq i64 %indvars.iv.next10, 17 store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem br i1 %exitcond11, label LBL_7, label LBL_6 LBL_7: br i1 %9, label LBL_8, label LBL_10 LBL_8: %45 = add i64 %1, -272 %46 = add i64 %1, -784 %wide.trip.count = zext i32 %arg3 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %47 = add i64 %45, %indvars.iv.reload %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = zext i8 %49 to i64 %51 = mul i64 %50, 4 %52 = add i64 %51, %32 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i32 %54, 1 store i32 %55, i32* %53, align 4 %56 = trunc i32 %54 to i16 %57 = mul i64 %indvars.iv.reload, 2 %58 = add i64 %46, %57 %59 = inttoptr i64 %58 to i16* store i16 %56, i16* %59, align 2 %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_10, label LBL_9 LBL_10: %60 = add i32 %sv_0.0.lcssa.reload, -9 %61 = sub i32 8, %sv_0.0.lcssa.reload %62 = and i32 %61, %sv_0.0.lcssa.reload %63 = icmp slt i32 %62, 0 %64 = icmp eq i32 %60, 0 %65 = icmp slt i32 %60, 0 %66 = icmp ne i1 %65, %63 %67 = or i1 %64, %66 %68 = select i1 %67, i32 %sv_0.0.lcssa.reload, i32 9 %69 = call i64 @FUNC(i64 %31, i32 %68, i32 %arg3, i64* nonnull %sv_1, i64 1, i64 1) ret i64 %69 uselistorder i32 %60, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv.next10, { 0, 2, 1 } uselistorder i64 %33, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 3, 2, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %13, { 1, 2, 0, 3, 4 } uselistorder i32 %sv_0.06.reload, { 1, 3, 2, 0 } uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 8, { 2, 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 17, { 1, 0 } uselistorder i64 1, { 6, 5, 4, 3, 0, 2, 1 } uselistorder i32 0, { 6, 7, 8, 9, 10, 1, 0, 4, 11, 2, 3, 5, 12 } uselistorder i64 4, { 0, 1, 2, 3, 5, 4 } uselistorder i32 %arg3, { 4, 2, 1, 3, 0 } }
1
BinRealVul
dirty_bitmap_load_bits_17463
dirty_bitmap_load_bits
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = mul i64 %6, 512 %8 = call i64 @FUNC(i64 %5) %9 = mul i64 %8, 512 %10 = and i64 %9, 2199023255040 %11 = udiv i64 %10, 512 %12 = and i64 %6, 36028797018963967 %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = urem i64 %3, 2 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC() %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %7, i64 %10, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %21 = call i64 @FUNC(i64 %5) %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %7, i64 %10) %26 = icmp ugt i64 %25, %21 br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = add i64 %25, 31 %28 = and i64 %27, -32 %29 = icmp ugt i64 %21, %28 br i1 %29, label LBL_4, label LBL_5 LBL_4: %30 = load i64, i64* %23, align 8 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %10, i64 %7, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %33 = call i64 @FUNC(i64 %21) %34 = call i64 @FUNC(i64 %5, i64 %33, i64 %21) %35 = icmp eq i64 %34, %21 br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %21, i64 %33, i64 %2, i64 %1) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %37 = load i64, i64* %23, align 8 %38 = call i64 @FUNC(i64 %37, i64 %33, i64 %7, i64 %10, i64 0) %39 = call i64 @FUNC(i64 %33) 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 %33, { 3, 2, 1, 0, 4 } uselistorder i64 %21, { 0, 1, 3, 4, 2, 5 } uselistorder i64 %10, { 2, 3, 4, 1, 0 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 } uselistorder i64 512, { 2, 0, 1 } uselistorder i64 (i64)* @qemu_get_be64, { 1, 0 } uselistorder label LBL_8, { 1, 2, 3, 0 } }
1
BinRealVul
blk_eject_978
blk_eject
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = urem i64 %arg2, 256 %7 = icmp eq i64 %3, 0 br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %3, i64 %6) br label LBL_4 LBL_4: %9 = call i64 @FUNC(i64 %2) %10 = call i64 @FUNC(i64 %2) %11 = call i64 @FUNC(i64 %10, i64 %9, i64 %6, i64* nonnull @gv_3) %12 = call i64 @FUNC(i64 %9) ret i64 %12 uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ff_vaapi_render_picture_15891
ff_vaapi_render_picture
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %1 = ptrtoint i64* %sv_2 to i64 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = load i32, i32* %3, align 4 %8 = add i64 %1, -16 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 8 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %0, i64 %14) %16 = load i32, i32* %11, align 4 %17 = add i64 %1, -12 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 store i32 2, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = add i64 %0, 24 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = zext i32 %21 to i64 %24 = call i64 @FUNC(i64 %0, i64 %23) %25 = add nuw nsw i32 %sv_0.0.reload, 1 %26 = load i32, i32* %20, align 4 %27 = mul i32 %sv_0.0.reload, 4 %28 = zext i32 %27 to i64 %29 = add i64 %8, %28 %30 = inttoptr i64 %29 to i32* store i32 %26, i32* %30, align 4 store i32 %25, i32* %sv_0.1.reg2mem br label LBL_4 LBL_4: %31 = add i64 %0, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = trunc i64 %arg2 to i32 %35 = call i64 @FUNC(i64 %0, i64 %33, i32 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %37, label LBL_5, label LBL_8 LBL_5: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %38 = load i64, i64* %32, align 8 %39 = call i64 @FUNC(i64 %0, i64 %38, i64* nonnull %sv_1, i32 %sv_0.1.reload) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %41, label LBL_6, label LBL_8 LBL_6: %42 = add i64 %0, 40 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i64 %0, 32 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* %32, align 8 %49 = inttoptr i64 %47 to i64* %50 = call i64 @FUNC(i64 %0, i64 %48, i64* %49, i32 %44) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %52, label LBL_7, label LBL_8 LBL_7: %53 = load i64, i64* %32, align 8 %54 = call i64 @FUNC(i64 %0, i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %spec.store.select = select i1 %56, i64 %54, i64 4294967295 store i64 %spec.store.select, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %0, { 2, 3, 5, 4, 6, 7, 8, 1, 9, 0, 10, 11, 12 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64*, i32)* @vaRenderPicture, { 1, 0 } uselistorder i64 (i64, i64)* @vaUnmapBuffer, { 2, 1, 0 } uselistorder label LBL_8, { 3, 0, 1, 2 } }
1
BinRealVul
__skb_get_hash_symmetric_13189
__skb_get_hash_symmetric
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 0, i64 %0, i64* nonnull @gv_0, i64* nonnull %sv_0, i64 0, i64 0) %3 = load i64, i64* @gv_1, align 8 %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3) ret i64 %4 }
1
BinRealVul
blk_aio_detach_11611
blk_aio_detach
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %7, i64 %3, i64 %2, i64 %1) %9 = add i64 %4, 16 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %storemerge1.reg2mem br i1 %11, label LBL_1, label LBL_2 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %12 = call i64 @FUNC(i64 %storemerge1.reload) %13 = inttoptr i64 %storemerge1.reload to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %storemerge1.reg2mem br i1 %16, label LBL_1, label LBL_2 LBL_2: store i64 0, i64* %6, align 8 ret i64 %4 uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
walk_shadow_page_lockless_begin_8902
walk_shadow_page_lockless_begin
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = inttoptr i64 %arg1 to i32* store i32 1, i32* %1, align 4 %2 = call i64 @FUNC() ret i64 %2 }
0
BinRealVul
PowerPopupView_13373
PowerPopupView
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1) %1 = call i64 @FUNC(i64 1) %2 = call i64 @FUNC() ret i64 %2 }
0
BinRealVul
dec_divu_14203
dec_divu
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, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %1 to i32 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %10, i32 %6, i32 %5) %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 2 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_2: %21 = call i64 @FUNC() %22 = load i32, i32* %4, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 %24, ptrtoint (i32** @gv_2 to i64) %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = and i64 %21, 4294967295 %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 1, i64 %29, i64 0, i64 %28) %31 = add i64 %2, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = load i32, i32* @gv_3, align 4 %35 = zext i32 %33 to i64 %36 = zext i32 %34 to i64 %37 = call i64 @FUNC(i64 %36, i64 %35) %38 = call i64 @FUNC(i64 %2, i64 2) %39 = call i64 @FUNC(i64 %28) %40 = load i32, i32* %4, align 4 %41 = sext i32 %40 to i64 %42 = mul i64 %41, 4 %43 = add i64 %42, ptrtoint (i32** @gv_2 to i64) %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %sext = mul i64 %1, 4294967296 %46 = ashr exact i64 %sext, 30 %47 = add i64 %46, ptrtoint (i32** @gv_2 to i64) %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = load i32, i32* %8, align 4 %51 = sext i32 %50 to i64 %52 = mul i64 %51, 4 %53 = add i64 %52, ptrtoint (i32** @gv_2 to i64) %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %49 to i64 %57 = zext i32 %55 to i64 %58 = call i64 @FUNC(i64 %57, i64 %56, i32 %45) ret i64 %58 uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
perf_event__synthesize_thread_map_18198
perf_event__synthesize_thread_map
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %storemerge68.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge9.reg2mem = alloca i32 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %3 = trunc i64 %2 to i32 %4 = add i32 %3, 4 %5 = call i64* @malloc(i32 %4) %6 = icmp eq i64* %5, null store i64 4294967295, i64* %sv_0.3.reg2mem br i1 %6, label LBL_16, label LBL_1 LBL_1: %7 = call i64* @malloc(i32 %4) %8 = icmp eq i64* %7, null store i64 4294967295, i64* %sv_0.2.reg2mem br i1 %8, label LBL_15, label LBL_2 LBL_2: %9 = call i64* @malloc(i32 %4) %10 = icmp eq i64* %9, null store i64 4294967295, i64* %sv_0.1.reg2mem br i1 %10, label LBL_14, label LBL_3 LBL_3: %11 = trunc i64 %1 to i32 %12 = icmp eq i32 %11, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %12, label LBL_13, label LBL_4 LBL_4: %13 = ptrtoint i64* %arg1 to i64 %14 = ptrtoint i64* %sv_1 to i64 %15 = and i64 %arg6, 4294967295 %16 = urem i64 %arg5, 256 %17 = ptrtoint i64* %5 to i64 %18 = ptrtoint i64* %7 to i64 %19 = ptrtoint i64* %9 to i64 %20 = ptrtoint i32* %arg2 to i64 %21 = bitcast i64* %rsi to i32* %22 = add i64 %14, -8 %23 = inttoptr i64 %22 to i64* %24 = add i64 %14, -16 %25 = inttoptr i64 %24 to i64* %26 = ptrtoint i32* %arg4 to i64 %27 = add i64 %14, -24 %28 = inttoptr i64 %27 to i64* %29 = add i64 %14, -32 %30 = inttoptr i64 %29 to i64* %31 = bitcast i64* %5 to i32* store i32 0, i32* %storemerge9.reg2mem br label LBL_5 LBL_5: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %32 = zext i32 %storemerge9.reload to i64 %33 = call i64 @FUNC(i64 %20, i64 %32) store i64 %15, i64* %23, align 8 store i64 %16, i64* %25, align 8 store i64 %26, i64* %28, align 8 store i64 %13, i64* %30, align 8 %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %17, i64 %18, i64 %19, i64 %34, i64 0, i64 %arg3, i64 ptrtoint (i32* @0 to i64)) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %37, label LBL_6, label LBL_13 LBL_6: %38 = load i32, i32* %31, align 4 %39 = call i64 @FUNC(i64 %20, i64 %32) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %38, %40 br i1 %41, label LBL_12, label LBL_7 LBL_7: %42 = load i32, i32* %21, align 8 %43 = icmp eq i32 %42, 0 %44 = load i32, i32* %31, align 4 store i32 %44, i32* %.lcssa.reg2mem br i1 %43, label LBL_11, label LBL_8 LBL_8: %45 = zext i32 %42 to i64 store i32 %44, i32* %.reg2mem store i32 0, i32* %storemerge68.reg2mem br label LBL_9 LBL_9: %storemerge68.reload = load i32, i32* %storemerge68.reg2mem %.reload = load i32, i32* %.reg2mem %46 = zext i32 %storemerge68.reload to i64 %47 = call i64 @FUNC(i64 %20, i64 %46) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %.reload, %48 %50 = icmp eq i1 %49, false br i1 %50, label LBL_10, label LBL_12 LBL_10: %51 = add i32 %storemerge68.reload, 1 %52 = sext i32 %51 to i64 %53 = icmp slt i64 %52, %45 %54 = load i32, i32* %31, align 4 store i32 %54, i32* %.reg2mem store i32 %51, i32* %storemerge68.reg2mem store i32 %54, i32* %.lcssa.reg2mem br i1 %53, label LBL_9, label LBL_11 LBL_11: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %55 = zext i32 %.lcssa.reload to i64 store i64 %15, i64* %23, align 8 store i64 %16, i64* %25, align 8 store i64 %26, i64* %28, align 8 store i64 %13, i64* %30, align 8 %56 = call i64 @FUNC(i64 %17, i64 %18, i64 %19, i64 %55, i64 0, i64 %arg3, i64 ptrtoint (i32* @0 to i64)) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %58, label LBL_12, label LBL_13 LBL_12: %59 = add i32 %storemerge9.reload, 1 %60 = load i32, i32* %21, align 8 %61 = zext i32 %60 to i64 %62 = sext i32 %59 to i64 %63 = icmp slt i64 %62, %61 store i32 %59, i32* %storemerge9.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %63, label LBL_5, label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem call void @free(i64* nonnull %9) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_14 LBL_14: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem call void @free(i64* nonnull %7) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_15 LBL_15: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem call void @free(i64* nonnull %5) store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem br label LBL_16 LBL_16: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %64 = and i64 %sv_0.3.reload, 4294967295 ret i64 %64 uselistorder i32 %44, { 1, 0 } uselistorder i32* %31, { 1, 0, 2 } uselistorder i32* %21, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64* %9, { 0, 2, 1 } uselistorder i64* %7, { 0, 2, 1 } uselistorder i64* %5, { 1, 0, 3, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge68.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i64* %0, { 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64, i64)* @__event__synthesize_thread, { 1, 0 } uselistorder i64 (i64, i64)* @thread_map__pid, { 2, 1, 0 } uselistorder i32 0, { 4, 0, 2, 5, 1, 3 } uselistorder i64* (i32)* @malloc, { 2, 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 0, 2, 1, 3 } uselistorder label LBL_12, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
pmcraid_get_error_info_8741
pmcraid_get_error_info
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 store i32 0, i32* %storemerge23.reg2mem br label LBL_1 LBL_1: %storemerge23.reload = load i32, i32* %storemerge23.reg2mem %1 = sext i32 %storemerge23.reload to i64 %2 = mul i64 %1, 16 %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 8 %6 = icmp eq i32 %5, %0 %7 = icmp eq i1 %6, false store i64 %3, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = add nuw i32 %storemerge23.reload, 1 %9 = icmp ult i32 %8, 3 store i32 %8, i32* %storemerge23.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
qemu_sglist_destroy_2929
qemu_sglist_destroy
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* @memset(i64* %arg1, i32 0, i32 8) %3 = ptrtoint i64* %2 to i64 ret i64 %3 }
0
BinRealVul
set_monitor_7591
set_monitor
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %0 = bitcast i64* %arg2 to i8* %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) store i64 %4, i64* %arg1, align 8 %5 = call i32 @fork() %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32 @close(i32 0) %9 = call i32 @close(i32 1) %10 = call i32 @close(i32 2) %11 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %12 = call i32 (i8*, i8*, ...) @execl(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_3: %13 = call i32 @waitpid(i32 %5, i32* nonnull %sv_1, i32 0) %14 = load i32, i32* %sv_1, align 4 %15 = urem i32 %14, 128 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %17, label LBL_32, label LBL_4 LBL_4: %18 = udiv i32 %14, 256 %19 = urem i32 %18, 256 store i32 %19, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_5: %20 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 4) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %22, label LBL_6, label LBL_32 LBL_6: %23 = ptrtoint i64* %arg1 to i64 %24 = add i64 %23, 24 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label LBL_17, label LBL_7 LBL_7: %28 = icmp sgt i32 %26, 3 br i1 %28, label LBL_21, label LBL_8 LBL_8: switch i32 %26, label LBL_21 [ i32 1, label LBL_9 i32 2, label LBL_13 ] LBL_9: %29 = call i32 @fork() %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = call i32 @close(i32 0) %33 = call i32 @close(i32 1) %34 = call i32 @close(i32 2) %35 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %36 = add i64 %23, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i8* %40 = call i32 (i8*, i8*, ...) @execl(i8* %39, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_11: %41 = call i32 @waitpid(i32 %29, i32* nonnull %sv_1, i32 0) %42 = load i32, i32* %sv_1, align 4 %43 = urem i32 %42, 128 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %45, label LBL_32, label LBL_12 LBL_12: %46 = udiv i32 %42, 256 %47 = urem i32 %46, 256 store i32 %47, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_13: %48 = call i32 @fork() %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_15, label LBL_14 LBL_14: %51 = call i32 @close(i32 0) %52 = call i32 @close(i32 1) %53 = call i32 @close(i32 2) %54 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %55 = add i64 %23, 16 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = inttoptr i64 %57 to i8* %59 = call i32 (i8*, i8*, ...) @execlp(i8* %58, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_15: %60 = call i32 @waitpid(i32 %48, i32* nonnull %sv_1, i32 0) %61 = load i32, i32* %sv_1, align 4 %62 = urem i32 %61, 128 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %64, label LBL_32, label LBL_16 LBL_16: %65 = udiv i32 %61, 256 %66 = urem i32 %65, 256 store i32 %66, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_17: %67 = call i32 @fork() %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_19, label LBL_18 LBL_18: %70 = call i32 @close(i32 0) %71 = call i32 @close(i32 1) %72 = call i32 @close(i32 2) %73 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %74 = add i64 %23, 16 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = inttoptr i64 %76 to i8* %78 = call i32 (i8*, i8*, ...) @execlp(i8* %77, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_19: %79 = call i32 @waitpid(i32 %67, i32* nonnull %sv_1, i32 0) %80 = load i32, i32* %sv_1, align 4 %81 = urem i32 %80, 128 %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %83, label LBL_32, label LBL_20 LBL_20: %84 = udiv i32 %80, 256 %85 = urem i32 %84, 256 store i32 %85, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_21: %86 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32) %87 = bitcast i64* %sv_0 to i8* %88 = call i8* @strncpy(i8* nonnull %87, i8* %0, i32 16) %89 = call i32 (i32, i32, ...) @ioctl(i32 %arg3, i32 35590) %90 = icmp slt i32 %89, 0 %91 = icmp eq i1 %90, false br i1 %91, label LBL_23, label LBL_22 LBL_22: call void @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0)) store i32 1, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_23: %92 = load i32, i32* %25, align 4 %93 = icmp eq i32 %92, 4 %94 = icmp eq i1 %93, false br i1 %94, label LBL_25, label LBL_24 LBL_24: %95 = call i32 @sleep(i32 3) br label LBL_25 LBL_25: %96 = call i32 @fork() %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false br i1 %98, label LBL_27, label LBL_26 LBL_26: %99 = call i32 @close(i32 0) %100 = call i32 @close(i32 1) %101 = call i32 @close(i32 2) %102 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %103 = call i32 (i8*, i8*, ...) @execlp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_27: %104 = call i32 @wait(i64 0) %105 = call i32 @fork() %106 = icmp eq i32 %105, 0 %107 = icmp eq i1 %106, false br i1 %107, label LBL_29, label LBL_28 LBL_28: %108 = call i32 @close(i32 0) %109 = call i32 @close(i32 1) %110 = call i32 @close(i32 2) %111 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %112 = call i32 (i8*, i8*, ...) @execlp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_29: %113 = call i32 @wait(i64 0) %114 = call i32 @fork() %115 = icmp eq i32 %114, 0 %116 = icmp eq i1 %115, false br i1 %116, label LBL_31, label LBL_30 LBL_30: %117 = call i32 @close(i32 0) %118 = call i32 @close(i32 1) %119 = call i32 @close(i32 2) %120 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %121 = call i32 (i8*, i8*, ...) @execlp(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_31: %122 = call i32 @wait(i64 0) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_32: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %23, { 2, 0, 1, 3 } uselistorder i32* %sv_1, { 3, 7, 2, 6, 1, 5, 0, 4 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 10, 9, 11, 1, 7, 2, 8, 3, 4, 6, 5 } uselistorder i32 (i64)* @wait, { 2, 1, 0 } uselistorder i32 (i8*, i8*, ...)* @execlp, { 4, 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), { 2, 3, 4, 5, 6, 7, 0, 1 } uselistorder i32 3, { 1, 2, 0 } uselistorder i32 256, { 1, 0, 3, 2, 5, 4, 7, 6 } uselistorder i32 (i32, i32*, i32)* @waitpid, { 2, 3, 1, 0 } uselistorder void (i32)* @exit, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*, i8*, ...)* @execl, { 1, 0 } uselistorder i32 (i8*)* @chdir, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), { 1, 2, 3, 0, 5, 4, 6, 7 } uselistorder i32 ()* @fork, { 6, 3, 4, 5, 0, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_32, { 5, 6, 7, 0, 8, 1, 9, 2, 3, 10, 4 } }
1
BinRealVul
dos_locate_disklabel_4580
dos_locate_disklabel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 0, i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 store i64 0, i64* %arg5, align 8 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 store i64 512, i64* %arg5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %7 = add nsw i64 %3, 3 %8 = icmp ult i64 %7, %rdi.0.reload %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_10, label LBL_5 LBL_5: %10 = and i64 %7, 4294967295 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_7: %14 = add i64 %11, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_9 LBL_9: store i64 ptrtoint ([4 x i8]* @gv_6 to i64), i64* %arg3, align 8 %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %0, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = mul i64 %23, %20 store i64 %24, i64* %arg4, align 8 store i64 512, i64* %arg5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [4 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_10, { 1, 2, 0 } }
0
BinRealVul
tty_ldisc_try_get_18871
tty_ldisc_try_get
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 16, i64 0) %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 4294967284) store i64 %5, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %sext = mul i64 %arg1, 4294967296 %6 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %7 = inttoptr i64 %2 to i64* store i64 0, i64* %7, align 8 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 4294967274, i64* %sv_0.0.ph.reg2mem br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = inttoptr i64 %11 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967285, i64* %sv_0.0.ph.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %19 = add i64 %11, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = add i32 %21, 1 store i32 %22, i32* %20, align 4 store i64 %11, i64* %7, align 8 %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) store i64 %2, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %26 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1) %27 = call i64 @FUNC(i64 %sv_0.0.ph.reload) store i64 %27, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
gb_get_v_16360
gb_get_v
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %sv_0.0.reg2mem store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp ne i32 %2, 0 %4 = icmp ult i32 %storemerge.reload, 57 %or.cond = icmp eq i1 %4, %3 %5 = mul i64 %sv_0.0.reload, 128 %6 = call i64 @FUNC(i64 %0, i64 7) %sext1 = mul i64 %6, 4294967296 %7 = ashr exact i64 %sext1, 32 %8 = or i64 %7, %5 %9 = add nuw nsw i32 %storemerge.reload, 7 store i64 %8, i64* %sv_0.0.reg2mem store i32 %9, i32* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: ret i64 %8 uselistorder i64 %8, { 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } }
1
BinRealVul
pc_machine_class_init_2556
pc_machine_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198676, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i32* store i32 255, i32* %8, align 4 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198683, i64* %10, align 8 store i64 4198690, i64* %arg1, align 8 store i64 4198697, i64* %2, align 8 store i64 4198704, i64* %4, align 8 ret i64 %0 }
0
BinRealVul
net_socket_accept_2363
net_socket_accept
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = alloca i16 %rax.0.reg2mem = alloca i64 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = load i32, i32* %1 %6 = load i16, i16* %2 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %7 = and i64 %3, 4294967295 br label LBL_1 LBL_1: store i32 16, i32* %sv_1, align 4 %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0, i32* nonnull %sv_1) %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 i32* @__errno_location() %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 4 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_1 LBL_3: %16 = add i64 %4, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %4, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %21, i64 %18, i32 %9, i64 1) %26 = icmp eq i64 %25, 0 store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_6, label LBL_4 LBL_4: %27 = inttoptr i64 %25 to i8* %28 = call i16 @ntohs(i16 %6) %29 = insertvalue %in_addr undef, i32 %5, 0 %30 = call i8* @inet_ntoa(%in_addr %29) %31 = zext i16 %28 to i64 %32 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %27, i32 256, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* %30, i64 %31) %33 = sext i32 %32 to i64 store i64 %33, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %34 = zext i32 %13 to i64 store i64 %34, 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, { 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } }
0
BinRealVul
may_linkat_7985
may_linkat
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder label LBL_4, { 3, 1, 0, 2 } }
0
BinRealVul
impeg2d_next_code_6170
impeg2d_next_code
define i64 @FUNC(i32* %arg1, i64 %arg2) 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 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2, i64 32) %5 = trunc i64 %arg2 to i32 %6 = trunc i64 %4 to i32 %7 = icmp eq i32 %5, %6 store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* br label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 8) %12 = call i64 @FUNC(i64 %2, i64 32) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %5, %13 store i64 %12, i64* %rax.0.reg2mem br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = load i32, i32* %10, align 4 %16 = icmp ugt i32 %15, %8 br i1 %16, label LBL_2, label LBL_3.LBL_5_crit_edge LBL_4: %17 = zext i32 %15 to i64 store i64 %17, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 3, 1, 2, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
grow_stack_state_13150
grow_stack_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = udiv i64 %0, 8 %2 = trunc i64 %arg2 to i32 %3 = sdiv i32 %2, 128 %4 = sext i32 %3 to i64 %5 = icmp ult i64 %1, %4 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_3 LBL_1: %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 %1, i64 %4, i64 0) store i64 %9, i64* %7, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %sext = mul i64 %arg2, 4294967296 %12 = ashr exact i64 %sext, 32 store i64 %12, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
io_splice_12929
io_splice
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i64 %arg2, 2 %5 = icmp eq i64 %4, 0 store i64 4294967285, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_10 LBL_1: %6 = urem i32 %3, 2 %7 = zext i32 %6 to i64 %8 = add i64 %0, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, 40 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 %0, i32 %10, i64 %7) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_1.LBL_7_crit_edge LBL_2: %.pre = add i64 %0, 32 %.pre3 = inttoptr i64 %.pre to i64* store i64* %.pre3, i64** %.pre-phi4.reg2mem store i64 -9, i64* %sv_0.1.reg2mem br label LBL_7 LBL_3: %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = and i32 %3, -2 %22 = add i64 %0, 16 %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, -1 %storemerge1 = select i1 %26, i64 0, i64 %23 %27 = inttoptr i64 %22 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, -1 %storemerge2 = select i1 %29, i64 0, i64 %22 %30 = zext i32 %21 to i64 %31 = call i64 @FUNC(i64 %14, i64 %storemerge2, i64 %0, i64 %storemerge1, i64 %19, i64 %30) store i64 %31, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %32 = load i32, i32* %2, align 4 %33 = urem i32 %32, 2 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64* %18, i64** %.pre-phi4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %14) store i64* %18, i64** %.pre-phi4.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %37 = load i64, i64* %.pre-phi4.reload, align 8 %38 = icmp eq i64 %37, %sv_0.1.reload br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = call i64 @FUNC(i64 %0) br label LBL_9 LBL_9: %40 = call i64 @FUNC(i64 %0, i64 %sv_0.1.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %14, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %0, { 3, 2, 1, 5, 6, 4, 0, 8, 7, 9, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 -1, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
1
BinRealVul
ll_invalidate_negative_children_12633
ll_invalidate_negative_children
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge13.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, null store i64 %0, i64* %storemerge13.reg2mem br i1 %2, label LBL_7, label LBL_5 LBL_1: %3 = icmp eq i64 %6, 0 store i64 %6, i64* %storemerge2.reg2mem br i1 %3, label LBL_4, label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %4 = add i64 %storemerge2.reload, 32 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %storemerge2.reload, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_1, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %storemerge2.reload, i64 1) br label LBL_1 LBL_4: %13 = call i64 @FUNC(i64 %20) %14 = add i64 %storemerge13.reload, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 store i64 %16, i64* %storemerge13.reg2mem br i1 %17, label LBL_7, label LBL_5 LBL_5: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %18 = inttoptr i64 %storemerge13.reload to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %19, 24 %21 = call i64 @FUNC(i64 %20) %22 = icmp eq i64 %19, -8 br i1 %22, label LBL_4, label LBL_2.lr.ph LBL_6: %23 = add i64 %19, 8 store i64 %23, i64* %storemerge2.reg2mem br label LBL_2 LBL_7: %24 = call i64 @FUNC(i64 %0) ret i64 %24 uselistorder i64 %20, { 1, 0 } uselistorder i64 %storemerge13.reload, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %storemerge2.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge13.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
fstab_find_pri_18299
fstab_find_pri
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rbx.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 0, i64* nonnull %sv_1, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = and i64 %2, 4294967295 store i64 %9, i64* %rbx.0.reg2mem br label LBL_7 LBL_4: %10 = load i64, i64* %sv_1, align 8 %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_0) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = and i64 %11, 4294967295 store i64 %15, i64* %rbx.0.reg2mem br label LBL_7 LBL_6: %16 = bitcast i64* %arg2 to i32* store i32 %12, i32* %16, align 4 store i64 1, i64* %rbx.0.reg2mem br label LBL_7 LBL_7: %rbx.0.reload = load i64, i64* %rbx.0.reg2mem %17 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %rbx.0.reload uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_1, { 0, 2, 1, 3 } uselistorder i64* %rbx.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 2, 3, 0, 1 } uselistorder i1 false, { 1, 2, 0, 3 } }
1
BinRealVul
free_ep_req_5881
free_ep_req
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 = icmp eq i64* %arg2, null %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg2, align 8 %6 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %6 }
0
BinRealVul
use_high_update_speed_1515
use_high_update_speed
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.1.lcssa.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem39 = alloca i64 %.reg2mem37 = alloca i64 %storemerge1216.reg2mem = alloca i32 %.reg2mem35 = alloca i64 %.reg2mem33 = alloca i64 %storemerge815.reg2mem = alloca i32 %.reg2mem31 = alloca i64 %storemerge18.reg2mem = alloca i32 %.reg2mem29 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 30 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i32* store i32 16, i32* %3, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, %1 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, -1 %11 = zext i32 %10 to i64 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %rax.1.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_1: %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i64* %16 = ashr exact i64 %sext, 29 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* %.pre = load i64, i64* %15, align 8 store i64 %.pre, i64* %.reg2mem store i64 %.pre, i64* %.reg2mem29 store i32 %10, i32* %storemerge18.reg2mem br label LBL_2 LBL_2: %storemerge18.reload = load i32, i32* %storemerge18.reg2mem %.reload = load i64, i64* %.reg2mem %19 = sext i32 %storemerge18.reload to i64 %20 = mul i64 %19, 16 %21 = load i32, i32* %18, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_4, label LBL_3 LBL_3: %.reload30 = load i64, i64* %.reg2mem29 %23 = add i64 %.reload30, %16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = or i64 %20, 12 %27 = add i64 %26, %25 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %20, %25 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 store i64 %30, i64* %.reg2mem31 store i32 0, i32* %storemerge815.reg2mem store i64 %.reload, i64* %.reg2mem37 store i64 %.reload30, i64* %.reg2mem39 store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_7, label LBL_5 LBL_4: %35 = add i64 %.reload, %16 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %37, %20 %39 = add i64 %38, 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 store i64 0, i64* %.reg2mem33 store i64 %38, i64* %.reg2mem35 store i32 0, i32* %storemerge1216.reg2mem store i64 %.reload, i64* %.reg2mem37 store i64 %.reload, i64* %.reg2mem39 store i64 0, i64* %rax.0.reg2mem br i1 %42, label LBL_7, label LBL_6 LBL_5: %storemerge815.reload = load i32, i32* %storemerge815.reg2mem %.reload32 = load i64, i64* %.reg2mem31 %43 = inttoptr i64 %.reload32 to i64* %44 = load i64, i64* %43, align 8 %45 = add i32 %storemerge815.reload, %29 %46 = sext i32 %45 to i64 %47 = mul i64 %46, 4 %48 = add i64 %47, %44 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = mul i32 %50, 2 store i32 %51, i32* %49, align 4 %52 = add i32 %storemerge815.reload, 1 %53 = load i64, i64* %15, align 8 %54 = add i64 %53, %16 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = add i64 %56, %20 %58 = add i64 %57, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %60 to i64 %62 = sext i32 %52 to i64 %63 = icmp slt i64 %62, %61 store i64 %57, i64* %.reg2mem31 store i32 %52, i32* %storemerge815.reg2mem store i64 %53, i64* %.reg2mem37 store i64 %53, i64* %.reg2mem39 store i64 %61, i64* %rax.0.reg2mem br i1 %63, label LBL_5, label LBL_7 LBL_6: %storemerge1216.reload = load i32, i32* %storemerge1216.reg2mem %.reload36 = load i64, i64* %.reg2mem35 %.reload34 = load i64, i64* %.reg2mem33 %64 = inttoptr i64 %.reload36 to i64* %65 = load i64, i64* %64, align 8 %66 = mul i64 %.reload34, 4 %67 = add i64 %65, %66 %68 = inttoptr i64 %67 to i32* %69 = load i32, i32* %68, align 4 %70 = mul i32 %69, 2 store i32 %70, i32* %68, align 4 %71 = add i32 %storemerge1216.reload, 1 %72 = load i64, i64* %15, align 8 %73 = add i64 %72, %16 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = add i64 %75, %20 %77 = add i64 %76, 8 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = sext i32 %71 to i64 %82 = icmp slt i64 %81, %80 store i64 %81, i64* %.reg2mem33 store i64 %76, i64* %.reg2mem35 store i32 %71, i32* %storemerge1216.reg2mem store i64 %72, i64* %.reg2mem37 store i64 %72, i64* %.reg2mem39 store i64 %80, i64* %rax.0.reg2mem br i1 %82, label LBL_6, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem %.reload40 = load i64, i64* %.reg2mem39 %.reload38 = load i64, i64* %.reg2mem37 %83 = add i32 %storemerge18.reload, -1 %84 = icmp slt i32 %83, 0 %85 = icmp eq i1 %84, false store i64 %.reload38, i64* %.reg2mem store i64 %.reload40, i64* %.reg2mem29 store i32 %83, i32* %storemerge18.reg2mem store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem br i1 %85, label LBL_2, label LBL_8 LBL_8: %rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem ret i64 %rax.1.lcssa.reload uselistorder i64 %20, { 4, 2, 3, 1, 0 } uselistorder i64 %.reload, { 0, 2, 3, 1 } uselistorder i64 %16, { 0, 2, 1, 3 } uselistorder i64* %15, { 2, 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem29, { 1, 0, 2 } uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem31, { 2, 0, 1 } uselistorder i32* %storemerge815.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem33, { 2, 0, 1 } uselistorder i64* %.reg2mem35, { 2, 0, 1 } uselistorder i32* %storemerge1216.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem37, { 0, 2, 1, 4, 3 } uselistorder i64* %.reg2mem39, { 0, 2, 1, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_7, { 1, 0, 3, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_frame_thread_init_7682
ff_frame_thread_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64* %sv_0.1.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i32* %sv_1.17.reg2mem = alloca i32* %sv_0.28.reg2mem = alloca i64* %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_2 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 24 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC() %8 = icmp eq i32 %3, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = call i64 @FUNC() %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, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_2 LBL_2: %17 = trunc i64 %10 to i32 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp ne i32 %20, 0 %22 = icmp slt i32 %17, 2 %or.cond = or i1 %22, %21 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %23 = add i32 %17, -15 %24 = sub i32 14, %17 %25 = and i32 %24, %17 %26 = icmp slt i32 %25, 0 %27 = icmp eq i32 %23, 0 %28 = icmp slt i32 %23, 0 %29 = icmp eq i1 %28, %26 %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 %.op = add i32 %17, 1 %32 = select i1 %31, i32 16, i32 %.op store i32 %32, i32* %arg1, align 4 br label LBL_5 LBL_4: store i32 1, i32* %arg1, align 4 br label LBL_5 LBL_5: %33 = icmp sgt i32 %3, 1 br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = add i64 %2, 32 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_24 LBL_7: %36 = call i64 @FUNC(i64 56) %37 = add i64 %2, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i64* store i64 %36, i64* %40, align 8 %41 = icmp eq i64 %36, 0 %42 = icmp eq i1 %41, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %42, label LBL_8, label LBL_24 LBL_8: %sext = mul i64 %1, 4294967296 %43 = ashr exact i64 %sext, 32 %44 = call i64 @FUNC(i64 %43, i64 272) %45 = add i64 %36, 48 %46 = inttoptr i64 %45 to i64* store i64 %44, i64* %46, align 8 %47 = icmp eq i64 %44, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = load i64, i64* %38, align 8 %50 = call i64 @FUNC(i64 %49) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_24 LBL_10: %51 = inttoptr i64 %36 to i64* %52 = call i32 @pthread_mutex_init(i64* %51, i64* null) %53 = add i64 %36, 40 %54 = inttoptr i64 %53 to i32* store i32 1, i32* %54, align 4 %55 = inttoptr i64 %6 to i64* %56 = add i64 %6, 16 %57 = inttoptr i64 %56 to i64* %58 = add i64 %6, 8 %59 = inttoptr i64 %58 to i64* store i64 0, i64* %indvars.iv.reg2mem store i64* null, i64** %sv_0.28.reg2mem store i32* %arg1, i32** %sv_1.17.reg2mem br label LBL_11 LBL_11: %sv_1.17.reload = load i32*, i32** %sv_1.17.reg2mem %sv_0.28.reload = load i64*, i64** %sv_0.28.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %60 = call i64 @FUNC(i64 48) store i64 %60, i64* %sv_2, align 8 %61 = load i64, i64* %46, align 8 %62 = mul nuw nsw i64 %indvars.iv.reload, 272 %63 = add i64 %61, %62 %64 = inttoptr i64 %63 to i64* %65 = call i32 @pthread_mutex_init(i64* %64, i64* null) %66 = add i64 %63, 40 %67 = inttoptr i64 %66 to i64* %68 = call i32 @pthread_mutex_init(i64* %67, i64* null) %69 = add i64 %63, 80 %70 = inttoptr i64 %69 to i64* %71 = call i32 @pthread_cond_init(i64* %70, i64* null) %72 = add i64 %63, 128 %73 = inttoptr i64 %72 to i64* %74 = call i32 @pthread_cond_init(i64* %73, i64* null) %75 = add i64 %63, 176 %76 = inttoptr i64 %75 to i64* %77 = call i32 @pthread_cond_init(i64* %76, i64* null) %78 = call i64 @FUNC() %79 = add i64 %63, 224 %80 = inttoptr i64 %79 to i64* store i64 %78, i64* %80, align 8 %81 = icmp eq i64 %78, 0 %82 = icmp eq i1 %81, false br i1 %82, label LBL_13, label LBL_12 LBL_12: %83 = ptrtoint i64* %sv_2 to i64 %84 = call i64 @FUNC(i64 %83) store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br label LBL_23 LBL_13: %85 = add i64 %63, 232 %86 = inttoptr i64 %85 to i64* store i64 %36, i64* %86, align 8 %87 = load i64, i64* %sv_2, align 8 %88 = add i64 %63, 240 %89 = inttoptr i64 %88 to i64* store i64 %87, i64* %89, align 8 %90 = load i64, i64* %sv_2, align 8 %91 = icmp eq i64 %90, 0 %92 = icmp eq i1 %91, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %92, label LBL_14, label LBL_23 LBL_14: %93 = ptrtoint i32* %sv_1.17.reload to i64 %94 = bitcast i32* %sv_1.17.reload to i64* %95 = load i64, i64* %94, align 8 %96 = add i64 %93, 8 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = inttoptr i64 %90 to i64* store i64 %95, i64* %99, align 8 %100 = add i64 %90, 8 %101 = inttoptr i64 %100 to i64* store i64 %98, i64* %101, align 8 %102 = add i64 %93, 16 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = add i64 %93, 24 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = add i64 %90, 16 %109 = inttoptr i64 %108 to i64* store i64 %104, i64* %109, align 8 %110 = add i64 %90, 24 %111 = inttoptr i64 %110 to i64* store i64 %107, i64* %111, align 8 %112 = add i64 %93, 32 %113 = inttoptr i64 %112 to i64* %114 = load i64, i64* %113, align 8 %115 = add i64 %93, 40 %116 = inttoptr i64 %115 to i64* %117 = load i64, i64* %116, align 8 %118 = add i64 %90, 32 %119 = inttoptr i64 %118 to i64* store i64 %114, i64* %119, align 8 %120 = add i64 %90, 40 %121 = inttoptr i64 %120 to i64* store i64 %117, i64* %121, align 8 %122 = load i64, i64* %sv_2, align 8 %123 = call i64 @FUNC(i64 24) %124 = add i64 %122, 16 %125 = inttoptr i64 %124 to i64* store i64 %123, i64* %125, align 8 %126 = load i64, i64* %sv_2, align 8 %127 = add i64 %126, 16 %128 = inttoptr i64 %127 to i64* %129 = load i64, i64* %128, align 8 %130 = icmp eq i64 %129, 0 %131 = icmp eq i1 %130, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %131, label LBL_15, label LBL_23 LBL_15: %132 = load i64, i64* %103, align 8 %133 = inttoptr i64 %132 to i64* %134 = load i64, i64* %133, align 8 %135 = add i64 %132, 8 %136 = inttoptr i64 %135 to i64* %137 = load i64, i64* %136, align 8 %138 = inttoptr i64 %129 to i64* store i64 %134, i64* %138, align 8 %139 = add i64 %129, 8 %140 = inttoptr i64 %139 to i64* store i64 %137, i64* %140, align 8 %141 = add i64 %132, 16 %142 = inttoptr i64 %141 to i64* %143 = load i64, i64* %142, align 8 %144 = add i64 %129, 16 %145 = inttoptr i64 %144 to i64* store i64 %143, i64* %145, align 8 %146 = load i64, i64* %sv_2, align 8 %147 = add i64 %146, 16 %148 = inttoptr i64 %147 to i64* %149 = load i64, i64* %148, align 8 %150 = inttoptr i64 %149 to i64* store i64 %63, i64* %150, align 8 %151 = load i64, i64* %sv_2, align 8 %152 = add i64 %151, 16 %153 = inttoptr i64 %152 to i64* %154 = load i64, i64* %153, align 8 %155 = add i64 %63, 264 %156 = add i64 %154, 8 %157 = inttoptr i64 %156 to i64* store i64 %155, i64* %157, align 8 %158 = icmp eq i64 %indvars.iv.reload, 0 %159 = icmp eq i1 %158, false br i1 %159, label LBL_17, label LBL_16 LBL_16: %160 = load i64, i64* %sv_2, align 8 %161 = inttoptr i64 %160 to i32* %162 = load i64, i64* %55, align 8 %163 = icmp eq i64 %162, 0 %164 = and i64 %160, 4294967295 %165 = inttoptr i64 %164 to i64* %sv_0.0 = select i1 %163, i64* %sv_0.28.reload, i64* %165 %166 = call i64 @FUNC(i64 %2, i64 %160, i64 1) store i32* %161, i32** %sv_1.0.reg2mem store i64* %sv_0.0, i64** %sv_0.1.reg2mem br label LBL_20 LBL_17: %167 = load i64, i64* %57, align 8 %168 = load i64, i64* %sv_2, align 8 %169 = call i64 @FUNC(i64 %167) %170 = add i64 %168, 40 %171 = inttoptr i64 %170 to i64* store i64 %169, i64* %171, align 8 %172 = load i64, i64* %sv_2, align 8 %173 = add i64 %172, 40 %174 = inttoptr i64 %173 to i64* %175 = load i64, i64* %174, align 8 %176 = icmp eq i64 %175, 0 %177 = icmp eq i1 %176, false store i64* inttoptr (i32 -12 to i64*), i64** %sv_0.3.reg2mem br i1 %177, label LBL_18, label LBL_23 LBL_18: %178 = load i64, i64* %57, align 8 %179 = load i64, i64* %116, align 8 %180 = inttoptr i64 %175 to i64* %181 = inttoptr i64 %179 to i64* %182 = trunc i64 %178 to i32 %183 = call i64* @memcpy(i64* %180, i64* %181, i32 %182) %184 = load i64, i64* %sv_2, align 8 %185 = add i64 %184, 16 %186 = inttoptr i64 %185 to i64* %187 = load i64, i64* %186, align 8 %188 = add i64 %187, 16 %189 = inttoptr i64 %188 to i32* store i32 1, i32* %189, align 4 %190 = load i64, i64* %59, align 8 %191 = icmp eq i64 %190, 0 store i32* %sv_1.17.reload, i32** %sv_1.0.reg2mem store i64* %sv_0.28.reload, i64** %sv_0.1.reg2mem br i1 %191, label LBL_20, label LBL_19 LBL_19: %192 = load i64, i64* %sv_2, align 8 %193 = and i64 %192, 4294967295 %194 = inttoptr i64 %193 to i64* store i32* %sv_1.17.reload, i32** %sv_1.0.reg2mem store i64* %194, i64** %sv_0.1.reg2mem br label LBL_20 LBL_20: %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem %195 = ptrtoint i64* %sv_0.1.reload to i64 %196 = trunc i64 %195 to i32 %197 = icmp eq i32 %196, 0 %198 = icmp eq i1 %197, false store i64* %sv_0.1.reload, i64** %sv_0.3.reg2mem br i1 %198, label LBL_23, label LBL_21 LBL_21: %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem %199 = add i64 %63, 248 %200 = inttoptr i64 %199 to i32* %201 = call i32 @pthread_create(i32* %200, i64* null, i64* (i64*)* inttoptr (i64 4198978 to i64* (i64*)*), i64* %64) %202 = sub i32 0, %201 %203 = zext i32 %202 to i64 %204 = icmp eq i32 %201, 0 %205 = zext i1 %204 to i32 %206 = add i64 %63, 256 %207 = inttoptr i64 %206 to i32* store i32 %205, i32* %207, align 4 %208 = icmp eq i1 %204, false %209 = inttoptr i64 %203 to i64* store i64* %209, i64** %sv_0.3.reg2mem br i1 %208, label LBL_23, label LBL_22 LBL_22: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %210 = icmp slt i64 %indvars.iv.next, %43 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64* %209, i64** %sv_0.28.reg2mem store i32* %sv_1.0.reload, i32** %sv_1.17.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %210, label LBL_11, label LBL_24 LBL_23: %sv_0.3.reload = load i64*, i64** %sv_0.3.reg2mem %211 = add nuw i64 %indvars.iv.reload, 1 %212 = and i64 %211, 4294967295 %213 = call i64 @FUNC(i64 %2, i64 %212) %214 = ptrtoint i64* %sv_0.3.reload to i64 %215 = and i64 %214, 4294967295 store i64 %215, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %209, { 1, 0 } uselistorder i64 %132, { 2, 1, 0 } uselistorder i64 %93, { 4, 0, 1, 2, 3 } uselistorder i64 %63, { 0, 1, 2, 3, 4, 5, 7, 8, 6, 9, 10, 11 } uselistorder i64 %indvars.iv.reload, { 3, 0, 1, 2 } uselistorder i32* %sv_1.17.reload, { 0, 1, 3, 2 } uselistorder i64 %43, { 1, 0 } uselistorder i64 %36, { 0, 1, 2, 3, 5, 4 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %17, { 3, 0, 4, 2, 1 } uselistorder i64 %6, { 1, 2, 0 } uselistorder i64 %2, { 3, 4, 5, 2, 1, 0, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64** %sv_0.28.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_1.17.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64** %sv_0.3.reg2mem, { 0, 1, 2, 5, 4, 3, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64* inttoptr (i32 -12 to i64*), { 2, 1, 0, 3 } uselistorder i32 (i64*, i64*)* @pthread_cond_init, { 0, 2, 1 } uselistorder i64 (i64)* @av_malloc, { 2, 1, 0 } uselistorder i32 (i64*, i64*)* @pthread_mutex_init, { 2, 1, 0 } uselistorder i64* null, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64 (i64)* @av_freep, { 1, 0 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 16, { 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 2, 11 } uselistorder i64 32, { 1, 2, 0, 3 } uselistorder i64 8, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 4, { 1, 0 } uselistorder i32* %arg1, { 0, 2, 1, 3 } uselistorder label LBL_24, { 2, 0, 3, 1, 4 } uselistorder label LBL_23, { 0, 4, 1, 2, 3, 5 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
kill_TCP_secure_connection_6948
kill_TCP_secure_connection
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2) ret i64 %5 }
0
BinRealVul
_xml_startElementHandler_7836
_xml_startElementHandler
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.13.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %3 = load i64, i64* %0 %sv_6 = alloca i64, align 8 %4 = icmp eq i32* %arg1, null store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_18, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = add i32 %5, 1 store i32 %6, i32* %arg1, align 4 %7 = ptrtoint i32* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %arg2) %9 = add i64 %7, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_8, label LBL_2 LBL_2: %13 = add i64 %7, 24 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) store i64 %17, i64* %sv_6, align 8 %18 = add i64 %7, 52 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = sext i32 %20 to i64 %22 = add i64 %8, %21 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %3) %25 = call i64 @FUNC(i64 %3) %26 = icmp eq i64* %arg3, null br i1 %26, label LBL_6, label LBL_3 LBL_3: %27 = add i64 %7, 56 %28 = inttoptr i64 %27 to i32* %29 = bitcast i32* %sv_5 to i64* store i64 %2, i64* %sv_1.06.reg2mem br label LBL_5 LBL_4: %30 = call i64 @FUNC(i64 %7, i64 %48) %31 = load i32, i32* %28, align 4 %32 = add i64 %sv_1.06.reload, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = inttoptr i64 %34 to i8* %36 = call i32 @strlen(i8* %35) %37 = sext i32 %36 to i64 %38 = load i64, i64* %33, align 8 %39 = zext i32 %31 to i64 %40 = call i64 @FUNC(i64 %38, i64 %37, i64* nonnull %29, i64 %39) %41 = load i32, i32* %sv_5, align 4 %42 = sext i32 %41 to i64 %43 = call i64 @FUNC(i64 %3, i64 %30, i64 %40, i64 %42, i64 0) %44 = add i64 %sv_1.06.reload, 16 %45 = call i64 @FUNC(i64 %30) %46 = icmp eq i64 %44, 0 store i64 %44, i64* %sv_1.06.reg2mem br i1 %46, label LBL_6, label LBL_5 LBL_5: %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %47 = inttoptr i64 %sv_1.06.reload to i64* %48 = load i64, i64* %47, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_4, label LBL_6 LBL_6: %51 = add i64 %7, 16 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = load i64, i64* %10, align 8 %55 = call i64 @FUNC(i64 %7, i64 %54, i64 %53, i64 3, i64* nonnull %sv_6) store i64 %55, i64* %sv_4, align 8 %56 = icmp eq i64 %55, 0 br i1 %56, label LBL_8, label LBL_7 LBL_7: %57 = call i64 @FUNC(i64* nonnull %sv_4) br label LBL_8 LBL_8: %58 = add i64 %7, 32 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, 0 br i1 %61, label LBL_17, label LBL_9 LBL_9: %62 = load i64, i64* %sv_3, align 8 %63 = call i64 @FUNC(i64 %62) %64 = load i64, i64* %sv_2, align 8 %65 = call i64 @FUNC(i64 %64) %66 = call i64 @FUNC(i64 %62) %67 = call i64 @FUNC(i64 %64) %68 = add i64 %7, 52 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = sext i32 %70 to i64 %72 = add i64 %8, %71 %73 = call i64 @FUNC(i64 %7, i64 %72) %74 = load i32, i32* %69, align 4 %75 = sext i32 %74 to i64 %76 = add i64 %8, %75 %77 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %76, i64 1) %78 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 1) %sext = mul i64 %1, 4294967296 %79 = ashr exact i64 %sext, 32 %80 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %79) %81 = add i64 %7, 40 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = ashr exact i64 %sext, 29 %85 = add nsw i64 %84, -8 %86 = add i64 %85, %83 %87 = call i64 @FUNC(i64 %8) %88 = inttoptr i64 %86 to i64* store i64 %87, i64* %88, align 8 %89 = add i64 %7, 48 %90 = inttoptr i64 %89 to i32* store i32 1, i32* %90, align 4 %91 = icmp eq i64* %arg3, null br i1 %91, label LBL_15, label LBL_10 LBL_10: %92 = add i64 %7, 56 %93 = inttoptr i64 %92 to i32* %94 = bitcast i32* %sv_5 to i64* store i32 0, i32* %sv_0.04.reg2mem store i64 %2, i64* %sv_1.13.reg2mem br label LBL_12 LBL_11: %95 = call i64 @FUNC(i64 %7, i64 %115) %96 = load i32, i32* %93, align 4 %97 = add i64 %sv_1.13.reload, 8 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = inttoptr i64 %99 to i8* %101 = call i32 @strlen(i8* %100) %102 = sext i32 %101 to i64 %103 = load i64, i64* %98, align 8 %104 = zext i32 %96 to i64 %105 = call i64 @FUNC(i64 %103, i64 %102, i64* nonnull %94, i64 %104) %106 = load i32, i32* %sv_5, align 4 %107 = sext i32 %106 to i64 %108 = load i64, i64* %sv_2, align 8 %109 = call i64 @FUNC(i64 %108, i64 %95, i64 %105, i64 %107, i64 0) %110 = add i32 %sv_0.04.reload, 1 %111 = add i64 %sv_1.13.reload, 16 %112 = call i64 @FUNC(i64 %95) %113 = icmp eq i64 %111, 0 store i32 %110, i32* %sv_0.04.reg2mem store i64 %111, i64* %sv_1.13.reg2mem store i32 %110, i32* %sv_0.0.lcssa.reg2mem br i1 %113, label LBL_13, label LBL_12 LBL_12: %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %114 = inttoptr i64 %sv_1.13.reload to i64* %115 = load i64, i64* %114, align 8 %116 = icmp eq i64 %115, 0 %117 = icmp eq i1 %116, false store i32 %sv_0.04.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %117, label LBL_11, label LBL_13 LBL_13: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %118 = icmp eq i32 %sv_0.0.lcssa.reload, 0 br i1 %118, label LBL_15, label LBL_14 LBL_14: %119 = load i64, i64* %sv_3, align 8 %120 = call i64 @FUNC(i64 %119) %121 = call i64 @FUNC(i64 %120, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 11, i64* nonnull %sv_2, i64 8, i64 0) br label LBL_16 LBL_15: %122 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_16 LBL_16: %123 = add i64 %7, 64 %124 = load i64, i64* %59, align 8 %125 = call i64 @FUNC(i64 %124) %126 = call i64 @FUNC(i64 %125, i64* nonnull %sv_3, i64 8, i64 %123) br label LBL_17 LBL_17: %127 = call i64 @FUNC(i64 %8) store i64 %127, 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 %115, { 1, 0 } uselistorder i64 %sv_1.13.reload, { 2, 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %48, { 1, 0 } uselistorder i64 %sv_1.06.reload, { 2, 1, 0 } uselistorder i64 %8, { 4, 3, 0, 1, 2 } uselistorder i64 %7, { 8, 6, 7, 9, 10, 12, 11, 13, 3, 2, 0, 1, 4, 5, 14, 15 } uselistorder i32* %sv_5, { 1, 3, 0, 2 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @Z_ARRVAL_P, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64)* @add_assoc_string, { 1, 0 } uselistorder i64 (i64*)* @zval_ptr_dtor, { 1, 0 } uselistorder i64 (i64)* @efree, { 2, 1, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64, i64)* @add_assoc_stringl, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64)* @xml_utf8_decode, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64)* @array_init, { 2, 1, 0 } uselistorder i64 (i64)* @MAKE_STD_ZVAL, { 2, 1, 0 } uselistorder i64 (i64, i64)* @_xml_decode_tag, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
get_checksum_length_19283
get_checksum_length
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %0) store i64 %14, i64* %storemerge.in.reg2mem br label LBL_4 LBL_3: %15 = call i64 @FUNC(i64 %11) store i64 %15, i64* %storemerge.in.reg2mem br label LBL_4 LBL_4: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %16 = and i64 %storemerge.in.reload, 4294967295 ret i64 %16 uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @picoquic_aead_get_checksum_length, { 1, 0 } uselistorder i64 16, { 1, 0 } }
1
BinRealVul
pico_tcp_initconn_7161
pico_tcp_initconn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem6 = alloca i16 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 2) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_9 LBL_1: %10 = inttoptr i64 %3 to i32* %11 = add i64 %7, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = load i32, i32* %10, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i32 %14, i32* %.reg2mem br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC() %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 store i32 %20, i32* %10, align 4 store i32 %20, i32* %.reg2mem br label LBL_3 LBL_3: %.reload = load i32, i32* %.reg2mem %21 = add i64 %3, 4 %22 = inttoptr i64 %21 to i32* store i32 %.reload, i32* %22, align 4 %23 = add i64 %3, 8 %24 = inttoptr i64 %23 to i32* store i32 10, i32* %24, align 4 %25 = call i64 @FUNC(i64 %2) %26 = trunc i64 %25 to i16 %27 = icmp ult i16 %26, 557 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = add i16 %26, -20 %29 = add i64 %3, 12 %30 = inttoptr i64 %29 to i16* store i16 %28, i16* %30, align 2 store i16 %28, i16* %.reg2mem6 br label LBL_6 LBL_5: %31 = add i64 %3, 12 %32 = inttoptr i64 %31 to i16* store i16 536, i16* %32, align 2 store i16 536, i16* %.reg2mem6 br label LBL_6 LBL_6: %33 = trunc i64 %4 to i8 %34 = urem i64 %4, 65536 %35 = inttoptr i64 %13 to i32* %.reload7 = load i16, i16* %.reg2mem6 %36 = udiv i16 1000, %.reload7 %37 = urem i16 %36, 8 %38 = add i64 %3, 14 %39 = inttoptr i64 %38 to i16* store i16 %37, i16* %39, align 2 %40 = inttoptr i64 %7 to i64* store i64 %2, i64* %40, align 8 %41 = load i32, i32* %10, align 4 %42 = zext i32 %41 to i64 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 store i32 %44, i32* %35, align 4 %45 = mul i8 %33, 4 %46 = add i8 %45, 80 %47 = add i64 %13, 4 %48 = inttoptr i64 %47 to i8* store i8 %46, i8* %48, align 1 %49 = add i64 %13, 5 %50 = inttoptr i64 %49 to i8* store i8 2, i8* %50, align 1 %51 = call i64 @FUNC(i64 %3) %52 = add i64 %3, 16 %53 = inttoptr i64 %52 to i16* %54 = load i16, i16* %53, align 2 %55 = zext i16 %54 to i64 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i16 %58 = add i64 %13, 12 %59 = inttoptr i64 %58 to i16* store i16 %57, i16* %59, align 2 %60 = call i64 @FUNC(i64 %3, i64 %7, i64 2, i64 %34) %61 = add i64 %3, 18 %62 = inttoptr i64 %61 to i16* %63 = load i16, i16* %62, align 2 %64 = add i64 %13, 6 %65 = inttoptr i64 %64 to i16* store i16 %63, i16* %65, align 2 %66 = add i64 %3, 20 %67 = inttoptr i64 %66 to i16* %68 = load i16, i16* %67, align 2 %69 = add i64 %13, 8 %70 = inttoptr i64 %69 to i16* store i16 %68, i16* %70, align 2 %71 = add i64 %13, 10 %72 = inttoptr i64 %71 to i16* store i16 0, i16* %72, align 2 %73 = call i64 @FUNC(i64 %7) %74 = urem i64 %73, 65536 %75 = call i64 @FUNC(i64 %74) %76 = trunc i64 %75 to i16 store i16 %76, i16* %72, align 2 %77 = add i64 %7, 8 %78 = inttoptr i64 %77 to i16* %79 = load i16, i16* %78, align 2 %80 = load i16, i16* %67, align 2 %81 = zext i16 %80 to i64 %82 = call i64 @FUNC(i64 %81) %83 = load i16, i16* %62, align 2 %84 = zext i16 %83 to i64 %85 = call i64 @FUNC(i64 %84) %86 = zext i16 %79 to i64 %87 = urem i64 %82, 65536 %88 = urem i64 %85, 65536 %89 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %88, i64 %87, i64 %86, i64 %3, i64 %1) %90 = add i64 %3, 32 %91 = inttoptr i64 %90 to i8* %92 = load i8, i8* %91, align 1 %93 = urem i8 %92, 32 %94 = icmp eq i8 %93, 0 store i64 5, i64* %storemerge.reg2mem br i1 %94, label %99, label %95 LBL_7: %106 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge.reload, i64 %3, i64 %3, i64 %3, i64 %1) %107 = call i64 @FUNC(i64 %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %108 = load i64, i64* %6, align 8 %109 = call i64 @FUNC(i64 %108, i64 %7) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i32* %10, { 1, 0, 2 } uselistorder i64 %7, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 %3, { 15, 3, 1, 2, 4, 5, 16, 6, 7, 8, 9, 10, 11, 0, 12, 13, 14, 17, 18 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i16* %.reg2mem6, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @tcp_dbg, { 1, 0 } uselistorder i64 (i64)* @short_be, { 3, 2, 1, 0 } uselistorder i64 (i64)* @long_be, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label %99, { 1, 0 } }
0
BinRealVul
milkymist_softusb_init_14501
milkymist_softusb_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 %arg1) %1 = add i64 %arg1, 48 %2 = call i64 @FUNC(i64 %1, i64 %arg1, i64* nonnull @gv_0, i64 %arg1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 4096) %3 = call i64 @FUNC(i64 %arg1, i64 %1) %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %arg1, 56 %8 = zext i32 %6 to i64 %9 = call i64 @FUNC(i64 %7, i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64* nonnull @gv_3) %10 = call i64 @FUNC(i64 %7) %11 = call i64 @FUNC(i64 %7) %12 = add i64 %arg1, 16 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 %14 = call i64 @FUNC(i64 %arg1, i64 %7) %15 = add i64 %arg1, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %arg1, 64 %19 = zext i32 %17 to i64 %20 = call i64 @FUNC(i64 %18, i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i64 %19, i64* nonnull @gv_3) %21 = call i64 @FUNC(i64 %18) %22 = call i64 @FUNC(i64 %18) %23 = add i64 %arg1, 24 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = call i64 @FUNC(i64 %arg1, i64 %18) %26 = load i64, i64* @gv_5, align 8 %27 = add i64 %arg1, 32 %28 = call i64 @FUNC(i64 %27, i64 1, i64 %26) %29 = load i64, i64* @gv_6, align 8 %30 = add i64 %arg1, 40 %31 = call i64 @FUNC(i64 %30, i64 2, i64 %29) ret i64 0 uselistorder i64 (i64, i64, i64)* @hid_init, { 1, 0 } uselistorder i64 (i64)* @memory_region_get_ram_ptr, { 1, 0 } uselistorder i64 (i64)* @vmstate_register_ram_global, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64*)* @memory_region_init_ram, { 1, 0 } uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 2, 1, 0 } uselistorder i64 %arg1, { 17, 16, 1, 15, 14, 13, 12, 0, 11, 10, 9, 8, 2, 6, 7, 5, 4, 3 } }
1
BinRealVul
lha_read_file_header_1_11277
lha_read_file_header_1
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i64 16, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) store i64 %4, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = inttoptr i64 %1 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i32 %9 = add nuw nsw i32 %8, 2 %10 = bitcast i64* %arg2 to i32* store i32 %9, i32* %10, align 4 %11 = add i64 %1, 1 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = add i64 %1, 2 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = add i64 %5, 4 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = add i64 %1, 6 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = add i64 %5, 8 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 %24 = add i64 %1, 10 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = add i64 %5, 12 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %1, 14 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i32 %33 = bitcast i64* %rsi to i32* %34 = load i32, i32* %33, align 8 %35 = add i32 %34, -16 %36 = sub i32 %35, %32 %37 = icmp ugt i8 %31, -26 %38 = icmp slt i32 %36, 0 %or.cond = or i1 %37, %38 br i1 %or.cond, label LBL_11, label LBL_3 LBL_3: %39 = sext i32 %34 to i64 %40 = call i64 @FUNC(i64 %0, i64 %39, i64 0) %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_4, label LBL_5 LBL_4: %43 = icmp eq i8 %31, 0 %.pre = add i64 %40, 15 store i32 0, i32* %storemerge5.reg2mem br i1 %43, label LBL_8, label LBL_6 LBL_5: %44 = call i64 @FUNC(i64 %0) store i64 %44, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %45 = sext i32 %storemerge5.reload to i64 %46 = add i64 %.pre, %45 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = icmp eq i8 %48, -1 br i1 %49, label LBL_11, label LBL_7 LBL_7: %50 = add nuw i32 %storemerge5.reload, 1 %51 = icmp ult i32 %50, %32 store i32 %50, i32* %storemerge5.reg2mem br i1 %51, label LBL_6, label LBL_8 LBL_8: %52 = zext i8 %31 to i64 %53 = add i64 %5, 16 %54 = call i64 @FUNC(i64 %53, i64 %.pre, i64 %52) %55 = add i64 %.pre, %52 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = add i64 %5, 24 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = add i64 %5, 28 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = or i32 %62, 1 store i32 %63, i32* %61, align 4 %64 = load i32, i32* %33, align 8 %65 = add i32 %64, -2 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 0, i64 %40, i64 2, i64 %66) %68 = sext i32 %65 to i64 %69 = call i64 @FUNC(i64 %0, i64 %68) %70 = load i32, i32* %18, align 4 %71 = add i32 %70, 2 %72 = sext i32 %71 to i64 %73 = bitcast i32* %sv_0 to i64* %74 = call i64 @FUNC(i64 %0, i64 %5, i64 0, i64 2, i64 %72, i64* nonnull %73) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 %77 = icmp slt i32 %75, 0 %78 = icmp eq i1 %77, false %79 = icmp eq i1 %76, false %80 = icmp eq i1 %78, %79 %phitmp = and i64 %74, 4294967295 store i64 %phitmp, i64* %rax.0.reg2mem br i1 %80, label LBL_9, label LBL_12 LBL_9: %81 = trunc i64 %67 to i8 %spec.select = select i1 %77, i64 %phitmp, i64 0 %82 = load i32, i32* %18, align 4 %83 = load i32, i32* %sv_0, align 4 %84 = add i32 %82, 2 %85 = sub i32 %84, %83 store i32 %85, i32* %18, align 4 %86 = icmp eq i8 %13, %81 store i64 %spec.select, i64* %rax.0.reg2mem br i1 %86, label LBL_12, label LBL_10 LBL_10: %87 = call i64 @FUNC(i64 %0, i64 1001, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %88 = call i64 @FUNC(i64 %0, i64 1002, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %phitmp, { 1, 0 } uselistorder i32 %75, { 1, 0 } uselistorder i64 %.pre, { 1, 2, 0 } uselistorder i64 %40, { 1, 0, 2 } uselistorder i32 %32, { 1, 0 } uselistorder i8 %31, { 1, 0, 2, 3 } uselistorder i32* %18, { 1, 0, 2, 3 } uselistorder i64 %0, { 6, 2, 3, 4, 1, 5, 0, 7 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 4, 3 } uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 (i64)* @archive_le32dec, { 1, 0 } uselistorder i32 2, { 0, 2, 1 } uselistorder i64 (i64)* @truncated_error, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 (i64, i64, i64)* @__archive_read_ahead, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_12, { 2, 3, 1, 0, 4, 5 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
usb_serial_init_2187
usb_serial_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa5.reg2mem = alloca i8 %sv_0.1.lcssa.reg2mem = alloca i64 %rsi.1.lcssa.reg2mem = alloca i64 %rdx.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_0.0.ph.in.reg2mem = alloca i8* %sv_1.0.ph.reg2mem = alloca i32 %sv_2.0.ph.reg2mem = alloca i32 %.lcssa62.reg2mem = alloca i8* %.lcssa60.reg2mem = alloca i8* %sv_2.130.reg2mem = alloca i32 %sv_1.131.reg2mem = alloca i32 %rcx.132.reg2mem = alloca i64 %sv_0.133.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i8*, align 8 %3 = inttoptr i64 %arg2 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp ne i8 %4, 0 %6 = icmp eq i8 %4, 58 %7 = icmp eq i1 %6, false %or.cond29 = icmp eq i1 %5, %7 store i32 0, i32* %sv_2.1.lcssa.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem store i64 %arg2, i64* %rsi.1.lcssa.reg2mem store i64 %arg2, i64* %sv_0.1.lcssa.reg2mem store i8 %4, i8* %.lcssa5.reg2mem br i1 %or.cond29, label LBL_1, label LBL_14 LBL_1: %8 = bitcast i8** %sv_5 to i64* %9 = ptrtoint i8** %sv_4 to i64 store i64 %arg2, i64* %sv_0.133.reg2mem store i32 0, i32* %sv_1.131.reg2mem store i32 0, i32* %sv_2.130.reg2mem br label LBL_2 LBL_2: %sv_0.133.reload = load i64, i64* %sv_0.133.reg2mem %10 = call i64 @FUNC(i64 %sv_0.133.reload, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = load i8*, i8** %sv_5, align 8 %14 = call i32 @strtol(i8* %13, i8** nonnull %sv_4, i32 16) %15 = load i8*, i8** %sv_4, align 8 %16 = load i8*, i8** %sv_5, align 8 %17 = icmp eq i8* %15, %16 store i8* %15, i8** %.lcssa60.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %sv_1.131.reload = load i32, i32* %sv_1.131.reg2mem %18 = load i8, i8* %15, align 1 store i8* %16, i8** %.lcssa60.reg2mem store i32 %14, i32* %sv_2.0.ph.reg2mem store i32 %14, i32* %sv_2.0.ph.reg2mem store i32 %14, i32* %sv_2.0.ph.reg2mem store i32 %sv_1.131.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_1.131.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_1.131.reload, i32* %sv_1.0.ph.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem switch i8 %18, label LBL_5 [ i8 0, label LBL_10 i8 44, label LBL_10 i8 58, label LBL_10 ] LBL_5: %.lcssa60.reload = load i8*, i8** %.lcssa60.reg2mem %19 = ptrtoint i8* %15 to i64 %20 = ptrtoint i8* %.lcssa60.reload to i64 %21 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %19, i64 %9, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_6: %22 = call i64 @FUNC(i64 %sv_0.133.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %8) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_11, label LBL_7 LBL_7: %25 = load i8*, i8** %sv_5, align 8 %26 = call i32 @strtol(i8* %25, i8** nonnull %sv_4, i32 16) %27 = load i8*, i8** %sv_4, align 8 %28 = load i8*, i8** %sv_5, align 8 %29 = icmp eq i8* %27, %28 store i8* %27, i8** %.lcssa62.reg2mem br i1 %29, label LBL_9, label LBL_8 LBL_8: %sv_2.130.reload = load i32, i32* %sv_2.130.reg2mem %30 = load i8, i8* %27, align 1 store i8* %28, i8** %.lcssa62.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i32 %26, i32* %sv_1.0.ph.reg2mem store i32 %26, i32* %sv_1.0.ph.reg2mem store i32 %26, i32* %sv_1.0.ph.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem switch i8 %30, label LBL_9 [ i8 0, label LBL_10 i8 44, label LBL_10 i8 58, label LBL_10 ] LBL_9: %.lcssa62.reload = load i8*, i8** %.lcssa62.reg2mem %31 = ptrtoint i8* %27 to i64 %32 = ptrtoint i8* %.lcssa62.reload to i64 %33 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0), i64 %32, i64 %31, i64 %9, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_10: %sv_0.0.ph.in.reload = load i8*, i8** %sv_0.0.ph.in.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_0.0.ph = ptrtoint i8* %sv_0.0.ph.in.reload to i64 store i64 %sv_0.0.ph, i64* %sv_0.0.reg2mem br label LBL_12 LBL_11: %rcx.132.reload = load i64, i64* %rcx.132.reg2mem %34 = ptrtoint i8** %sv_5 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %sv_0.133.reload, i64 %34, i64 %rcx.132.reload, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = inttoptr i64 %sv_0.0.reload to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 44 %39 = add i64 %sv_0.0.reload, 1 store i64 %39, i64* %sv_0.0.reg2mem br i1 %38, label LBL_12, label LBL_13 LBL_13: %40 = icmp ne i8 %37, 0 %41 = icmp eq i8 %37, 58 %42 = icmp eq i1 %41, false %or.cond = icmp eq i1 %40, %42 store i64 %sv_0.0.reload, i64* %sv_0.133.reg2mem store i64 %9, i64* %rcx.132.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.131.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.130.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.1.lcssa.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.1.lcssa.reg2mem store i64 %9, i64* %rcx.1.lcssa.reg2mem store i64 %sv_0.0.ph, i64* %rdx.1.lcssa.reg2mem store i64 %9, i64* %rsi.1.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem store i8 %37, i8* %.lcssa5.reg2mem br i1 %or.cond, label LBL_2, label LBL_14 LBL_14: %.lcssa5.reload = load i8, i8* %.lcssa5.reg2mem %43 = icmp eq i8 %.lcssa5.reload, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_16, label LBL_15 LBL_15: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %45 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_5, i64 0, i64 0), i64 %rsi.1.lcssa.reload, i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_16: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %46 = add i64 %sv_0.1.lcssa.reload, 1 %47 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %48 = add i32 %47, 1 store i32 %48, i32* bitcast (i64* @gv_6 to i32*), align 8 %49 = zext i32 %47 to i64 %50 = bitcast i64* %sv_3 to i8* %51 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %50, i32 32, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_7, i64 0, i64 0), i64 %49) %52 = call i64 @FUNC(i64* nonnull %sv_3, i64 %46, i64 0) %53 = icmp eq i64 %52, 0 %54 = icmp eq i1 %53, false store i64 0, i64* %rax.0.reg2mem br i1 %54, label LBL_17, label LBL_21 LBL_17: %55 = ptrtoint i64* %arg1 to i64 %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %56 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0)) %57 = call i64 @FUNC(i64 %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0), i64 %52) %58 = icmp eq i32 %sv_2.1.lcssa.reload, 0 br i1 %58, label LBL_19, label LBL_18 LBL_18: %59 = call i64 @FUNC(i64 %56, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0), i32 %sv_2.1.lcssa.reload) br label LBL_19 LBL_19: %60 = icmp eq i32 %sv_1.1.lcssa.reload, 0 store i64 %56, i64* %rax.0.reg2mem br i1 %60, label LBL_21, label LBL_20 LBL_20: %61 = call i64 @FUNC(i64 %56, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i32 %sv_1.1.lcssa.reload) store i64 %56, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %56, { 1, 3, 0, 2, 4 } uselistorder i32 %sv_2.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i8 %37, { 0, 2, 1, 3 } uselistorder i64 %sv_0.0.reload, { 0, 3, 1, 2 } uselistorder i8* %27, { 4, 0, 1, 2, 5, 3, 6 } uselistorder i8* %15, { 4, 0, 1, 2, 5, 3, 6 } uselistorder i64 %sv_0.133.reload, { 2, 0, 1 } uselistorder i8** %sv_5, { 2, 4, 3, 1, 0, 5 } uselistorder i8** %sv_4, { 2, 4, 1, 3, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.133.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.132.reg2mem, { 1, 0 } uselistorder i32* %sv_1.131.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.130.reg2mem, { 1, 0, 2 } uselistorder i8** %.lcssa60.reg2mem, { 0, 2, 1 } uselistorder i8** %.lcssa62.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 7, 6, 5, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i32)* @qdev_prop_set_uint16, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 0, 3, 2, 1 } uselistorder i8 44, { 2, 0, 1 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 } uselistorder i64 (i64, i8*, i64*)* @strstart, { 1, 0 } uselistorder i32 0, { 5, 6, 7, 8, 2, 3, 0, 1, 4, 9 } uselistorder i8 58, { 1, 2, 3, 0 } uselistorder i8 0, { 4, 5, 1, 2, 0, 6, 3 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_21, { 1, 0, 2, 6, 3, 4, 5 } uselistorder label LBL_10, { 2, 1, 0, 5, 4, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rfx_compose_message_frame_begin_17435
rfx_compose_message_frame_begin
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = call i64 @FUNC(i64 %2, i64 14) %4 = call i64 @FUNC(i64 %2, i64 1) %5 = call i64 @FUNC(i64 %2, i64 14) %6 = call i64 @FUNC(i64 %2, i64 1) %7 = call i64 @FUNC(i64 %2, i64 0) %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = call i64 @FUNC(i64 %2, i64 1) ret i64 %10 uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 (i64, i64)* @stream_write_uint8, { 1, 0 } uselistorder i64 (i64, i64)* @stream_write_uint32, { 1, 0 } uselistorder i64 (i64, i64)* @stream_write_uint16, { 1, 0 } }
1
BinRealVul
tpm_get_backend_driver_1807
tpm_get_backend_driver
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg1, i64 4294967295, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %1, 4294967296 %4 = ashr exact i64 %sext, 29 %5 = add i64 %4, ptrtoint (i64* @gv_1 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 store i64 %7, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
on_response_4841
on_response
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = add i64 %arg1, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %arg1 to i64* call void @free(i64* %6) %7 = icmp eq i32 %2, 0 %8 = icmp eq i1 %7, false %9 = trunc i64 %arg3 to i32 %10 = icmp eq i32 %9, 0 %or.cond = or i1 %8, %10 %11 = icmp eq i1 %7, %or.cond %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = trunc i64 %1 to i32 %14 = or i32 %13, 1 %15 = inttoptr i64 %arg1 to i32* store i32 %14, i32* %15, align 4 br label LBL_2 LBL_2: ret i64 %5 uselistorder i32 1, { 1, 0 } }
0
BinRealVul
ecp_mul_mxz_18873
ecp_mul_mxz
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %sv_2 = alloca i8, align 1 %1 = bitcast i8* %sv_2 to i64* %2 = call i64 @FUNC(i64* nonnull %1) %3 = call i64 @FUNC(i64* nonnull %1) %4 = call i64 @FUNC(i64* nonnull %1, i64 %0) %5 = call i64 @FUNC(i64* nonnull %1, i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %8, label LBL_13, label LBL_1 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = call i64 @FUNC(i64 %9, i64 1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %sv_0.0.reg2mem br i1 %13, label LBL_13, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %9, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %14, i64* %sv_0.0.reg2mem br i1 %17, label LBL_13, label LBL_3 LBL_3: %18 = ptrtoint i64* %arg1 to i64 %19 = call i64 @FUNC(i64 %9) %20 = icmp eq i64 %arg5, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %18, i64* nonnull %1, i64 %arg5, i64 %arg6) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %21, i64* %sv_0.0.reg2mem br i1 %24, label LBL_13, label LBL_5 LBL_5: %25 = ptrtoint i64* %arg3 to i64 %26 = call i64 @FUNC(i64 %25) %sext = mul i64 %26, 4294967296 %27 = ashr exact i64 %sext, 32 store i64 %27, i64* %sv_1.0.reg2mem br label LBL_11 LBL_6: %28 = add i64 %sv_1.0.reload, -1 %29 = call i64 @FUNC(i64 %25, i64 %28) %30 = trunc i64 %29 to i8 store i8 %30, i8* %sv_2, align 1 %31 = urem i64 %29, 256 %32 = call i64 @FUNC(i64 %9, i64* nonnull %1, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 %32, i64* %sv_0.0.reg2mem br i1 %35, label LBL_13, label LBL_7 LBL_7: %36 = load i8, i8* %sv_2, align 1 %37 = zext i8 %36 to i64 %38 = call i64 @FUNC(i64 %9, i64* nonnull %1, i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i64 %38, i64* %sv_0.0.reg2mem br i1 %41, label LBL_13, label LBL_8 LBL_8: %42 = call i64 @FUNC(i64 %18, i64 %9, i64* nonnull %1, i64 %9, i64* nonnull %1, i64* nonnull %1) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 %42, i64* %sv_0.0.reg2mem br i1 %45, label LBL_13, label LBL_9 LBL_9: %46 = load i8, i8* %sv_2, align 1 %47 = zext i8 %46 to i64 %48 = call i64 @FUNC(i64 %9, i64* nonnull %1, i64 %47) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false store i64 %48, i64* %sv_0.0.reg2mem br i1 %51, label LBL_13, label LBL_10 LBL_10: %52 = load i8, i8* %sv_2, align 1 %53 = zext i8 %52 to i64 %54 = call i64 @FUNC(i64 %9, i64* nonnull %1, i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 %28, i64* %sv_1.0.reg2mem store i64 %54, i64* %sv_0.0.reg2mem br i1 %57, label LBL_13, label LBL_11 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %58 = icmp eq i64 %sv_1.0.reload, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_6, label LBL_12 LBL_12: %60 = call i64 @FUNC(i64 %18, i64 %9) store i64 %60, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %61 = call i64 @FUNC(i64* nonnull %1) %62 = ptrtoint i8* %sv_2 to i64 %63 = call i64 @FUNC(i64 %62) %64 = and i64 %sv_0.0.reload, 4294967295 ret i64 %64 uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64 %18, { 1, 2, 0 } uselistorder i64* %1, { 8, 1, 2, 5, 4, 3, 6, 7, 0, 9, 10, 11, 12 } uselistorder i8* %sv_2, { 4, 3, 2, 1, 0, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6, 8, 9, 10 } uselistorder i64 (i64, i64*, i64)* @mpi_safe_cond_swap, { 3, 2, 1, 0 } uselistorder i64 (i64)* @mpi_free, { 1, 0 } uselistorder i64 (i64, i64)* @mpi_lset, { 1, 0 } uselistorder i1 false, { 5, 0, 1, 2, 3, 4, 6, 7, 8, 9 } uselistorder i64 %arg5, { 1, 0 } uselistorder label LBL_13, { 5, 0, 1, 2, 3, 4, 6, 7, 8, 9 } }
1
BinRealVul
stm32_dma_start_transfer_4559
stm32_dma_start_transfer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem10 = alloca i32 %.reg2mem8 = alloca i32 %.pre-phi4.reg2mem = alloca i32* %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 %0, i64* %rdi, align 8 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false br i1 %8, label LBL_2.LBL_6_crit_edge, label LBL_4 LBL_3: %9 = trunc i64 %0 to i32 %.pre2 = add i64 %0, 8 %.pre3 = inttoptr i64 %.pre2 to i32* %.pre7 = load i32, i32* %.pre3, align 4 store i32 %.pre7, i32* %.reg2mem store i32* %.pre3, i32** %.pre-phi4.reg2mem store i32 %9, i32* %.reg2mem8 br label LBL_6 LBL_4: %10 = add i64 %0, 20 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_11 LBL_5: store i64 %11, i64* %rdi, align 8 %14 = call i64 @FUNC(i64 %11) store i64 %14, i64* %arg1, align 8 %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32 0, i32* %.reg2mem store i32* %16, i32** %.pre-phi4.reg2mem store i32 %.pre, i32* %.reg2mem8 br label LBL_6 LBL_6: %.reload9 = load i32, i32* %.reg2mem8 %.pre-phi4.reload = load i32*, i32** %.pre-phi4.reg2mem %.reload = load i32, i32* %.reg2mem %17 = icmp eq i32 %.reload, %.reload9 %18 = icmp eq i1 %17, false store i32 %.reload, i32* %.reg2mem10 br i1 %18, label LBL_8, label LBL_7 LBL_7: store i32 0, i32* %.pre-phi4.reload, align 4 store i32 0, i32* %.reg2mem10 br label LBL_8 LBL_8: %.reload11 = load i32, i32* %.reg2mem10 %19 = load i64, i64* %rdi, align 8 %20 = add i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = sext i32 %.reload11 to i64 %24 = mul nsw i64 %23, 24 %25 = add i64 %24, %22 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %1, i64 %31, i32 %27) %33 = add i64 %25, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = load i32, i32* %29, align 4 %37 = add i32 %36, 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %1, i64 %38, i32 %35) %40 = add i64 %25, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = load i32, i32* %29, align 4 %44 = add i32 %43, 8 %45 = zext i32 %44 to i64 %46 = call i64 @FUNC(i64 %1, i64 %45, i32 %42) %47 = add i64 %25, 12 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = load i32, i32* %29, align 4 %51 = add i32 %50, 12 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %1, i64 %52, i32 %49) %54 = add i64 %25, 16 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = load i32, i32* %29, align 4 %58 = add i32 %57, 16 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %1, i64 %59, i32 %56) %61 = add i64 %25, 20 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = load i32, i32* %29, align 4 %65 = add i32 %64, 20 %66 = zext i32 %65 to i64 %67 = call i64 @FUNC(i64 %1, i64 %66, i32 %63) %68 = load i32, i32* %.pre-phi4.reload, align 4 %69 = add i32 %68, 1 store i32 %69, i32* %.pre-phi4.reload, align 4 %70 = call i64 @FUNC(i64 %0) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_10, label LBL_9 LBL_9: %73 = and i64 %70, 4294967295 %74 = call i64 @FUNC(i64 %0, i64 %73) br label LBL_10 LBL_10: %75 = call i64 @FUNC(i64 %0) %76 = load i32, i32* %26, align 4 %77 = or i32 %76, 1 store i32 %77, i32* %26, align 4 %78 = load i32, i32* %29, align 4 %79 = zext i32 %78 to i64 %80 = call i64 @FUNC(i64 %1, i64 %79, i32 %77) %81 = add i64 %0, 12 %82 = inttoptr i64 %81 to i8* store i8 1, i8* %82, align 1 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* %26, { 1, 0, 2 } uselistorder i64 %25, { 1, 2, 3, 4, 5, 0 } uselistorder i32* %.pre-phi4.reload, { 1, 0, 2 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %0, { 5, 6, 4, 7, 8, 2, 3, 0, 1, 10, 9, 11 } uselistorder i64* %rdi, { 3, 0, 2, 1 } uselistorder i32* %.reg2mem10, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i32)* @stm32_dma_write, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i32 0, { 2, 0, 3, 1, 4, 5 } uselistorder i64* %arg1, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
bnx2x_set_dump_17807
bnx2x_set_dump
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = inttoptr i64 %3 to i32* store i32 %4, i32* %5, align 4 ret i64 0 }
1
BinRealVul
scsi_req_parse_cdb_15619
scsi_req_parse_cdb
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = bitcast i64* %arg2 to i32* store i32 -1, i32* %2, align 4 %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = icmp eq i32 %8, 1 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = icmp eq i32 %8, 2 %11 = ptrtoint i32* %arg1 to i64 br i1 %10, label LBL_3, label LBL_4 LBL_2: %12 = ptrtoint i32* %arg1 to i64 %13 = call i64 @FUNC(i64 %1, i64 %12, i64 %0) store i64 %13, i64* %sv_0.0.in.reg2mem br label LBL_5 LBL_3: %14 = call i64 @FUNC(i64 %1, i64 %11, i64 %0) store i64 %14, i64* %sv_0.0.in.reg2mem br label LBL_5 LBL_4: %15 = call i64 @FUNC(i64 %1, i64 %11, i64 %0) store i64 %15, 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_0.0 = trunc i64 %sv_0.0.in.reload to i32 %16 = icmp eq i32 %sv_0.0, 0 br i1 %16, label LBL_7, label LBL_6 LBL_6: %17 = and i64 %sv_0.0.in.reload, 4294967295 store i64 %17, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %18 = load i32, i32* %6, align 4 %19 = add i64 %1, 8 %20 = inttoptr i64 %19 to i64* %21 = call i64* @memcpy(i64* %20, i64* %arg3, i32 %18) %22 = call i64 @FUNC(i64 %1) %23 = call i64 @FUNC(i64 %1) %24 = trunc i64 %23 to i32 store i32 %24, i32* %2, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.in.reload, { 1, 0 } uselistorder i64 %1, { 3, 2, 4, 1, 0, 5, 6 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %arg1, { 1, 0 } }
1
BinRealVul
kvmppc_is_mem_backend_page_size_ok_16130
kvmppc_is_mem_backend_page_size_ok
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 0) %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %1) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC() %sext = mul i64 %4, 4294967296 %5 = ashr exact i64 %sext, 32 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %6 = load i64, i64* @gv_1, align 8 %7 = sub i64 %storemerge.reload, %6 %8 = xor i64 %6, %storemerge.reload %9 = xor i64 %7, %storemerge.reload %10 = and i64 %9, %8 %11 = icmp slt i64 %10, 0 %12 = icmp slt i64 %7, 0 %13 = icmp eq i1 %12, %11 %14 = zext i1 %13 to i64 %15 = and i64 %6, -256 %16 = or i64 %15, %14 ret i64 %16 uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
nested_release_vmcs12_8476
nested_release_vmcs12
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, inttoptr (i64 -1 to i64*) br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = load i8, i8* inttoptr (i64 4210716 to i8*), align 4 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = call i64 @FUNC(i64 %0) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = call i64 @FUNC(i64 %0) br label LBL_3 LBL_3: %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* store i32 -1, i32* %9, align 4 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = udiv i64 %0, 4096 %14 = add i64 %0, 32 %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %12, i64 0, i64 4096) store i64 -1, i64* %arg1, align 8 br label LBL_4 LBL_4: ret i64 %0 uselistorder i64 %0, { 1, 6, 0, 5, 7, 2, 4, 3 } uselistorder i64 4096, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
bfi_read_packet_1280
bfi_read_packet
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge34.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %3 to i32 %9 = icmp eq i32 %8, 0 store i64 4294967291, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_13, label LBL_1 LBL_1: %10 = inttoptr i64 %7 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 4294967291, i64* %rax.0.shrunk.reg2mem br i1 %12, label LBL_2, label LBL_13 LBL_2: %13 = add i64 %arg1, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 0, i32* %storemerge34.reg2mem br i1 %17, label LBL_9, label LBL_3 LBL_3: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %18 = mul i32 %storemerge34.reload, 256 %19 = call i64 @FUNC(i64 %7) %20 = trunc i64 %19 to i32 %21 = add i32 %18, %20 %22 = icmp eq i32 %21, 1396790857 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3.dec_label_pc_401225_crit_edge, label LBL_5 LBL_4: %.pre = load i32, i32* %10, align 4 %24 = icmp eq i32 %.pre, 0 store i32 %21, i32* %storemerge34.reg2mem store i64 4294967291, i64* %rax.0.shrunk.reg2mem br i1 %24, label LBL_3, label LBL_13 LBL_5: %25 = call i64 @FUNC(i64 %7) %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64 %7) %28 = call i64 @FUNC(i64 %7) %29 = trunc i64 %28 to i32 %30 = call i64 @FUNC(i64 %7) %31 = call i64 @FUNC(i64 %7) %32 = trunc i64 %31 to i32 %33 = sub i32 %32, %29 %34 = sub i32 %26, %32 %35 = inttoptr i64 %5 to i32* store i32 %34, i32* %35, align 4 %36 = icmp sgt i32 %33, -1 %37 = icmp slt i32 %34, 0 %38 = icmp eq i1 %37, false %or.cond = icmp eq i1 %36, %38 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %39 = call i64 @FUNC(i64 %arg1, i64 16, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_13 LBL_7: %40 = call i64 @FUNC(i64 %7, i64 %arg2, i32 %33) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false store i64 %40, i64* %rax.0.shrunk.reg2mem br i1 %43, label LBL_8, label LBL_13 LBL_8: %44 = add i64 %arg1, 12 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = inttoptr i64 %arg2 to i32* store i32 %46, i32* %47, align 4 %48 = load i32, i32* %45, align 4 %49 = add i32 %48, %41 store i32 %49, i32* %45, align 4 store i64 %40, i64* %sv_0.0.reg2mem br label LBL_12 LBL_9: %50 = inttoptr i64 %5 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp slt i32 %51, 1 store i64 4294967285, i64* %sv_0.0.reg2mem br i1 %52, label LBL_12, label LBL_10 LBL_10: %53 = call i64 @FUNC(i64 %7, i64 %arg2, i32 %51) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false store i64 %53, i64* %rax.0.shrunk.reg2mem br i1 %56, label LBL_11, label LBL_13 LBL_11: %57 = bitcast i64* %rdi to i32* %58 = add i64 %arg1, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = inttoptr i64 %arg2 to i32* store i32 %60, i32* %61, align 4 %62 = load i32, i32* %59, align 4 %63 = load i32, i32* %50, align 4 %64 = ashr i32 %54, 31 %65 = and i64 %53, 4294967295 %66 = zext i32 %64 to i64 %67 = mul i64 %66, 4294967296 %68 = or i64 %67, %65 %69 = zext i32 %63 to i64 %70 = sdiv i64 %68, %69 %71 = trunc i64 %70 to i32 %72 = add i32 %62, %71 store i32 %72, i32* %59, align 4 %73 = load i32, i32* %57, align 8 %74 = add i32 %73, -1 %75 = inttoptr i64 %arg1 to i32* store i32 %74, i32* %75, align 4 store i64 %53, i64* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %76 = load i32, i32* %14, align 4 %77 = icmp eq i32 %76, 0 %78 = zext i1 %77 to i32 store i32 %78, i32* %14, align 4 %79 = add i64 %arg2, 4 %80 = inttoptr i64 %79 to i32* store i32 %78, i32* %80, align 4 store i64 %sv_0.0.reload, i64* %rax.0.shrunk.reg2mem br label LBL_13 LBL_13: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %59, { 1, 0, 2 } uselistorder i64 %53, { 1, 2, 0, 3 } uselistorder i32* %45, { 1, 0, 2 } uselistorder i64 %40, { 1, 0, 2 } uselistorder i32 %33, { 1, 0 } uselistorder i32 %32, { 1, 0 } uselistorder i32* %14, { 1, 0, 2 } uselistorder i64 %7, { 7, 1, 2, 3, 4, 5, 6, 0, 8 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i32* %storemerge34.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 2, 3, 6, 1, 5, 4 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @av_get_packet, { 1, 0 } uselistorder i64 0, { 2, 3, 0, 1, 4 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 4294967291, { 0, 2, 1 } uselistorder i64 %arg2, { 4, 2, 3, 0, 1 } uselistorder i64 %arg1, { 2, 3, 0, 1, 4, 5 } uselistorder label LBL_13, { 5, 1, 2, 6, 0, 4, 3 } uselistorder label LBL_12, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
pxa2xx_pcmcia_init_16523
pxa2xx_pcmcia_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 40) %1 = inttoptr i64 %0 to i64* store i64 %arg1, i64* %1, align 8 %2 = call i64 @FUNC(i64 0, i64 4198891, i64 4198902, i64 %0) %3 = trunc i64 %2 to i32 %4 = load i64, i64* %1, align 8 %5 = call i64 @FUNC(i64 %4, i64 67108863, i32 %3) %6 = or i64 %arg1, 134217728 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = call i64 @FUNC(i64 0, i64 4198913, i64 4198924, i64 %0) %10 = trunc i64 %9 to i32 %11 = load i64, i64* %8, align 8 %12 = call i64 @FUNC(i64 %11, i64 67108863, i32 %10) %13 = or i64 %arg1, 201326592 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 0, i64 4198935, i64 4198946, i64 %0) %17 = trunc i64 %16 to i32 %18 = load i64, i64* %15, align 8 %19 = call i64 @FUNC(i64 %18, i64 67108863, i32 %17) %20 = icmp eq i64 %arg1, 805306368 %21 = icmp eq i1 %20, false %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i64* %. = select i1 %21, i64 ptrtoint ([21 x i8]* @gv_0 to i64), i64 ptrtoint ([21 x i8]* @gv_1 to i64) store i64 %., i64* %23, align 8 %24 = call i64 @FUNC(i64 4198884, i64 %0, i64 1) %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %0, 32 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = call i64 @FUNC(i64 %22) ret i64 %0 uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9 } uselistorder i64 (i64, i64, i32)* @cpu_register_physical_memory, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @cpu_register_io_memory, { 2, 1, 0 } }
1
BinRealVul
__x86_set_memory_region_8085
__x86_set_memory_region
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp slt i32 %1, 128 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 32 %sext5 = mul i64 %arg4, 4294967296 %7 = ashr exact i64 %sext5, 32 %8 = and i64 %6, 4294967295 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = inttoptr i64 %9 to i32* %11 = trunc i64 %7 to i32 %12 = icmp eq i32 %11, 0 %13 = load i32, i32* %10, align 4 %14 = icmp eq i32 %13, 0 br i1 %12, label LBL_6, label LBL_3 LBL_3: br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0)) store i64 4294967279, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %17 = and i64 %7, 4294967295 %18 = call i64 @FUNC(i64 0, i64 0, i64 %17, i64 3, i64 33, i64 0) %19 = icmp ult i64 %18, -1000 store i64 %18, i64* %rax.0.reg2mem br i1 %19, label LBL_7, label LBL_12 LBL_6: %20 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_7, label LBL_12 LBL_7: %21 = add i64 %9, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %9 to i64* %25 = load i64, i64* %24, align 8 %26 = trunc i64 %6 to i32 store i32 %26, i32* %sv_0, align 4 %27 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = and i64 %27, 4294967295 store i64 %31, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %32 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_12, label LBL_10 LBL_10: %33 = trunc i64 %25 to i32 %34 = mul i32 %33, 4096 %35 = sext i32 %34 to i64 %36 = call i64 @FUNC(i64 %23, i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_12, label LBL_11 LBL_11: %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) 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 i1 %14, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 8, 4, 5, 7, 6 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder label LBL_12, { 2, 1, 0, 5, 3, 4, 6, 7 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
ipx_shutdown_8683
ipx_shutdown
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp ult i32 %2, 3 store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = add i32 %2, 1 %7 = call i64 @FUNC(i64 %4) %8 = or i32 %6, %5 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 %10 = call i64 @FUNC(i64 %4) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qvirtio_pci_get_features_447
qvirtio_pci_get_features
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %arg1, i64 %3, i64 0) ret i64 %4 uselistorder i64 %arg1, { 1, 0 } }
0
BinRealVul
ssiProcessExecCommand_13643
ssiProcessExecCommand
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false %arg3.off = add i64 %arg3, -4 %2 = icmp ult i64 %arg3.off, 1020 %or.cond8 = icmp eq i1 %1, %2 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond8, label LBL_1, label LBL_10 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %arg2, 4 %5 = add i64 %3, 8 %6 = call i64 @FUNC(i64 %5, i64 %4, i64 %arg3.off) %7 = add i64 %3, 4 %8 = add i64 %7, %arg3 %9 = inttoptr i64 %8 to i8* store i8 0, i8* %9, align 1 %10 = call i64 @FUNC(i64 %5, i64 61) %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_10 LBL_2: %13 = inttoptr i64 %10 to i8* store i8 0, i8* %13, align 1 %14 = call i64 @FUNC(i64 %5) %15 = add i64 %10, 1 %16 = call i64 @FUNC(i64 %15) %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp ne i8 %18, 39 %20 = icmp eq i8 %18, 34 %21 = icmp eq i1 %20, false %or.cond = icmp eq i1 %19, %21 %22 = add i64 %16, 1 %23 = inttoptr i64 %22 to i8* %sv_0.0 = select i1 %or.cond, i8* %17, i8* %23 %24 = ptrtoint i8* %sv_0.0 to i64 %25 = call i64 @FUNC(i64 %24) %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_5, label LBL_3 LBL_3: %27 = add i64 %25, -1 %28 = add i64 %27, %24 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp ne i8 %30, 39 %32 = icmp eq i8 %30, 34 %33 = icmp eq i1 %32, false %or.cond6 = icmp eq i1 %31, %33 br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: store i8 0, i8* %29, align 1 br label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_8, label LBL_6 LBL_6: %37 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0)) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %42, label LBL_8, label LBL_10 LBL_8: %43 = call i64 @FUNC(i64 %24) %44 = icmp ult i64 %43, 257 store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_9, label LBL_10 LBL_9: %45 = add i64 %3, 1032 %46 = call i64 @FUNC(i64 %45, i64 %24) store i64 %3, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %24, { 1, 2, 0, 3 } uselistorder i64 %3, { 0, 1, 3, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 2, 1, 0 } uselistorder i64 -1, { 1, 0, 2 } uselistorder i64 (i64)* @osStrlen, { 2, 1, 0 } uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_10, { 4, 0, 1, 2, 3 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
vcpu_destroy_6371
vcpu_destroy
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) store i64 0, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) store i64 0, i64* %4, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 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_2, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %0) store i64 %18, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @xfree, { 1, 0 } }
0
BinRealVul
vp9_get_frame_buffer_5143
vp9_get_frame_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %.pre-phi11.reg2mem = alloca i64* %.lcssa1.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_10 LBL_1: %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 = icmp eq i64 %5, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_10, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg3 to i64 %8 = add i64 %2, 16 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %9 = mul nsw i64 %.reload, 24 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i64 %.reload, i64* %.lcssa1.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %14 = add i32 %storemerge2.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp ugt i64 %5, %15 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge2.reg2mem store i64 %15, i64* %.lcssa1.reg2mem br i1 %16, label LBL_3, label LBL_5 LBL_5: %.lcssa1.reload = load i64, i64* %.lcssa1.reg2mem %17 = icmp eq i64 %5, %.lcssa1.reload %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_6, label LBL_10 LBL_6: %19 = mul nsw i64 %.lcssa1.reload, 24 %20 = add i64 %19, %2 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp ult i64 %23, %arg2 store i64* %22, i64** %.pre-phi11.reg2mem store i64 %20, i64* %.pre-phi.reg2mem br i1 %24, label LBL_7, label LBL_9 LBL_7: %25 = inttoptr i64 %20 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %arg2) store i64 %27, i64* %25, align 8 %28 = add i64 %26, %19 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_10 LBL_8: %33 = call i64 @FUNC(i64 %30, i64 0, i64 %arg2) %34 = add i64 %30, %19 %35 = add i64 %34, 8 %36 = inttoptr i64 %35 to i64* store i64 %arg2, i64* %36, align 8 store i64* %36, i64** %.pre-phi11.reg2mem store i64 %34, i64* %.pre-phi.reg2mem br label LBL_9 LBL_9: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi11.reload = load i64*, i64** %.pre-phi11.reg2mem %37 = inttoptr i64 %.pre-phi.reload to i64* %38 = load i64, i64* %37, align 8 store i64 %38, i64* %arg3, align 8 %39 = load i64, i64* %.pre-phi11.reload, align 8 %40 = add i64 %7, 8 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = add i64 %.pre-phi.reload, 16 %43 = inttoptr i64 %42 to i32* store i32 1, i32* %43, align 4 %44 = add i64 %7, 16 %45 = inttoptr i64 %44 to i64* store i64 %.pre-phi.reload, i64* %45, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0, 2 } uselistorder i64 %.lcssa1.reload, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 4294967295, { 1, 2, 0, 3 } uselistorder i64 %arg2, { 1, 2, 3, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_10, { 4, 1, 2, 0, 3 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
aac_encode_end_16369
aac_encode_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %0, 16 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %0, 32 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %0, 40 %13 = call i64 @FUNC(i64 %12) ret i64 0 uselistorder i64 (i64)* @av_freep, { 1, 0 } uselistorder i64 (i64)* @ff_mdct_end, { 1, 0 } }
1
BinRealVul
stl_remove_degenerate_7812
stl_remove_degenerate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %arg2, 4294967295 %8 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0)) %9 = call i64 @FUNC(i64 %0, i64 %7) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ext4_isize_7019
ext4_isize
define i64 @FUNC(i16* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 65536 %3 = call i64 @FUNC(i64 %2) %4 = urem i64 %3, 65536 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = ptrtoint i16* %arg1 to i64 br i1 %7, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = mul i64 %13, 4294967296 %15 = add i64 %8, 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 %18) %20 = and i64 %19, 4294967295 %21 = or i64 %20, %14 store i64 %21, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %22 = add i64 %8, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = and i64 %26, 4294967295 store i64 %27, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 } }
0
BinRealVul
dictAdd_13177
dictAdd
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, -1 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64* @malloc(i32 24) %7 = ptrtoint i64* %6 to i64 %sext = mul i64 %2, 4294967296 %8 = ashr exact i64 %sext, 29 %9 = add nsw i64 %8, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %6, align 8 store i64 %7, i64* %10, align 8 %12 = call i64 @FUNC(i64 %1, i64 %7, i64 %0) %13 = ptrtoint i32* %arg3 to i64 %14 = call i64 @FUNC(i64 %1, i64 %7, i64 %13) %15 = add i64 %1, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %17, 1 store i64 %18, i64* %16, 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 %1, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
i6300esb_pc_init_15166
i6300esb_pc_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_1 to i64*), i32 1, i32 41, %_IO_FILE* %2) %4 = sext i32 %3 to i64 store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* @gv_2, align 8 %7 = load i64, i64* @gv_3, align 8 %8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 312, i64 4294967295, i64 %7, i64 %6, i64 %5) %9 = add i64 %8, 256 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 %11 = add i64 %8, 260 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = add i64 %8, 264 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = add i64 %8, 268 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %8, 272 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %8, 276 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = load i64, i64* @gv_5, align 8 %22 = call i64 @FUNC(i64 %21, i64 4198932, i64 %8) %23 = add i64 %8, 280 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = add i64 %8, 288 %26 = inttoptr i64 %25 to i32* store i32 1048575, i32* %26, align 4 %27 = add i64 %8, 292 %28 = inttoptr i64 %27 to i32* store i32 1048575, i32* %28, align 4 %29 = add i64 %8, 296 %30 = inttoptr i64 %29 to i32* store i32 1, i32* %30, align 4 %31 = add i64 %8, 300 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %8, 304 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 %35 = call i64 @FUNC(i64 %8, i64 32902) %36 = call i64 @FUNC(i64 %8, i64 4660) %37 = call i64 @FUNC(i64 %8, i64 0) %38 = add i64 %8, 14 %39 = inttoptr i64 %38 to i8* store i8 0, i8* %39, align 1 %40 = load i64, i64* @gv_6, align 8 %41 = call i64 @FUNC(i64 %8, i64 0, i64 16, i64 1, i64 %40) %42 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 4294967295, i64 312, i64 4198943, i64 4198954, i64 %8) store i64 %42, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 256, { 3, 0, 1, 2 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
rv30_decode_intra_types_17143
rv30_decode_intra_types
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.01433.reg2mem = alloca i32 %sv_1.21334.reg2mem = alloca i64 %.reg2mem43 = alloca i32 %sv_1.08.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rcx.111.lcssa.reg2mem = alloca i64 %storemerge1230.reg2mem = alloca i32 %sv_1.11031.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = mul i32 %5, 2 %7 = icmp slt i32 %6, 162 br i1 %7, label LBL_1, label LBL_4 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i32* %11 = ptrtoint i64* %arg3 to i64 store i32 %6, i32* %.reg2mem43 store i64 %11, i64* %sv_1.21334.reg2mem store i32 0, i32* %sv_0.01433.reg2mem br label LBL_3.lr.ph LBL_2: %12 = call i64 @FUNC(i64 %3) %13 = trunc i64 %12 to i32 %14 = mul i32 %13, 2 %15 = icmp slt i32 %14, 162 store i32 %14, i32* %.reg2mem store i64 %48, i64* %sv_1.11031.reg2mem store i32 %51, i32* %storemerge1230.reg2mem store i64 %50, i64* %rcx.111.lcssa.reg2mem br i1 %15, label LBL_3, label LBL_4 LBL_3: %storemerge1230.reload = load i32, i32* %storemerge1230.reg2mem %sv_1.11031.reload = load i64, i64* %sv_1.11031.reg2mem %.reload = load i32, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %sv_1.11031.reload, i64* %sv_1.08.reg2mem br label LBL_5 LBL_4: %rcx.111.lcssa.reload = load i64, i64* %rcx.111.lcssa.reg2mem %16 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.111.lcssa.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = load i32, i32* %10, align 4 %18 = sub i32 0, %17 %19 = sext i32 %18 to i64 %20 = add i64 %sv_1.08.reload, %19 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = sext i8 %22 to i64 %24 = add i64 %sv_1.08.reload, -1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = sext i8 %26 to i64 %28 = mul nsw i64 %23, 90 %29 = mul nsw i64 %27, 9 %30 = trunc i64 %indvars.iv.reload to i32 %31 = or i32 %.reload, %30 %32 = sext i32 %31 to i64 %33 = add i64 %32, ptrtoint (i8** @gv_1 to i64) %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = sext i8 %35 to i64 %37 = add nsw i64 %28, 99 %38 = add nsw i64 %37, %29 %39 = add nsw i64 %38, %36 %40 = add i64 %39, ptrtoint (i8** @gv_2 to i64) %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = inttoptr i64 %sv_1.08.reload to i8* store i8 %42, i8* %43, align 1 %44 = icmp eq i8 %42, 9 %45 = icmp eq i1 %44, false br i1 %45, label LBL_7, label LBL_6 LBL_6: %46 = and i64 %39, 4294967295 %47 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %46, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %48 = add i64 %sv_1.08.reload, 1 %49 = icmp eq i64 %indvars.iv.reload, 1 store i64 1, i64* %indvars.iv.reg2mem store i64 %48, i64* %sv_1.08.reg2mem br i1 %49, label LBL_8, label LBL_5 LBL_8: %50 = and i64 %39, 4294967295 %51 = add nuw nsw i32 %storemerge1230.reload, 2 %52 = icmp ult i32 %51, 4 br i1 %52, label LBL_2, label LBL_9 LBL_9: %53 = add nuw nsw i32 %sv_0.01433.reload, 1 %54 = icmp ult i32 %53, 4 store i64 0, i64* %rax.0.reg2mem br i1 %54, label LBL_10, label LBL_12 LBL_10: %55 = add i64 %sv_1.08.reload, -3 %56 = load i32, i32* %10, align 4 %57 = sext i32 %56 to i64 %58 = add i64 %55, %57 %59 = call i64 @FUNC(i64 %3) %60 = trunc i64 %59 to i32 %61 = mul i32 %60, 2 %62 = icmp slt i32 %61, 162 store i64 %50, i64* %rcx.111.lcssa.reg2mem store i32 %61, i32* %.reg2mem43 store i64 %58, i64* %sv_1.21334.reg2mem store i32 %53, i32* %sv_0.01433.reg2mem br i1 %62, label LBL_3.lr.ph, label LBL_4 LBL_11: %sv_0.01433.reload = load i32, i32* %sv_0.01433.reg2mem %sv_1.21334.reload = load i64, i64* %sv_1.21334.reg2mem %.reload44 = load i32, i32* %.reg2mem43 store i32 %.reload44, i32* %.reg2mem store i64 %sv_1.21334.reload, i64* %sv_1.11031.reg2mem store i32 0, i32* %storemerge1230.reg2mem br label LBL_3 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %51, { 1, 0 } uselistorder i64 %50, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %sv_1.08.reload, { 4, 1, 0, 2, 3 } uselistorder i64 %3, { 1, 3, 2, 4, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.11031.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge1230.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.111.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 162, { 1, 2, 0 } uselistorder i32 2, { 0, 3, 1, 2 } uselistorder i64 (i64)* @svq3_get_ue_golomb, { 1, 2, 0 } uselistorder label LBL_3.lr.ph, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
1
BinRealVul
drive_get_onerror_3174
drive_get_onerror
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_5, label LBL_1 LBL_1: %2 = load i64, i64* @gv_1, align 8 %3 = zext i32 %0 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %4 = mul i64 %.reload, 16 %5 = add i64 %4, %2 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, %arg1 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i64 %5, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 store i64 %13, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %14 = add i32 %storemerge12.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %15, %3 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
raw_init_8964
raw_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* store i32 0, i32* %2, align 4 %3 = add i64 %1, 4 %4 = inttoptr i64 %3 to i32* store i32 0, i32* %4, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %1, 12 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* store i64 %5, i64* %10, align 8 %11 = add i64 %1, 24 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = add i64 %1, 28 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = add i64 %1, 32 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %1, 40 %18 = inttoptr i64 %17 to i64* store i64 4198676, i64* %18, align 8 %19 = call i64 @FUNC(i64 %17) ret i64 0 }
0
BinRealVul
bdrv_all_find_snapshot_15040
bdrv_all_find_snapshot
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %sv_1.03.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = ptrtoint i8* %arg1 to i64 store i64 0, i64* %sv_1.03.reg2mem store i32 0, i32* %sv_0.12.reg2mem br label LBL_4 LBL_1: %1 = load i64, i64* %sv_3, align 8 %2 = call i64 @FUNC(i64 %1) store i64 %2, i64* %sv_2, align 8 %3 = call i64 @FUNC(i64 %2) %4 = load i64, i64* %sv_3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i64, i64* %sv_3, align 8 %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_2, i64 %0) %10 = trunc i64 %9 to i32 store i32 %10, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %11 = load i64, i64* %sv_2, align 8 %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i32 %sv_0.0.reload, 0 %14 = icmp eq i1 %13, false store i64 %15, i64* %sv_1.03.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %14, label LBL_5, label LBL_4 LBL_4: %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %15 = call i64 @FUNC(i64 %sv_1.03.reload, i64* nonnull %sv_3) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i32 %sv_0.12.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %17, label LBL_1, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %18 = load i64, i64* %sv_3, align 8 store i64 %18, i64* %arg2, align 8 %19 = zext i32 %sv_0.1.lcssa.reload to i64 ret i64 %19 uselistorder i64 %15, { 1, 0 } uselistorder i64* %sv_3, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_2, { 1, 0, 2 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
agroot_11888
agroot
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 4 store i64 %arg1, i64* %rax.0.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = icmp sgt i32 %1, 4 br i1 %3, label LBL_4, label LBL_2 LBL_2: %4 = icmp sgt i32 %1, 2 store i64 %arg1, i64* %rax.0.reg2mem br i1 %4, label LBL_5, label LBL_3 LBL_3: %5 = icmp eq i32 %1, 0 %6 = icmp slt i32 %1, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 store i64 %arg1, i64* %rax.0.reg2mem br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 5, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %1, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3 } uselistorder label LBL_5, { 3, 2, 0, 1 } }
1
BinRealVul
m48t59_isa_class_init_15631
m48t59_isa_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198676, i64* %6, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
ram_init_5106
ram_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* store i64 %arg2, i64* %2, align 8 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %1, i64 0, i64 %arg1) ret i64 %4 }
0
BinRealVul
ready_codebook_16255
ready_codebook
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %sv_1.04.reg2mem = alloca i32 %storemerge15.reg2mem = alloca i32 %.reg2mem10 = alloca i32 %xmm0.06.reg2mem = alloca i128 %storemerge7.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %0, i64 %6, i32 %3) %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i64 %0, 40 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %14, align 8 %15 = add i64 %0, 48 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %17 = load i32, i32* %2, align 4 %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %10, i64 %21, i32 %17) %23 = load i32, i32* %2, align 4 %24 = load i32, i32* %19, align 4 %25 = sext i32 %24 to i64 %26 = sext i32 %23 to i64 %27 = mul i64 %26, 4 %28 = mul i64 %27, %25 %29 = call i64 @FUNC(i64 %28) %30 = add i64 %0, 40 %31 = inttoptr i64 %30 to i64* store i64 %29, i64* %31, align 8 %32 = load i32, i32* %2, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %0, 48 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = load i32, i32* %2, align 4 %39 = icmp eq i32 %38, 0 store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_14, label LBL_3 LBL_3: %40 = trunc i64 %22 to i32 %41 = and i64 %22, 4294967295 %42 = add i64 %0, 56 %43 = inttoptr i64 %42 to i32* %44 = add i64 %0, 64 %45 = inttoptr i64 %44 to i64* %46 = add i64 %0, 72 %47 = inttoptr i64 %46 to i32* %48 = add i64 %0, 76 %49 = inttoptr i64 %48 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge7.reg2mem br label LBL_4 LBL_4: %xmm0.06.reload = load i128, i128* %xmm0.06.reg2mem %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.reload = load i64, i64* %.reg2mem %50 = call i128 @FUNC(i128 %xmm0.06.reload, i128 %xmm0.06.reload) %51 = call i64 @FUNC(i128 %50) %52 = load i32, i32* %19, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_4.LBL_13_crit_edge, label LBL_6 LBL_5: %.pre = mul i64 %.reload, 4 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_13 LBL_6: %54 = trunc i64 %51 to i32 %55 = ashr i32 %storemerge7.reload, 31 %56 = zext i32 %storemerge7.reload to i64 %57 = zext i32 %55 to i64 %58 = mul i64 %57, 4294967296 %59 = or i64 %58, %56 %60 = mul i64 %.reload, 4 store i32 %52, i32* %.reg2mem10 store i32 0, i32* %storemerge15.reg2mem store i32 1, i32* %sv_1.04.reg2mem store i32 %54, i32* %sv_0.13.reg2mem br label LBL_7 LBL_7: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %61 = load i64, i64* %9, align 8 %62 = icmp eq i64 %61, 1 %63 = icmp eq i1 %62, false br i1 %63, label LBL_9, label LBL_8 LBL_8: %64 = zext i32 %sv_1.04.reload to i64 %65 = sdiv i64 %59, %64 %66 = trunc i64 %65 to i32 %67 = ashr i32 %66, 31 %68 = and i64 %65, 4294967295 %69 = zext i32 %67 to i64 %70 = mul i64 %69, 4294967296 %71 = or i64 %70, %68 %72 = srem i64 %71, %41 %73 = trunc i64 %72 to i32 store i32 %73, i32* %storemerge2.reg2mem br label LBL_10 LBL_9: %.reload11 = load i32, i32* %.reg2mem10 %74 = mul i32 %.reload11, %storemerge7.reload %75 = add i32 %74, %storemerge15.reload store i32 %75, i32* %storemerge2.reg2mem br label LBL_10 LBL_10: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %76 = load i32, i32* %43, align 4 %77 = call i128 @__asm_movss.1(i32 %76) %78 = call i128 @FUNC(i128 %77) %79 = call i128 @FUNC(i128 %78, i32 %sv_0.13.reload) %80 = load i64, i64* %45, align 8 %81 = sext i32 %storemerge2.reload to i64 %82 = mul i64 %81, 4 %83 = add i64 %80, %82 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = call i128 @__asm_movss.1(i32 %85) %87 = load i32, i32* %47, align 4 %88 = call i128 @__asm_movss.1(i32 %87) %89 = call i128 @FUNC(i128 %88, i128 %86) %90 = load i64, i64* %31, align 8 %91 = load i32, i32* %19, align 4 %92 = mul i32 %91, %storemerge7.reload %93 = add i32 %92, %storemerge15.reload %94 = sext i32 %93 to i64 %95 = mul i64 %94, 4 %96 = add i64 %95, %90 %97 = call i128 @__asm_addss.2(i128 %89, i128 %79) %98 = call i64 @FUNC(i128 %97) %99 = trunc i64 %98 to i32 %100 = inttoptr i64 %96 to i32* store i32 %99, i32* %100, align 4 %101 = load i32, i32* %49, align 4 %102 = icmp eq i32 %101, 0 store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem br i1 %102, label LBL_12, label LBL_11 LBL_11: %103 = load i64, i64* %31, align 8 %104 = load i32, i32* %19, align 4 %105 = mul i32 %104, %storemerge7.reload %106 = add i32 %105, %storemerge15.reload %107 = sext i32 %106 to i64 %108 = mul i64 %107, 4 %109 = add i64 %108, %103 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = call i128 @__asm_movss.1(i32 %111) %113 = call i64 @FUNC(i128 %112) %114 = trunc i64 %113 to i32 store i32 %114, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %115 = load i64, i64* %37, align 8 %116 = add i64 %115, %60 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = call i128 @__asm_movss.1(i32 %118) %120 = load i64, i64* %31, align 8 %121 = load i32, i32* %19, align 4 %122 = mul i32 %121, %storemerge7.reload %123 = add i32 %122, %storemerge15.reload %124 = sext i32 %123 to i64 %125 = mul i64 %124, 4 %126 = add i64 %125, %120 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = call i128 @__asm_movss.1(i32 %128) %130 = load i64, i64* %31, align 8 %131 = load i32, i32* %19, align 4 %132 = mul i32 %131, %storemerge7.reload %133 = add i32 %132, %storemerge15.reload %134 = sext i32 %133 to i64 %135 = mul i64 %134, 4 %136 = add i64 %135, %130 %137 = inttoptr i64 %136 to i32* %138 = load i32, i32* %137, align 4 %139 = call i128 @__asm_movss.1(i32 %138) %140 = call i128 @FUNC(i128 %139, i128 %129) %141 = load i64, i64* %37, align 8 %142 = add i64 %141, %60 %143 = call i128 @__asm_addss.2(i128 %140, i128 %119) %144 = call i64 @FUNC(i128 %143) %145 = trunc i64 %144 to i32 %146 = inttoptr i64 %142 to i32* store i32 %145, i32* %146, align 4 %147 = mul i32 %sv_1.04.reload, %40 %148 = add i32 %storemerge15.reload, 1 %149 = load i32, i32* %19, align 4 %150 = zext i32 %149 to i64 %151 = sext i32 %148 to i64 %152 = icmp slt i64 %151, %150 store i32 %149, i32* %.reg2mem10 store i32 %148, i32* %storemerge15.reg2mem store i32 %147, i32* %sv_1.04.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem store i64 %60, i64* %.pre-phi.reg2mem br i1 %152, label LBL_7, label LBL_13 LBL_13: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %153 = load i64, i64* %37, align 8 %154 = add i64 %153, %.pre-phi.reload %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = call i128 @__asm_movss.1(i32 %156) %158 = load i64, i64* %37, align 8 %159 = add i64 %158, %.pre-phi.reload %160 = load i32, i32* inttoptr (i64 4202512 to i32*), align 16 %161 = call i128 @__asm_movss.1(i32 %160) %162 = call i128 @FUNC(i128 %157, i128 %161) %163 = call i64 @FUNC(i128 %162) %164 = trunc i64 %163 to i32 %165 = inttoptr i64 %159 to i32* store i32 %164, i32* %165, align 4 %166 = add i32 %storemerge7.reload, 1 %167 = load i32, i32* %2, align 4 %168 = zext i32 %167 to i64 %169 = sext i32 %166 to i64 %170 = icmp slt i64 %169, %168 store i64 %169, i64* %.reg2mem store i32 %166, i32* %storemerge7.reg2mem store i128 %162, i128* %xmm0.06.reg2mem store i64 %168, i64* %rax.0.reg2mem br i1 %170, label LBL_4, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre-phi.reload, { 1, 0 } uselistorder i32 %storemerge15.reload, { 1, 5, 4, 3, 2, 0 } uselistorder i32 %sv_1.04.reload, { 1, 0 } uselistorder i64 %60, { 0, 2, 1 } uselistorder i64 %.reload, { 1, 0 } uselistorder i32 %storemerge7.reload, { 2, 7, 6, 5, 4, 3, 1, 0 } uselistorder i128 %xmm0.06.reload, { 1, 0 } uselistorder i64* %31, { 1, 2, 0, 3, 4 } uselistorder i32* %19, { 5, 2, 3, 1, 4, 0, 6, 7 } uselistorder i32* %2, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 8, 0, 1, 9, 10, 11, 12, 13 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.06.reg2mem, { 1, 0 } uselistorder i32* %.reg2mem10, { 1, 0, 2 } uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i128 (i32)* @__asm_movss.1, { 7, 8, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 5, 0, 2, 1, 3, 4 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
ohci_async_cancel_device_3153
ohci_async_cancel_device
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = icmp eq i64* %arg2, %arg1 %9 = icmp eq i1 %8, false store i64 %0, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) store i32 0, i32* %2, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1, 3, 4 } }
0
BinRealVul
replay_account_executed_instructions_1909
replay_account_executed_instructions
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %1 = zext i32 %0 to i64 %2 = icmp eq i32 %0, 1 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_9, label LBL_1 LBL_1: %4 = call i64 @FUNC() %5 = load i32, i32* @gv_0, align 4 %6 = icmp slt i32 %5, 1 br i1 %6, label LBL_8, label LBL_2 LBL_2: %7 = call i64 @FUNC() %8 = load i32, i32* @gv_1, align 4 %9 = trunc i64 %7 to i32 %10 = sub i32 %9, %8 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false store i32 %8, i32* %.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_3, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0)) %.pre = load i32, i32* @gv_1, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %13 = load i32, i32* @gv_0, align 4 %14 = sub i32 %13, %10 store i32 %14, i32* @gv_0, align 4 %15 = add i32 %.reload, %10 store i32 %15, i32* @gv_1, align 4 %16 = icmp eq i32 %14, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_5 LBL_5: %18 = load i32, i32* @gv_5, align 4 %19 = icmp eq i32 %18, 2 br i1 %19, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_3, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0)) br label LBL_7 LBL_7: %20 = call i64 @FUNC() %21 = call i64 @FUNC() br label LBL_8 LBL_8: %22 = call i64 @FUNC() store i64 %22, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } }
0
BinRealVul
tun_flow_cleanup_10109
tun_flow_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i64 %sv_1.28.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i32 @time(i32* null) %2 = sext i32 %1 to i64 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) %5 = add i64 %0, 96 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 8 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.19.reg2mem store i64 %3, i64* %sv_1.28.reg2mem br label LBL_1 LBL_1: %sv_1.28.reload = load i64, i64* %sv_1.28.reg2mem %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 8 %9 = add i64 %7, %8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, -8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %sv_1.28.reload, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.19.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_7 LBL_2: %15 = inttoptr i64 %11 to i64* %16 = load i64, i64* %15, align 8 store i64 %16, i64* %storemerge16.reg2mem store i64 %12, i64* %sv_2.05.reg2mem store i64 %sv_0.19.reload, i64* %sv_0.04.reg2mem store i64 %sv_1.28.reload, i64* %sv_1.13.reg2mem br label LBL_3 LBL_3: %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %17 = inttoptr i64 %sv_2.05.reload to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %18, %0 %20 = call i32 @time(i32* null) %21 = sext i32 %20 to i64 %22 = call i64 @FUNC(i64 %19, i64 %21) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_5, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64 %0, i64 %sv_2.05.reload) store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem br label LBL_6 LBL_5: %26 = call i64 @FUNC(i64 %19, i64 %sv_1.13.reload) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 %spec.select = select i1 %28, i64 %sv_1.13.reload, i64 %19 store i64 %spec.select, i64* %sv_1.0.reg2mem br label LBL_6 LBL_6: %29 = add i64 %sv_0.04.reload, 1 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %30 = icmp eq i64 %storemerge16.reload, 0 %31 = add i64 %storemerge16.reload, -8 %32 = icmp eq i1 %30, false store i64 %31, i64* %storemerge16.reg2mem store i64 %storemerge16.reload, i64* %sv_2.05.reg2mem store i64 %29, i64* %sv_0.04.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem store i64 %29, i64* %sv_0.0.lcssa.reg2mem br i1 %32, label LBL_3, label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.19.reg2mem store i64 %sv_1.1.lcssa.reload, i64* %sv_1.28.reg2mem br i1 %exitcond, label LBL_8, label LBL_1 LBL_8: %33 = icmp eq i64 %sv_0.0.lcssa.reload, 0 br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = call i64 @FUNC(i64 %sv_1.1.lcssa.reload) %35 = add i64 %0, 88 %36 = call i64 @FUNC(i64 %35, i64 %34) br label LBL_10 LBL_10: %37 = call i64 @FUNC(i64 %5) ret i64 %37 uselistorder i64 %sv_1.13.reload, { 1, 2, 0 } uselistorder i64 %sv_0.19.reload, { 1, 0 } uselistorder i64 %sv_1.28.reload, { 1, 0 } uselistorder i64 %0, { 2, 3, 0, 4, 5, 6, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.19.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.28.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 (i32*)* @time, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
decode_wdlt_18474
decode_wdlt
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge20.reg2mem = alloca i32 %.in36.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge6.lcssa.reg2mem = alloca i32 %storemerge6.in.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i64 %sv_2.014.reg2mem = alloca i64 %sv_1.015.reg2mem = alloca i32 %storemerge616.reg2mem = alloca i32 %sv_2.121.reg2mem = alloca i64 %sv_1.122.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp sgt i32 %2, %arg4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_23, label LBL_1 LBL_1: %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_23 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = mul i32 %arg4, %arg3 %8 = sext i32 %7 to i64 %9 = add i64 %8, %6 %10 = mul i32 %arg3, -1 %11 = sext i32 %arg3 to i64 store i32 %2, i32* %.in.reg2mem store i32 0, i32* %sv_1.122.reg2mem store i64 %6, i64* %sv_2.121.reg2mem br label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 %14 = icmp sgt i32 %13, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %14, label LBL_4, label LBL_23 LBL_4: %sv_2.121.reload = load i64, i64* %sv_2.121.reg2mem %sv_1.122.reload = load i32, i32* %sv_1.122.reg2mem %.in.reload = load i32, i32* %.in.reg2mem %15 = add i32 %.in.reload, -1 %16 = call i64 @FUNC(i64 %0) %storemerge613 = trunc i64 %16 to i32 %17 = and i32 %storemerge613, 49152 %18 = icmp eq i32 %17, 49152 store i32 %storemerge613, i32* %storemerge616.reg2mem store i32 %sv_1.122.reload, i32* %sv_1.015.reg2mem store i64 %sv_2.121.reload, i64* %sv_2.014.reg2mem store i64 %sv_2.121.reload, i64* %sv_2.0.lcssa.reg2mem store i32 %sv_1.122.reload, i32* %sv_1.0.lcssa.reg2mem store i64 %16, i64* %storemerge6.in.lcssa.reg2mem store i32 %storemerge613, i32* %storemerge6.lcssa.reg2mem br i1 %18, label LBL_5, label LBL_8 LBL_5: %sv_2.014.reload = load i64, i64* %sv_2.014.reg2mem %storemerge616.reload = load i32, i32* %storemerge616.reg2mem %sext4 = mul i32 %storemerge616.reload, 65536 %19 = ashr exact i32 %sext4, 16 %20 = mul i32 %10, %19 %21 = sub i64 %9, %sv_2.014.reload %22 = zext i32 %20 to i64 %23 = icmp sgt i64 %21, %22 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_23 LBL_6: %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %24 = add i32 %sv_1.015.reload, %15 %25 = sub i32 %24, %19 %26 = icmp ugt i32 %25, %arg4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_23, label LBL_7 LBL_7: %27 = add i64 %sv_2.014.reload, %22 %28 = sub i32 %sv_1.015.reload, %19 %29 = call i64 @FUNC(i64 %0) %storemerge6 = trunc i64 %29 to i32 %30 = and i32 %storemerge6, 49152 %31 = icmp eq i32 %30, 49152 store i32 %storemerge6, i32* %storemerge616.reg2mem store i32 %28, i32* %sv_1.015.reg2mem store i64 %27, i64* %sv_2.014.reg2mem store i64 %27, i64* %sv_2.0.lcssa.reg2mem store i32 %28, i32* %sv_1.0.lcssa.reg2mem store i64 %29, i64* %storemerge6.in.lcssa.reg2mem store i32 %storemerge6, i32* %storemerge6.lcssa.reg2mem br i1 %31, label LBL_5, label LBL_8 LBL_8: %storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem %storemerge6.in.lcssa.reload = load i64, i64* %storemerge6.in.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem %32 = trunc i64 %storemerge6.in.lcssa.reload to i16 %33 = icmp sgt i16 %32, -1 store i32 %storemerge6.lcssa.reload, i32* %sv_0.0.reg2mem br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = add i64 %sv_2.0.lcssa.reload, %11 %35 = add i64 %34, -1 %36 = trunc i64 %storemerge6.in.lcssa.reload to i8 %37 = inttoptr i64 %35 to i8* store i8 %36, i8* %37, align 1 %38 = call i64 @FUNC(i64 %0) %39 = trunc i64 %38 to i32 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: store i64 %sv_2.0.lcssa.reload, i64* %sv_3, align 8 %40 = sub i64 %9, %sv_2.0.lcssa.reload %41 = icmp slt i64 %40, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %41, label LBL_23, label LBL_11 LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %42 = add i64 %sv_2.0.lcssa.reload, %11 %43 = icmp eq i32 %sv_0.0.reload, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_12, label LBL_22 LBL_12: %45 = call i64 @FUNC(i64 %0) %sext34 = mul i64 %45, 4294967296 %46 = ashr exact i64 %sext34, 32 %47 = icmp slt i64 %46, %11 store i32 %sv_0.0.reload, i32* %.in36.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %47, label LBL_13, label LBL_23 LBL_13: %.in36.reload = load i32, i32* %.in36.reg2mem %48 = call i64 @FUNC(i64 %0) %49 = load i64, i64* %sv_3, align 8 %sext2 = mul i64 %48, 4294967296 %50 = ashr exact i64 %sext2, 32 %51 = add i64 %50, %49 store i64 %51, i64* %sv_3, align 8 %52 = call i64 @FUNC(i64 %0) %53 = trunc i64 %52 to i32 %sext3 = mul i32 %53, 16777216 %54 = icmp slt i32 %sext3, 0 br i1 %54, label LBL_19, label LBL_14 LBL_14: %55 = load i64, i64* %sv_3, align 8 %56 = sub i64 %42, %55 %57 = mul i32 %53, 2 %58 = and i32 %57, 510 %59 = zext i32 %58 to i64 %60 = icmp slt i64 %56, %59 store i64 4294967295, i64* %rax.0.reg2mem br i1 %60, label LBL_23, label LBL_15 LBL_15: %61 = call i64 @FUNC(i64 %0, i64 %55, i64 %59) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %58, %62 store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_16, label LBL_23 LBL_16: %64 = load i64, i64* %sv_3, align 8 %65 = add i64 %64, %59 store i64 %65, i64* %sv_3, align 8 br label LBL_17 LBL_17: %66 = add i32 %.in36.reload, -1 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_17.dec_label_pc_401476_crit_edge, label LBL_22 LBL_18: %.pre = load i64, i64* %sv_3, align 8 %69 = sub i64 %42, %.pre %70 = call i64 @FUNC(i64 %0) %sext = mul i64 %70, 4294967296 %71 = ashr exact i64 %sext, 32 %72 = icmp sgt i64 %69, %71 store i32 %66, i32* %.in36.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %72, label LBL_13, label LBL_23 LBL_19: %73 = ashr exact i32 %sext3, 24 %74 = sub nsw i32 0, %73 %75 = load i64, i64* %sv_3, align 8 %76 = sub i64 %42, %75 %77 = mul i32 %74, 2 %78 = sext i32 %77 to i64 %79 = icmp slt i64 %76, %78 store i64 4294967295, i64* %rax.0.reg2mem br i1 %79, label LBL_23, label LBL_20 LBL_20: %80 = call i64 @FUNC(i64 %0) %81 = and i64 %80, 4294967295 store i32 0, i32* %storemerge20.reg2mem br label LBL_21 LBL_21: %storemerge20.reload = load i32, i32* %storemerge20.reg2mem %82 = call i64 @FUNC(i64* nonnull %sv_3, i64 %81) %83 = add nuw nsw i32 %storemerge20.reload, 1 %84 = icmp slt i32 %83, %74 store i32 %83, i32* %storemerge20.reg2mem br i1 %84, label LBL_21, label LBL_17 LBL_22: %85 = add i32 %sv_1.0.lcssa.reload, 1 %86 = icmp eq i32 %15, 0 %87 = icmp eq i1 %86, false store i32 %15, i32* %.in.reg2mem store i32 %85, i32* %sv_1.122.reg2mem store i64 %42, i64* %sv_2.121.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %87, label LBL_3, label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %74, { 1, 0 } uselistorder i32 %58, { 1, 0 } uselistorder i64 %42, { 0, 2, 3, 1 } uselistorder i64 %sv_2.0.lcssa.reload, { 3, 1, 0, 2 } uselistorder i32 %19, { 2, 0, 1 } uselistorder i64 %sv_2.014.reload, { 1, 0 } uselistorder i32 %15, { 0, 2, 1 } uselistorder i64 %11, { 0, 1, 3, 2 } uselistorder i64* %sv_3, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64 %0, { 3, 6, 2, 4, 5, 0, 1, 7, 8, 9, 10 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.122.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.121.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge616.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.015.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.014.reg2mem, { 2, 0, 1 } uselistorder i32* %.in36.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge20.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 10, 7, 9, 8, 6, 2, 5, 4, 1, 11, 12 } uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 } uselistorder i64 32, { 2, 1, 0, 3 } uselistorder i64 (i64)* @bytestream2_peek_byte, { 1, 0 } uselistorder i32 49152, { 2, 3, 0, 1 } uselistorder i1 false, { 3, 2, 1, 0 } uselistorder i32 0, { 8, 0, 6, 7, 5, 4, 1, 3, 2 } uselistorder i64 (i64)* @bytestream2_get_le16, { 4, 2, 3, 1, 0 } uselistorder i32 %arg4, { 2, 0, 1 } uselistorder i32 %arg3, { 2, 1, 0 } uselistorder label LBL_23, { 2, 9, 6, 8, 7, 5, 1, 4, 3, 0, 10, 11 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1