dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
helper_mulqv_14746
helper_mulqv
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %arg2, i64 %arg3) %1 = load i64, i64* %sv_1, align 8 %2 = add i64 %1, 1 %3 = icmp ult i64 %2, 2 %4 = icmp ne i1 %3, true %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %6, i64 %7, i64 1, i64 0) br label LBL_2 LBL_2: %9 = load i64, i64* %sv_0, align 8 ret i64 %9 uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 1, { 1, 0 } }
1
CompRealVul
mthca_reg_phys_mr_7603
mthca_reg_phys_mr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rsi.4.lcssa.reg2mem = alloca i64 %sv_0.121.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rsi.3.lcssa.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.018.reg2mem = alloca i32 %storemerge819.reg2mem = alloca i32 %.reg2mem71 = alloca i64 %sv_1.024.reg2mem = alloca i32 %indvars.iv40.reg2mem = alloca i64 %r8.2.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %storemerge12.lcssa.reg2mem = alloca i32 %r8.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rsi.127.reg2mem = alloca i64 %r8.128.reg2mem = alloca i64 %storemerge1229.reg2mem = alloca i32 %indvars.iv44.reg2mem = alloca i64 %sv_2.1.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i1 %sv_2.0.reg2mem = alloca i32 %sv_2.131.reg2mem = alloca i32 %indvars.iv46.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = xor i64 %0, %1 %3 = urem i64 %2, 4096 %4 = icmp eq i64 %3, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_32 LBL_1: %5 = trunc i64 %arg3 to i32 %6 = icmp slt i32 %5, 2 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %9, %1 %11 = urem i64 %10, 4096 %12 = icmp eq i64 %11, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_32 LBL_3: %13 = icmp eq i32 %5, 1 store i1 false, i1* %.reg2mem store i32 0, i32* %sv_2.1.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_11 LBL_4: %14 = add i64 %arg3, 4294967295 %15 = and i64 %14, 4294967295 %sext = mul i64 %arg3, 4294967296 %16 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv46.reg2mem store i32 0, i32* %sv_2.131.reg2mem br label LBL_5 LBL_5: %sv_2.131.reload = load i32, i32* %sv_2.131.reg2mem %indvars.iv46.reload = load i64, i64* %indvars.iv46.reg2mem %cond = icmp eq i64 %indvars.iv46.reload, 0 store i32 %sv_2.131.reload, i32* %sv_2.0.reg2mem br i1 %cond, label LBL_10, label LBL_6 LBL_6: %17 = mul i64 %indvars.iv46.reload, 16 %18 = add i64 %17, %1 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = urem i64 %20, 4096 %22 = icmp eq i64 %21, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %22, label LBL_7, label LBL_32 LBL_7: %23 = icmp eq i64 %indvars.iv46.reload, %15 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = add i64 %18, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = urem i64 %26, 4096 %28 = icmp eq i64 %27, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %28, label LBL_9, label LBL_32 LBL_9: %29 = trunc i64 %20 to i32 %30 = or i32 %sv_2.131.reload, %29 store i32 %30, i32* %sv_2.0.reg2mem br label LBL_10 LBL_10: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46.reload, 1 %31 = icmp slt i64 %indvars.iv.next47, %16 store i64 %indvars.iv.next47, i64* %indvars.iv46.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.131.reg2mem store i1 true, i1* %.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %31, label LBL_5, label LBL_11 LBL_11: %32 = ptrtoint i64* %arg1 to i64 %33 = and i64 %arg4, 4294967295 %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %.reload = load i1, i1* %.reg2mem %34 = sext i32 %sv_2.1.lcssa.reload to i64 %35 = add i64 %1, 8 %36 = inttoptr i64 %35 to i64* store i64 12, i64* %indvars.iv44.reg2mem store i32 12, i32* %storemerge1229.reg2mem store i64 %0, i64* %r8.128.reg2mem store i64 %1, i64* %rsi.127.reg2mem br label LBL_12 LBL_12: %storemerge1229.reload = load i32, i32* %storemerge1229.reg2mem %indvars.iv44.reload = load i64, i64* %indvars.iv44.reg2mem %37 = shl i64 1, %indvars.iv44.reload br i1 %6, label LBL_14, label LBL_13 LBL_13: %rsi.127.reload = load i64, i64* %rsi.127.reg2mem %r8.128.reload = load i64, i64* %r8.128.reg2mem %38 = and i64 %37, %34 %39 = icmp eq i64 %38, 0 store i64 %rsi.127.reload, i64* %rsi.0.reg2mem store i64 %r8.128.reload, i64* %r8.0.reg2mem br i1 %39, label LBL_15, label LBL_1655 LBL_14: %40 = load i64, i64* %36, align 8 %41 = shl i64 -1, %indvars.iv44.reload %42 = sub i64 0, %41 %43 = sub i64 %42, 1 %44 = and i64 %40, %43 %45 = add i64 %44, %40 %46 = icmp ult i64 %37, %45 %47 = icmp eq i1 %46, false store i64 %40, i64* %rsi.0.reg2mem store i64 %41, i64* %r8.0.reg2mem br i1 %47, label LBL_16, label LBL_15 LBL_15: %r8.0.reload = load i64, i64* %r8.0.reg2mem %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44.reload, 1 %48 = add nuw nsw i32 %storemerge1229.reload, 1 %49 = icmp ult i64 %indvars.iv.next45, 31 store i64 %indvars.iv.next45, i64* %indvars.iv44.reg2mem store i32 %48, i32* %storemerge1229.reg2mem store i64 %r8.0.reload, i64* %r8.128.reg2mem store i64 %rsi.0.reload, i64* %rsi.127.reg2mem store i32 %48, i32* %storemerge12.lcssa.reg2mem store i64 %rsi.0.reload, i64* %rsi.2.reg2mem store i64 %r8.0.reload, i64* %r8.2.reg2mem br i1 %49, label LBL_12, label LBL_18 LBL_16: %50 = trunc i64 %indvars.iv44.reload to i32 store i32 %50, i32* %storemerge12.lcssa.reg2mem store i64 %40, i64* %rsi.2.reg2mem store i64 %41, i64* %r8.2.reg2mem br label LBL_18 LBL_17: %51 = trunc i64 %indvars.iv44.reload to i32 store i32 %51, i32* %storemerge12.lcssa.reg2mem store i64 %rsi.127.reload, i64* %rsi.2.reg2mem store i64 %r8.128.reload, i64* %r8.2.reg2mem br label LBL_18 LBL_18: %r8.2.reload = load i64, i64* %r8.2.reg2mem %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %storemerge12.lcssa.reload = load i32, i32* %storemerge12.lcssa.reg2mem %52 = load i64, i64* %36, align 8 %53 = urem i32 %storemerge12.lcssa.reload, 64 %54 = icmp eq i32 %53, 0 %55 = zext i32 %53 to i64 %56 = shl i64 -1, %55 %57 = sub i64 0, %56 %58 = sub i64 %57, 1 %59 = select i1 %54, i64 0, i64 %58 %60 = and i64 %59, %rsi.2.reload %61 = add i64 %60, %52 store i64 %61, i64* %36, align 8 %storemerge5 = select i1 %54, i64 -1, i64 %56 %62 = and i64 %storemerge5, %rsi.2.reload store i64 %62, i64* %arg2, align 8 %63 = call i64 @FUNC(i64 4, i64 0) %64 = icmp eq i64 %63, 0 %.not48 = icmp ne i1 %.reload, true %brmerge = or i1 %64, %.not48 %.mux = select i1 %64, i64 -12, i64 %63 store i64 %.mux, i64* %rax.0.reg2mem br i1 %brmerge, label LBL_32, label LBL_19 LBL_19: %wide.trip.count42 = and i64 %arg3, 4294967295 store i64 0, i64* %indvars.iv40.reg2mem store i32 0, i32* %sv_1.024.reg2mem br label LBL_20 LBL_20: %sv_1.024.reload = load i32, i32* %sv_1.024.reg2mem %indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem %65 = mul i64 %indvars.iv40.reload, 16 %66 = add i64 %65, %35 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = add i64 %68, %59 %rdx.1 = lshr i64 %69, %55 %70 = trunc i64 %rdx.1 to i32 %71 = add i32 %sv_1.024.reload, %70 %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40.reload, 1 %exitcond43 = icmp eq i64 %indvars.iv.next41, %wide.trip.count42 store i64 %indvars.iv.next41, i64* %indvars.iv40.reg2mem store i32 %71, i32* %sv_1.024.reg2mem br i1 %exitcond43, label LBL_21, label LBL_20 LBL_21: %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false store i64 %63, i64* %rax.0.reg2mem br i1 %73, label LBL_22, label LBL_32 LBL_22: %74 = sext i32 %71 to i64 %75 = mul i64 %74, 8 %76 = call i64 @FUNC(i64 %75, i64 0) %77 = icmp eq i64 %76, 0 %78 = icmp eq i1 %77, false br i1 %78, label LBL_23, label LBL_24 LBL_23: store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.121.reg2mem store i64 0, i64* %rsi.4.lcssa.reg2mem br i1 %.reload, label LBL_27, label LBL_29 LBL_24: %79 = call i64 @FUNC(i64 %63) store i64 -12, i64* %rax.0.reg2mem br label LBL_32 LBL_25: %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem %storemerge819.reload = load i32, i32* %storemerge819.reg2mem %.reload72 = load i64, i64* %.reg2mem71 %80 = load i64, i64* %99, align 8 %rdx.2 = shl i64 %.reload72, %55 %81 = add i32 %sv_0.018.reload, 1 %82 = sext i32 %sv_0.018.reload to i64 %83 = mul i64 %82, 8 %84 = add i64 %83, %76 %85 = add i64 %80, %rdx.2 %86 = inttoptr i64 %84 to i64* store i64 %85, i64* %86, align 8 %87 = add i32 %storemerge819.reload, 1 %88 = sext i32 %87 to i64 %89 = load i64, i64* %95, align 8 %90 = add i64 %89, %59 %rsi.3 = lshr i64 %90, %55 %91 = icmp ugt i64 %rsi.3, %88 store i64 %88, i64* %.reg2mem71 store i32 %87, i32* %storemerge819.reg2mem store i32 %81, i32* %sv_0.018.reg2mem store i32 %81, i32* %sv_0.0.lcssa.reg2mem store i64 %rsi.3, i64* %rsi.3.lcssa.reg2mem br i1 %91, label LBL_25, label LBL_26 LBL_26: %rsi.3.lcssa.reload = load i64, i64* %rsi.3.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count42 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.121.reg2mem store i64 %rsi.3.lcssa.reload, i64* %rsi.4.lcssa.reg2mem br i1 %exitcond, label LBL_29, label LBL_27 LBL_27: %sv_0.121.reload = load i32, i32* %sv_0.121.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %92 = mul i64 %indvars.iv.reload, 16 %93 = add i64 %92, %1 %94 = add i64 %93, 8 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = add i64 %96, %59 %rsi.317 = lshr i64 %97, %55 %98 = icmp eq i64 %rsi.317, 0 store i32 %sv_0.121.reload, i32* %sv_0.0.lcssa.reg2mem store i64 0, i64* %rsi.3.lcssa.reg2mem br i1 %98, label LBL_26, label LBL_25.lr.ph LBL_28: %99 = inttoptr i64 %93 to i64* store i64 0, i64* %.reg2mem71 store i32 0, i32* %storemerge819.reg2mem store i32 %sv_0.121.reload, i32* %sv_0.018.reg2mem br label LBL_25 LBL_29: %rsi.4.lcssa.reload = load i64, i64* %rsi.4.lcssa.reg2mem %100 = call i64 @FUNC(i64 %32) %101 = inttoptr i64 %100 to i32* %102 = load i32, i32* %101, align 4 %103 = call i64 @FUNC(i64 %32) %104 = zext i32 %storemerge12.lcssa.reload to i64 %105 = zext i32 %102 to i64 %106 = call i64 @FUNC(i64 %103, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.4.lcssa.reload, i64 %r8.2.reload, i64 %105, i64 %104) %107 = call i64 @FUNC(i64 %33) %108 = call i64 @FUNC(i64 %32) %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = call i64 @FUNC(i64 %32) %112 = zext i32 %71 to i64 %113 = zext i32 %110 to i64 %114 = call i64 @FUNC(i64 %111, i64 %113, i64 %76, i64 %104, i64 %112, i64 %105) %115 = trunc i64 %114 to i32 %116 = icmp eq i32 %115, 0 br i1 %116, label LBL_31, label LBL_30 LBL_30: %117 = call i64 @FUNC(i64 %63) %sext15 = mul i64 %114, 4294967296 %118 = ashr exact i64 %sext15, 32 store i64 %118, i64* %rax.0.reg2mem br label LBL_32 LBL_31: %119 = call i64 @FUNC(i64 %76) store i64 %63, i64* %rax.0.reg2mem br label LBL_32 LBL_32: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %sv_0.018.reload, { 1, 0 } uselistorder i64 %76, { 1, 2, 0, 3 } uselistorder i32 %71, { 2, 3, 1, 0 } uselistorder i1 %64, { 1, 0 } uselistorder i64 %63, { 1, 4, 3, 0, 2, 5 } uselistorder i64 %59, { 1, 0, 2, 3 } uselistorder i64 %56, { 1, 0 } uselistorder i64 %55, { 0, 3, 2, 1, 4 } uselistorder i64 %rsi.2.reload, { 1, 0 } uselistorder i64 %37, { 1, 0 } uselistorder i64 %indvars.iv44.reload, { 3, 4, 0, 1, 2 } uselistorder i64* %36, { 1, 0, 2 } uselistorder i64 %32, { 1, 0, 3, 2 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %indvars.iv46.reload, { 0, 2, 3, 1 } uselistorder i32 %sv_2.131.reload, { 1, 0 } uselistorder i64 %1, { 1, 0, 6, 2, 3, 5, 4 } uselistorder i64* %indvars.iv46.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.131.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv44.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1229.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.128.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.127.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge12.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rsi.2.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %r8.2.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %indvars.iv40.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.024.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem71, { 2, 1, 0 } uselistorder i32* %storemerge819.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.018.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.3.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.121.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 3, 4, 1, 2, 5, 6 } uselistorder i64 (i64)* @to_mdev, { 1, 0 } uselistorder i64 (i64)* @to_mpd, { 1, 0 } uselistorder i64 (i64)* @kfree, { 2, 1, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder i1 true, { 1, 0 } uselistorder i64 1, { 5, 4, 0, 3, 1, 6, 2 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967295, { 2, 3, 0, 1, 4 } uselistorder i32 0, { 6, 1, 0, 7, 2, 5, 4, 3 } uselistorder i64 8, { 2, 0, 1, 3, 4, 5 } uselistorder i64 %arg3, { 2, 0, 1, 3 } uselistorder label LBL_32, { 6, 7, 8, 3, 2, 0, 1, 4, 5 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
devm_pci_release_host_bridge_dev_3980
devm_pci_release_host_bridge_dev
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 %1, 8 %3 = call i64 @FUNC(i64 %2) ret i64 %3 }
0
CompRealVul
ffm_seek_14880
ffm_seek
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_2.1.ph.lcssa.reg2mem = alloca i64 %sv_2.1.ph22.reg2mem = alloca i64 %sv_1.1.ph23.reg2mem = alloca i64 %xmm0.0.ph24.reg2mem = alloca i128 %xmm1.0.ph25.reg2mem = alloca i128 %sv_1.116.reg2mem = alloca i64 %xmm0.017.reg2mem = alloca i128 %xmm1.018.reg2mem = alloca i128 %sv_1.0.in.in.in.reg2mem = alloca i32* %sv_2.0.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %rdi = alloca i64, align 8 %4 = load i64, i64* %1 %5 = load i128, i128* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = call i128 @FUNC(i128 %5, i128 %5) %8 = call i128 @FUNC(i64 %arg3) %9 = call i128 @FUNC(i64 4696837146684686336) %10 = call i128 @FUNC(i128 %8, i128 %9) %11 = call i64 @FUNC(i128 %10) %12 = call i128 @__asm_movq.1(i64 %11) %13 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %arg4, i64 %3, i64 %2) %14 = trunc i64 %4 to i32 %15 = icmp eq i32 %14, 0 %.pre = add i64 %6, 4 %.pre47 = inttoptr i64 %.pre to i32* store i64 1024, i64* %sv_2.0.reg2mem store i32* %.pre47, i32** %sv_1.0.in.in.in.reg2mem br i1 %15, label LBL_4, label LBL_1 LBL_1: %16 = load i32, i32* %.pre47, align 4 %17 = icmp ugt i32 %16, %14 store i64 1024, i64* %sv_2.0.reg2mem store i32* %.pre47, i32** %sv_1.0.in.in.in.reg2mem br i1 %17, label LBL_2, label LBL_4 LBL_2: %18 = bitcast i64* %rdi to i32* %19 = call i64 @FUNC(i64 %6, i64 1024) %20 = icmp slt i64 %19, %arg3 store i64 1024, i64* %sv_2.0.reg2mem store i32* %18, i32** %sv_1.0.in.in.in.reg2mem br i1 %20, label LBL_4, label LBL_3 LBL_3: %sext = mul i64 %4, 4294967296 %21 = ashr exact i64 %sext, 32 store i64 %21, i64* %sv_2.0.reg2mem store i32* %.pre47, i32** %sv_1.0.in.in.in.reg2mem br label LBL_4 LBL_4: %sv_1.0.in.in.in.reload = load i32*, i32** %sv_1.0.in.in.in.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_1.0.in.in = load i32, i32* %sv_1.0.in.in.in.reload, align 4 %sv_1.0.in = add i32 %sv_1.0.in.in, -1024 %sv_1.0 = sext i32 %sv_1.0.in to i64 %22 = icmp sgt i64 %sv_2.0.reload, %sv_1.0 store i128 %9, i128* %xmm1.0.ph25.reg2mem store i128 %12, i128* %xmm0.0.ph24.reg2mem store i64 %sv_1.0, i64* %sv_1.1.ph23.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.ph22.reg2mem store i64 %sv_2.0.reload, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %sv_1.0, i64* %sv_1.1.lcssa.reg2mem br i1 %22, label LBL_12, label LBL_5.lr.ph LBL_5: %sv_1.116.reload = load i64, i64* %sv_1.116.reg2mem %23 = call i64 @FUNC(i64 %6, i64 %sv_2.1.ph22.reload) %24 = call i64 @FUNC(i64 %6, i64 %sv_1.116.reload) %25 = icmp sgt i64 %23, %arg3 %26 = icmp slt i64 %24, %arg3 %or.cond = or i1 %25, %26 br i1 %or.cond, label LBL_6, label LBL_7 LBL_6: %storemerge3 = select i1 %25, i64 %sv_2.1.ph22.reload, i64 %sv_1.116.reload store i64 %storemerge3, i64* %sv_0.1.reg2mem br label LBL_13 LBL_7: %xmm0.017.reload = load i128, i128* %xmm0.017.reg2mem %xmm1.018.reload = load i128, i128* %xmm1.018.reg2mem %27 = sub i64 %sv_1.116.reload, %sv_2.1.ph22.reload %28 = call i128 @FUNC(i128 %xmm1.018.reload, i128 %xmm1.018.reload) %29 = call i128 @FUNC(i64 %27) %30 = sub i64 %arg3, %23 %31 = call i128 @FUNC(i128 %xmm0.017.reload, i128 %xmm0.017.reload) %32 = call i128 @FUNC(i64 %30) %33 = call i128 @FUNC(i128 %32, i128 %29) %34 = sub i64 %24, %23 %35 = call i128 @FUNC(i128 %29, i128 %29) %36 = call i128 @FUNC(i64 %34) %37 = call i128 @FUNC(i128 %33, i128 %36) %38 = call i64 @__asm_movsd.2(i128 %37) %39 = call i128 @FUNC(i64 %38) %40 = call i64 @FUNC(i128 %39) %41 = add i64 %40, 1023 %42 = icmp slt i64 %40, 0 %43 = select i1 %42, i64 %41, i64 %40 %44 = and i64 %43, -1024 %45 = icmp sgt i64 %44, %sv_2.1.ph22.reload %46 = icmp slt i64 %44, %sv_1.116.reload %spec.select = select i1 %46, i64 %44, i64 %sv_1.116.reload %sv_0.0 = select i1 %45, i64 %spec.select, i64 %sv_2.1.ph22.reload %47 = call i64 @FUNC(i64 %6, i64 %sv_0.0) %48 = icmp eq i64 %47, %arg3 store i64 %sv_0.0, i64* %sv_0.1.reg2mem br i1 %48, label LBL_13, label LBL_8 LBL_8: %49 = icmp sgt i64 %47, %arg3 br i1 %49, label LBL_9, label LBL_10 LBL_9: %50 = add i64 %sv_0.0, -1024 %51 = icmp slt i64 %50, %sv_2.1.ph22.reload store i128 %36, i128* %xmm1.018.reg2mem store i128 %39, i128* %xmm0.017.reg2mem store i64 %50, i64* %sv_1.116.reg2mem store i64 %sv_2.1.ph22.reload, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %50, i64* %sv_1.1.lcssa.reg2mem br i1 %51, label LBL_12, label LBL_5 LBL_10: %52 = add i64 %sv_0.0, 1024 %53 = icmp slt i64 %sv_1.116.reload, %52 store i128 %36, i128* %xmm1.0.ph25.reg2mem store i128 %39, i128* %xmm0.0.ph24.reg2mem store i64 %sv_1.116.reload, i64* %sv_1.1.ph23.reg2mem store i64 %52, i64* %sv_2.1.ph22.reg2mem store i64 %52, i64* %sv_2.1.ph.lcssa.reg2mem store i64 %sv_1.116.reload, i64* %sv_1.1.lcssa.reg2mem br i1 %53, label LBL_12, label LBL_5.lr.ph LBL_11: %sv_2.1.ph22.reload = load i64, i64* %sv_2.1.ph22.reg2mem %sv_1.1.ph23.reload = load i64, i64* %sv_1.1.ph23.reg2mem %xmm0.0.ph24.reload = load i128, i128* %xmm0.0.ph24.reg2mem %xmm1.0.ph25.reload = load i128, i128* %xmm1.0.ph25.reg2mem store i128 %xmm1.0.ph25.reload, i128* %xmm1.018.reg2mem store i128 %xmm0.0.ph24.reload, i128* %xmm0.017.reg2mem store i64 %sv_1.1.ph23.reload, i64* %sv_1.116.reg2mem br label LBL_5 LBL_12: %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %sv_2.1.ph.lcssa.reload = load i64, i64* %sv_2.1.ph.lcssa.reg2mem %54 = urem i64 %arg4, 2 %55 = icmp eq i64 %54, 0 %storemerge2 = select i1 %55, i64 %sv_1.1.lcssa.reload, i64 %sv_2.1.ph.lcssa.reload store i64 %storemerge2, i64* %sv_0.1.reg2mem br label LBL_13 LBL_13: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %56 = call i64 @FUNC(i64 %6, i64 %sv_0.1.reload) %57 = trunc i64 %56 to i32 %58 = icmp slt i32 %57, 0 %59 = icmp eq i1 %58, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %59, label LBL_14, label LBL_15 LBL_14: %60 = add i64 %6, 8 %61 = inttoptr i64 %60 to i32* store i32 0, i32* %61, align 4 %62 = add i64 %6, 16 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %6, 24 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = load i64, i64* %63, align 8 %68 = add i64 %6, 32 %69 = inttoptr i64 %68 to i64* store i64 %67, i64* %69, align 8 %70 = add i64 %6, 40 %71 = inttoptr i64 %70 to i32* store i32 1, i32* %71, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_2.1.ph22.reload, { 1, 6, 2, 3, 5, 4, 0 } uselistorder i64 %sv_0.0, { 1, 3, 0, 2 } uselistorder i64 %40, { 2, 1, 0 } uselistorder i128 %29, { 2, 1, 0 } uselistorder i128 %xmm1.018.reload, { 1, 0 } uselistorder i128 %xmm0.017.reload, { 1, 0 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %sv_1.116.reload, { 0, 1, 6, 2, 3, 4, 7, 5 } uselistorder i32* %.pre47, { 2, 1, 3, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %6, { 5, 6, 8, 7, 9, 10, 2, 4, 3, 1, 0, 11 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_2.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32** %sv_1.0.in.in.in.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i128* %xmm1.018.reg2mem, { 2, 1, 0 } uselistorder i128* %xmm0.017.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_1.116.reg2mem, { 2, 1, 0 } uselistorder i128* %xmm1.0.ph25.reg2mem, { 0, 2, 1 } uselistorder i128* %xmm0.0.ph24.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.1.ph23.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.ph22.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %1, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i64)* @get_dts, { 3, 2, 1, 0 } uselistorder i64 1024, { 4, 2, 3, 1, 0 } uselistorder i64 %arg3, { 3, 2, 4, 0, 5, 1, 6 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_5.lr.ph, { 1, 0 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
1
CompRealVul
mq_attr_ok_10354
mq_attr_ok
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp sgt i64* %arg2, null store i64 4294967274, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_8 LBL_1: %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 %8 = icmp slt i64 %6, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %7, false %11 = icmp eq i1 %9, %10 store i64 4294967274, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_8 LBL_2: %12 = call i64 @FUNC(i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = icmp sgt i64* %arg2, inttoptr (i64 1024 to i64*) store i64 4294967274, i64* %rax.0.reg2mem br i1 %15, label LBL_8, label LBL_4 LBL_4: %16 = load i64, i64* %5, align 8 %17 = icmp slt i64 %16, 8193 store i64 %16, i64* %.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %17, label LBL_7, label LBL_8 LBL_5: %sext = mul i64 %1, 4294967296 %18 = ashr exact i64 %sext, 32 %19 = icmp slt i64 %18, %3 store i64 4294967274, i64* %rax.0.reg2mem br i1 %19, label LBL_8, label LBL_6 LBL_6: %20 = load i64, i64* %5, align 8 %21 = ptrtoint i32* %arg1 to i64 %22 = add i64 %21, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = sext i32 %24 to i64 %26 = icmp sgt i64 %20, %25 store i64 %20, i64* %.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %27 = zext i64 %3 to i128 %28 = zext i64 %.reload to i128 %29 = mul nuw i128 %28, %27 %30 = icmp ugt i128 %29, 18446744073709551615 %31 = icmp eq i1 %30, false %. = select i1 %31, i64 0, i64 4294967221 store i64 %., 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* %5, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 5, 4, 6, 7 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 4294967274, { 1, 0, 3, 2, 4, 5 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_8, { 0, 2, 1, 4, 3, 5, 6 } }
0
CompRealVul
output_6524
output
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_17, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg1, 4294967296 %5 = bitcast i64* %rsi to i32* %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %sext8 = mul i64 %1, 4294967296 %9 = ashr exact i64 %sext8, 29 %10 = add i64 %9, ptrtoint (i64* @gv_0 to i64) %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = and i64 %12, %8 store i64 %13, i64* %7, align 8 %14 = load i32, i32* %5, align 8 %15 = icmp slt i32 %14, 1 br i1 %15, label LBL_3, label LBL_2 LBL_2: store i64 %13, i64* %rsi, align 8 %16 = ashr exact i64 %sext, 32 %17 = urem i64 %13, 64 %rdx.0 = shl i64 %16, %17 %18 = or i64 %rdx.0, %13 store i64 %18, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %19 = ashr exact i64 %sext, 32 store i64 %19, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %7, align 8 %20 = load i32, i32* %5, align 8 %21 = add i64 %4, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i32 %23, %20 %25 = bitcast i64* %arg2 to i32* store i32 %24, i32* %25, align 4 %26 = icmp sgt i32 %20, 7 br i1 %26, label LBL_5, label LBL_6 LBL_5: %27 = load i64, i64* %7, align 8 %28 = urem i64 %27, 256 %29 = call i64 @FUNC(i64 %28, i64 %4) %30 = load i64, i64* %7, align 8 %31 = ashr i64 %30, 8 store i64 %31, i64* %7, align 8 %32 = load i32, i32* %5, align 8 %33 = add i32 %32, -8 store i32 %33, i32* %25, align 4 %34 = icmp sgt i32 %32, 7 br i1 %34, label LBL_5, label LBL_6 LBL_6: %35 = add i64 %4, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %4, 24 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp ugt i32 %37, %40 %.pre = add i64 %4, 28 %.pre6 = inttoptr i64 %.pre to i32* %.pr = load i32, i32* %.pre6, align 4 %42 = icmp eq i32 %.pr, 0 br i1 %41, label LBL_8, label LBL_7 LBL_7: br i1 %42, label LBL_13, label LBL_9 LBL_8: br i1 %42, label LBL_10, label LBL_9 LBL_9: %43 = add i64 %4, 32 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 store i32 %45, i32* %22, align 4 %46 = urem i32 %45, 32 %notmask = shl nsw i32 -1, %46 %47 = sub i32 0, %notmask %48 = sub i32 %47, 1 store i32 %48, i32* %39, align 4 store i32 0, i32* %.pre6, align 4 br label LBL_13 LBL_10: %49 = load i32, i32* %22, align 4 %50 = add i32 %49, 1 store i32 %50, i32* %22, align 4 %51 = icmp eq i32 %50, 12 %52 = icmp eq i1 %51, false br i1 %52, label LBL_12, label LBL_11 LBL_11: store i32 4095, i32* %39, align 4 br label LBL_13 LBL_12: %53 = urem i32 %50, 32 %notmask10 = shl nsw i32 -1, %53 %54 = sub i32 0, %notmask10 %55 = sub i32 %54, 1 store i32 %55, i32* %39, align 4 br label LBL_13 LBL_13: %56 = add i64 %4, 36 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = trunc i64 %arg1 to i32 %61 = icmp eq i32 %58, %60 %62 = icmp eq i1 %61, false store i64 %59, i64* %rax.0.reg2mem br i1 %62, label LBL_17, label LBL_14 LBL_14: %63 = load i32, i32* %5, align 8 %64 = icmp eq i32 %63, 0 %65 = icmp slt i32 %63, 0 %66 = icmp eq i1 %65, false %67 = icmp eq i1 %64, false %68 = icmp eq i1 %66, %67 br i1 %68, label LBL_15, label LBL_16 LBL_15: %69 = load i64, i64* %7, align 8 %70 = urem i64 %69, 256 %71 = call i64 @FUNC(i64 %70, i64 %4) %72 = load i64, i64* %7, align 8 %73 = ashr i64 %72, 8 store i64 %73, i64* %7, align 8 %74 = load i32, i32* %5, align 8 %75 = add i32 %74, -8 store i32 %75, i32* %25, align 4 %76 = icmp eq i32 %74, 0 %77 = icmp slt i32 %74, 0 %78 = icmp eq i1 %77, false %79 = icmp eq i1 %76, false %80 = icmp eq i1 %78, %79 br i1 %80, label LBL_15, label LBL_16 LBL_16: store i32 -1, i32* %25, align 4 %81 = call i64 @FUNC(i64 %4) store i64 %81, 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 i1 %42, { 1, 0 } uselistorder i32* %39, { 2, 1, 0, 3 } uselistorder i32* %22, { 2, 1, 0, 3 } uselistorder i32 %20, { 1, 0 } uselistorder i64 %13, { 1, 0, 2, 3 } uselistorder i64* %7, { 2, 1, 3, 5, 4, 6, 0, 7, 8 } uselistorder i32* %5, { 1, 0, 2, 3, 4 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %4, { 1, 2, 3, 4, 0, 6, 7, 5, 8, 9 } uselistorder i64 %1, { 1, 0 } uselistorder i1 false, { 3, 2, 0, 1, 4, 5 } uselistorder i32 -8, { 1, 0 } uselistorder i64 (i64, i64)* @char_out, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
entry_free_4989
entry_free
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %arg2, 4 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0) %4 = call i64 @FUNC(i64 %arg2) %5 = inttoptr i64 %arg2 to i64* call void @free(i64* %5) ret i64 ptrtoint (i32* @0 to i64) }
0
CompRealVul
address_space_get_flatview_14351
address_space_get_flatview
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC() ret i64 %2 }
1
CompRealVul
megasas_reset_frames_8322
megasas_reset_frames
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.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 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %7 = mul i64 %.reload, 8 %8 = add i64 %5, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %2, i64 %8) br label LBL_4 LBL_4: %13 = add i32 %storemerge1.reload, 1 %14 = sext i32 %13 to i64 %15 = icmp sgt i64 %6, %14 store i64 %14, i64* %.reg2mem store i32 %13, i32* %storemerge1.reg2mem br i1 %15, label LBL_2, label LBL_5 LBL_5: %16 = add i64 %2, 2056 %17 = call i64 @FUNC(i64 %16, i64 256) ret i64 %17 uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
dlt_filter_load_7191
dlt_filter_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.ph8.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 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %5 = icmp ne i64* %arg1, null %6 = icmp eq i64 %arg2, 0 %7 = icmp eq i1 %6, false %or.cond7 = icmp eq i1 %5, %7 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_1, label LBL_18 LBL_1: %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %arg2 to i8* %12 = call %_IO_FILE* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %13 = icmp eq %_IO_FILE* %12, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %16 = bitcast i64* %arg1 to i32* store i32 0, i32* %16, align 4 %17 = call i32 @feof(%_IO_FILE* %12) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_17 LBL_4: %19 = ptrtoint i64* %arg1 to i64 %20 = trunc i64 %3 to i32 %21 = bitcast i8* %sv_2 to i64* %22 = icmp sgt i32 %20, 99 %23 = trunc i64 %8 to i32 br label LBL_5 LBL_5: %rcx.0.ph8.reload = load i64, i64* %rcx.0.ph8.reg2mem br label LBL_6 LBL_6: store i8 0, i8* %sv_2, align 1 %24 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false %27 = load i8, i8* %sv_2, align 1 %28 = icmp eq i8 %27, 0 %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_17, label LBL_7 LBL_7: %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* nonnull %sv_2) %30 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_5) br label LBL_10 LBL_9: %34 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %21) br label LBL_10 LBL_10: store i8 0, i8* %sv_2, align 1 %35 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false %38 = load i8, i8* %sv_2, align 1 %39 = icmp eq i8 %38, 0 %or.cond5 = or i1 %37, %39 br i1 %or.cond5, label LBL_17, label LBL_11 LBL_11: %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i8* nonnull %sv_2) %41 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_5) br label LBL_14 LBL_13: %45 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %21) br label LBL_14 LBL_14: br i1 %22, label LBL_16, label LBL_15 LBL_15: %46 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1, i64* nonnull %sv_0, i32 %23) %47 = call i32 @feof(%_IO_FILE* %12) %48 = icmp eq i32 %47, 0 store i64 %9, i64* %rcx.0.ph8.reg2mem br i1 %48, label LBL_5, label LBL_17 LBL_16: %49 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_7, i64 0, i64 0), i64 100, i64 %rcx.0.ph8.reload, i64 %2, i64 %1) %50 = call i32 @feof(%_IO_FILE* %12) %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_6, label LBL_17 LBL_17: %52 = call i32 @fclose(%_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %12, { 3, 5, 1, 2, 4, 0, 6 } uselistorder i8* %sv_2, { 4, 5, 0, 2, 9, 7, 8, 1, 3, 10, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rcx.0.ph8.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64*)* @dlt_set_id, { 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fscanf, { 1, 0 } uselistorder i8 0, { 0, 2, 1, 3, 4 } uselistorder i32 (%_IO_FILE*)* @feof, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dlt_vlog, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
ndpi_bytestream_to_ipv4_7363
ndpi_bytestream_to_ipv4
define i64 @FUNC(i64* %arg1, i64 %arg2, i16* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %4 = urem i64 %arg2, 65536 %5 = bitcast i32* %sv_0 to i16* %6 = call i64 @FUNC(i64 %3, i64 %4, i16* nonnull %5) %7 = trunc i64 %6 to i32 %8 = icmp ult i32 %7, 256 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_11 LBL_1: %sext = mul i64 %arg2, 281474976710656 %9 = ashr exact i64 %sext, 48 %10 = trunc i64 %1 to i8 %11 = load i32, i32* %sv_0, align 4 %12 = trunc i32 %11 to i16 %13 = icmp ne i16 %12, 0 %14 = trunc i64 %9 to i16 %15 = icmp ne i16 %14, %12 %or.cond.not = icmp eq i1 %15, %13 %16 = icmp eq i8 %10, 46 %or.cond14 = icmp eq i1 %16, %or.cond.not store i64 0, i64* %rax.0.reg2mem br i1 %or.cond14, label LBL_2, label LBL_11 LBL_2: %17 = mul i32 %11, 65536 %sext4 = add i32 %17, 65536 %18 = ashr exact i32 %sext4, 16 store i32 %18, i32* %sv_0, align 4 %19 = trunc i64 %9 to i32 %20 = sub i32 %19, %18 %21 = urem i32 %18, 65536 %22 = zext i32 %21 to i64 %23 = add i64 %22, %3 %24 = urem i32 %20, 65536 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %23, i64 %25, i16* nonnull %5) %27 = trunc i64 %26 to i32 %28 = icmp ult i32 %27, 256 store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_3, label LBL_11 LBL_3: %29 = trunc i32 %18 to i16 %30 = load i32, i32* %sv_0, align 4 %31 = trunc i32 %30 to i16 %32 = icmp eq i16 %29, %31 %33 = icmp eq i16 %14, %31 %or.cond9 = or i1 %32, %33 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond9, label LBL_11, label LBL_4 LBL_4: %34 = urem i32 %30, 65536 %35 = zext i32 %34 to i64 %36 = add i64 %35, %3 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 46 store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_5, label LBL_11 LBL_5: %40 = mul i32 %30, 65536 %sext5 = add i32 %40, 65536 %41 = ashr exact i32 %sext5, 16 store i32 %41, i32* %sv_0, align 4 %42 = sub i32 %19, %41 %43 = urem i32 %41, 65536 %44 = zext i32 %43 to i64 %45 = add i64 %44, %3 %46 = urem i32 %42, 65536 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %45, i64 %47, i16* nonnull %5) %49 = trunc i64 %48 to i32 %50 = icmp ult i32 %49, 256 store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_6, label LBL_11 LBL_6: %51 = trunc i32 %41 to i16 %52 = load i32, i32* %sv_0, align 4 %53 = trunc i32 %52 to i16 %54 = icmp eq i16 %51, %53 %55 = icmp eq i16 %14, %53 %or.cond11 = or i1 %54, %55 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond11, label LBL_11, label LBL_7 LBL_7: %56 = urem i32 %52, 65536 %57 = zext i32 %56 to i64 %58 = add i64 %57, %3 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = icmp eq i8 %60, 46 store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_8, label LBL_11 LBL_8: %62 = mul i32 %52, 65536 %sext6 = add i32 %62, 65536 %63 = ashr exact i32 %sext6, 16 store i32 %63, i32* %sv_0, align 4 %64 = sub i32 %19, %63 %65 = urem i32 %63, 65536 %66 = zext i32 %65 to i64 %67 = add i64 %66, %3 %68 = urem i32 %64, 65536 %69 = zext i32 %68 to i64 %70 = call i64 @FUNC(i64 %67, i64 %69, i16* nonnull %5) %71 = trunc i64 %70 to i32 %72 = icmp ult i32 %71, 256 store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_9, label LBL_11 LBL_9: %73 = trunc i32 %63 to i16 %74 = load i32, i32* %sv_0, align 4 %75 = trunc i32 %74 to i16 %76 = icmp ne i16 %73, %75 %77 = icmp eq i16 %14, %75 %78 = icmp eq i1 %77, false %or.cond13 = icmp eq i1 %76, %78 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond13, label LBL_10, label LBL_11 LBL_10: %79 = trunc i64 %2 to i16 %80 = mul i32 %7, 16777216 %81 = mul i32 %27, 65536 %82 = add i32 %81, %80 %83 = mul i32 %49, 256 %84 = add i32 %82, %83 %85 = add i32 %84, %71 %86 = add i16 %75, %79 store i16 %86, i16* %arg3, align 2 %87 = call i32 @htonl(i32 %85) %88 = sext i32 %87 to i64 store i64 %88, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %63, { 2, 0, 1, 3 } uselistorder i32 %41, { 2, 0, 1, 3 } uselistorder i32 %18, { 2, 0, 1, 3 } uselistorder i64 %9, { 1, 0 } uselistorder i32* %sv_0, { 7, 6, 5, 4, 3, 2, 1, 8, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 11, 1, 2, 4, 3, 5, 7, 6, 8, 9, 10 } uselistorder i64* %0, { 1, 0 } uselistorder i8 46, { 1, 2, 0 } uselistorder i64 (i64, i64, i16*)* @ndpi_bytestream_to_number, { 3, 2, 1, 0 } uselistorder label LBL_11, { 10, 1, 2, 4, 3, 5, 7, 6, 8, 0, 9 } }
0
CompRealVul
move_to_next_stateful_cpuid_entry_9933
move_to_next_stateful_cpuid_entry
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge7.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, %0 %3 = inttoptr i64 %2 to i32* %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = and i32 %9, -2 store i32 %10, i32* %8, align 4 %sext3 = add i64 %sext, 4294967296 %storemerge6 = ashr exact i64 %sext3, 32 %11 = ashr exact i64 %sext3, 29 %12 = add i64 %11, %0 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = load i32, i32* %3, align 4 %16 = icmp eq i32 %14, %15 %17 = icmp eq i1 %16, false store i64 %storemerge6, i64* %storemerge.lcssa.reg2mem store i64 %12, i64* %.lcssa.reg2mem br i1 %17, label LBL_1, label LBL_2 LBL_1: %18 = zext i32 %6 to i64 store i64 %storemerge6, i64* %storemerge7.reg2mem br label LBL_3 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %19 = add i64 %.lcssa.reload, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = or i32 %21, 1 store i32 %22, i32* %20, align 4 %23 = and i64 %storemerge.lcssa.reload, 4294967295 ret i64 %23 LBL_3: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %24 = add nsw i64 %storemerge7.reload, 1 %25 = trunc i64 %24 to i32 %26 = ashr i32 %25, 31 %27 = and i64 %24, 4294967295 %28 = zext i32 %26 to i64 %29 = mul i64 %28, 4294967296 %30 = or i64 %29, %27 %31 = srem i64 %30, %18 %sext5 = mul i64 %31, 4294967296 %storemerge = ashr exact i64 %sext5, 32 %32 = ashr exact i64 %sext5, 29 %33 = add i64 %32, %0 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, %15 %37 = icmp eq i1 %36, false store i64 %storemerge, i64* %storemerge.lcssa.reg2mem store i64 %33, i64* %.lcssa.reg2mem store i64 %storemerge, i64* %storemerge7.reg2mem br i1 %37, label LBL_3, label LBL_2 uselistorder i64 %2, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i64* %storemerge.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge7.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 29, { 1, 0, 2 } uselistorder i64 4294967296, { 0, 1, 3, 2 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
pgd_alloc_6196
pgd_alloc
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, 4 %3 = call i64 @FUNC(i64 %2) %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5) ret i64 %6 uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 } }
0
CompRealVul
cp_report_fixup_3698
cp_report_fixup
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem4 = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdx = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = urem i64 %4, 2 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = trunc i64 %1 to i32 %9 = bitcast i64* %rdx to i32* %switch = icmp ult i32 %8, 5 store i32 %8, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %switch, label LBL_6, label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %10 = add i64 %indvars.iv.reload, %2 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 41 %14 = icmp eq i1 %13, false store i32 %.reload, i32* %.reg2mem4 br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = add nuw nsw i64 %indvars.iv.reload, 2 %16 = and i64 %15, 4294967295 %17 = add i64 %16, %2 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 25 %21 = icmp eq i1 %20, false store i32 %.reload, i32* %.reg2mem4 br i1 %21, label LBL_5, label LBL_4 LBL_4: store i8 25, i8* %11, align 1 store i8 41, i8* %18, align 1 %22 = add i64 %10, 1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = add nuw nsw i64 %indvars.iv.reload, 3 %26 = and i64 %25, 4294967295 %27 = add i64 %26, %2 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %24 to i64 %31 = zext i8 %29 to i64 %32 = call i64 @FUNC(i64 %31, i64 %30) %.pre = load i32, i32* %9, align 8 store i32 %.pre, i32* %.reg2mem4 br label LBL_5 LBL_5: %.reload5 = load i32, i32* %.reg2mem4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = add i32 %.reload5, -4 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %indvars.iv.next, %34 store i32 %.reload5, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %35, label LBL_2, label LBL_6 LBL_6: ret i64 %2 uselistorder i32 %.reload5, { 1, 0 } uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 } uselistorder i64 %2, { 3, 0, 1, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem4, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i8 25, { 1, 0 } uselistorder i8 41, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
GetByteStr_10709
GetByteStr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = ptrtoint i64* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = call i64 @FUNC(i64 %2, i64 %4, i32 %5) %7 = add i64 %3, %2 store i64 %7, i64* %arg1, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
pci_add_option_rom_14883
pci_add_option_rom
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_18 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_18 LBL_2: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 768 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %13) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %19 = call i64 @FUNC(i64 %13, i64 4294967295) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_6: %20 = call i64 @FUNC(i64 1, i64 %2) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %.reg2mem br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 1) store i64 %23, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %24 = call i64 @FUNC(i64 %.reload) %25 = trunc i64 %24 to i32 %26 = icmp slt i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_10, label LBL_9 LBL_9: %28 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %29 = add i32 %25, -1 %30 = and i32 %29, %25 %31 = icmp eq i32 %30, 0 store i32 %25, i32* %sv_0.0.reg2mem br i1 %31, label LBL_12, label LBL_11 LBL_11: %32 = and i64 %24, 4294967295 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i32 %35 = urem i32 %34, 32 %36 = shl i32 1, %35 store i32 %36, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %37 = add i64 %2, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %39, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = inttoptr i64 %42 to i64* %45 = load i64, i64* %44, align 8 %46 = bitcast i64* %sv_1 to i8* %47 = inttoptr i64 %45 to i8* %48 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %46, i32 32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %47) br label LBL_15 LBL_14: %49 = inttoptr i64 %39 to i64* %50 = load i64, i64* %49, align 8 %51 = bitcast i64* %sv_1 to i8* %52 = inttoptr i64 %50 to i8* %53 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %51, i32 32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %52) br label LBL_15 LBL_15: %54 = call i64 @FUNC(i64 %37, i64* nonnull %sv_1, i32 %sv_0.0.reload) %55 = add i64 %2, 24 %56 = inttoptr i64 %55 to i64* store i64 %54, i64* %56, align 8 %57 = call i64 @FUNC(i64 %54) %58 = call i64 @FUNC(i64 %.reload, i64 %57) %59 = trunc i64 %arg2 to i8 %60 = icmp eq i8 %59, 0 br i1 %60, label LBL_17, label LBL_16 LBL_16: %61 = call i64 @FUNC(i64 %2, i64 %57, i32 %sv_0.0.reload) br label LBL_17 LBL_17: %62 = load i64, i64* @gv_3, align 8 %63 = call i64 @FUNC(i64 %2, i64 0, i32 %sv_0.0.reload, i64 0, i64 %62) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 2, 0 } uselistorder i64 %.reload, { 1, 2, 0 } uselistorder i64 %2, { 3, 2, 4, 5, 0, 7, 6, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 3, 4 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i32 32, { 1, 2, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_18, { 4, 5, 1, 0, 2, 3 } }
1
CompRealVul
breakpoint_invalidate_2559
breakpoint_invalidate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = add i64 %arg2, 1 %3 = call i64 @FUNC(i64 %arg2, i64 %2, i64 0) %4 = call i64 @FUNC() %5 = call i64 @FUNC() ret i64 %5 }
0
CompRealVul
icmpv6_getfrag_9014
icmpv6_getfrag
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg4 to i32 %5 = trunc i64 %arg5 to i32 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = trunc i64 %arg3 to i32 %10 = add i32 %8, %9 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %3, i64 %11, i64 %2, i32 %4, i64 0) %13 = urem i64 %12, 65536 %14 = urem i64 %1, 65536 %15 = call i64 @FUNC(i64 %14, i64 %13, i32 %5) %16 = trunc i64 %15 to i16 %17 = bitcast i64* %arg6 to i16* store i16 %16, i16* %17, align 2 %18 = add i64 %3, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = trunc i32 %20 to i8 %22 = icmp sgt i8 %21, -1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = ptrtoint i64* %arg6 to i64 %25 = call i64 @FUNC(i64 %24, i64 %3) br label LBL_2 LBL_2: ret i64 0 uselistorder i64* %arg6, { 1, 0 } }
0
CompRealVul
sd_do_command_5065
sd_do_command
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.in.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_23, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_23, label LBL_2 LBL_2: %11 = add i64 %3, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_23 LBL_3: %16 = trunc i64 %1 to i32 %17 = ptrtoint i32* %arg2 to i64 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = or i32 %16, 10 %22 = bitcast i64* %arg1 to i32* store i32 %21, i32* %22, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_5: %23 = and i32 %16, -13 %24 = bitcast i64* %arg1 to i32* store i32 %23, i32* %24, align 4 %25 = call i64 @FUNC(i64 %3) %26 = and i32 %16, 9 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %3, i64 %17) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = or i32 %16, 11 store i32 %32, i32* %24, align 4 %33 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %34 = call i32 @fwrite(i64* bitcast ([20 x i8]* @gv_1 to i64*), i32 1, i32 19, %_IO_FILE* %33) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_8: %35 = trunc i64 %2 to i32 %36 = and i32 %16, 8 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = call i64 @FUNC(i64 %3, i32 %35) %39 = and i32 %16, -9 store i32 %39, i32* %24, align 4 store i64 %38, i64* %sv_1.0.in.reg2mem br label LBL_11 LBL_10: %40 = call i64 @FUNC(i64 %3, i32 %35) store i64 %40, i64* %sv_1.0.in.reg2mem br label LBL_11 LBL_11: %41 = ptrtoint i64* %arg3 to i64 %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %sv_1.0 = trunc i64 %sv_1.0.in.reload to i32 %42 = add i64 %3, 20 %43 = inttoptr i64 %42 to i32* store i32 %35, i32* %43, align 4 %44 = and i64 %sv_1.0.in.reload, 4294967295 store i64 %44, i64* @0, align 8 switch i32 %sv_1.0, label LBL_22 [ i32 1, label LBL_12 i32 2, label LBL_12 i32 3, label LBL_13 i32 4, label LBL_14 i32 5, label LBL_15 i32 6, label LBL_16 i32 7, label LBL_17 ] LBL_12: %45 = call i64 @FUNC(i64 %3, i64 %41, i32 %16) store i64 4, i64* %sv_0.0.reg2mem br label LBL_18 LBL_13: %46 = add i64 %3, 24 %47 = add i64 %3, 32 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %46 to i64* %51 = load i64, i64* %50, align 8 store i64 %51, i64* %arg3, align 8 %52 = add i64 %41, 8 %53 = inttoptr i64 %52 to i64* store i64 %49, i64* %53, align 8 store i64 16, i64* %sv_0.0.reg2mem br label LBL_18 LBL_14: %54 = add i64 %3, 40 %55 = add i64 %3, 48 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = inttoptr i64 %54 to i64* %59 = load i64, i64* %58, align 8 store i64 %59, i64* %arg3, align 8 %60 = add i64 %41, 8 %61 = inttoptr i64 %60 to i64* store i64 %57, i64* %61, align 8 store i64 16, i64* %sv_0.0.reg2mem br label LBL_18 LBL_15: %62 = call i64 @FUNC(i64 %3, i64 %41) store i64 4, i64* %sv_0.0.reg2mem br label LBL_18 LBL_16: %63 = call i64 @FUNC(i64 %3, i64 %41) store i64 4, i64* %sv_0.0.reg2mem br label LBL_18 LBL_17: %64 = call i64 @FUNC(i64 %3, i64 %41) store i64 4, i64* %sv_0.0.reg2mem br label LBL_18 LBL_18: %65 = bitcast i64* %rdi to i32* %66 = load i32, i32* %65, align 8 %67 = and i32 %66, 11 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_19, label LBL_22 LBL_19: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %indvars.iv.reg2mem br label LBL_20 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %70 = add i64 %indvars.iv.reload, %41 %71 = inttoptr i64 %70 to i8* %72 = load i8, i8* %71, align 1 %73 = zext i8 %72 to i32 %74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 %73) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %sv_0.0.reload store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_21, label LBL_20 LBL_21: %75 = add i64 %3, 56 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = zext i32 %77 to i64 %79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %78) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_23 LBL_22: %80 = add i64 %3, 56 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = zext i32 %82 to i64 %84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i64 %83) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.in.reload, { 1, 0 } uselistorder i64 %41, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32* %24, { 1, 0, 2 } uselistorder i32 %16, { 6, 0, 5, 1, 4, 3, 2 } uselistorder i64 %3, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 11, 12, 13, 0, 14, 15, 16 } uselistorder i64* %sv_1.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 6, 5, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 4, { 3, 2, 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64* %arg3, { 1, 0, 2 } uselistorder label LBL_23, { 1, 0, 5, 6, 4, 3, 2 } }
0
CompRealVul
qAddDirect_5749
qAddDirect
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %4 = ptrtoint i64* %sv_2 to i64 %5 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 104) %6 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) store i64 1, i64* %sv_1, align 8 store i64 1, i64* %sv_0, align 8 %7 = add i64 %4, -120 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 8 %9 = add i64 %7, %8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* call void @free(i64* %12) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %13 = ptrtoint i64* %sv_0 to i64 %14 = call i64 @FUNC(i64 %arg2) %15 = and i64 %13, 4294967288 ret i64 %15 uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } }
0
CompRealVul
printer_process_irp_write_5623
printer_process_irp_write
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = ptrtoint i64* %arg2 to i64 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp ult i32 %6, 32 store i64 1, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = zext i32 %4 to i64 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = call i64 @FUNC(i64 %8, i64 %3) %11 = call i64 @FUNC(i64 %3, i64 20) %12 = call i64 @FUNC(i64 20) %13 = call i64 @FUNC(i64 20, i64 %8) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 1, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_3 LBL_2: %17 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 20) store i64 20, 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 } }
0
CompRealVul
client_handle_input_8146
client_handle_input
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %1, 256 %4 = xor i64 %3, 1 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = icmp eq i8 %8, 0 %.pre = add i64 %2, 24 %.pre1 = inttoptr i64 %.pre to i64* br i1 %9, label LBL_5, label LBL_1 LBL_1: store i64 0, i64* %.pre1, align 8 %10 = add i64 %2, 32 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %12 = add i64 %2, 48 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 40 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_4, label LBL_2 LBL_2: %20 = call i64 @FUNC(i64 %2) %21 = trunc i64 %20 to i8 %22 = icmp eq i8 %21, 1 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_3, label LBL_13 LBL_3: store i8 0, i8* %17, align 1 br label LBL_4 LBL_4: store i8 0, i8* %7, align 1 br label LBL_5 LBL_5: %23 = load i64, i64* %.pre1, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_10, label LBL_6 LBL_6: %26 = add i64 %2, 48 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) store i64 %29, i64* %.pre1, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_7, label LBL_13 LBL_7: %32 = call i64 @FUNC(i64 %29) %33 = trunc i64 %32 to i8 %34 = icmp eq i8 %33, 1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = load i64, i64* %.pre1, align 8 %37 = inttoptr i64 %36 to i8* %38 = call i32 @strlen(i8* %37) %39 = icmp ult i32 %38, 65 br i1 %39, label LBL_10, label LBL_9 LBL_9: store i64 ptrtoint (i64* @gv_0 to i64), i64* %.pre1, align 8 br label LBL_10 LBL_10: %40 = add i64 %2, 32 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = icmp eq i64 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_12, label LBL_11 LBL_11: %45 = add i64 %2, 48 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) store i64 %48, i64* %41, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_12, label LBL_13 LBL_12: store i64 %2, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 1, 0, 2 } uselistorder i64* %.pre1, { 1, 0, 2, 3, 4 } uselistorder i64 %2, { 0, 7, 6, 8, 3, 2, 4, 5, 1, 9 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @imap_parser_read_word, { 1, 0 } uselistorder label LBL_13, { 3, 0, 1, 2 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
xcopy_pt_undepend_remotedev_13261
xcopy_pt_undepend_remotedev
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false %storemerge.in.in.v = select i1 %8, i64 8, i64 16 %storemerge.in.in = add i64 %storemerge.in.in.v, %5 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %9 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_0, i64 0, i64 0), i64 %storemerge, i64 %storemerge, i64 %4, i64 %2, i64 %1) %10 = call i64 @FUNC(i64 %storemerge) ret i64 %10 uselistorder i64 %storemerge, { 2, 0, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } }
1
CompRealVul
j2k_dump_90
j2k_dump
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %.in.reg2mem = alloca i64 %0 = urem i64 %arg2, 4 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = inttoptr i64 %arg3 to %_IO_FILE* %3 = call i32 @fwrite(i64* bitcast ([12 x i8]* @gv_0 to i64*), i32 1, i32 11, %_IO_FILE* %2) %4 = sext i32 %3 to i64 store i64 %4, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = and i64 %arg2, 4 %7 = icmp eq i64 %6, 0 %8 = icmp eq i64* %arg1, null %or.cond = or i1 %8, %7 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %5, i64 0, i64 %arg3) br label LBL_4 LBL_4: %10 = and i64 %arg2, 8 %11 = icmp eq i64 %10, 0 %or.cond4 = or i1 %8, %11 br i1 %or.cond4, label LBL_6, label LBL_5 LBL_5: %12 = call i64 @FUNC(i64 %5, i64 %arg3) br label LBL_6 LBL_6: %13 = and i64 %arg2, 16 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_9, label LBL_7 LBL_7: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %5, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = mul i32 %20, %17 %22 = add i64 %5, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i32 %21, 0 %or.cond8 = or i1 %8, %25 store i64 %5, i64* %.in.reg2mem store i32 0, i32* %storemerge7.reg2mem br i1 %or.cond8, label LBL_9, label LBL_8 LBL_8: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %26 = and i64 %.in.reload, 4294967295 %27 = call i64 @FUNC(i64 %24, i64 %26, i64 %arg3) %28 = add nuw i32 %storemerge7.reload, 1 %exitcond = icmp eq i32 %28, %21 store i64 %24, i64* %.in.reg2mem store i32 %28, i32* %storemerge7.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %29 = and i64 %arg2, 64 %30 = icmp eq i64 %29, 0 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %5, i64 %arg3) store i64 %31, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %21, { 1, 0 } uselistorder i1 %8, { 2, 0, 1 } uselistorder i64 %5, { 6, 0, 3, 5, 4, 2, 1 } uselistorder i64* %.in.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 0, 4, 3, 2, 1 } uselistorder i64 4, { 1, 0 } uselistorder i64 %arg3, { 2, 1, 0, 4, 3 } uselistorder i64 %arg2, { 1, 2, 3, 4, 0 } uselistorder label LBL_8, { 1, 0 } }
0
CompRealVul
htab_load_2078
htab_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.1.be.reg2mem = alloca i64 %rsi.2.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %rsi.1.ph.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %5 = trunc i64 %arg3 to i32 %6 = icmp eq i32 %5, 1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg3, i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_29 LBL_2: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_3 LBL_3: store i64 0, i64* %sv_1, align 8 %12 = and i64 %9, 4294967295 %13 = call i64 @FUNC(i64 %4, i64 %12, i64* nonnull %sv_1) %14 = load i64, i64* %sv_1, align 8 %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_29, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %14) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_29 LBL_5: %17 = icmp eq i64* %arg2, null %18 = icmp eq i1 %17, false store i32 -1, i32* %sv_0.0.ph.reg2mem store i64 %4, i64* %rsi.1.ph.reg2mem br i1 %18, label LBL_10, label LBL_6 LBL_6: %19 = call i64 @FUNC() %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %arg3, i64* %rdx.0.reg2mem store i64 %4, i64* %rsi.0.reg2mem br i1 %22, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) store i64 ptrtoint ([10 x i8]* @gv_3 to i64), i64* %rcx.0.reg2mem store i64 87, i64* %rdx.0.reg2mem store i64 ptrtoint ([43 x i8]* @gv_2 to i64), i64* %rsi.0.reg2mem br label LBL_8 LBL_8: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %23 = call i64 @FUNC(i64 1) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %sv_0.0.ph.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.ph.reg2mem br i1 %26, label LBL_10, label LBL_9 LBL_9: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %27 = call i32* @__errno_location() %28 = load i32, i32* %27, align 4 %29 = call i8* @strerror(i32 %28) %30 = ptrtoint i8* %29 to i64 %31 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i64 %30, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1) store i32 %24, i32* %sv_0.0.ph.reg2mem store i64 %30, i64* %rsi.1.ph.reg2mem br label LBL_10 LBL_10: %rsi.1.ph.reload = load i64, i64* %rsi.1.ph.reg2mem %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %32 = icmp slt i32 %sv_0.0.ph.reload, 0 %33 = icmp eq i1 %32, false %34 = zext i32 %sv_0.0.ph.reload to i64 store i64 %rsi.1.ph.reload, i64* %rsi.1.reg2mem br label LBL_11 LBL_11: %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %35 = call i64 @FUNC(i64 %8) %36 = trunc i64 %35 to i32 %37 = call i64 @FUNC(i64 %8) %38 = trunc i64 %37 to i32 %sext4 = mul i32 %38, 65536 %39 = ashr exact i32 %sext4, 16 %40 = call i64 @FUNC(i64 %8) %41 = trunc i64 %40 to i32 %sext5 = mul i32 %41, 65536 %42 = ashr exact i32 %sext5, 16 %43 = icmp eq i32 %36, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_13, label LBL_12 LBL_12: %45 = or i32 %42, %39 %46 = trunc i32 %45 to i16 %47 = icmp eq i16 %46, 0 br i1 %47, label LBL_25, label LBL_13 LBL_13: %48 = urem i32 %39, 65536 %49 = add i32 %48, %36 %50 = urem i32 %42, 65536 %51 = add i32 %50, %49 %52 = icmp ult i32 %51, 32769 br i1 %52, label LBL_15, label LBL_14 LBL_14: %53 = add i64 %4, 8 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %50 to i64 %57 = zext i32 %48 to i64 %58 = zext i32 %55 to i64 %59 = and i64 %35, 4294967295 %60 = call i64 @FUNC(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_5, i64 0, i64 0), i64 %59, i64 %57, i64 %56, i64 %58, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_29 LBL_15: %61 = icmp eq i64 %rsi.1.reload, 0 br i1 %61, label LBL_21, label LBL_16 LBL_16: %62 = trunc i32 %39 to i16 %63 = icmp eq i16 %62, 0 store i64 %rsi.1.reload, i64* %rsi.2.reg2mem br i1 %63, label LBL_18, label LBL_17 LBL_17: %64 = mul i64 %37, 32 %65 = and i64 %64, 2097120 %66 = mul i64 %35, 32 %67 = and i64 %66, 4294967264 %68 = add i64 %67, %rsi.1.reload %69 = call i64 @FUNC(i64 %8, i64 %68, i64 %65) store i64 %68, i64* %rsi.2.reg2mem br label LBL_18 LBL_18: %rsi.2.reload = load i64, i64* %rsi.2.reg2mem %70 = trunc i32 %42 to i16 %71 = icmp eq i16 %70, 0 store i64 %rsi.2.reload, i64* %rsi.1.be.reg2mem br i1 %71, label LBL_11.backedge, label LBL_20 LBL_19: %rsi.1.be.reload = load i64, i64* %rsi.1.be.reg2mem store i64 %rsi.1.be.reload, i64* %rsi.1.reg2mem br label LBL_11 LBL_20: %72 = mul i32 %41, 32 %73 = and i32 %72, 2097120 %74 = mul i32 %49, 32 %75 = zext i32 %74 to i64 %76 = add i64 %rsi.2.reload, %75 %77 = inttoptr i64 %76 to i64* %78 = call i64* @memset(i64* %77, i32 0, i32 %73) store i64 0, i64* %rsi.1.be.reg2mem br label LBL_11.backedge LBL_21: br i1 %33, label LBL_23, label LBL_22 LBL_22: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 115, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) br label LBL_23 LBL_23: %79 = trunc i32 %39 to i16 %80 = zext i32 %50 to i64 %81 = call i64 @FUNC(i64 %8, i32 %sv_0.0.ph.reload, i32 %36, i16 %79, i64 %80) %82 = trunc i64 %81 to i32 %83 = icmp slt i32 %82, 0 %84 = icmp eq i1 %83, false store i64 %34, i64* %rsi.1.be.reg2mem br i1 %84, label LBL_11.backedge, label LBL_24 LBL_24: %85 = and i64 %81, 4294967295 store i64 %85, i64* %rax.0.reg2mem br label LBL_29 LBL_25: %86 = icmp eq i64 %rsi.1.reload, 0 %87 = icmp eq i1 %86, false store i64 0, i64* %rax.0.reg2mem br i1 %87, label LBL_29, label LBL_26 LBL_26: br i1 %33, label LBL_28, label LBL_27 LBL_27: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 120, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) br label LBL_28 LBL_28: %88 = call i32 @close(i32 %sv_0.0.ph.reload) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_29: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rsi.2.reload, { 1, 0 } uselistorder i32 %50, { 1, 2, 0 } uselistorder i32 %48, { 1, 0 } uselistorder i32 %42, { 2, 0, 1 } uselistorder i32 %39, { 2, 3, 0, 1 } uselistorder i32 %36, { 1, 0, 2 } uselistorder i64 %rsi.1.reload, { 3, 2, 0, 1 } uselistorder i32 %sv_0.0.ph.reload, { 0, 2, 1, 3 } uselistorder i32 %24, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2, 4, 3, 5 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64 %4, { 3, 1, 0, 2, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rsi.1.ph.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rsi.1.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.1.be.reg2mem, { 3, 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 5, 4, 3, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i16 0, { 1, 2, 0 } uselistorder i32 65536, { 2, 3, 0, 1 } uselistorder i64 (i64)* @qemu_get_be16, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder [10 x i8]* @gv_3, { 1, 0 } uselistorder [43 x i8]* @gv_2, { 1, 0 } uselistorder i1 false, { 0, 1, 3, 2, 4, 5, 6 } uselistorder i32 0, { 1, 0, 3, 2, 4, 5, 6 } uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 } uselistorder i64 4294967274, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 } uselistorder label LBL_29, { 1, 0, 3, 4, 5, 2, 6 } uselistorder label LBL_11.backedge, { 2, 1, 0 } uselistorder label LBL_10, { 2, 1, 0 } }
0
CompRealVul
mem_log_init_13379
mem_log_init
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = call i64 @FUNC(i64 0, i64* nonnull @gv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %9 = ptrtoint %_IO_FILE* %8 to i64 store %_IO_FILE* %8, %_IO_FILE** @gv_2, align 8 store i64 %9, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %10 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %11 = icmp eq %_IO_FILE* %10, null br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i32 @fclose(%_IO_FILE* nonnull %10) br label LBL_4 LBL_4: %13 = inttoptr i64 %arg1 to i8* %14 = call i32 @strlen(i8* %13) %15 = add i32 %14, 22 %16 = call i64* @malloc(i32 %15) %17 = icmp eq i64* %16, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %20 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %21 = ptrtoint %_IO_FILE* %20 to i64 store %_IO_FILE* %20, %_IO_FILE** @gv_2, align 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %22 = bitcast i64* %16 to i8* %23 = call i32 @getpid() %24 = zext i32 %23 to i64 %25 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %22, i32 %15, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8* %13, i64 %24) %26 = ptrtoint i64* %16 to i64 %27 = call i64 @FUNC(i64 %26, i64* nonnull @gv_5) %28 = inttoptr i64 %27 to %_IO_FILE* store %_IO_FILE* %28, %_IO_FILE** @gv_2, align 8 %29 = icmp eq i64 %27, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %26, i64 %arg1, i64 %24, i64 %1) %32 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %33 = ptrtoint %_IO_FILE* %32 to i64 store i64 %33, i64* bitcast (%_IO_FILE** @gv_2 to i64*), align 8 br label LBL_9 LBL_8: %34 = call i32 @fileno(%_IO_FILE* %28) %35 = call i32 (i32, i32, ...) @fcntl(i32 %34, i32 1) %36 = call i32 (i32, i32, ...) @fcntl(i32 %34, i32 2) %37 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 call void @setlinebuf(%_IO_FILE* %37) %38 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %39 = call i32 @fputc(i32 10, %_IO_FILE* %38) br label LBL_9 LBL_9: call void @free(i64* %16) %40 = ptrtoint i8* %arg2 to i64 store i64 %40, i64* @gv_7, align 8 store i64 %40, 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* %16, { 0, 1, 3, 2 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_message, { 1, 0 } uselistorder %_IO_FILE** @gv_2, { 6, 5, 0, 4, 3, 2, 1 } uselistorder %_IO_FILE** @gv_1, { 0, 3, 2, 1 } uselistorder i32 1, { 6, 4, 3, 7, 2, 0, 5, 1 } }
0
CompRealVul
dump_json_image_check_15214
dump_json_image_check
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 %3, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %4 = call i64 @FUNC() %5 = call i64 @FUNC(i64 %4) %6 = ptrtoint i64* %sv_0 to i64 %7 = call i64 @FUNC(i64 %5, i64 0, i64* nonnull %sv_1, i64* nonnull %sv_0) %8 = call i64 @FUNC(i64 %4) %9 = call i64 @FUNC(i64 %8) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 %6, i64* %rcx.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([22 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem br label LBL_2 LBL_2: %12 = urem i64 %arg2, 256 %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %13 = call i64 @FUNC(i64 %9) %14 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %13, i64 %rcx.0.reload, i64 %2, i64 %1) %15 = call i64 @FUNC(i64 %8) %16 = call i64 @FUNC(i64 %4) %17 = call i64 @FUNC(i64 %9) ret i64 %17 uselistorder i64* %0, { 1, 0 } uselistorder [22 x i8]* @gv_2, { 1, 0 } }
1
CompRealVul
svc_rqst_integrity_protected_4676
svc_rqst_integrity_protected
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 1 store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = icmp eq i32 %8, 2 %spec.select = zext i1 %10 to i64 ret i64 %spec.select LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %arg1, { 1, 0 } }
0
CompRealVul
ff_h264_decode_init_17601
ff_h264_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 40 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = inttoptr i64 %3 to i64* store i64 %0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %3) %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %3, 12 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %3, 16 %15 = inttoptr i64 %14 to i32* store i32 1, i32* %15, align 4 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_1 LBL_1: %21 = add i64 %3, 20 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 br label LBL_2 LBL_2: %23 = add i64 %0, 36 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 %25 = call i64 @FUNC() %26 = add i64 %3, 36 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %0, 28 %29 = inttoptr i64 %28 to i32* store i32 8, i32* %29, align 4 %30 = add i64 %3, 24 %31 = inttoptr i64 %30 to i32* store i32 8, i32* %31, align 4 %32 = add i64 %3, 128 %33 = inttoptr i64 %32 to i64* store i64 %3, i64* %33, align 8 %34 = add i64 %3, 44 %35 = inttoptr i64 %34 to i32* store i32 -2147483648, i32* %35, align 4 %36 = add i64 %3, 40 %37 = inttoptr i64 %36 to i32* store i32 -2147483648, i32* %37, align 4 %38 = add i64 %3, 48 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %39 = mul i64 %indvars.iv.reload, 4 %40 = add i64 %38, %39 %41 = inttoptr i64 %40 to i32* store i32 -2147483648, i32* %41, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %42 = add i64 %3, 112 %43 = inttoptr i64 %42 to i32* store i32 65536, i32* %43, align 4 %44 = add i64 %3, 116 %45 = inttoptr i64 %44 to i32* store i32 -1, i32* %45, align 4 %46 = add i64 %3, 120 %47 = inttoptr i64 %46 to i32* store i32 -1, i32* %47, align 4 %48 = call i64 @FUNC(i64 %3) %49 = bitcast i64* %rdi to i32* %50 = load i32, i32* %49, align 8 %51 = icmp eq i32 %50, 1 %52 = icmp eq i1 %51, false br i1 %52, label LBL_8, label LBL_5 LBL_5: %53 = add i64 %0, 4 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 1 %57 = icmp eq i1 %56, false br i1 %57, label LBL_7, label LBL_6 LBL_6: %58 = load i64, i64* %5, align 8 %59 = add i64 %58, 52 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = mul i32 %61, 2 store i32 %62, i32* %60, align 4 br label LBL_7 LBL_7: store i32 2, i32* %54, align 4 br label LBL_8 LBL_8: %63 = add i64 %0, 8 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = icmp slt i32 %65, 1 br i1 %66, label LBL_11, label LBL_9 LBL_9: %67 = add i64 %0, 16 %68 = inttoptr i64 %67 to i64* %69 = load i64, i64* %68, align 8 %70 = icmp eq i64 %69, 0 br i1 %70, label LBL_11, label LBL_10 LBL_10: %71 = call i64 @FUNC(i64 %3, i64 %69, i32 %65) %72 = trunc i64 %71 to i32 %73 = icmp slt i32 %72, 0 %74 = icmp eq i1 %73, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %74, label LBL_11, label LBL_14 LBL_11: %75 = add i64 %3, 28 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 store i64 0, i64* %storemerge.reg2mem br i1 %78, label LBL_14, label LBL_12 LBL_12: %79 = load i64, i64* %5, align 8 %80 = add i64 %79, 24 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = add i64 %3, 32 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = icmp ult i32 %82, %85 store i64 0, i64* %storemerge.reg2mem br i1 %86, label LBL_13, label LBL_14 LBL_13: store i32 %85, i32* %81, align 4 %87 = add i64 %3, 20 %88 = inttoptr i64 %87 to i32* store i32 0, i32* %88, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_14 LBL_14: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %5, { 1, 0, 2 } uselistorder i64 %3, { 3, 5, 4, 2, 6, 7, 8, 9, 0, 10, 11, 13, 12, 14, 15, 1, 16, 17, 18, 19, 20, 21 } uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 -2147483648, { 1, 0, 2 } uselistorder i64 16, { 1, 0, 2 } uselistorder label LBL_14, { 1, 2, 0, 3 } }
1
CompRealVul
svc_rqst_integrity_protected_18290
svc_rqst_integrity_protected
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %6) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 1 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = icmp eq i32 %9, 2 %spec.select = zext i1 %11 to i64 ret i64 %spec.select LBL_2: ret i64 1 }
1
CompRealVul
register_avcodec_15004
register_avcodec
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %0 = inttoptr i64 %storemerge.reload to i64* %1 = load i64, i64* %0, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_2: store i64 %arg1, i64* %0, align 8 %4 = inttoptr i64 %arg1 to i64* store i64 0, i64* %4, align 8 ret i64 %arg1 uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 } }
1
CompRealVul
on_part_data_end_6465
on_part_data_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %0) %4 = inttoptr i64 %3 to i32* %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = load i32, i32* %4, align 4 %8 = icmp sgt i32 %7, 9 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i32 %7, 1 store i32 %9, i32* %4, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64)* @ogs_assert, { 1, 0 } }
0
CompRealVul
is_vlan_packet_2177
is_vlan_packet
define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %2, 12 %4 = call i64 @FUNC(i64 %3) %5 = urem i64 %1, 65536 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %4 to i16 %8 = trunc i64 %6 to i16 %9 = icmp eq i16 %7, %8 %10 = zext i1 %9 to i64 ret i64 %10 }
0
CompRealVul
ff_ps_read_data_46
ff_ps_read_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.pre-phi.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %r9.2.reg2mem = alloca i64 %storemerge7.lcssa.reg2mem = alloca i32 %storemerge719.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge520.reg2mem = alloca i32 %storemerge422.reg2mem = alloca i32 %.reg2mem48 = alloca i32 %.reg2mem46 = alloca i32 %storemerge924.reg2mem = alloca i32 %.reg2mem44 = alloca i64 %storemerge825.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdx = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %7 = call i64 @FUNC(i64 %5) %8 = ptrtoint i32* %sv_1 to i64 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_10, label LBL_1 LBL_1: %12 = trunc i64 %3 to i32 %13 = call i64 @FUNC(i64 %8) %14 = trunc i64 %13 to i32 %15 = bitcast i64* %arg3 to i32* store i32 %14, i32* %15, align 4 %16 = icmp eq i32 %12, 0 br i1 %16, label LBL_5, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %8, i64 3) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 6 br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = and i64 %17, 4294967295 %21 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %2, i64 %1) br label LBL_58 LBL_4: %sext10 = mul i64 %17, 4294967296 %22 = ashr exact i64 %sext10, 30 %23 = add i64 %22, ptrtoint (i32** @gv_1 to i64) %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i64 %4, 100 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i32 %18, -2 %29 = sub i32 1, %18 %30 = and i32 %29, %18 %31 = icmp slt i32 %30, 0 %32 = icmp eq i32 %28, 0 %33 = icmp slt i32 %28, 0 %34 = icmp eq i1 %33, %31 %35 = icmp eq i1 %32, false %36 = icmp eq i1 %34, %35 %37 = zext i1 %36 to i32 %38 = add i64 %4, 104 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = add i64 %22, ptrtoint (i32** @gv_2 to i64) %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %4, 108 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 br label LBL_5 LBL_5: %45 = call i64 @FUNC(i64 %8) %46 = trunc i64 %45 to i32 %47 = add i64 %4, 4 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = icmp eq i32 %46, 0 br i1 %49, label LBL_9, label LBL_6 LBL_6: %50 = call i64 @FUNC(i64 %8, i64 3) %51 = trunc i64 %50 to i32 %52 = add i64 %4, 372 %53 = inttoptr i64 %52 to i32* store i32 %51, i32* %53, align 4 %54 = icmp slt i32 %51, 6 br i1 %54, label LBL_8, label LBL_7 LBL_7: %55 = and i64 %50, 4294967295 %56 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %55, i64 %2, i64 %1) br label LBL_58 LBL_8: %sext12 = mul i64 %50, 4294967296 %57 = ashr exact i64 %sext12, 30 %58 = add i64 %57, ptrtoint (i32** @gv_1 to i64) %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i64 %4, 112 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 br label LBL_9 LBL_9: %63 = call i64 @FUNC(i64 %8) %64 = trunc i64 %63 to i32 %65 = add i64 %4, 8 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 br label LBL_10 LBL_10: %67 = call i64 @FUNC(i64 %8) %68 = trunc i64 %67 to i32 %69 = add i64 %4, 12 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = add i64 %4, 16 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i64 %4, 20 %75 = inttoptr i64 %74 to i32* store i32 %73, i32* %75, align 4 %76 = load i32, i32* %70, align 4 %77 = call i64 @FUNC(i64 %8, i64 2) %sext = mul i64 %77, 4294967296 %78 = ashr exact i64 %sext, 32 %79 = sext i32 %76 to i64 %80 = mul i64 %79, 4 %81 = add nsw i64 %78, %80 %82 = mul i64 %81, 4 %83 = add i64 %82, ptrtoint (i32** @gv_4 to i64) %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 store i32 %85, i32* %72, align 4 %86 = add i64 %4, 24 %87 = inttoptr i64 %86 to i32* store i32 -1, i32* %87, align 4 %88 = load i32, i32* %70, align 4 %89 = icmp eq i32 %88, 0 %90 = load i32, i32* %72, align 4 %91 = icmp eq i32 %90, 0 br i1 %89, label LBL_12, label LBL_11 LBL_11: store i64 1, i64* %.reg2mem store i32 1, i32* %storemerge825.reg2mem store i32 0, i32* %.reg2mem48 br i1 %91, label LBL_16, label LBL_13 LBL_12: store i64 1, i64* %.reg2mem44 store i32 1, i32* %storemerge924.reg2mem store i32 0, i32* %.reg2mem48 br i1 %91, label LBL_16, label LBL_14 LBL_13: %storemerge825.reload = load i32, i32* %storemerge825.reg2mem %.reload = load i64, i64* %.reg2mem %92 = call i64 @FUNC(i64 %8, i64 5) %93 = trunc i64 %92 to i32 %94 = mul i64 %.reload, 4 %95 = add i64 %94, %86 %96 = inttoptr i64 %95 to i32* store i32 %93, i32* %96, align 4 %97 = add i32 %storemerge825.reload, 1 %98 = load i32, i32* %72, align 4 %99 = zext i32 %98 to i64 %100 = sext i32 %97 to i64 %101 = icmp sgt i64 %100, %99 store i64 %100, i64* %.reg2mem store i32 %97, i32* %storemerge825.reg2mem store i32 %98, i32* %.reg2mem48 br i1 %101, label LBL_16, label LBL_13 LBL_14: %storemerge924.reload = load i32, i32* %storemerge924.reg2mem %.reload45 = load i64, i64* %.reg2mem44 %102 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %103 = mul i32 %102, %storemerge924.reload %104 = zext i32 %103 to i64 store i64 %104, i64* %rdx, align 8 %105 = load i32, i32* %72, align 4 %106 = sext i32 %105 to i64 %107 = mul i64 %106, 4 %108 = add i64 %107, ptrtoint (i32** @gv_5 to i64) %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = urem i32 %110, 32 %112 = icmp eq i32 %111, 0 store i32 %103, i32* %.reg2mem46 br i1 %112, label LBL_15, label %113 LBL_15: %.reload47 = load i32, i32* %.reg2mem46 %116 = add i32 %.reload47, -1 %117 = mul i64 %.reload45, 4 %118 = add i64 %117, %86 %119 = inttoptr i64 %118 to i32* store i32 %116, i32* %119, align 4 %120 = add i32 %storemerge924.reload, 1 %121 = load i32, i32* %72, align 4 %122 = zext i32 %121 to i64 %123 = sext i32 %120 to i64 %124 = icmp sgt i64 %123, %122 store i64 %123, i64* %.reg2mem44 store i32 %120, i32* %storemerge924.reg2mem store i32 %121, i32* %.reg2mem48 br i1 %124, label LBL_16, label LBL_14 LBL_16: %125 = ptrtoint i64* %sv_2 to i64 %.reload49 = load i32, i32* %.reg2mem48 %126 = bitcast i64* %rdx to i32* %127 = load i32, i32* %126, align 8 %128 = icmp eq i32 %127, 0 br i1 %128, label LBL_21, label LBL_17 LBL_17: %129 = icmp eq i32 %.reload49, 0 br i1 %129, label LBL_35, label LBL_18 LBL_18: %130 = add i64 %4, 104 %131 = inttoptr i64 %130 to i32* %132 = add i64 %4, 116 %133 = add i64 %125, -16 %134 = inttoptr i64 %133 to i64* store i32 0, i32* %storemerge422.reg2mem br label LBL_19 LBL_19: %storemerge422.reload = load i32, i32* %storemerge422.reg2mem %135 = call i64 @FUNC(i64 %8) %.tr = trunc i64 %135 to i32 %136 = mul i32 %.tr, 2 %137 = load i32, i32* %131, align 4 %138 = add i32 %136, %137 %139 = sext i32 %138 to i64 %140 = mul i64 %139, 4 %141 = add i64 %140, ptrtoint (i32** @gv_6 to i64) %142 = inttoptr i64 %141 to i32* %143 = load i32, i32* %142, align 4 %144 = and i64 %135, 4294967295 store i64 %144, i64* %134, align 8 %145 = call i64 @FUNC(i64 %6, i64 %8, i64 %4, i64 %132, i32 %143, i32 %storemerge422.reload) %146 = trunc i64 %145 to i32 %147 = icmp eq i32 %146, 0 %148 = icmp eq i1 %147, false br i1 %148, label LBL_58, label LBL_20 LBL_20: %149 = add i32 %storemerge422.reload, 1 %150 = load i32, i32* %72, align 4 %151 = zext i32 %150 to i64 %152 = sext i32 %149 to i64 %153 = icmp slt i64 %152, %151 store i32 %149, i32* %storemerge422.reg2mem br i1 %153, label LBL_19, label LBL_20.LBL_35.loopexit14_crit_edge LBL_21: %154 = add i64 %4, 4 %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = icmp eq i32 %156, 0 br i1 %157, label LBL_26, label LBL_22 LBL_22: %158 = icmp eq i32 %.reload49, 0 br i1 %158, label LBL_35, label LBL_23 LBL_23: %159 = add i64 %4, 180 %160 = add i64 %125, -16 %161 = inttoptr i64 %160 to i64* store i32 0, i32* %storemerge520.reg2mem br label LBL_24 LBL_24: %storemerge520.reload = load i32, i32* %storemerge520.reg2mem %162 = call i64 @FUNC(i64 %8) %163 = trunc i64 %162 to i32 %164 = icmp eq i32 %163, 0 %. = select i1 %164, i64 zext (i32 ptrtoint (i32* @gv_7 to i32) to i64), i64 zext (i32 ptrtoint (i32* @gv_8 to i32) to i64) %165 = and i64 %162, 4294967295 store i64 %165, i64* %161, align 8 %166 = zext i32 %storemerge520.reload to i64 %167 = call i64 @FUNC(i64 %6, i64 %8, i64 %4, i64 %159, i64 %., i64 %166) %168 = trunc i64 %167 to i32 %169 = icmp eq i32 %168, 0 %170 = icmp eq i1 %169, false br i1 %170, label LBL_58, label LBL_25 LBL_25: %171 = add i32 %storemerge520.reload, 1 %172 = load i32, i32* %72, align 4 %173 = zext i32 %172 to i64 %174 = sext i32 %171 to i64 %175 = icmp slt i64 %174, %173 store i32 %171, i32* %storemerge520.reg2mem store i64 %166, i64* %r9.2.reg2mem br i1 %175, label LBL_24, label LBL_35 LBL_26: %176 = add i64 %4, 8 %177 = inttoptr i64 %176 to i32* %178 = load i32, i32* %177, align 4 %179 = icmp eq i32 %178, 0 br i1 %179, label LBL_35, label LBL_27 LBL_27: %180 = call i64 @FUNC(i64 %8, i64 4) %181 = trunc i64 %180 to i32 %182 = icmp eq i32 %181, 15 %183 = icmp eq i1 %182, false store i32 %181, i32* %sv_0.0.reg2mem br i1 %183, label LBL_29, label LBL_28 LBL_28: %184 = call i64 @FUNC(i64 %8, i64 8) %185 = trunc i64 %184 to i32 %186 = add i32 %185, %181 store i32 %186, i32* %sv_0.0.reg2mem br label LBL_29 LBL_29: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %187 = mul i32 %sv_0.0.reload, 8 %188 = icmp sgt i32 %187, 7 store i32 %187, i32* %storemerge719.reg2mem store i32 %187, i32* %storemerge7.lcssa.reg2mem br i1 %188, label LBL_30, label LBL_31 LBL_30: %storemerge719.reload = load i32, i32* %storemerge719.reg2mem %189 = call i64 @FUNC(i64 %8, i64 2) %190 = trunc i64 %189 to i32 %191 = call i64 @FUNC(i64 %8, i64 %4, i32 %190) %192 = trunc i64 %191 to i32 %.neg13 = add i32 %storemerge719.reload, -2 %193 = sub i32 %.neg13, %192 %194 = icmp sgt i32 %193, 7 store i32 %193, i32* %storemerge719.reg2mem store i32 %193, i32* %storemerge7.lcssa.reg2mem br i1 %194, label LBL_30, label LBL_31 LBL_31: %storemerge7.lcssa.reload = load i32, i32* %storemerge7.lcssa.reg2mem %195 = icmp slt i32 %storemerge7.lcssa.reload, 0 %196 = icmp eq i1 %195, false %197 = zext i32 %storemerge7.lcssa.reload to i64 br i1 %196, label LBL_33, label LBL_32 LBL_32: %198 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 %197, i64 %2, i64 %1) br label LBL_58 LBL_33: %199 = call i64 @FUNC(i64 %8, i64 %197) br label LBL_35 LBL_34: %200 = zext i32 %storemerge422.reload to i64 store i64 %200, i64* %r9.2.reg2mem br label LBL_35 LBL_35: %r9.2.reload = load i64, i64* %r9.2.reg2mem %201 = add i64 %4, 376 %202 = inttoptr i64 %201 to i32* %203 = load i32, i32* %202, align 4 %204 = load i32, i32* @gv_10, align 4 %205 = icmp eq i32 %204, 0 %206 = zext i1 %205 to i32 %207 = and i32 %203, %206 store i32 %207, i32* %202, align 4 %208 = load i32, i32* %72, align 4 %209 = icmp eq i32 %208, 0 br i1 %209, label LBL_37, label LBL_36 LBL_36: %210 = sext i32 %208 to i64 %211 = mul i64 %210, 4 %212 = add i64 %211, %86 %213 = inttoptr i64 %212 to i32* %214 = load i32, i32* %213, align 4 %215 = load i32, i32* @gv_11, align 4 %216 = add i32 %215, -1 %217 = icmp ult i32 %214, %216 br i1 %217, label LBL_37, label LBL_45 LBL_37: %storemerge3.in.in.in.in = select i1 %209, i64 %74, i64 %71 %storemerge3.in.in.in = inttoptr i64 %storemerge3.in.in.in.in to i32* %storemerge3.in.in = load i32, i32* %storemerge3.in.in.in, align 4 %storemerge3.in = add i32 %storemerge3.in.in, -1 %218 = icmp slt i32 %storemerge3.in, 0 %219 = icmp eq i32 %storemerge3.in, %208 %or.cond = or i1 %218, %219 br i1 %or.cond, label LBL_44, label LBL_38 LBL_38: %220 = load i32, i32* %126, align 8 %221 = icmp eq i32 %220, 0 br i1 %221, label LBL_40, label LBL_39 LBL_39: %222 = add i64 %4, 116 %223 = sext i32 %storemerge3.in to i64 %224 = mul i64 %223, 4 %225 = add i64 %224, %222 %226 = sext i32 %208 to i64 %227 = mul i64 %226, 4 %228 = add i64 %227, %222 %229 = inttoptr i64 %225 to i32* %230 = load i32, i32* %229, align 4 %231 = inttoptr i64 %228 to i32* store i32 %230, i32* %231, align 4 br label LBL_40 LBL_40: %232 = add i64 %4, 4 %233 = inttoptr i64 %232 to i32* %234 = load i32, i32* %233, align 4 %235 = icmp eq i32 %234, 0 br i1 %235, label LBL_42, label LBL_41 LBL_41: %236 = add i64 %4, 180 %237 = sext i32 %storemerge3.in to i64 %238 = mul i64 %237, 4 %239 = add i64 %238, %236 %240 = load i32, i32* %72, align 4 %241 = sext i32 %240 to i64 %242 = mul i64 %241, 4 %243 = add i64 %242, %236 %244 = inttoptr i64 %239 to i32* %245 = load i32, i32* %244, align 4 %246 = inttoptr i64 %243 to i32* store i32 %245, i32* %246, align 4 br label LBL_42 LBL_42: %247 = load i32, i32* %202, align 4 %248 = icmp eq i32 %247, 0 br i1 %248, label LBL_44, label LBL_43 LBL_43: %249 = add i64 %4, 244 %250 = sext i32 %storemerge3.in to i64 %251 = mul i64 %250, 4 %252 = add i64 %251, %249 %253 = load i32, i32* %72, align 4 %254 = sext i32 %253 to i64 %255 = mul i64 %254, 4 %256 = add i64 %255, %249 %257 = inttoptr i64 %252 to i32* %258 = load i32, i32* %257, align 4 %259 = inttoptr i64 %256 to i32* store i32 %258, i32* %259, align 4 %260 = add i64 %4, 308 %261 = add i64 %251, %260 %262 = load i32, i32* %72, align 4 %263 = sext i32 %262 to i64 %264 = mul i64 %263, 4 %265 = add i64 %264, %260 %266 = inttoptr i64 %261 to i32* %267 = load i32, i32* %266, align 4 %268 = inttoptr i64 %265 to i32* store i32 %267, i32* %268, align 4 br label LBL_44 LBL_44: %269 = load i32, i32* %72, align 4 %270 = add i32 %269, 1 store i32 %270, i32* %72, align 4 %271 = load i32, i32* @gv_11, align 4 %272 = add i32 %271, -1 %273 = sext i32 %270 to i64 %274 = mul i64 %273, 4 %275 = add i64 %274, %86 %276 = inttoptr i64 %275 to i32* store i32 %272, i32* %276, align 4 br label LBL_45 LBL_45: %277 = add i64 %4, 92 %278 = inttoptr i64 %277 to i32* %279 = load i32, i32* %278, align 4 %280 = add i64 %4, 96 %281 = inttoptr i64 %280 to i32* store i32 %279, i32* %281, align 4 %282 = load i32, i32* @gv_10, align 4 %283 = icmp eq i32 %282, 0 %284 = icmp eq i1 %283, false br i1 %284, label LBL_53, label LBL_46 LBL_46: %285 = load i32, i32* %126, align 8 %286 = icmp eq i32 %285, 0 %287 = icmp eq i1 %286, false br i1 %287, label LBL_48, label LBL_47 LBL_47: %288 = add i64 %4, 4 %289 = inttoptr i64 %288 to i32* %290 = load i32, i32* %289, align 4 %291 = icmp eq i32 %290, 0 br i1 %291, label LBL_53, label LBL_50 LBL_48: %292 = add i64 %4, 100 %293 = inttoptr i64 %292 to i32* %294 = load i32, i32* %293, align 4 %295 = icmp eq i32 %294, 34 store i64 1, i64* %storemerge2.reg2mem br i1 %295, label LBL_52, label LBL_49 LBL_49: %.pre41 = add i64 %4, 4 %.pre42 = inttoptr i64 %.pre41 to i32* %.pr = load i32, i32* %.pre42, align 4 %296 = icmp eq i32 %.pr, 0 br i1 %296, label LBL_51, label LBL_50 LBL_50: %297 = add i64 %4, 112 %298 = inttoptr i64 %297 to i32* %299 = load i32, i32* %298, align 4 %300 = icmp eq i32 %299, 34 %301 = icmp eq i1 %300, false store i64 1, i64* %storemerge2.reg2mem br i1 %301, label LBL_51, label LBL_52 LBL_51: store i64 0, i64* %storemerge2.reg2mem br label LBL_52 LBL_52: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem store i64 %storemerge2.reload, i64* %rdx, align 8 %302 = trunc i64 %storemerge2.reload to i32 store i32 %302, i32* %278, align 4 br label LBL_53 LBL_53: br i1 %11, label LBL_55, label LBL_54 LBL_54: %303 = add i64 %4, 88 %304 = inttoptr i64 %303 to i32* store i32 1, i32* %304, align 4 br label LBL_55 LBL_55: %305 = trunc i64 %7 to i32 %306 = call i64 @FUNC(i64 %8) %307 = trunc i64 %306 to i32 %308 = sub i32 %307, %305 store i32 %308, i32* %sv_1, align 4 %309 = icmp sgt i32 %308, %arg4 %310 = zext i32 %308 to i64 br i1 %309, label LBL_57, label LBL_56 LBL_56: %311 = call i64 @FUNC(i64 %5, i64 %310) %312 = load i32, i32* %sv_1, align 4 %.pre = zext i32 %312 to i64 store i64 %.pre, i64* %storemerge.pre-phi.reg2mem br label LBL_59 LBL_57: %313 = zext i32 %arg4 to i64 %314 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_12, i64 0, i64 0), i64 %313, i64 %310, i64 %r9.2.reload) br label LBL_58 LBL_58: %315 = add i64 %4, 88 %316 = inttoptr i64 %315 to i32* store i32 0, i32* %316, align 4 %317 = zext i32 %arg4 to i64 %318 = call i64 @FUNC(i64 %5, i64 %317) store i64 %317, i64* %storemerge.pre-phi.reg2mem br label LBL_59 LBL_59: %storemerge.pre-phi.reload = load i64, i64* %storemerge.pre-phi.reg2mem ret i64 %storemerge.pre-phi.reload uselistorder i64 %310, { 1, 0 } uselistorder i64 %storemerge2.reload, { 1, 0 } uselistorder i64 %251, { 1, 0 } uselistorder i32 %storemerge3.in, { 2, 1, 3, 0, 4 } uselistorder i64 %197, { 1, 0 } uselistorder i32 %181, { 1, 0, 2 } uselistorder i64 %135, { 1, 0 } uselistorder i32 %storemerge422.reload, { 2, 0, 1 } uselistorder i32 %.reload49, { 1, 0 } uselistorder i64 %125, { 1, 0 } uselistorder i32 %111, { 1, 0 } uselistorder i32 %103, { 1, 0, 2 } uselistorder i1 %91, { 1, 0 } uselistorder i32* %72, { 7, 6, 4, 5, 3, 8, 9, 2, 11, 10, 1, 0, 12, 13 } uselistorder i32 %28, { 1, 0 } uselistorder i32 %18, { 0, 2, 1, 3 } uselistorder i64 %8, { 15, 11, 13, 12, 10, 14, 8, 9, 6, 7, 5, 16, 17, 2, 1, 3, 0, 4, 18 } uselistorder i32* %sv_1, { 2, 1, 0 } uselistorder i64 %6, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 23, 22, 21, 0, 20, 19, 25, 24, 14, 15, 17, 16, 18, 26, 13, 28, 12, 11, 27, 9, 10, 8, 29, 31, 30, 32, 6, 4, 5, 7, 1, 2, 3 } uselistorder i64* %rdx, { 0, 3, 2, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge825.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem44, { 2, 0, 1 } uselistorder i32* %storemerge924.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem48, { 0, 2, 1, 4, 3 } uselistorder i32* %storemerge422.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge520.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge719.reg2mem, { 2, 0, 1 } uselistorder i64* %r9.2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @skip_bits_long, { 1, 0 } uselistorder i32* @gv_11, { 1, 0 } uselistorder i32* @gv_10, { 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 1, { 1, 0, 2, 3 } uselistorder i32 -1, { 2, 1, 3, 0, 4 } uselistorder i64 4, { 15, 17, 0, 1, 2, 3, 4, 5, 18, 6, 7, 8, 16, 19, 9, 10, 11, 12, 13, 14, 20 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 5, 25, 26, 1, 6, 28, 27, 3, 2, 4, 29, 30, 31, 32, 33, 34, 35, 7, 8, 9 } uselistorder i64 (i64)* @get_bits1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @get_bits_count, { 1, 0 } uselistorder i32 %arg4, { 0, 2, 1 } uselistorder label LBL_58, { 2, 3, 1, 0, 4, 5 } uselistorder label LBL_52, { 2, 1, 0 } uselistorder label LBL_50, { 1, 0 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_35, { 1, 4, 5, 0, 3, 2 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0, 3, 2 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
1
CompRealVul
cd_inquiry_3899
cd_inquiry
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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %3 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 128) %4 = bitcast i32* %sv_3 to i64* %5 = call i64 @FUNC(i64 %2, i64* nonnull %4, i64 0, i64 18) %6 = call i64 @FUNC(i64 %2, i64* nonnull %4, i64 4, i64 36) %7 = call i64 @FUNC(i64 %2, i64* nonnull %4, i64 5, i64 0) %8 = trunc i64 %arg2 to i32 %9 = call i64 @FUNC(i64 %2, i64* nonnull %4, i32 %8, i64* nonnull %sv_4, i64 36) %10 = trunc i64 %9 to i32 store i32 %10, i32* %sv_3, align 4 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %9, 4294967295 %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %13) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %15 = load i64, i64* %sv_4, align 8 %16 = urem i64 %15, 32 %17 = icmp eq i64 %16, 5 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = ptrtoint i64* %sv_4 to i64 %19 = and i64 %arg2, 4294967295 %20 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %18, i64 36, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = ptrtoint i64* %sv_2 to i64 %22 = ptrtoint i64* %sv_1 to i64 %23 = ptrtoint i64* %sv_0 to i64 %24 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %22, i64 %21, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_4, { 3, 2, 0, 1 } uselistorder i64 %2, { 1, 2, 0, 3, 4, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @info, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @scsi_cmd_set, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
0
CompRealVul
uipbuf_get_next_header_18966
uipbuf_get_next_header
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.ph.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg4 to i8 %5 = icmp eq i8 %4, 0 %6 = trunc i64 %1 to i8 %7 = bitcast i64* %arg3 to i8* store i8 %6, i8* %7, align 1 store i32 20, i32* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %8 = add i64 %3, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i32 %12 = mul i32 %11, 8 %13 = add nuw nsw i32 %12, 8 store i32 %13, i32* %storemerge.reg2mem br label LBL_2 LBL_2: %14 = urem i64 %arg2, 65536 %storemerge.reload = load i32, i32* %storemerge.reg2mem %15 = sext i32 %storemerge.reload to i64 %16 = icmp slt i64 %14, %15 br i1 %16, label LBL_9, label LBL_3 LBL_3: %17 = add i64 %15, %3 %18 = urem i64 %2, 256 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %17, 1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i32 %26 = mul i32 %25, 8 %27 = add nuw nsw i32 %26, 8 store i32 %27, i32* %sv_0.0.ph.reg2mem br label LBL_8 LBL_5: %28 = trunc i64 %2 to i8 %29 = icmp eq i8 %28, 6 %30 = icmp eq i1 %29, false store i32 20, i32* %sv_0.0.ph.reg2mem br i1 %30, label LBL_6, label LBL_8 LBL_6: %31 = icmp eq i8 %28, 17 %32 = icmp eq i1 %31, false store i32 8, i32* %sv_0.0.ph.reg2mem br i1 %32, label LBL_7, label LBL_8 LBL_7: %33 = icmp eq i8 %28, 58 %34 = icmp eq i1 %33, false store i32 4, i32* %sv_0.0.ph.reg2mem br i1 %34, label LBL_9, label LBL_8 LBL_8: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %35 = add nsw i32 %sv_0.0.ph.reload, %storemerge.reload %36 = zext i32 %35 to i64 %37 = icmp ult i64 %14, %36 %spec.select2 = select i1 %37, i64 0, i64 %17 ret i64 %spec.select2 LBL_9: ret i64 0 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64 %14, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 8, { 0, 3, 1, 4, 2 } uselistorder label LBL_8, { 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
is_bit_set_16465
is_bit_set
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = sdiv i64 %arg2, 128 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2, i64 1) %4 = icmp eq i64 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = sub i32 0, %6 %8 = zext i32 %7 to i64 store i64 %8, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %9 = load i32, i32* %sv_0, align 4 %10 = trunc i64 %arg2 to i32 %11 = urem i32 %10, 8 %12 = shl i32 1, %11 %13 = urem i32 %12, 256 %14 = and i32 %13, %9 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i64 store i64 %17, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } }
1
CompRealVul
dp8393x_class_init_14360
dp8393x_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = call i64 @FUNC(i64 0, i64 %3) %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* store i64 4198704, i64* %6, align 8 %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* store i64 4198711, i64* %8, align 8 %9 = add i64 %2, 24 %10 = inttoptr i64 %9 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %10, align 8 %11 = load i64, i64* @gv_1, align 8 %12 = add i64 %2, 32 %13 = inttoptr i64 %12 to i64* store i64 %11, i64* %13, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 32, { 1, 0 } }
1
CompRealVul
local_mkdir_15006
local_mkdir
define i64 @FUNC(i32* %arg1, i8* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i32* %sv_0.1.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false %6 = trunc i64 %2 to i32 br i1 %5, label LBL_4, label LBL_1 LBL_1: %7 = ptrtoint i8* %arg2 to i64 %8 = ptrtoint i32* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7) %10 = inttoptr i64 %9 to i8* %11 = call i32 @mkdir(i8* %10, i32 493) %12 = icmp eq i32 %11, -1 %13 = icmp eq i1 %12, false store i32 %11, i32* %rax.0.in.reg2mem br i1 %13, label LBL_2, label LBL_9 LBL_2: %14 = or i32 %6, 16384 store i32 %14, i32* %arg3, align 4 %15 = call i64 @FUNC(i64 %8, i64 %7) %16 = ptrtoint i32* %arg3 to i64 %17 = call i64 @FUNC(i64 %15, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, -1 %20 = icmp eq i1 %19, false store i32 %18, i32* %rax.0.in.reg2mem br i1 %20, label LBL_9, label LBL_3 LBL_3: %21 = call i32* @__errno_location() store i64 %8, i64* %.pre-phi4.reg2mem store i64 %7, i64* %.pre-phi.reg2mem store i32 %18, i32* %sv_0.1.reg2mem store i32* %21, i32** %storemerge.in.reg2mem br label LBL_8 LBL_4: %22 = icmp eq i32 %3, 2 %23 = icmp eq i1 %22, false store i32 -1, i32* %rax.0.in.reg2mem br i1 %23, label LBL_9, label LBL_5 LBL_5: %24 = ptrtoint i8* %arg2 to i64 %25 = ptrtoint i32* %arg1 to i64 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = inttoptr i64 %26 to i8* %28 = call i32 @mkdir(i8* %27, i32 %6) %29 = icmp eq i32 %28, -1 %30 = icmp eq i1 %29, false store i32 %28, i32* %rax.0.in.reg2mem br i1 %30, label LBL_6, label LBL_9 LBL_6: %31 = ptrtoint i32* %arg3 to i64 %32 = call i64 @FUNC(i64 %25, i64 %24, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, -1 %35 = icmp eq i1 %34, false store i32 %33, i32* %rax.0.in.reg2mem br i1 %35, label LBL_9, label LBL_7 LBL_7: %36 = call i32* @__errno_location() store i64 %25, i64* %.pre-phi4.reg2mem store i64 %24, i64* %.pre-phi.reg2mem store i32 %33, i32* %sv_0.1.reg2mem store i32* %36, i32** %storemerge.in.reg2mem br label LBL_8 LBL_8: %storemerge.in.reload = load i32*, i32** %storemerge.in.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem %storemerge = load i32, i32* %storemerge.in.reload, align 4 %37 = call i64 @FUNC(i64 %.pre-phi4.reload, i64 %.pre-phi.reload) %38 = inttoptr i64 %37 to i8* %39 = call i32 @remove(i8* %38) %40 = call i32* @__errno_location() store i32 %storemerge, i32* %40, align 4 store i32 %sv_0.1.reload, i32* %rax.0.in.reg2mem br label LBL_9 LBL_9: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %33, { 1, 0, 2 } uselistorder i32 %18, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %.pre-phi4.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32** %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.in.reg2mem, { 0, 6, 2, 4, 3, 1, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder i32 (i8*, i32)* @mkdir, { 1, 0 } uselistorder i64 (i64, i64)* @rpath, { 3, 2, 1, 0 } uselistorder i32* %arg3, { 2, 0, 1 } uselistorder i8* %arg2, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_9, { 5, 2, 3, 1, 0, 4 } }
1
CompRealVul
zend_ts_hash_graceful_destroy_5006
zend_ts_hash_graceful_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) ret i64 %8 uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @tsrm_mutex_free, { 1, 0 } }
0
CompRealVul
pass1_5144
pass1
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %0 = ptrtoint i64* %arg4 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 store i32 %3, i32* %sv_1, align 4 %4 = call i64 @FUNC(i64 %arg3, i64 0, i32* nonnull %sv_1) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %arg3) unreachable LBL_2: %8 = ptrtoint i32* %arg5 to i64 %9 = call i64 @FUNC(i32* nonnull %sv_1, i64 0, i64 %8, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = ptrtoint i64* %arg1 to i64 %13 = ptrtoint i64* %sv_2 to i64 %14 = call i64 @FUNC(i64 %12, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = add i64 %13, -16 %19 = inttoptr i64 %18 to i64* store i32 0, i32* %sv_0.02.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %17, label LBL_5, label LBL_7 LBL_4: %20 = call i64 @FUNC(i32* nonnull %sv_1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_5: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %21 = add i32 %sv_0.02.reload, 1 store i64 %4, i64* %19, align 8 %22 = call i64 @FUNC(i32* nonnull %sv_1, i64 %12, i32 %21, i64 1, i64 0, i64 1) %23 = call i64 @FUNC(i64 %12, i64 %arg2) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %21, i32* %sv_0.02.reg2mem br i1 %26, label LBL_5, label LBL_6 LBL_6: %phitmp = zext i32 %21 to i64 store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem br label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem br label LBL_8 LBL_8: store i64 %4, i64* %19, align 8 %27 = call i64 @FUNC(i32* nonnull %sv_1, i64 0, i32 -1, i64 1, i64 0, i64 1) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_9 LBL_9: %31 = call i32 @putchar(i32 10) %32 = call i64 @FUNC(i32* nonnull %sv_1) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = call i64 @FUNC(i32* nonnull %sv_1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_11: %36 = call i64 @FUNC(i64 %4) %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i64 %sv_0.0.lcssa.reload) %38 = sext i32 %37 to i64 ret i64 %38 uselistorder i32 %21, { 1, 0, 2 } uselistorder i64 %12, { 2, 1, 0 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64 (i32*, i8*)* @die_codec, { 1, 0 } uselistorder i64 (i64, i64)* @vpx_img_read, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 1, 5 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
CompRealVul
kvm_setup_guest_memory_2658
kvm_setup_guest_memory
define i64 @FUNC(i64 %arg1, i64 %arg2) 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_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) %7 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %8 = call i32 @fwrite(i64* bitcast ([54 x i8]* @gv_2 to i64*), i32 1, i32 53, %_IO_FILE* %7) call void @exit(i32 1) unreachable LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
nfs_init_server_13076
nfs_init_server
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1) %7 = add i64 %5, 40 %8 = call i64 @FUNC(i64 %5, i64 %7, i32 2) %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %8) %13 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 2, i64 %7, i64 %2, i64 %1) %14 = call i64 @FUNC(i64 %8) store i64 %14, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %15 = call i64 @FUNC(i64 %8, i64 %5) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 store i64 %15, i64* %sv_0.0.reg2mem store i64 %5, i64* %rdx.1.reg2mem br i1 %17, label LBL_17, label LBL_3 LBL_3: %18 = ptrtoint i64* %arg1 to i64 store i64 %8, i64* %arg1, align 8 %19 = add i64 %5, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = urem i32 %21, 65536 %23 = add i64 %18, 8 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %5, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 %29, i64 0) %31 = trunc i64 %30 to i32 %32 = add i64 %18, 12 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 br label LBL_5 LBL_5: %34 = add i64 %5, 16 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = zext i32 %36 to i64 %39 = call i64 @FUNC(i64 %38, i64 0) %40 = trunc i64 %39 to i32 %41 = add i64 %18, 16 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 br label LBL_7 LBL_7: %43 = add i64 %5, 20 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = mul i32 %45, 100 %47 = add i64 %18, 20 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = add i64 %5, 24 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = mul i32 %51, 100 %53 = add i64 %18, 24 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = add i64 %5, 28 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = mul i32 %57, 100 %59 = add i64 %18, 28 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = add i64 %5, 32 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = mul i32 %63, 100 %65 = zext i32 %64 to i64 %66 = add i64 %18, 32 %67 = inttoptr i64 %66 to i32* store i32 %64, i32* %67, align 4 %68 = call i64 @FUNC(i64 %18) %69 = trunc i64 %68 to i32 %70 = icmp slt i32 %69, 0 store i64 %68, i64* %sv_0.0.reg2mem store i64 %65, i64* %rdx.1.reg2mem br i1 %70, label LBL_17, label LBL_8 LBL_8: %71 = add i64 %5, 48 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = zext i32 %73 to i64 %75 = call i64 @FUNC(i64 %18, i64 %74) %76 = trunc i64 %75 to i32 %77 = icmp slt i32 %76, 0 store i64 %75, i64* %sv_0.0.reg2mem store i64 %74, i64* %rdx.1.reg2mem br i1 %77, label LBL_17, label LBL_9 LBL_9: %78 = inttoptr i64 %8 to i32* %79 = add i64 %5, 36 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = zext i32 %81 to i64 %83 = add i64 %18, 36 %84 = inttoptr i64 %83 to i32* store i32 %81, i32* %84, align 4 %85 = call i64 @FUNC(i64 %18) %86 = load i32, i32* %78, align 4 %87 = icmp eq i32 %86, 3 %88 = icmp eq i1 %87, false %89 = load i32, i32* %84, align 4 %90 = icmp ne i32 %89, 0 %91 = icmp slt i32 %89, 256 %or.cond3 = icmp eq i1 %90, %91 br i1 %88, label LBL_14, label LBL_10 LBL_10: br i1 %or.cond3, label LBL_12, label LBL_11 LBL_11: store i32 255, i32* %84, align 4 br label LBL_12 LBL_12: %92 = load i32, i32* %20, align 4 %93 = and i32 %92, 2 %94 = icmp eq i32 %93, 0 %95 = icmp eq i1 %94, false store i64 %82, i64* %rdx.0.reg2mem br i1 %95, label LBL_16, label LBL_13 LBL_13: %96 = add i64 %18, 40 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = or i32 %98, 1 %100 = zext i32 %99 to i64 store i32 %99, i32* %97, align 4 store i64 %100, i64* %rdx.0.reg2mem br label LBL_16 LBL_14: store i64 %82, i64* %rdx.0.reg2mem br i1 %or.cond3, label LBL_16, label LBL_15 LBL_15: store i32 255, i32* %84, align 4 store i64 %82, i64* %rdx.0.reg2mem br label LBL_16 LBL_16: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %101 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %rdx.0.reload, i64 %7, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_17: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %arg1, align 8 %102 = call i64 @FUNC(i64 %8) %103 = and i64 %sv_0.0.reload, 4294967295 %104 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %103, i64 %rdx.1.reload, i64 %7, i64 %2, i64 %1) store i64 %103, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %84, { 1, 0, 2, 3 } uselistorder i64 %82, { 2, 0, 1 } uselistorder i64 %18, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 0, 11 } uselistorder i64 %8, { 0, 1, 6, 2, 3, 4, 5, 7 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64 %5, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 12, 11, 13 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rdx.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @nfs_block_size, { 1, 0 } uselistorder i64 (i64)* @PTR_ERR, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dprintk, { 3, 2, 1, 0 } uselistorder label LBL_16, { 1, 0, 2, 3 } uselistorder label LBL_12, { 1, 0 } }
1
CompRealVul
setup_blkring_5385
setup_blkring
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg2 to i32* store i32 -1, i32* %1, align 4 %2 = call i64 @FUNC(i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 4294967284, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = call i64 @FUNC(i64 %2) %8 = add i64 %6, 16 %9 = call i64 @FUNC(i64 %8, i64 %2, i64 4096) %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %0, i64 %13) %15 = trunc i64 %14 to i32 %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 i64 @FUNC(i64 %2) store i64 0, i64* %10, align 8 store i64 %14, i64* %sv_0.0.reg2mem br label LBL_8 LBL_4: store i32 %15, i32* %1, align 4 %19 = add i64 %6, 4 %20 = call i64 @FUNC(i64 %0, i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %23, label LBL_8, label LBL_5 LBL_5: %24 = inttoptr i64 %19 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %26, i64 4198995, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %6) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp slt i32 %28, 0 %31 = icmp eq i1 %30, false %32 = icmp eq i1 %29, false %33 = icmp eq i1 %31, %32 br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = and i64 %27, 4294967295 %35 = call i64 @FUNC(i64 %0, i64 %34, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) store i64 %27, i64* %sv_0.0.reg2mem br label LBL_8 LBL_7: %36 = add i64 %6, 8 %37 = inttoptr i64 %36 to i32* store i32 %28, i32* %37, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = call i64 @FUNC(i64 %6, i64 0) %39 = and i64 %sv_0.0.reload, 4294967295 store i64 %39, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 0, 2, 1 } uselistorder i64 %6, { 2, 0, 1, 3, 4 } uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i8*)* @xenbus_dev_fatal, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } }
0
CompRealVul
free_bprm_9531
free_bprm
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = add i64 %arg1, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 %arg1, i64* %rdi.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i64, i64* @gv_0, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %9 = load i64, i64* %2, align 8 %10 = call i64 @FUNC(i64 %9) store i64 %9, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %11 = add i64 %arg1, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, %rdi.0.reload br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %13) br label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %arg1) ret i64 %16 uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3, 4 } }
0
CompRealVul
set_sigmask_1040
set_sigmask
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %3 to i64* store i64 %0, i64* %7, align 8 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i64* store i64 %6, i64* %9, align 8 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %0, 24 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %3, 16 %17 = inttoptr i64 %16 to i64* store i64 %12, i64* %17, align 8 %18 = add i64 %3, 24 %19 = inttoptr i64 %18 to i64* store i64 %15, i64* %19, align 8 %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %0, 40 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %3, 32 %27 = inttoptr i64 %26 to i64* store i64 %22, i64* %27, align 8 %28 = add i64 %3, 40 %29 = inttoptr i64 %28 to i64* store i64 %25, i64* %29, align 8 %30 = add i64 %0, 48 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %0, 56 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = add i64 %3, 48 %37 = inttoptr i64 %36 to i64* store i64 %32, i64* %37, align 8 %38 = add i64 %3, 56 %39 = inttoptr i64 %38 to i64* store i64 %35, i64* %39, align 8 %40 = add i64 %0, 64 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = add i64 %0, 72 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %3, 64 %47 = inttoptr i64 %46 to i64* store i64 %42, i64* %47, align 8 %48 = add i64 %3, 72 %49 = inttoptr i64 %48 to i64* store i64 %45, i64* %49, align 8 %50 = add i64 %0, 80 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = add i64 %0, 88 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %3, 80 %57 = inttoptr i64 %56 to i64* store i64 %52, i64* %57, align 8 %58 = add i64 %3, 88 %59 = inttoptr i64 %58 to i64* store i64 %55, i64* %59, align 8 %60 = add i64 %0, 96 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = add i64 %0, 104 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = add i64 %3, 96 %67 = inttoptr i64 %66 to i64* store i64 %62, i64* %67, align 8 %68 = add i64 %3, 104 %69 = inttoptr i64 %68 to i64* store i64 %65, i64* %69, align 8 %70 = add i64 %0, 112 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = add i64 %0, 120 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = add i64 %3, 112 %77 = inttoptr i64 %76 to i64* store i64 %72, i64* %77, align 8 %78 = add i64 %3, 120 %79 = inttoptr i64 %78 to i64* store i64 %75, i64* %79, align 8 ret i64 %3 uselistorder i64 %3, { 16, 15, 14, 13, 0, 8, 1, 11, 2, 3, 4, 5, 6, 7, 9, 10, 12 } uselistorder i64 %0, { 15, 10, 5, 1, 7, 3, 11, 6, 13, 8, 9, 12, 2, 14, 0, 4 } }
0
CompRealVul
tw5864_handle_frame_7798
tw5864_handle_frame
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.in.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i8* %.reg2mem20 = alloca i8 %sv_0.0.reg2mem = alloca i8* %.reg2mem = alloca i8 %sv_0.2.in.in8.reg2mem = alloca i64 %sv_2.0.in9.reg2mem = alloca i64 %sv_1.110.reg2mem = alloca i32 %sv_0.213.in.reg2mem = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_3.014.reg2mem = alloca i32 %storemerge415.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i32, align 4 %5 = load i64, i64* %0 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = inttoptr i64 %6 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %4, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, 3 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = add i64 %4, 32 %18 = call i64 @FUNC(i64 %17, i64 %5) %19 = add i64 %4, 24 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 0, i64* %20, align 8 %22 = call i64 @FUNC(i64 %17, i64 %5) %23 = call i64 @FUNC(i64 %21) %24 = icmp eq i64 %21, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %3, i64 %2, i64 %1) store i64 %26, i64* %rax.0.reg2mem br label LBL_18 LBL_2: %27 = add i32 %8, -3 %28 = inttoptr i64 %11 to i32* %29 = load i32, i32* %28, align 4 %30 = mul i32 %27, 5 %31 = sdiv i32 %30, 8 %32 = icmp ult i32 %29, %31 br i1 %32, label LBL_5, label LBL_3 LBL_3: %33 = add i64 %4, 20 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp eq i32 %35, 8 store i32 0, i32* %sv_3.0.lcssa.reg2mem br i1 %36, label LBL_7, label LBL_4 LBL_4: %37 = sub i32 8, %35 %38 = zext i32 %37 to i64 store i32 0, i32* %storemerge415.reg2mem store i32 0, i32* %sv_3.014.reg2mem br label LBL_6 LBL_5: %39 = zext i32 %27 to i64 %40 = zext i32 %29 to i64 %41 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @gv_1, i64 0, i64 0), i64 %40, i64 %39, i64 %2, i64 %1) store i64 %41, i64* %rax.0.reg2mem br label LBL_18 LBL_6: %sv_3.014.reload = load i32, i32* %sv_3.014.reg2mem %storemerge415.reload = load i32, i32* %storemerge415.reg2mem %42 = urem i32 %storemerge415.reload, 32 %43 = shl i32 1, %42 %44 = or i32 %43, %sv_3.014.reload %sext = mul i32 %44, 16777216 %45 = ashr exact i32 %sext, 24 %46 = add i32 %storemerge415.reload, 1 %47 = sext i32 %46 to i64 %48 = icmp slt i64 %47, %38 store i32 %46, i32* %storemerge415.reg2mem store i32 %45, i32* %sv_3.014.reg2mem store i32 %45, i32* %sv_3.0.lcssa.reg2mem br i1 %48, label LBL_6, label LBL_7 LBL_7: %49 = inttoptr i64 %10 to i8* %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %50 = add i64 %4, 48 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = xor i32 %sv_3.0.lcssa.reload, 255 %54 = and i32 %52, %53 %55 = trunc i32 %sv_3.0.lcssa.reload to i8 %56 = and i8 %16, %55 %57 = trunc i32 %54 to i8 %58 = or i8 %56, %57 store i8 %58, i8* %49, align 1 %59 = add i32 %8, -4 %60 = load i64, i64* %12, align 8 %61 = add i64 %60, 4 %62 = sext i32 %59 to i64 %63 = add i64 %61, %62 %sv_0.2.in5 = add i64 %10, 1 %64 = icmp ugt i64 %63, %61 store i64 %sv_0.2.in5, i64* %sv_0.213.in.reg2mem store i32 0, i32* %sv_1.110.reg2mem store i64 %61, i64* %sv_2.0.in9.reg2mem store i64 %10, i64* %sv_0.2.in.in8.reg2mem store i64 %sv_0.2.in5, i64* %sv_0.2.in.lcssa.reg2mem br i1 %64, label LBL_8, label LBL_14 LBL_8: %sv_2.0.in9.reload = load i64, i64* %sv_2.0.in9.reg2mem %sv_1.110.reload = load i32, i32* %sv_1.110.reg2mem %sv_0.213.in.reload = load i64, i64* %sv_0.213.in.reg2mem %sv_2.011 = inttoptr i64 %sv_2.0.in9.reload to i8* %sv_0.213 = inttoptr i64 %sv_0.213.in.reload to i8* %65 = icmp sgt i32 %sv_1.110.reload, 1 %66 = load i8, i8* %sv_2.011, align 1 br i1 %65, label LBL_10, label LBL_9 LBL_9: %67 = icmp eq i8 %66, 0 %68 = icmp eq i1 %67, false %69 = add i32 %sv_1.110.reload, 1 %spec.select = select i1 %68, i32 0, i32 %69 store i8 %66, i8* %.reg2mem20 store i8* %sv_0.213, i8** %sv_0.1.reg2mem store i32 %spec.select, i32* %sv_1.0.reg2mem br label LBL_13 LBL_10: %70 = icmp ult i8 %66, 4 %71 = icmp eq i1 %70, false store i8 %66, i8* %.reg2mem store i8* %sv_0.213, i8** %sv_0.0.reg2mem br i1 %71, label LBL_12, label LBL_11 LBL_11: %sv_0.2.in.in8.reload = load i64, i64* %sv_0.2.in.in8.reg2mem %72 = add i64 %sv_0.2.in.in8.reload, 2 %73 = inttoptr i64 %72 to i8* store i8 3, i8* %sv_0.213, align 1 %.pre = load i8, i8* %sv_2.011, align 1 store i8 %.pre, i8* %.reg2mem store i8* %73, i8** %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload = load i8, i8* %.reg2mem %74 = icmp eq i8 %.reload, 0 %75 = zext i1 %74 to i32 store i8 %.reload, i8* %.reg2mem20 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem store i32 %75, i32* %sv_1.0.reg2mem br label LBL_13 LBL_13: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %.reload21 = load i8, i8* %.reg2mem20 %76 = ptrtoint i8* %sv_0.1.reload to i64 store i8 %.reload21, i8* %sv_0.1.reload, align 1 %77 = add i64 %sv_2.0.in9.reload, 1 %sv_0.2.in = add i64 %76, 1 %exitcond = icmp eq i64 %77, %63 store i64 %sv_0.2.in, i64* %sv_0.213.in.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.110.reg2mem store i64 %77, i64* %sv_2.0.in9.reg2mem store i64 %76, i64* %sv_0.2.in.in8.reg2mem store i64 %sv_0.2.in, i64* %sv_0.2.in.lcssa.reg2mem br i1 %exitcond, label LBL_14, label LBL_8 LBL_14: %sv_0.2.in.lcssa.reload = load i64, i64* %sv_0.2.in.lcssa.reg2mem %78 = call i64 @FUNC(i64 %21, i64 0) %79 = sub i64 %sv_0.2.in.lcssa.reload, %78 %80 = and i64 %79, 4294967295 %81 = call i64 @FUNC(i64 %21, i64 0, i64 %80) %82 = inttoptr i64 %17 to i64* %83 = load i64, i64* %82, align 8 %84 = inttoptr i64 %21 to i64* store i64 %83, i64* %84, align 8 %85 = add i64 %23, 8 %86 = inttoptr i64 %85 to i32* store i32 1, i32* %86, align 4 %87 = add i64 %4, 40 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = add i64 %23, 12 %91 = inttoptr i64 %90 to i32* store i32 %89, i32* %91, align 4 %92 = add i64 %4, 44 %93 = inttoptr i64 %92 to i32* %94 = load i32, i32* %93, align 4 %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_17, label LBL_15 LBL_15: %96 = call i64 @FUNC(i64 %4) %97 = trunc i64 %96 to i32 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_17, label LBL_16 LBL_16: store i32 1, i32* %sv_4, align 4 %99 = call i64 @FUNC(i64 %87, i32* nonnull %sv_4) br label LBL_17 LBL_17: %100 = call i64 @FUNC(i64 %21, i64 0) store i64 %100, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %66, { 1, 3, 0, 2 } uselistorder i8* %sv_0.213, { 2, 1, 0 } uselistorder i32 %sv_1.110.reload, { 1, 0 } uselistorder i64 %61, { 0, 2, 1 } uselistorder i32 %sv_3.0.lcssa.reload, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i64 %21, { 1, 2, 4, 3, 5, 0, 7, 6 } uselistorder i64 %4, { 1, 0, 2, 4, 3, 5, 6, 7, 8 } uselistorder i32* %storemerge415.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.014.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.213.in.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.110.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.in9.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.in.in8.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem20, { 0, 2, 1 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 0, { 5, 6, 4, 0, 2, 3, 1 } uselistorder i32 8, { 2, 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
mbedtls_x509_crt_is_revoked_10023
mbedtls_x509_crt_is_revoked
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.12.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %storemerge13.reg2mem store i64 %1, i64* %rdi.12.reg2mem br label LBL_6 LBL_2: %rdi.12.reload = load i64, i64* %rdi.12.reg2mem %5 = icmp eq i64 %rdi.12.reload, %26 %6 = icmp eq i1 %5, false store i64 %rdi.12.reload, i64* %rdi.0.reg2mem br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = add i64 %storemerge13.reload, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = load i64, i64* %4, align 8 %11 = inttoptr i64 %10 to i64* %12 = inttoptr i64 %9 to i64* %13 = trunc i64 %rdi.12.reload to i32 %14 = call i32 @memcmp(i64* %11, i64* %12, i32 %13) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 %10, i64* %rdi.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %storemerge13.reload, 16 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 %17, i64* %rdi.0.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %20, label LBL_5, label LBL_7 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %21 = add i64 %storemerge13.reload, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 store i64 %23, i64* %storemerge13.reg2mem store i64 %rdi.0.reload, i64* %rdi.12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %25 = inttoptr i64 %storemerge13.reload to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_2, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %26, { 1, 0 } uselistorder i64 %storemerge13.reload, { 2, 1, 0, 3 } uselistorder i64 %rdi.12.reload, { 1, 2, 0 } uselistorder i64* %rdi.12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 2, 0, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0, 3 } uselistorder label LBL_6, { 1, 0 } }
0
CompRealVul
enable_nmi_window_6549
enable_nmi_window
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 = urem i64 %3, 4 %5 = icmp eq i64 %4, 1 store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i8* store i8 1, i8* %7, align 1 %8 = add i64 %1, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = or i64 %12, 768 store i64 %13, i64* %11, align 8 store i64 %10, 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
CompRealVul
get_sigframe_220
get_sigframe
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %2, 32 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 76 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = icmp eq i16 %8, 35 store i64 %5, i64* %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = urem i64 %1, 2 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = ptrtoint i32* %arg1 to i64 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 %spec.select = select i1 %17, i64 %5, i64 %16 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %18 = sub i64 %sv_0.0.reload, %arg3 %19 = and i64 %18, 4294967288 ret i64 %19 uselistorder i64 %5, { 2, 0, 1 } }
0
CompRealVul
igmp_mc_get_next_8244
igmp_mc_get_next
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.02.reg2mem = alloca i64 %sv_0.0.be.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg2) %3 = icmp eq i64 %2, 0 store i64 %2, i64* %sv_0.02.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i64* br label LBL_2 LBL_2: %7 = load i64, i64* %4, align 8 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %4, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %6, align 8 store i64 0, i64* %sv_0.02.reg2mem br label LBL_7 LBL_4: %11 = call i64 @FUNC(i64 %8) store i64 %11, i64* %6, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %sv_0.0.be.reg2mem br i1 %13, label LBL_5, label LBL_6 LBL_5: %14 = inttoptr i64 %11 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) store i64 %16, i64* %sv_0.0.be.reg2mem br label LBL_6 LBL_6: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem %17 = icmp eq i64 %sv_0.0.be.reload, 0 store i64 %sv_0.0.be.reload, i64* %sv_0.02.reg2mem br i1 %17, label LBL_2, label LBL_7 LBL_7: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem ret i64 %sv_0.02.reload uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %6, { 1, 0 } uselistorder i64* %sv_0.0.be.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.02.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64)* @rcu_dereference, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
rbd_finish_aiocb_2015
rbd_finish_aiocb
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %arg1) %5 = trunc i64 %4 to i32 %6 = bitcast i64* %arg2 to i32* store i32 %5, i32* %6, align 4 %7 = call i64 @FUNC(i64 %arg1) %8 = call i64 @FUNC(i64 4198718, i64 %0) %9 = inttoptr i64 %3 to i64* store i64 %8, i64* %9, align 8 %10 = call i64 @FUNC(i64 %8) ret i64 %10 }
0
CompRealVul
rgb32tobgr24_16154
rgb32tobgr24
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp ult i32 %arg3, 4 store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = udiv i32 %arg3, 4 %3 = ptrtoint i32* %arg1 to i64 %wide.trip.count = zext i32 %2 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = mul i64 %indvars.iv.reload, 4 %5 = or i64 %4, 2 %6 = add i64 %5, %3 %7 = mul nuw nsw i64 %indvars.iv.reload, 3 %8 = add i64 %7, %1 %9 = inttoptr i64 %6 to i8* %10 = load i8, i8* %9, align 1 %11 = inttoptr i64 %8 to i8* store i8 %10, i8* %11, align 1 %12 = or i64 %4, 1 %13 = add i64 %12, %3 %14 = add i64 %8, 1 %15 = inttoptr i64 %13 to i8* %16 = load i8, i8* %15, align 1 %17 = inttoptr i64 %14 to i8* store i8 %16, i8* %17, align 1 %18 = add i64 %4, %3 %19 = add i64 %8, 2 %20 = inttoptr i64 %18 to i8* %21 = load i8, i8* %20, align 1 %22 = inttoptr i64 %19 to i8* store i8 %21, i8* %22, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %wide.trip.count, i64* %storemerge.lcssa.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %4, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 2, 0, 1 } uselistorder i32 %arg3, { 1, 0 } }
1
CompRealVul
prom_init1_5121
prom_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1, i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 1024, i64* nonnull @gv_1) %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %1, i64 1) %6 = call i64 @FUNC(i64 %0, i64 %1) ret i64 0 }
0
CompRealVul
prep_new_page_18241
prep_new_page
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge7.reg2mem = alloca i64 %storemerge812.reg2mem = alloca i32 %.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext4, 32 %2 = trunc i64 %0 to i32 %3 = urem i32 %2, 32 %4 = shl i32 1, %3 %storemerge = zext i32 %4 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge812.reg2mem br label LBL_1 LBL_1: %.reload = load i64, i64* %.reg2mem %5 = mul i64 %.reload, 4 %6 = add i64 %5, %arg1 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %10, false store i64 1, i64* %storemerge7.reg2mem br i1 %11, label LBL_2, label LBL_8 LBL_2: %storemerge812.reload = load i32, i32* %storemerge812.reg2mem %12 = add i32 %storemerge812.reload, 1 %13 = sext i32 %12 to i64 %14 = icmp sgt i64 %storemerge, %13 store i64 %13, i64* %.reg2mem store i32 %12, i32* %storemerge812.reg2mem br i1 %14, label LBL_1, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %arg1, i64 0) %16 = call i64 @FUNC(i64 %arg1) %17 = and i64 %0, 4294967295 %18 = call i64 @FUNC(i64 %arg1, i64 %17) %19 = call i64 @FUNC(i64 %arg1, i64 %storemerge, i64 1) %20 = urem i64 %arg3, 2 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = trunc i64 %1 to i32 %23 = call i64 @FUNC(i64 %arg1, i64 %17, i32 %22) br label LBL_5 LBL_5: %24 = icmp eq i32 %2, 0 %25 = and i64 %arg3, 2 %26 = icmp eq i64 %25, 0 %or.cond = or i1 %26, %24 br i1 %or.cond, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %arg1, i64 %17) br label LBL_7 LBL_7: %28 = trunc i64 %1 to i32 %29 = call i64 @FUNC(i64 %arg1, i64 %17, i32 %28) %30 = and i64 %arg4, 4 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false %33 = zext i1 %32 to i32 %34 = inttoptr i64 %arg1 to i32* store i32 %33, i32* %34, align 4 store i64 0, i64* %storemerge7.reg2mem br label LBL_8 LBL_8: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem ret i64 %storemerge7.reload uselistorder i64 %17, { 2, 1, 0, 3 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge812.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 0, { 0, 5, 3, 4, 6, 1, 2, 7 } uselistorder i64 %arg3, { 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 2, 1, 5, 8, 7, 6, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
tm_out_of_bounds_4944
tm_out_of_bounds
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %.reg2mem6 = alloca i64 %.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %4 = load i32, i32* %0 %sv_0 = alloca i8*, align 8 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false %7 = trunc i64 %1 to i32 store i32 %7, i32* %.reg2mem store i64 %1, i64* %.reg2mem6 br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) store i32 ptrtoint ([3 x i8]* @gv_0 to i32), i32* %.reg2mem store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %.reg2mem6 br label LBL_2 LBL_2: %8 = urem i64 %arg2, 256 %.reload7 = load i64, i64* %.reg2mem6 %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %.reload7 to i8* store i8* %12, i8** %sv_0, align 8 %13 = add i64 %1, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = bitcast i8** %sv_0 to i64* %17 = call i64 @FUNC(i64* nonnull %16, i64 %8) %18 = icmp eq i64 %17, -1 %19 = icmp eq i1 %18, false store i64 1, i64* %rax.0.reg2mem br i1 %19, label LBL_3, label LBL_9 LBL_3: %20 = add i64 %1, 20 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp sgt i32 %22, 8099 %24 = icmp eq i32 %4, %22 %25 = icmp eq i1 %24, false %or.cond = or i1 %23, %25 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_4 LBL_4: %26 = trunc i64 %15 to i32 %27 = inttoptr i64 %13 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, %26 %30 = icmp eq i1 %29, false store i64 1, i64* %rax.0.reg2mem br i1 %30, label LBL_9, label LBL_5 LBL_5: %31 = add i64 %1, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %3, %33 %35 = icmp eq i1 %34, false store i64 1, i64* %rax.0.reg2mem br i1 %35, label LBL_9, label LBL_6 LBL_6: %36 = trunc i64 %11 to i32 %37 = inttoptr i64 %9 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, %36 %40 = icmp eq i1 %39, false store i64 1, i64* %rax.0.reg2mem br i1 %40, label LBL_9, label LBL_7 LBL_7: %41 = add i64 %1, 4 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %2, %43 %45 = icmp eq i1 %44, false store i64 1, i64* %rax.0.reg2mem br i1 %45, label LBL_9, label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %46 = load i8*, i8** %sv_0, align 8 %47 = ptrtoint i8* %46 to i64 %48 = trunc i64 %47 to i32 %49 = icmp ne i32 %.reload, %48 %spec.select = zext i1 %49 to i64 store i64 %spec.select, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 1, 0 } uselistorder i8** %sv_0, { 1, 2, 0 } uselistorder i64 %1, { 4, 3, 2, 5, 6, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem6, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 3, 2, 6, 7 } uselistorder i32* %0, { 2, 1, 0 } uselistorder i64 1, { 3, 2, 1, 0, 4, 5 } uselistorder [3 x i8]* @gv_0, { 2, 0, 1 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 } uselistorder label LBL_9, { 5, 1, 2, 3, 4, 0, 6 } }
0
CompRealVul
testBackingParse_19173
testBackingParse
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rbx.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i8* null, i8** %sv_1, align 8 store i32 0, i32* %sv_0, align 4 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false %spec.store.select = select i1 %8, i32 %3, i32 -1 %9 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %spec.store.select, %10 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = and i64 %9, 4294967295 %14 = zext i32 %spec.store.select to i64 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %13) store i64 4294967295, i64* %rbx.0.reg2mem br label LBL_10 LBL_2: %16 = load i32, i32* %sv_0, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 0, i64* %rbx.0.reg2mem br i1 %18, label LBL_3, label LBL_10 LBL_3: %19 = load i64, i64* %5, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %22, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i64* %arg1) store i64 4294967295, i64* %rbx.0.reg2mem br label LBL_10 LBL_5: %24 = sext i32 %16 to i64 %25 = call i64 @FUNC(i64* nonnull %sv_2, i64 %24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 0, i64 0) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64* nonnull %sv_2) %29 = inttoptr i64 %28 to i8* store i8* %29, i8** %sv_1, align 8 %30 = icmp eq i64 %28, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %33 = call i32 @fwrite(i64* bitcast ([34 x i8]* @gv_4 to i64*), i32 1, i32 33, %_IO_FILE* %32) store i64 4294967295, i64* %rbx.0.reg2mem br label LBL_10 LBL_8: %34 = load i64, i64* %5, align 8 %35 = call i64 @FUNC(i64 %28, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 0, i64* %rbx.0.reg2mem br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = load i8*, i8** %sv_1, align 8 %39 = load i64, i64* %5, align 8 %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %41 = inttoptr i64 %39 to i8* %42 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @gv_5, i64 0, i64 0), i8* %29, i8* %41, i8* %38) store i64 4294967295, i64* %rbx.0.reg2mem br label LBL_10 LBL_10: %rbx.0.reload = load i64, i64* %rbx.0.reg2mem %43 = ptrtoint i32* %sv_0 to i64 %44 = call i64 @FUNC(i64 %43) %45 = ptrtoint i8** %sv_1 to i64 %46 = call i64 @FUNC(i64 %45) ret i64 %rbx.0.reload uselistorder i32 %spec.store.select, { 1, 0 } uselistorder i64* %5, { 1, 2, 0, 3 } uselistorder i8** %sv_1, { 3, 2, 1, 0 } uselistorder i32* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %rbx.0.reg2mem, { 0, 5, 1, 6, 4, 2, 3 } uselistorder i64 (i64)* @free, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 } uselistorder i64 4294967295, { 2, 3, 1, 0, 6, 4, 5 } uselistorder %_IO_FILE** @gv_0, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_10, { 2, 0, 3, 4, 1, 5 } }
1
CompRealVul
diff_bytes_c_3267
diff_bytes_c
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %sv_0.03.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %storemerge1.lcssa.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %0, 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = sext i32 %arg4 to i64 %6 = icmp sgt i32 %arg4, 7 store i64 7, i64* %.reg2mem store i64 0, i64* %storemerge6.reg2mem store i64 %5, i64* %.pre-phi.reg2mem store i64 0, i64* %sv_0.0.ph.reg2mem br i1 %6, label LBL_3, label LBL_6 LBL_2: %7 = add i32 %arg4, -8 %8 = sext i32 %7 to i64 %9 = icmp slt i32 %7, 0 store i64 0, i64* %storemerge14.reg2mem store i64 0, i64* %storemerge1.lcssa.reg2mem br i1 %9, label LBL_5, label LBL_4 LBL_3: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %.reload = load i64, i64* %.reg2mem %10 = add i64 %storemerge6.reload, %1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = add i64 %storemerge6.reload, %0 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = add i64 %storemerge6.reload, %2 %17 = sub i8 %12, %15 %18 = inttoptr i64 %16 to i8* store i8 %17, i8* %18, align 1 %19 = or i64 %storemerge6.reload, 1 %20 = add i64 %19, %1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = add i64 %19, %0 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = add i64 %19, %2 %27 = sub i8 %22, %25 %28 = inttoptr i64 %26 to i8* store i8 %27, i8* %28, align 1 %29 = or i64 %storemerge6.reload, 2 %30 = add i64 %29, %1 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = add i64 %29, %0 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = add i64 %29, %2 %37 = sub i8 %32, %35 %38 = inttoptr i64 %36 to i8* store i8 %37, i8* %38, align 1 %39 = or i64 %storemerge6.reload, 3 %40 = add i64 %39, %1 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = add i64 %39, %0 %44 = inttoptr i64 %43 to i8* %45 = load i8, i8* %44, align 1 %46 = add i64 %39, %2 %47 = sub i8 %42, %45 %48 = inttoptr i64 %46 to i8* store i8 %47, i8* %48, align 1 %49 = or i64 %storemerge6.reload, 4 %50 = add i64 %49, %1 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = add i64 %49, %0 %54 = inttoptr i64 %53 to i8* %55 = load i8, i8* %54, align 1 %56 = add i64 %49, %2 %57 = sub i8 %52, %55 %58 = inttoptr i64 %56 to i8* store i8 %57, i8* %58, align 1 %59 = or i64 %storemerge6.reload, 5 %60 = add i64 %59, %1 %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 %63 = add i64 %59, %0 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = add i64 %59, %2 %67 = sub i8 %62, %65 %68 = inttoptr i64 %66 to i8* store i8 %67, i8* %68, align 1 %69 = or i64 %storemerge6.reload, 6 %70 = add i64 %69, %1 %71 = inttoptr i64 %70 to i8* %72 = load i8, i8* %71, align 1 %73 = add i64 %69, %0 %74 = inttoptr i64 %73 to i8* %75 = load i8, i8* %74, align 1 %76 = add i64 %69, %2 %77 = sub i8 %72, %75 %78 = inttoptr i64 %76 to i8* store i8 %77, i8* %78, align 1 %79 = add i64 %.reload, %1 %80 = inttoptr i64 %79 to i8* %81 = load i8, i8* %80, align 1 %82 = add i64 %.reload, %0 %83 = inttoptr i64 %82 to i8* %84 = load i8, i8* %83, align 1 %85 = add i64 %.reload, %2 %86 = sub i8 %81, %84 %87 = inttoptr i64 %85 to i8* store i8 %86, i8* %87, align 1 %88 = add nuw nsw i64 %storemerge6.reload, 8 %89 = or i64 %88, 7 %90 = icmp slt i64 %89, %5 store i64 %89, i64* %.reg2mem store i64 %88, i64* %storemerge6.reg2mem store i64 %5, i64* %.pre-phi.reg2mem store i64 %88, i64* %sv_0.0.ph.reg2mem br i1 %90, label LBL_3, label LBL_6 LBL_4: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %91 = add i64 %storemerge14.reload, %1 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = add i64 %storemerge14.reload, %0 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = or i64 %93, 128 %98 = urem i64 %96, 128 %99 = sub i64 %97, %98 %100 = xor i64 %96, %93 %101 = and i64 %100, 128 %102 = xor i64 %101, 128 %103 = add i64 %storemerge14.reload, %2 %104 = xor i64 %102, %99 %105 = inttoptr i64 %103 to i64* store i64 %104, i64* %105, align 8 %106 = add nuw nsw i64 %storemerge14.reload, 8 %107 = icmp sgt i64 %106, %8 store i64 %106, i64* %storemerge14.reg2mem store i64 %106, i64* %storemerge1.lcssa.reg2mem br i1 %107, label LBL_5, label LBL_4 LBL_5: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem %.pre = sext i32 %arg4 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %storemerge1.lcssa.reload, i64* %sv_0.0.ph.reg2mem br label LBL_6 LBL_6: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %108 = icmp slt i64 %sv_0.0.ph.reload, %.pre-phi.reload store i64 %sv_0.0.ph.reload, i64* %sv_0.03.reg2mem br i1 %108, label LBL_7, label LBL_8 LBL_7: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %109 = add i64 %sv_0.03.reload, %1 %110 = inttoptr i64 %109 to i8* %111 = load i8, i8* %110, align 1 %112 = add i64 %sv_0.03.reload, %0 %113 = inttoptr i64 %112 to i8* %114 = load i8, i8* %113, align 1 %115 = add i64 %sv_0.03.reload, %2 %116 = sub i8 %111, %114 %117 = inttoptr i64 %115 to i8* store i8 %116, i8* %117, align 1 %118 = add nuw nsw i64 %sv_0.03.reload, 1 %exitcond = icmp eq i64 %118, %.pre-phi.reload store i64 %118, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: ret i64 %.pre-phi.reload uselistorder i64 %sv_0.03.reload, { 0, 3, 2, 1 } uselistorder i64 %.pre-phi.reload, { 1, 0, 2 } uselistorder i64 %96, { 1, 0 } uselistorder i64 %storemerge14.reload, { 0, 3, 2, 1 } uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %storemerge6.reload, { 6, 0, 1, 2, 3, 4, 5, 9, 8, 7 } uselistorder i64 %5, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i64 128, { 2, 3, 0, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i32 %arg4, { 0, 3, 1, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
jsi_FromHexStr_9792
jsi_FromHexStr
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i32 %.reg2mem = alloca i8* %0 = ptrtoint i64* %arg2 to i64 %1 = inttoptr i64 %arg1 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 store i8* %1, i8** %.reg2mem store i32 0, i32* %sv_0.03.reg2mem store i64 %arg1, i64* %sv_1.02.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %3, label LBL_5, label LBL_4 LBL_1: %.reload = load i8*, i8** %.reg2mem %4 = call i16** @__ctype_b_loc() %5 = load i16*, i16** %4, align 8 %6 = ptrtoint i16* %5 to i64 %7 = load i8, i8* %.reload, align 1 %8 = sext i8 %7 to i64 %9 = mul i64 %8, 2 %10 = add i64 %9, %6 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 %13 = and i16 %12, 4096 %14 = icmp eq i16 %13, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %14, label LBL_6, label LBL_2 LBL_2: %15 = call i16** @__ctype_b_loc() %16 = load i16*, i16** %15, align 8 %17 = ptrtoint i16* %16 to i64 %18 = load i8, i8* %.reload, align 1 %19 = sext i8 %18 to i64 %20 = mul i64 %19, 2 %21 = add i64 %20, %17 %22 = inttoptr i64 %21 to i16* %23 = load i16, i16* %22, align 2 %24 = and i16 %23, 4096 %25 = icmp eq i16 %24, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %25, label LBL_3, label LBL_6 LBL_3: %26 = and i64 %19, 4294967295 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i8 %29 = mul i8 %28, 16 %30 = load i8, i8* %45, align 1 %31 = sext i8 %30 to i64 %32 = and i64 %31, 4294967295 %33 = call i64 @FUNC(i64 %32) %34 = trunc i64 %33 to i8 %35 = or i8 %29, %34 %36 = add i32 %sv_0.03.reload, 1 %37 = sext i32 %sv_0.03.reload to i64 %38 = add i64 %37, %0 %39 = inttoptr i64 %38 to i8* store i8 %35, i8* %39, align 1 %40 = add i64 %sv_1.02.reload, 2 %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = icmp eq i8 %42, 0 store i8* %41, i8** %.reg2mem store i32 %36, i32* %sv_0.03.reg2mem store i64 %40, i64* %sv_1.02.reg2mem store i32 %36, i32* %sv_0.0.lcssa.reg2mem br i1 %43, label LBL_5, label LBL_4 LBL_4: %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %44 = add i64 %sv_1.02.reload, 1 %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = icmp eq i8 %46, 0 %48 = icmp eq i1 %47, false store i32 %sv_0.03.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %48, label LBL_1, label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %49 = zext i32 %sv_0.0.lcssa.reload to i64 store i64 %49, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %45, { 1, 0 } uselistorder i64 %sv_1.02.reload, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.02.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @jsi_fromHexChar, { 1, 0 } uselistorder i64 2, { 2, 0, 1 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
gf_audio_input_fetch_frame_17408
gf_audio_input_fetch_frame
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = add i64 %arg1, 8 %3 = bitcast i32* %sv_1 to i64* %4 = call i64 @FUNC(i64 %arg1, i64 0, i64 %2, i64* nonnull %3, i64 %arg2) %5 = inttoptr i64 %2 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 %arg1, i64* %rdi.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %arg1, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0) store i64 %10, i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %12 = icmp eq i64 %4, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load i32, i32* %5, align 4 %15 = zext i32 %14 to i64 %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %15) %17 = call i64 @FUNC(i64 ptrtoint ([48 x i8]* @gv_0 to i64), i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %18 = add i64 %arg1, 12 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = call i128 @FUNC(i64 %rdi.0.reload) %21 = call i32 @FUNC(i128 %20) %22 = bitcast i32* %sv_0 to i64* %23 = call i64 @FUNC(i64 %rdi.0.reload, i64* nonnull %22) %24 = load i32, i32* %sv_0, align 4 %25 = add i32 %24, %arg3 store i32 %25, i32* %sv_0, align 4 %26 = load i32, i32* %sv_1, align 4 %27 = sub i32 %25, %26 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = add i32 %27, %arg3 %31 = zext i32 %30 to i64 %32 = zext i32 %arg3 to i64 %33 = zext i32 %25 to i64 %34 = zext i32 %26 to i64 %35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_1, i64 0, i64 0), i64 %31, i64 %34, i64 %33, i64 %32) store i32 0, i32* %19, align 4 %36 = call i64 @FUNC(i64 ptrtoint ([79 x i8]* @gv_1 to i64), i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %37 = icmp eq i32 %arg3, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %37, label LBL_11, label LBL_8 LBL_8: %38 = call i128 @FUNC(i32 %21) %39 = load i32, i32* inttoptr (i64 4202876 to i32*), align 4 %40 = call i128 @FUNC(i32 %39) %41 = call i128 @FUNC(i128 %40, i128 %38) %42 = call i32 @FUNC(i128 %41) %43 = icmp sgt i32 %27, %42 %44 = load i32, i32* %sv_1, align 4 %45 = zext i32 %44 to i64 %46 = load i32, i32* %sv_0, align 4 %47 = sub i32 %46, %arg3 br i1 %43, label LBL_9, label LBL_10 LBL_9: %48 = zext i32 %27 to i64 %49 = zext i32 %47 to i64 %50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_2, i64 0, i64 0), i64 %49, i64 %45, i64 %48) %51 = bitcast i64* %rsi to i32* %52 = load i32, i32* %51, align 8 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 ptrtoint ([86 x i8]* @gv_2 to i64), i64 %53, i64 2) store i32 0, i32* %19, align 4 %55 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) store i64 %55, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %56 = zext i32 %47 to i64 %57 = zext i32 %27 to i64 %58 = zext i32 %arg3 to i64 %59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @gv_3, i64 0, i64 0), i64 %58, i64 %56, i64 %45, i64 %57) %60 = call i64 @FUNC(i64 ptrtoint ([78 x i8]* @gv_3 to i64), i64 %57) store i64 %4, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %27, { 3, 2, 1, 0, 4 } uselistorder i32* %19, { 1, 0, 2 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i32* %sv_0, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 1, 5, 4, 3 } uselistorder [78 x i8]* @gv_3, { 1, 0 } uselistorder [86 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @gf_mo_release_data, { 1, 0 } uselistorder [79 x i8]* @gv_1, { 1, 0 } uselistorder i64 (i64, i64)* @gf_mo_adjust_clock, { 1, 0 } uselistorder [48 x i8]* @gv_0, { 1, 0 } uselistorder i32 %arg3, { 5, 3, 4, 6, 2, 0, 1 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4, 5, 6 } uselistorder label LBL_11, { 1, 3, 0, 4, 5, 2 } }
1
CompRealVul
read_quant_table_2254
read_quant_table
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %sv_0.17.reg2mem = alloca i32 %storemerge28.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %2 = call i64* @memset(i64* nonnull %sv_2, i32 128, i32 256) store i32 0, i32* %storemerge28.reg2mem store i32 0, i32* %sv_0.17.reg2mem br label LBL_1 LBL_1: %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_2, i64 0) %4 = trunc i64 %3 to i32 %5 = add i32 %4, 1 %6 = sub i32 128, %sv_0.17.reload %7 = icmp ugt i32 %5, %6 store i64 4294967295, i64* %storemerge1.reg2mem br i1 %7, label LBL_9, label LBL_2 LBL_2: %storemerge28.reload = load i32, i32* %storemerge28.reg2mem %8 = icmp eq i32 %5, 0 %9 = icmp eq i1 %8, false store i32 %sv_0.17.reload, i32* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_5 LBL_3: %10 = mul i32 %storemerge28.reload, %arg3 %11 = trunc i32 %10 to i16 store i32 %5, i32* %sv_1.06.reg2mem store i32 %sv_0.17.reload, i32* %sv_0.05.reg2mem br label LBL_4 LBL_4: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %12 = add i32 %sv_1.06.reload, -1 %13 = sext i32 %sv_0.05.reload to i64 %14 = mul i64 %13, 2 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i16* store i16 %11, i16* %16, align 2 %17 = add i32 %sv_0.05.reload, 1 %18 = icmp eq i32 %12, 0 %19 = icmp eq i1 %18, false store i32 %12, i32* %sv_1.06.reg2mem store i32 %17, i32* %sv_0.05.reg2mem store i32 %17, i32* %sv_0.0.lcssa.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %20 = add i32 %storemerge28.reload, 1 %21 = icmp slt i32 %sv_0.0.lcssa.reload, 128 store i32 %20, i32* %storemerge28.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.17.reg2mem br i1 %21, label LBL_1, label LBL_6 LBL_6: %22 = add i64 %0, 512 store i64 1, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %23 = mul i64 %indvars.iv.reload, 2 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i16* %26 = load i16, i16* %25, align 2 %27 = sub i16 0, %26 %28 = sub i64 %22, %23 %29 = inttoptr i64 %28 to i16* store i16 %27, i16* %29, align 2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 128 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_7 LBL_8: %30 = add i64 %0, 254 %31 = inttoptr i64 %30 to i16* %32 = load i16, i16* %31, align 2 %33 = sub i16 0, %32 %34 = add i64 %0, 256 %35 = inttoptr i64 %34 to i16* store i16 %33, i16* %35, align 2 %36 = mul i32 %20, 2 %37 = add i32 %36, -1 %38 = zext i32 %37 to i64 store i64 %38, i64* %storemerge1.reg2mem br label LBL_9 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %23, { 1, 0 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_0.17.reload, { 1, 0, 2 } uselistorder i64 %0, { 4, 3, 1, 0, 2 } uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i16 0, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
kvm_has_sync_mmu_1653
kvm_has_sync_mmu
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 1) ret i64 %1 uselistorder i64 1, { 1, 0 } }
0
CompRealVul
ulti_decode_init_2068
ulti_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %3, 12 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = load i32, i32* %8, align 4 %15 = sdiv i32 %14, 128 %16 = sdiv i32 %11, 128 %17 = mul i32 %15, %16 %18 = add i64 %3, 16 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = icmp eq i32 %17, 0 %21 = icmp eq i1 %20, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %21, label LBL_1, label LBL_2 LBL_1: %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = load i64, i64* @gv_0, align 8 %25 = add i64 %3, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = call i64 @FUNC() %28 = add i64 %3, 32 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = icmp eq i64 %27, 0 %31 = icmp eq i1 %30, false %. = select i1 %31, i64 0, i64 4294967284 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
CompRealVul
ReadCALSImage_7480
ReadCALSImage
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0.2.lcssa.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.210.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %sv_10 = alloca i64, align 8 %sv_11 = alloca i64, align 8 %5 = icmp eq i64* %arg1, null %6 = icmp eq i1 %5, false store i64 %4, i64* %rdi.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([38 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %7 = add i64 %4, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 305419896 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([45 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_6, label LBL_5 LBL_5: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %15 = call i64 @FUNC() %16 = call i64 @FUNC(i64 2, i64 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %rdi.1.reload) br label LBL_6 LBL_6: %17 = icmp eq i32* %arg2, null %18 = icmp eq i1 %17, false br i1 %18, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %19 = trunc i64 %3 to i32 %20 = icmp eq i32 %19, 305419896 br i1 %20, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_10 LBL_10: %21 = ptrtoint i32* %arg2 to i64 %22 = call i64 @FUNC(i64 %4, i64 %21) %23 = call i64 @FUNC(i64 %4, i64 %22, i64 0, i64 %21) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_12, label LBL_11 LBL_11: %27 = call i64 @FUNC(i64 %22) store i64 0, i64* %storemerge.reg2mem br label LBL_35 LBL_12: %28 = call i64* @memset(i64* nonnull %sv_11, i32 0, i32 1024) store i64 0, i64* %sv_10, align 8 store i64 0, i64* %sv_9, align 8 store i64 0, i64* %sv_8, align 8 store i64 1, i64* %sv_7, align 8 store i64 0, i64* %sv_6, align 8 store i64 0, i64* %sv_5, align 8 %29 = bitcast i64* %sv_4 to i8* %30 = bitcast i64* %sv_3 to i8* store i64 0, i64* %storemerge411.reg2mem store i32 1, i32* %sv_0.210.reg2mem br label LBL_13 LBL_13: %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem %31 = call i64 @FUNC(i64 %22, i64 128, i64* nonnull %sv_11) %32 = icmp eq i64 %31, 128 %33 = icmp eq i1 %32, false store i32 %sv_0.210.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %33, label LBL_27, label LBL_14 LBL_14: %storemerge411.reload = load i64, i64* %storemerge411.reg2mem %34 = load i64, i64* %sv_11, align 8 %sext = mul i64 %34, 72057594037927936 %35 = ashr exact i64 %sext, 56 %36 = trunc i64 %35 to i32 %37 = icmp ne i32 %36, 82 %38 = icmp eq i32 %36, 114 %39 = icmp eq i1 %38, false %or.cond = icmp eq i1 %37, %39 store i32 %sv_0.210.reload, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_26, label LBL_15 LBL_15: %40 = call i64 @FUNC(i64* nonnull %sv_11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 8) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_17, label LBL_16 LBL_16: %44 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_10) store i32 %sv_0.210.reload, i32* %sv_0.1.reg2mem br label LBL_26 LBL_17: %45 = call i64 @FUNC(i64* nonnull %sv_11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0), i64 8) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_19, label LBL_18 LBL_18: %49 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_6, i64* nonnull %sv_5) store i32 %sv_0.210.reload, i32* %sv_0.1.reg2mem br label LBL_26 LBL_19: %50 = call i64 @FUNC(i64* nonnull %sv_11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i64 8) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_24, label LBL_20 LBL_20: %54 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_8, i64* nonnull %sv_9) %55 = load i64, i64* %sv_8, align 8 %56 = icmp eq i64 %55, 90 %57 = icmp eq i1 %56, false store i32 5, i32* %sv_0.0.reg2mem br i1 %57, label LBL_21, label LBL_23 LBL_21: %58 = icmp eq i64 %55, 180 %59 = icmp eq i1 %58, false store i32 3, i32* %sv_0.0.reg2mem br i1 %59, label LBL_22, label LBL_23 LBL_22: %60 = icmp eq i64 %55, 270 %61 = icmp eq i1 %60, false %spec.select = select i1 %61, i32 %sv_0.210.reload, i32 7 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %62 = load i64, i64* %sv_9, align 8 %63 = icmp eq i64 %62, 90 %64 = zext i1 %63 to i32 %spec.select6 = add i32 %sv_0.0.reload, %64 store i32 %spec.select6, i32* %sv_0.1.reg2mem br label LBL_26 LBL_24: %65 = call i64 @FUNC(i64* nonnull %sv_11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_12, i64 0, i64 0), i64 6) %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false store i32 %sv_0.210.reload, i32* %sv_0.1.reg2mem br i1 %68, label LBL_26, label LBL_25 LBL_25: %69 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_7) store i32 %sv_0.210.reload, i32* %sv_0.1.reg2mem br label LBL_26 LBL_26: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %70 = add nuw nsw i64 %storemerge411.reload, 1 %71 = icmp ult i64 %70, 16 store i64 %70, i64* %storemerge411.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.210.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %71, label LBL_13, label LBL_27 LBL_27: %72 = call i64 @FUNC(i64* nonnull %sv_2) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, -1 br i1 %74, label LBL_30, label LBL_28 LBL_28: %75 = call %_IO_FILE* @fdopen(i32 %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_13, i64 0, i64 0)) %76 = icmp eq %_IO_FILE* %75, null %77 = icmp eq i1 %76, false br i1 %77, label LBL_29, label LBL_30 LBL_29: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %78 = call i64 @FUNC(i64 %22) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, -1 %81 = icmp eq i1 %80, false store i32 %79, i32* %.reg2mem br i1 %81, label LBL_31, label LBL_32 LBL_30: %82 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_14, i64 0, i64 0)) unreachable LBL_31: %.reload = load i32, i32* %.reg2mem %83 = call i32 @fputc(i32 %.reload, %_IO_FILE* %75) %84 = call i64 @FUNC(i64 %22) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, -1 %87 = icmp eq i1 %86, false store i32 %85, i32* %.reg2mem br i1 %87, label LBL_31, label LBL_32 LBL_32: %88 = call i32 @fclose(%_IO_FILE* %75) %89 = call i64 @FUNC(i64 %22) %90 = call i64 @FUNC(i64 %22) %91 = call i64 @FUNC(i64 %4) %92 = call i64 @FUNC(i64 %91, i64 0, i64 0) %93 = inttoptr i64 %91 to i64* %94 = load i64, i64* %93, align 8 %95 = call i64 @FUNC(i64 %94, i64 1024, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_15, i64 0, i64 0), i64* nonnull %sv_2, i64 %2, i64 %1) %96 = load i64, i64* %sv_5, align 8 %97 = load i64, i64* %sv_6, align 8 %98 = ptrtoint i64* %sv_1 to i64 %99 = inttoptr i64 %97 to i64* %100 = call i64 @FUNC(i64 %98, i64 1024, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_16, i64 0, i64 0), i64* %99, i64 %96, i64 %1) %101 = add i64 %91, 16 %102 = call i64 @FUNC(i64 %101, i64* nonnull %sv_1) %103 = load i64, i64* %sv_10, align 8 %104 = inttoptr i64 %103 to i64* %105 = call i64 @FUNC(i64 %98, i64 1024, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64* %104, i64 %96, i64 %1) %106 = add i64 %91, 24 %107 = call i64 @FUNC(i64 %106, i64* nonnull %sv_1) %108 = add i64 %91, 32 %109 = inttoptr i64 %108 to i32* store i32 %sv_0.2.lcssa.reload, i32* %109, align 4 %110 = call i64 @FUNC(i64 %91, i64 %21) %111 = icmp eq i64 %110, 0 br i1 %111, label LBL_34, label LBL_33 LBL_33: %112 = add i64 %110, 8 %113 = inttoptr i64 %112 to i64* %114 = load i64, i64* %113, align 8 %115 = call i64 @FUNC(i64 %114, i64 %91, i64 1024) %116 = add i64 %110, 16 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = call i64 @FUNC(i64 %118, i64 %114, i64 1024) %120 = add i64 %110, 24 %121 = inttoptr i64 %120 to i64* %122 = load i64, i64* %121, align 8 %123 = call i64 @FUNC(i64 %122, i64 ptrtoint ([5 x i8]* @gv_17 to i64), i64 1024) br label LBL_34 LBL_34: %124 = call i64 @FUNC(i64 %91) %125 = call i64 @FUNC(i64* nonnull %sv_2) store i64 %110, i64* %storemerge.reg2mem br label LBL_35 LBL_35: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %110, { 0, 1, 3, 2, 4 } uselistorder i64 %96, { 1, 0 } uselistorder i64 %91, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder %_IO_FILE* %75, { 1, 2, 0 } uselistorder i32 %sv_0.210.reload, { 4, 5, 6, 3, 2, 1, 0 } uselistorder i64 %22, { 3, 2, 4, 0, 5, 1, 6 } uselistorder i64* %sv_11, { 0, 1, 2, 3, 6, 4, 5 } uselistorder i64* %sv_10, { 1, 0, 2 } uselistorder i64* %sv_9, { 1, 0, 2 } uselistorder i64* %sv_8, { 1, 0, 2 } uselistorder i64* %sv_6, { 1, 0, 2 } uselistorder i64* %sv_5, { 1, 0, 2 } uselistorder i64 %4, { 1, 3, 2, 4, 5, 0 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.210.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 5, 6, 1, 4, 3, 2 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @CopyMagickString, { 2, 1, 0 } uselistorder i64 (i64, i64*)* @CloneString, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64*, i64, i64)* @FormatLocaleString, { 2, 1, 0 } uselistorder i64 (i64)* @ReadBlobByte, { 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 16, { 1, 2, 0 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 2, 3, 1, 0 } uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), { 2, 0, 1 } uselistorder i64 (i64*, i8*, i64)* @LocaleNCompare, { 3, 2, 1, 0 } uselistorder i64 1, { 2, 4, 3, 0, 1 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 8, { 3, 0, 1, 2, 4 } uselistorder [45 x i8]* @gv_3, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder [38 x i8]* @gv_0, { 1, 0 } uselistorder i1 false, { 3, 0, 1, 4, 5, 6, 7, 8, 9, 10, 2, 11, 12, 13, 14 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_26, { 3, 2, 0, 4, 5, 1 } uselistorder label LBL_13, { 1, 0 } }
1
CompRealVul
mbedtls_x509_crt_is_revoked_12371
mbedtls_x509_crt_is_revoked
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.12.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_7, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %storemerge13.reg2mem store i64 %1, i64* %rdi.12.reg2mem br label LBL_6 LBL_2: %rdi.12.reload = load i64, i64* %rdi.12.reg2mem %5 = icmp eq i64 %rdi.12.reload, %26 %6 = icmp eq i1 %5, false store i64 %rdi.12.reload, i64* %rdi.0.reg2mem br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = add i64 %storemerge13.reload, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = load i64, i64* %4, align 8 %11 = inttoptr i64 %10 to i64* %12 = inttoptr i64 %9 to i64* %13 = trunc i64 %rdi.12.reload to i32 %14 = call i32 @memcmp(i64* %11, i64* %12, i32 %13) %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64 %10, i64* %rdi.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = add i64 %storemerge13.reload, 24 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 store i64 %17, i64* %rdi.0.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %20, label LBL_5, label LBL_7 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %21 = add i64 %storemerge13.reload, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 store i64 %23, i64* %storemerge13.reg2mem store i64 %rdi.0.reload, i64* %rdi.12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %25 = inttoptr i64 %storemerge13.reload to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %storemerge.reg2mem br i1 %28, label LBL_2, label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %26, { 1, 0 } uselistorder i64 %storemerge13.reload, { 2, 1, 0, 3 } uselistorder i64 %rdi.12.reload, { 1, 2, 0 } uselistorder i64* %rdi.12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i1 false, { 2, 0, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 2, 0, 3 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
hevc_init_17214
hevc_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0) store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* store i32 2147483647, i32* %3, align 4 ret i64 0 }
1
CompRealVul
_php_pgsql_trim_message_9373
_php_pgsql_trim_message
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rbx.0.lcssa.reg2mem = alloca i64 %rbx.07.reg2mem = alloca i64 %rbx.0.ph.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = add i32 %1, -1 %3 = zext i32 %2 to i64 %4 = icmp slt i32 %2, 2 store i64 %3, i64* %rbx.0.ph.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = sext i32 %2 to i64 %6 = add i64 %5, %arg1 %7 = add i64 %6, -1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp ne i8 %9, 13 %11 = icmp eq i8 %9, 10 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 store i64 %3, i64* %rbx.0.ph.reg2mem br i1 %or.cond, label LBL_4, label LBL_2 LBL_2: %13 = inttoptr i64 %6 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 46 %16 = icmp eq i1 %15, false store i64 %3, i64* %rbx.0.ph.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = add i32 %1, -2 %18 = zext i32 %17 to i64 store i64 %18, i64* %rbx.0.ph.reg2mem br label LBL_4 LBL_4: %rbx.0.ph.reload = load i64, i64* %rbx.0.ph.reg2mem %19 = trunc i64 %rbx.0.ph.reload to i32 %20 = icmp slt i32 %19, 1 store i64 %rbx.0.ph.reload, i64* %rbx.07.reg2mem store i64 %rbx.0.ph.reload, i64* %rbx.0.lcssa.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_5: %21 = add nuw nsw i64 %rbx.07.reload, 4294967295 %22 = and i64 %21, 4294967295 %23 = trunc i64 %21 to i32 %24 = icmp slt i32 %23, 1 store i64 %22, i64* %rbx.07.reg2mem store i64 %22, i64* %rbx.0.lcssa.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %rbx.07.reload = load i64, i64* %rbx.07.reg2mem %sext3 = mul i64 %rbx.07.reload, 4294967296 %25 = ashr exact i64 %sext3, 32 %26 = add i64 %25, %arg1 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 store i64 %rbx.07.reload, i64* %rbx.0.lcssa.reg2mem switch i8 %28, label LBL_7 [ i8 13, label LBL_5 i8 10, label LBL_5 ] LBL_7: %rbx.0.lcssa.reload = load i64, i64* %rbx.0.lcssa.reg2mem %29 = add nuw nsw i64 %rbx.0.lcssa.reload, 1 %30 = icmp eq i64* %arg2, null br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = trunc i64 %29 to i32 %32 = bitcast i64* %arg2 to i32* store i32 %31, i32* %32, align 4 br label LBL_9 LBL_9: %sext5 = mul i64 %29, 4294967296 %33 = ashr exact i64 %sext5, 32 %34 = call i64 @FUNC(i64 %arg1, i64 %33) ret i64 %34 uselistorder i64 %rbx.07.reload, { 0, 2, 1 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64* %rbx.0.ph.reg2mem, { 0, 3, 2, 4, 1 } uselistorder i64* %rbx.07.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 %arg1, { 2, 0, 1, 3 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 2, 1, 3, 0 } }
0
CompRealVul
APar_ExtractDetails_7856
APar_ExtractDetails
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %storemerge.in10.reg2mem = alloca i32 %sv_0.011.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %sv_1 = alloca i8, align 1 %sv_2 = alloca i64, align 8 %7 = load i32, i32* %1 %8 = load i32, i32* %1 %9 = load i32, i32* %1 %sv_3 = alloca i64, align 8 %10 = load i32, i32* %1 %sv_4 = alloca i32, align 4 %11 = call i64* @malloc(i32 5) %12 = ptrtoint i64* %11 to i64 store i32 0, i32* %sv_4, align 4 %13 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 0) %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_3, label LBL_1 LBL_1: %15 = call i64 @FUNC(i64 %12, i64 %arg1, i64 %13) %16 = load i64, i64* @gv_1, align 8 %17 = call i128 @__asm_movsd.1(i64 %16) %18 = call i64 @FUNC(i128 %17) %19 = load i64, i64* @gv_2, align 8 %20 = call i128 @FUNC(i64 %19) %21 = call i64 @FUNC(i128 %20) %22 = load i64, i64* @gv_2, align 8 %23 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %24 = call i128 @__asm_movsd.1(i64 %18) %25 = call i128 @FUNC(i64 %22) %26 = trunc i128 %25 to i64 %27 = bitcast i64 %26 to double %28 = inttoptr i64 %21 to i8* %29 = trunc i128 %24 to i64 %30 = bitcast i64 %29 to double %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_4, i64 0, i64 0), double %27, i8* %28, double %30) %32 = urem i64 %arg2, 2 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_3, label LBL_2 LBL_2: %34 = load i64, i64* @gv_5, align 8 %35 = call i64 @FUNC(i64 %34) %36 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %37 = inttoptr i64 %35 to i8* %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %36, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i8* %37) %39 = load i64, i64* @gv_7, align 8 %40 = call i64 @FUNC(i64 %39) %41 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %42 = inttoptr i64 %40 to i8* %43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %41, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_8, i64 0, i64 0), i8* %42) br label LBL_3 LBL_3: %44 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0), i64 0, i64 0, i64 0) %45 = icmp eq i64 %44, 0 br i1 %45, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* bitcast (i64* @gv_10 to i32*), align 8 %46 = call i64 @FUNC(i64 %arg1, i64 %44) br label LBL_5 LBL_5: %47 = and i64 %arg2, 2 %48 = icmp eq i64 %47, 0 store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_24, label LBL_6 LBL_6: %49 = bitcast i32* %sv_4 to i64* %50 = call i64 @FUNC(i64* nonnull %49, i64 0) %51 = load i32, i32* %sv_4, align 4 %52 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %53 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %52, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_11, i64 0, i64 0), i32 %51) %54 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %55 = call i32 @fwrite(i64* bitcast ([57 x i8]* @gv_12 to i64*), i32 1, i32 56, %_IO_FILE* %54) %56 = load i32, i32* %sv_4, align 4 %57 = icmp eq i32 %56, 0 store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_24, label LBL_7 LBL_7: %58 = icmp ugt i32 %56, %10 br i1 %58, label LBL_8, label LBL_23 LBL_8: %59 = bitcast i64* %sv_3 to i8* %60 = zext i32 %9 to i64 %61 = zext i32 %7 to i64 %62 = icmp eq i32 %6, 0 %63 = bitcast i8* %sv_1 to i64* %64 = urem i32 %5, 2 %65 = icmp eq i32 %64, 0 %66 = zext i32 %4 to i64 %67 = and i32 %5, 6 %68 = icmp eq i32 %67, 0 %69 = urem i64 %arg2, 2 %70 = icmp eq i64 %69, 0 br label LBL_9 LBL_9: %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem call void @FUNC(i8* nonnull %59, i64 0, i64 23) %71 = call i64 @FUNC(i64 %12, i64 %arg1, i64* nonnull %49, i64* nonnull %sv_3) %72 = call i64 @FUNC(i64* nonnull %sv_3) %73 = load i64, i64* %sv_3, align 8 %74 = trunc i64 %73 to i8 %75 = icmp eq i8 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_11, label LBL_10 LBL_10: %77 = call i64* @memcpy(i64* nonnull %sv_3, i64* bitcast ([14 x i8]* @gv_13 to i64*), i32 13) br label LBL_11 LBL_11: %78 = add i32 %sv_0.011.reload, 1 %79 = call i64 @FUNC(i64 %60, i64 %12) %80 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %81 = inttoptr i64 %79 to i8* %82 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %80, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_14, i64 0, i64 0), i32 %78, i8* %81, i64* nonnull %sv_3) %83 = call i32 @strlen(i8* nonnull %59) %84 = urem i64 %72, 65536 %85 = add nuw nsw i64 %84, 24 %.mask = urem i32 %83, 65536 %86 = zext i32 %.mask to i64 %87 = icmp ult i64 %85, %86 br i1 %87, label LBL_14, label LBL_12 LBL_12: %sext7 = mul i32 %83, 65536 store i32 %sext7, i32* %storemerge.in10.reg2mem br label LBL_13 LBL_13: %storemerge.in10.reload = load i32, i32* %storemerge.in10.reg2mem %88 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %89 = call i32 @fputc(i32 32, %_IO_FILE* %88) %sext5 = add i32 %storemerge.in10.reload, 65536 %90 = udiv i32 %sext5, 65536 %91 = zext i32 %90 to i64 %92 = icmp ult i64 %85, %91 store i32 %sext5, i32* %storemerge.in10.reg2mem br i1 %92, label LBL_14, label LBL_13 LBL_14: %93 = call i64 @FUNC(i64 %61, i64 %12) %94 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %95 = inttoptr i64 %93 to i8* %96 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %94, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0), i8* %95, i64* nonnull %sv_2, i32 %8) %97 = load i8, i8* %sv_1, align 1 %98 = icmp eq i8 %97, 0 %or.cond = or i1 %62, %98 br i1 %or.cond, label LBL_16, label LBL_15 LBL_15: %99 = call i64 @FUNC(i64* nonnull %63) %100 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %101 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %100, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_16, i64 0, i64 0), i8* nonnull %sv_1) br label LBL_16 LBL_16: br i1 %65, label LBL_18, label LBL_17 LBL_17: %102 = call i64 @FUNC(i64 %66, i64 %12) %103 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %104 = inttoptr i64 %102 to i8* %105 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %103, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_17, i64 0, i64 0), i8* %104) br label LBL_18 LBL_18: %106 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %107 = call i32 @fputc(i32 10, %_IO_FILE* %106) br i1 %68, label LBL_20, label LBL_19 LBL_19: %108 = call i64 @FUNC(i64* nonnull %sv_3) br label LBL_20 LBL_20: br i1 %70, label LBL_21, label LBL_22 LBL_21: %109 = load i32, i32* %sv_4, align 4 %110 = icmp ugt i32 %109, %78 store i32 %78, i32* %sv_0.011.reg2mem store i32 %78, i32* %.lcssa.in.reg2mem br i1 %110, label LBL_9, label LBL_23 LBL_22: %111 = call i64 @FUNC(i64 %3) %112 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %113 = inttoptr i64 %111 to i8* %114 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %112, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_18, i64 0, i64 0), i8* %113) %115 = call i64 @FUNC(i64 %2) %116 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8 %117 = inttoptr i64 %115 to i8* %118 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %116, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_19, i64 0, i64 0), i8* %117) br label LBL_21 LBL_23: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %12, { 1, 2, 3, 4, 0 } uselistorder i32* %sv_4, { 3, 2, 1, 4, 0 } uselistorder i64* %sv_3, { 1, 0, 2, 6, 3, 4, 5 } uselistorder i8* %sv_1, { 0, 2, 1 } uselistorder i32* %sv_0.011.reg2mem, { 1, 0 } uselistorder i32* %storemerge.in10.reg2mem, { 1, 0, 2 } uselistorder i32* %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i32 65536, { 1, 3, 0, 2 } uselistorder i64 (i64, i64)* @uint32tochar4, { 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64*)* @purge_extraneous_characters, { 1, 0 } uselistorder i64 (i64)* @APar_extract_UTC, { 3, 2, 1, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 9, 8, 7, 6, 0, 5, 4, 3, 2, 1 } uselistorder %_IO_FILE** @gv_3, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64)* @APar_FindAtom, { 1, 0 } uselistorder i32 0, { 0, 3, 1, 4, 2 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
ff_xface_generate_face_15034
ff_xface_generate_face
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv25.reg2mem = alloca i64 %indvars.iv27.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_0.18.reg2mem = alloca i32 %indvars.iv18.reg2mem = alloca i64 %sv_0.210.reg2mem = alloca i32 %storemerge211.reg2mem = alloca i32 %indvars.iv22.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv27.reg2mem store i64 1, i64* %indvars.iv25.reg2mem store i64 -2, i64* %indvars.iv.reg2mem br label LBL_30 LBL_1: %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %2 = add nuw nsw i64 %indvars.iv22.reload, 2 %3 = trunc i64 %indvars.iv22.reload to i32 %4 = add i32 %3, -2 store i32 %4, i32* %storemerge211.reg2mem store i32 0, i32* %sv_0.210.reg2mem br label LBL_2 LBL_2: %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem %storemerge211.reload = load i32, i32* %storemerge211.reg2mem %5 = sext i32 %storemerge211.reload to i64 %6 = icmp sle i64 %indvars.iv22.reload, %5 %storemerge2.off = add i32 %storemerge211.reload, -1 %7 = icmp ugt i32 %storemerge2.off, 9 store i64 %indvars.iv.reload, i64* %indvars.iv18.reg2mem store i32 %sv_0.210.reload, i32* %sv_0.18.reg2mem br label LBL_3 LBL_3: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %8 = icmp eq i64 %indvars.iv18.reload, %indvars.iv27.reload %or.cond = icmp eq i1 %6, %8 %9 = icmp slt i64 %indvars.iv18.reload, 1 %or.cond6 = or i1 %7, %9 %or.cond30 = or i1 %or.cond, %or.cond6 store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem br i1 %or.cond30, label LBL_5, label LBL_4 LBL_4: %10 = mul i32 %sv_0.18.reload, 2 %11 = trunc i64 %indvars.iv18.reload to i32 %12 = mul i32 %11, 10 %13 = add i32 %12, %storemerge211.reload %14 = sext i32 %13 to i64 %15 = add i64 %14, %0 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i32 %19 = add i32 %10, %18 store i32 %19, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next19 = add nsw i64 %indvars.iv18.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next19, %indvars.iv25.reload store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem br i1 %exitcond, label LBL_6, label LBL_3 LBL_6: %20 = add i32 %storemerge211.reload, 1 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %2, %21 store i32 %20, i32* %storemerge211.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.210.reg2mem br i1 %22, label LBL_7, label LBL_2 LBL_7: %23 = add nuw nsw i64 %indvars.iv22.reload, %176 switch i32 %3, label LBL_23 [ i32 9, label LBL_18 i32 1, label LBL_8 i32 2, label LBL_13 ] LBL_8: %24 = add i64 %23, %1 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = ashr i32 %sv_0.0.reload, 3 %28 = sext i32 %27 to i64 br i1 %177, label LBL_10, label LBL_9 LBL_9: br i1 %178, label LBL_11, label LBL_12 LBL_10: %29 = add i64 %28, ptrtoint (i8** @gv_0 to i64) %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = urem i32 %sv_0.0.reload, 8 %33 = xor i32 %32, 7 %34 = icmp eq i32 %33, 0 %35 = zext i8 %31 to i32 %36 = lshr i32 %35, %33 %37 = trunc i32 %36 to i8 %rdx.0 = select i1 %34, i8 %31, i8 %37 %38 = urem i8 %rdx.0, 2 %39 = xor i8 %38, %26 store i8 %39, i8* %25, align 1 store i64 %24, i64* %rax.0.reg2mem br label LBL_28 LBL_11: %40 = add i64 %28, ptrtoint (i8** @gv_1 to i64) %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = urem i32 %sv_0.0.reload, 8 %44 = xor i32 %43, 7 %45 = icmp eq i32 %44, 0 %46 = zext i8 %42 to i32 %47 = lshr i32 %46, %44 %48 = trunc i32 %47 to i8 %rdx.1 = select i1 %45, i8 %42, i8 %48 %49 = urem i8 %rdx.1, 2 %50 = xor i8 %49, %26 store i8 %50, i8* %25, align 1 store i64 %24, i64* %rax.0.reg2mem br label LBL_28 LBL_12: %51 = add i64 %28, ptrtoint (i8** @gv_2 to i64) %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = urem i32 %sv_0.0.reload, 8 %55 = xor i32 %54, 7 %56 = icmp eq i32 %55, 0 %57 = zext i8 %53 to i32 %58 = lshr i32 %57, %55 %59 = trunc i32 %58 to i8 %rdx.2 = select i1 %56, i8 %53, i8 %59 %60 = urem i8 %rdx.2, 2 %61 = xor i8 %60, %26 store i8 %61, i8* %25, align 1 store i64 %24, i64* %rax.0.reg2mem br label LBL_28 LBL_13: %62 = add i64 %23, %1 %63 = inttoptr i64 %62 to i8* %64 = load i8, i8* %63, align 1 %65 = ashr i32 %sv_0.0.reload, 3 %66 = sext i32 %65 to i64 br i1 %177, label LBL_15, label LBL_14 LBL_14: br i1 %178, label LBL_16, label LBL_17 LBL_15: %67 = add i64 %66, ptrtoint (i8** @gv_3 to i64) %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = urem i32 %sv_0.0.reload, 8 %71 = xor i32 %70, 7 %72 = icmp eq i32 %71, 0 %73 = zext i8 %69 to i32 %74 = lshr i32 %73, %71 %75 = trunc i32 %74 to i8 %rdx.3 = select i1 %72, i8 %69, i8 %75 %76 = urem i8 %rdx.3, 2 %77 = xor i8 %76, %64 store i8 %77, i8* %63, align 1 store i64 %62, i64* %rax.0.reg2mem br label LBL_28 LBL_16: %78 = add i64 %66, ptrtoint (i8** @gv_4 to i64) %79 = inttoptr i64 %78 to i8* %80 = load i8, i8* %79, align 1 %81 = urem i32 %sv_0.0.reload, 8 %82 = xor i32 %81, 7 %83 = icmp eq i32 %82, 0 %84 = zext i8 %80 to i32 %85 = lshr i32 %84, %82 %86 = trunc i32 %85 to i8 %rdx.4 = select i1 %83, i8 %80, i8 %86 %87 = urem i8 %rdx.4, 2 %88 = xor i8 %87, %64 store i8 %88, i8* %63, align 1 store i64 %62, i64* %rax.0.reg2mem br label LBL_28 LBL_17: %89 = add i64 %66, ptrtoint (i8** @gv_5 to i64) %90 = inttoptr i64 %89 to i8* %91 = load i8, i8* %90, align 1 %92 = urem i32 %sv_0.0.reload, 8 %93 = xor i32 %92, 7 %94 = icmp eq i32 %93, 0 %95 = zext i8 %91 to i32 %96 = lshr i32 %95, %93 %97 = trunc i32 %96 to i8 %rdx.5 = select i1 %94, i8 %91, i8 %97 %98 = urem i8 %rdx.5, 2 %99 = xor i8 %98, %64 store i8 %99, i8* %63, align 1 store i64 %62, i64* %rax.0.reg2mem br label LBL_28 LBL_18: %100 = add i64 %23, %1 %101 = inttoptr i64 %100 to i8* %102 = load i8, i8* %101, align 1 %103 = ashr i32 %sv_0.0.reload, 3 %104 = sext i32 %103 to i64 br i1 %177, label LBL_20, label LBL_19 LBL_19: br i1 %178, label LBL_21, label LBL_22 LBL_20: %105 = add i64 %104, ptrtoint (i8** @gv_6 to i64) %106 = inttoptr i64 %105 to i8* %107 = load i8, i8* %106, align 1 %108 = urem i32 %sv_0.0.reload, 8 %109 = xor i32 %108, 7 %110 = icmp eq i32 %109, 0 %111 = zext i8 %107 to i32 %112 = lshr i32 %111, %109 %113 = trunc i32 %112 to i8 %rdx.6 = select i1 %110, i8 %107, i8 %113 %114 = urem i8 %rdx.6, 2 %115 = xor i8 %114, %102 store i8 %115, i8* %101, align 1 store i64 %100, i64* %rax.0.reg2mem br label LBL_28 LBL_21: %116 = add i64 %104, ptrtoint (i8** @gv_7 to i64) %117 = inttoptr i64 %116 to i8* %118 = load i8, i8* %117, align 1 %119 = urem i32 %sv_0.0.reload, 8 %120 = xor i32 %119, 7 %121 = icmp eq i32 %120, 0 %122 = zext i8 %118 to i32 %123 = lshr i32 %122, %120 %124 = trunc i32 %123 to i8 %rdx.7 = select i1 %121, i8 %118, i8 %124 %125 = urem i8 %rdx.7, 2 %126 = xor i8 %125, %102 store i8 %126, i8* %101, align 1 store i64 %100, i64* %rax.0.reg2mem br label LBL_28 LBL_22: %127 = add i64 %104, ptrtoint (i8** @gv_8 to i64) %128 = inttoptr i64 %127 to i8* %129 = load i8, i8* %128, align 1 %130 = urem i32 %sv_0.0.reload, 8 %131 = xor i32 %130, 7 %132 = icmp eq i32 %131, 0 %133 = zext i8 %129 to i32 %134 = lshr i32 %133, %131 %135 = trunc i32 %134 to i8 %rdx.8 = select i1 %132, i8 %129, i8 %135 %136 = urem i8 %rdx.8, 2 %137 = xor i8 %136, %102 store i8 %137, i8* %101, align 1 store i64 %100, i64* %rax.0.reg2mem br label LBL_28 LBL_23: %138 = add i64 %23, %1 %139 = inttoptr i64 %138 to i8* %140 = load i8, i8* %139, align 1 %141 = ashr i32 %sv_0.0.reload, 3 %142 = sext i32 %141 to i64 br i1 %177, label LBL_25, label LBL_24 LBL_24: br i1 %178, label LBL_26, label LBL_27 LBL_25: %143 = add i64 %142, ptrtoint (i8** @gv_9 to i64) %144 = inttoptr i64 %143 to i8* %145 = load i8, i8* %144, align 1 %146 = urem i32 %sv_0.0.reload, 8 %147 = xor i32 %146, 7 %148 = icmp eq i32 %147, 0 %149 = zext i8 %145 to i32 %150 = lshr i32 %149, %147 %151 = trunc i32 %150 to i8 %rdx.12 = select i1 %148, i8 %145, i8 %151 %152 = urem i8 %rdx.12, 2 %153 = xor i8 %152, %140 store i8 %153, i8* %139, align 1 store i64 %138, i64* %rax.0.reg2mem br label LBL_28 LBL_26: %154 = add i64 %142, ptrtoint (i8** @gv_10 to i64) %155 = inttoptr i64 %154 to i8* %156 = load i8, i8* %155, align 1 %157 = urem i32 %sv_0.0.reload, 8 %158 = xor i32 %157, 7 %159 = icmp eq i32 %158, 0 %160 = zext i8 %156 to i32 %161 = lshr i32 %160, %158 %162 = trunc i32 %161 to i8 %rdx.13 = select i1 %159, i8 %156, i8 %162 %163 = urem i8 %rdx.13, 2 %164 = xor i8 %163, %140 store i8 %164, i8* %139, align 1 store i64 %138, i64* %rax.0.reg2mem br label LBL_28 LBL_27: %165 = add i64 %142, ptrtoint (i8** @gv_11 to i64) %166 = inttoptr i64 %165 to i8* %167 = load i8, i8* %166, align 1 %168 = urem i32 %sv_0.0.reload, 8 %169 = xor i32 %168, 7 %170 = icmp eq i32 %169, 0 %171 = zext i8 %167 to i32 %172 = lshr i32 %171, %169 %173 = trunc i32 %172 to i8 %rdx.14 = select i1 %170, i8 %167, i8 %173 %174 = urem i8 %rdx.14, 2 %175 = xor i8 %174, %140 store i8 %175, i8* %139, align 1 store i64 %138, i64* %rax.0.reg2mem br label LBL_28 LBL_28: %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond24 = icmp eq i64 %indvars.iv.next23, 10 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem br i1 %exitcond24, label LBL_29, label LBL_1 LBL_29: %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1 %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1 %exitcond29 = icmp eq i64 %indvars.iv.next28, 10 store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond29, label LBL_31, label LBL_30 LBL_30: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem %176 = mul nuw nsw i64 %indvars.iv27.reload, 10 %177 = icmp eq i64 %indvars.iv27.reload, 1 %178 = icmp eq i64 %indvars.iv27.reload, 2 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_1 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %178, { 2, 3, 1, 0 } uselistorder i1 %177, { 2, 3, 1, 0 } uselistorder i64 %indvars.iv27.reload, { 2, 1, 3, 4, 0 } uselistorder i64 %indvars.iv25.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %142, { 1, 0, 2 } uselistorder i8 %140, { 2, 1, 0 } uselistorder i8* %139, { 1, 0, 2, 3 } uselistorder i64 %104, { 1, 0, 2 } uselistorder i8 %102, { 2, 1, 0 } uselistorder i8* %101, { 1, 0, 2, 3 } uselistorder i64 %66, { 1, 0, 2 } uselistorder i8 %64, { 2, 1, 0 } uselistorder i8* %63, { 1, 0, 2, 3 } uselistorder i64 %28, { 1, 0, 2 } uselistorder i8 %26, { 2, 1, 0 } uselistorder i8* %25, { 1, 0, 2, 3 } uselistorder i64 %23, { 0, 1, 3, 2 } uselistorder i32 %sv_0.0.reload, { 15, 14, 13, 3, 12, 11, 10, 2, 9, 8, 7, 0, 6, 5, 4, 1, 16, 17 } uselistorder i64 %indvars.iv18.reload, { 0, 2, 3, 1 } uselistorder i32 %sv_0.18.reload, { 1, 0 } uselistorder i32 %storemerge211.reload, { 1, 3, 0, 2 } uselistorder i64 %indvars.iv22.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %1, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv22.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge211.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.210.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 11, 12, 7, 8, 9, 1, 2, 3, 4, 5, 6 } uselistorder i64 10, { 1, 0, 2 } uselistorder i32 7, { 11, 10, 9, 2, 1, 0, 8, 7, 6, 5, 4, 3 } uselistorder i32 2, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 } uselistorder i64 1, { 2, 4, 7, 3, 5, 6, 1, 0 } uselistorder label LBL_28, { 2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
RegisterMSLImage_9102
RegisterMSLImage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64* %2, align 8 %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* store i64 ptrtoint ([26 x i8]* @gv_2 to i64), i64* %4, align 8 %5 = add i64 %0, 32 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %6, align 8 %7 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder [4 x i8]* @gv_0, { 1, 0 } }
0
CompRealVul
batadv_bla_add_claim_7600
batadv_bla_add_claim
define i64 @FUNC(i64* %arg1, i32* %arg2, i16 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i1 %.pre-phi.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i32* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %5 = call i64 @FUNC(i64* nonnull %sv_2, i64 %3) %6 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 40, i64 0) %10 = icmp eq i64 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_10, label LBL_2 LBL_2: %11 = inttoptr i64 %9 to i64* %12 = call i64 @FUNC(i64* %11, i64 %3) %13 = add i64 %9, 28 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %9, 6 %16 = inttoptr i64 %15 to i16* store i16 %arg3, i16* %16, align 2 %17 = load i64, i64* @gv_0, align 8 %18 = add i64 %9, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = call i64 @FUNC(i64 %2) %21 = add i64 %9, 16 %22 = inttoptr i64 %21 to i64* store i64 %2, i64* %22, align 8 %23 = add i64 %9, 24 %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i64 %23) %26 = zext i16 %arg3 to i64 %27 = call i64 @FUNC(i64 %26) %28 = urem i64 %27, 65536 %29 = call i64 @FUNC(i64 1, i64 %4, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %28, i64 %1) %30 = add i64 %9, 32 %31 = call i64 @FUNC(i64 1, i64 4199090, i64 4199101, i64 %9, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false %35 = zext i1 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 store i64* %22, i64** %.pre-phi3.reg2mem store i64 %13, i64* %.pre-phi.reg2mem store i1 true, i1* %sv_1.0.reg2mem store i64 %9, i64* %sv_0.0.reg2mem br i1 %38, label LBL_6, label LBL_3 LBL_3: %39 = call i64 @FUNC(i64 %9) store i64 %39, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %40 = load i64, i64* @gv_0, align 8 %41 = add i64 %6, 8 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 %43 = add i64 %6, 16 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, %2 store i64 %6, i64* %sv_0.1.reg2mem br i1 %46, label LBL_9, label LBL_5 LBL_5: %47 = zext i16 %arg3 to i64 %48 = call i64 @FUNC(i64 %47) %49 = urem i64 %48, 65536 %50 = call i64 @FUNC(i64 1, i64 %4, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %49, i64 %1) %.pre = add i64 %6, 28 store i64* %44, i64** %.pre-phi3.reg2mem store i64 %.pre, i64* %.pre-phi.reg2mem store i1 false, i1* %sv_1.0.reg2mem store i64 %6, 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 i1, i1* %sv_1.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem %51 = call i64 @FUNC(i64 %.pre-phi.reload) %52 = load i64, i64* %.pre-phi3.reload, align 8 %53 = call i64 @FUNC(i64 %2) store i64 %2, i64* %.pre-phi3.reload, align 8 %54 = call i64 @FUNC(i64 %.pre-phi.reload) br i1 %sv_1.0.reload, label LBL_8, label LBL_7 LBL_7: %55 = add i64 %52, 16 %56 = call i64 @FUNC(i64 %55) %57 = call i64 @FUNC(i64 0, i64 %sv_0.0.reload, i64 6) %58 = add i64 %52, 4 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = trunc i64 %57 to i32 %62 = urem i32 %61, 65536 %63 = xor i32 %62, %60 store i32 %63, i32* %59, align 4 %64 = call i64 @FUNC(i64 %55) br label LBL_8 LBL_8: %65 = call i64 @FUNC(i64 %52) %66 = add i64 %2, 16 %67 = call i64 @FUNC(i64 %66) %68 = call i64 @FUNC(i64 0, i64 %sv_0.0.reload, i64 6) %69 = add i64 %2, 4 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = trunc i64 %68 to i32 %73 = urem i32 %72, 65536 %74 = xor i32 %73, %71 store i32 %74, i32* %70, align 4 %75 = call i64 @FUNC(i64 %66) %76 = load i64, i64* @gv_0, align 8 %77 = add i64 %2, 8 %78 = inttoptr i64 %77 to i64* store i64 %76, i64* %78, align 8 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %79 = call i64 @FUNC(i64 %sv_0.1.reload) store i64 %79, 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 %52, { 2, 1, 0 } uselistorder i64 %9, { 1, 0, 3, 2, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 %6, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 2, 0, 1, 3 } uselistorder i64 %2, { 3, 5, 4, 7, 6, 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i1* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64)* @crc16, { 1, 0 } uselistorder i64 (i64)* @spin_unlock_bh, { 2, 1, 0 } uselistorder i64 (i64)* @spin_lock_bh, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @batadv_dbg, { 1, 0 } uselistorder i64 (i64)* @BATADV_PRINT_VID, { 1, 0 } uselistorder i64 (i64)* @kref_get, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @ether_addr_copy, { 1, 0 } uselistorder i16 %arg3, { 2, 0, 1 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } }
1
CompRealVul
napi_reuse_skb_4181
napi_reuse_skb
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = call i64 @FUNC(i64 %0) %6 = sub i64 2, %5 %7 = and i64 %6, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = bitcast i64* %arg2 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* store i64 %0, i64* %11, align 8 %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* store i64 %0, i64* %13, align 8 ret i64 %1 uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 3, 0, 2, 4, 5, 6 } }
0
CompRealVul
stellaris_enet_init_16193
stellaris_enet_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = call i64 @FUNC(i64 0, i64 4198880, i64 4198887, i64 %2) %4 = trunc i64 %3 to i32 %5 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 %5, i64 4096, i32 %4) %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i64* store i64 %arg3, i64* %8, align 8 %9 = inttoptr i64 %2 to i64* %10 = call i64* @memcpy(i64* %9, i64* %arg1, i32 6) %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %0, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = zext i32 %13 to i64 %22 = call i64 @FUNC(i64 %21, i64 %20, i64 %17, i64 4198894, i64 4198901, i64 %2) %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = call i64 @FUNC(i64 %22, i64 %2) br label LBL_2 LBL_2: %26 = call i64 @FUNC(i64 %2) %27 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 4294967295, i64 1, i64 4198858, i64 4198869, i64 %2) ret i64 %27 uselistorder i64 %2, { 4, 3, 0, 2, 1, 5, 6, 7 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 24, { 1, 0 } }
1
CompRealVul
iax2_provision_7004
iax2_provision
define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i32, align 4 %6 = bitcast i32* %sv_4 to i64* %7 = call i64* @memset(i64* nonnull %6, i32 0, i32 4) %8 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %arg4, i64 %arg5, i64 %2) %9 = trunc i64 %arg5 to i32 %10 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_3, i64 %arg4, i32 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = and i64 %arg5, 4294967295 %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %arg4, i64 %13, i64 %arg5, i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %15 = icmp eq i64* %arg1, null br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = ptrtoint i64* %sv_2 to i64 store i64 %16, i64* %sv_1, align 8 store i32 %arg2, i32* %sv_4, align 4 br label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 %3, i64 0, i64* nonnull %sv_1, i64* nonnull %6) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_9 LBL_5: %20 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 260) %21 = load i32, i32* @gv_2, align 4 %22 = call i64 @FUNC(i64* nonnull %sv_0, i32 %21, i64* nonnull %sv_2, i32 %5) %23 = load i32, i32* %sv_4, align 4 %24 = load i32, i32* @gv_3, align 4 %25 = zext i32 %23 to i64 %26 = zext i32 %24 to i64 %27 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %sv_1, i64 %26, i64 %25, i64 0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_6, label LBL_9 LBL_6: %sext = mul i64 %27, 4294967296 %31 = ashr exact i64 %sext, 29 %32 = add i64 %31, ptrtoint (i64* @gv_4 to i64) %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = ashr exact i64 %sext, 32 %37 = load i64, i64* @gv_5, align 8 %38 = load i64, i64* @gv_6, align 8 %39 = inttoptr i64 %34 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %40, i64 %38, i64 15000, i64 %37, i64 %36) store i64 %41, i64* %39, align 8 %42 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4 %43 = load i64, i64* %33, align 8 %44 = zext i32 %42 to i64 %45 = call i64 @FUNC(i64 %43, i64 %44) %46 = load i32, i32* @gv_7, align 4 %47 = load i32, i32* @gv_8, align 4 %48 = load i64, i64* %33, align 8 %49 = zext i32 %4 to i64 %50 = call i64 @FUNC(i64 %48, i32 %47, i32 %46, i64 0, i64* nonnull %sv_0, i64 %49, i64 -1) br label LBL_8 LBL_8: %51 = add i64 %31, ptrtoint (i64* @gv_9 to i64) %52 = call i64 @FUNC(i64 %51) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i64* %sv_2, { 0, 2, 1 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32* %1, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ast_debug, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 %arg5, { 0, 2, 1, 3 } uselistorder label LBL_9, { 2, 0, 1, 3 } }
0
CompRealVul
htab_save_complete_16009
htab_save_complete
define i64 @FUNC(i64* %arg1, i32* %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 %.cast = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, 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 ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %.cast) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = and i64 %11, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_12 LBL_5: %16 = call i64 @FUNC(i64 %2, i32 %12, i64 4096, i64 4294967295) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = and i64 %16, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %21 = call i64 @FUNC(i64 %.cast) br label LBL_11 LBL_8: %22 = add i64 %.cast, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = call i64 @FUNC(i64 %2, i64 %.cast, i64 4294967295) br label LBL_10 LBL_10: %27 = call i64 @FUNC(i64 %2, i64 %.cast, i64 4294967295) br label LBL_11 LBL_11: %28 = call i64 @FUNC(i64 %2, i64 0) %29 = call i64 @FUNC(i64 %2, i64 0) %30 = call i64 @FUNC(i64 %2, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.cast, { 0, 2, 1, 3, 4 } uselistorder i64 %2, { 4, 3, 2, 5, 1, 0, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @qemu_put_be16, { 1, 0 } uselistorder i64 4294967295, { 2, 3, 0, 4, 1 } uselistorder i64 (i64, i64)* @qemu_put_be32, { 1, 0 } }
1
CompRealVul
__set_phys_to_machine_13276
__set_phys_to_machine
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %0 = load i64, i64* @gv_0, align 8 %1 = icmp ugt i64 %0, %arg1 %2 = icmp eq i1 %1, false %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = icmp eq i64 %arg2, 4294967295 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_12, label LBL_2 LBL_2: %5 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0)) br label LBL_3 LBL_3: br label LBL_3 LBL_4: %7 = load i64, i64* @gv_4, align 8 %8 = add i64 %7, %arg1 %9 = call i64 @FUNC(i64 %8, i64 %arg2) %10 = urem i64 %9, 256 %11 = icmp eq i64 %10, 1 store i64 1, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_12 LBL_5: %12 = load i64, i64* @gv_4, align 8 %13 = add i64 %12, %arg1 %14 = bitcast i32* %sv_0 to i64* %15 = call i64 @FUNC(i64 %13, i64* nonnull %14) %16 = icmp ne i64 %15, 0 %17 = load i32, i32* %sv_0, align 4 %18 = icmp eq i32 %17, 0 %or.cond = icmp eq i1 %16, %18 br i1 %or.cond, label LBL_8, label LBL_6 LBL_6: %19 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0)) br label LBL_7 LBL_7: br label LBL_7 LBL_8: %21 = inttoptr i64 %15 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* @gv_6, align 8 %25 = call i64 @FUNC(i64 %24) %26 = udiv i64 %25, 4096 %27 = icmp eq i64 %23, %26 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = icmp eq i64 %arg2, 4294967295 %30 = zext i1 %29 to i64 %31 = or i64 %30, 4294967040 store i64 %31, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %32 = load i64, i64* %21, align 8 %33 = call i64 @FUNC(i64 %32) %34 = load i64, i64* @gv_7, align 8 %35 = call i64 @FUNC(i64 %34) %36 = udiv i64 %35, 4096 %37 = icmp eq i64 %33, %36 %38 = icmp eq i1 %37, false store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_12, label LBL_11 LBL_11: %39 = call i64 @FUNC(i64 %arg1) %40 = icmp eq i64 %39, %arg2 %41 = zext i1 %40 to i64 %42 = and i64 %39, -256 %43 = or i64 %42, %41 store i64 %43, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %39, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64 (i64)* @__pa, { 1, 0 } uselistorder i64 (i64)* @pte_pfn, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_1, { 1, 0 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg2, { 0, 1, 3, 2 } uselistorder i64 %arg1, { 2, 0, 1, 3 } uselistorder label LBL_12, { 3, 0, 4, 1, 2 } }
1
CompRealVul
free_l3_table_12734
free_l3_table
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %sv_1.14.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i64 %12 = sub i64 %1, %11 %13 = call i64 @FUNC(i64 %5) %14 = call i64 @FUNC(i64 %13) %15 = and i64 %12, 4294967295 store i64 %15, i64* %indvars.iv.reg2mem store i32 %8, i32* %sv_2.0.reg2mem br label LBL_1 LBL_1: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 8 %17 = add i64 %16, %14 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %5, i32 %sv_2.0.reload) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 br i1 %22, label LBL_7, label LBL_2 LBL_2: %23 = icmp eq i32 %21, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = load i64, i64* %18, align 8 %26 = call i64 @FUNC(i64 %25, i64 %3) store i64 %26, i64* %18, align 8 br label LBL_4 LBL_4: %27 = icmp eq i64 %indvars.iv.reload, 0 store i32 %21, i32* %sv_0.0.ph.reg2mem br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = call i64 @FUNC() %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i32 -4, i32* %sv_0.0.ph.reg2mem br i1 %30, label LBL_1, label LBL_6 LBL_6: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %31 = trunc i64 %indvars.iv.reload to i32 %32 = add i32 %31, -1 %33 = call i64 @FUNC(i64 %14) store i32 %32, i32* %sv_1.14.reg2mem store i32 %sv_0.0.ph.reload, i32* %sv_0.03.reg2mem br label LBL_9 LBL_7: %34 = trunc i64 %indvars.iv.reload to i32 %35 = call i64 @FUNC(i64 %14) %36 = icmp eq i32 %21, -5 %37 = icmp eq i1 %36, false store i32 %34, i32* %sv_1.14.reg2mem store i32 %21, i32* %sv_0.03.reg2mem br i1 %37, label LBL_9, label LBL_8 LBL_8: store i32 %34, i32* %arg1, align 4 store i32 1, i32* %7, align 4 store i32 %21, i32* %sv_0.1.reg2mem br label LBL_11 LBL_9: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem %38 = icmp eq i32 %sv_0.03.reload, -4 %39 = icmp ult i32 %sv_1.14.reload, 511 %or.cond = icmp eq i1 %39, %38 store i32 %sv_0.03.reload, i32* %sv_0.1.reg2mem br i1 %or.cond, label LBL_10, label LBL_11 LBL_10: %40 = add i32 %sv_1.14.reload, 1 store i32 %40, i32* %arg1, align 4 store i32 0, i32* %7, align 4 store i32 -5, i32* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %41 = icmp eq i32 %sv_0.1.reload, 0 %42 = icmp slt i32 %sv_0.1.reload, 0 %43 = icmp eq i1 %42, false %44 = icmp eq i1 %41, false %45 = icmp eq i1 %43, %44 %46 = zext i32 %sv_0.1.reload to i64 %47 = select i1 %45, i64 0, i64 %46 ret i64 %47 uselistorder i32 %sv_0.1.reload, { 0, 2, 1 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %21, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %18, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 2, 3, 0, 1, 4 } uselistorder i64 %14, { 2, 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @unmap_domain_page, { 1, 0 } uselistorder i32 -4, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
install_relocation_handler_6471
install_relocation_handler
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 1024, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } }
0
CompRealVul
dash_free_14078
dash_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %.reg2mem23 = alloca i64 %.reg2mem21 = alloca i64 %.pr12.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem19 = alloca i64 %.reg2mem17 = alloca i64 %.reg2mem15 = alloca i32 %.reg2mem = alloca i64 %0 = add i64 %arg1, 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %4) %11 = load i32, i32* %7, align 4 %12 = icmp ugt i32 %11, 1 store i64 1, i64* %.reg2mem store i32 1, i32* %.reg2mem15 br i1 %12, label LBL_3, label LBL_4 LBL_3: %.reload16 = load i32, i32* %.reg2mem15 %.reload = load i64, i64* %.reg2mem %.pre = load i64, i64* %3, align 8 %13 = mul i64 %.reload, 8 %14 = add i64 %13, %.pre %15 = call i64 @FUNC(i64 %14) %16 = add i32 %.reload16, 1 %17 = load i32, i32* %7, align 4 %18 = zext i32 %17 to i64 %19 = sext i32 %16 to i64 %20 = icmp slt i64 %19, %18 store i64 %19, i64* %.reg2mem store i32 %16, i32* %.reg2mem15 br i1 %20, label LBL_3, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %2) store i32 0, i32* %7, align 4 br label LBL_5 LBL_5: %22 = add i64 %2, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_19, label LBL_6 LBL_6: %26 = add i64 %arg1, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 store i64 %24, i64* %.reg2mem17 store i64 0, i64* %.reg2mem19 store i32 0, i32* %storemerge6.reg2mem br i1 %29, label LBL_18, label LBL_7 LBL_7: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload20 = load i64, i64* %.reg2mem19 %.reload18 = load i64, i64* %.reg2mem17 %30 = mul nsw i64 %.reload20, 40 %31 = add i64 %30, %.reload18 %32 = add i64 %31, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 br i1 %35, label LBL_12, label LBL_8 LBL_8: %36 = add i64 %31, 24 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 store i64 %34, i64* %.pr12.reg2mem br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = call i64 @FUNC(i64 %34) %.pr.pre = load i64, i64* %33, align 8 %41 = icmp eq i64 %.pr.pre, 0 store i64 %.pr.pre, i64* %.pr12.reg2mem br i1 %41, label LBL_12, label LBL_10 LBL_10: %.pr12.reload = load i64, i64* %.pr12.reg2mem %42 = inttoptr i64 %.pr12.reload to i64* %43 = load i64, i64* %42, align 8 %44 = icmp eq i64 %43, 0 br i1 %44, label LBL_12, label LBL_11 LBL_11: %45 = call i64 @FUNC(i64 %.pr12.reload) br label LBL_12 LBL_12: %46 = add i64 %31, 32 %47 = call i64 @FUNC(i64 %arg1, i64 %46) %48 = load i64, i64* %33, align 8 %49 = icmp eq i64 %48, 0 br i1 %49, label LBL_14, label LBL_13 LBL_13: %50 = call i64 @FUNC(i64 %48) br label LBL_14 LBL_14: %51 = inttoptr i64 %31 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, 0 %54 = add i64 %31, 8 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 store i64 %56, i64* %.reg2mem21 store i64 0, i64* %.reg2mem23 store i32 0, i32* %storemerge25.reg2mem store i64 %56, i64* %.lcssa.reg2mem br i1 %53, label LBL_16, label LBL_15 LBL_15: %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %.reload24 = load i64, i64* %.reg2mem23 %.reload22 = load i64, i64* %.reg2mem21 %57 = mul i64 %.reload24, 8 %58 = add i64 %57, %.reload22 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60) %62 = add i32 %storemerge25.reload, 1 %63 = load i32, i32* %51, align 4 %64 = zext i32 %63 to i64 %65 = sext i32 %62 to i64 %66 = icmp slt i64 %65, %64 %67 = load i64, i64* %55, align 8 store i64 %67, i64* %.reg2mem21 store i64 %65, i64* %.reg2mem23 store i32 %62, i32* %storemerge25.reg2mem store i64 %67, i64* %.lcssa.reg2mem br i1 %66, label LBL_15, label LBL_16 LBL_16: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %68 = call i64 @FUNC(i64 %.lcssa.reload) %69 = add i32 %storemerge6.reload, 1 %70 = load i32, i32* %27, align 4 %71 = zext i32 %70 to i64 %72 = sext i32 %69 to i64 %73 = icmp slt i64 %72, %71 br i1 %73, label LBL_16.LBL_7_crit_edge, label LBL_18 LBL_17: %.pre10 = load i64, i64* %23, align 8 store i64 %.pre10, i64* %.reg2mem17 store i64 %72, i64* %.reg2mem19 store i32 %69, i32* %storemerge6.reg2mem br label LBL_7 LBL_18: %74 = call i64 @FUNC(i64 %22) store i64 %74, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %55, { 1, 0 } uselistorder i32* %51, { 1, 0 } uselistorder i64 %34, { 1, 0, 2 } uselistorder i64* %33, { 1, 0, 2 } uselistorder i64 %31, { 0, 3, 1, 2, 4 } uselistorder i32* %27, { 1, 0 } uselistorder i32* %7, { 1, 3, 0, 2 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem15, { 2, 0, 1 } uselistorder i64* %.reg2mem17, { 2, 0, 1 } uselistorder i64* %.reg2mem19, { 2, 0, 1 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i64* %.pr12.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem21, { 2, 0, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @av_freep, { 1, 0 } uselistorder i64 (i64)* @av_dict_free, { 1, 0 } uselistorder i32 1, { 16, 15, 17, 11, 14, 13, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 2, 3, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
r_anal_bb_free_11141
r_anal_bb_free
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_12, label LBL_1 LBL_1: %1 = add i64 %arg1, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %arg1, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* call void @free(i64* %8) %9 = add i64 %arg1, 40 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) store i64 0, i64* %10, align 8 %13 = add i64 %arg1, 48 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* call void @free(i64* %16) %17 = add i64 %arg1, 56 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) store i64 0, i64* %18, align 8 store i64 0, i64* %6, align 8 store i64 0, i64* %2, align 8 %21 = add i64 %arg1, 64 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* call void @free(i64* %24) %25 = add i64 %arg1, 72 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* call void @free(i64* %28) %29 = add i64 %arg1, 80 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i64* call void @free(i64* %32) %33 = icmp eq i64 %31, 0 br i1 %33, label LBL_7, label LBL_2 LBL_2: %34 = add i64 %31, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, %arg1 %38 = icmp eq i1 %37, false br i1 %38, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %35, align 8 br label LBL_4 LBL_4: %39 = add i64 %31, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, %arg1 %43 = icmp eq i1 %42, false br i1 %43, label LBL_6, label LBL_5 LBL_5: store i64 0, i64* %40, align 8 br label LBL_6 LBL_6: %44 = inttoptr i64 %arg1 to i64* store i64 0, i64* %44, align 8 br label LBL_7 LBL_7: %45 = add i64 %arg1, 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 br i1 %48, label LBL_9, label LBL_8 LBL_8: %49 = inttoptr i64 %47 to i64* store i64 0, i64* %49, align 8 store i64 0, i64* %46, align 8 br label LBL_9 LBL_9: %50 = add i64 %arg1, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = icmp eq i64 %52, 0 br i1 %53, label LBL_11, label LBL_10 LBL_10: %54 = inttoptr i64 %52 to i64* store i64 0, i64* %54, align 8 store i64 0, i64* %51, align 8 br label LBL_11 LBL_11: %55 = inttoptr i64 %arg1 to i64* call void @free(i64* %55) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder void (i64*)* @free, { 6, 7, 8, 3, 2, 1, 0, 5, 4 } uselistorder i64 %arg1, { 3, 4, 5, 2, 0, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14 } uselistorder label LBL_12, { 1, 0 } }
1
CompRealVul
swp_handler_11173
swp_handler
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %4 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 0, i64 1, i64 0, i64 %3, i64 %4) %6 = load i64, i64* @gv_0, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = load i64, i64* @gv_1, align 8 %10 = icmp eq i64 %8, %9 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %6, 8 %12 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i64 %11, i64 %8, i64 %3, i64 %4, i64 %1) %13 = load i64, i64* @gv_0, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* @gv_1, align 8 br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = udiv i64 %16, 16384 %18 = and i64 %17, 60 %19 = add i64 %3, 4 %20 = add i64 %18, %19 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = udiv i64 %16, 1024 %24 = and i64 %23, 60 %25 = add i64 %24, %19 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 store i32 %27, i32* %sv_0, align 4 %28 = udiv i64 %16, 256 %29 = trunc i64 %28 to i32 %30 = urem i32 %29, 16 %31 = udiv i64 %16, 4096 %32 = urem i64 %31, 16 %33 = udiv i64 %16, 65536 %34 = urem i64 %33, 16 %35 = zext i32 %27 to i64 %36 = zext i32 %30 to i64 %37 = zext i32 %22 to i64 %38 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_3, i64 0, i64 0), i64 %34, i64 %37, i64 %36, i64 %32, i64 %35) %39 = and i32 %22, -4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 0, i64 %40, i64 4) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_4, label LBL_3 LBL_3: %45 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_4, i64 0, i64 0), i64 %37, i64 4, i64 %36, i64 %32, i64 %35) br label LBL_7 LBL_4: %46 = call i64 @FUNC(i64 %37, i32* nonnull %sv_0, i32 0) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_6, label LBL_5 LBL_5: %50 = trunc i64 %2 to i32 %51 = add i32 %50, 4 %52 = bitcast i64* %arg1 to i32* store i32 %51, i32* %52, align 4 %53 = load i32, i32* %sv_0, align 4 %54 = mul i32 %30, 4 %55 = zext i32 %54 to i64 %56 = add i64 %19, %55 %57 = inttoptr i64 %56 to i32* store i32 %53, i32* %57, align 4 br label LBL_8 LBL_6: %58 = icmp eq i32 %47, -1 %59 = icmp eq i1 %58, false br i1 %59, label LBL_8, label LBL_7 LBL_7: %60 = call i64 @FUNC(i64 %3, i64 %37) br label LBL_8 LBL_8: ret i64 0 uselistorder i64 %32, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %3, { 1, 2, 0, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
CompRealVul
base64_encode_xmlrpc_12290
base64_encode_xmlrpc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.210.reg2mem = alloca i64 %sv_1.212.reg2mem = alloca i32 %indvars.iv16.reg2mem = alloca i64 %sv_2.024.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i64 %sv_1.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge313.reg2mem = alloca i32 %indvars.iv18.reg2mem = alloca i64 %storemerge414.reg2mem = alloca i32 %indvars.iv21.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %indvars.iv21.reg2mem store i32 0, i32* %storemerge414.reg2mem br label LBL_1 LBL_1: %storemerge414.reload = load i32, i32* %storemerge414.reg2mem %indvars.iv21.reload = load i64, i64* %indvars.iv21.reg2mem %2 = trunc i32 %storemerge414.reload to i8 %3 = add i8 %2, 65 %4 = add i64 %indvars.iv21.reload, ptrtoint (i8** @gv_0 to i64) %5 = inttoptr i64 %4 to i8* store i8 %3, i8* %5, align 1 %6 = add i8 %2, 97 %7 = add nuw nsw i64 %indvars.iv21.reload, 4210810 %8 = inttoptr i64 %7 to i8* store i8 %6, i8* %8, align 1 %indvars.iv.next22 = add nuw nsw i64 %indvars.iv21.reload, 1 %9 = add nuw nsw i32 %storemerge414.reload, 1 %exitcond23 = icmp eq i64 %indvars.iv.next22, 26 store i64 %indvars.iv.next22, i64* %indvars.iv21.reg2mem store i32 %9, i32* %storemerge414.reg2mem store i64 0, i64* %indvars.iv18.reg2mem store i32 0, i32* %storemerge313.reg2mem br i1 %exitcond23, label LBL_2, label LBL_1 LBL_2: %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %10 = trunc i32 %storemerge313.reload to i8 %11 = add i8 %10, 48 %12 = add nuw nsw i64 %indvars.iv18.reload, 4210836 %13 = inttoptr i64 %12 to i8* store i8 %11, i8* %13, align 1 %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1 %14 = add nuw nsw i32 %storemerge313.reload, 1 %exitcond20 = icmp eq i64 %indvars.iv.next19, 10 store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem store i32 %14, i32* %storemerge313.reg2mem br i1 %exitcond20, label LBL_3, label LBL_2 LBL_3: %15 = ptrtoint i64* %sv_3 to i64 store i8 43, i8* inttoptr (i64 4210846 to i8*), align 2 store i8 47, i8* inttoptr (i64 4210847 to i8*), align 1 %16 = trunc i64 %arg3 to i32 %17 = add i64 %15, -27 %18 = add i64 %15, -31 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %sv_1.212.reg2mem store i64 %arg2, i64* %sv_0.210.reg2mem br label LBL_13 LBL_4: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %sv_1.07.reload = load i32, i32* %sv_1.07.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = add i64 %sv_0.06.reload, 1 %22 = add i32 %sv_1.07.reload, 1 %23 = icmp sgt i32 %22, %16 br i1 %23, label LBL_7, label LBL_5 LBL_5: %24 = icmp eq i32 %22, 0 %25 = icmp slt i32 %22, 0 %26 = icmp eq i1 %25, false %27 = icmp eq i1 %24, false %28 = icmp eq i1 %26, %27 br i1 %28, label LBL_6, label LBL_7 LBL_6: %29 = inttoptr i64 %sv_0.06.reload to i8* %30 = load i8, i8* %29, align 1 %31 = add nuw nsw i64 %17, %indvars.iv.reload %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %22, i32* %sv_1.07.reg2mem store i64 %21, i64* %sv_0.06.reg2mem store i32 0, i32* %sv_2.024.reg2mem br i1 %33, label LBL_4, label LBL_9 LBL_7: %34 = trunc i64 %indvars.iv.reload to i32 %35 = icmp slt i32 %34, 1 store i32 1, i32* %sv_2.024.reg2mem br i1 %35, label LBL_14, label LBL_9 LBL_8: %36 = icmp eq i32 %sv_2.024.reload, 0 store i32 %22, i32* %sv_1.212.reg2mem store i64 %21, i64* %sv_0.210.reg2mem br i1 %36, label LBL_13, label LBL_14 LBL_9: %sv_2.024.reload = load i32, i32* %sv_2.024.reg2mem store i64 0, i64* %indvars.iv16.reg2mem br label LBL_10 LBL_10: %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem %37 = add nuw nsw i64 %18, %indvars.iv16.reload %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = sext i8 %39 to i64 %41 = and i64 %40, 4294967295 %42 = call i64 @FUNC(i64 %0, i64 %41) %43 = load i32, i32* %20, align 4 %44 = srem i32 %43, 72 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_12, label LBL_11 LBL_11: %47 = call i64 @FUNC(i64 %0, i64 10) br label LBL_12 LBL_12: %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next17, 4 store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem br i1 %exitcond, label LBL_8, label LBL_10 LBL_13: %sv_0.210.reload = load i64, i64* %sv_0.210.reg2mem %sv_1.212.reload = load i32, i32* %sv_1.212.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_1.212.reload, i32* %sv_1.07.reg2mem store i64 %sv_0.210.reload, i64* %sv_0.06.reg2mem br label LBL_4 LBL_14: %48 = call i64 @FUNC(i64 %0, i64 10) ret i64 %48 uselistorder i32 %22, { 0, 1, 3, 2, 4 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %indvars.iv21.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv21.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge414.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv18.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge313.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.07.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.06.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.024.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @buffer_add, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 10, { 1, 2, 0 } uselistorder i64 1, { 2, 3, 4, 1, 0 } uselistorder i32 0, { 4, 7, 1, 5, 6, 0, 2, 3, 8 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
mxs_dcp_start_dma_18416
mxs_dcp_start_dma
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* @gv_0, align 8 %5 = trunc i64 %3 to i32 %6 = add i64 %4, 24 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8, i64 0, i64 0) %13 = add i64 %4, 16 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = inttoptr i64 %4 to i64* %18 = load i64, i64* %17, align 8 %19 = mul i32 %5, 16 %20 = add i32 %19, 256 %21 = sext i32 %20 to i64 %22 = add i64 %18, %21 %23 = call i64 @FUNC(i64 4294967295, i64 %22) %24 = load i64, i64* %17, align 8 %25 = add i32 %19, 260 %26 = sext i32 %25 to i64 %27 = add i64 %24, %26 %28 = and i64 %12, 4294967295 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = load i64, i64* %17, align 8 %31 = add i32 %19, 264 %32 = sext i32 %31 to i64 %33 = add i64 %30, %32 %34 = call i64 @FUNC(i64 1, i64 %33) %35 = call i64 @FUNC(i64 1000) %36 = load i64, i64* %14, align 8 %37 = call i64 @FUNC(i64 %36, i64 %35) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %41 = load i64, i64* %17, align 8 br i1 %40, label LBL_2, label LBL_1 LBL_1: %42 = add i64 %41, 512 %43 = call i64 @FUNC(i64 %42) %44 = and i64 %43, 4294967295 %45 = load i64, i64* %10, align 8 %46 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i32 %5, i64 %44, i64 %2, i64 %1) store i64 4294967186, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %47 = add i64 %41, %21 %48 = call i64 @FUNC(i64 %47) %49 = urem i64 %48, 256 %50 = icmp eq i64 %49, 0 %51 = load i64, i64* %10, align 8 br i1 %50, label LBL_4, label LBL_3 LBL_3: %52 = and i64 %48, 4294967295 %53 = call i64 @FUNC(i64 %51, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i32 %5, i64 %52, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %54 = call i64 @FUNC(i64 %51, i64 %12, i64 0, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %51, { 1, 0 } uselistorder i64 %48, { 1, 0 } uselistorder i32 %19, { 2, 1, 0 } uselistorder i64* %10, { 1, 0, 2 } uselistorder i32 %5, { 1, 2, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @dev_err, { 1, 0 } uselistorder i64 (i64)* @readl, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @writel, { 2, 1, 0 } uselistorder i64 0, { 0, 8, 7, 3, 4, 2, 5, 6, 10, 9, 1, 11, 12, 13 } }
1
CompRealVul
WebObjects_translate_5965
WebObjects_translate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i8* %10 = call i32 @strlen(i8* %9) %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = load i64, i64* %7, align 8 %15 = inttoptr i64 %14 to i8* %16 = inttoptr i64 %13 to i8* %17 = call i32 @strncmp(i8* %15, i8* %16, i32 %10) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 404, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_1 LBL_1: %20 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_3, label LBL_2 LBL_2: %23 = call i32 @puts(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_0, i64 0, i64 0)) store i64 404, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %24 = add i64 %0, 24 %25 = inttoptr i64 %24 to i64* store i64 ptrtoint ([11 x i8]* @gv_1 to i64), i64* %25, align 8 store i64 200, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 404, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0