dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
streamGetEdgeID_5576
streamGetEdgeID
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1, i64 0, i64 0, i64 %4) %sext2 = mul i64 %arg3, 4294967296 %6 = ashr exact i64 %sext2, 32 store i64 %6, i64* %sv_1, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_1 LBL_1: br i1 %3, label LBL_3, label LBL_2 LBL_2: store i64 -1, i64* %arg4, align 8 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* store i64 -1, i64* %12, align 8 br label LBL_4 LBL_3: store i64 0, i64* %arg4, align 8 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %14, align 8 br label LBL_4 LBL_4: %15 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %15 uselistorder i64* %sv_1, { 0, 1, 3, 2 } uselistorder i64 -1, { 1, 0 } }
0
BinRealVul
smacker_probe_1577
smacker_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 store i64 0, i64* %rax.0.reg2mem switch i32 %1, label LBL_3 [ i32 843795795, label LBL_1 i32 877350227, label LBL_1 ] LBL_1: %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp ult i32 %4, 32769 store i64 25, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp ult i32 %8, 32769 %spec.select = select i1 %9, i64 100, i64 25 ret i64 %spec.select LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 25, { 1, 0 } }
0
BinRealVul
php_filter_encode_url_6225
php_filter_encode_url
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i8* %sv_0.1.in.lcssa.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i64 %sv_0.1.in4.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i8* %sv_1.07.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = ptrtoint i64* %sv_3 to i64 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %1, %arg2 %3 = call i64* @memset(i64* nonnull %sv_2, i32 1, i32 255) %4 = icmp ugt i64 %2, %arg2 br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = add i64 %0, -288 store i64 %arg2, i64* %sv_1.07.reg2mem br label LBL_2 LBL_2: %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %6 = add nuw i64 %sv_1.07.reload, 1 %7 = inttoptr i64 %sv_1.07.reload to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i64 %10 = add i64 %5, %9 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 %exitcond8 = icmp eq i64 %6, %2 store i64 %6, i64* %sv_1.07.reg2mem br i1 %exitcond8, label LBL_3, label LBL_2 LBL_3: %12 = ptrtoint i64* %sv_2 to i64 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 3, i64 0, i64 0) %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %15, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %21, %15 %sv_0.12 = inttoptr i64 %18 to i8* %23 = icmp ult i64 %15, %22 store i64 %18, i64* %sv_0.1.in.lcssa.reg2mem store i8* %sv_0.12, i8** %sv_0.1.lcssa.reg2mem br i1 %23, label LBL_4, label LBL_9 LBL_4: %24 = add i64 %0, -288 store i8* %sv_0.12, i8** %sv_0.15.reg2mem store i64 %18, i64* %sv_0.1.in4.reg2mem store i64 %15, i64* %sv_1.13.reg2mem br label LBL_5 LBL_5: %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem %sv_0.1.in4.reload = load i64, i64* %sv_0.1.in4.reg2mem %sv_0.15.reload = load i8*, i8** %sv_0.15.reg2mem %25 = inttoptr i64 %sv_1.13.reload to i8* %26 = load i8, i8* %25, align 1 %27 = zext i8 %26 to i64 %28 = add i64 %24, %27 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 %32 = add i64 %sv_0.1.in4.reload, 1 br i1 %31, label LBL_7, label LBL_6 LBL_6: store i8 37, i8* %sv_0.15.reload, align 1 %33 = load i8, i8* %25, align 1 %34 = udiv i8 %33, 16 %35 = zext i8 %34 to i64 %36 = or i64 %35, ptrtoint ([17 x i8]* @gv_0 to i64) %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = add i64 %sv_0.1.in4.reload, 2 %40 = inttoptr i64 %32 to i8* store i8 %38, i8* %40, align 1 %41 = load i8, i8* %25, align 1 %42 = urem i8 %41, 16 %43 = zext i8 %42 to i64 %44 = or i64 %43, ptrtoint ([17 x i8]* @gv_0 to i64) %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = add i64 %sv_0.1.in4.reload, 3 %48 = inttoptr i64 %39 to i8* store i8 %46, i8* %48, align 1 store i64 %47, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_7: store i8 %26, i8* %sv_0.15.reload, align 1 store i64 %32, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %49 = add nuw i64 %sv_1.13.reload, 1 %sv_0.1 = inttoptr i64 %sv_0.0.in.reload to i8* %exitcond = icmp eq i64 %49, %22 store i8* %sv_0.1, i8** %sv_0.15.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.1.in4.reg2mem store i64 %49, i64* %sv_1.13.reg2mem store i64 %sv_0.0.in.reload, i64* %sv_0.1.in.lcssa.reg2mem store i8* %sv_0.1, i8** %sv_0.1.lcssa.reg2mem br i1 %exitcond, label LBL_9, label LBL_5 LBL_9: %50 = ptrtoint i64* %arg1 to i64 %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem %sv_0.1.in.lcssa.reload = load i64, i64* %sv_0.1.in.lcssa.reg2mem store i8 0, i8* %sv_0.1.lcssa.reload, align 1 %51 = load i64, i64* %17, align 8 %52 = sub i64 %sv_0.1.in.lcssa.reload, %51 %53 = add i64 %16, 8 %54 = inttoptr i64 %53 to i64* store i64 %52, i64* %54, align 8 %55 = inttoptr i64 %15 to i64* call void @free(i64* %55) store i64 %16, i64* %arg1, align 8 ret i64 %50 uselistorder i64 %sv_0.0.in.reload, { 0, 2, 1 } uselistorder i8* %sv_0.15.reload, { 1, 0 } uselistorder i8* %sv_0.12, { 1, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %15, { 3, 0, 2, 1, 4, 5 } uselistorder i64 %sv_1.07.reload, { 1, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1.07.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.in4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i8 16, { 1, 0 } uselistorder i8 0, { 1, 0, 2 } uselistorder i64 %arg2, { 0, 2, 1 } }
0
BinRealVul
replay_save_instructions_452
replay_save_instructions
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = load i32, i32* inttoptr (i64 4210728 to i32*), align 8 %3 = zext i32 %2 to i64 %4 = icmp eq i32 %2, 1 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_7, label LBL_2 LBL_2: %6 = call i64 @FUNC() %7 = call i64 @FUNC() %8 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8 %9 = trunc i64 %7 to i32 %10 = sub i32 %9, %8 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_3, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0)) br label LBL_4 LBL_4: %13 = icmp slt i32 %10, 1 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 2) %15 = zext i32 %10 to i64 %16 = call i64 @FUNC(i64 %15) %17 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8 %18 = add i32 %17, %10 store i32 %18, i32* bitcast (i64* @gv_1 to i32*), align 8 br label LBL_6 LBL_6: %19 = call i64 @FUNC() store i64 %19, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0, 7 } }
0
BinRealVul
grlib_gptimer_writel_9
grlib_gptimer_writel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = urem i32 %2, 256 %4 = icmp eq i32 %3, 8 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = icmp ult i32 %3, 9 br i1 %7, label LBL_2, label LBL_6 LBL_2: %trunc = trunc i64 %arg2 to i8 switch i8 %trunc, label LBL_6 [ i8 0, label LBL_3 i8 4, label LBL_4 ] LBL_3: %8 = trunc i64 %6 to i32 %9 = urem i32 %8, 65536 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = and i64 %1, 4294967295 %12 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_22 LBL_4: %13 = urem i64 %6, 65536 %14 = trunc i64 %13 to i32 %15 = add i64 %5, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %13) %18 = call i64 @FUNC(i64 %5, i64 %13) store i64 %18, i64* %rax.0.reg2mem br label LBL_22 LBL_5: %19 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 0) store i64 %19, i64* %rax.0.reg2mem br label LBL_22 LBL_6: %20 = add nsw i32 %3, -32 %21 = udiv i32 %20, 32 %22 = add i64 %5, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp ult i32 %21, %24 br i1 %25, label LBL_7, label LBL_21 LBL_7: %26 = urem i32 %2, 32 %27 = zext i32 %21 to i64 %28 = icmp eq i32 %26, 16 br i1 %28, label LBL_12, label LBL_8 LBL_8: %29 = icmp ult i32 %26, 17 br i1 %29, label LBL_9, label LBL_21 LBL_9: %30 = icmp eq i32 %26, 8 br i1 %30, label LBL_13, label LBL_10 LBL_10: %31 = icmp eq i32 %26, 12 %32 = icmp eq i1 %31, false br i1 %32, label LBL_21, label LBL_11 LBL_11: %33 = and i64 %6, 4294967295 %34 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %33) %35 = mul nuw nsw i64 %27, 12 %36 = add i64 %5, 12 %37 = add i64 %35, %36 %38 = trunc i64 %6 to i32 %39 = inttoptr i64 %37 to i32* store i32 %38, i32* %39, align 4 %narrow = mul nuw nsw i32 %21, 12 %40 = zext i32 %narrow to i64 %41 = add i64 %36, %40 %42 = call i64 @FUNC(i64 %41) store i64 %42, i64* %rax.0.reg2mem br label LBL_22 LBL_12: %43 = and i64 %6, 4294967295 %44 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %43) %45 = mul nuw nsw i64 %27, 12 %46 = add i64 %5, 16 %47 = add i64 %46, %45 %48 = trunc i64 %6 to i32 %49 = inttoptr i64 %47 to i32* store i32 %48, i32* %49, align 4 store i64 %43, i64* %rax.0.reg2mem br label LBL_22 LBL_13: %50 = and i64 %6, 4294967295 %51 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64 %50) %52 = urem i64 %arg3, 2 %53 = icmp eq i64 %52, 0 br i1 %53, label LBL_15, label LBL_14 LBL_14: %54 = and i64 %6, -2 %.pre = mul nuw nsw i32 %21, 12 %.pre7 = zext i32 %.pre to i64 store i64 %.pre7, i64* %.pre-phi.reg2mem store i64 %54, i64* %storemerge.reg2mem br label LBL_16 LBL_15: %narrow6 = mul nuw nsw i32 %21, 12 %55 = zext i32 %narrow6 to i64 %56 = add i64 %5, 20 %57 = add i64 %56, %55 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = urem i32 %59, 2 %61 = trunc i64 %6 to i32 %62 = or i32 %60, %61 %63 = sext i32 %62 to i64 store i64 %55, i64* %.pre-phi.reg2mem store i64 %63, i64* %storemerge.reg2mem br label LBL_16 LBL_16: %storemerge.reload = load i64, i64* %storemerge.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %64 = add i64 %.pre-phi.reload, %5 %65 = add i64 %64, 20 %66 = trunc i64 %storemerge.reload to i32 %67 = inttoptr i64 %65 to i32* store i32 %66, i32* %67, align 4 %68 = and i64 %storemerge.reload, 2 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_18, label LBL_17 LBL_17: %70 = add i64 %64, 12 %71 = call i64 @FUNC(i64 %70) br label LBL_20 LBL_18: %72 = and i64 %storemerge.reload, 4 %73 = icmp eq i64 %72, 0 br i1 %73, label LBL_20, label LBL_19 LBL_19: %74 = add i64 %64, 12 %75 = call i64 @FUNC(i64 %74) br label LBL_20 LBL_20: %76 = and i64 %storemerge.reload, 4294967295 store i32 %66, i32* %67, align 4 store i64 %76, i64* %rax.0.reg2mem br label LBL_22 LBL_21: %77 = zext i32 %3 to i64 %78 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 %77) store i64 %78, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %64, { 1, 0, 2 } uselistorder i64 %storemerge.reload, { 3, 1, 2, 0 } uselistorder i64 %27, { 1, 3, 2, 4, 0 } uselistorder i32 %21, { 3, 4, 2, 0, 1 } uselistorder i64 %13, { 1, 2, 0 } uselistorder i64 %6, { 5, 1, 6, 7, 8, 3, 4, 0, 2 } uselistorder i64 %5, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32 %3, { 3, 2, 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 7, 5, 6 } uselistorder i64 20, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 (i64)* @grlib_gptimer_enable, { 1, 0 } uselistorder i64 12, { 3, 4, 1, 0, 2 } uselistorder i32 12, { 1, 0, 2, 3 } uselistorder i32 32, { 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i8*, i64)* @trace_grlib_gptimer_writel, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
fuse_set_acl_7236
fuse_set_acl
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %storemerge.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967291, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 4294967201, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_13, label LBL_2 LBL_2: %11 = inttoptr i64 %3 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i64 4294967201, i64* %rax.0.shrunk.reg2mem br i1 %13, label LBL_3, label LBL_13 LBL_3: %14 = trunc i64 %arg3 to i32 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %storemerge.reg2mem br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = icmp eq i32 %14, 2 %18 = icmp eq i1 %17, false store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8** %storemerge.reg2mem store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %18, label LBL_13, label LBL_5 LBL_5: %storemerge.reload = load i8*, i8** %storemerge.reg2mem %19 = icmp eq i32* %arg2, null br i1 %19, label LBL_11, label LBL_6 LBL_6: %20 = and i64 %1, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = icmp ult i64 %21, 4097 store i64 4294967289, i64* %rax.0.shrunk.reg2mem br i1 %22, label LBL_7, label LBL_13 LBL_7: %23 = call i64 @FUNC(i64 %21, i64 0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %25, label LBL_8, label LBL_13 LBL_8: %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = ptrtoint i32* %arg2 to i64 %30 = call i64 @FUNC(i64 %28, i64 %29, i64 %23, i64 %21) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_10, label LBL_9 LBL_9: %34 = call i64 @FUNC(i64 %23) store i64 %30, i64* %rax.0.shrunk.reg2mem br label LBL_13 LBL_10: %35 = ptrtoint i8* %storemerge.reload to i64 %36 = call i64 @FUNC(i64 %2, i64 %35, i64 %23, i64 %21, i64 0) %37 = call i64 @FUNC(i64 %23) store i64 %36, i64* %sv_0.0.in.reg2mem br label LBL_12 LBL_11: %38 = ptrtoint i8* %storemerge.reload to i64 %39 = call i64 @FUNC(i64 %2, i64 %38) store i64 %39, i64* %sv_0.0.in.reg2mem br label LBL_12 LBL_12: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %40 = call i64 @FUNC(i64 %2) %41 = call i64 @FUNC(i64 %2) store i64 %sv_0.0.in.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 i64 %23, { 1, 2, 0, 3, 4 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64 %2, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 8, 7, 1, 2, 3, 5, 4, 6 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 4294967201, { 1, 0 } uselistorder label LBL_13, { 6, 7, 0, 1, 2, 4, 3, 5 } }
0
BinRealVul
ctnetlink_change_helper_17555
ctnetlink_change_helper
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8*, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64* %arg1, null store i64 4294967280, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_17 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = bitcast i8** %sv_0 to i64* %5 = call i64 @FUNC(i64 %3, i64* nonnull %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %5, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %10 = load i8*, i8** %sv_0, align 8 %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = icmp eq i64 %1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_17, label LBL_5 LBL_5: %15 = inttoptr i64 %1 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_17, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %0) %19 = load i64, i64* %15, align 8 %20 = call i64 @FUNC(i64 %19, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_7: %21 = ptrtoint i8* %10 to i64 %22 = call i64 @FUNC(i64 %21) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_10, label LBL_8 LBL_8: %25 = call i64 @FUNC(i64* nonnull @gv_0) %26 = load i8*, i8** %sv_0, align 8 %27 = ptrtoint i8* %26 to i64 %28 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false %32 = call i64 @FUNC(i64* nonnull @gv_0) store i64 4294967201, i64* %rax.0.reg2mem br i1 %31, label LBL_9, label LBL_17 LBL_9: %33 = load i8*, i8** %sv_0, align 8 %34 = ptrtoint i8* %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = icmp eq i64 %35, 0 %. = select i1 %36, i64 4294967201, i64 4294967285 store i64 %., i64* %rax.0.reg2mem br label LBL_17 LBL_10: %37 = icmp eq i64 %1, 0 br i1 %37, label LBL_14, label LBL_11 LBL_11: %38 = inttoptr i64 %1 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %22, %39 %41 = icmp eq i1 %40, false store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_12, label LBL_17 LBL_12: %42 = icmp eq i64 %39, 0 store i64 4294967280, i64* %rax.0.reg2mem br i1 %42, label LBL_13, label LBL_17 LBL_13: %43 = add i64 %1, 8 %44 = inttoptr i64 %43 to i64* %45 = call i64* @memset(i64* %44, i32 0, i32 256) store i64* %38, i64** %.pre-phi.reg2mem br label LBL_16 LBL_14: %46 = call i64 @FUNC(i64 %0, i64 0) %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %48, label LBL_14.LBL_16_crit_edge, label LBL_17 LBL_15: %.pre = inttoptr i64 %46 to i64* store i64* %.pre, i64** %.pre-phi.reg2mem br label LBL_16 LBL_16: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %49 = load i64, i64* %.pre-phi.reload, align 8 %50 = call i64 @FUNC(i64 %49, i64 %22) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i8** %sv_0, { 2, 1, 0, 3 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 1, 2, 3, 4, 5, 8, 7, 6, 10, 9 } uselistorder i64 4294967201, { 1, 0 } uselistorder i64 (i64)* @__nf_conntrack_helper_find_byname, { 1, 0 } uselistorder i64 (i64, i64)* @rcu_assign_pointer, { 1, 0 } uselistorder label LBL_17, { 9, 0, 1, 2, 3, 4, 7, 6, 5, 10, 8 } }
1
BinRealVul
xen_irq_init_19288
xen_irq_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = call i64 @FUNC(i64 24, 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 = and i64 %0, 4294967295 %5 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %4) unreachable LBL_2: %6 = inttoptr i64 %1 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %1, 4 %8 = inttoptr i64 %7 to i32* store i32 -1, i32* %8, align 4 %9 = and i64 %0, 4294967295 %10 = call i64 @FUNC(i64 %9, i64 %1) %11 = add i64 %1, 8 %12 = call i64 @FUNC(i64 %11, i64 4210752) ret i64 %12 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
t_abspath_4380
t_abspath
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %1 to i8 %7 = icmp eq i8 %6, 47 %8 = icmp eq i1 %7, false store i64 %arg1, i64* %storemerge.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = call i64 @FUNC(i64* nonnull %sv_0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) unreachable LBL_3: %14 = load i64, i64* %sv_0, align 8 %15 = call i64 @FUNC(i64 %14, i64* nonnull @gv_1, i64 %arg1, i64 0) store i64 %15, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i8*)* @i_fatal, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 1, { 8, 2, 1, 4, 3, 5, 6, 7, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
mtouch_connect_4502
mtouch_connect
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 48, i64 0) %2 = call i64 @FUNC() %3 = icmp ne i64 %1, 0 %4 = icmp eq i64 %2, 0 %5 = icmp eq i1 %4, false %or.cond = icmp eq i1 %3, %5 store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_3 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = inttoptr i64 %1 to i64* store i64 %0, i64* %7, align 8 %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* store i64 %2, i64* %9, align 8 %10 = add i64 %1, 16 %11 = inttoptr i64 %10 to i8* %12 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %11, i32 32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* %arg1) %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i64* store i64 %1, i64* %14, align 8 %15 = inttoptr i64 %2 to i64* store i64 ptrtoint ([30 x i8]* @gv_1 to i64), i64* %15, align 8 %16 = add i64 %2, 8 %17 = inttoptr i64 %16 to i64* store i64 %10, i64* %17, align 8 %18 = add i64 %2, 40 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %2, 44 %21 = inttoptr i64 %20 to i32* store i32 4660, i32* %21, align 4 %22 = add i64 %2, 48 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %2, 52 %25 = inttoptr i64 %24 to i32* store i32 256, i32* %25, align 4 %26 = add i64 %2, 24 %27 = inttoptr i64 %26 to i64* store i64 3, i64* %27, align 8 %28 = add i64 %2, 32 %29 = inttoptr i64 %28 to i64* store i64 1, i64* %29, align 8 %30 = load i64, i64* %9, align 8 %31 = call i64 @FUNC(i64 %30, i64 0, i64 0, i64 1023, i64 0, i64 0) %32 = load i64, i64* %9, align 8 %33 = call i64 @FUNC(i64 %32, i64 1, i64 0, i64 1023, i64 0, i64 0) %34 = call i64 @FUNC(i64 %0, i64 %1) %35 = call i64 @FUNC(i64 %0, i64 %6) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 %35, i64* %sv_0.0.reg2mem br i1 %38, label LBL_3, label LBL_2 LBL_2: %39 = load i64, i64* %9, align 8 %40 = call i64 @FUNC(i64 %39) store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %41 = call i64 @FUNC(i64 %0, i64 0) %42 = call i64 @FUNC(i64 %2) %43 = call i64 @FUNC(i64 %1) %44 = and i64 %sv_0.0.reload, 4294967295 store i64 %44, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %9, { 0, 2, 1, 3 } uselistorder i64 %2, { 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i64 %1, { 5, 0, 2, 1, 3, 4, 6 } uselistorder i64 %0, { 3, 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @serio_set_drvdata, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @input_set_abs_params, { 1, 0 } uselistorder i64 48, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
hugetlbfs_put_super_6027
hugetlbfs_put_super
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg1, align 8 %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) store i64 %3, 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 %0, { 1, 2, 0 } }
0
BinRealVul
pci_pcnet_init_406
pci_pcnet_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 4 %2 = call i64 @FUNC(i64 %1, i64 3) %3 = add i64 %0, 44 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = add i64 %0, 46 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = add i64 %0, 61 %8 = inttoptr i64 %7 to i8* store i8 1, i8* %8, align 1 %9 = add i64 %0, 62 %10 = inttoptr i64 %9 to i8* store i8 6, i8* %10, align 1 %11 = add i64 %0, 63 %12 = inttoptr i64 %11 to i8* store i8 -1, i8* %12, align 1 %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %0, i64 %13, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4096) %15 = call i64 @FUNC(i64 %0) %16 = add i64 %0, 40 %17 = call i64 @FUNC(i64 %16, i64 %15, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 256) %18 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 %16) %19 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 %0) %20 = call i64 @FUNC(i64 %0) %sext = mul i64 %20, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = load i64, i64* @gv_4, align 8 %25 = add i64 %0, 16 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = load i64, i64* @gv_5, align 8 %28 = add i64 %0, 24 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i64* store i64 %0, i64* %31, align 8 %32 = call i64 @FUNC(i64 %0) %33 = call i64 @FUNC(i64 %32, i64 %0, i64* nonnull @gv_6) ret i64 0 uselistorder i64 %0, { 22, 4, 3, 21, 20, 19, 18, 2, 17, 1, 0, 16, 15, 14, 12, 13, 11, 10, 9, 8, 7, 6, 5 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @pci_register_bar, { 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 1, 0 } uselistorder i64 (i64, i64)* @pci_set_word, { 2, 1, 0 } }
0
BinRealVul
fio_signal_handler_setup_13119
fio_signal_handler_setup
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = load %sigaction*, %sigaction** @gv_0, align 8 %1 = ptrtoint %sigaction* %0 to i64 %2 = icmp eq %sigaction* %0, null %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* @memset(i64* nonnull %sv_1, i32 0, i32 152) store i64 4198742, i64* %sv_1, align 8 %5 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t* %6 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* nonnull %5) %7 = bitcast i64* %sv_1 to %sigaction* %8 = call i32 @sigaction(i32 2, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_0 to %sigaction*)) %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_3: %10 = call i32 @sigaction(i32 15, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_2 to %sigaction*)) %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_4 LBL_4: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_5: %12 = call i32 @sigaction(i32 10, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_3 to %sigaction*)) %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_7, label LBL_6 LBL_6: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_9 LBL_7: store i64 1, i64* %sv_1, align 8 %14 = call i32 @sigaction(i32 13, %sigaction* nonnull %7, %sigaction* bitcast (%sigaction** @gv_4 to %sigaction*)) %15 = icmp eq i32 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_9, label LBL_8 LBL_8: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), 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* %sv_1, { 2, 0, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1, 6 } uselistorder i64 ptrtoint (i32* @0 to i64), { 3, 2, 1, 0 } uselistorder void (i8*)* @perror, { 3, 2, 1, 0 } uselistorder i32 (i32, %sigaction*, %sigaction*)* @sigaction, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 4, 5, 0 } }
1
BinRealVul
get_bit_rate_3139
get_bit_rate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 6 store i64 0, i64* %sv_0.0.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = icmp ult i32 %2, 3 %6 = icmp eq i1 %5, false %7 = icmp eq i32 %2, 1 %or.cond = or i1 %7, %6 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %8 = icmp eq i32 %2, 2 store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_7 LBL_3: %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 store i64 %11, i64* %sv_0.0.reg2mem br label LBL_7 LBL_4: %12 = add i64 %4, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i32 %2, { 2, 3, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 5, 2, 1 } uselistorder label LBL_7, { 3, 2, 4, 1, 0 } }
0
BinRealVul
vmxnet3_ack_events_10941
vmxnet3_ack_events
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i32 %0) %2 = and i64 %arg2, 305419896 %3 = xor i64 %2, 305419896 ret i64 %3 uselistorder i64 305419896, { 1, 0 } }
0
BinRealVul
decode_blocks_742
decode_blocks
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %storemerge24.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp sgt i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_8 LBL_1: %7 = trunc i64 %1 to i32 %8 = icmp sgt i32 %7, 0 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* store i32 0, i32* %storemerge5.reg2mem br label LBL_5.preheader LBL_2: %13 = load i64, i64* %10, align 8 %14 = load i64, i64* %12, align 8 %15 = icmp ult i64 %13, %14 store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_8 LBL_3: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %16 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge24.reload, i32 %storemerge5.reload) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = and i64 %16, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %21 = add nuw nsw i32 %storemerge24.reload, 1 %22 = icmp slt i32 %21, %7 store i32 %21, i32* %storemerge24.reg2mem br i1 %22, label LBL_2, label LBL_6 LBL_6: %23 = add nuw nsw i32 %storemerge5.reload, 1 %24 = icmp slt i32 %23, %5 store i32 %23, i32* %storemerge5.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_5.preheader, label LBL_8 LBL_7: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem store i32 0, i32* %storemerge24.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge5.reload, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i32* %storemerge24.reg2mem, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32 0, { 1, 4, 0, 2, 3 } uselistorder label LBL_8, { 0, 3, 1, 2 } uselistorder label LBL_5.preheader, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
ip_vs_zero_stats_10826
ip_vs_zero_stats
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, 40 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 60 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = add i64 %0, 44 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 64 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %0, 68 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %0, 52 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %0, 72 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %0, 56 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %0, 76 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = call i64 @FUNC(i64 %0) %28 = call i64 @FUNC(i64 %0) ret i64 %28 }
0
BinRealVul
h263p_decode_umotion_2578
h263p_decode_umotion
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = add i32 %7, 2 store i32 %8, i32* %sv_0.0.reg2mem br label LBL_5 LBL_3: %9 = mul i32 %sv_0.0.reload, 2 %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = add i32 %9, %11 %13 = icmp slt i32 %12, 32768 store i32 %12, i32* %sv_0.0.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) store i64 65535, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_6 LBL_6: %22 = urem i32 %sv_0.0.reload, 2 %23 = ashr i32 %sv_0.0.reload, 1 %24 = icmp eq i32 %22, 0 %25 = trunc i64 %1 to i32 %26 = sub nsw i32 0, %23 %storemerge.in.p = select i1 %24, i32 %23, i32 %26 %storemerge.in = add i32 %storemerge.in.p, %25 %storemerge = zext i32 %storemerge.in to i64 %27 = add i64 %0, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge.in) store i64 %storemerge, 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 %1, { 1, 0 } uselistorder i64 %0, { 0, 3, 1, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 2, { 1, 0, 2 } uselistorder i64 (i64)* @get_bits1, { 2, 3, 1, 0 } }
0
BinRealVul
gnrc_sixlowpan_iphc_send_6894
gnrc_sixlowpan_iphc_send
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 1) %6 = call i64 @FUNC(i64 %arg1, i64 1, i64 %0) %7 = icmp eq i64 %6, 0 %8 = call i64 @FUNC(i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %7, label LBL_5, label LBL_1 LBL_1: %11 = icmp eq i64 %arg2, 0 %or.cond = or i1 %11, %10 br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %6, i64 %4, i64* nonnull %sv_0, i64 %arg2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i32 @puts(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0)) %17 = sext i32 %16 to i64 store i64 %17, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %18 = call i64 @FUNC(i64 %6, i64 %4, i64 %0, i32 %arg3) store i64 %18, i64* %rax.0.reg2mem br label LBL_9 LBL_5: br i1 %10, label LBL_8, label LBL_6 LBL_6: store i64 %arg2, i64* %sv_0, align 8 %19 = icmp eq i64 %arg1, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = inttoptr i64 %arg2 to i64* store i64 0, i64* %21, align 8 br label LBL_8 LBL_8: %22 = call i64 @FUNC(i64 %arg1) 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 i1 %10, { 1, 0 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @IS_USED, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } }
0
BinRealVul
xfer_recover_9436
xfer_recover
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %r8.12.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32* %r8.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = add i64 %2, 16 %6 = inttoptr i64 %5 to i64* store i32* inttoptr (i64 6 to i32*), i32** %storemerge4.reg2mem br label LBL_13 LBL_1: %7 = icmp eq i32 %86, 3 br i1 %7, label LBL_10, label LBL_2 LBL_2: %r8.12.reload = load i64, i64* %r8.12.reg2mem %8 = icmp sgt i32 %86, 3 store i64 %r8.12.reload, i64* %r8.0.reg2mem br i1 %8, label LBL_12, label LBL_3 LBL_3: %9 = icmp sgt i32 %86, 1 br i1 %9, label LBL_7, label LBL_4 LBL_4: %10 = icmp slt i32 %86, 0 %11 = icmp eq i1 %10, false store i64 %r8.12.reload, i64* %r8.0.reg2mem br i1 %11, label LBL_5, label LBL_12 LBL_5: %12 = ptrtoint i32* %storemerge4.reload to i64 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 1) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = and i64 %16, 4294967295 %20 = call i64 @FUNC(i64 %19) %21 = load i64, i64* %14, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i8* %25 = inttoptr i64 %20 to i8* call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i8* %24, i8* %25) br label LBL_7 LBL_7: %26 = load i32, i32* %4, align 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_8 LBL_8: %29 = ptrtoint i32* %storemerge4.reload to i64 %30 = add i64 %29, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i8* %34 = call i32 @strlen(i8* %33) %35 = sext i32 %34 to i64 %36 = load i64, i64* %6, align 8 %37 = add i64 %36, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 %32, i64 %r8.12.reload, i64 %1) %41 = load i64, i64* %6, align 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0)) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_10, label LBL_9 LBL_9: %47 = and i64 %44, 4294967295 %48 = call i64 @FUNC(i64 %47) %49 = add i64 %29, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = inttoptr i64 %53 to i8* %55 = inttoptr i64 %48 to i8* call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_4, i64 0, i64 0), i8* %54, i8* %55) br label LBL_10 LBL_10: %56 = ptrtoint i32* %storemerge4.reload to i64 %57 = add i64 %56, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = add i64 %59, 16 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = load [10 x i8]*, [10 x i8]** @gv_5, align 8 %64 = ptrtoint [10 x i8]* %63 to i64 %65 = add i64 %59, 8 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = inttoptr i64 %59 to i64* %69 = load i64, i64* %68, align 8 %70 = call i64 @FUNC(i64 1, i64 %69, i64 %67, i64 %64, i64 %62) %71 = trunc i64 %70 to i32 %72 = icmp eq i32 %71, 0 store i64 %62, i64* %r8.0.reg2mem br i1 %72, label LBL_12, label LBL_11 LBL_11: %73 = and i64 %70, 4294967295 %74 = call i64 @FUNC(i64 %73) %75 = load i64, i64* %58, align 8 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = inttoptr i64 %77 to i8* %79 = inttoptr i64 %74 to i8* call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_6, i64 0, i64 0), i8* %78, i8* %79) store i64 %62, i64* %r8.0.reg2mem br label LBL_12 LBL_12: %r8.0.reload = load i64, i64* %r8.0.reg2mem %80 = ptrtoint i32* %storemerge4.reload to i64 %81 = add i64 %80, 24 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = inttoptr i64 %83 to i32* %85 = icmp eq i64 %83, 0 store i32* %84, i32** %storemerge4.reg2mem store i64 %r8.0.reload, i64* %r8.12.reg2mem store i64 0, i64* %rax.1.reg2mem br i1 %85, label LBL_15, label LBL_13 LBL_13: %storemerge4.reload = load i32*, i32** %storemerge4.reg2mem %86 = load i32, i32* %storemerge4.reload, align 4 %87 = icmp eq i32 %86, 0 %88 = icmp eq i1 %87, false br i1 %88, label LBL_1, label LBL_14 LBL_14: %89 = zext i32 %86 to i64 store i64 %89, i64* %rax.1.reg2mem br label LBL_15 LBL_15: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %86, { 0, 5, 1, 2, 3, 4 } uselistorder i32* %storemerge4.reload, { 1, 0, 2, 3, 4 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %r8.12.reload, { 0, 2, 1 } uselistorder i64* %r8.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %r8.12.reg2mem, { 1, 0 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @error_message, { 2, 1, 0 } uselistorder i1 false, { 2, 0, 1 } uselistorder i32 0, { 5, 0, 1, 2, 3, 4 } uselistorder i32 3, { 1, 2, 3, 4, 0 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 8, { 0, 1, 2, 3, 5, 4 } uselistorder void (i32, i8*, ...)* @syslog, { 2, 1, 0, 3 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 2, 0, 3 } uselistorder label LBL_7, { 1, 2, 0 } }
0
BinRealVul
mem_resize_11800
mem_resize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.1.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 ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([8 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 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([13 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %7 = call i64 @FUNC(i64 %rdi.1.reload, i64 %3, i64 1) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %9, label LBL_5, label LBL_6 LBL_5: store i64 %7, i64* %arg1, align 8 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %4, i32* %11, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder [13 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder [8 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
r3d_read_rdvo_13857
r3d_read_rdvo
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem29 = alloca i64 %rcx.1.reg2mem = alloca i64 %.reg2mem27 = alloca i32 %storemerge3719.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge37.lcssa.reg2mem = alloca i32 %.lcssa16.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = bitcast i64* %rsi to i32* %15 = trunc i64 %3 to i32 %16 = add i32 %15, -8 %17 = add i32 %15, -5 %18 = icmp slt i32 %16, 0 %19 = select i1 %18, i32 %17, i32 %16 %20 = ashr i32 %19, 2 store i32 %20, i32* %8, align 4 %21 = load i32, i32* %14, align 8 %22 = sext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %7, 8 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = icmp eq i64 %23, 0 %27 = icmp eq i1 %26, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %27, label LBL_1, label LBL_11 LBL_1: %28 = load i32, i32* %8, align 4 %29 = icmp eq i32 %28, 0 store i32 0, i32* %.reg2mem27 br i1 %29, label LBL_7, label LBL_2 LBL_2: %30 = call i64 @FUNC(i64 %22) %31 = trunc i64 %30 to i32 %32 = inttoptr i64 %23 to i32* store i32 %31, i32* %32, align 4 %33 = load i64, i64* %25, align 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 %23, i64* %.lcssa16.reg2mem store i32 0, i32* %storemerge37.lcssa.reg2mem store i32 %35, i32* %.reg2mem store i32 0, i32* %storemerge3719.reg2mem br i1 %37, label LBL_4, label LBL_3 LBL_3: %storemerge37.lcssa.reload = load i32, i32* %storemerge37.lcssa.reg2mem %.lcssa16.reload = load i64, i64* %.lcssa16.reg2mem store i32 %storemerge37.lcssa.reload, i32* %8, align 4 store i32 %storemerge37.lcssa.reload, i32* %.reg2mem27 store i64 %.lcssa16.reload, i64* %rcx.1.reg2mem br label LBL_7 LBL_4: %storemerge3719.reload = load i32, i32* %storemerge3719.reg2mem %.reload = load i32, i32* %.reg2mem %38 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge3719.reload, i32 %.reload, i64 %2, i64 %1) %39 = add i32 %storemerge3719.reload, 1 %40 = load i32, i32* %8, align 4 %41 = zext i32 %40 to i64 %42 = sext i32 %39 to i64 %43 = icmp slt i64 %42, %41 br i1 %43, label LBL_4.dec_label_pc_401253_crit_edge, label LBL_6 LBL_5: %.pre = load i64, i64* %25, align 8 %44 = mul i64 %42, 4 %45 = add i64 %44, %.pre %46 = call i64 @FUNC(i64 %4) %47 = trunc i64 %46 to i32 %48 = inttoptr i64 %45 to i32* store i32 %47, i32* %48, align 4 %49 = load i64, i64* %25, align 8 %50 = add i64 %49, %44 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false store i64 %.pre, i64* %.lcssa16.reg2mem store i32 %39, i32* %storemerge37.lcssa.reg2mem store i32 %52, i32* %.reg2mem store i32 %39, i32* %storemerge3719.reg2mem br i1 %54, label LBL_4, label LBL_3 LBL_6: %55 = zext i32 %.reload to i64 store i32 %40, i32* %.reg2mem27 store i64 %55, i64* %rcx.1.reg2mem br label LBL_7 LBL_7: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %56 = add i64 %13, 8 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label LBL_7.LBL_10_crit_edge, label LBL_9 LBL_8: %.pre13 = inttoptr i64 %13 to i64* %.pre26 = load i64, i64* %.pre13, align 8 store i64 %.pre26, i64* %.reg2mem29 br label LBL_10 LBL_9: %.reload28 = load i32, i32* %.reg2mem27 %60 = add i64 %13, 12 %61 = inttoptr i64 %60 to i32* %62 = load i32, i32* %61, align 4 %63 = zext i32 %58 to i64 %64 = mul i64 %63, 4294967296 %65 = zext i32 %62 to i64 %66 = or i64 %64, %65 %67 = sext i32 %.reload28 to i64 %68 = add i64 %13, 16 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %67, i64 %66, i64 %70) %72 = inttoptr i64 %13 to i64* store i64 %71, i64* %72, align 8 store i64 %71, i64* %.reg2mem29 br label LBL_10 LBL_10: %.reload30 = load i64, i64* %.reg2mem29 %73 = trunc i64 %.reload30 to i32 %74 = trunc i64 %rcx.1.reload to i32 %75 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 %73, i32 %74, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %44, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i64* %25, { 2, 1, 0, 3 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %13, { 3, 4, 2, 0, 1 } uselistorder i32* %8, { 2, 1, 0, 3 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 3, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.lcssa16.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge37.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3719.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem27, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @av_dlog, { 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 6, 5, 1, 2, 3, 0, 4, 7 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
pnm_decode_header_7438
pnm_decode_header
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.ph14.lcssa.reg2mem = alloca i32 %sv_1.0.ph11.lcssa.reg2mem = alloca i32 %sv_2.0.off0.ph7.lcssa.reg2mem = alloca i32 %sv_0.0.ph1426.reg2mem = alloca i32 %sv_1.0.ph1133.reg2mem = alloca i32 %sv_0.0.ph1234.reg2mem = alloca i32 %sv_2.0.off0.ph741.reg2mem = alloca i32 %sv_1.0.ph842.reg2mem = alloca i32 %sv_0.0.ph943.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %sv_1.0.ph.reg2mem = alloca i32 %sv_2.0.off0.ph.reg2mem = alloca i32 %sv_3.0.ph.reg2mem = alloca i32 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i8, align 1 %sv_5 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %3 = bitcast i64* %sv_5 to i8* %4 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = bitcast i64* %arg1 to i32* store i32 0, i32* %7, align 4 br label LBL_34 LBL_2: %8 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = add i64 %1, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 5 %15 = icmp eq i1 %14, false %16 = bitcast i64* %arg1 to i32* br i1 %15, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* %16, align 4 br label LBL_34 LBL_5: store i32 2, i32* %16, align 4 br label LBL_34 LBL_6: %17 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0)) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = bitcast i64* %arg1 to i32* store i32 3, i32* %20, align 4 br label LBL_34 LBL_8: %21 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_41, label LBL_9 LBL_9: store i8 0, i8* %sv_4, align 1 %24 = bitcast i8* %sv_4 to i64* store i32 -1, i32* %sv_3.0.ph.reg2mem store i32 -1, i32* %sv_2.0.off0.ph.reg2mem store i32 -1, i32* %sv_1.0.ph.reg2mem store i32 -1, i32* %sv_0.0.ph.reg2mem br label LBL_10 LBL_10: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_2.0.off0.ph.reload = load i32, i32* %sv_2.0.off0.ph.reg2mem %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem %25 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %26 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph943.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph842.reg2mem store i32 %sv_2.0.off0.ph.reload, i32* %sv_2.0.off0.ph741.reg2mem store i32 %sv_2.0.off0.ph.reload, i32* %sv_2.0.off0.ph7.lcssa.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph11.lcssa.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph14.lcssa.reg2mem br i1 %28, label LBL_11, label LBL_14 LBL_11: %sv_2.0.off0.ph741.reload = load i32, i32* %sv_2.0.off0.ph741.reg2mem %sv_1.0.ph842.reload = load i32, i32* %sv_1.0.ph842.reg2mem %sv_0.0.ph943.reload = load i32, i32* %sv_0.0.ph943.reg2mem store i32 %sv_0.0.ph943.reload, i32* %sv_0.0.ph1234.reg2mem store i32 %sv_1.0.ph842.reload, i32* %sv_1.0.ph1133.reg2mem br label LBL_12 LBL_12: %sv_1.0.ph1133.reload = load i32, i32* %sv_1.0.ph1133.reg2mem %sv_0.0.ph1234.reload = load i32, i32* %sv_0.0.ph1234.reg2mem store i32 %sv_0.0.ph1234.reload, i32* %sv_0.0.ph1426.reg2mem br label LBL_13 LBL_13: %sv_0.0.ph1426.reload = load i32, i32* %sv_0.0.ph1426.reg2mem br label LBL_15 LBL_14: %sv_0.0.ph14.lcssa.reload = load i32, i32* %sv_0.0.ph14.lcssa.reg2mem %sv_1.0.ph11.lcssa.reload = load i32, i32* %sv_1.0.ph11.lcssa.reg2mem %sv_2.0.off0.ph7.lcssa.reload = load i32, i32* %sv_2.0.off0.ph7.lcssa.reg2mem %29 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %30 = call i32 @strtol(i8* nonnull %3, i8** null, i32 10) store i32 %30, i32* %sv_3.0.ph.reg2mem store i32 %sv_2.0.off0.ph7.lcssa.reload, i32* %sv_2.0.off0.ph.reg2mem store i32 %sv_1.0.ph11.lcssa.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_0.0.ph14.lcssa.reload, i32* %sv_0.0.ph.reg2mem br label LBL_10 LBL_15: %31 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_17, label LBL_16 LBL_16: %34 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %35 = call i32 @strtol(i8* nonnull %3, i8** null, i32 10) %36 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %37 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i32 %sv_0.0.ph1426.reload, i32* %sv_0.0.ph943.reg2mem store i32 %sv_1.0.ph1133.reload, i32* %sv_1.0.ph842.reg2mem store i32 %35, i32* %sv_2.0.off0.ph741.reg2mem store i32 %35, i32* %sv_2.0.off0.ph7.lcssa.reg2mem store i32 %sv_1.0.ph1133.reload, i32* %sv_1.0.ph11.lcssa.reg2mem store i32 %sv_0.0.ph1426.reload, i32* %sv_0.0.ph14.lcssa.reg2mem br i1 %39, label LBL_11, label LBL_14 LBL_17: %40 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0)) %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_19, label LBL_18 LBL_18: %43 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %44 = call i32 @strtol(i8* nonnull %3, i8** null, i32 10) %45 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %46 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i32 %44, i32* %sv_0.0.ph1426.reg2mem store i32 %sv_2.0.off0.ph741.reload, i32* %sv_2.0.off0.ph7.lcssa.reg2mem store i32 %sv_1.0.ph1133.reload, i32* %sv_1.0.ph11.lcssa.reg2mem store i32 %44, i32* %sv_0.0.ph14.lcssa.reg2mem br i1 %48, label LBL_13, label LBL_14 LBL_19: %49 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0)) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_21, label LBL_20 LBL_20: %52 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %53 = call i32 @strtol(i8* nonnull %3, i8** null, i32 10) %54 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %55 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i32 %sv_0.0.ph1426.reload, i32* %sv_0.0.ph1234.reg2mem store i32 %53, i32* %sv_1.0.ph1133.reg2mem store i32 %sv_2.0.off0.ph741.reload, i32* %sv_2.0.off0.ph7.lcssa.reg2mem store i32 %53, i32* %sv_1.0.ph11.lcssa.reg2mem store i32 %sv_0.0.ph1426.reload, i32* %sv_0.0.ph14.lcssa.reg2mem br i1 %57, label LBL_12, label LBL_14 LBL_21: %58 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0)) %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_23, label LBL_22 LBL_22: %61 = call i64 @FUNC(i64 %0, i64* nonnull %24, i64 32) %62 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %63 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)) %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i32 %sv_2.0.off0.ph741.reload, i32* %sv_2.0.off0.ph7.lcssa.reg2mem store i32 %sv_1.0.ph1133.reload, i32* %sv_1.0.ph11.lcssa.reg2mem store i32 %sv_0.0.ph1426.reload, i32* %sv_0.0.ph14.lcssa.reg2mem br i1 %65, label LBL_15, label LBL_14 LBL_23: %66 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0)) %67 = icmp ne i32 %66, 0 %68 = icmp slt i32 %sv_3.0.ph.reload, 1 %or.cond5 = or i1 %68, %67 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_41, label LBL_24 LBL_24: %69 = icmp slt i32 %sv_2.0.off0.ph741.reload, 1 %70 = icmp slt i32 %sv_1.0.ph1133.reload, 1 %or.cond = or i1 %69, %70 %71 = icmp slt i32 %sv_0.0.ph1426.reload, 1 %or.cond4 = or i1 %or.cond, %71 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond4, label LBL_41, label LBL_25 LBL_25: %72 = load i8, i8* %sv_4, align 1 %73 = icmp eq i8 %72, 0 %74 = icmp eq i1 %73, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %74, label LBL_26, label LBL_41 LBL_26: %75 = add i64 %1, 4 %76 = inttoptr i64 %75 to i32* store i32 %sv_3.0.ph.reload, i32* %76, align 4 %77 = add i64 %1, 8 %78 = inttoptr i64 %77 to i32* store i32 %sv_2.0.off0.ph741.reload, i32* %78, align 4 %79 = icmp eq i32 %sv_0.0.ph1426.reload, 1 %80 = icmp eq i1 %79, false br i1 %80, label LBL_30, label LBL_27 LBL_27: %81 = icmp eq i32 %sv_1.0.ph1133.reload, 1 %82 = icmp eq i1 %81, false %83 = bitcast i64* %arg1 to i32* br i1 %82, label LBL_29, label LBL_28 LBL_28: store i32 0, i32* %83, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_29: store i32 2, i32* %83, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_30: %84 = icmp eq i32 %sv_0.0.ph1426.reload, 3 %85 = icmp eq i1 %84, false br i1 %85, label LBL_32, label LBL_31 LBL_31: %86 = bitcast i64* %arg1 to i32* store i32 3, i32* %86, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_32: %87 = icmp eq i32 %sv_0.0.ph1426.reload, 4 %88 = icmp eq i1 %87, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %88, label LBL_41, label LBL_33 LBL_33: %89 = bitcast i64* %arg1 to i32* store i32 4, i32* %89, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_34: %90 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %91 = call i32 @atoi(i8* nonnull %3) %92 = add i64 %1, 4 %93 = inttoptr i64 %92 to i32* store i32 %91, i32* %93, align 4 %94 = icmp eq i32 %91, 0 %95 = icmp slt i32 %91, 0 %96 = icmp eq i1 %95, false %97 = icmp eq i1 %94, false %98 = icmp eq i1 %96, %97 store i64 4294967295, i64* %rax.0.reg2mem br i1 %98, label LBL_35, label LBL_41 LBL_35: %99 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %100 = call i32 @atoi(i8* nonnull %3) %101 = add i64 %1, 8 %102 = inttoptr i64 %101 to i32* store i32 %100, i32* %102, align 4 %103 = icmp eq i32 %100, 0 %104 = icmp slt i32 %100, 0 %105 = icmp eq i1 %104, false %106 = icmp eq i1 %103, false %107 = icmp eq i1 %105, %106 store i64 4294967295, i64* %rax.0.reg2mem br i1 %107, label LBL_36, label LBL_41 LBL_36: %108 = bitcast i64* %rdi to i32* %109 = load i32, i32* %108, align 8 %110 = icmp eq i32 %109, 0 store i64 0, i64* %rax.0.reg2mem br i1 %110, label LBL_41, label LBL_37 LBL_37: %111 = call i64 @FUNC(i64 %0, i64* nonnull %sv_5, i64 32) %112 = icmp eq i32 %109, 1 %113 = icmp eq i1 %112, false store i64 0, i64* %rax.0.reg2mem br i1 %113, label LBL_41, label LBL_38 LBL_38: %114 = load i32, i32* %93, align 4 %115 = urem i32 %114, 2 %116 = icmp eq i32 %115, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %116, label LBL_39, label LBL_41 LBL_39: %117 = load i32, i32* %102, align 4 %118 = mul i32 %117, 2 %119 = sdiv i32 %118, 3 %120 = mul i32 %119, 3 %121 = icmp eq i32 %118, %120 store i64 4294967295, i64* %rax.0.reg2mem br i1 %121, label LBL_40, label LBL_41 LBL_40: store i32 %119, i32* %102, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_41 LBL_41: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %119, { 1, 0 } uselistorder i32 %sv_0.0.ph1426.reload, { 5, 4, 3, 6, 2, 1, 8, 0, 7 } uselistorder i32 %sv_1.0.ph1133.reload, { 3, 4, 2, 1, 0, 5 } uselistorder i32 %sv_2.0.off0.ph741.reload, { 4, 3, 2, 0, 1 } uselistorder i32 %sv_3.0.ph.reload, { 1, 0 } uselistorder i8* %3, { 4, 5, 10, 15, 11, 2, 9, 12, 3, 8, 13, 1, 7, 14, 6, 0, 16, 17, 18, 19 } uselistorder i64* %sv_5, { 4, 5, 6, 11, 2, 7, 3, 8, 1, 9, 10, 0, 12, 13 } uselistorder i8* %sv_4, { 1, 0, 2 } uselistorder i64 %1, { 1, 2, 3, 4, 0 } uselistorder i64 %0, { 4, 5, 6, 12, 11, 2, 10, 3, 9, 1, 8, 7, 0, 13 } uselistorder i32* %sv_3.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.off0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph943.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.ph842.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.off0.ph741.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph1234.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.ph1133.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.ph1426.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.off0.ph7.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 } uselistorder i32* %sv_1.0.ph11.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 } uselistorder i32* %sv_0.0.ph14.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 2, 1, 6, 7, 12, 13, 11, 10, 9, 15, 14, 16, 8 } uselistorder i32 (i8*)* @atoi, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i32 (i8*, i8**, i32)* @strtol, { 0, 3, 2, 1 } uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), { 4, 2, 3, 1, 0 } uselistorder i8 0, { 1, 0, 2, 3 } uselistorder i64 4294967295, { 0, 1, 2, 3, 5, 7, 6, 8, 4 } uselistorder i32 3, { 2, 0, 3, 1, 4 } uselistorder i32 (i8*, i8*)* @strcmp, { 10, 4, 11, 2, 13, 3, 12, 1, 9, 0, 6, 5, 7, 8 } uselistorder i64 (i64, i64*, i64)* @pnm_get, { 13, 12, 11, 5, 10, 2, 9, 3, 8, 1, 7, 6, 0, 4 } uselistorder i64 32, { 4, 5, 6, 12, 7, 2, 8, 3, 9, 1, 10, 11, 0, 13 } uselistorder label LBL_41, { 3, 4, 5, 2, 0, 6, 7, 12, 13, 11, 10, 9, 15, 14, 1, 8 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 3, 1, 2, 0, 4 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
gdImageScaleTwoPass_11065
gdImageScaleTwoPass
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %sext2 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext2, 32 %4 = trunc i64 %1 to i32 %5 = add i64 %arg1, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %4, %2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = trunc i64 %3 to i32 %11 = icmp eq i32 %7, %10 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %arg1) store i64 %13, i64* %rax.0.reg2mem br label LBL_15 LBL_3: %14 = add i64 %arg1, 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_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %arg1) br label LBL_5 LBL_5: %sext = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %4, %21 %23 = icmp eq i1 %22, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %23, label LBL_6, label LBL_8 LBL_6: %24 = zext i32 %7 to i64 %25 = and i64 %20, 4294967295 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_15 LBL_7: %29 = add i64 %arg1, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %26, i64 %32) %34 = call i64 @FUNC(i64 %arg1, i32 %4, i64 %26, i32 %21, i64 %24, i64 0) store i64 %26, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %35 = trunc i64 %3 to i32 %36 = icmp eq i32 %7, %35 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_9 LBL_9: %38 = icmp eq i64 %sv_0.0.reload, %arg1 %39 = icmp eq i1 %38, false store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %39, label LBL_15, label LBL_10 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %40 = and i64 %3, 4294967295 %41 = and i64 %20, 4294967295 %42 = call i64 @FUNC(i64 %41, i64 %40) %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = add i64 %arg1, 12 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %42, i64 %47) %49 = call i64 @FUNC(i64 %sv_0.0.reload, i32 %7, i64 %42, i32 %35, i64 %41, i64 1) br label LBL_13 LBL_13: %50 = icmp eq i64 %sv_0.0.reload, %arg1 store i64 %42, i64* %rax.0.reg2mem br i1 %50, label LBL_15, label LBL_14 LBL_14: %51 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %42, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %42, { 1, 0, 3, 2, 4 } uselistorder i64 %sv_0.0.reload, { 2, 5, 3, 1, 0, 4 } uselistorder i64 %26, { 0, 2, 1, 3 } uselistorder i64 %20, { 0, 2, 1 } uselistorder i32 %4, { 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5, 6 } uselistorder i64 (i64, i32, i64, i32, i64, i64)* @_gdScalePass, { 1, 0 } uselistorder i64 (i64, i64)* @gdImageSetInterpolationMethod, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0, 5, 7, 6 } uselistorder i64 %arg1, { 1, 4, 3, 5, 6, 0, 8, 7, 2, 9 } uselistorder label LBL_15, { 1, 0, 3, 2, 4, 5 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
v9fs_lcreate_17107
v9fs_lcreate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %.reg2mem15 = alloca i32 %.reg2mem = alloca i32 %.pre-phi14.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %.pre7.reg2mem = alloca i32 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %6 = load i32, i32* %1 %7 = load i32, i32* %1 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %sv_6 = alloca i32, align 4 %8 = bitcast i32* %sv_4 to i64* %9 = bitcast i32* %sv_6 to i64* %10 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %8, i64* nonnull %sv_5, i64* nonnull %9) %11 = load i32, i32* %sv_4, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %3, i64 %12) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %16 = trunc i64 %2 to i32 br i1 %15, label LBL_2, label LBL_0.LBL_7_crit_edge LBL_1: %.pre11 = add i64 %3, 8 %.pre13 = inttoptr i64 %.pre11 to i64* store i64* %.pre13, i64** %.pre-phi14.reg2mem store i32 %16, i32* %.reg2mem store i64 -2, i64* %sv_0.1.reg2mem br label LBL_7 LBL_2: %17 = load i32, i32* %sv_6, align 4 %18 = add i64 %3, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = zext i32 %17 to i64 %22 = call i64 @FUNC(i64 %20, i64 %21) %23 = trunc i64 %22 to i32 store i32 %23, i32* %sv_6, align 4 %24 = zext i32 %7 to i64 %25 = zext i32 %6 to i64 %26 = and i64 %22, 4294967231 %27 = or i64 %26, 64 %28 = call i64 @FUNC(i64 %3, i64 %13, i64* nonnull %sv_5, i64 %24, i64 %27, i64 %25) %29 = icmp slt i64 %28, 0 store i32 %16, i32* %.pre7.reg2mem store i64 %28, i64* %sv_0.0.reg2mem br i1 %29, label LBL_6, label LBL_3 LBL_3: %30 = inttoptr i64 %13 to i32* store i32 1, i32* %30, align 4 %31 = load i32, i32* %sv_6, align 4 %32 = add i64 %13, 4 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 %34 = load i32, i32* %sv_6, align 4 %35 = trunc i32 %34 to i8 %36 = icmp sgt i8 %35, -1 br i1 %36, label LBL_5, label LBL_4 LBL_4: %37 = add i64 %13, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = or i32 %39, 1 store i32 %40, i32* %38, align 4 br label LBL_5 LBL_5: %41 = add i64 %13, 16 %42 = call i64 @FUNC(i64 %3, i64 %41) %43 = trunc i64 %42 to i32 %44 = bitcast i32* %sv_2 to i64* %45 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %44) %46 = and i64 %42, 4294967295 %47 = call i64 @FUNC(i64 %3, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %44, i64 %46, i64 %25) %48 = add i64 %47, 7 %.phi.trans.insert.phi.trans.insert = bitcast i64* %rdi to i32* %.pre7.pre = load i32, i32* %.phi.trans.insert.phi.trans.insert, align 8 store i32 %.pre7.pre, i32* %.pre7.reg2mem store i32 %43, i32* %sv_1.0.reg2mem store i64 %48, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %.pre7.reload = load i32, i32* %.pre7.reg2mem %49 = call i64 @FUNC(i64 %3, i64 %13) %.pre = load i32, i32* %sv_2, align 4 store i64* %19, i64** %.pre-phi14.reg2mem store i32 %.pre7.reload, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem15 store i32 %sv_1.0.reload, i32* %sv_1.1.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 %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %.reload16 = load i32, i32* %.reg2mem15 %.reload = load i32, i32* %.reg2mem %.pre-phi14.reload = load i64*, i64** %.pre-phi14.reg2mem %50 = zext i32 %.reload16 to i64 %51 = add i64 %3, 4 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = zext i32 %sv_1.1.reload to i64 %55 = zext i32 %5 to i64 %56 = zext i32 %.reload to i64 %57 = call i64 @FUNC(i64 %56, i32 %53, i64 %50, i32 %4, i64 %55, i64 %54) %58 = load i64, i64* %.pre-phi14.reload, align 8 %59 = call i64 @FUNC(i64 %58, i64 %3, i64 %sv_0.1.reload) %60 = call i64 @FUNC(i64* nonnull %sv_5) ret i64 %60 uselistorder i32 %16, { 1, 0 } uselistorder i64 %13, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i32* %sv_6, { 3, 2, 1, 0, 4 } uselistorder i64 %3, { 3, 4, 5, 1, 2, 6, 7, 0, 8, 9 } uselistorder i32* %.pre7.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %1, { 3, 2, 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
flow_keys_hash_start_7133
flow_keys_hash_start
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 ret i64 %0 }
0
BinRealVul
xfmkstemp_11190
xfmkstemp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call %_IO_FILE* @fdopen(i32 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq %_IO_FILE* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i32 @close(i32 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = ptrtoint %_IO_FILE* %5 to i64 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %5, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
put_pages_3838
put_pages
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 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 4 %9 = icmp eq i32 %8, 0 %.pre = add i64 %1, 16 %.pre1 = inttoptr i64 %.pre to i64* br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = load i64, i64* %.pre1, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = inttoptr i64 %10 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %0, i64 %15, i32 %13, i64 0) br label LBL_3 LBL_3: %17 = load i64, i64* %.pre1, align 8 %18 = call i64 @FUNC(i64 %17) %19 = load i64, i64* %.pre1, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64* nonnull @gv_0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = load i64, i64* %2, align 8 %25 = call i64 @FUNC(i64 %0, i64 %24, i64 1, i64 0) br label LBL_6 LBL_5: %26 = add i64 %1, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %30 = load i64, i64* %2, align 8 %31 = call i64 @FUNC(i64 %30) br label LBL_6 LBL_6: store i64 0, i64* %2, 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, { 1, 2, 0, 3 } uselistorder i64 %1, { 0, 2, 1, 3, 4 } uselistorder i64 %0, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
ntlm_av_pair_add_4312
ntlm_av_pair_add
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = icmp eq i32* %arg3, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %sext5 = mul i64 %arg4, 281474976710656 %5 = ashr exact i64 %sext5, 48 %6 = inttoptr i64 %0 to i16* %7 = trunc i64 %arg2 to i16 store i16 %7, i16* %6, align 2 %8 = trunc i64 %5 to i16 %9 = add i64 %0, 2 %10 = inttoptr i64 %9 to i16* store i16 %8, i16* %10, align 2 %11 = call i64 @FUNC(i64 %0) %12 = ptrtoint i32* %arg3 to i64 %13 = urem i64 %5, 65536 %14 = call i64 @FUNC(i64 %11, i64 %12, i64 %13) store i64 %0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 4, 3, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
safe_connect_13447
safe_connect
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = call i64 @FUNC(i64 0) %7 = inttoptr i64 %6 to i32* store i32* %7, i32** @gv_0, align 8 %8 = icmp eq i64 %6, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %11 = call i64 @FUNC(i64 %6) %12 = load i8*, i8** @gv_2, align 8 %13 = icmp eq i8* %12, null br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = load i8, i8* %12, align 1 %15 = icmp eq i8 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = ptrtoint i8* %12 to i64 %17 = load i32*, i32** @gv_0, align 8 %18 = ptrtoint i32* %17 to i64 %19 = call i64 @FUNC(i64 %18, i64 1, i64 %16) br label LBL_5 LBL_5: %20 = load i8*, i8** @gv_3, align 8 %21 = icmp eq i8* %20, null br i1 %21, label LBL_8, label LBL_6 LBL_6: %22 = load i8, i8* %20, align 1 %23 = icmp eq i8 %22, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = ptrtoint i8* %20 to i64 %25 = load i32*, i32** @gv_0, align 8 %26 = ptrtoint i32* %25 to i64 %27 = call i64 @FUNC(i64 %26, i64 2, i64 %24) br label LBL_8 LBL_8: %28 = load i32, i32* @gv_4, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = load i32*, i32** @gv_0, align 8 %31 = ptrtoint i32* %30 to i64 %32 = call i64 @FUNC(i64 %31, i64 3, i64 ptrtoint (i32* @gv_4 to i64)) br label LBL_10 LBL_10: %33 = load i64, i64* @gv_5, align 8 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_12, label LBL_11 LBL_11: %35 = load i32*, i32** @gv_0, align 8 %36 = ptrtoint i32* %35 to i64 %37 = call i64 @FUNC(i64 %36, i64 4, i64 %33) br label LBL_12 LBL_12: %38 = load i64, i64* @gv_6, align 8 %39 = icmp eq i64 %38, 0 br i1 %39, label LBL_14, label LBL_13 LBL_13: %40 = load i32*, i32** @gv_0, align 8 %41 = ptrtoint i32* %40 to i64 %42 = call i64 @FUNC(i64 %41, i64 5, i64 %38) br label LBL_14 LBL_14: %43 = load i32*, i32** @gv_0, align 8 %44 = ptrtoint i32* %43 to i64 %45 = call i64 @FUNC(i64 %44, i64 6, i64 0) %46 = load i32*, i32** @gv_0, align 8 %47 = ptrtoint i32* %46 to i64 %48 = call i64 @FUNC(i64 %47, i64 7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_8, i64 0, i64 0)) %49 = load i32, i32* inttoptr (i64 4210784 to i32*), align 32 %50 = load [9 x i8]*, [9 x i8]** @gv_9, align 8 %51 = ptrtoint [9 x i8]* %50 to i64 %52 = load [5 x i8]*, [5 x i8]** @gv_10, align 8 %53 = ptrtoint [5 x i8]* %52 to i64 %54 = load [10 x i8]*, [10 x i8]** @gv_11, align 8 %55 = ptrtoint [10 x i8]* %54 to i64 %56 = load i32*, i32** @gv_0, align 8 %57 = ptrtoint i32* %56 to i64 %58 = zext i32 %49 to i64 %59 = call i64 @FUNC(i64 %57, i64 %55, i64 %53, i64 %51, i64 0, i64 %58) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false %63 = load i32*, i32** @gv_0, align 8 br i1 %62, label LBL_16, label LBL_15 LBL_15: %64 = ptrtoint i32* %63 to i64 %65 = call i64 @FUNC(i64 %64) %66 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_12, i64 0, i64 0), i64 %65, i64 %53, i64 %51, i64 0, i64 %58) store i64 1, i64* %rax.0.reg2mem br label LBL_17 LBL_16: store i32 1, i32* %63, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %63, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i64 (i64, i64, i64)* @mysql_options, { 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 1, { 1, 3, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error, { 1, 0 } uselistorder i32 1, { 8, 6, 5, 4, 3, 2, 7, 1, 0 } }
0
BinRealVul
vfio_amd_xgbe_class_init_14671
vfio_amd_xgbe_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
1
BinRealVul
crypto_hash_walk_done_9950
crypto_hash_walk_done
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 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = sub i64 %9, %13 store i64 %14, i64* %8, align 8 %15 = icmp eq i32 %6, 0 br i1 %15, label LBL_4, label LBL_1 LBL_1: %16 = trunc i64 %1 to i32 %17 = load i32, i32* %11, align 4 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = trunc i64 %3 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = add i32 %17, %16 %24 = sub i32 0, %16 %25 = sub i32 %24, 1 %26 = and i32 %23, %25 store i32 %26, i32* %11, align 4 %27 = load i64, i64* %8, align 8 %28 = zext i32 %26 to i64 %29 = add i64 %27, %28 store i64 %29, i64* %8, align 8 %30 = load i32, i32* %11, align 4 %31 = sub i32 4096, %30 %32 = zext i32 %31 to i64 %33 = zext i32 %6 to i64 %34 = call i64 @FUNC(i64 %33, i64 %32) %35 = trunc i64 %34 to i32 %36 = load i32, i32* %5, align 4 %37 = sub i32 %36, %35 store i32 %37, i32* %5, align 4 %38 = and i64 %34, 4294967295 store i64 %38, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %39 = call i64 @FUNC(i64 %14) %40 = add i64 %2, 24 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %3 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_6, label LBL_5 LBL_5: %47 = and i64 %3, 4294967295 store i64 %47, i64* %rax.0.reg2mem br label LBL_10 LBL_6: br i1 %15, label LBL_8, label LBL_7 LBL_7: store i32 0, i32* %11, align 4 %48 = add i64 %2, 40 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i32 %50, 1 store i32 %51, i32* %49, align 4 %52 = call i64 @FUNC(i64 %2) store i64 %52, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %53 = add i64 %2, 28 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 %57 = icmp eq i1 %56, false store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_9, label LBL_10 LBL_9: %58 = add i64 %2, 32 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60) store i64 %61, i64* %59, align 8 %62 = call i64 @FUNC(i64 %2) store i64 %62, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %11, { 3, 0, 2, 1, 4 } uselistorder i64* %8, { 1, 0, 2, 3 } uselistorder i32* %5, { 1, 0, 2 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 4, 3, 0, 1, 5, 6, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2, 3, 4 } }
0
BinRealVul
ff_dsputil_init_x86_4
ff_dsputil_init_x86
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC() %3 = urem i64 %2, 2 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: store i64 4198673, i64* %arg1, align 8 br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %2 to i32 %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_12, label LBL_3 LBL_3: %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp sgt i32 %15, 8 br i1 %16, label LBL_12, label LBL_4 LBL_4: %17 = trunc i64 %1 to i32 %18 = icmp ne i32 %17, 0 %19 = icmp eq i32 %17, 1 %20 = icmp eq i1 %19, false %or.cond = icmp eq i1 %18, %20 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %5, 8 %22 = inttoptr i64 %21 to i64* store i64 4198680, i64* %22, align 8 %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i64* store i64 4198687, i64* %24, align 8 %25 = add i64 %5, 24 %26 = inttoptr i64 %25 to i64* store i64 4198694, i64* %26, align 8 %27 = add i64 %5, 32 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 br label LBL_12 LBL_6: %29 = icmp eq i32 %17, 2 %30 = icmp eq i1 %29, false br i1 %30, label LBL_12, label LBL_7 LBL_7: %31 = and i32 %6, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = add i64 %5, 8 %34 = inttoptr i64 %33 to i64* store i64 4198701, i64* %34, align 8 %35 = add i64 %5, 16 %36 = inttoptr i64 %35 to i64* store i64 4198708, i64* %36, align 8 %37 = add i64 %5, 24 %38 = inttoptr i64 %37 to i64* store i64 4198715, i64* %38, align 8 %39 = add i64 %5, 32 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 br label LBL_12 LBL_9: %41 = and i32 %6, 4 %42 = icmp eq i32 %41, 0 %43 = add i64 %5, 8 %44 = inttoptr i64 %43 to i64* br i1 %42, label LBL_11, label LBL_10 LBL_10: store i64 4198722, i64* %44, align 8 %45 = add i64 %5, 16 %46 = inttoptr i64 %45 to i64* store i64 4198729, i64* %46, align 8 %47 = add i64 %5, 24 %48 = inttoptr i64 %47 to i64* store i64 4198736, i64* %48, align 8 br label LBL_12 LBL_11: store i64 4198743, i64* %44, align 8 %49 = add i64 %5, 16 %50 = inttoptr i64 %49 to i64* store i64 4198750, i64* %50, align 8 %51 = add i64 %5, 24 %52 = inttoptr i64 %51 to i64* store i64 4198757, i64* %52, align 8 br label LBL_12 LBL_12: %53 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %54 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %55 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %56 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %57 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %58 = call i64 @FUNC(i64 %5, i64 %7, i32 %6) %59 = call i64 @FUNC(i64 %5, i64 %7) ret i64 %59 uselistorder i64* %44, { 1, 0 } uselistorder i32 %17, { 1, 2, 0 } uselistorder i64 %7, { 0, 2, 1, 4, 3, 6, 5, 7, 8 } uselistorder i32 %6, { 3, 2, 5, 4, 7, 6, 1, 0 } uselistorder i64 %5, { 13, 14, 15, 16, 17, 18, 19, 6, 7, 4, 5, 8, 0, 1, 2, 3, 9, 10, 11, 12 } uselistorder i64 %2, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
kvm_ioapic_class_init_2393
kvm_ioapic_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* store i64 4198676, i64* %4, align 8 store i64 4198683, i64* %arg1, align 8 store i64 4198690, i64* %2, align 8 %5 = inttoptr i64 %3 to i32* store i32 1, i32* %5, align 4 ret i64 %0 }
0
BinRealVul
http_read_header_13431
http_read_header
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 -1, i64* %arg1, align 8 %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 2048) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.in.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %9 = load i32, i32* %7, align 4 %10 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i32 %9, i64 %5) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %rax.0.in.reg2mem br i1 %13, label LBL_3, label LBL_10 LBL_3: %14 = icmp eq i32 %11, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load i32, i32* %7, align 4 %16 = add i32 %15, 1 store i32 %16, i32* %7, align 4 %17 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 2048) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i64 %17, i64* %rax.0.in.reg2mem br i1 %20, label LBL_2, label LBL_10 LBL_5: %21 = add i64 %0, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, -1 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_6 LBL_6: %26 = add i64 %0, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_9, label LBL_7 LBL_7: %30 = add i64 %0, 24 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 2000000000 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_8 LBL_8: store i32 1, i32* %7, align 4 br label LBL_9 LBL_9: %35 = add i64 %0, 40 %36 = add i64 %0, 32 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %38, i64 %35) %40 = call i64 @FUNC(i64 %36) store i64 %10, i64* %rax.0.in.reg2mem br label LBL_10 LBL_10: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %10, { 1, 0, 2 } uselistorder i32* %7, { 0, 2, 1, 3 } uselistorder i64* %sv_0, { 3, 1, 2, 0 } uselistorder i64 %0, { 2, 1, 5, 4, 3, 9, 6, 8, 7, 0 } uselistorder i64* %rax.0.in.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 4, 3, 0, 5, 6 } uselistorder i32 0, { 1, 4, 2, 3, 0, 5 } uselistorder i64 (i64, i64*, i64)* @http_get_line, { 1, 0 } uselistorder i64 2048, { 1, 0 } uselistorder label LBL_10, { 3, 0, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
init_frame_decoder_2152
init_frame_decoder
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %3, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %8 = call i64 @FUNC(i64 %2) %sext = mul i64 %1, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = mul nsw i64 %9, 10 store i32 0, i32* %storemerge12.reg2mem br label LBL_3 LBL_3: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %11 = sext i32 %storemerge12.reload to i64 %12 = add nsw i64 %10, %11 %13 = mul i64 %12, 4 %14 = add i64 %13, ptrtoint (i32** @gv_0 to i64) %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 store i64 0, i64* %storemerge.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = mul i64 %11, 4 %19 = add i64 %18, %2 %20 = add i64 %19, 44 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %19, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = call i64 @FUNC(i64 %2, i32 %25, i32 %22, i32 %16) %27 = add nuw i32 %storemerge12.reload, 1 %28 = icmp ult i32 %27, 10 store i32 %27, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_3, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64 4, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
qemu_can_send_packet_19079
qemu_can_send_packet
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_4 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %spec.select = zext i1 %14 to i64 ret i64 %spec.select LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %6, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
rxrpc_get_null_key_10558
rxrpc_get_null_key
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0, i64 0, i64 0, i64 %1, i64 0, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0, i64 0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %2, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %2) %10 = call i64 @FUNC(i64 %2) %sext = mul i64 %5, 4294967296 %11 = ashr exact i64 %sext, 32 store i64 %11, 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 %2, { 2, 3, 0, 4, 1, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
svg_report_12304
svg_report
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rdi.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %21 = ashr exact i64 %sext, 32 %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %. = select i1 %23, i64 3, i64 2 %24 = call i64 @FUNC(i64 1, i64 %.) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 1, i64* %rdi.0.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: store i32 24, i32* %sv_1, align 4 %27 = ptrtoint i32* %sv_1 to i64 %28 = ptrtoint i64* %sv_0 to i64 %29 = bitcast i64* %sv_0 to i8* %30 = call i32 @vsprintf(i8* nonnull %29, i8* %arg3, i64 %27) %31 = call i64 @FUNC(i64 %28) %32 = call i64 @FUNC(i64 %., i64 1, i64* nonnull %sv_0, i64 %., i64 %arg5, i64 %arg6) store i64 %., i64* %rdi.0.reg2mem br label LBL_4 LBL_4: br i1 %23, label LBL_6, label LBL_5 LBL_5: %33 = ptrtoint i64* %arg1 to i64 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %34 = add i64 %33, 8 %35 = inttoptr i64 %34 to i32* store i32 %22, i32* %35, align 4 %36 = call i64 @FUNC(i64 %rdi.0.reload, i64 1) br label LBL_6 LBL_6: %37 = and i64 %21, 4294967295 ret i64 %37 uselistorder i64 %., { 0, 2, 1, 3 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
mk_vhost_fdt_open_13770
mk_vhost_fdt_open
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = inttoptr i64 %9 to i8* %11 = call i32 (i8*, i32, ...) @open(i8* %10, i32 %8) %12 = sext i32 %11 to i64 store i64 %12, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %sext = mul i64 %arg1, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = and i64 %13, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = icmp eq i64 %18, 0 %20 = zext i1 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = inttoptr i64 %27 to i8* %29 = call i32 (i8*, i32, ...) @open(i8* %28, i32 %26) %30 = sext i32 %29 to i64 store i64 %30, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %sext5 = mul i64 %arg2, 4294967296 %31 = ashr exact i64 %sext5, 32 %32 = and i64 %31, 4294967295 %33 = call i64 @FUNC(i64 %32, i64 %18) %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = inttoptr i64 %33 to i32* %36 = add i64 %33, 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = add i32 %38, 1 store i32 %39, i32* %37, align 4 %40 = load i32, i32* %35, align 4 %41 = zext i32 %40 to i64 store i64 %41, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %42 = add i64 %0, 8 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = zext i32 %44 to i64 %46 = inttoptr i64 %45 to i8* %47 = call i32 (i8*, i32, ...) @open(i8* %46, i32 %44) %48 = icmp eq i32 %47, -1 %49 = icmp eq i1 %48, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %49, label LBL_7, label LBL_12 LBL_7: %50 = inttoptr i64 %18 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 %53 = icmp slt i32 %51, 0 %54 = icmp eq i1 %53, false %55 = icmp eq i1 %52, false %56 = icmp eq i1 %54, %55 store i32 0, i32* %storemerge7.reg2mem br i1 %56, label LBL_9, label LBL_8 LBL_8: %57 = zext i32 %47 to i64 store i64 %57, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %58 = sext i32 %storemerge7.reload to i64 %59 = mul nsw i64 %58, 12 %60 = add i64 %59, %18 %61 = add i64 %60, 4 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, -1 %65 = icmp eq i1 %64, false br i1 %65, label LBL_11, label LBL_10 LBL_10: store i32 %47, i32* %62, align 4 %66 = trunc i64 %31 to i32 %67 = add i64 %60, 8 %68 = inttoptr i64 %67 to i32* store i32 %66, i32* %68, align 4 %69 = add i64 %60, 12 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i32 %71, 1 store i32 %72, i32* %70, align 4 %73 = load i32, i32* %50, align 4 %74 = add i32 %73, -1 store i32 %74, i32* %50, align 4 %75 = trunc i64 %13 to i32 %76 = add i64 %0, 24 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 %78 = add i64 %0, 28 %79 = inttoptr i64 %78 to i32* store i32 %66, i32* %79, align 4 %80 = add i64 %0, 32 %81 = inttoptr i64 %80 to i32* store i32 1, i32* %81, align 4 %82 = zext i32 %47 to i64 store i64 %82, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %83 = add nuw i32 %storemerge7.reload, 1 %84 = icmp ult i32 %83, 16 store i32 %83, i32* %storemerge7.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %84, label LBL_9, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %51, { 1, 0 } uselistorder i32* %50, { 1, 0, 2 } uselistorder i64 %18, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 6, 2, 5, 4, 3 } uselistorder i64 32, { 2, 0, 1 } uselistorder i32 (i8*, i32, ...)* @open, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder label LBL_12, { 0, 2, 3, 1, 4, 5, 6 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
qh_help_19210
qh_help
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rcx.0.lcssa.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = trunc i64 %3 to i8 %7 = icmp eq i8 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = bitcast i64* %arg2 to i8* %9 = call i32 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = and i64 %5, 4294967295 %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @gv_1, i64 0, i64 0), i64 %arg3, i64 %4, i64 %2, i64 %1) br label LBL_11 LBL_3: %14 = call i32 @strcmp(i8* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_4 LBL_4: %storemerge3 = load i64, i64* @gv_3, align 8 %17 = icmp eq i64 %storemerge3, 0 %18 = icmp eq i1 %17, false %19 = trunc i64 %5 to i32 store i64 %storemerge3, i64* %storemerge4.reg2mem br i1 %18, label LBL_5, label LBL_6 LBL_5: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %20 = add i64 %storemerge4.reload, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %spec.select = select i1 %23, i64 ptrtoint ([27 x i8]* @gv_4 to i64), i64 %22 %24 = inttoptr i64 %storemerge4.reload to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i32 %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 %25, i64 %spec.select, i64 %2, i64 %1) %27 = add i64 %storemerge4.reload, 16 %28 = inttoptr i64 %27 to i64* %storemerge = load i64, i64* %28, align 8 %29 = icmp eq i64 %storemerge, 0 %30 = icmp eq i1 %29, false store i64 %storemerge, i64* %storemerge4.reg2mem store i64 %spec.select, i64* %rcx.0.lcssa.reg2mem br i1 %30, label LBL_5, label LBL_6 LBL_6: %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %31 = call i64 @FUNC(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0), i64 0, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) br label LBL_11 LBL_7: %32 = ptrtoint i64* %arg2 to i64 %33 = call i64 @FUNC(i64 %32) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = and i64 %5, 4294967295 %37 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i64 %32, i64 %4, i64 %2, i64 %1) br label LBL_11 LBL_9: %38 = trunc i64 %5 to i32 %39 = icmp slt i32 %38, 201 br i1 %39, label LBL_11, label LBL_10 LBL_10: %40 = add i64 %33, 24 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = and i64 %5, 4294967295 %44 = call i64 @FUNC(i64 %43, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_8, i64 0, i64 0), i64 %32, i64 %42, i64 %2, i64 %1) br label LBL_11 LBL_11: ret i64 0 uselistorder i64 %32, { 1, 0, 2 } uselistorder i64 %5, { 3, 2, 1, 0, 4 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 2, 1, 4, 3, 0 } uselistorder i64 %1, { 2, 1, 4, 3, 0 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @nsock_printf_nul, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 2, 1, 0, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
check_pad_bytes_9518
check_pad_bytes
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %spec.select = select i1 %4, i64 %0, i64 %1 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %spec.select, %7 %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = ptrtoint i64* %arg2 to i64 %11 = add i64 %spec.select, %arg3 %12 = call i64 @FUNC(i64 %0, i64 %10, i64 %arg3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 3735928559) store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
local_socket_destroy_8709
local_socket_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdx.0.in.lcssa.reg2mem = alloca i32 %storemerge.in2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = add i64 %arg1, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %arg1, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = and i64 %3, 4294967295 %12 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %11, i32 %10, i64 %4, i64 %2, i64 %1) %13 = call i64 @FUNC(i64 %8) %14 = add i64 %arg1, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %storemerge.in2.reg2mem store i32 %10, i32* %rdx.0.in.lcssa.reg2mem br i1 %18, label LBL_1, label LBL_2 LBL_1: %storemerge.in2.reload = load i64, i64* %storemerge.in2.reg2mem %storemerge = inttoptr i64 %storemerge.in2.reload to i32* %19 = load i32, i32* %storemerge, align 4 %20 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %11, i32 %19, i64 %4, i64 %2, i64 %1) %21 = add i64 %storemerge.in2.reload, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %storemerge.in2.reload) %25 = icmp eq i64 %23, 0 %26 = icmp eq i1 %25, false store i64 %23, i64* %storemerge.in2.reg2mem store i32 %19, i32* %rdx.0.in.lcssa.reg2mem br i1 %26, label LBL_1, label LBL_2 LBL_2: %27 = call i64 @FUNC(i64 %arg1) %28 = inttoptr i64 %arg1 to i64* call void @free(i64* %28) %29 = icmp eq i32 %7, 0 br i1 %29, label LBL_4, label LBL_3 LBL_3: %rdx.0.in.lcssa.reload = load i32, i32* %rdx.0.in.lcssa.reg2mem %30 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %11, i32 %rdx.0.in.lcssa.reload, i64 %4, i64 %2, i64 %1) call void @exit(i32 1) unreachable LBL_4: ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.in2.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @D, { 1, 2, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ich9_smb_class_init_15224
ich9_smb_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i32* store i32 32902, i32* %3, align 4 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* store i32 10530, i32* %5, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* store i32 2, i32* %7, align 4 %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i32* store i32 787712, i32* %9, align 4 %10 = inttoptr i64 %1 to i32* store i32 1, i32* %10, align 4 %11 = add i64 %1, 8 %12 = inttoptr i64 %11 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %12, align 8 %13 = add i64 %1, 16 %14 = inttoptr i64 %13 to i64* store i64 ptrtoint ([18 x i8]* @gv_1 to i64), i64* %14, align 8 %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* store i64 4198662, i64* %16, align 8 %17 = add i64 %2, 24 %18 = inttoptr i64 %17 to i64* store i64 4198669, i64* %18, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6 } }
1
BinRealVul
ovl_parse_opt_12259
ovl_parse_opt
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.0.ph.reg2mem = alloca i64 %rdx.0.ph.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 %arg1, i64* %sv_1, align 8 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i64* store i64 %4, i64* %rsi.0.ph.reg2mem br label LBL_1 LBL_1: %rsi.0.ph.reload = load i64, i64* %rsi.0.ph.reg2mem %rdx.0.ph.reload = load i64, i64* %rdx.0.ph.reg2mem br label LBL_11 LBL_2: %9 = inttoptr i64 %31 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_11 LBL_3: %13 = call i64 @FUNC(i64 %31, i8** getelementptr inbounds ([3 x i8*], [3 x i8*]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 2 br i1 %15, label LBL_8, label LBL_4 LBL_4: %16 = icmp sgt i32 %14, 2 br i1 %16, label LBL_10, label LBL_5 LBL_5: switch i32 %14, label LBL_10 [ i32 0, label LBL_6 i32 1, label LBL_7 ] LBL_6: %17 = call i64 @FUNC(i64 ptrtoint ([3 x i8*]* @gv_0 to i64)) %18 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %18, i64* %arg2, align 8 br label LBL_1.backedge LBL_7: %19 = load i64, i64* %6, align 8 %20 = call i64 @FUNC(i64 %19) %21 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %21, i64* %6, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %23, label LBL_1.backedge, label LBL_15 LBL_8: %24 = load i64, i64* %8, align 8 %25 = call i64 @FUNC(i64 %24) %26 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %26, i64* %8, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %28, label LBL_1.backedge, label LBL_15 LBL_9: store i64 %4, i64* %rdx.0.ph.reg2mem store i64 ptrtoint ([3 x i8*]* @gv_0 to i64), i64* %rsi.0.ph.reg2mem br label LBL_1 LBL_10: %29 = ptrtoint i64* %sv_0 to i64 %30 = call i64 @FUNC(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 %31, i64 %29, i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %31 = call i64 @FUNC(i64* nonnull %sv_1) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_2, label LBL_12 LBL_12: %34 = icmp eq i64 %rsi.0.ph.reload, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_15, label LBL_13 LBL_13: %36 = load i64, i64* %8, align 8 %37 = icmp eq i64 %36, 0 store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_15, label LBL_14 LBL_14: %38 = call i64 @FUNC(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_2, i64 0, i64 0), i64 %36, i64 %rdx.0.ph.reload, i64 %3, i64 %2, i64 %1) %39 = load i64, i64* %8, align 8 %40 = call i64 @FUNC(i64 %39) store i64 0, i64* %8, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %31, { 3, 2, 1, 0 } uselistorder i64* %8, { 1, 2, 0, 3, 4 } uselistorder i64 %4, { 1, 0, 3, 2 } uselistorder i64* %rdx.0.ph.reg2mem, { 1, 0 } uselistorder i64* %rsi.0.ph.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 6, 1, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64*)* @match_strdup, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder [3 x i8*]* @gv_0, { 1, 0 } uselistorder i1 false, { 3, 4, 0, 1, 2 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder label LBL_15, { 4, 3, 2, 5, 0, 1 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_1.backedge, { 0, 2, 1 } }
1
BinRealVul
mp3_write_audio_packet_2137
mp3_write_audio_packet
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 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %5 = icmp eq i64* %arg2, null br i1 %5, label LBL_10, label LBL_1 LBL_1: %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label LBL_10, label LBL_2 LBL_2: %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = load i32, i32* %7, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %10, i64 %1) %18 = call i64 @FUNC(i64 %4, i64 %3) store i64 %18, i64* %storemerge.reg2mem br label LBL_11 LBL_4: %19 = trunc i64 %2 to i32 %20 = bitcast i32* %sv_0 to i64* %21 = call i64 @FUNC(i64* nonnull %20, i64 %10) %22 = icmp eq i32 %19, 0 %23 = icmp eq i1 %22, false %.pre = load i32, i32* %sv_0, align 4 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = bitcast i64* %arg1 to i32* store i32 %.pre, i32* %24, align 4 br label LBL_6 LBL_6: %25 = icmp ne i32 %.pre, 0 %26 = icmp eq i32 %.pre, %19 %or.cond = icmp eq i1 %25, %26 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %27 = add i64 %4, 4 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 br label LBL_8 LBL_8: %29 = add i64 %4, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = call i64 @FUNC(i64 %4, i64 %3) br label LBL_10 LBL_10: %34 = call i64 @FUNC(i64 %4, i64 %3) store i64 %34, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre, { 1, 0, 2 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i64 %4, { 5, 3, 2, 4, 1, 0 } uselistorder i64 %3, { 4, 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @ff_raw_write_packet, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
gtTileContig_7806
gtTileContig
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.in16.reg2mem = alloca i64 %storemerge7.in17.reg2mem = alloca i64 %sv_0.018.reg2mem = alloca i32* %storemerge719.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %.reg2mem41 = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.off0.reg2mem = alloca i64 %.reg2mem39 = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_4.121.reg2mem = alloca i128 %sv_3.122.reg2mem = alloca i32 %sv_2.123.reg2mem = alloca i32 %sv_5.024.reg2mem = alloca i32 %sv_6.025.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge829.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_7 = alloca i32, align 4 %sv_8 = alloca i32, align 4 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 store i64 0, i64* %sv_9, align 8 %1 = call i64 @FUNC(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) %5 = call i64 @FUNC(i64 %0, i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_22 LBL_2: %6 = bitcast i32* %sv_8 to i64* %7 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %6) %8 = bitcast i32* %sv_7 to i64* %9 = call i64 @FUNC(i64 %0, i64 2, i64* nonnull %8) %10 = call i64 @FUNC(i64 %0) %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %arg4, 0 store i64 0, i64* %.reg2mem41 store i64 1, i64* %sv_1.1.lcssa.reg2mem br i1 %14, label LBL_16, label LBL_3 LBL_3: %15 = ptrtoint i64* %sv_10 to i64 %16 = urem i64 %10, 2 %17 = icmp eq i64 %16, 0 %18 = load i32, i32* %sv_8, align 4 %19 = sub i32 %arg3, %18 %20 = add i32 %18, %arg3 %21 = sub i32 0, %20 %storemerge12 = select i1 %17, i32 %19, i32 %21 %22 = urem i32 %13, %18 %23 = sub i32 %18, %22 %24 = add i32 %22, %storemerge12 %25 = add i64 %0, 20 %26 = inttoptr i64 %25 to i32* %27 = sext i32 %22 to i128 %28 = add i64 %0, 24 %29 = inttoptr i64 %28 to i32* %30 = icmp eq i32 %arg3, 0 %31 = add i64 %15, -16 %32 = inttoptr i64 %31 to i64* %33 = add i64 %0, 28 %34 = inttoptr i64 %33 to i32* %35 = add i64 %15, -24 %36 = inttoptr i64 %35 to i64* %37 = add i64 %15, -32 %38 = inttoptr i64 %37 to i64* store i32 0, i32* %storemerge829.reg2mem br label LBL_4 LBL_4: %storemerge829.reload = load i32, i32* %storemerge829.reg2mem %39 = load i32, i32* %sv_7, align 4 %40 = load i32, i32* %26, align 4 br i1 %30, label LBL_14, label LBL_5 LBL_5: %41 = load i32, i32* %12, align 4 store i32 %40, i32* %.reg2mem store i32 %41, i32* %sv_6.025.reg2mem store i32 0, i32* %sv_5.024.reg2mem store i32 %24, i32* %sv_2.123.reg2mem store i32 %23, i32* %sv_3.122.reg2mem store i128 %27, i128* %sv_4.121.reg2mem br label LBL_6 LBL_6: %sv_4.121.reload = load i128, i128* %sv_4.121.reg2mem %sv_3.122.reload = load i32, i32* %sv_3.122.reg2mem %sv_2.123.reload = load i32, i32* %sv_2.123.reg2mem %sv_5.024.reload = load i32, i32* %sv_5.024.reg2mem %sv_6.025.reload = load i32, i32* %sv_6.025.reg2mem %.reload = load i32, i32* %.reg2mem %42 = add i32 %.reload, %storemerge829.reload store i64 0, i64* %32, align 8 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %0, i64* nonnull %sv_9, i64 %1, i32 %sv_6.025.reload, i64 %43, i64 0) %45 = icmp eq i64 %44, -1 %46 = icmp eq i1 %45, false br i1 %46, label LBL_9, label LBL_7 LBL_7: %47 = load i64, i64* %sv_9, align 8 %48 = icmp eq i64 %47, 0 store i64 0, i64* %.reg2mem41 store i64 0, i64* %sv_1.1.lcssa.reg2mem br i1 %48, label LBL_16, label LBL_8 LBL_8: %49 = load i32, i32* %29, align 4 %50 = icmp eq i32 %49, 0 store i64 %47, i64* %.reg2mem41 store i64 0, i64* %sv_1.1.lcssa.reg2mem br i1 %50, label LBL_9, label LBL_16 LBL_9: %51 = load i32, i32* %26, align 4 %52 = load i32, i32* %sv_7, align 4 %53 = call i64 @FUNC(i64 %0) %54 = load i32, i32* %34, align 4 %55 = add i32 %sv_3.122.reload, %sv_5.024.reload %56 = icmp ugt i32 %55, %arg3 %57 = icmp eq i1 %56, false br i1 %57, label LBL_9.LBL_12_crit_edge, label LBL_11 LBL_10: %extract.t = trunc i128 %sv_4.121.reload to i64 %.pre32 = load i32, i32* %sv_8, align 4 store i32 %55, i32* %.pre-phi.reg2mem store i32 %.pre32, i32* %.reg2mem39 store i64 %extract.t, i64* %sv_4.0.off0.reg2mem store i32 %sv_3.122.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.123.reload, i32* %sv_2.0.reg2mem br label LBL_12 LBL_11: %58 = sub i32 %sv_5.024.reload, %arg3 %59 = load i32, i32* %sv_8, align 4 %60 = add i32 %59, %58 %61 = sub i32 0, %58 %62 = add i32 %60, %storemerge12 %extract.t13 = sext i32 %60 to i64 store i32 %arg3, i32* %.pre-phi.reg2mem store i32 %59, i32* %.reg2mem39 store i64 %extract.t13, i64* %sv_4.0.off0.reg2mem store i32 %61, i32* %sv_3.0.reg2mem store i32 %62, i32* %sv_2.0.reg2mem br label LBL_12 LBL_12: %63 = add i32 %51, %storemerge829.reload %64 = urem i32 %63, %52 %65 = trunc i64 %53 to i32 %66 = mul i32 %64, %65 %67 = zext i32 %66 to i64 %68 = sext i32 %54 to i128 %69 = mul nsw i128 %sv_4.121.reload, %68 %70 = trunc i128 %69 to i64 %71 = add i64 %70, %67 %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_4.0.off0.reload = load i64, i64* %sv_4.0.off0.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %72 = load i64, i64* %sv_9, align 8 %73 = add i64 %71, %72 store i64 %73, i64* %32, align 8 %74 = zext i32 %sv_2.0.reload to i64 store i64 %74, i64* %36, align 8 %75 = and i64 %sv_4.0.off0.reload, 4294967295 store i64 %75, i64* %38, align 8 %76 = icmp ult i32 %.pre-phi.reload, %arg3 br i1 %76, label LBL_12.LBL_6_crit_edge, label LBL_14 LBL_13: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %.reload40 = load i32, i32* %.reg2mem39 %77 = add i32 %sv_3.0.reload, %sv_6.025.reload %.pre = load i32, i32* %26, align 4 store i32 %.pre, i32* %.reg2mem store i32 %77, i32* %sv_6.025.reg2mem store i32 %.pre-phi.reload, i32* %sv_5.024.reg2mem store i32 %storemerge12, i32* %sv_2.123.reg2mem store i32 %.reload40, i32* %sv_3.122.reg2mem store i128 0, i128* %sv_4.121.reg2mem br label LBL_6 LBL_14: %78 = add i32 %40, %storemerge829.reload %79 = urem i32 %78, %39 %80 = sub i32 %39, %79 %81 = add i32 %80, %storemerge829.reload %82 = icmp ugt i32 %81, %arg4 %83 = icmp eq i1 %82, false %84 = sub i32 %arg4, %storemerge829.reload %storemerge11.in = select i1 %83, i32 %80, i32 %84 %85 = add i32 %storemerge11.in, %storemerge829.reload %86 = icmp ult i32 %85, %arg4 store i32 %85, i32* %storemerge829.reg2mem br i1 %86, label LBL_4, label LBL_15 LBL_15: %.pre33.pre = load i64, i64* %sv_9, align 8 store i64 %.pre33.pre, i64* %.reg2mem41 store i64 1, i64* %sv_1.1.lcssa.reg2mem br label LBL_16 LBL_16: %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %.reload42 = load i64, i64* %.reg2mem41 %87 = call i64 @FUNC(i64 %.reload42) %88 = and i64 %10, 2 %89 = icmp eq i64 %88, 0 %brmerge = or i1 %14, %89 br i1 %brmerge, label LBL_21, label LBL_17 LBL_17: %90 = zext i32 %arg3 to i64 %91 = mul i64 %90, 4 %92 = add nsw i64 %91, -4 %wide.trip.count = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_18 LBL_18: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %93 = trunc i64 %indvars.iv.reload to i32 %94 = mul i32 %93, %arg3 %95 = zext i32 %94 to i64 %96 = mul i64 %95, 4 %97 = add i64 %96, %arg2 %98 = add i64 %92, %97 %sv_0.014 = inttoptr i64 %97 to i32* %storemerge715 = inttoptr i64 %98 to i32* %99 = icmp ult i32* %sv_0.014, %storemerge715 store i32* %storemerge715, i32** %storemerge719.reg2mem store i32* %sv_0.014, i32** %sv_0.018.reg2mem store i64 %98, i64* %storemerge7.in17.reg2mem store i64 %97, i64* %sv_0.0.in16.reg2mem br i1 %99, label LBL_19, label LBL_20 LBL_19: %sv_0.0.in16.reload = load i64, i64* %sv_0.0.in16.reg2mem %storemerge7.in17.reload = load i64, i64* %storemerge7.in17.reg2mem %sv_0.018.reload = load i32*, i32** %sv_0.018.reg2mem %storemerge719.reload = load i32*, i32** %storemerge719.reg2mem %100 = load i32, i32* %sv_0.018.reload, align 4 %101 = load i32, i32* %storemerge719.reload, align 4 store i32 %101, i32* %sv_0.018.reload, align 4 store i32 %100, i32* %storemerge719.reload, align 4 %102 = add i64 %sv_0.0.in16.reload, 4 %103 = add i64 %storemerge7.in17.reload, -4 %sv_0.0 = inttoptr i64 %102 to i32* %storemerge7 = inttoptr i64 %103 to i32* %104 = icmp ult i32* %sv_0.0, %storemerge7 store i32* %storemerge7, i32** %storemerge719.reg2mem store i32* %sv_0.0, i32** %sv_0.018.reg2mem store i64 %103, i64* %storemerge7.in17.reg2mem store i64 %102, i64* %sv_0.0.in16.reg2mem br i1 %104, label LBL_19, label LBL_20 LBL_20: %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_21, label LBL_18 LBL_21: store i64 %sv_1.1.lcssa.reload, i64* %storemerge.reg2mem br label LBL_22 LBL_22: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %storemerge719.reload, { 1, 0 } uselistorder i32* %sv_0.018.reload, { 1, 0 } uselistorder i32 %80, { 1, 0 } uselistorder i32 %.pre-phi.reload, { 1, 0 } uselistorder i32 %60, { 1, 0 } uselistorder i32 %58, { 1, 0 } uselistorder i32 %sv_6.025.reload, { 1, 0 } uselistorder i128 %sv_4.121.reload, { 1, 0 } uselistorder i32 %40, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i32 %storemerge829.reload, { 5, 0, 2, 1, 4, 3 } uselistorder i32 %18, { 2, 1, 0, 3 } uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %sv_9, { 0, 2, 3, 1, 4 } uselistorder i32* %sv_8, { 2, 0, 1, 3 } uselistorder i32* %sv_7, { 1, 0, 2 } uselistorder i64 %0, { 2, 3, 1, 0, 4, 5, 6, 8, 7, 9, 10, 11 } uselistorder i32* %storemerge829.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_6.025.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.024.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.123.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.122.reg2mem, { 1, 0, 2 } uselistorder i128* %sv_4.121.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem41, { 0, 3, 1, 2, 4 } uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32** %storemerge719.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.018.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge7.in17.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in16.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 -1, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 1, 2, 6, 3 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 (i64, i64, i64*)* @TIFFGetField, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder i32 %arg4, { 0, 2, 4, 3, 1 } uselistorder i32 %arg3, { 2, 7, 6, 0, 5, 4, 3, 1, 8 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 0, 2, 1, 3 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
vmxnet3_dump_tx_descr_17184
vmxnet3_dump_tx_descr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 40 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = add i64 %0, 20 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %0, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %4) %18 = zext i32 %13 to i64 %19 = zext i32 %16 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([142 x i8], [142 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %19, i64 %18, i32 %10, i32 %7) ret i64 %20 }
1
BinRealVul
security_preserve_bools_12163
security_preserve_bools
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem17 = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem15 = alloca i64 %.reg2mem13 = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge27.reg2mem = alloca i64 %storemerge39.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %0 = call i64 @FUNC(i32* nonnull %sv_3, i64* nonnull %sv_1, i64* nonnull %sv_2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %sv_0.1.reg2mem br i1 %3, label LBL_8, label LBL_1 LBL_1: %4 = ptrtoint i32* %sv_3 to i64 %5 = load i32, i32* %sv_3, align 4 %6 = icmp eq i32 %5, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge39.reg2mem br i1 %6, label LBL_5, label LBL_2 LBL_2: %storemerge39.reload = load i32, i32* %storemerge39.reg2mem %.reload = load i64, i64* %.reg2mem %7 = load i64, i64* %sv_1, align 8 %8 = mul i64 %.reload, 8 %9 = add i64 %7, %8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %4, i64 %11) %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = inttoptr i64 %12 to i32* %15 = load i64, i64* %sv_2, align 8 %16 = mul i64 %.reload, 4 %17 = add i64 %15, %16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 store i32 %19, i32* %14, align 4 br label LBL_4 LBL_4: %20 = add i32 %storemerge39.reload, 1 %21 = load i32, i32* %sv_3, align 4 %22 = zext i32 %21 to i64 %23 = sext i32 %20 to i64 %24 = icmp slt i64 %23, %22 store i64 %23, i64* %.reg2mem store i32 %20, i32* %storemerge39.reg2mem br i1 %24, label LBL_2, label LBL_5 LBL_5: %25 = ptrtoint i64* %arg1 to i64 %26 = add i64 %25, 8 %storemerge2.in5 = inttoptr i64 %26 to i64* %storemerge26 = load i64, i64* %storemerge2.in5, align 8 %27 = icmp eq i64 %storemerge26, 0 %28 = icmp eq i1 %27, false store i64 %storemerge26, i64* %storemerge27.reg2mem store i64 %0, i64* %sv_0.1.reg2mem br i1 %28, label LBL_6, label LBL_8 LBL_6: %storemerge27.reload = load i64, i64* %storemerge27.reg2mem %29 = call i64 @FUNC(i64 %25, i64 %storemerge27.reload) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 %29, i64* %sv_0.1.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %storemerge2.in = inttoptr i64 %storemerge27.reload to i64* %storemerge2 = load i64, i64* %storemerge2.in, align 8 %33 = icmp eq i64 %storemerge2, 0 %34 = icmp eq i1 %33, false store i64 %storemerge2, i64* %storemerge27.reg2mem store i64 %29, i64* %sv_0.1.reg2mem br i1 %34, label LBL_6, label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %35 = load i64, i64* %sv_1, align 8 %36 = icmp eq i64 %35, 0 store i64 0, i64* %.reg2mem17 br i1 %36, label LBL_11, label LBL_9 LBL_9: %37 = load i32, i32* %sv_3, align 4 %38 = icmp eq i32 %37, 0 store i64 %35, i64* %.reg2mem13 store i64 0, i64* %.reg2mem15 store i32 0, i32* %storemerge4.reg2mem store i64 %35, i64* %.reg2mem17 br i1 %38, label LBL_11, label LBL_10 LBL_10: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload16 = load i64, i64* %.reg2mem15 %.reload14 = load i64, i64* %.reg2mem13 %39 = mul i64 %.reload16, 8 %40 = add i64 %39, %.reload14 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %42) %44 = add i32 %storemerge4.reload, 1 %45 = load i32, i32* %sv_3, align 4 %46 = zext i32 %45 to i64 %47 = sext i32 %44 to i64 %48 = icmp slt i64 %47, %46 %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem13 store i64 %47, i64* %.reg2mem15 store i32 %44, i32* %storemerge4.reg2mem store i64 %.pre, i64* %.reg2mem17 br i1 %48, label LBL_10, label LBL_11 LBL_11: %.reload18 = load i64, i64* %.reg2mem17 %49 = call i64 @FUNC(i64 %.reload18) %50 = load i64, i64* %sv_2, align 8 %51 = call i64 @FUNC(i64 %50) %52 = and i64 %sv_0.1.reload, 4294967295 ret i64 %52 uselistorder i64 %storemerge27.reload, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i32* %sv_3, { 3, 1, 4, 0, 5, 2, 6 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 0, 2, 3, 1, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge39.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge27.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem13, { 2, 0, 1 } uselistorder i64* %.reg2mem15, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @xfree, { 1, 0, 2 } uselistorder i64 8, { 0, 2, 1, 3 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i32 0, { 0, 2, 5, 1, 3, 6, 4, 7 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
start_children_18410
start_children
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %rsi.0.lcssa.reg2mem = alloca i64 %.reg2mem48 = alloca i64 %.reg2mem = alloca i64 %storemerge31134.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i32, i32* @gv_0, align 4 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_27, label LBL_1 LBL_1: %10 = load [11 x i8]*, [11 x i8]** @gv_1, align 8 %11 = getelementptr inbounds [11 x i8], [11 x i8]* %10, i64 0, i64 0 %12 = call i32 @strlen(i8* %11) %13 = icmp ult i32 %12, 4096 %14 = load [11 x i8]*, [11 x i8]** @gv_1, align 8 %15 = ptrtoint [11 x i8]* %14 to i64 br i1 %13, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 4096, i64 %5, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_27 LBL_3: %17 = call i64 @FUNC(i64 %15) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 %20, i64* %rax.0.reg2mem br label LBL_27 LBL_5: %21 = ptrtoint i64* %arg1 to i64 %22 = inttoptr i64 %17 to i8* %23 = call i8* @strrchr(i8* %22, i32 47) %24 = icmp eq i8* %23, null %25 = icmp eq i1 %24, false %26 = ptrtoint i8* %23 to i64 %27 = add i64 %26, 1 %storemerge4.v = select i1 %25, i64 %27, i64 %17 %storemerge4 = inttoptr i64 %storemerge4.v to i32* store i32 1886217830, i32* %storemerge4, align 4 %28 = add i64 %storemerge4.v, 4 %29 = inttoptr i64 %28 to i16* store i16 26469, i16* %29, align 2 %30 = add i64 %storemerge4.v, 6 %31 = inttoptr i64 %30 to i8* store i8 0, i8* %31, align 1 %32 = icmp eq i64* %arg1, null %33 = icmp eq i1 %32, false store i64 %21, i64* %sv_0.015.reg2mem br i1 %33, label LBL_6, label LBL_26 LBL_6: %sv_0.015.reload = load i64, i64* %sv_0.015.reg2mem %34 = inttoptr i64 %sv_0.015.reload to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_25, label LBL_7 LBL_7: %37 = add i64 %sv_0.015.reload, 8 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_25, label LBL_8 LBL_8: %42 = call i32 @time(i32* null) %43 = sext i32 %42 to i64 %44 = add i64 %sv_0.015.reload, 16 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 %46 = call i32 @fork() store i32 %46, i32* %38, align 4 %47 = icmp slt i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = zext i32 %46 to i64 %50 = call i32* @__errno_location() %51 = load i32, i32* %50, align 4 %52 = call i8* @strerror(i32 %51) %53 = ptrtoint i8* %52 to i64 %54 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %53, i64 %49, i64 %5, i64 %2, i64 %1) call void @exit(i32 1) unreachable LBL_10: %55 = icmp eq i32 %46, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_25, label LBL_11 LBL_11: %57 = zext i32 %46 to i64 %58 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i64 47, i64 %57, i64 %5, i64 %2, i64 %1) %59 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 %17, i64 %57, i64 %5, i64 %2, i64 %1) %60 = load i64, i64* %34, align 8 %61 = add i64 %60, 8 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = icmp eq i64 %63, 0 store i64 %17, i64* %rsi.0.lcssa.reg2mem store i64 %60, i64* %.lcssa.reg2mem br i1 %64, label LBL_15, label LBL_12 LBL_12: %65 = inttoptr i64 %63 to i8* %66 = load i8, i8* %65, align 1 %67 = icmp eq i8 %66, 0 %68 = icmp eq i1 %67, false store i32 1, i32* %storemerge31134.reg2mem store i64 %60, i64* %.reg2mem store i64 %63, i64* %.reg2mem48 store i64 %17, i64* %rsi.0.lcssa.reg2mem store i64 %60, i64* %.lcssa.reg2mem br i1 %68, label LBL_13, label LBL_15 LBL_13: %.reload49 = load i64, i64* %.reg2mem48 %.reload = load i64, i64* %.reg2mem %storemerge31134.reload = load i32, i32* %storemerge31134.reg2mem %69 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 %.reload49, i64 %.reload, i64 %5, i64 %2, i64 %1) %70 = add i32 %storemerge31134.reload, 1 %71 = load i64, i64* %34, align 8 %72 = sext i32 %70 to i64 %73 = mul i64 %72, 8 %74 = add i64 %71, %73 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = icmp eq i64 %76, 0 store i64 %.reload49, i64* %rsi.0.lcssa.reg2mem store i64 %71, i64* %.lcssa.reg2mem br i1 %77, label LBL_15, label LBL_14 LBL_14: %78 = inttoptr i64 %76 to i8* %79 = load i8, i8* %78, align 1 %80 = icmp eq i8 %79, 0 %81 = icmp eq i1 %80, false store i32 %70, i32* %storemerge31134.reg2mem store i64 %71, i64* %.reg2mem store i64 %76, i64* %.reg2mem48 store i64 %.reload49, i64* %rsi.0.lcssa.reg2mem store i64 %71, i64* %.lcssa.reg2mem br i1 %81, label LBL_13, label LBL_15 LBL_15: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem %82 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_7, i64 0, i64 0), i64 %rsi.0.lcssa.reload, i64 %.lcssa.reload, i64 %5, i64 %2, i64 %1) store i32 3, i32* %storemerge9.reg2mem br label LBL_16 LBL_16: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %83 = call i32 @close(i32 %storemerge9.reload) %84 = add nuw nsw i32 %storemerge9.reload, 1 %exitcond = icmp eq i32 %84, 256 store i32 %84, i32* %storemerge9.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: %85 = load i32, i32* @gv_8, align 4 %86 = icmp eq i32 %85, 0 %87 = icmp eq i1 %86, false br i1 %87, label LBL_24, label LBL_18 LBL_18: %88 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8 %89 = call %_IO_FILE* @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_11, i64 0, i64 0), %_IO_FILE* %88) %90 = icmp eq %_IO_FILE* %89, null %91 = icmp eq i1 %90, false br i1 %91, label LBL_20, label LBL_19 LBL_19: %92 = ptrtoint %_IO_FILE* %88 to i64 %93 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_12, i64 0, i64 0), i64 ptrtoint ([2 x i8]* @gv_11 to i64), i64 %92, i64 %5, i64 %2, i64 %1) br label LBL_20 LBL_20: %94 = load %_IO_FILE*, %_IO_FILE** @gv_13, align 8 %95 = call %_IO_FILE* @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_14, i64 0, i64 0), %_IO_FILE* %94) %96 = icmp eq %_IO_FILE* %95, null %97 = icmp eq i1 %96, false br i1 %97, label LBL_22, label LBL_21 LBL_21: %98 = ptrtoint %_IO_FILE* %94 to i64 %99 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_15, i64 0, i64 0), i64 ptrtoint ([2 x i8]* @gv_14 to i64), i64 %98, i64 %5, i64 %2, i64 %1) br label LBL_22 LBL_22: %100 = load %_IO_FILE*, %_IO_FILE** @gv_16, align 8 %101 = call %_IO_FILE* @freopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_14, i64 0, i64 0), %_IO_FILE* %100) %102 = icmp eq %_IO_FILE* %101, null %103 = icmp eq i1 %102, false br i1 %103, label LBL_24, label LBL_23 LBL_23: %104 = ptrtoint %_IO_FILE* %100 to i64 %105 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_17, i64 0, i64 0), i64 ptrtoint ([2 x i8]* @gv_14 to i64), i64 %104, i64 %5, i64 %2, i64 %1) br label LBL_24 LBL_24: %106 = call void (i32)* @signal(i32 13, void (i32)* null) %107 = load i64, i64* %34, align 8 %108 = inttoptr i64 %107 to i8* %109 = insertvalue [1 x i8*] undef, i8* %108, 0 %110 = call i32 @execvp(i8* %22, [1 x i8*] %109) %111 = call i64 @FUNC(i64 %17) call void @_exit(i32 1) unreachable LBL_25: %112 = add i64 %sv_0.015.reload, 24 %113 = inttoptr i64 %112 to i64* %114 = load i64, i64* %113, align 8 %115 = icmp eq i64 %114, 0 %116 = icmp eq i1 %115, false store i64 %114, i64* %sv_0.015.reg2mem br i1 %116, label LBL_6, label LBL_26 LBL_26: %117 = call i64 @FUNC(i64 %17) store i64 %117, i64* %rax.0.reg2mem br label LBL_27 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %100, { 1, 0 } uselistorder %_IO_FILE* %94, { 1, 0 } uselistorder %_IO_FILE* %88, { 1, 0 } uselistorder i32 %storemerge9.reload, { 1, 0 } uselistorder i64 %71, { 1, 2, 0, 3 } uselistorder i64 %.reload49, { 1, 0, 2 } uselistorder i64 %60, { 0, 2, 1, 3 } uselistorder i32 %46, { 0, 3, 1, 2, 4 } uselistorder i64* %34, { 2, 0, 1, 3 } uselistorder i64 %sv_0.015.reload, { 3, 0, 2, 1 } uselistorder i64 %17, { 4, 2, 0, 1, 3, 5, 6, 7 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %5, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge31134.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem48, { 2, 0, 1 } uselistorder i64* %rsi.0.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_16, { 1, 0 } uselistorder [2 x i8]* @gv_14, { 1, 0 } uselistorder %_IO_FILE* (i8*, i8*, %_IO_FILE*)* @freopen, { 1, 0, 2 } uselistorder [2 x i8]* @gv_11, { 1, 0 } uselistorder i8 0, { 2, 0, 3, 4, 1 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @http_log, { 9, 8, 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i1 false, { 10, 2, 3, 4, 5, 6, 0, 7, 8, 9, 1, 11, 12, 13 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder label LBL_27, { 1, 2, 3, 0 } uselistorder label LBL_25, { 0, 2, 1 } uselistorder label LBL_15, { 1, 2, 0, 3 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
create_mnt_ns_12591
create_mnt_ns
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %arg1) %6 = inttoptr i64 %5 to i64* store i64 %0, i64* %6, align 8 %7 = inttoptr i64 %0 to i64* store i64 %5, i64* %7, align 8 %8 = add i64 %0, 8 %9 = add i64 %5, 8 %10 = call i64 @FUNC(i64 %9, i64 %8) br label LBL_3 LBL_2: %11 = call i64 @FUNC(i64 %arg1) br label LBL_3 LBL_3: ret i64 %0 uselistorder i64 %0, { 3, 0, 1, 2, 4 } }
1
BinRealVul
to_mlx5_st_10423
to_mlx5_st
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 0, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_10 [ i32 0, label LBL_11 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_4 i32 6, label LBL_5 i32 7, label LBL_6 i32 8, label LBL_7 i32 9, label LBL_8 i32 10, label LBL_9 i32 11, label LBL_9 ] LBL_1: store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: store i64 2, i64* %rax.0.reg2mem br label LBL_11 LBL_3: store i64 3, i64* %rax.0.reg2mem br label LBL_11 LBL_4: store i64 4, i64* %rax.0.reg2mem br label LBL_11 LBL_5: store i64 5, i64* %rax.0.reg2mem br label LBL_11 LBL_6: store i64 6, i64* %rax.0.reg2mem br label LBL_11 LBL_7: store i64 7, i64* %rax.0.reg2mem br label LBL_11 LBL_8: store i64 8, i64* %rax.0.reg2mem br label LBL_11 LBL_9: store i64 9, i64* %rax.0.reg2mem br label LBL_11 LBL_10: store i64 4294967274, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_11, { 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } }
0
BinRealVul
virtio_pci_exit_17159
virtio_pci_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) ret i64 %3 uselistorder i64 %0, { 0, 2, 1 } }
1
BinRealVul
vmdk_snapshot_create_27
vmdk_snapshot_create
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i32 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %.pn.pn.reg2mem = alloca i32 %.pn.in.reg2mem = alloca i32* %2 = load i128, i128* %0 %3 = load i32, i32* %1 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_1 = alloca i64, align 8 %6 = load i32, i32* %1 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %7 = inttoptr i64 %arg1 to i8* %8 = call i32 (i8*, i32, ...) @open(i8* %7, i32 578) %9 = icmp slt i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = sub i32 0, %12 store i32 %13, i32* %rax.0.shrunk.reg2mem br label LBL_45 LBL_2: %14 = inttoptr i64 %arg2 to i8* %15 = call i32 (i8*, i32, ...) @open(i8* %14, i32 0) %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i32 @close(i32 %8) %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = sub i32 0, %20 store i32 %21, i32* %rax.0.shrunk.reg2mem br label LBL_45 LBL_4: %22 = call i32 @lseek(i32 %15, i32 0, i32 0) %23 = icmp eq i32 %22, -1 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i32* @__errno_location() %26 = load i32, i32* %25, align 4 %27 = sub i32 0, %26 store i32 %27, i32* %sv_0.2.reg2mem br label LBL_44 LBL_6: %28 = call i32 @read(i32 %15, i64* nonnull %sv_6, i32 512) %29 = icmp eq i32 %28, 512 br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = call i32* @__errno_location() %31 = load i32, i32* %30, align 4 %32 = sub i32 0, %31 store i32 %32, i32* %sv_0.2.reg2mem br label LBL_44 LBL_8: %33 = call i32 @lseek(i32 %8, i32 0, i32 0) %34 = icmp eq i32 %33, -1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_10, label LBL_9 LBL_9: %36 = call i32* @__errno_location() %37 = load i32, i32* %36, align 4 %38 = sub i32 0, %37 store i32 %38, i32* %sv_0.2.reg2mem br label LBL_44 LBL_10: %39 = call i32 @write(i32 %8, i64* nonnull %sv_6, i32 512) %40 = icmp eq i32 %39, -1 %41 = icmp eq i1 %40, false br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = call i32* @__errno_location() %43 = load i32, i32* %42, align 4 %44 = sub i32 0, %43 store i32 %44, i32* %sv_0.2.reg2mem br label LBL_44 LBL_12: %45 = call i64* @memset(i64* nonnull %sv_5, i32 0, i32 24) %46 = call i64* @memcpy(i64* nonnull %sv_5, i64* nonnull %sv_4, i32 24) %47 = load i64, i64* %sv_5, align 8 %48 = trunc i64 %47 to i32 %49 = mul i32 %48, 512 %50 = call i32 @ftruncate(i32 %8, i32 %49) %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_14, label LBL_13 LBL_13: %52 = call i32* @__errno_location() %53 = load i32, i32* %52, align 4 %54 = sub i32 0, %53 store i32 %54, i32* %sv_0.2.reg2mem br label LBL_44 LBL_14: %55 = call i32 @lseek(i32 %15, i32 512, i32 0) %56 = icmp eq i32 %55, -1 %57 = icmp eq i1 %56, false br i1 %57, label LBL_16, label LBL_15 LBL_15: %58 = call i32* @__errno_location() %59 = load i32, i32* %58, align 4 %60 = sub i32 0, %59 store i32 %60, i32* %sv_0.2.reg2mem br label LBL_44 LBL_16: %61 = call i32 @read(i32 %15, i64* nonnull %sv_3, i32 256) %62 = icmp eq i32 %61, 256 br i1 %62, label LBL_18, label LBL_17 LBL_17: %63 = call i32* @__errno_location() %64 = load i32, i32* %63, align 4 %65 = sub i32 0, %64 store i32 %65, i32* %sv_0.2.reg2mem br label LBL_44 LBL_18: %66 = bitcast i64* %sv_3 to i8* %67 = call i8* @strstr(i8* nonnull %66, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %68 = icmp eq i8* %67, null br i1 %68, label LBL_20, label LBL_19 LBL_19: %69 = ptrtoint i8* %67 to i64 %70 = add i64 %69, 4 %71 = inttoptr i64 %70 to i8* %72 = call i32 (i8*, i8*, ...) @sscanf(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i32* nonnull %sv_2) br label LBL_20 LBL_20: %73 = call i8* @strrchr(i8* %7, i32 92) %74 = icmp eq i8* %73, null %75 = ptrtoint i8* %73 to i64 %76 = add i64 %75, 1 %sv_7.0 = select i1 %74, i64 %arg1, i64 %76 %77 = inttoptr i64 %sv_7.0 to i8* %78 = call i8* @strrchr(i8* %77, i32 47) %79 = icmp eq i8* %78, null %80 = ptrtoint i8* %78 to i64 %81 = add i64 %80, 1 %sv_7.1 = select i1 %79, i64 %sv_7.0, i64 %81 %82 = inttoptr i64 %sv_7.1 to i8* %83 = call i8* @strrchr(i8* %82, i32 58) %84 = icmp eq i8* %83, null %85 = ptrtoint i8* %83 to i64 %86 = add i64 %85, 1 %sv_7.2 = select i1 %84, i64 %sv_7.1, i64 %86 %87 = load i32, i32* %sv_2, align 4 %88 = bitcast i64* %sv_1 to i8* %89 = inttoptr i64 %sv_7.2 to i8* %90 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %88, i32 256, i8* getelementptr inbounds ([176 x i8], [176 x i8]* @gv_2, i64 0, i64 0), i32 %87, i32 %87, i8* %14, i32 %6, i8* %89) %91 = call i32 @lseek(i32 %8, i32 512, i32 0) %92 = icmp eq i32 %91, -1 %93 = icmp eq i1 %92, false br i1 %93, label LBL_22, label LBL_21 LBL_21: %94 = call i32* @__errno_location() %95 = load i32, i32* %94, align 4 %96 = sub i32 0, %95 store i32 %96, i32* %sv_0.2.reg2mem br label LBL_44 LBL_22: %97 = call i32 @strlen(i8* nonnull %88) %98 = call i32 @write(i32 %8, i64* nonnull %sv_1, i32 %97) %99 = icmp eq i32 %98, -1 %100 = icmp eq i1 %99, false br i1 %100, label LBL_24, label LBL_23 LBL_23: %101 = call i32* @__errno_location() %102 = load i32, i32* %101, align 4 %103 = sub i32 0, %102 store i32 %103, i32* %sv_0.2.reg2mem br label LBL_44 LBL_24: %104 = and i128 %2, 4294967295 %105 = zext i32 %3 to i128 %106 = mul nuw nsw i128 %104, %105 %107 = trunc i128 %106 to i64 %108 = mul i64 %107, 512 %109 = icmp eq i64 %108, 0 %110 = icmp eq i1 %109, false store i32 -22, i32* %sv_0.2.reg2mem br i1 %110, label LBL_25, label LBL_44 LBL_25: %111 = mul i32 %4, 512 %112 = mul i32 %6, 512 %.lhs.trunc = zext i32 %112 to i64 %113 = udiv i64 %.lhs.trunc, %108 %114 = trunc i64 %113 to i32 %115 = mul i32 %114, 4 %116 = zext i32 %115 to i64 %117 = call i64 @FUNC(i64 %116) %118 = call i32 @lseek(i32 %15, i32 %111, i32 0) %119 = icmp eq i32 %118, -1 %120 = icmp eq i1 %119, false br i1 %120, label LBL_27, label LBL_26 LBL_26: %121 = call i32* @__errno_location() %122 = load i32, i32* %121, align 4 store i32 %122, i32* %.pn.pn.reg2mem br label LBL_43 LBL_27: %123 = inttoptr i64 %117 to i64* %124 = call i32 @read(i32 %15, i64* %123, i32 %115) %125 = sext i32 %124 to i64 %126 = icmp eq i64 %125, %116 br i1 %126, label LBL_29, label LBL_28 LBL_28: %127 = call i32* @__errno_location() %128 = load i32, i32* %127, align 4 store i32 %128, i32* %.pn.pn.reg2mem br label LBL_43 LBL_29: %129 = call i32 @lseek(i32 %8, i32 %111, i32 0) %130 = icmp eq i32 %129, -1 %131 = icmp eq i1 %130, false br i1 %131, label LBL_31, label LBL_30 LBL_30: %132 = call i32* @__errno_location() %133 = load i32, i32* %132, align 4 store i32 %133, i32* %.pn.pn.reg2mem br label LBL_43 LBL_31: %134 = call i32 @write(i32 %8, i64* %123, i32 %115) %135 = icmp eq i32 %134, -1 %136 = icmp eq i1 %135, false br i1 %136, label LBL_33, label LBL_32 LBL_32: %137 = call i32* @__errno_location() %138 = load i32, i32* %137, align 4 store i32 %138, i32* %.pn.pn.reg2mem br label LBL_43 LBL_33: %139 = mul i32 %5, 512 %140 = call i64 @FUNC(i64 %117) %141 = call i64 @FUNC(i64 %116) %142 = call i32 @lseek(i32 %15, i32 %139, i32 0) %143 = icmp eq i32 %142, -1 %144 = icmp eq i1 %143, false br i1 %144, label LBL_35, label LBL_34 LBL_34: %145 = call i32* @__errno_location() store i32* %145, i32** %.pn.in.reg2mem br label LBL_42 LBL_35: %146 = inttoptr i64 %141 to i64* %147 = call i32 @read(i32 %15, i64* %146, i32 %115) %148 = sext i32 %147 to i64 %149 = icmp eq i64 %148, %116 br i1 %149, label LBL_37, label LBL_36 LBL_36: %150 = call i32* @__errno_location() store i32* %150, i32** %.pn.in.reg2mem br label LBL_42 LBL_37: %151 = call i32 @lseek(i32 %8, i32 %139, i32 0) %152 = icmp eq i32 %151, -1 %153 = icmp eq i1 %152, false br i1 %153, label LBL_39, label LBL_38 LBL_38: %154 = call i32* @__errno_location() store i32* %154, i32** %.pn.in.reg2mem br label LBL_42 LBL_39: %155 = call i32 @write(i32 %8, i64* %146, i32 %115) %156 = icmp eq i32 %155, -1 %157 = icmp eq i1 %156, false br i1 %157, label LBL_41, label LBL_40 LBL_40: %158 = call i32* @__errno_location() store i32* %158, i32** %.pn.in.reg2mem br label LBL_42 LBL_41: %159 = call i64 @FUNC(i64 %141) %160 = call i32 @close(i32 %15) %161 = call i32 @close(i32 %8) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_45 LBL_42: %.pn.in.reload = load i32*, i32** %.pn.in.reg2mem %.pn = load i32, i32* %.pn.in.reload, align 4 %162 = call i64 @FUNC(i64 %141) store i32 %.pn, i32* %.pn.pn.reg2mem br label LBL_43 LBL_43: %.pn.pn.reload = load i32, i32* %.pn.pn.reg2mem %sv_0.1 = sub i32 0, %.pn.pn.reload %163 = call i64 @FUNC(i64 %117) store i32 %sv_0.1, i32* %sv_0.2.reg2mem br label LBL_44 LBL_44: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %164 = call i32 @close(i32 %15) %165 = call i32 @close(i32 %8) store i32 %sv_0.2.reload, i32* %rax.0.shrunk.reg2mem br label LBL_45 LBL_45: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %139, { 1, 0 } uselistorder i32 %115, { 4, 3, 2, 1, 0 } uselistorder i32 %111, { 1, 0 } uselistorder i64 %108, { 1, 0 } uselistorder i8* %83, { 1, 0 } uselistorder i8* %78, { 1, 0 } uselistorder i8* %73, { 1, 0 } uselistorder i8* %67, { 1, 0 } uselistorder i32 %8, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12 } uselistorder i64* %sv_5, { 2, 0, 1 } uselistorder i32 %6, { 1, 0 } uselistorder i32** %.pn.in.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %.pn.pn.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 11, 1, 10, 9, 8, 7, 6, 5, 4, 3, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %1, { 3, 2, 1, 0 } uselistorder i64 (i64)* @qemu_free, { 3, 2, 1, 0 } uselistorder i64 (i64)* @qemu_malloc, { 1, 0 } uselistorder i8* (i8*, i32)* @strrchr, { 2, 1, 0 } uselistorder i32 256, { 1, 0, 2 } uselistorder i32 (i32, i64*, i32)* @write, { 3, 2, 1, 0 } uselistorder i32 (i32, i64*, i32)* @read, { 3, 2, 1, 0 } uselistorder i32 512, { 2, 0, 1, 5, 6, 3, 7, 4, 8 } uselistorder i32 (i32, i32, i32)* @lseek, { 0, 6, 7, 2, 1, 5, 4, 3 } uselistorder i32 (i32)* @close, { 4, 3, 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 12, 6, 7, 8, 13, 14, 15, 9, 16, 17, 18, 0, 1, 2, 3, 4, 5, 10, 11 } uselistorder label LBL_44, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } }
1
BinRealVul
ftp_status_3129
ftp_status
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i8 %storemerge.in.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %storemerge110.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.18.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_2.0.ph.ph.reg2mem = alloca i1 %sv_3.0.ph.ph.reg2mem = alloca i32 %sv_0.0.ph.ph.reg2mem = alloca i32 %1 = load i8, i8* %0 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %2 = icmp eq i64* %arg2, null br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64* nonnull %sv_4, i64 0, i64 0) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = ptrtoint i64* %sv_5 to i64 %8 = bitcast i64* %sv_4 to i8* %9 = add i64 %7, -1056 %10 = icmp eq i8 %1, 45 %11 = zext i1 %10 to i32 %12 = bitcast i64* %arg3 to i32* store i32 0, i32* %sv_0.0.ph.ph.reg2mem store i32 0, i32* %sv_3.0.ph.ph.reg2mem store i1 true, i1* %sv_2.0.ph.ph.reg2mem br label LBL_3 LBL_3: %sv_2.0.ph.ph.reload = load i1, i1* %sv_2.0.ph.ph.reg2mem %sv_3.0.ph.ph.reload = load i32, i32* %sv_3.0.ph.ph.reg2mem %sv_0.0.ph.ph.reload = load i32, i32* %sv_0.0.ph.ph.reg2mem store i32 %sv_0.0.ph.ph.reload, i32* %sv_0.0.ph.reg2mem br label LBL_18 LBL_4: %13 = call i64 @FUNC(i64 %6, i64* nonnull %sv_4, i64 1024) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_5 LBL_5: store i32 %14, i32* %storemerge.in.reg2mem br i1 %2, label LBL_22, label LBL_6 LBL_6: %17 = call i64 @FUNC(i64* nonnull %sv_4, i64 0) store i32 %14, i32* %storemerge.in.reg2mem br label LBL_22 LBL_7: %18 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_4) %19 = call i32 @strlen(i8* nonnull %8) %20 = icmp ult i32 %19, 4 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.18.reg2mem br i1 %20, label LBL_19, label LBL_8 LBL_8: %sv_1.18.reload = load i32, i32* %sv_1.18.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = add nuw nsw i64 %9, %indvars.iv.reload %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %.off = add i8 %23, -48 %24 = icmp ugt i8 %.off, 9 store i32 %sv_1.18.reload, i32* %sv_1.0.reg2mem br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = mul i32 %sv_1.18.reload, 10 %26 = sext i8 %23 to i32 %27 = add i32 %25, -48 %28 = add i32 %27, %26 store i32 %28, i32* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.18.reg2mem br i1 %exitcond, label LBL_11, label LBL_8 LBL_11: %29 = load i32, i32* %12, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem store i32 0, i32* %storemerge110.reg2mem br i1 %31, label LBL_12, label LBL_17 LBL_12: %.reload = load i32, i32* %.reg2mem %32 = icmp eq i32 %sv_1.0.reload, %.reload %33 = icmp eq i1 %32, false br i1 %33, label LBL_16, label LBL_13 LBL_13: br i1 %2, label LBL_15, label LBL_14 LBL_14: %34 = call i64 @FUNC(i64* nonnull %sv_4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_4) br label LBL_15 LBL_15: store i32 %11, i32* %sv_0.0.ph.ph.reg2mem store i32 %sv_1.0.reload, i32* %sv_3.0.ph.ph.reg2mem store i1 false, i1* %sv_2.0.ph.ph.reg2mem br label LBL_3 LBL_16: %storemerge110.reload = load i32, i32* %storemerge110.reg2mem %35 = add i32 %storemerge110.reload, 1 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 4 %38 = add i64 %37, %4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i32 %40, i32* %.reg2mem store i32 %35, i32* %storemerge110.reg2mem br i1 %42, label LBL_12, label LBL_17 LBL_17: store i32 %11, i32* %sv_0.0.ph.reg2mem br label LBL_18 LBL_18: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %43 = icmp eq i32 %sv_0.0.ph.reload, 0 %44 = icmp eq i1 %43, false %or.cond4 = or i1 %sv_2.0.ph.ph.reload, %44 br label LBL_19 LBL_19: br i1 %or.cond4, label LBL_4, label LBL_20 LBL_20: store i32 %sv_3.0.ph.ph.reload, i32* %storemerge.in.reg2mem br i1 %2, label LBL_22, label LBL_21 LBL_21: %45 = call i64 @FUNC(i64* nonnull %sv_4, i64 %5) store i32 %sv_3.0.ph.ph.reload, i32* %storemerge.in.reg2mem br label LBL_22 LBL_22: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = zext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder i32 %sv_1.0.reload, { 1, 0, 2 } uselistorder i8 %23, { 1, 0 } uselistorder i32 %sv_1.18.reload, { 1, 0 } uselistorder i32 %14, { 1, 0, 2 } uselistorder i32 %sv_3.0.ph.ph.reload, { 1, 0 } uselistorder i1 %2, { 0, 2, 1, 3 } uselistorder i64* %sv_4, { 0, 1, 2, 4, 5, 6, 3, 7 } uselistorder i32* %sv_0.0.ph.ph.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.0.ph.ph.reg2mem, { 2, 0, 1 } uselistorder i1* %sv_2.0.ph.ph.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.18.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge110.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i1 false, { 2, 4, 0, 3, 1, 5 } uselistorder i32 0, { 5, 6, 0, 4, 1, 7, 2, 3 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_22, { 1, 0, 3, 2 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kernel_zimage_load_6123
kernel_zimage_load
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %3, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %4, i64* %arg1, align 8 %11 = add i64 %10, %4 %12 = call i64 @FUNC(i64 %3, i64 %4, i64 %11) %13 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %11, i64 %2, i64 %1) %14 = icmp eq i64 %10, 0 store i64 0, i64* %storemerge2.reg2mem store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %14, label LBL_4, label LBL_1 LBL_1: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %15 = add i64 %storemerge2.reload, %4 %16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_0, i64 0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_3: %20 = and i64 %storemerge2.reload, -4096 %21 = sub i64 4096, %20 %22 = icmp ugt i64 %10, %21 %23 = select i1 %22, i64 %21, i64 %10 %24 = load i64, i64* %sv_0, align 8 %25 = udiv i64 %24, 4096 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %storemerge2.reload, %7 %28 = add i64 %26, %20 %29 = call i64 @FUNC(i64 %28, i64 %27, i64 %23) %30 = call i64 @FUNC(i64 %26) %31 = add i64 %23, %storemerge2.reload %32 = icmp ult i64 %31, %10 store i64 %31, i64* %storemerge2.reg2mem store i64 %31, i64* %storemerge.lcssa.reg2mem br i1 %32, label LBL_1, label LBL_4 LBL_4: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %26, { 1, 0 } uselistorder i64 %storemerge2.reload, { 3, 2, 0, 1 } uselistorder i64 %10, { 4, 3, 2, 1, 0 } uselistorder i64 %4, { 0, 2, 3, 1, 4 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ff_wma_end_1594
ff_wma_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i32 %.reg2mem6 = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge25.reg2mem br label LBL_2 LBL_2: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %6, align 8 %9 = mul i64 %.reload, 8 %10 = add i64 %8, %9 %11 = call i64 @FUNC(i64 %10) %12 = add i32 %storemerge25.reload, 1 %13 = sext i32 %12 to i64 %14 = icmp sgt i64 %7, %13 store i64 %13, i64* %.reg2mem store i32 %12, i32* %storemerge25.reg2mem br i1 %14, label LBL_2, label LBL_3 LBL_3: %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %.reg2mem6 store i32 0, i32* %storemerge14.reg2mem br label LBL_4 LBL_4: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %.reload7 = load i64, i64* %.reg2mem6 %17 = load i64, i64* %16, align 8 %18 = mul i64 %.reload7, 8 %19 = add i64 %17, %18 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) %23 = add i32 %storemerge14.reload, 1 %24 = sext i32 %23 to i64 %25 = icmp sgt i64 %7, %24 store i64 %24, i64* %.reg2mem6 store i32 %23, i32* %storemerge14.reg2mem br i1 %25, label LBL_4, label LBL_5 LBL_5: %26 = add i64 %2, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add i64 %2, 32 %31 = call i64 @FUNC(i64 %30) br label LBL_7 LBL_7: %32 = add i64 %2, 28 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = add i64 %2, 40 %37 = call i64 @FUNC(i64 %36) br label LBL_9 LBL_9: %38 = add i64 %2, 48 %39 = inttoptr i64 %38 to i64* %40 = add i64 %2, 56 %41 = inttoptr i64 %40 to i64* %42 = add i64 %2, 64 %43 = inttoptr i64 %42 to i64* %44 = add i64 %2, 72 %45 = inttoptr i64 %44 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %46 = load i64, i64* %39, align 8 %47 = mul i64 %indvars.iv.reload, 8 %48 = add i64 %46, %47 %49 = call i64 @FUNC(i64 %48) %50 = load i64, i64* %41, align 8 %51 = add i64 %50, %47 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53) %55 = load i64, i64* %43, align 8 %56 = add i64 %55, %47 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = call i64 @FUNC(i64 %58) %60 = load i64, i64* %45, align 8 %61 = add i64 %60, %47 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = call i64 @FUNC(i64 %63) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: ret i64 0 uselistorder i64 %47, { 3, 2, 1, 0 } uselistorder i64 %2, { 0, 1, 2, 3, 5, 4, 8, 7, 6, 9 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem6, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @free_vlc, { 2, 1, 0 } uselistorder i64 (i64)* @av_free, { 3, 2, 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
hci_conn_put_17596
hci_conn_put
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = add i64 %0, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp ne i32 %6, 1 %8 = icmp eq i32 %6, 2 %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %10 = add i64 %0, 40 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 3 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i8* %23 = load i8, i8* %22, align 1 %24 = icmp ne i8 %23, 1 %25 = zext i1 %24 to i64 %spec.select = shl i64 %20, %25 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_6 LBL_4: %26 = call i64 @FUNC(i64 10) store i64 %26, i64* %sv_0.0.reg2mem br label LBL_6 LBL_5: %27 = call i64 @FUNC(i64 10) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = add i64 %0, 48 %29 = call i64 @FUNC(i64 %28) %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34, i64 %28, i64 %sv_0.0.reload) store i64 %35, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 2, 1, 0, 5, 4, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @msecs_to_jiffies, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
gen_ove_cyov_16211
gen_ove_cyov
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC() %6 = zext i32 %arg3 to i64 %7 = and i64 %5, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %4, i64 %6) %9 = load i64, i64* @gv_0, align 8 %10 = call i64 @FUNC(i64 %9, i64 %7) %11 = call i64 @FUNC(i64 %7) store i64 %11, 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 4294967295, { 1, 0 } }
1
BinRealVul
tcg_target_init_200
tcg_target_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* @gv_0, align 4 %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3, i64 0, i64 4294967295) %5 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6, i64 0, i64 8185) %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %8, i64 0) %11 = call i64 @FUNC(i64 %8, i64 1) %12 = call i64 @FUNC(i64 %8, i64 2) %13 = load i64, i64* @gv_1, align 8 %14 = call i64 @FUNC(i64 %13) ret i64 %14 uselistorder i64 %8, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @tcg_regset_set_reg, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_regset_set32, { 1, 0 } }
0
BinRealVul
strshare_get_18470
strshare_get
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32* %0 = ptrtoint i8* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, 1 store i32 %6, i32* %4, align 4 store i32* %4, i32** %sv_0.0.reg2mem br label LBL_3 LBL_2: %7 = call i32 @strlen(i8* %arg1) %8 = sext i32 %7 to i64 %9 = add nsw i64 %8, 5 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 %12 = add i64 %10, 4 %13 = inttoptr i64 %12 to i8* %14 = call i8* @strcpy(i8* %13, i8* %arg1) %15 = load i64, i64* @gv_0, align 8 %16 = call i64 @FUNC(i64 %15, i64 %12, i64 %10) store i32* %11, i32** %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %17 = ptrtoint i32* %sv_0.0.reload to i64 %18 = add i64 %17, 4 ret i64 %18 uselistorder i64 %10, { 1, 2, 0 } uselistorder i32* %4, { 0, 2, 1 } uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 } }
1
BinRealVul
_nfs4_open_delegation_recall_8407
_nfs4_open_delegation_recall
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = icmp ult i64 %2, -1000 store i64 %2, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = inttoptr i64 %2 to i32* %5 = ptrtoint i64* %arg3 to i64 store i32 1, i32* %4, align 4 %6 = add i64 %2, 4 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = call i64 @FUNC(i64 %2, i64 %0) %9 = call i64 @FUNC(i64 %2) %10 = and i64 %8, 4294967295 store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 2, 3, 5, 0, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
virtio_scsi_handle_event_vq_15640
virtio_scsi_handle_event_vq
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0) %7 = call i64 @FUNC(i64 %2) store i64 1, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @virtio_scsi_release, { 1, 0 } }
1
BinRealVul
jbig2_hd_release_9124
jbig2_hd_release
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.1.lcssa.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %rsi.11.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i32 %0 = icmp eq i64* %arg2, null br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i32 %5, i32* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %storemerge2.reg2mem store i64 %1, i64* %rsi.11.reg2mem store i64 %1, i64* %rsi.1.lcssa.reg2mem br i1 %6, label LBL_5, label LBL_2 LBL_2: %rsi.11.reload = load i64, i64* %rsi.11.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %.reload = load i32, i32* %.reg2mem %7 = mul i64 %.reload4, 8 %8 = add i64 %rsi.11.reload, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 store i32 %.reload, i32* %.reg2mem5 store i64 %rsi.11.reload, i64* %rsi.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %2, i64 %10) %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem5 store i64 %10, i64* %rsi.0.reg2mem br label LBL_4 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %.reload6 = load i32, i32* %.reg2mem5 %13 = add i32 %storemerge2.reload, 1 %14 = zext i32 %.reload6 to i64 %15 = sext i32 %13 to i64 %16 = icmp slt i64 %15, %14 store i32 %.reload6, i32* %.reg2mem store i64 %15, i64* %.reg2mem3 store i32 %13, i32* %storemerge2.reg2mem store i64 %rsi.0.reload, i64* %rsi.11.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.lcssa.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_5: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %17 = call i64 @FUNC(i64 %2, i64 %rsi.1.lcssa.reload) %18 = call i64 @FUNC(i64 %2, i64 %1) store i64 %18, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload6, { 1, 0 } uselistorder i64 %1, { 2, 0, 1, 3 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem3, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.11.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @jbig2_free, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ipmi_destroy_user_6254
ipmi_destroy_user
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1, i64 4198721) ret i64 0 }
0
BinRealVul
mirror_set_speed_18696
mirror_set_speed
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp slt i64 %arg2, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = ashr i64 %arg2, 9 %6 = call i64 @FUNC(i64 %4, i64 %5, i64 1000) store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
picoquic_decode_new_connection_id_frame_13262
picoquic_decode_new_connection_id_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %rdi.27.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i8, align 1 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 store i64 0, i64* %sv_4, align 8 store i64 0, i64* %sv_3, align 8 store i8 0, i8* %sv_2, align 1 %3 = add i64 %1, 1 %4 = call i64 @FUNC(i64 %3, i64 %0, i64* nonnull %sv_4) %5 = icmp eq i64 %4, 0 store i64 0, i64* %sv_0.15.reg2mem br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %4, i64 %0, i64* nonnull %sv_3) %7 = icmp eq i64 %6, 0 store i64 0, i64* %sv_0.15.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %6, i64 %0, i8* nonnull %sv_2) %9 = icmp eq i64 %8, 0 store i64 0, i64* %sv_0.15.reg2mem br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = load i8, i8* %sv_2, align 1 %11 = zext i8 %10 to i64 %12 = add nuw nsw i64 %11, 16 %13 = call i64 @FUNC(i64 %8, i64 %0, i64 %12) %14 = icmp ne i64 %13, 0 %15 = load i8, i8* %sv_2, align 1 %16 = icmp ult i8 %15, 21 %or.cond = icmp eq i1 %14, %16 store i64 %13, i64* %sv_0.15.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_4: %17 = load i64, i64* %sv_3, align 8 %18 = load i64, i64* %sv_4, align 8 %19 = icmp ugt i64 %17, %18 store i64 %13, i64* %sv_0.15.reg2mem br i1 %19, label LBL_5, label LBL_6 LBL_5: %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem %20 = icmp eq i64 %sv_0.15.reload, 0 %21 = icmp eq i1 %20, false %. = select i1 %21, i64 2, i64 1 %22 = call i64 @FUNC(i64 %2, i64 %., i64 3) store i64 %sv_0.15.reload, i64* %sv_0.2.reg2mem br label LBL_13 LBL_6: %23 = icmp ult i64 %8, %17 %24 = icmp eq i1 %23, false store i64 %18, i64* %.reg2mem store i64 %8, i64* %rdi.27.reg2mem store i32 0, i32* %sv_1.06.reg2mem br i1 %24, label LBL_9, label LBL_7 LBL_7: %25 = call i64 @FUNC(i64 %2, i64 %17, i64 %arg4) %26 = trunc i64 %25 to i32 %sext = mul i32 %26, 65536 %27 = ashr exact i32 %sext, 16 %28 = trunc i32 %27 to i16 %29 = icmp eq i16 %28, 0 %30 = icmp eq i1 %29, false store i32 %27, i32* %sv_1.1.reg2mem br i1 %30, label LBL_11, label LBL_7.LBL_9_crit_edge LBL_8: %.pre = load i64, i64* %sv_4, align 8 store i64 %.pre, i64* %.reg2mem store i64 %2, i64* %rdi.27.reg2mem store i32 %27, i32* %sv_1.06.reg2mem br label LBL_9 LBL_9: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %rdi.27.reload = load i64, i64* %rdi.27.reg2mem %.reload = load i64, i64* %.reg2mem %31 = icmp ugt i64 %rdi.27.reload, %.reload store i32 %sv_1.06.reload, i32* %sv_1.1.reg2mem br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = add i64 %8, %11 %33 = load i8, i8* %sv_2, align 1 %34 = zext i8 %33 to i64 %35 = call i64 @FUNC(i64 %2, i64 %.reload, i64 %34, i64 %8, i64 %32, i64 0) %36 = trunc i64 %35 to i32 %sext2 = mul i32 %36, 65536 %37 = ashr exact i32 %sext2, 16 store i32 %37, i32* %sv_1.1.reg2mem br label LBL_11 LBL_11: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %38 = trunc i32 %sv_1.1.reload to i16 %39 = icmp eq i16 %38, 0 store i64 %13, i64* %sv_0.2.reg2mem br i1 %39, label LBL_13, label LBL_12 LBL_12: %40 = urem i32 %sv_1.1.reload, 65536 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %41, i64 3) store i64 0, i64* %sv_0.2.reg2mem br label LBL_13 LBL_13: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem ret i64 %sv_0.2.reload uselistorder i32 %sv_1.1.reload, { 1, 0 } uselistorder i32 %27, { 1, 0, 2 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %8, { 3, 1, 0, 2, 5, 4 } uselistorder i64* %sv_4, { 0, 2, 1, 3 } uselistorder i64* %sv_3, { 1, 0, 2 } uselistorder i8* %sv_2, { 2, 0, 3, 1, 4 } uselistorder i64 %2, { 3, 2, 0, 1, 4 } uselistorder i64 %0, { 2, 0, 1, 3 } uselistorder i64* %sv_0.15.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.27.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.06.reg2mem, { 0, 2, 1 } uselistorder i32 65536, { 2, 0, 1, 3 } uselistorder i64 (i64, i64, i64)* @picoquic_connection_error, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @picoquic_frames_varint_decode, { 1, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_5, { 4, 3, 2, 0, 1 } }
1
BinRealVul
__napi_alloc_skb_3800
__napi_alloc_skb
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = add i32 %0, 18 %4 = icmp ult i32 %3, 4097 %5 = urem i64 %arg3, 4 %6 = icmp eq i64 %5, 0 %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %1, 4294967295 %8 = zext i32 %3 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7, i64 0, i64 0) store i64 %9, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %10 = add i64 %arg2, 25 %11 = and i64 %10, 4294967288 %12 = call i64 @FUNC() %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = or i64 %1, 4 %sv_0.0 = select i1 %14, i64 %1, i64 %15 %16 = and i64 %sv_0.0, 4294967295 %17 = call i64 @FUNC(i64 %2, i64 %11, i64 %16) %18 = icmp eq i64 %17, 0 %19 = zext i1 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_8 LBL_3: %23 = call i64 @FUNC(i64 %17, i64 %11) %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i64 %26 = call i64 @FUNC(i64 %25) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %30 = inttoptr i64 %2 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = inttoptr i64 %23 to i32* store i32 1, i32* %33, align 4 br label LBL_7 LBL_7: %34 = add i64 %23, 4 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = call i64 @FUNC(i64 %23, i64 18) %37 = add i64 %23, 8 %38 = inttoptr i64 %37 to i64* store i64 %23, i64* %38, align 8 store i64 %23, 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 %23, { 0, 3, 1, 2, 4, 5, 6 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder i64 4, { 2, 1, 0, 3 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0, 3 } }
0
BinRealVul
rtnl_setlink_4398
rtnl_setlink
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %2) %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %1, i64 4, i64* nonnull %sv_2, i64 32, i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 store i64 %6, i64* %sv_0.0.reg2mem br i1 %8, label LBL_11, label LBL_1 LBL_1: %9 = icmp eq i64 %3, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_1, i64 %3, i64 16) br label LBL_4 LBL_3: store i64 0, i64* %sv_1, align 8 br label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %1) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp slt i32 %13, 1 br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = zext i32 %13 to i64 %16 = call i64 @FUNC(i64 %4, i64 %15) store i64 %16, i64* %storemerge.reg2mem br label LBL_8 LBL_6: store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %9, label LBL_11, label LBL_7 LBL_7: %17 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1) store i64 %17, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem %18 = icmp eq i64 %storemerge.reload, 0 %19 = icmp eq i1 %18, false store i64 4294967277, i64* %sv_0.0.reg2mem br i1 %19, label LBL_9, label LBL_11 LBL_9: %20 = call i64 @FUNC(i64 %storemerge.reload, i64* nonnull %sv_2) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 store i64 %20, i64* %sv_0.0.reg2mem br i1 %22, label LBL_11, label LBL_10 LBL_10: %23 = call i64 @FUNC(i64 %2, i64 %storemerge.reload, i64 %11, i64* nonnull %sv_2, i64* nonnull %sv_1, i64 0) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = and i64 %sv_0.0.reload, 4294967295 ret i64 %24 uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_1, { 0, 1, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder label LBL_11, { 4, 1, 0, 2, 3 } }
0
BinRealVul
config_network_ipv4_gateway_4679
config_network_ipv4_gateway
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = call i64* @malloc(i32 4) %5 = icmp eq i64* %4, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_1 to i64*), i32 1, i32 40, %_IO_FILE* %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %9 = icmp eq i64 %arg2, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_2 to i64*), i32 1, i32 34, %_IO_FILE* %11) call void @free(i64* %4) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %13 = inttoptr i64 %arg2 to i8* %14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_6 LBL_6: call void @free(i64* %4) %17 = inttoptr i64 %1 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %1, 8 %19 = inttoptr i64 %18 to i8* store i8 1, i8* %19, align 1 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %20 = call i32 @inet_pton(i32 2, i8* %13, i64* %4) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_9, label LBL_8 LBL_8: %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i8* %13) call void @free(i64* %4) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %25 = ptrtoint i64* %4 to i64 %26 = inttoptr i64 %1 to i64* store i64 %25, i64* %26, align 8 %27 = add i64 %1, 8 %28 = inttoptr i64 %27 to i8* store i8 0, i8* %28, align 1 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* %4, { 5, 0, 1, 2, 3, 4 } uselistorder i64 %1, { 2, 3, 0, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 1, 5, 4, 3 } uselistorder i8 0, { 1, 2, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i64* (i32)* @malloc, { 1, 0 } uselistorder i64 4294967295, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_10, { 1, 3, 0, 4, 5, 2 } }
0
BinRealVul
init_state_4406
init_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 = call i64* @memset(i64* %arg1, i32 0, i32 24) %2 = bitcast i64* %arg1 to i32* store i32 1, i32* %2, align 4 %3 = call i64 @FUNC(i64 0, i64 0) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = icmp eq i64 %3, 0 %7 = icmp eq i1 %6, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_3 LBL_1: %8 = call i64 @FUNC(i64 0, i64 0) %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = icmp eq i64 %8, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load i64, i64* %5, align 8 %14 = call i64 @FUNC(i64 %13) store i64 4294967284, 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* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64, i64)* @kzalloc, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
regulator_mode_to_status_9722
regulator_mode_to_status
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 4 store i64 40, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = icmp ult i32 %0, 5 store i64 50, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_4 LBL_2: %3 = icmp eq i32 %0, 3 store i64 30, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_3 LBL_3: %switch.selectcmp = icmp eq i32 %0, 2 %switch.select = select i1 %switch.selectcmp, i64 20, i64 50 %switch.selectcmp2 = icmp eq i32 %0, 1 %switch.select3 = select i1 %switch.selectcmp2, i64 10, i64 %switch.select store i64 %switch.select3, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %0, { 3, 2, 1, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64 50, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_4, { 1, 3, 0, 2 } }
0
BinRealVul
io_splice_6878
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-phi5.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 11, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_10 LBL_1: %6 = and i64 %arg2, 4294967295 %7 = and i32 %3, 2 %8 = zext i32 %7 to i64 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64 %0, i32 %11, i64 %8, i64 %6) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_1.LBL_7_crit_edge LBL_2: %.pre = add i64 %0, 32 %.pre4 = inttoptr i64 %.pre to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem store i64 9, i64* %sv_0.1.reg2mem br label LBL_7 LBL_3: %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = and i32 %3, -3 %23 = add i64 %0, 16 %24 = add i64 %0, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, -1 %storemerge2 = select i1 %27, i64 0, i64 %24 %28 = inttoptr i64 %23 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, -1 %storemerge3 = select i1 %30, i64 0, i64 %23 %31 = zext i32 %22 to i64 %32 = call i64 @FUNC(i64 %15, i64 %storemerge3, i64 %0, i64 %storemerge2, i64 %20, i64 %31) store i64 %32, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %33 = load i32, i32* %2, align 4 %34 = and i32 %33, 2 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false store i64* %19, i64** %.pre-phi5.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: %37 = call i64 @FUNC(i64 %15) store i64* %19, i64** %.pre-phi5.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-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %38 = load i64, i64* %.pre-phi5.reload, align 8 %39 = icmp eq i64 %38, %sv_0.1.reload br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = call i64 @FUNC(i64 %0) br label LBL_9 LBL_9: %41 = 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 %15, { 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 i64 %arg2, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } }
0
BinRealVul
etm_event_start_8854
etm_event_start
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 4210717) %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_9, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2, i64 %0) %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_9, label LBL_2 LBL_2: %sext = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext, 29 %9 = add i64 %6, %8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i64 %12, 0 store i64 1, i64* %storemerge.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %sext3 = mul i64 %12, 4294967296 %14 = ashr exact i64 %sext3, 32 %15 = call i64 @FUNC(i64 %14) %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %spec.select = zext i1 %18 to i64 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %19 = call i64 @FUNC(i64 %storemerge.reload) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_5 LBL_5: %23 = trunc i64 %12 to i32 %sext4 = mul i64 %12, 4294967296 %24 = ashr exact i64 %sext4, 32 %25 = call i64 @FUNC(i64 %24) %26 = icmp eq i32 %23, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = load i64, i64* %10, align 8 %29 = call i64 @FUNC(i64 %28, i64 0) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = trunc i64 %4 to i32 %34 = bitcast i64* %arg1 to i32* store i32 0, i32* %34, align 4 %sext6 = mul i64 %4, 4294967296 %35 = ashr exact i64 %sext6, 32 %36 = call i64 @FUNC(i64 %35) %37 = icmp eq i32 %33, 0 %38 = icmp eq i1 %37, false store i64 %35, i64* %rax.0.reg2mem br i1 %38, label LBL_8, label LBL_10 LBL_8: %39 = call i64 @FUNC(i64 %2, i64 0, i64 1) br label LBL_9 LBL_9: %40 = bitcast i64* %arg1 to i32* store i32 1, i32* %40, align 4 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 %12, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @sink_ops, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
mpegts_read_close_14286
mpegts_read_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %arg1 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %arg1, i64 %4) br label LBL_3 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 0, 2 } }
1
BinRealVul
arcSegmentSide_10370
arcSegmentSide
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i1 %rax.0.reg2mem = alloca i64 %xmm0.0.reg2mem = alloca i128 %1 = load i1, i1* %0 %2 = load i1, i1* %0 %3 = load i1, i1* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i128 @FUNC(i64 %4) %8 = call i128 @FUNC(i64 %6) %9 = call i128 @FUNC(i128 %7) %10 = call i128 @FUNC(i128 %9, i128 %8) %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i128 @FUNC(i64 %13) %15 = add i64 %6, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i128 @FUNC(i64 %17) %19 = call i128 @FUNC(i128 %14, i128 %18) %20 = call i128 @FUNC(i128 %19, i128 %10) %21 = call i128 @FUNC(i64 %5) %22 = call i128 @FUNC(i64 %6) %23 = call i128 @FUNC(i128 %21) %24 = call i128 @FUNC(i128 %23, i128 %22) %25 = add i64 %4, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i128 @FUNC(i64 %27) %29 = load i64, i64* %16, align 8 %30 = call i128 @FUNC(i64 %29) %31 = call i128 @FUNC(i128 %28, i128 %30) %32 = call i128 @FUNC(i128 %31, i128 %24) %33 = call i128 @FUNC(i128 %20, i128 %32) %34 = call i64 @__asm_movsd.1(i128 %33) %35 = call i128 @FUNC(i128 %33, i128 %33) call void @FUNC(i128 %35, i64 %34) store i128 %35, i128* %xmm0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %36 = call i128 @FUNC(i128 %35, i128 %35) call void @FUNC(i128 %36, i64 %34) %37 = icmp eq i1 %1, false store i128 %36, i128* %xmm0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_2, label LBL_3 LBL_2: %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %38 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) %39 = sext i64 %34 to i128 call void @FUNC(i128 %38, i128 %39) %40 = or i1 %1, %3 %. = select i1 %40, i64 2, i64 1 store i64 %., i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %35, { 2, 1, 0, 3 } uselistorder i128 %33, { 2, 1, 0 } uselistorder i64 %6, { 2, 0, 1 } uselistorder i64 %5, { 1, 0 } uselistorder i1 %1, { 1, 0 } uselistorder i1* %0, { 2, 1, 0 } }
0
BinRealVul
kvm_mmu_remove_some_alloc_mmu_pages_17986
kvm_mmu_remove_some_alloc_mmu_pages
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1, i64 %4, i64 %0) ret i64 %5 }
1
BinRealVul
test_none_16259
test_none
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = ptrtoint i64* %sv_1 to i64 %1 = trunc i64 %0 to i8 %2 = add i8 %1, -16 %3 = call i8 @llvm.ctpop.i8(i8 %2), !range !11 %4 = urem i8 %3, 2 %5 = icmp eq i8 %4, 0 %6 = call i64 @FUNC(i64* nonnull %sv_0) %7 = call i128 @FUNC(i64* nonnull %sv_0) call void @FUNC(i128 %7, i128 %7) br i1 %5, label LBL_2, label LBL_1 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %10 = call i128 @FUNC(i64* nonnull %sv_0) call void @FUNC(i128 %10, i128 %10) %11 = call i128 @FUNC(i64* nonnull %sv_0) call void @FUNC(i128 %11, i128 %11) %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) store i64 %12, i64* %sv_0, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %16 = call i64 @FUNC(i64* nonnull %sv_0, i64 2) store i64 %16, i64* %sv_0, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_6: %20 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %20 uselistorder i128 %11, { 1, 0 } uselistorder i128 %10, { 1, 0 } uselistorder i128 %7, { 1, 0 } uselistorder i64* %sv_0, { 0, 7, 1, 8, 2, 3, 4, 5, 6 } uselistorder i64 (i64*, i64)* @qdist_pr_plain, { 1, 0 } uselistorder void (i32)* @exit, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32 1, { 2, 3, 4, 6, 5, 1, 0 } }
1
BinRealVul
get_dirfd_19267
get_dirfd
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %sv_0.0.ph.lcssa.reg2mem = alloca i32 %sv_0.0.ph39.reg2mem = alloca i32 %sv_1.0.ph40.in.reg2mem = alloca i8* %sv_2.2.ph41.reg2mem = alloca i32 %sv_3.03396.reg2mem = alloca i64 %.reg2mem126 = alloca i1 %.reg2mem124 = alloca i64 %.reg2mem122 = alloca i32 %.lcssa82.reg2mem = alloca i64 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_2.146.reg2mem = alloca i32 %storemerge5.in47.reg2mem = alloca i64 %.reg2mem = alloca i8 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = load i64, i64* %0 %7 = load i64, i64* %0 %8 = load i32, i32* %1 %9 = load i32, i32* %1 %sv_4 = alloca i64, align 8 %10 = load i32, i32* %1 %11 = icmp ne i64 %arg1, 0 %12 = trunc i64 %4 to i8 %13 = icmp eq i8 %12, 47 %or.cond = icmp eq i1 %11, %13 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: %14 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %15 = ptrtoint [10 x i8]* %14 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %5, i64 %6, i64 %3, i64 %2) unreachable LBL_2: %17 = call i32 (i32, i8*, i32, ...) @openat(i32 %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i32 0) %18 = icmp eq i32 %17, -1 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i32* @__errno_location() %21 = load i32, i32* %20, align 4 %22 = call i8* @strerror(i32 %21) %23 = ptrtoint i8* %22 to i64 %24 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %25 = ptrtoint [10 x i8]* %24 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i64 %25, i64 %23, i64 %6, i64 %3, i64 %2) unreachable LBL_4: %27 = call i64 @FUNC(i64 %arg1) %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 0 %31 = icmp eq i1 %30, false store i8 %29, i8* %.reg2mem store i64 %27, i64* %storemerge5.in47.reg2mem store i32 0, i32* %sv_2.146.reg2mem store i32 0, i32* %sv_2.1.lcssa.reg2mem br i1 %31, label LBL_5, label LBL_6 LBL_5: %sv_2.146.reload = load i32, i32* %sv_2.146.reg2mem %storemerge5.in47.reload = load i64, i64* %storemerge5.in47.reg2mem %.reload = load i8, i8* %.reg2mem %32 = icmp eq i8 %.reload, 47 %33 = zext i1 %32 to i32 %spec.select = add i32 %sv_2.146.reload, %33 %34 = add i64 %storemerge5.in47.reload, 1 %storemerge5 = inttoptr i64 %34 to i8* %35 = load i8, i8* %storemerge5, align 1 %36 = icmp eq i8 %35, 0 %37 = icmp eq i1 %36, false store i8 %35, i8* %.reg2mem store i64 %34, i64* %storemerge5.in47.reg2mem store i32 %spec.select, i32* %sv_2.146.reg2mem store i32 %spec.select, i32* %sv_2.1.lcssa.reg2mem br i1 %37, label LBL_5, label LBL_6 LBL_6: %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %38 = call i8* @strtok(i8* %28, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %39 = icmp sgt i32 %17, 0 %40 = icmp ne i8* %38, null %or.cond.not37 = icmp eq i1 %39, %40 %41 = icmp sgt i32 %sv_2.1.lcssa.reload, 1 %or.cond838 = icmp eq i1 %41, %or.cond.not37 store i32 %17, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %or.cond838, label LBL_7, label LBL_21 LBL_7: %42 = trunc i64 %arg2 to i8 %43 = icmp eq i8 %42, 1 %spec.select9 = select i1 %43, i32 0, i32 131072 %44 = bitcast i64* %sv_4 to %stat* %45 = and i32 %9, 61440 %46 = icmp eq i32 %45, 40960 %47 = icmp eq i1 %46, false %48 = icmp eq i32 %8, 0 %49 = trunc i64 %7 to i32 %50 = add i32 %49, 1 %51 = sext i32 %50 to i64 store i32 %sv_2.1.lcssa.reload, i32* %sv_2.2.ph41.reg2mem store i8* %38, i8** %sv_1.0.ph40.in.reg2mem store i32 %17, i32* %sv_0.0.ph39.reg2mem br label LBL_20 LBL_8: %.lcssa82.reload = load i64, i64* %.lcssa82.reg2mem %52 = call i32* @__errno_location() %53 = load i32, i32* %52, align 4 %54 = call i8* @strerror(i32 %53) %55 = ptrtoint i8* %54 to i64 %56 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %57 = ptrtoint [10 x i8]* %56 to i64 %58 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 %57, i64 %arg1, i64 %.lcssa82.reload, i64 %55, i64 %2) unreachable LBL_9: %.reload123 = load i32, i32* %.reg2mem122 %59 = call i32 @fstat(i32 %.reload123, %stat* nonnull %44) %60 = icmp eq i32 %59, -1 %61 = icmp eq i1 %60, false br i1 %61, label LBL_11, label LBL_10 LBL_10: %62 = call i32* @__errno_location() %63 = load i32, i32* %62, align 4 %64 = call i8* @strerror(i32 %63) %65 = ptrtoint i8* %64 to i64 %66 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %67 = ptrtoint [10 x i8]* %66 to i64 %68 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %67, i64 %arg1, i64 %sv_1.0.ph40, i64 %65, i64 %2) unreachable LBL_11: %sv_3.03396.reload = load i64, i64* %sv_3.03396.reg2mem br i1 %47, label LBL_19, label LBL_12 LBL_12: br i1 %48, label LBL_14, label LBL_13 LBL_13: %.reload125 = load i64, i64* %.reg2mem124 %69 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %70 = ptrtoint [10 x i8]* %69 to i64 %71 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %70, i64 %arg1, i64 %.reload125, i64 %3, i64 %2) unreachable LBL_14: %.reload127 = load i1, i1* %.reg2mem126 br i1 %.reload127, label LBL_16, label LBL_15 LBL_15: %72 = inttoptr i64 %sv_3.03396.reload to i64* call void @free(i64* %72) br label LBL_16 LBL_16: %73 = call i64 @FUNC(i64 %51) %74 = inttoptr i64 %73 to i64* %75 = call i64* @memset(i64* %74, i32 0, i32 %50) %76 = inttoptr i64 %73 to i8* %77 = call i32 @readlinkat(i32 %.reload123, i8* bitcast (i8** @gv_7 to i8*), i8* %76, i32 %50) %78 = sext i32 %77 to i64 %79 = icmp eq i64 %7, %78 br i1 %79, label LBL_18, label LBL_17 LBL_17: %80 = load [10 x i8]*, [10 x i8]** @gv_0, align 8 %81 = ptrtoint [10 x i8]* %80 to i64 %82 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_8, i64 0, i64 0), i64 %81, i64 %7, i64 %51, i64 %3, i64 %2) unreachable LBL_18: %83 = call i32 @close(i32 %.reload123) %84 = icmp eq i64 %73, 0 %storemerge = select i1 %84, i64 %sv_1.0.ph40, i64 %73 %85 = call i64 @FUNC(i64 %storemerge) %86 = inttoptr i64 %85 to i8* %87 = call i32 (i32, i8*, i32, ...) @openat(i32 %sv_0.0.ph39.reload, i8* %86, i32 %spec.select9) %88 = icmp eq i32 %87, -1 %89 = icmp eq i1 %88, false store i64 %85, i64* %.lcssa82.reg2mem store i32 %87, i32* %.reg2mem122 store i64 %85, i64* %.reg2mem124 store i1 %84, i1* %.reg2mem126 store i64 %73, i64* %sv_3.03396.reg2mem br i1 %89, label LBL_9, label LBL_8 LBL_19: %90 = call i32 @close(i32 %sv_0.0.ph39.reload) %91 = inttoptr i64 %sv_3.03396.reload to i64* call void @free(i64* %91) %92 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %93 = add nsw i32 %sv_2.2.ph41.reload, -1 %94 = icmp sgt i32 %.reload123, 0 %95 = icmp ne i8* %92, null %or.cond.not = icmp eq i1 %94, %95 %96 = icmp sgt i32 %93, 1 %or.cond8 = icmp eq i1 %96, %or.cond.not store i32 %93, i32* %sv_2.2.ph41.reg2mem store i8* %92, i8** %sv_1.0.ph40.in.reg2mem store i32 %.reload123, i32* %sv_0.0.ph39.reg2mem store i32 %.reload123, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %or.cond8, label LBL_20, label LBL_21 LBL_20: %sv_0.0.ph39.reload = load i32, i32* %sv_0.0.ph39.reg2mem %sv_1.0.ph40.in.reload = load i8*, i8** %sv_1.0.ph40.in.reg2mem %sv_2.2.ph41.reload = load i32, i32* %sv_2.2.ph41.reg2mem %sv_1.0.ph40 = ptrtoint i8* %sv_1.0.ph40.in.reload to i64 %97 = call i64 @FUNC(i64 %sv_1.0.ph40) %98 = inttoptr i64 %97 to i8* %99 = call i32 (i32, i8*, i32, ...) @openat(i32 %sv_0.0.ph39.reload, i8* %98, i32 %spec.select9) %100 = icmp eq i32 %99, -1 %101 = icmp eq i1 %100, false store i64 %97, i64* %.lcssa82.reg2mem store i32 %99, i32* %.reg2mem122 store i64 %97, i64* %.reg2mem124 store i1 true, i1* %.reg2mem126 store i64 0, i64* %sv_3.03396.reg2mem br i1 %101, label LBL_9, label LBL_8 LBL_21: %sv_0.0.ph.lcssa.reload = load i32, i32* %sv_0.0.ph.lcssa.reg2mem %102 = inttoptr i64 %27 to i64* call void @free(i64* %102) %103 = zext i32 %sv_0.0.ph.lcssa.reload to i64 ret i64 %103 uselistorder i64 %sv_1.0.ph40, { 1, 0, 2 } uselistorder i32 %sv_0.0.ph39.reload, { 2, 0, 1 } uselistorder i64 %73, { 0, 2, 1, 3, 4 } uselistorder i64 %sv_3.03396.reload, { 1, 0 } uselistorder i32 %.reload123, { 0, 1, 5, 2, 3, 4 } uselistorder i32 %50, { 2, 1, 0 } uselistorder i8* %28, { 1, 0 } uselistorder i64 %27, { 1, 0, 2 } uselistorder i32 %17, { 1, 0, 2, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %3, { 3, 2, 1, 0 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.in47.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.146.reg2mem, { 2, 0, 1 } uselistorder i64* %.lcssa82.reg2mem, { 2, 1, 0 } uselistorder i32* %.reg2mem122, { 1, 2, 0 } uselistorder i64* %.reg2mem124, { 1, 2, 0 } uselistorder i1* %.reg2mem126, { 1, 2, 0 } uselistorder i64* %sv_3.03396.reg2mem, { 1, 2, 0 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 } uselistorder i8* null, { 0, 2, 1, 3 } uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 } uselistorder i8 0, { 2, 0, 3, 1 } uselistorder i64 (i64)* @xstrdup, { 0, 2, 1 } uselistorder i8* (i32)* @strerror, { 2, 1, 0 } uselistorder i1 false, { 0, 4, 3, 2, 5, 1, 6, 7, 8 } uselistorder i32 -1, { 0, 1, 3, 2, 4 } uselistorder i32 (i32, i8*, i32, ...)* @openat, { 0, 2, 1 } uselistorder i32 0, { 4, 5, 7, 3, 2, 0, 1, 6 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eerrorx, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i8 47, { 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3, 4 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
liq_image_destroy_5001
liq_image_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = add i64 %arg1, 56 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 store i64 %arg1, 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 } }
0
BinRealVul
collect_mounts_18942
collect_mounts
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %5, i64 %4, i64 3) %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %6, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %6) store i64 %11, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
spectre_bhb_loop_affected_6897
spectre_bhb_loop_affected
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = call i64 @FUNC() %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i32 32, i32* %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_5 LBL_2: %8 = call i64 @FUNC() %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9, i64* nonnull @gv_1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i32 24, i32* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %13 = call i64 @FUNC() %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14, i64* nonnull @gv_2) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i32 11, i32* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = call i64 @FUNC() %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 %19, i64* nonnull @gv_3) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %spec.select = select i1 %22, i32 0, i32 8 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %23 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1 %24 = zext i32 %sv_0.0.reload to i64 %25 = zext i8 %23 to i64 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = trunc i64 %26 to i8 store i8 %27, i8* bitcast (i32* @gv_4 to i8*), align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_7 LBL_6: %28 = load i8, i8* bitcast (i32* @gv_4 to i8*), align 4 %29 = sext i8 %28 to i32 store i32 %29, i32* %sv_0.1.reg2mem br label LBL_7 LBL_7: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %30 = urem i32 %sv_0.1.reload, 256 %31 = zext i32 %30 to i64 ret i64 %31 uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i8* bitcast (i32* @gv_4 to i8*), { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 0, 1 } uselistorder i64 (i64, i64*)* @is_midr_in_range_list, { 3, 2, 1, 0 } uselistorder i64 ()* @read_cpuid_id, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 3, 2, 0, 4 } uselistorder i32 1, { 5, 1, 0, 6, 4, 3, 2 } }
0
BinRealVul
process_incoming_migration_558
process_incoming_migration
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 slt i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_1 to i64*), i32 1, i32 25, %_IO_FILE* %4) call void @exit(i32 0) unreachable LBL_2: %6 = call i64 @FUNC() %7 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0)) store i32 0, i32* inttoptr (i64 4210744 to i32*), align 8 %8 = load i32, i32* @gv_3, align 4 %9 = icmp eq i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC() store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i32 1, { 3, 2, 1, 0, 4 } }
0
BinRealVul
av_packet_pack_dictionary_1950
av_packet_pack_dictionary
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem4 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %2 = bitcast i64* %arg2 to i32* store i32 0, i32* %2, align 4 %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 0, i64 1) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %sext = mul i64 %1, 4294967296 %9 = ashr exact i64 %sext, 32 store i64 0, i64* %.reg2mem store i64 %6, i64* %.reg2mem4 br label LBL_3 LBL_3: %.reload5 = load i64, i64* %.reg2mem4 %.reload = load i64, i64* %.reg2mem %10 = inttoptr i64 %.reload5 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i8* %13 = call i32 @strlen(i8* %12) %14 = sext i32 %13 to i64 %15 = add i64 %.reload5, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = inttoptr i64 %17 to i8* %19 = call i32 @strlen(i8* %18) %20 = sext i32 %19 to i64 %21 = add nsw i64 %9, %14 %22 = add nsw i64 %21, 2 %23 = add nsw i64 %22, %20 %24 = trunc i64 %23 to i32 %25 = call i64 @FUNC(i64 %.reload, i64 %23) %26 = icmp eq i64 %25, 0 %27 = icmp sgt i32 %24, -1 %28 = icmp eq i1 %27, false %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: store i64 %25, i64* %sv_0, align 8 %29 = load i64, i64* %10, align 8 %30 = add i64 %25, %9 %31 = inttoptr i64 %30 to i64* %32 = inttoptr i64 %29 to i64* %33 = add i32 %13, 1 %34 = call i64* @memcpy(i64* %31, i64* %32, i32 %33) %35 = load i64, i64* %16, align 8 %36 = load i64, i64* %sv_0, align 8 %37 = add nsw i64 %21, 1 %38 = add i64 %37, %36 %39 = inttoptr i64 %38 to i64* %40 = inttoptr i64 %35 to i64* %41 = add i32 %19, 1 %42 = call i64* @memcpy(i64* %39, i64* %40, i32 %41) store i32 %24, i32* %2, align 4 %43 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 %.reload5, i64 1) %44 = icmp eq i64 %43, 0 %45 = icmp eq i1 %44, false %.pre = load i64, i64* %sv_0, align 8 store i64 %.pre, i64* %.reg2mem store i64 %43, i64* %.reg2mem4 store i64 %.pre, i64* %rax.0.reg2mem br i1 %45, label LBL_3, label LBL_6 LBL_5: %46 = call i64 @FUNC(i64* nonnull %sv_0) store i32 0, i32* %2, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %24, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %.reload5, { 2, 0, 1 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i32* %2, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0, 2, 3, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem4, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @av_dict_get, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
Jsi_NumberDtoA_9794
Jsi_NumberDtoA
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = call i64 @FUNC(i128 %3) %sext2 = mul i64 %arg4, 4294967296 %5 = ashr exact i64 %sext2, 32 %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 = trunc i64 %2 to i32 %10 = add i32 %9, -1 %11 = icmp eq i32 %10, 0 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 %16 = add i32 %9, 16 %storemerge4.in = select i1 %15, i32 %10, i32 %16 %17 = sext i32 %storemerge4.in to i64 store i64 %17, i64* %sv_0.0.reg2mem br label LBL_4 LBL_2: %18 = icmp slt i32 %6, 0 %19 = icmp eq i1 %18, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %sext5 = add i64 %sext2, 73014444032 %20 = ashr exact i64 %sext5, 32 store i64 %20, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %21 = call i128 @FUNC(i64 %4) %22 = call i64 @FUNC() %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) store i64 %25, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = trunc i64 %sv_0.0.reload to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i32 %26, 0 %30 = icmp eq i1 %29, false %31 = icmp eq i1 %28, %30 %32 = trunc i64 %arg3 to i32 %33 = call i128 @FUNC(i64 %4) %sv_0.0.op = and i64 %sv_0.0.reload, 4294967295 %34 = select i1 %31, i64 %sv_0.0.op, i64 16 %35 = inttoptr i64 %arg2 to i8* %36 = trunc i128 %33 to i64 %37 = bitcast i64 %36 to double %38 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %35, i32 %32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %34, double %37) %39 = sext i32 %38 to i64 store i64 %39, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %26, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i32 %10, { 0, 2, 1 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %sext2, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 2, 0, 3, 4, 1, 5 } uselistorder i32 0, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
throttle_fix_bucket_1070
throttle_fix_bucket
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i1 %xmm1.0.reg2mem = alloca i128 %2 = load i128, i128* %0 %3 = load i1, i1* %1 %4 = load i1, i1* %1 %5 = ptrtoint i64* %arg1 to i64 %6 = call i128 @FUNC(i128 %2, i128 %2) %7 = call i64 @FUNC(i128 %6) %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = call i128 @__asm_movsd.1(i64 %7) %11 = call i64 @FUNC(i128 %10) store i64 %11, i64* %arg1, align 8 %12 = add i64 %5, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i128 @__asm_movsd.1(i64 %14) %16 = call i128 @__asm_movsd.1(i64 4621819117588971520) %17 = call i128 @FUNC(i128 %15, i128 %16) %18 = call i64 @FUNC(i128 %17) %19 = load i64, i64* %13, align 8 %20 = call i128 @__asm_movsd.1(i64 %19) %21 = call i128 @FUNC(i128 %16, i128 %16) call void @FUNC(i128 %20, i128 %21) store i128 %21, i128* %xmm1.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %22 = call i128 @FUNC(i128 %21, i128 %21) call void @FUNC(i128 %20, i128 %22) store i128 %22, i128* %xmm1.0.reg2mem br i1 %3, label LBL_5, label LBL_2 LBL_2: %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem %23 = add i64 %5, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i128 @__asm_movsd.1(i64 %25) %27 = call i128 @FUNC(i128 %xmm1.0.reload, i128 %xmm1.0.reload) call void @FUNC(i128 %26, i128 %27) br i1 %4, label LBL_5, label LBL_3 LBL_3: %28 = call i128 @FUNC(i128 %27, i128 %27) call void @FUNC(i128 %26, i128 %28) br i1 %3, label LBL_4, label LBL_5 LBL_4: %29 = call i128 @__asm_movsd.1(i64 %18) %30 = call i64 @FUNC(i128 %29) store i64 %30, i64* %24, align 8 br label LBL_5 LBL_5: ret i64 %5 uselistorder i128 %27, { 1, 0, 2 } uselistorder i128 %21, { 2, 1, 0, 3 } uselistorder i128 %16, { 2, 1, 0 } uselistorder i1 %4, { 1, 0 } uselistorder i1 %3, { 1, 0 } uselistorder i1* %1, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
0
BinRealVul
page_set_flags_18675
page_set_flags
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %0 = icmp ult i64 %arg2, 4294967296 br i1 %0, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %1 = icmp ult i64 %arg1, %arg2 br i1 %1, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %2 = call i64 @FUNC() %3 = and i64 %arg1, 4294963200 %4 = and i64 %arg2, 4294963200 %5 = sub nsw i64 %4, %3 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.lcssa.reg2mem br i1 %7, label LBL_5, label LBL_10 LBL_5: %8 = mul i32 %arg3, 2 %9 = and i32 %8, 2 %10 = or i32 %9, %arg3 %11 = urem i32 %arg3, 2 %12 = icmp eq i32 %11, 0 store i64 %5, i64* %sv_1.05.reg2mem store i64 %3, i64* %sv_0.03.reg2mem br label LBL_6 LBL_6: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %13 = udiv i64 %sv_0.03.reload, 4096 %14 = call i64 @FUNC(i64 %13, i64 1) %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 %or.cond = or i1 %12, %19 br i1 %or.cond, label LBL_9, label LBL_7 LBL_7: %20 = add i64 %14, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i64 @FUNC(i64 %sv_0.03.reload, i64 0) br label LBL_9 LBL_9: store i32 %10, i32* %15, align 4 %25 = add i64 %sv_1.05.reload, -4096 %26 = add i64 %sv_0.03.reload, 4096 %27 = icmp eq i64 %25, 0 %28 = icmp eq i1 %27, false store i64 %25, i64* %sv_1.05.reg2mem store i64 %26, i64* %sv_0.03.reg2mem store i64 %14, i64* %rax.0.lcssa.reg2mem br i1 %28, label LBL_6, label LBL_10 LBL_10: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i64 %sv_0.03.reload, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64 4294963200, { 1, 0 } uselistorder i32 %arg3, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
sfb_dump_17936
sfb_dump
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %sv_0, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %2 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 store i64 %14, i64* %arg1, align 8 %15 = call i64 @FUNC(i64 %0, i64 1) %16 = call i64 @FUNC(i64 %0, i64 2, i64 72, i64* nonnull %sv_0) %17 = trunc i64 %16 to i32 %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 %0, i64 %15) store i64 %20, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %21 = call i64 @FUNC(i64 %0, i64 %15) store i64 4294967206, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 3, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64)* @jiffies_to_msecs, { 1, 0 } }
1
BinRealVul
gf_isom_truehd_config_get_6977
gf_isom_truehd_config_get
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = zext i32 %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = icmp ne i64 %1, 0 %3 = icmp eq i32 %arg3, 0 %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %4, %2 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_9 LBL_1: %5 = add i32 %arg3, -1 %6 = inttoptr i64 %1 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = zext i32 %5 to i64 %17 = call i64 @FUNC(i64 %15, i64 %16) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 1, i64* %rax.0.reg2mem br i1 %19, label LBL_2, label LBL_9 LBL_2: %20 = inttoptr i64 %17 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 1 store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_9 LBL_3: %23 = add i64 %17, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 2 store i64 1, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_9 LBL_4: %27 = add i64 %17, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 2, i64* %rax.0.reg2mem br i1 %31, label LBL_5, label LBL_9 LBL_5: %32 = icmp eq i64* %arg4, null br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = inttoptr i64 %29 to i32* %34 = load i32, i32* %33, align 4 %35 = bitcast i64* %arg4 to i32* store i32 %34, i32* %35, align 4 br label LBL_7 LBL_7: %36 = icmp eq i64* %arg5, null store i64 0, i64* %rax.0.reg2mem br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = load i64, i64* %28, align 8 %38 = add i64 %37, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = bitcast i64* %arg5 to i32* store i32 %40, i32* %41, align 4 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* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i32 %arg3, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2, 3, 4, 5, 6 } }
0
BinRealVul
gen_iwmmxt_address_2192
gen_iwmmxt_address
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge4.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = udiv i64 %arg2, 65536 %3 = urem i64 %2, 16 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = urem i64 %arg2, 256 %7 = udiv i32 %1, 128 %8 = and i32 %7, 2 %9 = icmp eq i32 %8, 0 %10 = trunc i64 %6 to i32 %11 = shl i32 %10, %8 %12 = zext i32 %11 to i64 %storemerge = select i1 %9, i64 %6, i64 %12 %13 = and i64 %arg2, 16777216 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_7, label LBL_1 LBL_1: %15 = and i64 %arg2, 8388608 %16 = icmp eq i64 %15, 0 %17 = trunc i64 %storemerge to i32 br i1 %16, label LBL_3, label LBL_2 LBL_2: %18 = and i64 %4, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 %18, i32 %17) store i64 %18, i64* %.pre-phi.reg2mem br label LBL_4 LBL_3: %20 = sub nsw i32 0, %17 %21 = and i64 %4, 4294967295 %22 = call i64 @FUNC(i64 %21, i64 %21, i32 %20) store i64 %21, i64* %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = zext i32 %arg3 to i64 %24 = call i64 @FUNC(i64 %23, i64 %.pre-phi.reload) %25 = and i64 %arg2, 2097152 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %0, i64 %3, i32 %5) br label LBL_13 LBL_6: %28 = call i64 @FUNC(i64 %.pre-phi.reload) br label LBL_13 LBL_7: %29 = and i64 %arg2, 2097152 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_12, label LBL_8 LBL_8: %31 = and i64 %4, 4294967295 %32 = zext i32 %arg3 to i64 %33 = call i64 @FUNC(i64 %32, i64 %31) %34 = and i64 %arg2, 8388608 %35 = icmp eq i64 %34, 0 %36 = trunc i64 %storemerge to i32 br i1 %35, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i64 %31, i64 %31, i32 %36) br label LBL_11 LBL_10: %38 = sub nsw i32 0, %36 %39 = call i64 @FUNC(i64 %31, i64 %31, i32 %38) br label LBL_11 LBL_11: %40 = call i64 @FUNC(i64 %0, i64 %3, i32 %5) br label LBL_13 LBL_12: %41 = and i64 %arg2, 8388608 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 1, i64* %storemerge4.reg2mem br i1 %43, label LBL_13, label LBL_14 LBL_13: store i64 0, i64* %storemerge4.reg2mem br label LBL_14 LBL_14: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem ret i64 %storemerge4.reload uselistorder i32 %36, { 1, 0 } uselistorder i64 %31, { 3, 2, 1, 0, 4 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @store_reg, { 1, 0 } uselistorder i64 (i64, i64)* @tcg_gen_mov_i32, { 1, 0 } uselistorder i64 (i64, i64, i32)* @tcg_gen_addi_i32, { 3, 2, 1, 0 } uselistorder i32 %arg3, { 1, 0 } uselistorder i64 %arg2, { 2, 3, 4, 5, 6, 7, 1, 0, 8 } uselistorder label LBL_14, { 1, 0 } }
0
BinRealVul
vmxnet3_fill_stats_15032
vmxnet3_fill_stats
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %storemerge13.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = add i64 %4, 16 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge13.reg2mem br label LBL_3 LBL_3: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload = load i64, i64* %.reg2mem %11 = load i64, i64* %10, align 8 %12 = mul i64 %.reload, 8 %13 = add i64 %11, %12 %14 = add i64 %13, 8 %15 = inttoptr i64 %13 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %4) %18 = call i64 @FUNC(i64 %17, i64 %16, i64 %14, i64 0) %19 = add i32 %storemerge13.reload, 1 %20 = load i32, i32* %6, align 4 %21 = zext i32 %20 to i64 %22 = sext i32 %19 to i64 %23 = icmp slt i64 %22, %21 store i64 %22, i64* %.reg2mem store i32 %19, i32* %storemerge13.reg2mem br i1 %23, label LBL_3, label LBL_4 LBL_4: %24 = add i64 %4, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_5 LBL_5: %28 = add i64 %4, 24 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge2.reg2mem br label LBL_6 LBL_6: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %30 = load i64, i64* %29, align 8 %31 = mul i64 %.reload6, 8 %32 = add i64 %30, %31 %33 = add i64 %32, 8 %34 = inttoptr i64 %32 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %4) %37 = call i64 @FUNC(i64 %36, i64 %35, i64 %33, i64 0) %38 = add i32 %storemerge2.reload, 1 %39 = load i32, i32* %25, align 4 %40 = zext i32 %39 to i64 %41 = sext i32 %38 to i64 %42 = icmp slt i64 %41, %40 store i64 %41, i64* %.reg2mem5 store i32 %38, i32* %storemerge2.reg2mem store i64 %40, i64* %rax.0.reg2mem br i1 %42, label LBL_6, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %25, { 1, 0 } uselistorder i32* %6, { 1, 0 } uselistorder i64 %4, { 1, 0, 2, 5, 4, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem5, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64, i64)* @pci_dma_write, { 1, 0 } uselistorder i64 (i64)* @PCI_DEVICE, { 1, 0 } uselistorder i64 8, { 2, 0, 3, 4, 1 } uselistorder i32 0, { 0, 2, 1, 3, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
pipe_set_size_11326
pipe_set_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ugt i64 %0, %arg2 %2 = icmp eq i1 %1, false store i64 -16, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 %arg2, i64 0, i64 0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 -12, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) store i64 %3, i64* %9, align 8 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i64 %arg2, i64* %13, align 8 %14 = mul i64 %arg2, 4096 store i64 %14, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
do_change_vnc_13924
do_change_vnc
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %5 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 1, i64* nonnull %sv_0, i64 8) %11 = call i64 @FUNC(i64 0, i64* nonnull %sv_0) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %11, i64* %rax.0.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = ptrtoint i64* %sv_0 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 %15, i64 8, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %17 = ptrtoint i8* %arg1 to i64 %18 = call i64 @FUNC(i64 0, i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %rax.0.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %17, i64 %3, i64 %4, i64 %2, i64 %1) store i64 %22, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 2, 0, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @term_printf, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 5, 1, 0 } uselistorder label LBL_6, { 2, 3, 1, 0 } }
1
BinRealVul
qcow2_alloc_bytes_15621
qcow2_alloc_bytes
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.19.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.08.reg2mem = alloca i64 %.reg2mem = alloca i1 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %2 = icmp slt i32 %1, 1 %3 = ashr exact i64 %sext, 32 %4 = icmp ugt i64 %3, %0 %or.cond = or i1 %2, %4 br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_9, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %0, i64 %7) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %.pr = load i64, i64* %6, align 8 %12 = icmp eq i64 %.pr, 0 br i1 %12, label LBL_9, label LBL_6 LBL_6: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = urem i32 %15, 64 %17 = zext i32 %16 to i64 %storemerge = ashr i64 %.pr, %17 %18 = call i64 @FUNC(i64 %0, i64 %storemerge, i64* nonnull %sv_1) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: %sext5 = mul i64 %18, 4294967296 %22 = ashr exact i64 %sext5, 32 store i64 %22, i64* %rax.0.reg2mem br label LBL_21 LBL_8: %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = sext i32 %25 to i64 %27 = load i64, i64* %sv_1, align 8 %28 = icmp eq i64 %27, %26 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %0, i64 0) store i1 true, i1* %.reg2mem store i64 0, i64* %sv_0.08.reg2mem br label LBL_11 LBL_10: %31 = call i64 @FUNC(i64 %0, i64 %.pr) %32 = sub i64 %0, %31 %33 = icmp ult i64 %32, %3 %34 = icmp eq i1 %33, false store i1 false, i1* %.reg2mem store i64 %.pr, i64* %sv_0.08.reg2mem store i64 %.pr, i64* %sv_0.19.reg2mem br i1 %34, label LBL_17, label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %0, i64 %0) %36 = icmp slt i64 %35, 0 %37 = icmp eq i1 %36, false store i64 %35, i64* %rax.0.reg2mem br i1 %37, label LBL_12, label LBL_21 LBL_12: %.reload = load i1, i1* %.reg2mem br i1 %.reload, label LBL_14, label LBL_13 LBL_13: %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem %38 = add i64 %0, -1 %39 = add i64 %38, %sv_0.08.reload %40 = sub i64 0, %0 %41 = and i64 %39, %40 %42 = icmp eq i64 %41, %35 store i64 %sv_0.08.reload, i64* %sv_0.1.reg2mem br i1 %42, label LBL_15, label LBL_14 LBL_14: store i64 %35, i64* %sv_0.1.reg2mem br label LBL_15 LBL_15: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %43 = icmp eq i64 %sv_0.1.reload, 0 %44 = icmp eq i1 %43, false store i64 %sv_0.1.reload, i64* %sv_0.19.reg2mem br i1 %44, label LBL_17, label LBL_16 LBL_16: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) store i64 %sv_0.1.reload, i64* %sv_0.19.reg2mem br label LBL_17 LBL_17: %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem %45 = call i64 @FUNC(i64 %0, i64 %sv_0.19.reload, i32 %1, i64 1, i64 0, i64 0) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_19, label LBL_18 LBL_18: %sext6 = mul i64 %45, 4294967296 %49 = ashr exact i64 %sext6, 32 store i64 %49, i64* %rax.0.reg2mem br label LBL_21 LBL_19: %50 = add i64 %0, 40 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %0, 32 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %0, i64 %55, i64 %52) %57 = add i64 %sv_0.19.reload, %3 store i64 %57, i64* %6, align 8 %58 = call i64 @FUNC(i64 %0, i64 %57) %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 %sv_0.19.reload, i64* %rax.0.reg2mem br i1 %60, label LBL_21, label LBL_20 LBL_20: store i64 0, i64* %6, align 8 store i64 %sv_0.19.reload, 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 %sv_0.19.reload, { 1, 0, 3, 2 } uselistorder i64 %sv_0.1.reload, { 1, 0, 2 } uselistorder i64 %35, { 1, 2, 0, 3 } uselistorder i64 %.pr, { 0, 1, 2, 4, 3 } uselistorder i64* %6, { 1, 2, 0, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %0, { 8, 9, 11, 10, 12, 7, 0, 14, 13, 1, 15, 2, 4, 5, 6, 17, 16, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.19.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6, 7, 8 } uselistorder i64 (i64, i64)* @offset_into_cluster, { 3, 2, 0, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 } uselistorder i64 32, { 3, 1, 2, 0 } uselistorder label LBL_21, { 1, 0, 3, 2, 4 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
fib6_rule_suppress_12203
fib6_rule_suppress
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i32* null, i32** %sv_0.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = inttoptr i64 %6 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* store i32* %10, i32** %sv_0.0.reg2mem br label LBL_2 LBL_2: %11 = trunc i64 %2 to i32 %12 = trunc i64 %1 to i32 %13 = icmp ugt i32 %11, %12 br i1 %13, label LBL_3, label LBL_5 LBL_3: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, -1 %19 = icmp eq i32* %sv_0.0.reload, null %or.cond = or i1 %19, %18 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_6, label LBL_4 LBL_4: %20 = load i32, i32* %sv_0.0.reload, align 4 %21 = icmp eq i32 %20, %17 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = call i64 @FUNC(i64 %3) store i64 1, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32* null, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
test_validate_fail_list_5063
test_validate_fail_list
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([139 x i8], [139 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i64 0, i64* nonnull %sv_0) %3 = call i64 @FUNC(i64* nonnull %sv_0) %4 = load i64, i64* %sv_1, align 8 %5 = call i64 @FUNC(i64 %4) ret i64 %5 uselistorder i64* %sv_1, { 1, 0, 2 } }
0
BinRealVul
update_curr_8076
update_curr
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 %1) %3 = icmp eq i64* %arg1, null %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = sub i64 %2, %4 %10 = icmp slt i64 %9, 1 %11 = zext i1 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_2 LBL_2: store i64 %2, i64* %arg1, align 8 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %9, i64 %18) %20 = load i64, i64* %17, align 8 %21 = call i64 @FUNC(i64 %20, i64 %19) %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %24, %9 store i64 %25, i64* %23, align 8 %26 = call i64 @FUNC(i64 %25, i64 %9) %27 = call i64 @FUNC(i64 %9, i64 %0) %28 = add i64 %0, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %30, %27 store i64 %31, i64* %29, align 8 %32 = call i64 @FUNC(i64 %0) %33 = call i64 @FUNC(i64 %0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_4, label LBL_3 LBL_3: %36 = call i64 @FUNC(i64 %0) %37 = load i64, i64* %29, align 8 %38 = call i64 @FUNC(i64 %36, i64 %9, i64 %37) %39 = call i64 @FUNC(i64 %36, i64 %9) %40 = call i64 @FUNC(i64 %36, i64 %9) br label LBL_4 LBL_4: %41 = call i64 @FUNC(i64 %0, i64 %9) store i64 %41, 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 %9, { 4, 3, 2, 1, 6, 5, 0, 7, 8 } uselistorder i64 %0, { 1, 0, 2, 3, 5, 4, 6, 7, 8 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
bdrv_flush_14544
bdrv_flush
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = call i64 @FUNC() %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 0 LBL_2: %5 = call i64 @FUNC(i64 4198760, i64* nonnull %sv_0) %6 = call i64 @FUNC(i64 %5) br label LBL_3 LBL_3: br label LBL_3 uselistorder i32 0, { 1, 0 } }
1
BinRealVul
ape_probe_958
ape_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1296122656 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i16* %7 = load i16, i16* %6, align 2 %.off = add i16 %7, -1000 %8 = icmp ult i16 %.off, 3001 %. = select i1 %8, i64 100, i64 25 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
xhci_er_full_14072
xhci_er_full
define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 256 ret i64 %2 }
1