dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
mxf_compute_sample_count_3322
mxf_compute_sample_count
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge13.reg2mem = alloca i32 %.reg2mem23 = alloca i64 %.reg2mem21 = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.off011.lcssa.reg2mem = alloca i64 %sv_1.0.off014.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i32 %.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 29 %5 = add i64 %4, %1 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = ashr i32 %17, 31 %19 = and i64 %16, 4294967295 %20 = zext i32 %18 to i64 %21 = mul i64 %20, 4294967296 %22 = or i64 %21, %19 %23 = zext i32 %3 to i64 %24 = sdiv i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 48000 %27 = icmp eq i1 %26, false %.pre = mul i64 %12, 4294967296 %.pre18 = ashr exact i64 %.pre, 32 br i1 %27, label LBL_3, label LBL_1 LBL_1: %28 = call i64 @FUNC(i64 %15, i64 %.pre18) %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_2, label LBL_3 LBL_2: %31 = inttoptr i64 %28 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i32 %32, i32* %.reg2mem store i32 0, i32* %sv_0.015.reg2mem store i32 0, i32* %sv_1.0.off014.reg2mem store i64 0, i64* %sv_1.0.off011.lcssa.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %34, label LBL_5, label LBL_7 LBL_3: %35 = trunc i64 %12 to i32 %36 = mul i32 %17, %35 %37 = mul i32 %3, %2 %38 = ashr i32 %36, 31 %39 = zext i32 %36 to i64 %40 = zext i32 %38 to i64 %41 = mul i64 %40, 4294967296 %42 = or i64 %41, %39 %43 = zext i32 %37 to i64 %44 = srem i64 %42, %43 %45 = trunc i64 %44 to i32 %sext10 = mul i64 %16, 4294967296 %46 = ashr exact i64 %sext10, 32 %47 = call i64 @FUNC(i64 %46, i64 %.pre18) %48 = add i64 %1, 8 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = zext i32 %50 to i64 %52 = or i64 %51, 4294967296 %53 = call i64 @FUNC(i64 %52, i64 %47) %54 = call i128 @FUNC(i64 %53) %55 = load i128, i128* @gv_0, align 8 call void @FUNC(i128 %54, i128 %55) %56 = trunc i128 %55 to i64 %57 = call i128 @FUNC(i64 %56) %58 = call i128 @FUNC(i128 %54, i128 %57) %59 = call i64 @FUNC(i128 %58) %60 = xor i64 %59, -9223372036854775808 store i64 %60, i64* %arg3, align 8 %61 = icmp eq i32 %45, 0 br i1 %61, label LBL_9, label LBL_4 LBL_4: %62 = and i64 %arg2, 4294967295 %63 = and i64 %12, 4294967295 %64 = zext i32 %2 to i64 %65 = call i64 @FUNC(i64 %63, i64 1, i8* getelementptr inbounds ([109 x i8], [109 x i8]* @gv_1, i64 0, i64 0), i64 %62, i64 %63, i64 %64) br label LBL_9 LBL_5: %sv_1.0.off014.reload = load i32, i32* %sv_1.0.off014.reg2mem %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %.reload = load i32, i32* %.reg2mem %66 = add i32 %sv_1.0.off014.reload, %.reload %67 = add i32 %sv_0.015.reload, 1 %68 = sext i32 %67 to i64 %69 = mul i64 %68, 4 %70 = add i64 %69, %28 %71 = inttoptr i64 %70 to i32* %72 = load i32, i32* %71, align 4 %73 = icmp eq i32 %72, 0 %74 = icmp eq i1 %73, false store i32 %72, i32* %.reg2mem store i32 %67, i32* %sv_0.015.reg2mem store i32 %66, i32* %sv_1.0.off014.reg2mem br i1 %74, label LBL_5, label LBL_6 LBL_6: %extract.t12.le = sext i32 %66 to i64 %phitmp = zext i32 %67 to i64 store i64 %extract.t12.le, i64* %sv_1.0.off011.lcssa.reg2mem 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 %sv_1.0.off011.lcssa.reload = load i64, i64* %sv_1.0.off011.lcssa.reg2mem %75 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload) %76 = add i64 %1, 8 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = ashr i32 %78, 31 %80 = zext i32 %78 to i64 %81 = zext i32 %79 to i64 %82 = mul i64 %81, 4294967296 %83 = or i64 %82, %80 %84 = sdiv i64 %83, %sv_0.0.lcssa.reload %sext6 = mul i64 %84, 4294967296 %85 = ashr exact i64 %sext6, 32 %86 = mul nsw i64 %85, %sv_1.0.off011.lcssa.reload store i64 %86, i64* %arg3, align 8 %87 = load i32, i32* %77, align 4 %88 = ashr i32 %87, 31 %89 = zext i32 %87 to i64 %90 = zext i32 %88 to i64 %91 = mul i64 %90, 4294967296 %92 = or i64 %91, %89 %93 = srem i64 %92, %sv_0.0.lcssa.reload %94 = and i64 %93, 4294967295 %95 = icmp eq i64 %94, 0 store i64 0, i64* %.reg2mem21 store i64 %94, i64* %.reg2mem23 store i32 0, i32* %storemerge13.reg2mem br i1 %95, label LBL_9, label LBL_8 LBL_8: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload24 = load i64, i64* %.reg2mem23 %.reload22 = load i64, i64* %.reg2mem21 %96 = mul i64 %.reload22, 4 %97 = add i64 %96, %28 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = sext i32 %99 to i64 %101 = add nsw i64 %.reload24, %100 store i64 %101, i64* %arg3, align 8 %102 = add i32 %storemerge13.reload, 1 %103 = load i32, i32* %77, align 4 %104 = ashr i32 %103, 31 %105 = zext i32 %103 to i64 %106 = zext i32 %104 to i64 %107 = mul i64 %106, 4294967296 %108 = or i64 %107, %105 %109 = srem i64 %108, %sv_0.0.lcssa.reload %110 = and i64 %109, 4294967295 %111 = sext i32 %102 to i64 %112 = icmp sgt i64 %110, %111 store i64 %111, i64* %.reg2mem21 store i64 %110, i64* %.reg2mem23 store i32 %102, i32* %storemerge13.reg2mem br i1 %112, label LBL_8, label LBL_9 LBL_9: ret i64 0 uselistorder i32* %77, { 1, 0, 2 } uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0, 2, 3 } uselistorder i32 %67, { 1, 0, 2 } uselistorder i32 %66, { 1, 0 } uselistorder i64 %63, { 1, 0 } uselistorder i64 %12, { 1, 2, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.off014.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.off011.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem21, { 2, 0, 1 } uselistorder i64* %.reg2mem23, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i32* %0, { 1, 0 } uselistorder i64 (i64, i64)* @av_mul_q, { 1, 0 } uselistorder i32 0, { 0, 4, 5, 1, 2, 3 } uselistorder i64 32, { 2, 1, 0, 3, 4 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 4294967295, { 3, 0, 2, 1, 4 } uselistorder i32 31, { 1, 0, 2, 3, 4 } uselistorder i64 (i64)* @av_inv_q, { 1, 0 } uselistorder i64 4294967296, { 0, 1, 2, 3, 11, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_9, { 0, 1, 3, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
my_load_path_4395
my_load_path
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i64 %arg3, 0 %storemerge1 = select i1 %3, i64 ptrtoint (i64* @gv_1 to i64), i64 %arg3 %4 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge1) %5 = trunc i64 %1 to i8 %6 = icmp eq i8 %5, 47 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %arg2, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 47 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %arg2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg2, i64 256) br label LBL_11 LBL_4: %16 = icmp eq i8 %5, 46 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = add i64 %arg2, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 47 %22 = icmp eq i1 %21, false store i32 2, i32* %.reg2mem br i1 %22, label LBL_6, label LBL_7 LBL_6: %23 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %3, false %or.cond = icmp eq i1 %26, %25 store i32 0, i32* %.reg2mem br i1 %or.cond, label LBL_10, label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %27 = inttoptr i64 %arg2 to i8* %28 = call i32 @strlen(i8* %27) %29 = or i32 %.reload, 256 %30 = sub i32 %29, %28 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 %31, i64 0) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_9, label LBL_8 LBL_8: %36 = zext i32 %.reload to i64 %37 = add i64 %36, %arg2 %38 = bitcast i64* %sv_0 to i8* %39 = inttoptr i64 %37 to i8* %40 = call i8* @strncat(i8* nonnull %38, i8* %39, i32 255) br label LBL_11 LBL_9: %41 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg2, i64 256) br label LBL_11 LBL_10: %42 = call i64 @FUNC(i64* nonnull %sv_0, i64 255, i64 %arg3, i64 %arg2, i64 0) br label LBL_11 LBL_11: %43 = ptrtoint i64* %arg1 to i64 %44 = ptrtoint i64* %sv_0 to i64 %45 = call i64 @FUNC(i64* %arg1, i64 %44, i64 256) %46 = add i64 %43, 255 %47 = inttoptr i64 %46 to i8* store i8 0, i8* %47, align 1 %48 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 %43) %49 = call i64 @FUNC(i64 %43) ret i64 %49 uselistorder i64 %43, { 1, 0, 2 } uselistorder i64* %sv_0, { 5, 0, 1, 2, 3, 4 } uselistorder i64 255, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @strnmov, { 2, 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64 (i8*, i64)* @DBUG_PRINT, { 1, 0 } uselistorder i64 %arg2, { 4, 6, 0, 7, 5, 3, 2, 8, 1 } }
0
BinRealVul
X509_CRL_match_10254
X509_CRL_match
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = urem i64 %1, 2 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = urem i64 %2, 2 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = add i64 %9, 4 %11 = ptrtoint i32* %arg1 to i64 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i64* %14 = inttoptr i64 %10 to i64* %15 = call i32 @memcmp(i64* %13, i64* %14, i32 20) %16 = icmp slt i32 %15, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = icmp eq i32 %15, 0 %18 = icmp eq i1 %17, false %19 = zext i1 %18 to i64 store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4294967294, { 1, 0 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
0
BinRealVul
rxrpc_exit_net_17465
rxrpc_exit_net
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i8* store i8 0, i8* %2, align 1 %3 = add i64 %1, 4 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %1, 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %1) %8 = call i64 @FUNC(i64 %1) %9 = call i64 @FUNC(i64 %1) %10 = add i64 %1, 12 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) ret i64 %14 }
1
BinRealVul
prefetch_table_11912
prefetch_table
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 store i64 0, i64* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i64, i64* %storemerge.reg2mem %0 = icmp ult i64 %storemerge.reload, %arg2 %1 = add i64 %storemerge.reload, 256 store i64 %1, i64* %storemerge.reg2mem br i1 %0, label LBL_1, label LBL_2 LBL_2: %2 = add i64 %arg1, -1 %3 = add i64 %2, %arg2 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = zext i8 %5 to i64 ret i64 %6 uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } }
1
BinRealVul
pvscsi_ring_pop_cmp_descr_9203
pvscsi_ring_pop_cmp_descr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = add i32 %3, 1 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i32 %8, %3 %10 = udiv i32 %9, 128 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = mul i32 %10, 8 %15 = zext i32 %14 to i64 %16 = add i64 %13, %15 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 ret i64 %18 }
0
BinRealVul
lag_decode_prob_3056
lag_decode_prob
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %sv_0.17.reg2mem = alloca i32 %sv_2.08.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_2.08.reg2mem store i32 0, i32* %sv_0.17.reg2mem store i32 0, i32* %sv_1.06.reg2mem br label LBL_1 LBL_1: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %1 = icmp ne i32 %sv_2.08.reload, 0 %2 = icmp eq i32 %sv_1.06.reload, 0 %3 = icmp eq i1 %2, false %or.cond = icmp eq i1 %1, %3 store i32 %sv_0.17.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %or.cond5 = or i1 %3, %6 store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem br i1 %or.cond5, label LBL_4, label LBL_3 LBL_3: %7 = add nuw nsw i64 %indvars.iv.reload, ptrtoint (i8** @gv_0 to i64) %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 %11 = add i32 %sv_0.17.reload, %10 store i32 %11, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %12 = icmp ult i64 %indvars.iv.next, 7 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_1.06.reload, i32* %sv_2.08.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem store i32 %5, i32* %sv_1.06.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %12, label LBL_1, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %13 = add i32 %sv_0.1.lcssa.reload, -1 %14 = icmp ult i32 %13, 32 br i1 %14, label LBL_7, label LBL_6 LBL_6: %15 = bitcast i64* %arg2 to i32* store i32 0, i32* %15, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %16 = icmp eq i32 %13, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_8 LBL_8: %18 = bitcast i64* %arg2 to i32* store i32 0, i32* %18, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %19 = zext i32 %13 to i64 %20 = call i64 @FUNC(i64 %0, i64 %19) %21 = trunc i64 %20 to i32 %22 = urem i32 %13, 32 %23 = shl i32 1, %22 %24 = or i32 %23, %21 %25 = add i32 %24, -1 %26 = bitcast i64* %arg2 to i32* store i32 %25, i32* %26, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %13, { 0, 2, 3, 1 } uselistorder i1 %3, { 1, 0 } uselistorder i32 %sv_0.17.reload, { 2, 1, 0 } uselistorder i32 %sv_1.06.reload, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.08.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 3, 8, 0, 1, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vnc_desktop_resize_3288
vnc_desktop_resize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %4, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %10, %17 %19 = icmp eq i1 %18, false %.pre = add i64 %4, 8 %.pre1 = inttoptr i64 %.pre to i32* br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = load i32, i32* %.pre1, align 4 %21 = load i64, i64* %12, align 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %20, %25 store i64 %24, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = load i64, i64* %12, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = trunc i64 %30 to i32 store i32 %31, i32* %9, align 4 %32 = load i64, i64* %12, align 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 store i32 %36, i32* %.pre1, align 4 %37 = call i64 @FUNC(i64 %4) %38 = call i64 @FUNC(i64 %4, i64 0) %39 = call i64 @FUNC(i64 %4, i64 0) %40 = call i64 @FUNC(i64 %4, i64 1) %41 = load i32, i32* %.pre1, align 4 %42 = load i32, i32* %9, align 4 %43 = zext i32 %41 to i64 %44 = zext i32 %42 to i64 %45 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 %44, i64 %43, i64 0) %46 = call i64 @FUNC(i64 %4) %47 = call i64 @FUNC(i64 %4) store i64 %47, 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* %12, { 1, 2, 0, 3 } uselistorder i64 %4, { 2, 1, 3, 7, 6, 5, 4, 0, 9, 8, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 } uselistorder i64 (i64)* @pixman_image_get_height, { 1, 0 } uselistorder i64 (i64)* @pixman_image_get_width, { 1, 0 } uselistorder label LBL_5, { 3, 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
rdp_decrypt_3629
rdp_decrypt
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %2 = alloca i16 %3 = alloca i8 %rax.0.reg2mem = alloca i64 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %7 = load i32, i32* %1 %8 = load i8, i8* %3 %9 = load i16, i16* %2 %sext = mul i64 %arg3, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = trunc i64 %4 to i32 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false %14 = call i64 @FUNC(i64 %5) %15 = trunc i64 %14 to i32 br i1 %13, label LBL_7, label LBL_1 LBL_1: %16 = icmp sgt i32 %15, 11 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_2, label LBL_14 LBL_2: %17 = zext i16 %9 to i64 %18 = call i64 @FUNC(i64 %5, i64 %17) %19 = zext i8 %8 to i64 %20 = call i64 @FUNC(i64 %5, i64 %19) %21 = urem i32 %7, 256 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %5, i64 %22) %24 = call i64 @FUNC(i64 %5, i64 8) %25 = trunc i64 %10 to i32 %26 = add i32 %25, -12 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 8, i64 %27, i64 %6) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %33 = sub i32 %26, %21 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34, i64 %34, i64 %22, i64 %6) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_6, label LBL_5 LBL_5: %39 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %40 = add i64 %5, 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = sub i32 %42, %21 store i32 %43, i32* %41, align 4 store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %44 = icmp sgt i32 %15, 7 store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_8, label LBL_14 LBL_8: %45 = ptrtoint i64* %sv_1 to i64 %46 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i64 8) %47 = trunc i64 %10 to i32 %48 = add i32 %47, -8 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %45, i64 %49, i64 %6) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_9, label LBL_14 LBL_9: %54 = urem i64 %arg4, 2 %55 = icmp eq i64 %54, 0 br i1 %55, label LBL_11, label LBL_10 LBL_10: %56 = call i64 @FUNC(i64 %6, i64 %49, i32 %48, i64 0, i64* nonnull %sv_0) br label LBL_12 LBL_11: %57 = call i64 @FUNC(i64 %6, i64 %49, i32 %48, i64* nonnull %sv_0) br label LBL_12 LBL_12: %58 = call i32 @memcmp(i64* nonnull %sv_1, i64* nonnull %sv_0, i32 8) %59 = icmp eq i32 %58, 0 store i64 1, i64* %rax.0.reg2mem br i1 %59, label LBL_14, label LBL_13 LBL_13: %60 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %48, { 1, 0, 2 } uselistorder i64 %34, { 1, 0 } uselistorder i32 %21, { 2, 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %6, { 2, 3, 4, 0, 1 } uselistorder i64 %5, { 5, 0, 2, 1, 4, 3, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 8, 7, 6, 5 } uselistorder i32 (i8*)* @puts, { 2, 1, 0 } uselistorder i64 8, { 0, 3, 1, 2, 4 } uselistorder i64 (i64, i64)* @stream_read_BYTE, { 1, 0 } uselistorder label LBL_14, { 1, 0, 2, 3, 5, 6, 7, 4 } }
0
BinRealVul
ga_open_pidfile_5040
ga_open_pidfile
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %arg1, i64 65, i64 384) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 br i1 %6, label LBL_9, label LBL_1 LBL_1: %7 = call i32 @lockf(i32 %5, i32 2, i32 0) %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i32* @__errno_location() %10 = load i32, i32* %9, align 4 %11 = call i8* @strerror(i32 %10) %12 = ptrtoint i8* %11 to i64 %13 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 0, i64 %3, i64 %2, i64 %1) %14 = call i32 @close(i32 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %15 = call i32 @ftruncate(i32 %5, i32 0) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i32 @lseek(i32 %5, i32 0, i32 0) %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 %3, i64 %2, i64 %1) br label LBL_8 LBL_6: %21 = call i32 @getpid() %22 = zext i32 %21 to i64 %23 = bitcast i64* %sv_0 to i8* %24 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %23, i32 32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %22) %25 = call i32 @strlen(i8* nonnull %23) %26 = call i32 @write(i32 %5, i64* nonnull %sv_0, i32 %25) %27 = call i32 @strlen(i8* nonnull %23) %28 = icmp eq i32 %26, %27 store i64 1, i64* %rax.0.reg2mem br i1 %28, label LBL_10, label LBL_7 LBL_7: %29 = ptrtoint i64* %sv_0 to i64 %30 = sext i32 %25 to i64 %31 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %30, i64 %29, i64 %2, i64 %1) br label LBL_8 LBL_8: %32 = inttoptr i64 %arg1 to i8* %33 = call i32 @unlink(i8* %32) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %34 = call i32* @__errno_location() %35 = load i32, i32* %34, align 4 %36 = call i8* @strerror(i32 %35) %37 = ptrtoint i8* %36 to i64 %38 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %37, i64 384, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %25, { 1, 0 } uselistorder i64* %sv_0, { 2, 0, 1 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_critical, { 0, 3, 2, 1 } uselistorder i32 0, { 0, 1, 2, 5, 3, 6, 4 } uselistorder label LBL_10, { 0, 3, 1, 2 } }
0
BinRealVul
vhost_log_put_2232
vhost_log_put
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = icmp eq i64* %arg1, null br i1 %3, label LBL_10, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = add i32 %4, -1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = icmp eq i32 %4, 0 %8 = icmp eq i1 %7, false %.pre = add i64 %2, 8 %.pre3 = inttoptr i64 %.pre to i64* br i1 %8, label LBL_9, label LBL_2 LBL_2: %9 = load i64, i64* %.pre3, align 8 %10 = icmp eq i64 %9, 0 %11 = trunc i64 %arg2 to i8 %12 = icmp eq i8 %11, 0 %or.cond = or i1 %12, %10 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %13 = mul i64 %9, 4096 %14 = add i64 %13, 4294967295 %15 = and i64 %14, 4294967295 %16 = call i64 @FUNC(i64 %2, i64 0, i64 %15) br label LBL_4 LBL_4: %17 = load i64, i64* @gv_0, align 8 %18 = icmp eq i64 %17, %2 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = load i64, i64* %.pre3, align 8 %21 = call i64 @FUNC(i64 %20) store i64 0, i64* @gv_0, align 8 br label LBL_8 LBL_6: %22 = load i64, i64* @gv_1, align 8 %23 = icmp eq i64 %22, %2 %24 = icmp eq i1 %23, false br i1 %24, label LBL_8, label LBL_7 LBL_7: %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %2, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = load i64, i64* %.pre3, align 8 %32 = call i64 @FUNC(i64 %31, i64 %30, i32 %27) store i64 0, i64* @gv_1, align 8 br label LBL_8 LBL_8: %33 = call i64 @FUNC(i64 %2) br label LBL_9 LBL_9: store i64 0, i64* %arg1, align 8 store i64 0, i64* %.pre3, align 8 br label LBL_10 LBL_10: ret i64 %2 uselistorder i64* %.pre3, { 0, 2, 3, 1 } uselistorder i32 %4, { 1, 0 } uselistorder i64 %2, { 3, 4, 5, 6, 1, 2, 7, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
setup_index_17487
setup_index
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = load i64, i64* @gv_0, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %4 to i64* store i64 %7, i64* %8, align 8 %9 = load i64, i64* @gv_0, align 8 %10 = inttoptr i64 %9 to i64* store i64 %4, i64* %10, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
common_timer_set_13614
common_timer_set
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg4, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg4 to i64 %3 = call i64 @FUNC(i64 %0, i64 %2) br label LBL_2 LBL_2: %4 = add i64 %0, 24 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = trunc i64 %0 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_6 LBL_3: %9 = ptrtoint i64* %arg3 to i64 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %0, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i32 %14, 2 %16 = and i32 %15, -2 store i32 %16, i32* %13, align 4 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = icmp eq i32 %16, 0 %20 = icmp eq i1 %19, false %.pre = add i64 %9, 8 %.pre2 = inttoptr i64 %.pre to i64* br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = load i64, i64* %.pre2, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = add i64 %9, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %9, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %26, i64 %29) store i64 %30, i64* %5, align 8 %31 = load i64, i64* %.pre2, align 8 %32 = call i64 @FUNC(i64 %0, i64 %31) %33 = add i64 %0, 20 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i32 store i32 %37, i32* %11, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 2, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 6, 5, 7, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @timespec64_to_ktime, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4 } uselistorder i64* %arg4, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
ok_jpg_read_dht_12491
ok_jpg_read_dht
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %sv_0.18.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = bitcast i32* %sv_1 to i64* %5 = call i64 @FUNC(i64 %0, i64* nonnull %4, i64 2) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_16 LBL_1: %8 = call i64 @FUNC(i64* nonnull %4) %9 = trunc i64 %8 to i32 %10 = add i32 %9, -2 %11 = icmp sgt i32 %10, 16 store i32 %10, i32* %sv_0.1.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_14 LBL_2: %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i32 %10, i32* %sv_0.18.reg2mem br label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0, i64* nonnull %4, i64 17) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 1 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_16 LBL_4: %17 = load i32, i32* %sv_1, align 4 %18 = udiv i32 %17, 16 %19 = urem i32 %18, 16 %20 = urem i32 %17, 16 %21 = icmp ult i32 %19, 2 %22 = icmp ult i32 %20, 4 %or.cond = icmp eq i1 %22, %21 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem %24 = icmp eq i32 %19, 0 %25 = icmp eq i1 %24, false store i64 %0, i64* %storemerge.reg2mem br i1 %25, label LBL_7, label LBL_8 LBL_7: %26 = load i64, i64* %13, align 8 store i64 %26, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %27 = add i32 %sv_0.18.reload, -17 %storemerge.reload = load i64, i64* %storemerge.reg2mem %28 = mul i32 %20, 16 %29 = zext i32 %28 to i64 %30 = add i64 %storemerge.reload, %29 %31 = call i64 @FUNC(i64 %30, i64* nonnull %4) %32 = add i64 %30, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp eq i64 %34, 0 store i32 %27, i32* %sv_0.0.reg2mem br i1 %35, label LBL_13, label LBL_9 LBL_9: %36 = icmp ugt i64 %34, 256 %37 = sext i32 %27 to i64 %38 = icmp ugt i64 %34, %37 %or.cond4 = or i1 %36, %38 br i1 %or.cond4, label LBL_10, label LBL_11 LBL_10: %39 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_11: %40 = inttoptr i64 %30 to i64* %41 = load i64, i64* %40, align 8 %42 = inttoptr i64 %41 to i64* %43 = call i64 @FUNC(i64 %0, i64* %42, i64 %34) %44 = trunc i64 %43 to i8 %45 = icmp eq i8 %44, 1 store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_12, label LBL_16 LBL_12: %46 = load i64, i64* %33, align 8 %47 = trunc i64 %46 to i32 %48 = sub i32 %27, %47 store i32 %48, i32* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %49 = icmp eq i32 %19, 1 %50 = zext i1 %49 to i64 %51 = call i64 @FUNC(i64 %30, i64 %50) %52 = icmp sgt i32 %sv_0.0.reload, 16 store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %52, label LBL_3, label LBL_14 LBL_14: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %53 = icmp eq i32 %sv_0.1.lcssa.reload, 0 store i64 1, i64* %rax.0.reg2mem br i1 %53, label LBL_16, label LBL_15 LBL_15: %54 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 0, 2, 1 } uselistorder i64 %34, { 1, 2, 0, 3 } uselistorder i64 %30, { 1, 0, 2, 3 } uselistorder i32 %27, { 2, 1, 0 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i32 %17, { 1, 0 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %3, { 0, 2, 1 } uselistorder i64 %0, { 1, 0, 3, 2, 4, 5 } uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 1, 7, 6, 2, 4 } uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @ok_jpg_error, { 0, 2, 1 } uselistorder i32 16, { 5, 0, 2, 3, 1, 4 } uselistorder i64 (i64, i64*, i64)* @ok_read, { 2, 1, 0 } uselistorder label LBL_16, { 6, 2, 0, 4, 5, 1, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
get_cod_652
get_cod
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem5 = alloca i32 %storemerge2.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i32, align 4 %6 = add i64 %5, 16 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp sgt i32 %8, 4 store i64 4294967274, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_8 LBL_1: store i32 15, i32* %sv_0, align 4 %10 = call i64 @FUNC(i64 %6) %11 = call i64 @FUNC(i64 %6) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %5, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 16, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %18 = trunc i64 %3 to i32 %19 = call i64 @FUNC(i64 %6) %20 = call i64 @FUNC(i64 %6) %21 = call i64 @FUNC(i64 %5, i32* nonnull %sv_0) %22 = icmp eq i32 %18, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_8, label LBL_4 LBL_4: %23 = ptrtoint i64* %arg3 to i64 %24 = ptrtoint i64* %arg2 to i64 %25 = bitcast i64* %rdi to i32* %sext = mul i64 %10, 72057594037927936 %26 = ashr exact i64 %sext, 56 store i32 %18, i32* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %storemerge2.reg2mem br label LBL_5 LBL_5: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload4 = load i64, i64* %.reg2mem3 %.reload = load i32, i32* %.reg2mem %27 = add i64 %.reload4, %23 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = urem i8 %29, 2 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false store i32 %.reload, i32* %.reg2mem5 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = mul i64 %.reload4, 16 %34 = add i64 %33, %24 %35 = load i32, i32* %sv_0, align 4 %36 = sext i32 %35 to i64 %37 = inttoptr i64 %34 to i64* store i64 %36, i64* %37, align 8 %38 = add i64 %34, 8 %39 = inttoptr i64 %38 to i64* store i64 %26, i64* %39, align 8 %.pre = load i32, i32* %25, align 8 store i32 %.pre, i32* %.reg2mem5 br label LBL_7 LBL_7: %.reload6 = load i32, i32* %.reg2mem5 %40 = add i32 %storemerge2.reload, 1 %41 = zext i32 %.reload6 to i64 %42 = sext i32 %40 to i64 %43 = icmp slt i64 %42, %41 store i32 %.reload6, i32* %.reg2mem store i64 %42, i64* %.reg2mem3 store i32 %40, i32* %storemerge2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %43, label LBL_5, label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload6, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %.reload4, { 1, 0 } uselistorder i64 %6, { 1, 0, 3, 2, 4 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem3, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem5, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 0, { 0, 2, 1, 5, 6, 3, 4, 7 } uselistorder i64 (i64)* @bytestream2_get_byteu, { 2, 1, 0 } uselistorder label LBL_8, { 0, 1, 3, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
openscript_11715
openscript
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 i32, i32* @gv_0, align 4 %1 = icmp eq i32 %0, 9 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = load i64, i64* bitcast ([2 x i8*]* @gv_1 to i64*), align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %6 = load i32, i32* @gv_2, align 4 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_12, label LBL_3 LBL_3: %10 = sext i32 %0 to i64 %11 = mul i64 %10, 8 %12 = add i64 %11, ptrtoint (i64* @gv_3 to i64) %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_0, align 4 br label LBL_5 LBL_5: %16 = ptrtoint i64* %arg1 to i64 %17 = call i64 @FUNC(i64 %16, i64* nonnull @gv_5, i64 1024) %18 = load i32, i32* @gv_0, align 4 %19 = call i64 @FUNC(i64* nonnull @gv_5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0)) %20 = sext i32 %18 to i64 %21 = mul i64 %20, 8 %22 = add i64 %21, ptrtoint (i64* @gv_3 to i64) %23 = inttoptr i64 %22 to i64* store i64 %19, i64* %23, align 8 %24 = icmp eq i64 %19, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_8, label LBL_6 LBL_6: %26 = load [23 x i8]*, [23 x i8]** @gv_7, align 8 %27 = ptrtoint [23 x i8]* %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 %28, i64 %16) %30 = load i32, i32* @gv_0, align 4 %31 = icmp eq i32 %30, 0 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_12, label LBL_7 LBL_7: %32 = add i32 %30, -1 %33 = zext i32 %32 to i64 store i32 %32, i32* @gv_0, align 4 store i64 %33, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %34 = call i64 @FUNC() %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, -1 %37 = trunc i64 %arg2 to i32 %38 = icmp eq i32 %37, 0 %or.cond = or i1 %38, %36 store i64 %34, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_12, label LBL_9 LBL_9: %39 = load i32, i32* @gv_8, align 4 %40 = load i32, i32* @gv_9, align 4 %41 = load i32, i32* @gv_10, align 4 %42 = load i32, i32* @gv_11, align 4 %43 = load i32, i32* @gv_12, align 4 store i32 0, i32* @gv_8, align 4 store i32 0, i32* @gv_12, align 4 store i32 0, i32* @gv_9, align 4 store i32 0, i32* @gv_10, align 4 %44 = bitcast i32* %sv_0 to i64* %45 = call i64 @FUNC(i64* nonnull %44) store i32 0, i32* @gv_11, align 4 %46 = load i32, i32* @gv_0, align 4 store i32 %46, i32* %sv_0, align 4 br label LBL_10 LBL_10: %47 = call i64 @FUNC() %48 = call i64 @FUNC(i64* nonnull %44, i64 0) %49 = call i64 @FUNC() %50 = load i32, i32* %sv_0, align 4 %51 = sext i32 %50 to i64 %52 = mul i64 %51, 8 %53 = add i64 %52, ptrtoint (i64* @gv_3 to i64) %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = icmp eq i64 %55, 0 %57 = icmp eq i1 %56, false br i1 %57, label LBL_10, label LBL_11 LBL_11: store i32 %39, i32* @gv_8, align 4 store i32 %43, i32* @gv_12, align 4 store i32 %40, i32* @gv_9, align 4 store i32 %41, i32* @gv_10, align 4 %58 = zext i32 %42 to i64 store i32 %42, i32* @gv_11, align 4 store i64 %58, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %42, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 2, 3, 6, 1 } uselistorder i32* @gv_12, { 2, 1, 0 } uselistorder i32* @gv_11, { 2, 1, 0 } uselistorder i32* @gv_10, { 2, 1, 0 } uselistorder i32* @gv_9, { 2, 1, 0 } uselistorder i32* @gv_8, { 2, 1, 0 } uselistorder i64 (i64)* @_, { 1, 0 } uselistorder i32 0, { 13, 14, 15, 16, 17, 0, 18, 19, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i32* @gv_0, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_12, { 4, 0, 2, 1, 3, 5 } }
1
BinRealVul
copy_to_user_auth_11071
copy_to_user_auth
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 96 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = sdiv i32 %4, 16384 %6 = add nsw i32 %5, 100 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64 %0, i64 1, i64 %7) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967206, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %11 = call i64 @FUNC(i64 %8) %12 = inttoptr i64 %11 to i8* %13 = bitcast i64* %arg1 to i8* %14 = call i8* @strcpy(i8* %12, i8* %13) %15 = load i32, i32* %3, align 4 %16 = sdiv i32 %15, 16384 %17 = add i64 %1, 32 %18 = add i64 %11, 32 %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %17 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %16) %22 = load i32, i32* %3, align 4 %23 = add i64 %11, 96 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
native_set_ldt_11857
native_set_ldt
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @FUNC(i16 0) store i64 0, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC() %5 = mul nuw nsw i64 %3, 24 %6 = add nsw i64 %5, -1 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i64 2, i64 %6) %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %9, i64 2, i64* nonnull %sv_0, i64 2) call void @FUNC(i16 16) store i64 16, 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, 2, 1 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
scale_coefficients_2215
scale_coefficients
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %.reg2mem11 = alloca i32 %storemerge12.reg2mem = alloca i32 %.reg2mem9 = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32768 %2 = inttoptr i64 %1 to i32* %.pre = load i32, i32* %2, align 4 store i32 %.pre, i32* %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %3 = mul i64 %indvars.iv.reload, 2048 %4 = add i64 %3, %0 %5 = icmp eq i32 %.reload, 0 store i64 0, i64* %.reg2mem9 store i32 0, i32* %storemerge12.reg2mem store i32 0, i32* %.reg2mem11 store i64 0, i64* %.lcssa.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload10 = load i64, i64* %.reg2mem9 %6 = mul i64 %.reload10, 4 %7 = add i64 %4, %6 %8 = add i64 %7, 1024 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = inttoptr i64 %7 to i32* %12 = load i32, i32* %11, align 4 %13 = sext i32 %12 to i64 %14 = zext i32 %10 to i64 %15 = call i64 @FUNC(i64 %13, i64 256, i64 %14) %16 = add i32 %storemerge12.reload, 1 %17 = load i32, i32* %2, align 4 %18 = zext i32 %17 to i64 %19 = sext i32 %16 to i64 %20 = icmp slt i64 %19, %18 store i64 %19, i64* %.reg2mem9 store i32 %16, i32* %storemerge12.reg2mem store i32 %17, i32* %.reg2mem11 store i64 %18, i64* %.lcssa.reg2mem br i1 %20, label LBL_2, label LBL_3 LBL_3: %.reload12 = load i32, i32* %.reg2mem11 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i32 %.reload12, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %2, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem9, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
usage_18618
usage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([1377 x i8], [1377 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i32 8388608, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) call void @exit(i32 1) ret i64 ptrtoint (i32* @0 to i64) }
1
BinRealVul
clone_slice_13879
clone_slice
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 24 %3 = add i64 %1, 24 %4 = inttoptr i64 %3 to i64* %5 = inttoptr i64 %2 to i64* %6 = call i64* @memcpy(i64* %4, i64* %5, i32 40) store i64 %2, i64* %arg1, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %1, 8 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %0, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %1, 12 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %1, 16 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %0, 20 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %1, 20 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = add i64 %0, 64 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = add i64 %1, 64 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 %32 = add i64 %0, 68 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i64 %1, 68 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = add i64 %0, 72 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %1, 72 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add i64 %0, 76 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i64 %1, 76 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = add i64 %0, 80 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %1, 80 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = add i64 %0, 84 %53 = add i64 %1, 84 %54 = inttoptr i64 %53 to i64* %55 = inttoptr i64 %52 to i64* %56 = call i64* @memcpy(i64* %54, i64* %55, i32 40) %57 = add i64 %0, 124 %58 = add i64 %1, 124 %59 = inttoptr i64 %58 to i64* %60 = inttoptr i64 %57 to i64* %61 = call i64* @memcpy(i64* %59, i64* %60, i32 40) %62 = add i64 %0, 164 %63 = add i64 %1, 164 %64 = inttoptr i64 %63 to i64* %65 = inttoptr i64 %62 to i64* %66 = call i64* @memcpy(i64* %64, i64* %65, i32 40) %67 = add i64 %0, 204 %68 = add i64 %1, 204 %69 = inttoptr i64 %68 to i64* %70 = inttoptr i64 %67 to i64* %71 = call i64* @memcpy(i64* %69, i64* %70, i32 40) %72 = add i64 %0, 244 %73 = add i64 %1, 244 %74 = inttoptr i64 %73 to i64* %75 = inttoptr i64 %72 to i64* %76 = call i64* @memcpy(i64* %74, i64* %75, i32 40) %77 = add i64 %0, 284 %78 = add i64 %1, 284 %79 = inttoptr i64 %78 to i64* %80 = inttoptr i64 %77 to i64* %81 = call i64* @memcpy(i64* %79, i64* %80, i32 40) %82 = ptrtoint i64* %81 to i64 ret i64 %82 uselistorder i64 %0, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 15 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 4, 6, 5, 3, 2, 1, 0 } }
1
BinRealVul
udp_get_next_10694
udp_get_next
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge3.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %sv_0.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %1 to i32 store i32 %6, i32* %.reg2mem store i64 %arg2, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %7 = call i64 @FUNC(i64 %sv_0.0.reload) %8 = icmp eq i64 %7, 0 store i32 %.reload, i32* %.reg2mem7 store i64 %7, i64* %storemerge.lcssa.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_2: %.pre = load i32, i32* %5, align 8 store i32 %.pre, i32* %.reg2mem7 store i64 %19, i64* %storemerge.lcssa.reg2mem br label LBL_3 LBL_3: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %.reload8 = load i32, i32* %.reg2mem7 %9 = inttoptr i64 %storemerge.lcssa.reload to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, %.reload8 %12 = icmp eq i1 %11, false store i32 %.reload8, i32* %.reg2mem store i64 %storemerge.lcssa.reload, i64* %sv_0.0.reg2mem store i64 %storemerge.lcssa.reload, i64* %storemerge3.reg2mem br i1 %12, label LBL_1, label LBL_6 LBL_4: %13 = load i32, i32* %4, align 4 %14 = add i32 %13, 1 store i32 %14, i32* %4, align 4 %15 = icmp sgt i32 %14, 255 store i64 0, i64* %storemerge3.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = sext i32 %14 to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, ptrtoint (i64* @gv_0 to i64) %19 = call i64 @FUNC(i64 %18) %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_4, label LBL_2 LBL_6: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %19, { 1, 0 } uselistorder i32 %14, { 1, 0, 2 } uselistorder i32 %.reload8, { 1, 0 } uselistorder i64 %storemerge.lcssa.reload, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem7, { 0, 2, 1 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ram_init1_3107
ram_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = call i64 @FUNC(i64 %0) %5 = zext i32 %3 to i64 %6 = call i64 @FUNC(i64 %0, i64 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64* nonnull @gv_1) %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %0, i64 %0) ret i64 0 uselistorder i64 %0, { 5, 0, 4, 3, 2, 1 } }
0
BinRealVul
openpic_msi_read_512
openpic_msi_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %sv_0.017.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %3, i64 %2, i64 %1) %5 = urem i64 %arg2, 16 %6 = icmp eq i64 %5, 0 store i64 -1, i64* %storemerge1.reg2mem br i1 %6, label LBL_1, label LBL_9 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = icmp eq i64 %arg2, 288 store i64 0, i64* %indvars.iv.reg2mem store i64 0, i64* %sv_0.017.reg2mem br i1 %8, label LBL_8, label LBL_2 LBL_2: %9 = icmp ult i64 %arg2, 289 store i64 0, i64* %storemerge1.reg2mem br i1 %9, label LBL_3, label LBL_9 LBL_3: %10 = icmp ult i64 %arg2, 49 br i1 %10, label LBL_5, label LBL_6 LBL_4: %11 = urem i64 %arg2, 64 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_7, label %13 LBL_5: %15 = urem i64 %arg2, 64 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_7, label %17 LBL_6: %19 = icmp ult i64 %arg2, 113 %20 = icmp ult i64 %arg2, 64 %21 = icmp eq i1 %20, false %or.cond = icmp eq i1 %19, %21 store i64 0, i64* %storemerge1.reg2mem br i1 %or.cond, label LBL_4, label LBL_9 LBL_7: %22 = udiv i64 %arg2, 16 %sext14 = mul i64 %22, 4294967296 %23 = ashr exact i64 %sext14, 29 %24 = add i64 %23, %7 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 store i64 0, i64* %25, align 8 store i64 %26, i64* %storemerge1.reg2mem br label LBL_9 LBL_8: %sv_0.017.reload = load i64, i64* %sv_0.017.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %27 = mul i64 %indvars.iv.reload, 8 %28 = add i64 %27, %7 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false %33 = zext i1 %32 to i64 %34 = icmp eq i64 %indvars.iv.reload, 0 %35 = zext i1 %32 to i32 %36 = trunc i64 %indvars.iv.reload to i32 %37 = shl i32 %35, %36 %38 = zext i32 %37 to i64 %rdx.0 = select i1 %34, i64 %33, i64 %38 %sext = mul i64 %rdx.0, 4294967296 %39 = ashr exact i64 %sext, 32 %40 = or i64 %39, %sv_0.017.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %40, i64* %sv_0.017.reg2mem store i64 %40, i64* %storemerge1.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %15, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.017.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 1, 6, 3, 5, 4, 2, 7 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 7, 0, 1, 2, 3, 4, 5, 6 } uselistorder i64 64, { 2, 0, 1 } uselistorder i64 %arg2, { 2, 4, 7, 0, 1, 6, 5, 8, 3, 9 } uselistorder label LBL_9, { 0, 1, 3, 5, 4, 2, 6 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 3, 0, 2, 1 } }
0
BinRealVul
wav_parse_fmt_tag_16443
wav_parse_fmt_tag
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %rdx = alloca i64, align 8 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i32, i32* %0 %4 = call i64 @FUNC(i64 %2, i64 0) store i64 %1, i64* %rdx, align 8 store i64 %4, i64* %arg3, align 8 %5 = icmp eq i64* %arg3, null %6 = icmp eq i1 %5, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: store i64 %arg2, i64* %rdx, align 8 %7 = call i64 @FUNC(i64 %2, i64 %1, i64 %arg2) %8 = icmp slt i32 %3, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = zext i32 %3 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %11 = add i64 %arg2, 8 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = bitcast i64* %rdx to i32* %14 = load i32, i32* %13, align 8 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 64, i64 1, i64 %15) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rdx, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
do_incoming_13013
do_incoming
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = mul i64 %arg2, 4 %2 = and i64 %1, 17179869180 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_7 LBL_1: %7 = add i64 %0, 84 %8 = call i64 @FUNC(i64 %3, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, -1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %13 = icmp eq i32 %9, 1 %14 = icmp eq i1 %13, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = add i64 %0, 80 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = urem i32 %17, 10 %19 = mul i32 %18, 4 %20 = zext i32 %19 to i64 %21 = add i64 %0, 40 %22 = add i64 %21, %20 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_6, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %22) br label LBL_6 LBL_6: %27 = load i32, i32* %4, align 4 store i32 %27, i32* %23, align 4 %28 = call i64 @FUNC(i64 %3, i64 4) %29 = load i32, i32* %16, align 4 %30 = add i32 %29, 1 store i32 %30, i32* %16, align 4 %31 = zext i32 %18 to i64 store i64 %31, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %18, { 1, 0 } uselistorder i32* %16, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64)* @kill_TCP_secure_connection, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_7, { 3, 1, 0, 2 } }
1
BinRealVul
write_long_648
write_long
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = udiv i32 %1, 16777216 %3 = trunc i32 %2 to i8 %4 = bitcast i64* %arg1 to i8* store i8 %3, i8* %4, align 1 %5 = udiv i32 %1, 65536 %6 = add i64 %0, 1 %7 = trunc i32 %5 to i8 %8 = inttoptr i64 %6 to i8* store i8 %7, i8* %8, align 1 %9 = udiv i32 %1, 256 %10 = add i64 %0, 2 %11 = trunc i32 %9 to i8 %12 = inttoptr i64 %10 to i8* store i8 %11, i8* %12, align 1 %13 = add i64 %0, 3 %14 = trunc i64 %arg2 to i8 %15 = inttoptr i64 %13 to i8* store i8 %14, i8* %15, align 1 ret i64 %13 uselistorder i64 %13, { 1, 0 } }
0
BinRealVul
x25_rx_call_request_7748
x25_rx_call_request
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32*, align 8 %2 = call i64 @FUNC(i64 %1, i64 5) %3 = bitcast i32** %sv_1 to i64* %4 = call i64 @FUNC(i64 %1, i64* nonnull %3, i64* nonnull %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 1 br i1 %6, label LBL_15, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp slt i32 %11, 1 br i1 %12, label LBL_15, label LBL_2 LBL_2: %13 = trunc i64 %1 to i32 %14 = urem i32 %13, 256 %15 = icmp ugt i32 %11, %14 br i1 %15, label LBL_3, label LBL_15 LBL_3: %16 = add nuw nsw i32 %14, 1 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = call i64 @FUNC(i64* nonnull %3, i64 %1) %20 = call i64 @FUNC(i64 %1, i64 %17) %21 = icmp eq i64 %19, 0 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %19) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_14, label LBL_8 LBL_5: %26 = add i64 %4, 5 %27 = and i64 %26, 4294967295 %28 = call i64 @FUNC(i64 %1, i64 %27) %29 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_15, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64* nonnull %3, i64 %0, i64 %1, i32 %arg3) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 1 br i1 %33, label LBL_15, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %1) store i64 1, i64* %sv_0.0.reg2mem br label LBL_13 LBL_8: %35 = call i64 @FUNC(i64 %1, i64 %19, i64* nonnull %3, i64* nonnull %3) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, -1 br i1 %37, label LBL_14, label LBL_9 LBL_9: %38 = call i64 @FUNC(i64* nonnull %3, i64 %0) %39 = call i64 @FUNC(i64 %19) %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_14, label LBL_10 LBL_10: %41 = inttoptr i64 %39 to i32* %42 = and i64 %35, 4294967295 %43 = call i64 @FUNC(i64 %1, i64 %42) %44 = add i64 %1, 16 %45 = inttoptr i64 %44 to i64* store i64 %39, i64* %45, align 8 store i32 1, i32* %41, align 4 %46 = call i64 @FUNC(i64 %39) %47 = inttoptr i64 %46 to i32* store i32* %47, i32** %sv_1, align 8 store i32 %arg3, i32* %47, align 4 %48 = load i32*, i32** %sv_1, align 8 %49 = ptrtoint i32* %48 to i64 %50 = add i64 %49, 8 %51 = inttoptr i64 %50 to i64* store i64 %0, i64* %51, align 8 %52 = call i64 @FUNC(i64 %19) %53 = add i64 %52, 16 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = load i32*, i32** %sv_1, align 8 %57 = ptrtoint i32* %56 to i64 %58 = add i64 %57, 16 %59 = inttoptr i64 %58 to i32* store i32 %55, i32* %59, align 4 %60 = load i32*, i32** %sv_1, align 8 %61 = ptrtoint i32* %60 to i64 %62 = add i64 %61, 16 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = and i32 %64, -2 store i32 %65, i32* %63, align 4 %66 = load i32*, i32** %sv_1, align 8 %67 = ptrtoint i32* %66 to i64 %68 = add i64 %67, 16 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = and i32 %70, -3 store i32 %71, i32* %69, align 4 %72 = call i64 @FUNC(i64 %19) %73 = add i64 %72, 20 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = load i32*, i32** %sv_1, align 8 %77 = ptrtoint i32* %76 to i64 %78 = add i64 %77, 20 %79 = inttoptr i64 %78 to i32* store i32 %75, i32* %79, align 4 %80 = load i32*, i32** %sv_1, align 8 %81 = ptrtoint i32* %80 to i64 %82 = add i64 %81, 284 %83 = call i64 @FUNC(i64 0, i64 %82) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 br i1 %85, label LBL_12, label LBL_11 LBL_11: %86 = call i64 @FUNC(i64 %39, i64 1) %87 = load i32*, i32** %sv_1, align 8 %88 = ptrtoint i32* %87 to i64 %89 = add i64 %88, 288 %90 = inttoptr i64 %89 to i32* store i32 3, i32* %90, align 4 br label LBL_12 LBL_12: %91 = load i32, i32* %10, align 4 %92 = load i32*, i32** %sv_1, align 8 %93 = ptrtoint i32* %92 to i64 %94 = add i64 %93, 24 %95 = call i64 @FUNC(i64 %1, i64 %94, i32 %91) %96 = load i32, i32* %10, align 4 %97 = load i32*, i32** %sv_1, align 8 %98 = ptrtoint i32* %97 to i64 %99 = add i64 %98, 280 %100 = inttoptr i64 %99 to i32* store i32 %96, i32* %100, align 4 %101 = add i64 %19, 4 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = add i32 %103, 1 store i32 %104, i32* %102, align 4 %105 = call i64 @FUNC(i64 %39) %106 = add i64 %19, 8 %107 = call i64 @FUNC(i64 %106, i64 %1) %108 = call i64 @FUNC(i64 %39) %109 = call i64 @FUNC(i64 %19, i64 1) %110 = call i64 @FUNC(i64 %19) store i64 1, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload LBL_14: %111 = call i64 @FUNC(i64 %19) br label LBL_15 LBL_15: %112 = zext i32 %arg3 to i64 %113 = call i64 @FUNC(i64 %0, i64 %112, i64 1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_13 uselistorder i64 %19, { 8, 1, 2, 3, 4, 5, 6, 7, 9, 0, 10 } uselistorder i32 %14, { 1, 0 } uselistorder i32* %10, { 1, 0, 2 } uselistorder i64* %3, { 1, 3, 2, 0, 4, 5, 6 } uselistorder i32** %sv_1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 10 } uselistorder i64 %1, { 4, 5, 7, 6, 8, 1, 2, 3, 9, 10, 11, 0, 13, 12, 14, 15 } uselistorder i64 %0, { 3, 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 3, 0, 2, 1 } uselistorder i64 (i64)* @sock_put, { 1, 0 } uselistorder i64 (i64)* @x25_sk, { 2, 1, 0 } uselistorder i64 1, { 4, 1, 5, 6, 0, 2, 3 } uselistorder i64 (i64, i64)* @skb_push, { 1, 0 } uselistorder i64 (i64, i64)* @skb_pull, { 3, 2, 1, 0 } uselistorder i32 %arg3, { 2, 1, 0 } uselistorder label LBL_15, { 5, 1, 0, 2, 3, 4 } }
1
BinRealVul
pptp_bind_11390
pptp_bind
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %1 to i32 %6 = inttoptr i64 %3 to i32* store i32 %5, i32* %6, align 4 %7 = call i64 @FUNC(i64 %3) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %spec.select = select i1 %9, i64 0, i64 4294967280 %10 = call i64 @FUNC(i64 %2) ret i64 %spec.select }
1
BinRealVul
vc1_inv_trans_4x4_c_2795
vc1_inv_trans_4x4_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.09.reg2mem = alloca i64 %sv_1.110.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %sv_2.013.reg2mem = alloca i64 %storemerge814.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 store i32 0, i32* %storemerge814.reg2mem store i64 %0, i64* %sv_2.013.reg2mem br label LBL_1 LBL_1: %sv_2.013.reload = load i64, i64* %sv_2.013.reg2mem %storemerge814.reload = load i32, i32* %storemerge814.reg2mem %1 = inttoptr i64 %sv_2.013.reload to i16* %2 = load i16, i16* %1, align 2 %3 = add i64 %sv_2.013.reload, 4 %4 = inttoptr i64 %3 to i16* %5 = load i16, i16* %4, align 2 %6 = sext i16 %5 to i64 %7 = sext i16 %2 to i64 %8 = add nsw i64 %6, %7 %9 = mul nsw i64 %8, 17 %10 = add nsw i64 %9, 4 %11 = sub nsw i64 %7, %6 %12 = mul nsw i64 %11, 17 %13 = add nsw i64 %12, 4 %14 = add i64 %sv_2.013.reload, 2 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = sext i16 %16 to i64 %18 = mul nsw i64 %17, 22 %19 = add i64 %sv_2.013.reload, 6 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = sext i16 %21 to i64 %23 = mul nsw i64 %22, 10 %24 = add nsw i64 %23, %18 %25 = mul nsw i64 %22, 22 %26 = mul nsw i64 %17, 4294967286 %27 = add nsw i64 %25, %26 %28 = add nsw i64 %24, %10 %29 = trunc i64 %28 to i32 %30 = udiv i32 %29, 8 %31 = trunc i32 %30 to i16 store i16 %31, i16* %1, align 2 %32 = trunc i64 %13 to i32 %33 = trunc i64 %27 to i32 %34 = sub i32 %32, %33 %35 = udiv i32 %34, 8 %36 = trunc i32 %35 to i16 store i16 %36, i16* %15, align 2 %37 = add nsw i64 %27, %13 %38 = trunc i64 %37 to i32 %39 = udiv i32 %38, 8 %40 = trunc i32 %39 to i16 store i16 %40, i16* %4, align 2 %41 = trunc i64 %10 to i32 %42 = trunc i64 %24 to i32 %43 = sub i32 %41, %42 %44 = udiv i32 %43, 8 %45 = trunc i32 %44 to i16 store i16 %45, i16* %20, align 2 %46 = add i64 %sv_2.013.reload, 16 %47 = add nuw nsw i32 %storemerge814.reload, 1 %exitcond15 = icmp eq i32 %47, 4 store i32 %47, i32* %storemerge814.reg2mem store i64 %46, i64* %sv_2.013.reg2mem br i1 %exitcond15, label LBL_2, label LBL_1 LBL_2: %sext = mul i64 %arg2, 4294967296 %48 = ptrtoint i64* %arg1 to i64 %49 = ashr exact i64 %sext, 32 %50 = mul i64 %arg2, 8589934592 %51 = ashr exact i64 %50, 32 %sext6 = mul i64 %49, 12884901888 %52 = ashr exact i64 %sext6, 32 store i32 0, i32* %storemerge11.reg2mem store i64 %0, i64* %sv_1.110.reg2mem store i64 %48, i64* %sv_0.09.reg2mem br label LBL_3 LBL_3: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %53 = inttoptr i64 %sv_1.110.reload to i16* %54 = load i16, i16* %53, align 2 %55 = add i64 %sv_1.110.reload, 32 %56 = inttoptr i64 %55 to i16* %57 = load i16, i16* %56, align 2 %58 = sext i16 %57 to i64 %59 = sext i16 %54 to i64 %60 = add nsw i64 %58, %59 %61 = mul nsw i64 %60, 17 %62 = add nsw i64 %61, 64 %63 = sub nsw i64 %59, %58 %64 = mul nsw i64 %63, 17 %65 = add nsw i64 %64, 64 %66 = add i64 %sv_1.110.reload, 16 %67 = inttoptr i64 %66 to i16* %68 = load i16, i16* %67, align 2 %69 = sext i16 %68 to i64 %70 = mul nsw i64 %69, 22 %71 = add i64 %sv_1.110.reload, 48 %72 = inttoptr i64 %71 to i16* %73 = load i16, i16* %72, align 2 %74 = sext i16 %73 to i64 %75 = mul nsw i64 %74, 10 %76 = add nsw i64 %75, %70 %77 = mul nsw i64 %74, 22 %78 = mul nsw i64 %69, 4294967286 %79 = add nsw i64 %77, %78 %80 = inttoptr i64 %sv_0.09.reload to i8* %81 = load i8, i8* %80, align 1 %82 = add nsw i64 %76, %62 %83 = trunc i64 %82 to i32 %84 = ashr i32 %83, 7 %85 = zext i8 %81 to i32 %86 = add nsw i32 %84, %85 %87 = zext i32 %86 to i64 %88 = call i64 @FUNC(i64 %87) %89 = trunc i64 %88 to i8 store i8 %89, i8* %80, align 1 %90 = add i64 %sv_0.09.reload, %49 %91 = inttoptr i64 %90 to i8* %92 = load i8, i8* %91, align 1 %93 = trunc i64 %65 to i32 %94 = trunc i64 %79 to i32 %95 = sub i32 %93, %94 %96 = ashr i32 %95, 7 %97 = zext i8 %92 to i32 %98 = add nsw i32 %96, %97 %99 = zext i32 %98 to i64 %100 = call i64 @FUNC(i64 %99) %101 = trunc i64 %100 to i8 store i8 %101, i8* %91, align 1 %102 = add i64 %sv_0.09.reload, %51 %103 = inttoptr i64 %102 to i8* %104 = load i8, i8* %103, align 1 %105 = add nsw i64 %79, %65 %106 = trunc i64 %105 to i32 %107 = ashr i32 %106, 7 %108 = zext i8 %104 to i32 %109 = add nsw i32 %107, %108 %110 = zext i32 %109 to i64 %111 = call i64 @FUNC(i64 %110) %112 = trunc i64 %111 to i8 store i8 %112, i8* %103, align 1 %113 = add i64 %sv_0.09.reload, %52 %114 = inttoptr i64 %113 to i8* %115 = load i8, i8* %114, align 1 %116 = trunc i64 %62 to i32 %117 = trunc i64 %76 to i32 %118 = sub i32 %116, %117 %119 = ashr i32 %118, 7 %120 = zext i8 %115 to i32 %121 = add nsw i32 %119, %120 %122 = zext i32 %121 to i64 %123 = call i64 @FUNC(i64 %122) %124 = trunc i64 %123 to i8 store i8 %124, i8* %114, align 1 %125 = add i64 %sv_1.110.reload, 2 %126 = add i64 %sv_0.09.reload, 1 %127 = add nuw nsw i32 %storemerge11.reload, 1 %exitcond = icmp eq i32 %127, 4 store i32 %127, i32* %storemerge11.reg2mem store i64 %125, i64* %sv_1.110.reg2mem store i64 %126, i64* %sv_0.09.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %123 uselistorder i64 %76, { 1, 0 } uselistorder i64 %74, { 1, 0 } uselistorder i64 %62, { 1, 0 } uselistorder i64 %59, { 1, 0 } uselistorder i64 %58, { 1, 0 } uselistorder i64 %sv_1.110.reload, { 0, 3, 4, 2, 1 } uselistorder i64 %sv_0.09.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %24, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %sv_2.013.reload, { 0, 2, 1, 3, 4 } uselistorder i32* %storemerge814.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.013.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.110.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 } uselistorder i64 32, { 4, 0, 1, 2, 3 } uselistorder i32 4, { 1, 0 } uselistorder i64 4294967286, { 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 22, { 2, 3, 0, 1 } uselistorder i64 17, { 2, 3, 0, 1 } }
0
BinRealVul
kvm_irqfd_11423
kvm_irqfd
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 = trunc i64 %1 to i32 %3 = icmp ult i32 %2, 4 store i64 4294967274, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = urem i32 %2, 2 %6 = icmp eq i32 %5, 0 %7 = ptrtoint i32* %arg2 to i64 br i1 %6, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %4, i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %4, i64 %7) store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
EC_GROUP_clear_free_12775
EC_GROUP_clear_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_6, label LBL_1 LBL_1: %1 = add i64 %arg1, 48 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %5) br label LBL_3 LBL_3: %8 = add i64 %arg1, 16 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %arg1, 24 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %arg1, 32 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = add i64 %arg1, 40 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %14, i64 %18) %20 = load i64, i64* %13, align 8 %21 = call i64 @FUNC(i64 %20) br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %arg1, i64 56) %23 = call i64 @FUNC(i64 %arg1) store i64 %23, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64)* @OPENSSL_free, { 1, 0 } uselistorder i64 (i64, i64)* @OPENSSL_cleanse, { 1, 0 } uselistorder i64 (i64)* @BN_clear_free, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 5, 4, 3, 7, 6, 8 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
idreg_init_2256
idreg_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2, i64 0, i64 %arg1) %4 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_1, i64 256) ret i64 %4 }
0
BinRealVul
ram_save_page_129
ram_save_page
define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i8 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = mul i32 %6, 4096 %8 = sext i32 %7 to i64 %9 = add i64 %8, %2 store i64 %9, i64* %sv_3, align 8 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12, i64 %8, i64 %9) store i64 0, i64* %sv_2, align 8 %14 = inttoptr i64 %4 to i64* %15 = load i64, i64* %14, align 8 %16 = and i64 %1, 4294967295 %17 = call i64 @FUNC(i64 %16, i64 %15, i64 %8, i64 4096, i64* nonnull %sv_2) %18 = load i64, i64* %sv_2, align 8 %19 = icmp eq i64 %18, 0 store i32 -1, i32* %sv_0.0.reg2mem br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = add i64 %3, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %22, %18 store i64 %23, i64* %21, align 8 store i32 1, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %24 = trunc i64 %17 to i32 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %25 = call i64 @FUNC() store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem switch i32 %24, label LBL_3 [ i32 -1, label LBL_6 i32 -2, label LBL_12 ] LBL_3: %26 = load i64, i64* %sv_2, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = add i64 %3, 16 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i32 %30, 1 store i32 %31, i32* %29, align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem br label LBL_12 LBL_5: %32 = add i64 %3, 20 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i32 %34, 1 store i32 %35, i32* %33, align 4 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem br label LBL_12 LBL_6: %36 = load i64, i64* %14, align 8 %37 = add i64 %36, %8 %38 = load i64, i64* %sv_3, align 8 %39 = call i64 @FUNC(i64 %3, i64 %2, i64 %8, i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 1 br i1 %41, label LBL_8, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %3, i64 %37) %43 = load i64, i64* %11, align 8 %44 = call i64 @FUNC(i64 %43, i64 %8, i32 %40) store i32 %40, i32* %sv_0.2.reg2mem br label LBL_17 LBL_8: %45 = add i64 %3, 24 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = icmp eq i8 %47, 1 store i32 %40, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem br i1 %48, label LBL_12, label LBL_9 LBL_9: %49 = call i64 @FUNC() %50 = trunc i64 %49 to i8 %51 = icmp eq i8 %50, 1 store i32 %40, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem br i1 %51, label LBL_12, label LBL_10 LBL_10: %52 = call i64 @FUNC() %53 = trunc i64 %52 to i8 %54 = icmp eq i8 %53, 0 store i32 %40, i32* %sv_0.1.reg2mem store i8 1, i8* %sv_1.0.reg2mem br i1 %54, label LBL_12, label LBL_11 LBL_11: %55 = zext i8 %arg3 to i64 %56 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %37, i64 %2, i64 %8, i64 %55) %57 = trunc i64 %56 to i32 %58 = icmp eq i8 %arg3, 1 %spec.select = zext i1 %58 to i8 store i32 %57, i32* %sv_0.1.reg2mem store i8 %spec.select, i8* %sv_1.0.reg2mem br label LBL_12 LBL_12: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %59 = icmp eq i32 %sv_0.1.reload, -1 %60 = icmp eq i1 %59, false store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %60, label LBL_17, label LBL_13 LBL_13: %61 = bitcast i64* %rdi to i32* %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %62 = or i64 %8, 1 %63 = call i64 @FUNC(i64 %3, i64 %2, i64 %62) %64 = add i64 %3, 8 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = add i64 %66, %63 store i64 %67, i64* %65, align 8 %68 = icmp eq i8 %sv_1.0.reload, 0 br i1 %68, label LBL_15, label LBL_14 LBL_14: %69 = call i64 @FUNC() %70 = call i64 @FUNC() %71 = urem i64 %69, 256 %72 = and i64 %71, %70 %73 = icmp eq i64 %72, 0 %74 = icmp eq i1 %73, false %75 = load i64, i64* %sv_3, align 8 %76 = load i32, i32* %61, align 8 %77 = zext i1 %74 to i64 %78 = zext i32 %76 to i64 %79 = call i64 @FUNC(i64 %78, i64 %75, i64 4096, i64 %77) br label LBL_16 LBL_15: %80 = load i64, i64* %sv_3, align 8 %81 = load i32, i32* %61, align 8 %82 = zext i32 %81 to i64 %83 = call i64 @FUNC(i64 %82, i64 %80, i64 4096) br label LBL_16 LBL_16: %84 = load i64, i64* %65, align 8 %85 = add i64 %84, 4096 store i64 %85, i64* %65, align 8 %86 = add i64 %3, 16 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = add i32 %88, 1 store i32 %89, i32* %87, align 4 store i32 1, i32* %sv_0.2.reg2mem br label LBL_17 LBL_17: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %90 = call i64 @FUNC() %91 = zext i32 %sv_0.2.reload to i64 ret i64 %91 uselistorder i64* %65, { 1, 0, 2, 3 } uselistorder i32* %61, { 1, 0 } uselistorder i32 %40, { 1, 2, 3, 0, 4, 5 } uselistorder i64 %37, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 1, 0 } uselistorder i64 %8, { 4, 3, 2, 5, 0, 6, 7, 1 } uselistorder i64* %sv_3, { 1, 2, 0, 3, 4 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i64 %3, { 5, 7, 6, 4, 8, 3, 9, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 3, 4, 0, 5 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 5, 6, 7, 4, 3, 2 } uselistorder i8* %sv_1.0.reg2mem, { 0, 1, 5, 6, 7, 4, 3, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 3, 1 } uselistorder i64 ()* @migration_in_postcopy, { 1, 0 } uselistorder i8 1, { 6, 3, 4, 7, 5, 8, 2, 1, 0 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i64 4096, { 3, 0, 1, 2 } uselistorder label LBL_17, { 1, 2, 0 } uselistorder label LBL_12, { 0, 2, 3, 4, 5, 6, 1 } }
1
BinRealVul
module_load_13845
module_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 1, i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) %5 = call i64 @FUNC(i64 2, i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) %6 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) %7 = call i64 @FUNC(i8* bitcast (i8** @gv_4 to i8*), i64 %3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) %8 = call i64 @FUNC(i64 1, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 0, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 0, i64 %2, i64 %1) %10 = call i64 @FUNC(i64 1, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 1, i64 %2, i64 %1) %11 = call i64 @FUNC(i64 2, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 2, i64 %2, i64 %1) %12 = call i64 @FUNC(i64 256, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 256, i64 %2, i64 %1) %13 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 0, i64 %2, i64 %1) %14 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 1, i64 %2, i64 %1) %15 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 2, i64 %2, i64 %1) %16 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_11, i64 0, i64 0), i64 7, i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 3, i64 %1) %17 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_12, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64 3, i64 %1) %18 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_13, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64 3, i64 %1) %19 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_14, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64 3, i64 %1) %20 = call i64 @FUNC(i64 1, i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_15, i64 0, i64 0), i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64 3, i64 %1) ret i64 0 uselistorder i64 %2, { 1, 7, 8, 9, 10, 11, 2, 3, 4, 5, 6, 0 } uselistorder i64 %1, { 5, 6, 0, 1, 2, 3, 4, 12, 13, 14, 15, 16, 7, 8, 9, 10, 11 } uselistorder i64* %0, { 1, 0 } uselistorder i64 ptrtoint ([4 x i8]* @gv_2 to i64), { 0, 1, 3, 2 } uselistorder i64 3, { 4, 3, 2, 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i64 (i8*, i64, i8*, i64, i64, i64)* @set_string, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder [4 x i8]* @gv_2, { 1, 0 } uselistorder i64 2, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @set_integer, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 0, 1, 3, 2, 4, 5 } uselistorder i64 %arg4, { 4, 3, 2, 1, 0 } }
0
BinRealVul
qemu_reset_requested_17203
qemu_reset_requested
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8 %5 = zext i32 %0 to i64 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
_single_string_alloc_and_expand_11061
_single_string_alloc_and_expand
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i8* %storemerge13.reg2mem = alloca i32 %.reg2mem12 = alloca i8 %.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i32 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i32 0, i32* %sv_0.0.reg2mem store i64 %arg1, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %2 = sext i32 %sv_0.0.reload to i64 %3 = add i64 %2, %arg1 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = icmp eq i8 %5, 0 %7 = icmp eq i1 %6, false %8 = add i32 %sv_0.0.reload, 1 store i32 %8, i32* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %9 = call i64* @malloc(i32 %8) %10 = ptrtoint i64* %9 to i64 %11 = inttoptr i64 %arg1 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp eq i1 %13, false %15 = bitcast i64* %9 to i8* store i8* %15, i8** %.reg2mem store i8 %12, i8* %.reg2mem12 store i32 0, i32* %storemerge13.reg2mem store i8* %15, i8** %.lcssa.reg2mem br i1 %14, label LBL_3, label LBL_4 LBL_3: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload13 = load i8, i8* %.reg2mem12 %.reload = load i8*, i8** %.reg2mem store i8 %.reload13, i8* %.reload, align 1 %16 = add i32 %storemerge13.reload, 1 %17 = sext i32 %16 to i64 %18 = add i64 %17, %arg1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 %22 = icmp eq i1 %21, false %23 = add i64 %17, %10 %24 = inttoptr i64 %23 to i8* store i8* %24, i8** %.reg2mem store i8 %20, i8* %.reg2mem12 store i32 %16, i32* %storemerge13.reg2mem store i8* %24, i8** %.lcssa.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_4: %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem store i8 0, i8* %.lcssa.reload, align 1 store i64 %10, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %8, { 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem12, { 2, 0, 1 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0, 3 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i32 1, { 6, 7, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 3, 2, 0, 4 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
session_set_controller_17456
session_set_controller
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %arg2) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_5, label LBL_11 LBL_5: %8 = trunc i64 %arg3 to i8 %9 = icmp eq i8 %8, 1 %or.cond = or i1 %0, %9 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_6, label LBL_11 LBL_6: %10 = inttoptr i64 %arg2 to i8* %11 = call i8* @strdup(i8* %10) %12 = icmp eq i8* %11, null %13 = icmp eq i1 %12, false store i64 4294967294, i64* %rax.0.shrunk.reg2mem br i1 %13, label LBL_7, label LBL_11 LBL_7: %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %arg2) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_9, label LBL_8 LBL_8: %20 = bitcast i8* %11 to i64* call void @free(i64* %20) store i64 %17, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_9: %21 = call i64 @FUNC(i64 %4) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %21, i64* %rax.0.shrunk.reg2mem br i1 %24, label LBL_10, label LBL_11 LBL_10: %25 = ptrtoint i8* %11 to i64 %26 = call i64 @FUNC(i64 %4, i64 %25) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i8* %11, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 5, 2, 3, 4 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_11, { 4, 0, 5, 1, 2, 3 } }
1
BinRealVul
ff_v4l2_m2m_codec_end_14802
ff_v4l2_m2m_codec_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 %3, i64* %rcx.0.reg2mem br label LBL_2 LBL_2: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %8 = add i64 %3, 8 %9 = call i64 @FUNC(i64 %8, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = inttoptr i64 %8 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %2, i64 %1) store i64 %13, i64* %rcx.1.reg2mem br label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %3) %16 = add i64 %3, 32 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %20 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) br label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %8) %22 = add i64 %3, 40 %23 = inttoptr i64 %22 to i64* %24 = call i32 @sem_destroy(i64* %23) %25 = add i64 %3, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = call i32 @close(i32 %27) %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_8, label LBL_7 LBL_7: %31 = call i32* @__errno_location() %32 = load i32, i32* %31, align 4 %33 = sub i32 0, %32 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %3, 24 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %38, i64 %35, i64 %1) br label LBL_8 LBL_8: store i32 -1, i32* %26, align 4 ret i64 0 uselistorder i64 %3, { 5, 6, 8, 7, 4, 10, 9, 3, 11, 0, 2, 1, 12 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @ff_v4l2_context_release, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @ff_v4l2_context_set_status, { 1, 0 } }
1
BinRealVul
usbip_dump_header_8091
usbip_dump_header
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 = add i64 %2, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 12 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = trunc i64 %1 to i32 %16 = zext i32 %5 to i64 %17 = zext i32 %8 to i64 %18 = and i64 %1, 4294967295 %19 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %18, i32 %14, i32 %11, i64 %17, i64 %16) %20 = icmp eq i32 %15, 4 br i1 %20, label LBL_6, label LBL_1 LBL_1: %21 = icmp ult i32 %15, 5 br i1 %21, label LBL_2, label LBL_7 LBL_2: switch i32 %15, label LBL_7 [ i32 3, label LBL_5 i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: %22 = add i64 %2, 36 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %2, 28 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %2, 24 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %2, 20 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %24 to i64 %38 = zext i32 %27 to i64 %39 = zext i32 %36 to i64 %40 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 %39, i32 %33, i32 %30, i64 %38, i64 %37) store i64 %40, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %41 = add i64 %2, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %44, i32 %14, i32 %11, i64 %17, i64 %16) store i64 %45, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %46 = add i64 %2, 36 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = add i64 %2, 32 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %2, 28 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %2, 24 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = add i64 %2, 20 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = zext i32 %48 to i64 %62 = zext i32 %51 to i64 %63 = zext i32 %60 to i64 %64 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_3, i64 0, i64 0), i64 %63, i32 %57, i32 %54, i64 %62, i64 %61) store i64 %64, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %65 = add i64 %2, 20 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64 %68, i32 %14, i32 %11, i64 %17, i64 %16) store i64 %69, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %70 = zext i32 %11 to i64 %71 = zext i32 %14 to i64 %72 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64 %18, i64 %71, i64 %70, i64 %17, i64 %16) store i64 %72, 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 %18, { 1, 0 } uselistorder i64 %17, { 0, 2, 1, 3 } uselistorder i64 %16, { 0, 2, 1, 3 } uselistorder i32 %15, { 2, 0, 1 } uselistorder i32 %14, { 3, 0, 1, 2 } uselistorder i32 %11, { 3, 0, 1, 2 } uselistorder i64 %2, { 11, 10, 8, 9, 7, 6, 0, 5, 3, 4, 2, 1, 12, 13, 14, 15 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 2, 3 } uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @pr_debug, { 4, 3, 2, 1, 0 } }
0
BinRealVul
may_lookup_10603
may_lookup
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, 2 %4 = icmp eq i64 %3, 0 %.pre = add i64 %2, 8 %.pre1 = inttoptr i64 %.pre to i64* br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = load i64, i64* %.pre1, align 8 %6 = call i64 @FUNC(i64 %5, i64 6) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, -10 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_5 LBL_3: %10 = call i64 @FUNC(i64 %2, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 4294967286, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_5 LBL_4: %13 = load i64, i64* %.pre1, align 8 %14 = call i64 @FUNC(i64 %13, i64 2) store i64 %14, 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 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @inode_permission, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
floppy_off_10659
floppy_off
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i8, i8* inttoptr (i64 305419896 to i8*), align 8 %1 = trunc i64 %arg1 to i32 %2 = urem i32 %1, 32 %3 = shl i32 16, %2 %4 = zext i8 %0 to i32 %5 = and i32 %3, %4 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = load i64, i64* inttoptr (i64 305419897 to i64*), align 8 %8 = icmp eq i64 %7, 0 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %arg1, 4294967295 %10 = load i64, i64* inttoptr (i64 305419904 to i64*), align 128 %11 = load i64, i64* inttoptr (i64 305419913 to i64*), align 8 %.neg3 = sub i64 100, %10 %12 = sub i64 %.neg3, %11 %13 = mul i64 %12, %7 %14 = udiv i64 %13, %7 %15 = load i64, i64* inttoptr (i64 305419905 to i64*), align 8 %16 = sub i64 %15, %14 %17 = mul i64 %9, 8 %18 = add i64 %17, ptrtoint (i64* @gv_0 to i64) %19 = inttoptr i64 %18 to i64* store i64 %16, i64* %19, align 8 store i64 %9, 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 %7, { 1, 0, 2 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
noise_scale_15793
noise_scale
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv20.reg2mem = alloca i64 %storemerge7.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.013.reg2mem = alloca i32 %storemerge714.reg2mem = alloca i32 %0 = sub i32 0, %arg2 %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false %3 = select i1 %2, i32 %0, i32 %arg2 %4 = mul i32 %3, 4 %5 = and i32 %4, 12 %6 = zext i32 %5 to i64 %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp sgt i32 %arg3, 32767 store i32 0, i32* %storemerge714.reg2mem store i32 %arg3, i32* %sv_0.013.reg2mem store i32 %arg3, i32* %sv_0.0.lcssa.reg2mem store i32 0, i32* %storemerge7.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %storemerge714.reload = load i32, i32* %storemerge714.reg2mem %11 = udiv i32 %sv_0.013.reload, 2 %12 = add nuw nsw i32 %storemerge714.reload, 1 %13 = icmp ugt i32 %sv_0.013.reload, 65535 store i32 %12, i32* %storemerge714.reg2mem store i32 %11, i32* %sv_0.013.reg2mem store i32 %11, i32* %sv_0.0.lcssa.reg2mem store i32 %12, i32* %storemerge7.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_2: %14 = ptrtoint i64* %arg1 to i64 %15 = icmp slt i32 %arg2, 0 %16 = icmp eq i1 %15, false %17 = select i1 %16, i32 1, i32 -1 %storemerge7.lcssa.reload = load i32, i32* %storemerge7.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %18 = zext i32 %9 to i64 %19 = ashr i32 %9, 31 %20 = zext i32 %19 to i64 %21 = mul i64 %20, 4294967296 %22 = or i64 %21, %18 %23 = zext i32 %sv_0.0.lcssa.reload to i64 %24 = sdiv i64 %22, %23 %25 = trunc i64 %24 to i32 %26 = sext i32 %25 to i128 %27 = ashr i32 %3, 2 %28 = sub nsw i32 21, %27 %29 = add i32 %storemerge7.lcssa.reload, %28 %30 = icmp slt i32 %29, 1 br i1 %30, label LBL_6, label LBL_3 LBL_3: %31 = icmp sgt i32 %arg4, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %31, label LBL_4, label LBL_9 LBL_4: %32 = add i32 %29, 31 %33 = urem i32 %32, 32 %34 = shl i32 1, %33 %35 = urem i32 %29, 32 %wide.trip.count22 = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv20.reg2mem br label LBL_5 LBL_5: %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %36 = mul i64 %indvars.iv20.reload, 4 %37 = add i64 %36, %14 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = sext i32 %39 to i128 %41 = mul nsw i128 %40, %26 %42 = trunc i128 %41 to i64 %43 = udiv i64 %42, 4294967296 %44 = trunc i64 %43 to i32 %45 = add i32 %34, %44 %46 = ashr i32 %45, %35 %47 = mul i32 %46, %17 store i32 %47, i32* %38, align 4 %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond23 = icmp eq i64 %indvars.iv.next21, %wide.trip.count22 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i32 %arg4, i32* %rax.0.in.reg2mem br i1 %exitcond23, label LBL_9, label LBL_5 LBL_6: %48 = icmp sgt i32 %arg4, 0 store i32 0, i32* %rax.0.in.reg2mem br i1 %48, label LBL_7, label LBL_9 LBL_7: %49 = add i32 %29, 31 %50 = urem i32 %49, 32 %51 = shl i32 1, %50 %52 = add i32 %29, 32 %53 = zext i32 %51 to i64 %54 = urem i32 %52, 64 %55 = zext i32 %54 to i64 %wide.trip.count = zext i32 %arg4 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %56 = mul i64 %indvars.iv.reload, 4 %57 = add i64 %56, %14 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = sext i32 %59 to i128 %61 = mul nsw i128 %60, %26 %62 = trunc i128 %61 to i64 %63 = add i64 %62, %53 %rdx.1 = ashr i64 %63, %55 %64 = trunc i64 %rdx.1 to i32 %65 = mul i32 %17, %64 store i32 %65, i32* %58, align 4 %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 i32 %arg4, i32* %rax.0.in.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 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 %29, { 4, 3, 0, 2, 1 } uselistorder i32 %9, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i32* %storemerge714.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.013.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.in.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i32 32, { 3, 0, 1, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i32 31, { 1, 0, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 4, 0, 5, 8, 2, 3, 6, 7 } uselistorder i32 %arg4, { 0, 3, 4, 1, 2, 5 } uselistorder i32 %arg2, { 2, 1, 0 } uselistorder label LBL_9, { 0, 3, 1, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
init_buffers_288
init_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 64 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 %0, i64 %4, i64 %3) %6 = load i64, i64* %2, align 8 %7 = add i64 %0, 24 %8 = add i64 %0, 16 %9 = call i64 @FUNC(i64 %8, i64 %7, i64 %6) %10 = load i64, i64* %2, align 8 %11 = add i64 %0, 40 %12 = add i64 %0, 32 %13 = call i64 @FUNC(i64 %12, i64 %11, i64 %10) %14 = add i64 %0, 72 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %12, i64* %rdi.0.reg2mem br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = load i64, i64* %2, align 8 %20 = add i64 %0, 56 %21 = add i64 %0, 48 %22 = call i64 @FUNC(i64 %21, i64 %20, i64 %19) store i64 %21, i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %23 = icmp eq i64 %rdi.0.reload, 0 br i1 %23, label LBL_7, label LBL_3 LBL_3: %24 = inttoptr i64 %8 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_7, label LBL_4 LBL_4: %27 = inttoptr i64 %12 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_7, label LBL_5 LBL_5: %30 = add i64 %0, 48 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 0, i64* %storemerge.reg2mem br i1 %34, label LBL_8, label LBL_6 LBL_6: %35 = load i32, i32* %15, align 4 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 0, i64* %storemerge.reg2mem br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @av_fast_padded_mallocz, { 3, 2, 1, 0 } uselistorder label LBL_8, { 2, 1, 0 } }
0
BinRealVul
check_intra_pred8x8_mode_emuedge_2199
check_intra_pred8x8_mode_emuedge
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %sext = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = icmp eq i32 %0, 3 br i1 %2, label LBL_12, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = icmp sgt i32 %3, 3 br i1 %4, label LBL_13, label LBL_2 LBL_2: %5 = icmp eq i32 %3, 2 br i1 %5, label LBL_9, label LBL_3 LBL_3: %6 = icmp sgt i32 %3, 2 br i1 %6, label LBL_13, label LBL_4 LBL_4: switch i32 %3, label LBL_13 [ i32 0, label LBL_5 i32 1, label LBL_6 ] LBL_5: %7 = zext i32 %arg2 to i64 %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %7, i32 %arg3) store i64 %9, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %10 = icmp eq i32 %arg3, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_8, label LBL_7 LBL_7: %12 = icmp eq i32 %arg4, 0 %. = select i1 %12, i64 127, i64 128 store i64 %., i64* %rax.0.reg2mem br label LBL_14 LBL_8: %13 = and i64 %1, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %14 = icmp eq i32 %arg2, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_11, label LBL_10 LBL_10: %16 = icmp eq i32 %arg4, 0 %.3 = select i1 %16, i64 129, i64 128 store i64 %.3, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %17 = and i64 %1, 4294967295 store i64 %17, i64* %rax.0.reg2mem br label LBL_14 LBL_12: %18 = zext i32 %arg4 to i64 %19 = and i64 %1, 4294967295 %20 = call i64 @FUNC(i64 %19, i32 %arg2, i32 %arg3, i64 %18) store i64 %20, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %21 = and i64 %1, 4294967295 store i64 %21, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 5, 2, 4, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 1, 3, 2, 4 } uselistorder i32 2, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 %arg4, { 2, 1, 0 } uselistorder i32 %arg3, { 2, 0, 1 } uselistorder i32 %arg2, { 2, 1, 0 } uselistorder label LBL_14, { 2, 3, 4, 0, 5, 1, 6 } }
0
BinRealVul
_modinit_6235
_modinit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1) %1 = load i64, i64* @gv_2, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %1, i64 0, i64* nonnull @gv_4, i64 1) %3 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) %4 = call i64 @FUNC(i64 4198736) %5 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0)) %6 = call i64 @FUNC(i64 4198736) ret i64 %6 uselistorder i64 (i8*)* @hook_add_event, { 1, 0 } }
0
BinRealVul
wdt_ib700_realize_1916
wdt_ib700_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 0, i64 4198829, i64 %1) %4 = inttoptr i64 %1 to i64* store i64 %3, i64* %4, align 8 %5 = load i64, i64* @gv_1, align 8 %6 = call i64 @FUNC(i64 %1) %7 = add i64 %1, 8 %8 = call i64 @FUNC(i64 %7, i64 %6, i64 %5, i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %9 = add i64 %1, 16 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %7, i64 %10, i64 0) ret i64 %11 }
0
BinRealVul
ath10k_htt_tx_free_18424
ath10k_htt_tx_free
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 28 %2 = call i64 @FUNC(i64 %1, i64 4198826, i64 %0) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %1, i32 0, i64 %6, i64 %10) br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) %14 = add i64 %0, 32 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = zext i1 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = call i64 @FUNC(i64 %14) ret i64 %20 uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6 } }
1
BinRealVul
wmv2_encode_init_15436
wmv2_encode_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* store i32 4, i32* %7, align 4 %8 = call i64 @FUNC(i64 14) %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
sid_buffer_hash_fn_12692
sid_buffer_hash_fn
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.03.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %1 to i8 store i32 0, i32* %storemerge4.reg2mem store i32 5381, i32* %sv_0.03.reg2mem br label LBL_1 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %4 = mul i32 %sv_0.03.reload, 33 %5 = urem i32 %storemerge4.reload, 256 %6 = zext i32 %5 to i64 %7 = add i64 %6, %2 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 %11 = add i32 %4, %10 %12 = mul i32 %storemerge4.reload, 16777216 %sext = add i32 %12, 16777216 %13 = ashr exact i32 %sext, 24 %14 = trunc i32 %13 to i8 %15 = icmp ult i8 %3, %14 store i32 %13, i32* %storemerge4.reg2mem store i32 %11, i32* %sv_0.03.reg2mem br i1 %15, label LBL_2, label LBL_1 LBL_2: %16 = zext i32 %11 to i64 ret i64 %16 uselistorder i32 %11, { 1, 0 } uselistorder i32 %storemerge4.reload, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32 16777216, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
crypto_ahash_report_11156
crypto_ahash_report
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = bitcast i64* %sv_0 to i8* %3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %2, i32 64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %1, i64 1, i64 80, i64* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %. = select i1 %8, i64 4294967206, i64 0 ret i64 %. }
1
BinRealVul
nfc_start_poll_5952
nfc_start_poll
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg2 to i32 %sext = mul i64 %arg3, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = call i64 @FUNC(i64 %3) %7 = and i64 %5, 4294967295 %8 = and i64 %arg2, 4294967295 %9 = call i64 @FUNC(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %8, i64 %7, i64 %2, i64 %1) %10 = icmp eq i32 %4, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = trunc i64 %5 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %14, label LBL_2, label LBL_8 LBL_2: %15 = call i64 @FUNC(i64 %3) %16 = add i64 %3, 8 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.0.reg2mem br i1 %19, label LBL_3, label LBL_7 LBL_3: %20 = add i64 %3, 9 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 1 store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.0.reg2mem br i1 %23, label LBL_4, label LBL_7 LBL_4: %24 = add i64 %3, 10 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 0 store i64* inttoptr (i32 -16 to i64*), i64** %sv_0.0.reg2mem br i1 %27, label LBL_5, label LBL_7 LBL_5: %28 = trunc i64 %3 to i32 %29 = and i64 %3, 4294967295 %30 = inttoptr i64 %29 to i64* %31 = icmp eq i32 %28, 0 %32 = icmp eq i1 %31, false store i64* %30, i64** %sv_0.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: store i8 1, i8* %25, align 1 %33 = add i64 %3, 24 %34 = inttoptr i64 %33 to i32* store i32 0, i32* %34, align 4 store i64* %30, i64** %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %35 = call i64 @FUNC(i64 %3) %36 = ptrtoint i64* %sv_0.0.reload to i64 %37 = and i64 %36, 4294967295 store i64 %37, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 4, 5, 3, 2, 7, 6, 8 } uselistorder i64** %sv_0.0.reg2mem, { 0, 4, 5, 1, 2, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i8 1, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 4, 3, 0, 1, 2 } }
0
BinRealVul
rv34_idct_add_c_16325
rv34_idct_add_c
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = ptrtoint i64* %sv_2 to i64 %3 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) %4 = call i64* @memset(i64* %arg3, i32 0, i32 64) %5 = add i64 %2, -96 store i64 0, i64* %indvars.iv.reg2mem store i64 %1, i64* %sv_0.01.reg2mem br label LBL_1 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %6 = mul i64 %indvars.iv.reload, 4 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %7, 32 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i32 %12, %9 %14 = mul i32 %13, 13 %15 = add i32 %14, 512 %16 = sub i32 %9, %12 %17 = mul i32 %16, 13 %18 = add i32 %17, 512 %19 = add i64 %7, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = mul i32 %21, 7 %23 = add i64 %7, 48 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = mul i32 %25, -17 %27 = add i32 %26, %22 %28 = mul i32 %21, 17 %29 = mul i32 %25, 7 %30 = add i32 %29, %28 %31 = inttoptr i64 %sv_0.01.reload to i8* %32 = load i8, i8* %31, align 1 %33 = add i32 %30, %15 %34 = ashr i32 %33, 10 %35 = zext i8 %32 to i32 %36 = add nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = add i64 %37, ptrtoint (i64* @gv_0 to i64) %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 store i8 %40, i8* %31, align 1 %41 = add i64 %sv_0.01.reload, 1 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = add i32 %27, %18 %45 = ashr i32 %44, 10 %46 = zext i8 %43 to i32 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = add i64 %48, ptrtoint (i64* @gv_0 to i64) %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 store i8 %51, i8* %42, align 1 %52 = add i64 %sv_0.01.reload, 2 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = sub i32 %18, %27 %56 = ashr i32 %55, 10 %57 = zext i8 %54 to i32 %58 = add nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = add i64 %59, ptrtoint (i64* @gv_0 to i64) %61 = inttoptr i64 %60 to i8* %62 = load i8, i8* %61, align 1 store i8 %62, i8* %53, align 1 %63 = add i64 %sv_0.01.reload, 3 %64 = inttoptr i64 %63 to i8* %65 = load i8, i8* %64, align 1 %66 = sub i32 %15, %30 %67 = ashr i32 %66, 10 %68 = zext i8 %65 to i32 %69 = add nsw i32 %67, %68 %70 = sext i32 %69 to i64 %71 = add i64 %70, ptrtoint (i64* @gv_0 to i64) %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 store i8 %73, i8* %64, align 1 %74 = add i64 %sv_0.01.reload, %arg2 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %74, i64* %sv_0.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %arg2 uselistorder i32 %30, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %sv_0.01.reload, { 4, 0, 1, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
fuse_make_bad_19186
fuse_make_bad
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 0, i64 %1) ret i64 %2 }
1
BinRealVul
carl9170_ps_beacon_4116
carl9170_ps_beacon
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_11, label LBL_1 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = call i64 @FUNC(i64 %9) %11 = and i64 %10, 4294967295 %12 = xor i64 %11, 1 %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 0 %15 = icmp eq i1 %14, false %16 = icmp ult i32 %arg3, 45 %or.cond = or i1 %16, %15 store i64 %12, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_11, label LBL_2 LBL_2: %17 = ptrtoint i64* %arg1 to i64 %18 = add i64 %17, 8 %19 = add i64 %9, 2 %20 = call i64 @FUNC(i64 %19, i64 %18) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %rax.0.reg2mem br i1 %23, label LBL_11, label LBL_3 LBL_3: %24 = add i64 %17, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_11, label LBL_4 LBL_4: %28 = load i64, i64* @gv_0, align 8 %29 = add i64 %17, 24 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = add i32 %arg3, -4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %9, i64 %32, i64 5) %34 = icmp eq i64 %33, 0 store i64 0, i64* %rax.0.reg2mem br i1 %34, label LBL_11, label LBL_5 LBL_5: %35 = add i64 %33, 1 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = icmp ult i8 %37, 2 store i64 %38, i64* %rax.0.reg2mem br i1 %39, label LBL_11, label LBL_6 LBL_6: %40 = add i64 %33, 2 %41 = add i64 %9, 4 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp eq i32 %43, 0 %45 = zext i1 %44 to i64 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i8 %48 = icmp eq i8 %47, 1 br i1 %48, label LBL_8, label LBL_7 LBL_7: %49 = inttoptr i64 %40 to i8* %50 = load i8, i8* %49, align 1 %51 = zext i8 %50 to i64 %52 = add nuw nsw i64 %51, 4294967295 %53 = select i1 %44, i32* inttoptr (i64 5 to i32*), i32* inttoptr (i64 4 to i32*) %54 = load i32, i32* %53, align 4 %55 = trunc i64 %52 to i32 %56 = ashr i32 %55, 31 %57 = and i64 %52, 4294967295 %58 = zext i32 %56 to i64 %59 = mul i64 %58, 4294967296 %60 = or i64 %59, %57 %61 = zext i32 %54 to i64 %62 = srem i64 %60, %61 %63 = trunc i64 %62 to i32 %64 = add i64 %17, 32 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 br label LBL_8 LBL_8: %66 = load i32, i32* %25, align 4 %67 = call i64 @FUNC(i64 %40, i64 %38, i32 %66) %68 = add i64 %33, 3 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = urem i8 %70, 2 %72 = icmp eq i8 %71, 0 %73 = icmp eq i1 %72, false %74 = zext i1 %73 to i64 %75 = urem i64 %67, 256 %76 = or i64 %75, %74 %77 = icmp eq i64 %76, 0 %78 = icmp eq i1 %77, false %79 = add i64 %17, 36 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 br i1 %78, label LBL_10, label LBL_9 LBL_9: %82 = and i32 %81, -2 store i32 %82, i32* %80, align 4 %83 = call i64 @FUNC(i64 %17) store i64 %83, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %84 = or i32 %81, 1 store i32 %84, i32* %80, align 4 store i64 %17, 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 %81, { 1, 0 } uselistorder i32* %80, { 1, 0, 2 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %17, { 0, 2, 3, 1, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7, 8 } uselistorder i64 1, { 3, 2, 0, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder label LBL_11, { 6, 7, 0, 1, 3, 2, 4, 5 } }
0
BinRealVul
do_cvttq_14214
do_cvttq
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i64 %sv_1.110.reg2mem = alloca i64 %storemerge511.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = lshr i64 %arg2, 63 %1 = udiv i64 %arg2, 4503599627370496 %2 = trunc i64 %1 to i32 %3 = urem i32 %2, 2048 %4 = and i64 %arg2, 4503599627370495 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = icmp eq i64 %4, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge511.reg2mem store i64 0, i64* %sv_1.110.reg2mem store i64 0, i64* %sv_1.3.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %9, label LBL_18, label LBL_9 LBL_2: %10 = icmp eq i32 %3, 2047 %11 = icmp eq i1 %10, false store i64 0, i64* %sv_1.3.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %11, label LBL_3, label LBL_18 LBL_3: %12 = or i64 %4, 4503599627370496 %13 = add nsw i32 %3, -1075 %14 = icmp slt i32 %13, 0 br i1 %14, label LBL_7, label LBL_4 LBL_4: %15 = icmp sgt i32 %13, 63 store i64 0, i64* %sv_1.0.reg2mem br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = urem i32 %13, 64 %17 = zext i32 %16 to i64 %storemerge = shl i64 %12, %17 store i64 %storemerge, i64* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %18 = icmp slt i32 %13, 11 %19 = icmp eq i64 %arg2, -4332462841530417152 %or.cond = or i1 %19, %18 %spec.select = select i1 %or.cond, i32 0, i32 6 store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_17 LBL_7: %20 = sub nsw i32 1075, %3 %21 = icmp sgt i32 %20, 62 store i64 1, i64* %storemerge511.reg2mem store i64 0, i64* %sv_1.110.reg2mem br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = urem i32 %20, 64 %23 = zext i32 %22 to i64 %storemerge3 = lshr i64 %12, %23 %24 = sub nsw i32 0, %20 %25 = urem i32 %24, 64 %26 = zext i32 %25 to i64 %storemerge4 = shl i64 %12, %26 %27 = icmp eq i64 %storemerge4, 0 store i64 %storemerge4, i64* %storemerge511.reg2mem store i64 %storemerge3, i64* %sv_1.110.reg2mem store i64 %storemerge3, i64* %sv_1.2.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %27, label LBL_17, label LBL_9 LBL_9: %sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem %28 = trunc i64 %arg3 to i32 %29 = icmp eq i32 %28, 3 br i1 %29, label LBL_16, label LBL_10 LBL_10: %30 = icmp sgt i32 %28, 3 store i64 %sv_1.110.reload, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem br i1 %30, label LBL_17, label LBL_11 LBL_11: store i64 %sv_1.110.reload, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem switch i32 %28, label LBL_17 [ i32 2, label LBL_15 i32 0, label LBL_12 ] LBL_12: %storemerge511.reload = load i64, i64* %storemerge511.reg2mem %31 = icmp eq i64 %storemerge511.reload, -9223372036854775808 %32 = icmp eq i1 %31, false br i1 %32, label LBL_14, label LBL_13 LBL_13: %33 = add i64 %sv_1.110.reload, 1 %34 = and i64 %33, -2 store i64 %34, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_17 LBL_14: %35 = icmp slt i64 %storemerge511.reload, 0 %36 = zext i1 %35 to i64 %spec.select8 = add i64 %sv_1.110.reload, %36 store i64 %spec.select8, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_17 LBL_15: %37 = xor i64 %0, 1 %38 = add i64 %sv_1.110.reload, %37 store i64 %38, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_17 LBL_16: %39 = add i64 %sv_1.110.reload, %0 store i64 %39, i64* %sv_1.2.reg2mem store i32 4, i32* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %40 = icmp eq i64 %0, 0 %41 = sub i64 0, %sv_1.2.reload %spec.select9 = select i1 %40, i64 %sv_1.2.reload, i64 %41 store i64 %spec.select9, i64* %sv_1.3.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_18 LBL_18: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem store i32 %sv_0.1.reload, i32* %arg1, align 4 ret i64 %sv_1.3.reload uselistorder i64 %sv_1.2.reload, { 1, 0 } uselistorder i64 %storemerge511.reload, { 1, 0 } uselistorder i64 %sv_1.110.reload, { 4, 3, 5, 2, 0, 1 } uselistorder i32 %20, { 2, 0, 1 } uselistorder i32 %13, { 1, 0, 2, 3 } uselistorder i64 %4, { 1, 0 } uselistorder i32 %3, { 3, 2, 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge511.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_1.110.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 7, 5, 2, 4, 1, 6, 8, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 7, 5, 2, 4, 1, 6, 8, 3 } uselistorder i32 4, { 5, 3, 1, 2, 0, 4 } uselistorder i32 3, { 1, 0 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 4503599627370496, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0, 3 } uselistorder label LBL_17, { 4, 5, 1, 3, 0, 6, 7, 2 } uselistorder label LBL_9, { 2, 1, 0 } }
1
BinRealVul
DefragIPv4NoDataTest_13472
DefragIPv4NoDataTest
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.045.reg2mem = alloca i64 %sv_0.0.ph.ph.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = icmp eq i64 %1, 0 store i64 0, i64* %sv_0.045.reg2mem br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 1, i64 12, i64 1, i64 0, i64 65, i64 0, i64 %1) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %sv_0.0.ph.ph.reg2mem br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = inttoptr i64 %1 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i64 1, i64* %sv_0.0.ph.ph.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_5, label LBL_7 LBL_4: %13 = call i64 @FUNC(i64 %1) store i64 0, i64* %sv_0.045.reg2mem br label LBL_6 LBL_5: %sv_0.0.ph.ph.reload = load i64, i64* %sv_0.0.ph.ph.reg2mem %14 = call i64 @FUNC(i64 %1) %15 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.ph.ph.reload, i64* %sv_0.045.reg2mem br label LBL_6 LBL_6: %sv_0.045.reload = load i64, i64* %sv_0.045.reg2mem %16 = call i64 @FUNC() store i64 %sv_0.045.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1, 3, 4 } uselistorder i64* %sv_0.045.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
virtio_gpu_object_create_11040
virtio_gpu_object_create
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg5, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 16) %2 = call i64 @FUNC(i64 16, i64 0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = call i64 @FUNC(i64 %arg2, i64 4096) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %2, i64 %5) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %rax.0.shrunk.reg2mem br i1 %11, label LBL_2, label LBL_4 LBL_2: %12 = trunc i64 %arg3 to i8 %13 = urem i64 %arg4, 256 %14 = icmp eq i8 %12, 0 %. = zext i1 %14 to i32 %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i8* store i8 0, i8* %16, align 1 %17 = call i64 @FUNC(i64 %2, i64 %13) %18 = add i64 %2, 12 %19 = add i64 %2, 8 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %5, i32 %., i64 %18, i64 0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 %20, i64* %rax.0.shrunk.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_3: store i64 %2, i64* %arg5, align 8 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %2, { 0, 3, 2, 1, 4, 5, 6 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
1
BinRealVul
format_class_9750
format_class
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 72057594037927936 %0 = ashr exact i64 %sext, 56 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem switch i32 %trunc, label LBL_7 [ i32 0, label LBL_8 i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_6 ] LBL_1: store i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_2: store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_3: store i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_4: store i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_5: store i64 ptrtoint ([6 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_6: store i64 ptrtoint ([5 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem br label LBL_8 LBL_7: %arg1.tr = trunc i64 %arg1 to i32 %sext3 = mul i32 %arg1.tr, 16777216 %2 = ashr exact i32 %sext3, 24 %3 = zext i32 %2 to i64 %4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_7 to i8*), i32 6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0), i64 %3) store i64 ptrtoint (i8** @gv_7 to 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 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i8** @gv_7, { 1, 0 } uselistorder i32 6, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_8, { 7, 1, 2, 3, 4, 5, 6, 0 } }
0
BinRealVul
drive_process_irp_query_directory_12902
drive_process_irp_query_directory
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %2 = load i32, i32* %0 %3 = load i8, i8* %1 %4 = load i32, i32* %0 %5 = icmp eq i64* %arg1, null %6 = icmp eq i64* %arg2, null %or.cond = or i1 %5, %6 store i64 1, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = add i64 %7, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 1, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_7 LBL_2: %13 = call i64 @FUNC(i64 %7) %14 = trunc i64 %13 to i32 %15 = icmp ult i32 %14, 32 store i64 2, i64* %rax.0.reg2mem br i1 %15, label LBL_7, label LBL_3 LBL_3: %16 = ptrtoint i64* %arg1 to i64 %17 = zext i32 %4 to i64 %18 = call i64 @FUNC(i64 %7, i64 %17) %19 = zext i8 %3 to i64 %20 = call i64 @FUNC(i64 %17, i64 %19) %21 = zext i32 %2 to i64 %22 = call i64 @FUNC(i64 %19, i64 %21) %23 = call i64 @FUNC(i64 %21, i64 23) %24 = call i64 @FUNC(i64 23) %25 = add i64 %7, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %16, i64 %28) %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = add i64 %7, 28 %33 = inttoptr i64 %32 to i32* store i32 3, i32* %33, align 4 %34 = add i64 %7, 8 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %36, i64 0) store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %38 = add i64 %7, 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %29, i32 %4, i8 %3, i64 %24, i64 %21, i64 %40) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 %7, i64* %rax.0.reg2mem br i1 %44, label LBL_7, label LBL_6 LBL_6: %45 = call i64 @FUNC() %46 = and i64 %45, 4294967295 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = add i64 %7, 28 %50 = inttoptr i64 %49 to i32* store i32 %48, i32* %50, align 4 store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 2, 4, 1, 5, 0, 3, 6, 7, 8, 9, 10 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 6, 5 } uselistorder i32* %0, { 1, 0 } uselistorder i64 (i64, i64)* @Stream_Read_UINT32, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3, 5, 4 } }
1
BinRealVul
ff_mp4_read_dec_config_descr_15800
ff_mp4_read_dec_config_descr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i64* %arg2 to i64 %7 = ptrtoint i64* %arg1 to i64 %8 = load i32, i32* %1 %9 = load i32, i32* %1 %10 = load i32, i32* %1 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %11 = call i64 @FUNC(i64 %5) %12 = call i64 @FUNC(i64 %5) %13 = call i64 @FUNC(i64 %5) %14 = call i64 @FUNC(i64 %5) %15 = call i64 @FUNC(i64 %5) %16 = call i64 @FUNC(i64 %6) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = call i64 @FUNC(i64 %7, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %20 = trunc i64 %11 to i32 %21 = load i64, i64* @gv_1, align 8 %22 = and i64 %11, 4294967295 %23 = call i64 @FUNC(i64 %21, i64 %22) %24 = trunc i64 %23 to i32 %25 = bitcast i64* %arg2 to i32* store i32 %24, i32* %25, align 4 %26 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i32 %20, i64 %4, i64 %3, i64 %2) %27 = bitcast i32* %sv_1 to i64* %28 = call i64 @FUNC(i64 %7, i64 %5, i64* nonnull %27) %29 = load i32, i32* %sv_1, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_13, label LBL_3 LBL_3: %32 = trunc i64 %28 to i32 %33 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i32 %32, i64 %5, i64 %3, i64 %2) %.off = add i32 %32, -1 %34 = icmp ult i32 %.off, 1073741824 store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_4, label LBL_13 LBL_4: %35 = load i64, i64* inttoptr (i64 add (i64 ptrtoint ([30 x i8]* @gv_3 to i64), i64 16) to i64*), align 16 %36 = call i64 @FUNC(i64 %35) %37 = and i64 %28, 4294967295 %38 = call i64 @FUNC(i64 ptrtoint ([30 x i8]* @gv_3 to i64), i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 store i64 12, i64* %rax.0.reg2mem br i1 %40, label LBL_5, label LBL_13 LBL_5: %41 = add nuw nsw i64 %37, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %5, i64 %43, i32 %32) %45 = trunc i64 %43 to i32 %46 = icmp eq i32 %45, 1 %47 = icmp eq i1 %46, false store i64 0, i64* %rax.0.reg2mem br i1 %47, label LBL_13, label LBL_6 LBL_6: store i32 0, i32* %sv_0, align 4 %48 = add i64 %43, 24 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = mul i32 %50, 8 %52 = zext i32 %51 to i64 %53 = add i64 %43, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = bitcast i32* %sv_0 to i64* %57 = call i64 @FUNC(i64* nonnull %56, i64 %55, i64 %52, i64 1) %58 = load i32, i32* %sv_0, align 4 %59 = add i64 %55, 4 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = icmp eq i32 %10, 29 %62 = icmp eq i1 %61, false br i1 %62, label LBL_8, label LBL_7 LBL_7: %63 = load i32, i32* bitcast (i32** @gv_4 to i32*), align 8 %64 = add i64 %55, 8 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 br label LBL_11 LBL_8: %66 = icmp eq i32 %9, 0 %67 = add i64 %55, 8 %68 = inttoptr i64 %67 to i32* br i1 %66, label LBL_10, label LBL_9 LBL_9: br label LBL_11 LBL_10: store i32 0, i32* %68, align 4 br label LBL_11 LBL_11: %69 = zext i32 %9 to i64 %70 = zext i32 %10 to i64 %71 = add nuw nsw i64 %69, 4 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = zext i32 %8 to i64 %75 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_5, i64 0, i64 0), i32 %73, i64 %70, i64 %74, i64 0) %76 = load i64, i64* @gv_6, align 8 %77 = call i64 @FUNC(i64 %76, i64 %70) %78 = trunc i64 %77 to i32 store i32 %78, i32* bitcast ([77 x i8]* @gv_5 to i32*), align 16 %79 = icmp eq i32 %10, 0 %80 = icmp eq i1 %79, false store i64 0, i64* %rax.0.reg2mem br i1 %80, label LBL_13, label LBL_12 LBL_12: %81 = inttoptr i64 %70 to i32* store i32 1, i32* %81, align 4 store i64 0, 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 %55, { 1, 0, 2, 3 } uselistorder i64 %43, { 1, 0, 2, 3 } uselistorder i32 %32, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 2, 0 } uselistorder i32 %10, { 2, 0, 1 } uselistorder i64 %7, { 1, 2, 3, 4, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 6, 1, 7 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 ptrtoint ([30 x i8]* @gv_3 to i64), { 1, 0 } uselistorder [30 x i8]* @gv_3, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @av_dlog, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ff_codec_get_id, { 1, 0 } uselistorder i64 4294967295, { 2, 0, 3, 1, 4 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 (i64)* @avio_r8, { 1, 0 } uselistorder label LBL_13, { 3, 2, 1, 4, 5, 0, 6 } }
1
BinRealVul
ctnetlink_create_conntrack_7671
ctnetlink_create_conntrack
define i64 @FUNC(i64 %arg1, i16 %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg4 to i64 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %arg1, i16 %arg2, i64 %1, i64 %0, i64 0) %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 4294967284) store i64 %6, i64* %rax.0.reg2mem br label LBL_31 LBL_2: %7 = icmp eq i64* %arg4, null store i64 4294967274, i64* %sv_0.1.reg2mem br i1 %7, label LBL_30, label LBL_3 LBL_3: %8 = ptrtoint i64* %arg3 to i64 %9 = call i64 @FUNC(i64 %1) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %sext2 = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext2, 32 %13 = inttoptr i64 %2 to i64* store i64 %12, i64* %13, align 8 %14 = mul nsw i64 %12, 100 %15 = load i64, i64* @gv_0, align 8 %16 = add i64 %14, %15 store i64 %16, i64* %13, align 8 %17 = call i64 @FUNC() %18 = add i64 %8, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_11, label LBL_4 LBL_4: store i64 0, i64* %sv_1, align 8 %22 = load i64, i64* %19, align 8 %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_1) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 store i64 %23, i64* %sv_0.0.reg2mem br i1 %25, label LBL_29, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %2) %27 = call i64 @FUNC(i64 %2) %28 = and i64 %27, 4294967295 %29 = load i64, i64* %sv_1, align 8 %30 = and i64 %26, 4294967295 %31 = call i64 @FUNC(i64 %29, i64 %28, i64 %30) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_9, label LBL_6 LBL_6: %34 = call i64 @FUNC() %35 = load i64, i64* %sv_1, align 8 %36 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %30, i64 %28, i64 0, i64 %arg6) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 %39 = icmp eq i1 %38, false store i64 4294967201, i64* %sv_0.1.reg2mem br i1 %39, label LBL_7, label LBL_30 LBL_7: %40 = call i64 @FUNC() %41 = call i64 @FUNC(i64 %2) %42 = call i64 @FUNC(i64 %2) %43 = load i64, i64* %sv_1, align 8 %44 = and i64 %41, 4294967295 %45 = and i64 %42, 4294967295 %46 = call i64 @FUNC(i64 %43, i64 %45, i64 %44) %47 = icmp eq i64 %46, 0 store i64 4294967285, i64* %sv_0.0.reg2mem br i1 %47, label LBL_8, label LBL_29 LBL_8: %48 = call i64 @FUNC() store i64 4294967201, i64* %sv_0.1.reg2mem br label LBL_30 LBL_9: %49 = call i64 @FUNC(i64 %2, i64 0) %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %51, label LBL_10, label LBL_29 LBL_10: %52 = inttoptr i64 %49 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53, i64 %31) br label LBL_12 LBL_11: %55 = call i64 @FUNC(i64 %2, i64 0, i64 0) %56 = trunc i64 %55 to i32 %57 = icmp slt i32 %56, 0 store i64 %55, i64* %sv_0.0.reg2mem br i1 %57, label LBL_29, label LBL_12 LBL_12: %58 = add i64 %8, 16 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_14, label LBL_13 LBL_13: %63 = add i64 %8, 24 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = icmp eq i64 %65, 0 br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = call i64 @FUNC(i64 %2, i64 %8) %68 = trunc i64 %67 to i32 %69 = icmp slt i32 %68, 0 store i64 %67, i64* %sv_0.0.reg2mem br i1 %69, label LBL_29, label LBL_15 LBL_15: %70 = call i64 @FUNC(i64 %2, i64 0) %71 = call i64 @FUNC(i64 %2, i64 0, i64 0, i64 0) %72 = add i64 %2, 8 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = or i32 %74, 1 store i32 %75, i32* %73, align 4 %76 = add i64 %8, 32 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = icmp eq i64 %78, 0 br i1 %79, label LBL_17, label LBL_16 LBL_16: %80 = call i64 @FUNC(i64 %2, i64 %8) %81 = trunc i64 %80 to i32 %82 = icmp slt i32 %81, 0 store i64 %80, i64* %sv_0.0.reg2mem br i1 %82, label LBL_29, label LBL_17 LBL_17: %83 = add i64 %8, 40 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 %86 = icmp eq i64 %85, 0 %87 = icmp eq i1 %86, false br i1 %87, label LBL_19, label LBL_18 LBL_18: %88 = add i64 %8, 48 %89 = inttoptr i64 %88 to i64* %90 = load i64, i64* %89, align 8 %91 = icmp eq i64 %90, 0 br i1 %91, label LBL_20, label LBL_19 LBL_19: %92 = call i64 @FUNC(i64 %2, i64 %8) %93 = trunc i64 %92 to i32 %94 = icmp slt i32 %93, 0 store i64 %92, i64* %sv_0.0.reg2mem br i1 %94, label LBL_29, label LBL_20 LBL_20: %95 = add i64 %8, 56 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = icmp eq i64 %97, 0 br i1 %98, label LBL_22, label LBL_21 LBL_21: %99 = call i64 @FUNC(i64 %2, i64 %8) %100 = trunc i64 %99 to i32 %101 = icmp slt i32 %100, 0 store i64 %99, i64* %sv_0.0.reg2mem br i1 %101, label LBL_29, label LBL_22 LBL_22: %102 = add i64 %8, 64 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = icmp eq i64 %104, 0 br i1 %105, label LBL_24, label LBL_23 LBL_23: %106 = call i64 @FUNC(i64 %104) %107 = and i64 %106, 4294967295 %108 = call i64 @FUNC(i64 %107) %109 = trunc i64 %108 to i32 %110 = add i64 %2, 12 %111 = inttoptr i64 %110 to i32* store i32 %109, i32* %111, align 4 br label LBL_24 LBL_24: %112 = add i64 %8, 72 %113 = inttoptr i64 %112 to i64* %114 = load i64, i64* %113, align 8 %115 = icmp eq i64 %114, 0 br i1 %115, label LBL_28, label LBL_25 LBL_25: %116 = urem i64 %arg6, 256 %117 = call i64 @FUNC(i64 %8, i64* nonnull %sv_1, i64 9, i64 %116) %118 = trunc i64 %117 to i32 %119 = icmp slt i32 %118, 0 store i64 %117, i64* %sv_0.0.reg2mem br i1 %119, label LBL_29, label LBL_26 LBL_26: %120 = zext i16 %arg2 to i64 %121 = call i64 @FUNC(i64 %arg1, i64 %120, i64* nonnull %sv_1) %122 = icmp eq i64 %121, 0 %123 = icmp eq i1 %122, false store i64 4294967294, i64* %sv_0.0.reg2mem br i1 %123, label LBL_27, label LBL_29 LBL_27: %124 = call i64 @FUNC(i64 %121) %125 = call i64 @FUNC(i64 2, i64 %72) %126 = add i64 %2, 16 %127 = inttoptr i64 %126 to i64* store i64 %124, i64* %127, align 8 br label LBL_28 LBL_28: %128 = call i64 @FUNC(i64 %2) %129 = call i64 @FUNC(i64 %2) %130 = call i64 @FUNC() store i64 %2, i64* %rax.0.reg2mem br label LBL_31 LBL_29: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %131 = call i64 @FUNC() store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_30 LBL_30: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %132 = call i64 @FUNC(i64 %2) %133 = and i64 %sv_0.1.reload, 4294967295 %134 = call i64 @FUNC(i64 %133) store i64 %134, i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0, 2, 4, 3, 5, 7, 6, 9, 8, 10, 12, 11, 13 } uselistorder i64 %2, { 19, 0, 10, 11, 9, 8, 7, 12, 6, 13, 14, 15, 16, 17, 3, 1, 2, 4, 5, 18, 20 } uselistorder i64* %sv_1, { 0, 1, 3, 4, 5, 2, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 7, 6, 8, 5, 9, 10, 2, 3, 4 } uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967201, { 1, 0 } uselistorder i64 ()* @rcu_read_unlock, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @__nf_conntrack_helper_find, { 1, 0 } uselistorder i64 (i64)* @nf_ct_l3num, { 1, 0 } uselistorder i64 (i64)* @nf_ct_protonum, { 1, 0 } uselistorder i64 ()* @rcu_read_lock, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64)* @ntohl, { 1, 0 } uselistorder i64 (i64)* @nla_get_be32, { 1, 0 } uselistorder i64 (i64)* @ERR_PTR, { 1, 0 } uselistorder label LBL_30, { 2, 3, 0, 1 } uselistorder label LBL_29, { 0, 3, 4, 5, 6, 7, 8, 1, 2, 9 } }
1
BinRealVul
mpsub_probe_16532
mpsub_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = sext i32 %3 to i64 %5 = add i64 %4, %0 %6 = icmp ugt i64 %5, %0 store i64 %0, i64* %sv_0.01.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %7 = inttoptr i64 %sv_0.01.reload to i64* %8 = call i32 @memcmp(i64* %7, i64* bitcast ([12 x i8]* @gv_0 to i64*), i32 11) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 50, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = call i32 @memcmp(i64* %7, i64* bitcast ([8 x i8]* @gv_1 to i64*), i32 7) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 16, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %14 = inttoptr i64 %sv_0.01.reload to i8* %15 = call i32 @strcspn(i8* %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0)) %16 = sext i32 %15 to i64 %17 = add i64 %sv_0.01.reload, 1 %18 = add i64 %17, %16 %19 = icmp ult i64 %18, %5 store i64 %18, i64* %sv_0.01.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_1, label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder label LBL_4, { 2, 1, 0, 3 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
fanout_release_4121
fanout_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %2, align 8 %6 = call i64 @FUNC(i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %3, 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %3, 24 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %3) br label LBL_3 LBL_3: %14 = call i64 @FUNC(i64* nonnull @gv_0) %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %17, i64 4198945) store i64 %19, 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 %3, { 2, 1, 0, 3, 4 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
ff_eac3_decode_transform_coeffs_aht_ch_44
ff_eac3_decode_transform_coeffs_aht_ch
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.5.reg2mem = alloca i32 %sv_1.1.off0.reg2mem = alloca i32 %storemerge19.reg2mem = alloca i32 %indvars.iv57.reg2mem = alloca i64 %storemerge21.reg2mem = alloca i32 %sv_0.4.reg2mem = alloca i32 %indvars.iv54.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.646.reg2mem = alloca i32 %storemerge47.reg2mem = alloca i32 %.reg2mem89 = alloca i64 %.pre-phi65.reg2mem = alloca i32* %.pre-phi71.reg2mem = alloca i32* %.pre-phi.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %.reg2mem87 = alloca i32 %sv_3.0.reg2mem = alloca i64 %sv_0.348.reg2mem = alloca i32 %sv_2.149.reg2mem = alloca i32 %storemerge3050.reg2mem = alloca i32 %.reg2mem85 = alloca i64 %.reg2mem83 = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem81 = alloca i32 %sv_0.151.reg2mem = alloca i32 %storemerge2552.reg2mem = alloca i32 %.reg2mem79 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %4 = ptrtoint i64* %sv_4 to i64 %sext = mul i64 %arg2, 4294967296 %5 = add i64 %3, 14360 %6 = call i64 @FUNC(i64 %5, i64 2) %7 = trunc i64 %6 to i32 %8 = icmp sgt i32 %7, 1 %9 = select i1 %8, i32 17, i32 12 %10 = icmp ne i32 %7, 0 %11 = icmp eq i32 %7, 1 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %13 = ashr exact i64 %sext, 30 %14 = add i64 %13, %3 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %3, 8 %18 = add i64 %17, %13 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %20 to i64 %22 = sext i32 %16 to i64 %23 = icmp slt i64 %22, %21 store i64 %21, i64* %.pre-phi.reg2mem store i32* %19, i32** %.pre-phi71.reg2mem store i32* %15, i32** %.pre-phi65.reg2mem br i1 %23, label LBL_2, label LBL_16 LBL_2: %24 = ashr exact i64 %sext, 24 %25 = add i64 %3, 16 %26 = add i32 %7, 31 %27 = urem i32 %26, 32 %28 = icmp eq i32 %27, 0 %29 = add i64 %4, -1104 store i32 %20, i32* %.reg2mem store i64 %22, i64* %.reg2mem79 store i32 %16, i32* %storemerge2552.reg2mem store i32 0, i32* %sv_0.151.reg2mem br label LBL_3 LBL_3: %sv_0.151.reload = load i32, i32* %sv_0.151.reg2mem %storemerge2552.reload = load i32, i32* %storemerge2552.reg2mem %.reload80 = load i64, i64* %.reg2mem79 %.reload = load i32, i32* %.reg2mem %30 = add nsw i64 %.reload80, %24 %31 = mul i64 %30, 4 %32 = add i64 %25, %31 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp sgt i32 %34, 7 %36 = icmp ugt i32 %9, %34 %or.cond36 = icmp eq i1 %35, %36 store i32 %.reload, i32* %.reg2mem81 store i32 %sv_0.151.reload, i32* %sv_0.0.reg2mem br i1 %or.cond36, label LBL_4, label LBL_5 LBL_4: %37 = call i64 @FUNC(i64 %5) %38 = zext i32 %sv_0.151.reload to i64 %39 = add i32 %sv_0.151.reload, 1 %40 = trunc i64 %37 to i32 %41 = shl i32 %40, %27 %42 = zext i32 %41 to i64 %rdx.0 = select i1 %28, i64 %37, i64 %42 %sext24 = mul i64 %38, 4294967296 %43 = trunc i64 %rdx.0 to i32 %44 = ashr exact i64 %sext24, 30 %45 = add i64 %29, %44 %46 = inttoptr i64 %45 to i32* store i32 %43, i32* %46, align 4 %.pre = load i32, i32* %19, align 4 store i32 %.pre, i32* %.reg2mem81 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload82 = load i32, i32* %.reg2mem81 %47 = add i32 %storemerge2552.reload, 1 %48 = zext i32 %.reload82 to i64 %49 = sext i32 %47 to i64 %50 = icmp slt i64 %49, %48 store i32 %.reload82, i32* %.reg2mem store i64 %49, i64* %.reg2mem79 store i32 %47, i32* %storemerge2552.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.151.reg2mem store i64 %48, i64* %.pre-phi.reg2mem store i32* %19, i32** %.pre-phi71.reg2mem store i32* %15, i32** %.pre-phi65.reg2mem br i1 %50, label LBL_3, label LBL_16 LBL_6: %51 = icmp eq i32 %7, 2 %52 = icmp eq i1 %51, false %.pre61 = ashr exact i64 %sext, 30 %.pre62 = add i64 %.pre61, %3 %.pre64 = inttoptr i64 %.pre62 to i32* br i1 %52, label LBL_6.LBL_16_crit_edge, label LBL_8 LBL_7: %.pre66 = add i64 %3, 8 %.pre68 = add i64 %.pre66, %.pre61 %.pre70 = inttoptr i64 %.pre68 to i32* %.pre77 = load i32, i32* %.pre70, align 4 %.pre78 = zext i32 %.pre77 to i64 store i64 %.pre78, i64* %.pre-phi.reg2mem store i32* %.pre70, i32** %.pre-phi71.reg2mem store i32* %.pre64, i32** %.pre-phi65.reg2mem br label LBL_16 LBL_8: %53 = load i32, i32* %.pre64, align 4 %54 = add i64 %3, 8 %55 = add i64 %54, %.pre61 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = sext i32 %53 to i64 %60 = icmp slt i64 %59, %58 store i64 %58, i64* %.pre-phi.reg2mem store i32* %56, i32** %.pre-phi71.reg2mem store i32* %.pre64, i32** %.pre-phi65.reg2mem br i1 %60, label LBL_9, label LBL_16 LBL_9: %61 = ashr exact i64 %sext, 24 %62 = add i64 %3, 16 %63 = add i64 %3, 14352 %64 = inttoptr i64 %63 to i64* %65 = add i64 %4, -1104 store i32 %57, i32* %.reg2mem83 store i64 %59, i64* %.reg2mem85 store i32 %53, i32* %storemerge3050.reg2mem store i32 2, i32* %sv_2.149.reg2mem store i32 0, i32* %sv_0.348.reg2mem br label LBL_10 LBL_10: %sv_0.348.reload = load i32, i32* %sv_0.348.reg2mem %sv_2.149.reload = load i32, i32* %sv_2.149.reg2mem %storemerge3050.reload = load i32, i32* %storemerge3050.reg2mem %.reload86 = load i64, i64* %.reg2mem85 %.reload84 = load i32, i32* %.reg2mem83 %66 = add nsw i64 %.reload86, %61 %67 = mul i64 %66, 4 %68 = add i64 %62, %67 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %.off = add i32 %70, -8 %71 = icmp ugt i32 %.off, 8 store i32 %.reload84, i32* %.reg2mem87 store i32 %sv_0.348.reload, i32* %sv_0.2.reg2mem store i32 %sv_2.149.reload, i32* %sv_2.0.reg2mem br i1 %71, label LBL_15, label LBL_11 LBL_11: %72 = add i32 %sv_2.149.reload, 1 %73 = icmp eq i32 %sv_2.149.reload, 2 %74 = icmp eq i1 %73, false store i32 %.reload84, i32* %.reg2mem87 store i32 %sv_0.348.reload, i32* %sv_0.2.reg2mem store i32 %72, i32* %sv_2.0.reg2mem br i1 %74, label LBL_15, label LBL_12 LBL_12: %75 = call i64 @FUNC(i64 %5, i64 5) %76 = trunc i64 %75 to i32 %77 = icmp slt i32 %76, 27 store i64 %75, i64* %sv_3.0.reg2mem br i1 %77, label LBL_14, label LBL_13 LBL_13: %78 = load i64, i64* %64, align 8 %79 = call i64 @FUNC(i64 %78, i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %.reload86, i64 %2, i64 %1) store i64 26, i64* %sv_3.0.reg2mem br label LBL_14 LBL_14: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %80 = add i32 %sv_0.348.reload, 1 %sext39 = mul i64 %sv_3.0.reload, 4294967296 %81 = ashr exact i64 %sext39, 32 %82 = mul nsw i64 %81, 12 %83 = add i64 %82, ptrtoint (i32** @gv_1 to i64) %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = sext i32 %sv_0.348.reload to i64 %87 = mul i64 %86, 4 %88 = add i64 %87, %65 %89 = inttoptr i64 %88 to i32* store i32 %85, i32* %89, align 4 %90 = add i32 %sv_0.348.reload, 2 %91 = add i64 %82, ptrtoint (i32** @gv_2 to i64) %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = sext i32 %80 to i64 %95 = mul i64 %94, 4 %96 = add i64 %95, %65 %97 = inttoptr i64 %96 to i32* store i32 %93, i32* %97, align 4 %98 = add i32 %sv_0.348.reload, 3 %99 = add i64 %82, ptrtoint (i32** @gv_3 to i64) %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = sext i32 %90 to i64 %103 = mul i64 %102, 4 %104 = add i64 %103, %65 %105 = inttoptr i64 %104 to i32* store i32 %101, i32* %105, align 4 %.pre60 = load i32, i32* %56, align 4 store i32 %.pre60, i32* %.reg2mem87 store i32 %98, i32* %sv_0.2.reg2mem store i32 0, i32* %sv_2.0.reg2mem br label LBL_15 LBL_15: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %.reload88 = load i32, i32* %.reg2mem87 %106 = add i32 %storemerge3050.reload, 1 %107 = zext i32 %.reload88 to i64 %108 = sext i32 %106 to i64 %109 = icmp slt i64 %108, %107 store i32 %.reload88, i32* %.reg2mem83 store i64 %108, i64* %.reg2mem85 store i32 %106, i32* %storemerge3050.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.149.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.348.reg2mem store i64 %107, i64* %.pre-phi.reg2mem store i32* %56, i32** %.pre-phi71.reg2mem store i32* %.pre64, i32** %.pre-phi65.reg2mem br i1 %109, label LBL_10, label LBL_16 LBL_16: %.pre-phi65.reload = load i32*, i32** %.pre-phi65.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %110 = load i32, i32* %.pre-phi65.reload, align 4 %111 = sext i32 %110 to i64 %112 = icmp sgt i64 %.pre-phi.reload, %111 store i64 %.pre-phi.reload, i64* %.lcssa.reg2mem br i1 %112, label LBL_17, label LBL_36 LBL_17: %.pre-phi71.reload = load i32*, i32** %.pre-phi71.reg2mem %113 = ashr exact i64 %sext, 24 %114 = add i64 %3, 16 %115 = add i64 %3, 14368 %116 = ashr exact i64 %sext, 32 %117 = ashr exact i64 %sext, 31 %118 = add nsw i64 %117, %116 %119 = mul i64 %118, 512 %120 = add i64 %3, 2064 %121 = icmp ne i32 %7, 3 %122 = add i64 %4, -1104 %123 = mul i64 %118, 2048 %124 = add i64 %123, %120 store i64 %111, i64* %.reg2mem89 store i32 %110, i32* %storemerge47.reg2mem store i32 0, i32* %sv_0.646.reg2mem br label LBL_18 LBL_18: %sv_0.646.reload = load i32, i32* %sv_0.646.reg2mem %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %.reload90 = load i64, i64* %.reg2mem89 %125 = add nsw i64 %.reload90, %113 %126 = mul i64 %125, 4 %127 = add i64 %114, %126 %128 = inttoptr i64 %127 to i32* %129 = load i32, i32* %128, align 4 %130 = icmp eq i32 %129, 0 %131 = icmp eq i1 %130, false br i1 %131, label LBL_21, label LBL_19 LBL_19: %132 = mul nsw i64 %.reload90, 6 %133 = add nsw i64 %132, %119 store i64 0, i64* %indvars.iv.reg2mem br label LBL_20 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %134 = call i64 @FUNC(i64 %115) %135 = trunc i64 %134 to i32 %136 = urem i32 %135, 8388608 %137 = add nsw i32 %136, -4194304 %138 = add nsw i64 %133, %indvars.iv.reload %139 = mul i64 %138, 4 %140 = add i64 %139, %120 %141 = inttoptr i64 %140 to i32* store i32 %137, i32* %141, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 6 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.646.reload, i32* %sv_0.5.reg2mem br i1 %exitcond, label LBL_35, label LBL_20 LBL_21: %142 = sext i32 %129 to i64 %143 = mul i64 %142, 4 %144 = add i64 %143, ptrtoint (i32** @gv_4 to i64) %145 = inttoptr i64 %144 to i32* %146 = load i32, i32* %145, align 4 %147 = icmp sgt i32 %129, 7 br i1 %147, label LBL_24, label LBL_22 LBL_22: %148 = zext i32 %146 to i64 %149 = call i64 @FUNC(i64 %5, i64 %148) %sext32 = mul i64 %149, 4294967296 %150 = ashr exact i64 %sext32, 32 %151 = mul nsw i64 %142, 1536 %152 = mul nsw i64 %150, 6 %153 = add nsw i64 %152, %151 %154 = mul nsw i64 %.reload90, 6 %155 = add nsw i64 %154, %119 store i64 0, i64* %indvars.iv54.reg2mem br label LBL_23 LBL_23: %indvars.iv54.reload = load i64, i64* %indvars.iv54.reg2mem %156 = add nsw i64 %153, %indvars.iv54.reload %157 = mul i64 %156, 4 %158 = add i64 %157, ptrtoint (i32** @gv_5 to i64) %159 = inttoptr i64 %158 to i32* %160 = load i32, i32* %159, align 4 %161 = mul i32 %160, 256 %162 = add nsw i64 %155, %indvars.iv54.reload %163 = mul i64 %162, 4 %164 = add i64 %163, %120 %165 = inttoptr i64 %164 to i32* store i32 %161, i32* %165, align 4 %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54.reload, 1 %exitcond56 = icmp eq i64 %indvars.iv.next55, 6 store i64 %indvars.iv.next55, i64* %indvars.iv54.reg2mem store i32 %sv_0.646.reload, i32* %sv_0.5.reg2mem br i1 %exitcond56, label LBL_35, label LBL_23 LBL_24: %166 = icmp slt i32 %129, %9 %or.cond37 = icmp eq i1 %121, %166 store i32 %sv_0.646.reload, i32* %sv_0.4.reg2mem store i32 0, i32* %storemerge21.reg2mem br i1 %or.cond37, label LBL_25, label LBL_26 LBL_25: %167 = add i32 %sv_0.646.reload, 1 %168 = sext i32 %sv_0.646.reload to i64 %169 = mul i64 %168, 4 %170 = add i64 %122, %169 %171 = inttoptr i64 %170 to i32* %172 = load i32, i32* %171, align 4 store i32 %167, i32* %sv_0.4.reg2mem store i32 %172, i32* %storemerge21.reg2mem br label LBL_26 LBL_26: %storemerge21.reload = load i32, i32* %storemerge21.reg2mem %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %173 = sub i32 %146, %storemerge21.reload %174 = zext i32 %173 to i64 %175 = icmp eq i32 %storemerge21.reload, 0 %176 = add i32 %173, 31 %177 = urem i32 %176, 32 %178 = shl i32 -1, %177 %179 = add i32 %146, -2 %180 = add i32 %179, %storemerge21.reload %181 = zext i32 %180 to i64 %182 = sub i32 24, %180 %183 = urem i32 %182, 32 %184 = sub i32 23, %storemerge21.reload %185 = urem i32 %184, 32 %186 = shl i32 1, %185 %187 = add i32 %129, -8 %188 = add i32 %storemerge21.reload, -1 %189 = sext i32 %188 to i64 %190 = sext i32 %187 to i64 %191 = mul i64 %190, 4 %192 = add nsw i64 %191, %189 %193 = mul i64 %192, 4 %194 = add i64 %193, ptrtoint (i32** @gv_6 to i64) %195 = inttoptr i64 %194 to i32* %196 = add i64 %193, ptrtoint (i32** @gv_7 to i64) %197 = inttoptr i64 %196 to i32* %198 = sub i32 24, %146 %199 = urem i32 %198, 32 %200 = add i64 %191, ptrtoint (i32** @gv_8 to i64) %201 = inttoptr i64 %200 to i32* %202 = mul nsw i64 %.reload90, 6 %203 = add nsw i64 %202, %119 store i64 0, i64* %indvars.iv57.reg2mem br label LBL_27 LBL_27: %indvars.iv57.reload = load i64, i64* %indvars.iv57.reg2mem %204 = call i64 @FUNC(i64 %5, i64 %174) %205 = trunc i64 %204 to i32 br i1 %175, label LBL_33, label LBL_28 LBL_28: %206 = icmp eq i32 %178, %205 %207 = icmp eq i1 %206, false br i1 %207, label LBL_29, label LBL_30 LBL_29: %208 = shl i32 %205, %199 store i32 %208, i32* %sv_1.1.off0.reg2mem br label LBL_34 LBL_30: %209 = call i64 @FUNC(i64 %5, i64 %181) %210 = trunc i64 %209 to i32 %211 = shl i32 %210, %183 %212 = icmp slt i32 %211, 0 store i32 %186, i32* %storemerge19.reg2mem br i1 %212, label LBL_31, label LBL_32 LBL_31: %213 = load i32, i32* %195, align 4 %214 = mul i32 %213, 256 store i32 %214, i32* %storemerge19.reg2mem br label LBL_32 LBL_32: %storemerge14 = sext i32 %211 to i64 %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %215 = load i32, i32* %197, align 4 %216 = sext i32 %215 to i64 %217 = mul nsw i64 %216, %storemerge14 %218 = udiv i64 %217, 32768 %219 = trunc i64 %218 to i32 %220 = add i32 %storemerge19.reload, %211 %221 = add i32 %220, %219 store i32 %221, i32* %sv_1.1.off0.reg2mem br label LBL_34 LBL_33: %222 = shl i32 %205, %199 %sv_1.0 = sext i32 %222 to i64 %223 = load i32, i32* %201, align 4 %224 = sext i32 %223 to i64 %225 = mul nsw i64 %224, %sv_1.0 %226 = udiv i64 %225, 32768 %227 = trunc i64 %226 to i32 %228 = add i32 %222, %227 store i32 %228, i32* %sv_1.1.off0.reg2mem br label LBL_34 LBL_34: %sv_1.1.off0.reload = load i32, i32* %sv_1.1.off0.reg2mem %229 = add nsw i64 %203, %indvars.iv57.reload %230 = mul i64 %229, 4 %231 = add i64 %230, %120 %232 = inttoptr i64 %231 to i32* store i32 %sv_1.1.off0.reload, i32* %232, align 4 %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57.reload, 1 %exitcond59 = icmp eq i64 %indvars.iv.next58, 6 store i64 %indvars.iv.next58, i64* %indvars.iv57.reg2mem store i32 %sv_0.4.reload, i32* %sv_0.5.reg2mem br i1 %exitcond59, label LBL_35, label LBL_27 LBL_35: %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem %233 = mul nsw i64 %.reload90, 24 %234 = add i64 %124, %233 %235 = call i64 @FUNC(i64 %234) %236 = add i32 %storemerge47.reload, 1 %237 = load i32, i32* %.pre-phi71.reload, align 4 %238 = zext i32 %237 to i64 %239 = sext i32 %236 to i64 %240 = icmp slt i64 %239, %238 store i64 %239, i64* %.reg2mem89 store i32 %236, i32* %storemerge47.reg2mem store i32 %sv_0.5.reload, i32* %sv_0.646.reg2mem store i64 %238, i64* %.lcssa.reg2mem br i1 %240, label LBL_18, label LBL_36 LBL_36: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32 %205, { 1, 0, 2 } uselistorder i32 %199, { 1, 0 } uselistorder i64 %193, { 1, 0 } uselistorder i32 %storemerge21.reload, { 2, 3, 4, 1, 0 } uselistorder i32 %146, { 1, 0, 2, 3 } uselistorder i64 %142, { 1, 0 } uselistorder i32 %129, { 1, 0, 2, 3, 4 } uselistorder i64 %.reload90, { 3, 2, 1, 0, 4 } uselistorder i32 %sv_0.646.reload, { 4, 3, 2, 1, 0 } uselistorder i64 %120, { 1, 2, 3, 0 } uselistorder i64 %119, { 2, 1, 0 } uselistorder i32 %.reload88, { 1, 0 } uselistorder i32 %sv_2.149.reload, { 2, 1, 0 } uselistorder i32 %sv_0.348.reload, { 5, 4, 3, 2, 0, 1 } uselistorder i32* %56, { 0, 2, 1, 3 } uselistorder i32* %.pre64, { 0, 2, 3, 1 } uselistorder i64 %.pre61, { 1, 2, 0 } uselistorder i32 %.reload82, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %sv_0.151.reload, { 2, 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i32* %19, { 0, 2, 1, 3 } uselistorder i64 %13, { 1, 0 } uselistorder i32 %7, { 1, 4, 2, 0, 3, 5 } uselistorder i64 %5, { 2, 3, 1, 0, 4, 5 } uselistorder i64 %sext, { 3, 4, 2, 5, 6, 1, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %3, { 3, 9, 4, 7, 5, 8, 2, 0, 6, 10, 1, 11 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem79, { 1, 0, 2 } uselistorder i32* %storemerge2552.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.151.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem83, { 1, 0, 2 } uselistorder i64* %.reg2mem85, { 1, 0, 2 } uselistorder i32* %storemerge3050.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.149.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.348.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 4, 3, 1, 5 } uselistorder i32** %.pre-phi71.reg2mem, { 0, 2, 4, 3, 1, 5 } uselistorder i32** %.pre-phi65.reg2mem, { 0, 2, 4, 3, 1, 5 } uselistorder i64* %.reg2mem89, { 1, 0, 2 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.646.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv54.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv57.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge19.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.1.off0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.5.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @get_sbits, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 6, { 0, 3, 1, 4, 5, 2, 6 } uselistorder i32 3, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 -8, { 1, 0 } uselistorder i32 2, { 1, 2, 0, 3 } uselistorder i32 7, { 1, 0 } uselistorder i64 4, { 0, 1, 2, 3, 4, 5, 7, 6, 8, 9, 10, 11, 12, 13 } uselistorder i32 31, { 1, 0 } uselistorder i64 16, { 2, 0, 1 } uselistorder i64 24, { 2, 3, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder i1 false, { 1, 2, 3, 4, 0 } uselistorder i32 0, { 5, 6, 0, 7, 1, 2, 3, 4, 8, 9 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder label LBL_35, { 2, 1, 0 } uselistorder label LBL_34, { 1, 2, 0 } uselistorder label LBL_32, { 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 3, 4, 0, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vp3_init_thread_copy_18756
vp3_init_thread_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 0, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 0, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 0, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 0, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 ret i64 0 }
1
BinRealVul
dma_memory_set_15249
dma_memory_set
define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 %arg2, i8 %arg3, i64 %arg4) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %5 = zext i8 %arg3 to i64 %6 = call i64 @FUNC(i64 %arg2, i64 %5, i64 %arg4) 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 } }
1
BinRealVul
add_extendedopt_12047
add_extendedopt
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 %arg1, i64* %sv_0, align 8 %5 = inttoptr i64 %arg1 to i8* %6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) call void @exit(i32 0) unreachable LBL_2: %10 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i64, i64* %sv_0, align 8 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 store i32 %16, i32* bitcast (i64* @gv_3 to i32*), align 8 store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %17 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = load i64, i64* %sv_0, align 8 store i64 %21, i64* @gv_5, align 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %22 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %arg1, i64 %4, i64 %2, i64 %1) store i64 %22, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i8*)* @match_extendedopt, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } }
1
BinRealVul
torture_raw_write_5788
torture_raw_write
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 4198781) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4198788) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 4198795) %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 4198802) %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 4198809) ret i64 %0 uselistorder i64 (i64, i8*, i64)* @torture_suite_add_1smb_test, { 4, 3, 2, 1, 0 } }
0
BinRealVul
wsd_read_header_7445
wsd_read_header
define i64 @FUNC(i64 %arg1) 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.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %arg1, i64 0) %sext = mul i64 %2, 4294967296 %3 = icmp eq i64 %sext, 0 %4 = icmp eq i1 %3, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_14 LBL_1: %5 = call i64 @FUNC(i64 %arg1, i64 8) %6 = call i64 @FUNC(i64 %arg1) %7 = trunc i64 %6 to i32 %8 = urem i64 %6, 16 %9 = ashr i32 %7, 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %8, i64 %1) %12 = call i64 @FUNC(i64 %arg1, i64 11) %13 = icmp sgt i32 %7, 15 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %arg1, i64 8) store i64 128, i64* %sv_1.0.reg2mem store i64 2048, i64* %sv_0.0.reg2mem br label LBL_4 LBL_3: %15 = call i64 @FUNC(i64 %arg1) %16 = call i64 @FUNC(i64 %arg1) %phitmp = and i64 %15, 4294967295 %phitmp3 = and i64 %16, 4294967295 store i64 %phitmp, i64* %sv_1.0.reg2mem store i64 %phitmp3, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %17 = ashr exact i64 %sext, 32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %18 = call i64 @FUNC(i64 %arg1, i64 4) %19 = call i64 @FUNC(i64 %arg1) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64* nonnull %sv_2, i64 %20, i64 0) %22 = add i64 %arg1, 24 %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 0) %24 = inttoptr i64 %17 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i32* store i32 1, i32* %26, align 4 %27 = add i64 %arg1, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = load i64, i64* %24, align 8 %31 = inttoptr i64 %29 to i32* %32 = load i32, i32* %31, align 4 %33 = add i64 %30, 4 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = call i64 @FUNC(i64 %arg1) %36 = trunc i64 %35 to i32 %37 = udiv i32 %36, 8 %38 = load i64, i64* %24, align 8 %39 = add i64 %38, 8 %40 = inttoptr i64 %39 to i32* store i32 %37, i32* %40, align 4 %41 = call i64 @FUNC(i64 %arg1, i64 4) %42 = call i64 @FUNC(i64 %arg1) %43 = trunc i64 %42 to i32 %44 = load i64, i64* %24, align 8 %45 = urem i32 %43, 16 %46 = add i64 %44, 12 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = load i64, i64* %24, align 8 %49 = add i64 %48, 12 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %48, 8 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = mul i32 %54, %51 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = add i64 %48, 16 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 %60 = load i64, i64* %24, align 8 %61 = add i64 %60, 12 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %65, label LBL_5, label LBL_14 LBL_5: %66 = call i64 @FUNC(i64 %arg1, i64 3) %67 = call i64 @FUNC(i64 %arg1) %68 = trunc i64 %67 to i32 %69 = urem i64 %67, 2 %70 = icmp eq i64 %69, 0 %71 = icmp eq i1 %70, false store i64 1, i64* %indvars.iv.reg2mem br i1 %71, label LBL_9, label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %72 = trunc i64 %indvars.iv.reload to i32 %73 = shl i32 1, %72 %74 = and i32 %73, %68 %75 = icmp eq i32 %74, 0 br i1 %75, label LBL_8, label LBL_7 LBL_7: %76 = call i64 @FUNC(i64 %arg1, i64 %indvars.iv.reload) %77 = load i64, i64* %24, align 8 %78 = add i64 %77, 24 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %sext1 = mul i64 %76, 4294967296 %81 = ashr exact i64 %sext1, 32 %82 = or i64 %81, %80 store i64 %82, i64* %79, align 8 br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_6 LBL_9: %83 = call i64 @FUNC(i64 %arg1, i64 16) %84 = call i64 @FUNC(i64 %arg1) %85 = trunc i64 %84 to i32 %86 = icmp eq i32 %85, 0 br i1 %86, label LBL_11, label LBL_10 LBL_10: %87 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) br label LBL_11 LBL_11: %88 = call i64 @FUNC(i64 %arg1, i64 %sv_1.0.reload, i64 0) %89 = trunc i64 %88 to i32 %90 = icmp slt i32 %89, 0 br i1 %90, label LBL_13, label LBL_12 LBL_12: %91 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 128) %92 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 128) %93 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 128) %94 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 128) %95 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 128) %96 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i64 32) %97 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64 32) %98 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0), i64 32) %99 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_11, i64 0, i64 0), i64 512) %100 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 512) br label LBL_13 LBL_13: %101 = call i64 @FUNC(i64 %arg1, i64 %sv_0.0.reload, i64 0) store i64 %101, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %7, { 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i8*, i64)* @get_metadata, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 32, { 3, 4, 5, 0, 1, 2 } uselistorder i64 (i64)* @avio_rb32, { 5, 4, 3, 2, 1, 0 } uselistorder i64 128, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64)* @avio_r8, { 1, 0 } uselistorder i64 (i64, i64)* @avio_skip, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 0, 3, 4, 1, 2, 5 } uselistorder i64 4294967284, { 0, 2, 1 } uselistorder i64 0, { 33, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 34, 27, 28, 5, 35, 29, 30, 36, 37, 31, 32, 6, 38, 0, 1, 2, 3, 4, 40, 39 } uselistorder i32 1, { 13, 15, 14, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1, 12 } uselistorder i64 %arg1, { 13, 6, 5, 4, 3, 12, 11, 10, 9, 8, 7, 14, 2, 16, 15, 1, 18, 17, 20, 19, 21, 22, 23, 25, 24, 27, 26, 0, 28, 29, 31, 30, 32 } uselistorder label LBL_14, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
am_handle_login_11914
am_handle_login
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0, i64 %0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0)) store i64 400, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %9 = call i64 @FUNC(i64 %5) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0, i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0)) %13 = and i64 %9, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %14 = load i64, i64* %3, align 8 %15 = call i64 @FUNC(i64 %14, i64 %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0)) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %15) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0, i64 %0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0)) %21 = and i64 %17, 4294967295 store i64 %21, i64* %rax.0.reg2mem br label LBL_16 LBL_7: %22 = bitcast i32* %sv_0 to i64* %23 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %22, i64 0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = and i64 %23, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_16 LBL_9: store i64 %15, i64* %storemerge.reg2mem br i1 %16, label LBL_10, label LBL_15 LBL_10: %27 = inttoptr i64 %1 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_14, label LBL_11 LBL_11: %30 = load i32, i32* %sv_0, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_13, label LBL_12 LBL_12: %32 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0, i64 %0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_7, i64 0, i64 0)) store i64 500, i64* %rax.0.reg2mem br label LBL_16 LBL_13: %33 = call i64 @FUNC(i64 %0, i64 %5) store i64 %33, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %34 = call i64 @FUNC(i64 %0) store i64 %34, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem %35 = load i32, i32* %sv_0, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %0, i64 %storemerge.reload, i64 %5, i64 %36) store i64 %37, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %0, { 5, 6, 4, 3, 7, 2, 1, 0, 8, 9, 10 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64)* @am_urldecode, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i8*)* @ap_log_rerror, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*)* @am_extract_query_parameter, { 1, 0 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
walk_hugetlb_range_11039
walk_hugetlb_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 %arg1, i64* %sv_1.0.reg2mem br label LBL_1 LBL_1: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %8 = call i64 @FUNC(i64 %1, i64 %sv_1.0.reload, i64 %arg2) %9 = and i64 %sv_1.0.reload, %2 %10 = load i64, i64* %5, align 8 %11 = call i64 @FUNC(i64 %10, i64 %9, i64 %3) %12 = icmp eq i64 %11, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = trunc i64 %11 to i32 %14 = load i64, i64* %7, align 8 %15 = icmp eq i64 %14, 0 %spec.select = select i1 %15, i32 0, i32 %13 store i32 %spec.select, i32* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %16 = icmp eq i32 %sv_0.1.reload, 0 %17 = icmp eq i64 %8, %arg2 %18 = icmp eq i1 %17, false %or.cond = icmp eq i1 %18, %16 store i64 %8, i64* %sv_1.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_4 LBL_4: %19 = zext i32 %sv_0.1.reload to i64 ret i64 %19 uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 1, 0 } }
1
BinRealVul
ofputil_pull_ipfix_stats_7992
ofputil_pull_ipfix_stats
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = bitcast i32* %sv_0 to i64* br i1 %4, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64* nonnull %5, i64 %3) store i64 %3, i64* %rsi.0.reg2mem store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64* nonnull %5, i64 %0) store i64 %0, i64* %rsi.0.reg2mem store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %8 = trunc i64 %storemerge.reload to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = and i64 %storemerge.reload, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %11 = icmp eq i64 %rsi.0.reload, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_6, label LBL_9 LBL_6: %13 = load i32, i32* %sv_0, align 4 %14 = icmp ne i32 %13, 0 %15 = icmp eq i32 %13, 1 %16 = icmp eq i1 %15, false %or.cond = icmp eq i1 %14, %16 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %17 = ptrtoint i64* %arg1 to i64 %18 = call i64 @FUNC(i64 %0, i64 0) %19 = call i64 @FUNC(i64 %17, i64 %18) store i64 %19, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %20 = call i64 @FUNC() unreachable LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64* %5, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_9, { 1, 0, 2 } }
0
BinRealVul
unescape_quotes_4006
unescape_quotes
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem9 = alloca i8* %sv_0.0.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %.reg2mem7 = alloca i8 %.reg2mem = alloca i8* %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = bitcast i64* %arg1 to i8* %3 = call i32 @strlen(i8* %2) %4 = add i32 %3, 1 %5 = call i64* @calloc(i32 1, i32 %4) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: %8 = bitcast i64* %5 to i8* %9 = load i8, i8* %2, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i8* %8, i8** %.reg2mem9 br i1 %11, label LBL_5, label LBL_11 LBL_5: %12 = ptrtoint i64* %arg1 to i64 %13 = trunc i64 %arg3 to i32 %14 = trunc i64 %arg2 to i32 store i8* %8, i8** %.reg2mem store i8 %9, i8* %.reg2mem7 store i64 %12, i64* %storemerge5.reg2mem br label LBL_6 LBL_6: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %.reload8 = load i8, i8* %.reg2mem7 %.reload = load i8*, i8** %.reg2mem %15 = sext i8 %.reload8 to i32 %16 = icmp eq i32 %13, %15 %17 = icmp eq i1 %16, false br i1 %17, label LBL_9, label LBL_7 LBL_7: %18 = add i64 %storemerge5.reload, 1 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_9, label LBL_8 LBL_8: %22 = sext i8 %20 to i32 %23 = icmp eq i32 %14, %22 %24 = icmp eq i1 %23, false store i64 %18, i64* %sv_1.0.reg2mem store i8 %20, i8* %sv_0.0.reg2mem br i1 %24, label LBL_9, label LBL_10 LBL_9: store i64 %storemerge5.reload, i64* %sv_1.0.reg2mem store i8 %.reload8, i8* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem store i8 %sv_0.0.reload, i8* %.reload, align 1 %25 = ptrtoint i8* %.reload to i64 %26 = add i64 %25, 1 %27 = inttoptr i64 %26 to i8* %28 = add i64 %sv_1.0.reload, 1 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 0 %32 = icmp eq i1 %31, false store i8* %27, i8** %.reg2mem store i8 %30, i8* %.reg2mem7 store i64 %28, i64* %storemerge5.reg2mem store i8* %27, i8** %.reg2mem9 br i1 %32, label LBL_6, label LBL_11 LBL_11: %.reload10 = load i8*, i8** %.reg2mem9 store i8 0, i8* %.reload10, align 1 %33 = call i8* @strcpy(i8* %2, i8* %8) call void @free(i64* %5) ret i64 ptrtoint (i32* @0 to i64) uselistorder i8* %8, { 2, 1, 0 } uselistorder i64* %5, { 0, 2, 1 } uselistorder i8* %2, { 1, 0, 2 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem7, { 1, 0, 2 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 2, 3, 1, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4, 5 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
ide_dma_error_12889
ide_dma_error
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, i64 0) %3 = call i64 @FUNC(i64 %0) ret i64 %3 uselistorder i64 %0, { 1, 0, 2 } }
1
BinRealVul
qemu_pipe_2833
qemu_pipe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %2 to i32 %4 = insertvalue [2 x i32] undef, i32 %3, 0 %5 = call i32 @pipe([2 x i32] %4) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i64 %1, 4294967295 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13) br label LBL_2 LBL_2: %15 = zext i32 %5 to i64 ret i64 %15 uselistorder i64 (i64)* @qemu_set_cloexec, { 1, 0 } }
0
BinRealVul
usb_net_instance_init_7998
usb_net_instance_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 0, i64 %1) ret i64 %3 uselistorder i64 %2, { 1, 2, 0 } }
0
BinRealVul
init_proc_POWER9_1101
init_proc_POWER9
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 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %0) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %0) %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) %22 = call i64 @FUNC(i64 %0) %23 = call i64 @FUNC(i64 %0) %24 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4199012) %25 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 0) %26 = bitcast i64* %arg1 to i32* store i32 32, i32* %26, align 4 %27 = add i64 %0, 4 %28 = inttoptr i64 %27 to i8* store i8 1, i8* %28, align 1 %29 = add i64 %0, 8 %30 = inttoptr i64 %29 to i32* store i32 128, i32* %30, align 4 %31 = add i64 %0, 12 %32 = inttoptr i64 %31 to i32* store i32 128, i32* %32, align 4 %33 = call i64 @FUNC(i64 %0) %34 = call i64 @FUNC(i64 %0) %35 = call i64 @FUNC(i64 %34) ret i64 %35 uselistorder i64 %0, { 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 29 } }
0
BinRealVul
kind_Read_9363
kind_Read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 1, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64 %5, i32 %2) %10 = add i64 %1, 4294967295 %11 = and i64 %10, 4294967295 %12 = add i64 %5, %11 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 0 store i32 %2, i32* %sv_1.0.reg2mem store i64 %5, i64* %sv_0.0.in.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i32 %2, 1 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = inttoptr i64 %18 to i64* %20 = inttoptr i64 %5 to i64* %21 = call i64* @memcpy(i64* %19, i64* %20, i32 %2) %22 = add i64 %18, %4 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %24 = call i64 @FUNC(i64 %5) store i32 %16, i32* %sv_1.0.reg2mem store i64 %18, i64* %sv_0.0.in.reg2mem br label LBL_4 LBL_4: %25 = ptrtoint i64* %arg1 to i64 %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i8* %26 = call i64 @FUNC(i64 %sv_0.0.in.reload) %27 = add i64 %25, 8 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = call i32 @strlen(i8* %sv_0.0) %30 = add i32 %29, 1 %31 = icmp ugt i32 %sv_1.0.reload, %30 br i1 %31, label LBL_5, label LBL_6 LBL_5: %32 = zext i32 %29 to i64 %33 = add i64 %sv_0.0.in.reload, 1 %34 = add i64 %33, %32 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %25, 16 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 br label LBL_6 LBL_6: %38 = call i64 @FUNC(i64 %sv_0.0.in.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.in.reload, { 2, 3, 1, 0 } uselistorder i64 %5, { 2, 3, 0, 1, 4, 5 } uselistorder i32 %2, { 3, 4, 0, 2, 1 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 (i64)* @gf_strdup, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64)* @gf_malloc, { 2, 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
io_ring_ctx_free_6684
io_ring_ctx_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.pre-phi2.reg2mem = alloca i64* %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %arg1, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %arg1) %4 = call i64 @FUNC(i64 %arg1) %5 = call i64 @FUNC(i64 %arg1) %6 = call i64 @FUNC(i64 %arg1) %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %arg1, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %arg1, 32 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %arg1, 80 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_2.LBL_5_crit_edge, label LBL_4 LBL_3: %.pre = add i64 %arg1, 40 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem br label LBL_5 LBL_4: %21 = add i64 %arg1, 76 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %arg1, 72 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %23 to i64 %28 = zext i32 %26 to i64 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = add i64 %arg1, 40 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = and i64 %29, 4294967295 %34 = call i64 @FUNC(i64 %32, i64 %33) store i64* %31, i64** %.pre-phi2.reg2mem br label LBL_5 LBL_5: %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %35 = load i64, i64* %.pre-phi2.reload, align 8 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %arg1, 48 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 %39) %41 = add i64 %arg1, 56 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43) %45 = add i64 %arg1, 64 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = load i64, i64* @gv_0, align 8 %49 = call i64 @FUNC(i64 %48, i64 %47) %50 = call i64 @FUNC(i64 %arg1) ret i64 %50 uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64)* @io_mem_free, { 1, 0 } uselistorder i64 %arg1, { 3, 5, 4, 6, 2, 8, 9, 0, 7, 11, 10, 16, 15, 14, 13, 12, 1, 17, 18 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
cpsr_write_705
cpsr_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = urem i64 %arg3, 16 %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = urem i64 %arg2, 2 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 %7 = bitcast i64* %arg1 to i32* store i32 %6, i32* %7, align 4 %8 = trunc i64 %1 to i32 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = udiv i64 %1, 536870912 %12 = trunc i64 %11 to i32 %13 = urem i32 %12, 2 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %arg2.tr = trunc i64 %arg2 to i32 %16 = mul i32 %arg2.tr, 8 %17 = and i32 %16, -2147483648 %18 = add i64 %0, 12 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 br label LBL_2 LBL_2: %20 = and i64 %arg3, 16 %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = and i64 %arg2, 16 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false %25 = zext i1 %24 to i32 %26 = add i64 %0, 16 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 br label LBL_4 LBL_4: %28 = and i64 %arg3, 32 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = and i64 %arg2, 32 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false %33 = zext i1 %32 to i32 %34 = add i64 %0, 20 %35 = inttoptr i64 %34 to i32* store i32 %33, i32* %35, align 4 br label LBL_6 LBL_6: %36 = and i64 %arg3, 64 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_8, label LBL_7 LBL_7: %38 = add i64 %0, 24 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = and i32 %40, -4 %42 = udiv i64 %1, 33554432 %43 = trunc i64 %42 to i32 %44 = urem i32 %43, 4 %45 = or i32 %41, %44 store i32 %45, i32* %39, align 4 br label LBL_8 LBL_8: %sext2 = mul i64 %arg3, 4294967296 %46 = ashr exact i64 %sext2, 32 %47 = trunc i64 %46 to i8 %48 = icmp sgt i8 %47, -1 br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = add i64 %0, 24 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = urem i32 %51, 4 %53 = udiv i64 %1, 256 %54 = trunc i64 %53 to i32 %55 = and i32 %54, 252 %56 = or i32 %52, %55 store i32 %56, i32* %50, align 4 br label LBL_10 LBL_10: %57 = and i64 %arg3, 3840 %58 = icmp eq i64 %57, 0 br i1 %58, label LBL_12, label LBL_11 LBL_11: %59 = udiv i64 %1, 65536 %60 = trunc i64 %59 to i32 %61 = urem i32 %60, 16 %62 = add i64 %0, 28 %63 = inttoptr i64 %62 to i32* store i32 %61, i32* %63, align 4 br label LBL_12 LBL_12: %64 = add i64 %0, 32 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = trunc i64 %1 to i32 %68 = xor i32 %66, %67 %69 = trunc i64 %46 to i32 %70 = urem i32 %69, 16 %71 = and i32 %70, %68 %72 = icmp eq i32 %71, 0 store i64 %46, i64* %sv_0.0.reg2mem br i1 %72, label LBL_16, label LBL_13 LBL_13: %73 = urem i64 %1, 16 %74 = call i64 @FUNC(i64 %0, i64 %73) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 br i1 %76, label LBL_15, label LBL_14 LBL_14: %77 = and i64 %46, -16 store i64 %77, i64* %sv_0.0.reg2mem br label LBL_16 LBL_15: %78 = call i64 @FUNC(i64 %0, i64 %73) store i64 %46, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %79 = and i64 %sv_0.0.reload, -256 %80 = load i32, i32* %65, align 4 %81 = trunc i64 %79 to i32 %82 = sub i32 0, %81 %83 = sub i32 %82, 1 %84 = and i32 %80, %83 %85 = and i64 %79, %1 %86 = trunc i64 %85 to i32 %87 = or i32 %84, %86 store i32 %87, i32* %65, align 4 ret i64 %0 uselistorder i64 %73, { 1, 0 } uselistorder i32* %65, { 1, 0, 2 } uselistorder i64 %46, { 0, 2, 1, 3, 4 } uselistorder i64 %1, { 5, 0, 7, 1, 2, 3, 4, 6 } uselistorder i64 %0, { 9, 8, 11, 10, 7, 6, 5, 4, 3, 0, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 16, { 0, 4, 2, 3, 1 } uselistorder i64 32, { 4, 2, 0, 1, 3 } uselistorder i64 %arg3, { 2, 0, 3, 4, 5, 1 } uselistorder i64 %arg2, { 3, 4, 2, 1, 0 } }
0
BinRealVul
record_steal_time_9882
record_steal_time
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 = urem i64 %0, 2 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = add i64 %0, 24 %6 = add i64 %0, 40 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %5, i64 %4, i64 16) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i64 %14 = icmp eq i1 %12, false %15 = icmp eq i1 %14, false store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = inttoptr i64 %4 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %20, %17 store i64 %21, i64* %16, align 8 %22 = add i64 %0, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %24, 2 store i64 %25, i64* %23, align 8 store i64 0, i64* %19, align 8 %26 = load i64, i64* %7, align 8 %27 = call i64 @FUNC(i64 %26, i64 %5, i64 %4, i64 16) store i64 %27, 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 %0, { 1, 2, 5, 4, 3, 0, 6 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 16, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
ssiProcessIncludeCommand_7489
ssiProcessIncludeCommand
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i8* %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 %arg3, i64* %sv_3, align 8 %arg3.off = add i64 %arg3, -7 %0 = icmp ult i64 %arg3.off, 1017 store i64 4294967295, i64* %rax.0.reg2mem br i1 %0, label LBL_1, label LBL_24 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %arg2, 7 %3 = call i64 @FUNC(i64 %1, i64 %2, i64 %arg3.off) %4 = add i64 %arg3.off, %1 %5 = inttoptr i64 %4 to i8* store i8 0, i8* %5, align 1 %6 = bitcast i64* %arg1 to i8* %7 = call i8* @strchr(i8* %6, i32 61) %8 = icmp eq i8* %7, null %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_24 LBL_2: store i8 0, i8* %7, align 1 %10 = call i64 @FUNC(i64 %1) %11 = ptrtoint i8* %7 to i64 %12 = add i64 %11, 1 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp ne i8 %15, 39 %17 = icmp eq i8 %15, 34 %18 = icmp eq i1 %17, false %or.cond = icmp eq i1 %16, %18 %19 = add i64 %13, 1 %20 = inttoptr i64 %19 to i8* %sv_4.0 = select i1 %or.cond, i8* %14, i8* %20 %21 = ptrtoint i8* %sv_4.0 to i64 %22 = call i64 @FUNC(i64 %21) store i64 %22, i64* %sv_3, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_5, label LBL_3 LBL_3: %24 = add i64 %22, -1 %25 = add i64 %24, %21 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp ne i8 %27, 39 %29 = icmp eq i8 %27, 34 %30 = icmp eq i1 %29, false %or.cond8 = icmp eq i1 %28, %30 br i1 %or.cond8, label LBL_5, label LBL_4 LBL_4: store i8 0, i8* %26, align 1 br label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %21) %32 = icmp ult i64 %31, 257 store i64 4294967295, i64* %rax.0.reg2mem br i1 %32, label LBL_6, label LBL_24 LBL_6: %33 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_7 LBL_7: %37 = call i64 @FUNC(i64 %arg4) %38 = call i64 @FUNC(i64 %21) %39 = add i64 %37, 1 %40 = add i64 %39, %38 %41 = call i64 @FUNC(i64 %40) %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %43, label LBL_8, label LBL_24 LBL_8: %44 = inttoptr i64 %41 to i8* %45 = call i64 @FUNC(i64 %41, i64 %arg4) %46 = call i8* @strrchr(i8* %44, i32 47) %47 = icmp eq i8* %46, null br i1 %47, label LBL_10, label LBL_9 LBL_9: %48 = ptrtoint i8* %46 to i64 %49 = add i64 %48, 1 %50 = call i64 @FUNC(i64 %49, i64 %21) store i8* %44, i8** %sv_1.0.reg2mem br label LBL_13 LBL_10: %51 = call i64 @FUNC(i64 %41, i64 %21) store i8* %44, i8** %sv_1.0.reg2mem br label LBL_13 LBL_11: %52 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %55, label LBL_24, label LBL_12 LBL_12: %56 = call i64 @FUNC(i64 %21) %57 = inttoptr i64 %56 to i8* %58 = icmp eq i64 %56, 0 %59 = icmp eq i1 %58, false store i8* %57, i8** %sv_1.0.reg2mem store i64 4294967294, i64* %rax.0.reg2mem br i1 %59, label LBL_13, label LBL_24 LBL_13: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %60 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_16, label LBL_14 LBL_14: %64 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0)) %65 = trunc i64 %64 to i32 %66 = icmp eq i32 %65, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_16, label LBL_15 LBL_15: %68 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0)) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_17, label LBL_16 LBL_16: %71 = add i64 %arg5, 1 %72 = and i64 %71, 4294967295 %73 = ptrtoint i8* %sv_1.0.reload to i64 %74 = call i64 @FUNC(i64 %1, i64 %73, i64 %72) %75 = trunc i64 %74 to i32 store i64 %73, i64* %.pre-phi.reg2mem store i32 %75, i32* %sv_0.0.reg2mem br label LBL_23 LBL_17: %76 = ptrtoint i8* %sv_1.0.reload to i64 %77 = call i64 @FUNC(i64 %1, i64 %76, i64 %1, i64 1024) %78 = call i64 @FUNC(i64 %1, i64 0) %79 = icmp eq i64 %78, 0 br i1 %79, label LBL_21, label LBL_18 LBL_18: %80 = call i64 @FUNC(i64 %78, i64 %1, i64 1024, i64* nonnull %sv_3) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_20, label LBL_19 LBL_19: %84 = load i64, i64* %sv_3, align 8 %85 = call i64 @FUNC(i64 %1, i64 %1, i64 %84) %86 = trunc i64 %85 to i32 %87 = icmp eq i32 %86, 0 %88 = icmp eq i1 %87, false br i1 %88, label LBL_20, label LBL_18 LBL_20: %89 = call i64 @FUNC(i64 %78) br label LBL_21 LBL_21: %90 = call i64 @FUNC(i64 %1, i64 %76, i64 %1, i64 1024) %91 = call i64 @FUNC(i64 %1, i64* nonnull %sv_2, i64* nonnull %sv_3) %92 = trunc i64 %91 to i32 %93 = icmp eq i32 %92, 0 %94 = icmp eq i1 %93, false store i64 %76, i64* %.pre-phi.reg2mem store i32 %92, i32* %sv_0.0.reg2mem br i1 %94, label LBL_23, label LBL_22 LBL_22: %95 = load i64, i64* %sv_3, align 8 %96 = load i64, i64* %sv_2, align 8 %97 = call i64 @FUNC(i64 %1, i64 %96, i64 %95) %98 = trunc i64 %97 to i32 store i64 %76, i64* %.pre-phi.reg2mem store i32 %98, i32* %sv_0.0.reg2mem br label LBL_23 LBL_23: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %99 = icmp eq i32 %sv_0.0.reload, -3 %100 = icmp eq i1 %99, false %101 = call i64 @FUNC(i64 %.pre-phi.reload) %102 = zext i32 %sv_0.0.reload to i64 %103 = select i1 %100, i64 %102, i64 4294967295 store i64 %103, 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 i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %76, { 1, 0, 2, 3 } uselistorder i8* %sv_1.0.reload, { 1, 0 } uselistorder i64 %56, { 1, 0 } uselistorder i8* %46, { 1, 0 } uselistorder i8* %44, { 1, 0, 2 } uselistorder i64 %21, { 4, 5, 6, 7, 2, 1, 3, 8, 0, 9 } uselistorder i8* %7, { 1, 0, 2 } uselistorder i64 %1, { 4, 7, 5, 6, 1, 2, 3, 10, 8, 9, 11, 12, 0, 13 } uselistorder i64* %sv_3, { 2, 0, 3, 1, 4, 5 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i8** %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 2, 1, 3, 4, 5, 6 } uselistorder i64 (i64, i64, i64)* @httpWriteStream, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @httpGetAbsolutePath, { 1, 0 } uselistorder i64 (i64, i8*)* @httpCompExtension, { 2, 1, 0 } uselistorder i64 (i64, i64)* @osStrcpy, { 2, 1, 0 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 1, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 12 } uselistorder label LBL_24, { 6, 1, 0, 2, 3, 4, 5 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
bit_in_7559
bit_in
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i32 %rdx.2.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i8* %storemerge6.reg2mem = alloca i8 %sv_1.2.in.reg2mem = alloca i8 %sv_0.317.reg2mem = alloca i8* %sv_2.019.reg2mem = alloca i32 %rdx.320.reg2mem = alloca i32 %.reg2mem51 = alloca i8 %.reg2mem49 = alloca i8* %rdx.0.reg2mem = alloca i64 %.reg2mem47 = alloca i8* %.pre-phi.reg2mem = alloca i8 %sv_0.121.reg2mem = alloca i8* %rdx.122.reg2mem = alloca i64 %sv_1.123.reg2mem = alloca i32 %.reg2mem45 = alloca i8 %.reg2mem43 = alloca i8* %sv_3.0.reg2mem = alloca i32 %.reg2mem41 = alloca i32 %sv_4.011.reg2mem = alloca i1 %.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_5 = alloca i8*, align 8 %4 = call i64 @FUNC(i64 0) %5 = inttoptr i64 %4 to i8* %6 = call i64 @FUNC(i64 1) %7 = call i64 @FUNC(i64 2) %8 = load i8, i8* %5, align 1 %9 = icmp ne i8 %8, 98 %10 = icmp eq i8 %8, 66 %11 = icmp eq i1 %10, false %or.cond29 = icmp eq i1 %9, %11 br i1 %or.cond29, label LBL_2, label LBL_1 LBL_1: %12 = add i64 %4, 1 %13 = inttoptr i64 %12 to i8* store i8* %13, i8** %sv_5, align 8 store i8* %13, i8** %.reg2mem br label LBL_4 LBL_2: %14 = icmp ne i8 %8, 120 %15 = icmp eq i8 %8, 88 %16 = icmp eq i1 %15, false %or.cond = icmp eq i1 %14, %16 br i1 %or.cond, label LBL_3, label %19 LBL_3: %17 = bitcast i8** %sv_5 to i64* store i64 %4, i64* %17, align 8 store i8* %5, i8** %.reg2mem br label LBL_4 LBL_4: %.reload = load i8*, i8** %.reg2mem %18 = call i32 @strlen(i8* %.reload) store i1 false, i1* %sv_4.011.reg2mem store i32 %18, i32* %.reg2mem41 br label %24 LBL_5: %31 = icmp eq i32 %.reload42, %25 store i32 %25, i32* %sv_3.0.reg2mem br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 2) %33 = zext i32 %.reload42 to i64 %34 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %33, i32 %25, i64 %3, i64 %2, i64 %1) %35 = call i64 @FUNC(i64 1, i64 %34) unreachable LBL_7: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %36 = sdiv i32 %sv_3.0.reload, 16384 %37 = add nsw i32 %36, 16 %38 = sext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = inttoptr i64 %39 to i32* store i32 %sv_3.0.reload, i32* %40, align 4 %41 = add i64 %39, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i8* %45 = load i8*, i8** %sv_5, align 8 %46 = load i8, i8* %45, align 1 %47 = icmp eq i8 %46, 0 %48 = icmp eq i1 %47, false br i1 %sv_4.011.reload, label LBL_8, label LBL_9 LBL_8: store i8* %45, i8** %.reg2mem49 store i8 %46, i8* %.reg2mem51 store i32 %sv_3.0.reload, i32* %rdx.320.reg2mem store i32 0, i32* %sv_2.019.reg2mem store i8* %44, i8** %sv_0.317.reg2mem br i1 %48, label LBL_17, label LBL_27 LBL_9: br i1 %48, label LBL_10, label LBL_27 LBL_10: %49 = zext i32 %sv_3.0.reload to i64 store i8* %45, i8** %.reg2mem43 store i8 %46, i8* %.reg2mem45 store i32 -128, i32* %sv_1.123.reg2mem store i64 %49, i64* %rdx.122.reg2mem store i8* %44, i8** %sv_0.121.reg2mem br label LBL_11 LBL_11: %sv_0.121.reload = load i8*, i8** %sv_0.121.reg2mem %sv_1.123.reload = load i32, i32* %sv_1.123.reg2mem %.reload46 = load i8, i8* %.reg2mem45 %50 = icmp eq i8 %.reload46, 49 %51 = icmp eq i1 %50, false br i1 %51, label LBL_13, label LBL_12 LBL_12: %52 = load i8, i8* %sv_0.121.reload, align 1 %53 = trunc i32 %sv_1.123.reload to i8 %54 = or i8 %52, %53 %55 = zext i8 %54 to i64 store i8 %54, i8* %sv_0.121.reload, align 1 %.pre = load i8*, i8** %sv_5, align 8 store i8 %53, i8* %.pre-phi.reg2mem store i8* %.pre, i8** %.reg2mem47 store i64 %55, i64* %rdx.0.reg2mem br label LBL_16 LBL_13: %rdx.122.reload = load i64, i64* %rdx.122.reg2mem %.reload44 = load i8*, i8** %.reg2mem43 %56 = icmp eq i8 %.reload46, 48 br i1 %56, label LBL_13.LBL_16_crit_edge, label LBL_15 LBL_14: %.pre27 = trunc i32 %sv_1.123.reload to i8 store i8 %.pre27, i8* %.pre-phi.reg2mem store i8* %.reload44, i8** %.reg2mem47 store i64 %rdx.122.reload, i64* %rdx.0.reg2mem br label LBL_16 LBL_15: %57 = call i64 @FUNC(i64 3) %58 = load i8, i8* %.reload44, align 1 %59 = sext i8 %58 to i64 %60 = and i64 %59, 4294967295 %61 = trunc i64 %rdx.122.reload to i32 %62 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %60, i32 %61, i64 %3, i64 %2, i64 %1) %63 = call i64 @FUNC(i64 1, i64 %62) unreachable LBL_16: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %.reload48 = load i8*, i8** %.reg2mem47 %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem %64 = udiv i8 %.pre-phi.reload, 2 %65 = zext i8 %64 to i32 %66 = icmp ult i8 %.pre-phi.reload, 2 %67 = icmp eq i1 %66, false %68 = ptrtoint i8* %sv_0.121.reload to i64 %69 = add i64 %68, 1 %70 = inttoptr i64 %69 to i8* %sv_0.0 = select i1 %67, i8* %sv_0.121.reload, i8* %70 %sv_1.0 = select i1 %67, i32 %65, i32 -128 %71 = ptrtoint i8* %.reload48 to i64 %72 = add i64 %71, 1 %73 = inttoptr i64 %72 to i8* store i8* %73, i8** %sv_5, align 8 %74 = load i8, i8* %73, align 1 %75 = icmp eq i8 %74, 0 %76 = icmp eq i1 %75, false store i8* %73, i8** %.reg2mem43 store i8 %74, i8* %.reg2mem45 store i32 %sv_1.0, i32* %sv_1.123.reg2mem store i64 %rdx.0.reload, i64* %rdx.122.reg2mem store i8* %sv_0.0, i8** %sv_0.121.reg2mem br i1 %76, label LBL_11, label LBL_27 LBL_17: %sv_0.317.reload = load i8*, i8** %sv_0.317.reg2mem %sv_2.019.reload = load i32, i32* %sv_2.019.reg2mem %.reload52 = load i8, i8* %.reg2mem51 %.off = add i8 %.reload52, -48 %77 = icmp ugt i8 %.off, 9 store i8 %.off, i8* %sv_1.2.in.reg2mem br i1 %77, label LBL_18, label LBL_23 LBL_18: %.off12 = add i8 %.reload52, -65 %78 = icmp ugt i8 %.off12, 5 br i1 %78, label LBL_20, label LBL_19 LBL_19: %79 = add i8 %.reload52, -55 store i8 %79, i8* %sv_1.2.in.reg2mem br label LBL_23 LBL_20: %.off13 = add i8 %.reload52, -97 %80 = icmp ugt i8 %.off13, 5 br i1 %80, label LBL_22, label LBL_21 LBL_21: %81 = add i8 %.reload52, -87 store i8 %81, i8* %sv_1.2.in.reg2mem br label LBL_23 LBL_22: %rdx.320.reload = load i32, i32* %rdx.320.reg2mem %.reload50 = load i8*, i8** %.reg2mem49 %82 = call i64 @FUNC(i64 3) %83 = load i8, i8* %.reload50, align 1 %84 = sext i8 %83 to i64 %85 = and i64 %84, 4294967295 %86 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %85, i32 %rdx.320.reload, i64 %3, i64 %2, i64 %1) %87 = call i64 @FUNC(i64 1, i64 %86) unreachable LBL_23: %sv_1.2.in.reload = load i8, i8* %sv_1.2.in.reg2mem %88 = icmp eq i32 %sv_2.019.reload, 0 br i1 %88, label LBL_25, label LBL_24 LBL_24: %89 = ptrtoint i8* %sv_0.317.reload to i64 %90 = add i64 %89, 1 %91 = inttoptr i64 %90 to i8* %92 = load i8, i8* %sv_0.317.reload, align 1 %93 = or i8 %92, %sv_1.2.in.reload %94 = zext i8 %93 to i32 store i8 %93, i8* %storemerge6.reg2mem store i8* %91, i8** %sv_0.2.reg2mem store i32 %94, i32* %rdx.2.reg2mem store i32 0, i32* %storemerge.reg2mem br label LBL_26 LBL_25: %sv_1.2 = sext i8 %sv_1.2.in.reload to i32 %95 = mul i32 %sv_1.2, 16 %96 = and i32 %95, 4080 %97 = trunc i32 %95 to i8 store i8 %97, i8* %storemerge6.reg2mem store i8* %sv_0.317.reload, i8** %sv_0.2.reg2mem store i32 %96, i32* %rdx.2.reg2mem store i32 1, i32* %storemerge.reg2mem br label LBL_26 LBL_26: %storemerge.reload = load i32, i32* %storemerge.reg2mem %rdx.2.reload = load i32, i32* %rdx.2.reg2mem %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem %storemerge6.reload = load i8, i8* %storemerge6.reg2mem store i8 %storemerge6.reload, i8* %sv_0.317.reload, align 1 %98 = load i8*, i8** %sv_5, align 8 %99 = ptrtoint i8* %98 to i64 %100 = add i64 %99, 1 %101 = inttoptr i64 %100 to i8* store i8* %101, i8** %sv_5, align 8 %102 = load i8, i8* %101, align 1 %103 = icmp eq i8 %102, 0 %104 = icmp eq i1 %103, false store i8* %101, i8** %.reg2mem49 store i8 %102, i8* %.reg2mem51 store i32 %rdx.2.reload, i32* %rdx.320.reg2mem store i32 %storemerge.reload, i32* %sv_2.019.reg2mem store i8* %sv_0.2.reload, i8** %sv_0.317.reg2mem br i1 %104, label LBL_17, label LBL_27 LBL_27: ret i64 %39 uselistorder i32 %95, { 1, 0 } uselistorder i8 %.reload52, { 3, 0, 4, 1, 2 } uselistorder i8* %sv_0.317.reload, { 3, 0, 2, 1 } uselistorder i8 %.pre-phi.reload, { 1, 0 } uselistorder i8* %.reload44, { 1, 0 } uselistorder i64 %rdx.122.reload, { 1, 0 } uselistorder i32 %sv_1.123.reload, { 1, 0 } uselistorder i8* %sv_0.121.reload, { 0, 3, 1, 2 } uselistorder i8 %46, { 1, 0, 2 } uselistorder i8* %45, { 1, 0, 2 } uselistorder i8* %44, { 1, 0 } uselistorder i32 %sv_3.0.reload, { 2, 0, 1, 3 } uselistorder i32 %.reload42, { 1, 2, 0 } uselistorder i32 %25, { 1, 0, 4, 3, 2 } uselistorder i8 %8, { 2, 1, 0, 3 } uselistorder i64 %4, { 2, 0, 1, 3 } uselistorder i8** %sv_5, { 7, 6, 5, 0, 1, 4, 2, 3 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i1* %sv_4.011.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem41, { 0, 2, 1 } uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem43, { 1, 0, 2 } uselistorder i8* %.reg2mem45, { 1, 0, 2 } uselistorder i32* %sv_1.123.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.122.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.121.reg2mem, { 1, 0, 2 } uselistorder i8* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem47, { 0, 2, 1 } uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem49, { 2, 0, 1 } uselistorder i8* %.reg2mem51, { 2, 0, 1 } uselistorder i32* %rdx.320.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.019.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.317.reg2mem, { 2, 0, 1 } uselistorder i8* %sv_1.2.in.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 -128, { 1, 0 } uselistorder i8 0, { 2, 3, 0, 4, 1 } uselistorder i64 (i64, i64)* @ereport, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @errmsg, { 2, 1, 0 } uselistorder i64 (i64)* @errcode, { 2, 1, 0 } uselistorder i32 0, { 0, 2, 1, 3, 4 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i1 false, { 5, 8, 6, 7, 2, 9, 4, 0, 3, 1 } uselistorder i64 1, { 4, 5, 0, 6, 7, 1, 2, 8, 9, 3 } uselistorder i32 1, { 3, 27, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, 26, 28, 1, 0 } uselistorder label LBL_27, { 1, 0, 2, 3 } uselistorder label LBL_23, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label %24, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
disas_pc_rel_adr_15237
disas_pc_rel_adr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 31, i64 1) %3 = trunc i64 %2 to i32 %4 = call i64 @FUNC(i64 %1, i64 5, i64 19) %5 = mul i64 %4, 4 %6 = call i64 @FUNC(i64 %1, i64 29, i64 2) %7 = and i64 %6, 4294967295 %8 = or i64 %7, %5 %9 = call i64 @FUNC(i64 %1, i64 0, i64 5) %10 = add nsw i64 %1, -4 %11 = icmp eq i32 %3, 0 %12 = and i64 %10, -4096 %13 = mul i64 %8, 4096 %sv_0.0 = select i1 %11, i64 %8, i64 %13 %sv_1.0 = select i1 %11, i64 %10, i64 %12 %14 = add i64 %sv_0.0, %sv_1.0 %15 = and i64 %9, 4294967295 %16 = call i64 @FUNC(i64 %0, i64 %15) %17 = call i64 @FUNC(i64 %16, i64 %14) ret i64 %17 uselistorder i64 %8, { 1, 0 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i32 0, { 4, 2, 0, 5, 3, 1, 6, 7 } uselistorder i64 (i64, i64, i64)* @extract32, { 2, 1, 0 } }
1
BinRealVul
ia32_do_mmap_11373
ia32_do_mmap
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg4 to i32 %1 = trunc i64 %arg5 to i32 %2 = trunc i64 %arg2 to i32 %3 = trunc i64 %arg3 to i32 %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i32 %2, i32 %3, i32 %0, i32 %1, i64 %arg6) %5 = add i64 %arg3, 4095 %6 = and i64 %5, -4096 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %arg2, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_5 LBL_1: %9 = icmp ugt i64 %6, 4294967295 %10 = sub i64 4294967295, %6 %11 = icmp ult i64 %10, %arg2 %or.cond = or i1 %9, %11 br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %12 = and i64 %arg5, 16 %13 = icmp eq i64 %12, 0 %. = select i1 %13, i64 -22, i64 -12 store i64 %., i64* %rax.0.reg2mem br label LBL_5 LBL_3: %14 = urem i64 %arg6, 4096 %15 = icmp eq i64 %14, 0 store i64 -22, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_5 LBL_4: %16 = ptrtoint i64* %arg1 to i64 %17 = and i64 %arg4, 4294967295 %18 = and i64 %arg5, 4294967295 %19 = call i64 @FUNC(i64 %17) %20 = trunc i64 %19 to i32 %21 = call i64 @FUNC(i64* nonnull @gv_1) %22 = call i64 @FUNC(i64 %16, i64 %arg2, i64 %6, i32 %20, i64 %18, i64 %arg6) %23 = call i64 @FUNC(i64* nonnull @gv_1) %24 = load i64, i64* @gv_2, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %16, i64 %22, i64 %6, i32 %20, i64 %18, i64 %arg6) %29 = load i64, i64* @gv_2, align 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %28 to i32 %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i32 %33) store i64 %28, 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 %6, { 2, 3, 1, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 4294967295, { 0, 3, 2, 1 } uselistorder i64 %arg6, { 1, 2, 0, 3 } uselistorder i64 %arg2, { 2, 1, 0, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 3, 0, 1, 2 } }
1
BinRealVul
clcdfb_of_get_mode_18794
clcdfb_of_get_mode
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967294, i64* %storemerge1.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg3 to i64 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 %8, i64* %storemerge1.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %11 = and i64 %storemerge1.reload, 4294967295 store i64 %11, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %12 = ptrtoint i64* %arg1 to i64 %13 = call i64 @FUNC(i64 0, i64 0, i64 %7) %14 = mul i64 %13, 4294967296 %sext = add i64 %14, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = call i64 @FUNC(i64 %12, i64 %15, i64 0) %17 = add i64 %13, 1 %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %16, i64 %18, i64 %7) store i64 %16, i64* %arg3, align 8 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 %13, { 1, 0 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 (i64, i64, i64)* @clcdfb_snprintf_mode, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
dpy_refresh_14510
dpy_refresh
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge12.reg2mem store i64 %0, i64* %storemerge1.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %3 = inttoptr i64 %storemerge12.reload to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %storemerge12.reg2mem store i64 %4, i64* %storemerge1.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_2: %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem ret i64 %storemerge1.lcssa.reload uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ffmmal_stop_decoder_3972
ffmmal_stop_decoder
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem1 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %8) %11 = load i64, i64* %3, align 8 %12 = call i64 @FUNC(i64 %11) %13 = load i64, i64* %7, align 8 %14 = call i64 @FUNC(i64 %13) %15 = load i64, i64* %3, align 8 %16 = call i64 @FUNC(i64 %15) %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %.reg2mem br i1 %18, label LBL_1, label LBL_2 LBL_1: %.reload = load i64, i64* %.reg2mem %19 = call i64 @FUNC(i64 %.reload) %20 = load i64, i64* %3, align 8 %21 = call i64 @FUNC(i64 %20) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 %21, i64* %.reg2mem br i1 %23, label LBL_1, label LBL_2 LBL_2: %24 = load i64, i64* %7, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %.reg2mem1 br i1 %26, label LBL_3, label LBL_4 LBL_3: %.reload2 = load i64, i64* %.reg2mem1 %27 = inttoptr i64 %.reload2 to i64* %28 = load i64, i64* %27, align 8 store i64 %28, i64* %7, align 8 %29 = add i64 %.reload2, 8 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %.reload2) %32 = load i64, i64* %7, align 8 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 %32, i64* %.reg2mem1 br i1 %34, label LBL_3, label LBL_4 LBL_4: %35 = add i64 %0, 24 %36 = inttoptr i64 %35 to i64* store i64 0, i64* %36, align 8 %37 = add i64 %0, 52 %38 = call i64 @FUNC(i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %41 = add i64 %0, 48 %42 = inttoptr i64 %41 to i32* store i32 0, i32* %42, align 4 %43 = add i64 %0, 44 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 %45 = add i64 %0, 40 %46 = inttoptr i64 %45 to i32* store i32 0, i32* %46, align 4 %47 = add i64 %0, 36 %48 = inttoptr i64 %47 to i32* store i32 0, i32* %48, align 4 %49 = add i64 %0, 32 %50 = inttoptr i64 %49 to i32* store i32 0, i32* %50, align 4 ret i64 %0 uselistorder i64 %.reload2, { 2, 1, 0 } uselistorder i64* %7, { 1, 2, 0, 3, 4 } uselistorder i64* %3, { 1, 0, 2, 3 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem1, { 2, 0, 1 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i64 (i64)* @mmal_queue_get, { 1, 0 } uselistorder i64 (i64)* @mmal_port_flush, { 2, 1, 0 } uselistorder i64 (i64)* @mmal_port_disable, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
jswrap_graphics_setFontSizeX_10363
jswrap_graphics_setFontSizeX
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0) %2 = and i64 %1, 4294967295 %3 = xor i64 %2, 1 %4 = trunc i64 %3 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %arg3 to i8 %9 = icmp eq i8 %8, 0 store i64 %7, i64* %sv_0.1.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = trunc i64 %7 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 %spec.select = select i1 %15, i64 %7, i64 1 %16 = trunc i64 %spec.select to i32 %17 = icmp slt i32 %16, 1024 %spec.select4 = select i1 %17, i64 %spec.select, i64 1023 store i64 %spec.select4, i64* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %18 = load i64, i64* %sv_1, align 8 %19 = trunc i64 %18 to i16 %20 = icmp eq i16 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %0, i64 1) %23 = call i64 @FUNC(i64 %0, i64 2) %24 = call i64 @FUNC(i64 %0, i64 3) %25 = call i64 @FUNC(i64 %0, i64 4) br label LBL_5 LBL_5: %sext3 = mul i64 %sv_0.1.reload, 281474976710656 %26 = ashr exact i64 %sext3, 48 store i64 %26, i64* %sv_1, align 8 %27 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %27, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i64* %sv_1, { 0, 2, 3, 1 } uselistorder i64 %0, { 3, 2, 1, 0, 4 } uselistorder i64 (i64, i64)* @jsvObjectRemoveChild, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
jme_alloc_and_feed_skb_3798
jme_alloc_and_feed_skb
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = ashr exact i64 %sext, 28 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %6, 12 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = call i64 @FUNC(i64 %4, i32 %14, i32 %11, i64 0) %16 = and i64 %arg2, 4294967295 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false %21 = icmp eq i1 %20, false br i1 %21, label LBL_2, label LBL_1 LBL_1: %22 = load i32, i32* %10, align 4 %23 = load i32, i32* %13, align 4 %24 = load i64, i64* %3, align 8 %25 = call i64 @FUNC(i64 %24, i32 %23, i32 %22, i64 0) %26 = mul i64 %0, 4294967296 %sext6 = add i64 %26, 4294967296 %27 = ashr exact i64 %sext6, 32 store i64 %27, i64* %sv_0.0.reg2mem br label LBL_7 LBL_2: %28 = ashr exact i64 %sext, 31 %29 = add nsw i64 %28, %1 %30 = mul i64 %29, 4 %31 = add i64 %30, %0 %32 = inttoptr i64 %8 to i32* %33 = inttoptr i64 %31 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = call i64 @FUNC(i64 %8, i64 0) %38 = and i64 %36, 4294967295 %39 = call i64 @FUNC(i64 %8, i64 %38) %40 = add i64 %0, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %8, i64 %42) %44 = trunc i64 %43 to i32 store i32 %44, i32* %32, align 4 %45 = add i64 %31, 4 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = and i64 %49, 4294967295 %51 = call i64 @FUNC(i64 %0, i64 %50) %52 = trunc i64 %51 to i32 %53 = icmp ne i32 %52, 0 %54 = add i64 %8, 4 %55 = inttoptr i64 %54 to i32* %. = zext i1 %53 to i32 store i32 %., i32* %55, align 4 %56 = load i32, i32* %46, align 4 %57 = call i64 @FUNC(i64 1) %58 = trunc i64 %57 to i32 %59 = and i32 %56, %58 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_6, label LBL_3 LBL_3: %61 = add i64 %0, 40 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = icmp eq i64 %63, 0 br i1 %64, label LBL_5, label LBL_4 LBL_4: %65 = add i64 %31, 8 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = zext i32 %67 to i64 %69 = call i64 @FUNC(i64 %68) br label LBL_6 LBL_5: %70 = call i64 @FUNC(i64 %8) br label LBL_6 LBL_6: %71 = call i64 @FUNC(i64 2) %72 = call i64 @FUNC(i64 3) store i64 %0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %73 = and i64 %1, 4294967295 %74 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %73) ret i64 %74 uselistorder i64 %4, { 1, 0 } uselistorder i64 %sext, { 1, 2, 0 } uselistorder i64 %0, { 0, 3, 4, 5, 2, 1, 6, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 2, 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 4294967295, { 2, 0, 1, 3, 4, 5 } uselistorder i64 4294967296, { 2, 0, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
0
BinRealVul
icp_pit_init_14246
icp_pit_init
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = trunc i64 %arg1 to i32 %2 = call i64 @FUNC(i64 32) %3 = inttoptr i64 %2 to i32* store i32 %1, i32* %3, align 4 %sext = mul i64 %arg3, 4294967296 %4 = ashr exact i64 %sext, 29 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 40000000, i64 %7) %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 1000000, i64 %13) %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 1000000, i64 %19) %21 = add i64 %2, 24 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = call i64 @FUNC(i64 0, i64 4198785, i64 4198792, i64 %2) %24 = trunc i64 %23 to i32 %25 = and i64 %arg1, 4294967295 %26 = call i64 @FUNC(i64 %25, i64 4095, i32 %24) ret i64 %26 uselistorder i64 (i64, i64)* @arm_timer_init, { 2, 1, 0 } }
1
BinRealVul
compute_mb_distortion_15744
compute_mb_distortion
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.5.reg2mem = alloca i32 %sv_0.410.reg2mem = alloca i32 %indvars.iv20.reg2mem = alloca i64 %sv_0.38.reg2mem = alloca i32 %storemerge29.reg2mem = alloca i32 %sv_0.26.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.115.reg2mem = alloca i32 %rsi.116.reg2mem = alloca i64 %indvars.iv26.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i32 %rsi.013.reg2mem = alloca i64 %indvars.iv23.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 24 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 24 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 store i64 0, i64* %indvars.iv26.reg2mem store i64 %3, i64* %rsi.116.reg2mem store i32 0, i32* %sv_0.115.reg2mem br label LBL_3 LBL_1: %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem %rsi.013.reload = load i64, i64* %rsi.013.reg2mem %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem %10 = trunc i64 %indvars.iv23.reload to i32 %11 = add i32 %28, %10 %12 = sext i32 %11 to i64 %13 = add i64 %rsi.013.reload, %12 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i64 %17 = add i32 %29, %10 %18 = sext i32 %17 to i64 %19 = add nsw i64 %16, %18 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i64 %23 = sub nsw i64 %16, %22 %24 = mul nsw i64 %23, %23 %25 = trunc i64 %24 to i32 %26 = add i32 %sv_0.012.reload, %25 %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next24, 16 store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem store i64 %30, i64* %rsi.013.reg2mem store i32 %26, i32* %sv_0.012.reg2mem br i1 %exitcond25, label LBL_2, label LBL_1 LBL_2: %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1 %exitcond28 = icmp eq i64 %indvars.iv.next27, 16 store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem store i64 %30, i64* %rsi.116.reg2mem store i32 %26, i32* %sv_0.115.reg2mem br i1 %exitcond28, label LBL_4, label LBL_3 LBL_3: %sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem %rsi.116.reload = load i64, i64* %rsi.116.reg2mem %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem %27 = trunc i64 %indvars.iv26.reload to i32 %28 = mul i32 %6, %27 %29 = mul i32 %9, %27 %30 = zext i32 %29 to i64 store i64 0, i64* %indvars.iv23.reg2mem store i64 %rsi.116.reload, i64* %rsi.013.reg2mem store i32 %sv_0.115.reload, i32* %sv_0.012.reg2mem br label LBL_1 LBL_4: %31 = trunc i64 %1 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i64 1, i64* %indvars.iv20.reg2mem store i32 %26, i32* %sv_0.410.reg2mem store i32 %26, i32* %sv_0.5.reg2mem br i1 %33, label LBL_10, label LBL_9 LBL_5: %sv_0.26.reload = load i32, i32* %sv_0.26.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %34 = trunc i64 %indvars.iv.reload to i32 %35 = add i32 %52, %34 %36 = sext i32 %35 to i64 %37 = add i64 %57, %36 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = add i32 %53, %34 %41 = sext i32 %40 to i64 %42 = add i64 %64, %41 %43 = inttoptr i64 %42 to i8* %44 = load i8, i8* %43, align 1 %45 = zext i8 %39 to i64 %46 = zext i8 %44 to i64 %47 = sub nsw i64 %45, %46 %48 = mul nsw i64 %47, %47 %49 = trunc i64 %48 to i32 %50 = add i32 %sv_0.26.reload, %49 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %50, i32* %sv_0.26.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %51 = add nuw nsw i32 %storemerge29.reload, 1 %exitcond19 = icmp eq i32 %51, 8 store i32 %51, i32* %storemerge29.reg2mem store i32 %50, i32* %sv_0.38.reg2mem br i1 %exitcond19, label LBL_8, label LBL_7 LBL_7: %sv_0.38.reload = load i32, i32* %sv_0.38.reg2mem %storemerge29.reload = load i32, i32* %storemerge29.reg2mem %52 = mul i32 %storemerge29.reload, %61 %53 = mul i32 %storemerge29.reload, %67 store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_0.38.reload, i32* %sv_0.26.reg2mem br label LBL_5 LBL_8: %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond22 = icmp eq i64 %indvars.iv.next21, 3 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i32 %50, i32* %sv_0.410.reg2mem store i32 %50, i32* %sv_0.5.reg2mem br i1 %exitcond22, label LBL_10, label LBL_9 LBL_9: %sv_0.410.reload = load i32, i32* %sv_0.410.reg2mem %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %54 = mul i64 %indvars.iv20.reload, 8 %55 = add i64 %54, %3 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = mul i64 %indvars.iv20.reload, 4 %59 = add i64 %58, %4 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i64 %54, %2 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %58, %7 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 store i32 0, i32* %storemerge29.reg2mem store i32 %sv_0.410.reload, i32* %sv_0.38.reg2mem br label LBL_7 LBL_10: %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem %68 = zext i32 %sv_0.5.reload to i64 ret i64 %68 uselistorder i64 %58, { 1, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i64 %indvars.iv20.reload, { 2, 1, 0 } uselistorder i32 %storemerge29.reload, { 2, 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %29, { 1, 0 } uselistorder i64 %indvars.iv26.reload, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %indvars.iv23.reg2mem, { 2, 1, 0 } uselistorder i64* %rsi.013.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.012.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.26.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.38.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv20.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.410.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 3, 4, 0, 1, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
qapi_dealloc_visitor_new_14566
qapi_dealloc_visitor_new
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 128) %1 = inttoptr i64 %0 to i64* store i64 4198788, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198795, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198802, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198809, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 4198816, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 4198823, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 4198830, i64* %13, align 8 %14 = add i64 %0, 56 %15 = inttoptr i64 %14 to i64* store i64 4198837, i64* %15, align 8 %16 = add i64 %0, 64 %17 = inttoptr i64 %16 to i64* store i64 4198844, i64* %17, align 8 %18 = add i64 %0, 72 %19 = inttoptr i64 %18 to i64* store i64 4198851, i64* %19, align 8 %20 = add i64 %0, 80 %21 = inttoptr i64 %20 to i64* store i64 4198858, i64* %21, align 8 %22 = add i64 %0, 88 %23 = inttoptr i64 %22 to i64* store i64 4198865, i64* %23, align 8 %24 = add i64 %0, 96 %25 = inttoptr i64 %24 to i64* store i64 4198872, i64* %25, align 8 %26 = add i64 %0, 104 %27 = inttoptr i64 %26 to i64* store i64 4198879, i64* %27, align 8 %28 = add i64 %0, 112 %29 = inttoptr i64 %28 to i64* store i64 4198886, i64* %29, align 8 %30 = add i64 %0, 120 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %31, align 8 ret i64 %0 }
1
BinRealVul
shmem_remount_fs_10160
shmem_remount_fs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 store i64 %3, i64* %sv_1, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_1, i64 1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 4294967274, i64* %storemerge.in.reg2mem br i1 %9, label LBL_1, label LBL_8 LBL_1: %10 = add i64 %1, 32 %11 = call i64 @FUNC(i64 %10) %12 = load i64, i64* %2, align 8 %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = sub i64 %12, %15 %17 = add i64 %1, 40 %18 = call i64 @FUNC(i64 %17, i64 %6) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp slt i32 %19, 0 %22 = icmp eq i1 %21, false %23 = icmp eq i1 %20, false %24 = icmp eq i1 %22, %23 %25 = load i64, i64* %sv_1, align 8 %26 = icmp ugt i64 %16, %25 %or.cond = or i1 %26, %24 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_2 LBL_2: %27 = icmp eq i64 %6, 0 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = load i64, i64* %5, align 8 %29 = icmp eq i64 %28, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %29, label LBL_7, label LBL_4 LBL_4: %30 = icmp eq i64 %25, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = load i64, i64* %2, align 8 %32 = icmp eq i64 %31, 0 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: store i64 %6, i64* %5, align 8 %33 = load i64, i64* %sv_1, align 8 store i64 %33, i64* %2, align 8 %34 = load i64, i64* %sv_1, align 8 %35 = sub i64 %34, %16 store i64 %35, i64* %14, align 8 store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = call i64 @FUNC(i64 %10) store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem br label LBL_8 LBL_8: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i32 %19, { 1, 0 } uselistorder i64 %16, { 1, 0 } uselistorder i64* %5, { 1, 0, 2 } uselistorder i64* %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 0, 2, 1, 4, 3 } uselistorder i64* %sv_1, { 2, 3, 0, 1, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 4294967274, { 2, 1, 3, 0 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
ccp_aes_cmac_import_4737
ccp_aes_cmac_import
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 96) %3 = inttoptr i64 %1 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 96) %5 = load i64, i64* %sv_0, align 8 %6 = trunc i64 %5 to i32 %7 = inttoptr i64 %1 to i32* store i32 %6, i32* %7, align 4 %8 = add i64 %1, 4 %9 = inttoptr i64 %8 to i64* %10 = add i64 %1, 12 %11 = inttoptr i64 %10 to i64* %12 = add i64 %1, 24 %13 = inttoptr i64 %12 to i64* %14 = add i64 %1, 32 %15 = inttoptr i64 %14 to i64* %16 = add i64 %1, 40 %17 = inttoptr i64 %16 to i64* %18 = add i64 %1, 48 %19 = inttoptr i64 %18 to i64* %20 = add i64 %1, 56 %21 = inttoptr i64 %20 to i64* %22 = add i64 %1, 64 %23 = inttoptr i64 %22 to i64* %24 = add i64 %1, 72 %25 = inttoptr i64 %24 to i64* %26 = add i64 %1, 80 %27 = inttoptr i64 %26 to i64* %28 = add i64 %1, 88 %29 = inttoptr i64 %28 to i64* ret i64 0 uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 8, 9, 7, 10, 11, 12 } uselistorder i64* %sv_0, { 1, 0 } }
0
BinRealVul
scm_send_3646
scm_send
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg4 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = ptrtoint i32* %arg3 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC() %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %5) %7 = ptrtoint i32* %arg3 to i64 %8 = and i64 %6, 4294967295 %9 = call i64 @FUNC(i64 %7, i64 %8, i64 %4) store i64 %7, i64* %.pre-phi.reg2mem br label LBL_3 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = trunc i64 %1 to i32 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %12 = call i64 @FUNC(i64 %10, i64 %.pre-phi.reload) %13 = icmp eq i32 %11, 0 %14 = icmp slt i32 %11, 0 %15 = icmp eq i1 %14, false %16 = icmp eq i1 %13, false %17 = icmp eq i1 %15, %16 store i64 0, i64* %storemerge.reg2mem br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = ptrtoint i32* %arg2 to i64 %19 = call i64 @FUNC(i64 %10, i64 %18, i64 %.pre-phi.reload) store i64 %19, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32* %arg3, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mp3info_15460
mp3info
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = trunc i64 %1 to i32 %6 = mul i32 %5, 16777216 %7 = add i64 %4, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = zext i8 %9 to i32 %11 = mul i32 %10, 65536 %12 = or i32 %11, %6 %13 = add i64 %4, 2 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = add i64 %4, 3 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = udiv i32 %10, 2 %20 = urem i32 %19, 4 %21 = xor i32 %20, 3 %22 = mul i32 %21, 4 %23 = zext i32 %22 to i64 %24 = add i64 %23, ptrtoint (i32** @gv_0 to i64) %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp ugt i32 %12, -2097153 store i64 0, i64* %storemerge.reg2mem br i1 %27, label LBL_1, label LBL_9 LBL_1: %28 = zext i8 %15 to i32 %29 = udiv i32 %28, 2 %30 = urem i32 %29, 2 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_3, label LBL_2 LBL_2: %33 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0)) call void @exit(i32 0) unreachable LBL_3: %34 = udiv i32 %28, 16 %35 = udiv i32 %28, 4 %36 = urem i32 %35, 4 %37 = icmp ugt i8 %18, -65 %38 = zext i1 %37 to i32 %39 = bitcast i64* %arg5 to i32* store i32 %38, i32* %39, align 4 %40 = and i32 %10, 8 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_5, label LBL_4 LBL_4: %42 = mul i32 %36, 4 %43 = zext i32 %42 to i64 %44 = add i64 %43, ptrtoint (i32** @gv_2 to i64) %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = bitcast i64* %arg4 to i32* store i32 %46, i32* %47, align 4 %48 = mul i32 %21, 16 %49 = or i32 %48, %34 %50 = mul i32 %49, 4 %51 = zext i32 %50 to i64 %52 = add i64 %51, ptrtoint (i32** @gv_3 to i64) %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = add i64 %23, ptrtoint (i32** @gv_4 to i64) %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = bitcast i64* %arg3 to i32* store i32 %57, i32* %58, align 4 store i32 %54, i32* %sv_0.0.in.reg2mem br label LBL_8 LBL_5: %59 = and i32 %10, 16 %60 = icmp eq i32 %59, 0 %61 = mul i32 %36, 4 %62 = zext i32 %61 to i64 br i1 %60, label LBL_7, label LBL_6 LBL_6: %63 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 16) %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = bitcast i64* %arg4 to i32* store i32 %65, i32* %66, align 4 %67 = mul i32 %21, 16 %68 = or i32 %67, %34 %69 = mul i32 %68, 4 %70 = zext i32 %69 to i64 %71 = add i64 %70, add (i64 ptrtoint (i32** @gv_3 to i64), i64 256) %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 16) %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = bitcast i64* %arg3 to i32* store i32 %76, i32* %77, align 4 store i32 %73, i32* %sv_0.0.in.reg2mem br label LBL_8 LBL_7: %78 = add i64 %62, add (i64 ptrtoint (i32** @gv_2 to i64), i64 32) %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = bitcast i64* %arg4 to i32* store i32 %80, i32* %81, align 4 %82 = mul i32 %21, 16 %83 = or i32 %82, %34 %84 = mul i32 %83, 4 %85 = zext i32 %84 to i64 %86 = add i64 %85, add (i64 ptrtoint (i32** @gv_3 to i64), i64 256) %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = add i64 %23, add (i64 ptrtoint (i32** @gv_4 to i64), i64 32) %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = bitcast i64* %arg3 to i32* store i32 %91, i32* %92, align 4 store i32 %88, i32* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %93 = trunc i64 %2 to i32 %sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem %sv_0.0 = mul i32 %sv_0.0.in.reload, 1000 %94 = ashr i32 %sv_0.0, 31 %95 = zext i32 %sv_0.0 to i64 %96 = zext i32 %94 to i64 %97 = mul i64 %96, 4294967296 %98 = or i64 %97, %95 %99 = zext i32 %26 to i64 %100 = sdiv i64 %98, %99 %101 = trunc i64 %100 to i32 %102 = mul i32 %101, %93 %103 = ashr i32 %102, 31 %104 = zext i32 %102 to i64 %105 = zext i32 %103 to i64 %106 = mul i64 %105, 4294967296 %107 = or i64 %106, %104 %108 = and i64 %3, 4294967295 %109 = sdiv i64 %107, %108 %110 = trunc i64 %109 to i32 %111 = add i32 %30, %110 %112 = mul i32 %111, %26 %113 = bitcast i64* %arg2 to i32* store i32 %112, i32* %113, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %34, { 2, 1, 0 } uselistorder i32 %30, { 1, 0 } uselistorder i32 %28, { 1, 2, 0 } uselistorder i64 %23, { 2, 1, 0, 3 } uselistorder i32 %10, { 2, 3, 1, 0 } uselistorder i32* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 16, { 0, 1, 4, 2, 3 } uselistorder i32 4, { 0, 1, 2, 3, 4, 7, 6, 5, 8 } uselistorder i32 2, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
timerqueue_del_6357
timerqueue_del
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 %3) %5 = call i64 @FUNC(i64 %0, i64 %1) %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i64 %11 = and i64 %7, -256 %12 = or i64 %11, %10 ret i64 %12 uselistorder i64 %7, { 1, 0 } }
0
BinRealVul
pci_pcnet_init_14091
pci_pcnet_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 6 %2 = call i64 @FUNC(i64 %1, i64 96) %3 = add i64 %0, 44 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = add i64 %0, 46 %6 = call i64 @FUNC(i64 %5, i64 0) %7 = add i64 %0, 61 %8 = inttoptr i64 %7 to i8* store i8 1, i8* %8, align 1 %9 = add i64 %0, 62 %10 = inttoptr i64 %9 to i8* store i8 6, i8* %10, align 1 %11 = add i64 %0, 63 %12 = inttoptr i64 %11 to i8* store i8 -1, i8* %12, align 1 %13 = call i64 @FUNC(i64 %0) %14 = add i64 %0, 8 %15 = call i64 @FUNC(i64 %14, i64 %13, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4096) %16 = call i64 @FUNC(i64 %0) %17 = add i64 %0, 40 %18 = call i64 @FUNC(i64 %17, i64 %16, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 256) %19 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 %17) %20 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 %14) %21 = call i64 @FUNC(i64 %0) %22 = trunc i64 %21 to i32 %23 = bitcast i64* %arg1 to i32* store i32 %22, i32* %23, align 4 %24 = load i64, i64* @gv_4, align 8 %25 = add i64 %0, 16 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = load i64, i64* @gv_5, align 8 %28 = add i64 %0, 24 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i64* store i64 %0, i64* %31, align 8 %32 = call i64 @FUNC(i64 %0) %33 = call i64 @FUNC(i64 %32, i64 %0, i64* nonnull @gv_6) ret i64 %33 uselistorder i64 %0, { 20, 4, 3, 19, 18, 17, 2, 1, 0, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5 } uselistorder i64 (i64, i64, i64, i64)* @pci_register_bar, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 1, 0 } uselistorder i64 (i64, i64)* @pci_set_word, { 2, 1, 0 } }
1