dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
hci_sock_getname_11298
hci_sock_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %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 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %0) %5 = icmp eq i64 %3, 0 %6 = icmp eq i1 %5, false store i64 4294967219, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = inttoptr i64 %3 to i32* %9 = call i64 @FUNC(i64 %0) %10 = bitcast i64* %arg3 to i32* store i32 8, i32* %10, align 4 %11 = bitcast i64* %arg2 to i16* store i16 31, i16* %11, align 2 %12 = load i32, i32* %8, align 4 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = 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 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
usb_alloc_streams_18044
usb_alloc_streams
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %storemerge59.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %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 = icmp eq i64 %9, 0 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %10, label LBL_9, label LBL_1 LBL_1: %11 = add i64 %7, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %15, label LBL_2, label LBL_9 LBL_2: %16 = inttoptr i64 %1 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 3 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %18, label LBL_3, label LBL_9 LBL_3: %19 = ptrtoint i64* %arg2 to i64 %20 = trunc i64 %arg3 to i32 %21 = icmp eq i32 %20, 0 store i32 0, i32* %storemerge59.reg2mem store i64 %5, i64* %rax.0.shrunk.reg2mem br i1 %21, label LBL_9, label LBL_4 LBL_4: %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %22 = sext i32 %storemerge59.reload to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, %19 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %30, label LBL_5, label LBL_9 LBL_5: %31 = load i64, i64* %25, align 8 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 0 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %34, label LBL_6, label LBL_9 LBL_6: %35 = add nuw i32 %storemerge59.reload, 1 %36 = icmp ult i32 %35, %20 store i32 %35, i32* %storemerge59.reg2mem br i1 %36, label LBL_4, label LBL_7 LBL_7: %37 = trunc i64 %5 to i32 %38 = icmp slt i32 %37, 0 store i32 0, i32* %storemerge8.reg2mem store i64 %5, i64* %rax.0.shrunk.reg2mem br i1 %38, label LBL_9, label LBL_8 LBL_8: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %39 = sext i32 %storemerge8.reload to i64 %40 = mul i64 %39, 8 %41 = add i64 %40, %19 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i32* store i32 %37, i32* %44, align 4 %45 = add nuw i32 %storemerge8.reload, 1 %exitcond = icmp eq i32 %45, %20 store i32 %45, i32* %storemerge8.reg2mem store i64 %5, i64* %rax.0.shrunk.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %20, { 0, 2, 1 } uselistorder i64 %5, { 0, 2, 3, 1, 4 } uselistorder i32* %storemerge59.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 5, 1, 2, 4, 6, 8, 7 } uselistorder i64 4294967274, { 0, 1, 2, 4, 3 } uselistorder label LBL_9, { 2, 4, 0, 1, 3, 5, 7, 6 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
trun_del_9725
trun_del
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_6, label LBL_1 LBL_1: %1 = call i64 @FUNC(i64 %arg1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %rdi.01.reg2mem store i64 %arg1, i64* %rdi.0.lcssa.reg2mem br i1 %4, label LBL_2, label LBL_3 LBL_2: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %5 = call i64 @FUNC(i64 %rdi.01.reload, i64 0) %6 = call i64 @FUNC(i64 %rdi.01.reload, i64 0) %7 = call i64 @FUNC(i64 %5) %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %5, i64* %rdi.01.reg2mem store i64 %5, i64* %rdi.0.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_3: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %12 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) %13 = add i64 %arg1, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %15) br label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %arg1) store i64 %18, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.01.reload, { 1, 0 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @gf_free, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @gf_list_count, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 3, 4, 0, 1, 2, 5 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ape_decode_init_14500
ape_decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %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 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 6 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %11 = add i64 %5, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 16 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %16 = trunc i64 %3 to i32 %17 = icmp slt i32 %16, 3 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %19 = add i64 %5, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = bitcast i64* %rdi to i32* %23 = inttoptr i64 %21 to i64* store i64 %5, i64* %23, align 8 %24 = load i32, i32* %22, align 8 %25 = add i64 %21, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = add i64 %5, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i16* %31 = load i16, i16* %30, align 2 %32 = zext i16 %31 to i32 %33 = add i64 %21, 12 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = load i64, i64* %28, align 8 %36 = add i64 %35, 2 %37 = inttoptr i64 %36 to i16* %38 = load i16, i16* %37, align 2 %39 = zext i16 %38 to i32 %40 = add i64 %21, 16 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i64, i64* %28, align 8 %43 = add i64 %42, 4 %44 = inttoptr i64 %43 to i16* %45 = load i16, i16* %44, align 2 %46 = zext i16 %45 to i32 %47 = add i64 %21, 20 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i32, i32* %41, align 4 %50 = zext i16 %45 to i64 %51 = zext i32 %49 to i64 %52 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %51, i64 %50, i64 %1) %53 = load i32, i32* %41, align 4 %54 = srem i32 %53, 1000 %55 = icmp eq i32 %54, 0 %56 = icmp slt i32 %53, 10001 %or.cond = icmp eq i1 %56, %55 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %57 = zext i32 %53 to i64 %58 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 %57, i64 %50, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %59 = add i64 %21, 112 %60 = inttoptr i64 %59 to i32* %61 = add i64 %21, 24 %62 = load i32, i32* bitcast (i32** @gv_5 to i32*), align 8 %63 = icmp eq i32 %62, 0 store i64 0, i64* %indvars.iv.reg2mem store i32 %62, i32* %.reg2mem br i1 %63, label LBL_11, label LBL_9 LBL_9: %.reload = load i32, i32* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %64 = mul i32 %.reload, 12 %65 = add i32 %64, 40 %66 = sext i32 %65 to i64 %67 = call i64 @FUNC(i64 %66) %68 = mul i64 %indvars.iv.reload, 8 %69 = add i64 %61, %68 %70 = inttoptr i64 %69 to i64* store i64 %67, i64* %70, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %71 = icmp ult i64 %indvars.iv.next, 10 br i1 %71, label LBL_9.dec_label_pc_40139b_crit_edge, label LBL_11 LBL_10: %.pre = load i32, i32* %60, align 4 %72 = sext i32 %.pre to i64 %73 = mul nsw i64 %72, 10 %74 = add nsw i64 %73, %indvars.iv.next %75 = mul i64 %74, 4 %76 = add i64 %75, ptrtoint (i32** @gv_5 to i64) %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = icmp eq i32 %78, 0 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %78, i32* %.reg2mem br i1 %79, label LBL_11, label LBL_9 LBL_11: %80 = add i64 %21, 104 %81 = call i64 @FUNC(i64 %80, i64 %5) %82 = add i64 %5, 24 %83 = inttoptr i64 %82 to i32* store i32 1, i32* %83, align 4 %84 = load i32, i32* %22, align 8 %85 = icmp eq i32 %84, 2 %86 = icmp eq i1 %85, false %. = select i1 %86, i32 1, i32 3 %87 = add i64 %5, 28 %88 = inttoptr i64 %87 to i32* store i32 %., i32* %88, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %53, { 1, 2, 0 } uselistorder i64 %50, { 1, 0 } uselistorder i64 %21, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 %5, { 1, 3, 2, 0, 4, 5, 8, 12, 9, 10, 6, 7, 11 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i32** @gv_5, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
get_riff_2791
get_riff
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %storemerge.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.reg2mem22 = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %.reg2mem = alloca i64* %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = load i8, i8* %1 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %7 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i64 4) %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = bitcast i64* %arg1 to i32* store i32 %9, i32* %10, align 4 %11 = call i64 @FUNC(i64 %5) %12 = trunc i64 %11 to i32 %13 = trunc i64 %4 to i32 %14 = add i32 %12, %13 store i32 %14, i32* %10, align 4 %15 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i64 4) %16 = load [5 x i8]*, [5 x i8]** @gv_0, align 8 %17 = ptrtoint [5 x i8]* %16 to i64 %18 = icmp eq [5 x i8]* %16, null %19 = icmp eq i1 %18, false store i64* bitcast ([5 x i8]** @gv_0 to i64*), i64** %.reg2mem store i64 ptrtoint ([5 x i8]** @gv_0 to i64), i64* %.reg2mem20 store i32 0, i32* %storemerge12.reg2mem store i64 %17, i64* %.reg2mem22 store i64 %5, i64* %rcx.1.reg2mem br i1 %19, label LBL_1, label LBL_4 LBL_1: %.reload21 = load i64, i64* %.reg2mem20 %.reload = load i64*, i64** %.reg2mem %20 = call i32 @memcmp(i64* nonnull %sv_1, i64* %.reload, i32 8) %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_1.LBL_4_crit_edge, label LBL_2 LBL_2: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %22 = add i32 %storemerge12.reload, 1 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 8 %25 = add i64 %24, ptrtoint ([5 x i8]** @gv_0 to i64) %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64* %26, i64** %.reg2mem store i64 %25, i64* %.reg2mem20 store i32 %22, i32* %storemerge12.reg2mem store i64 %27, i64* %.reg2mem22 store i64 %.reload21, i64* %rcx.1.reg2mem br i1 %29, label LBL_1, label LBL_4 LBL_3: %.pre = load i64, i64* %.reload, align 8 store i64 %.pre, i64* %.reg2mem22 store i64 %.reload21, i64* %rcx.1.reg2mem br label LBL_4 LBL_4: %.reload23 = load i64, i64* %.reg2mem22 %30 = icmp eq i64 %.reload23, 0 %31 = icmp eq i1 %30, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %31, label LBL_5, label LBL_7 LBL_5: %32 = icmp eq i8 %6, 25 %33 = icmp eq i1 %32, false store i64 0, i64* %storemerge.reg2mem br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = ptrtoint i64* %arg1 to i64 %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %35 = call i64 @FUNC(i64 %34, i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.1.reload, i64 %3, i64 %2) 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* %.reload, { 1, 0 } uselistorder i64 %.reload21, { 1, 0 } uselistorder i64 %5, { 0, 2, 1, 3, 4 } uselistorder i64** %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem20, { 2, 0, 1 } uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem22, { 0, 3, 1, 2 } uselistorder i64* %rcx.1.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 ptrtoint ([5 x i8]** @gv_0 to i64), { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder [5 x i8]** @gv_0, { 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
crypto_open_16633
crypto_open
define i64 @FUNC(i64* %arg1, i8* %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 = load i64, i64* %0 %4 = ptrtoint i8* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_12 LBL_3: %15 = add i64 %5, 32 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp slt i32 %17, 16 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = add i64 %5, 36 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp sgt i32 %21, 15 br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967274, i64* %sv_0.0.reg2mem br label LBL_12 LBL_6: %24 = and i64 %arg3, 2 %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967258, i64* %sv_0.0.reg2mem br label LBL_12 LBL_8: %27 = load i64, i64* %sv_1, align 8 %28 = call i64 @FUNC(i64 %5, i64 %27, i64 1) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i64 %27, i64 %2, i64 %1) %phitmp = and i64 %28, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_12 LBL_10: %33 = load i64, i64* @gv_6, align 8 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %5, 8 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = icmp eq i64 %34, 0 %38 = icmp eq i1 %37, false store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %38, label LBL_11, label LBL_12 LBL_11: %39 = add i64 %5, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %34, i64 %41, i64 128, i64 1) %43 = inttoptr i64 %35 to i32* store i32 1, i32* %43, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_13 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %44 = add i64 %5, 16 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46) %48 = add i64 %5, 24 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %34, { 1, 0, 2 } uselistorder i64* %sv_1, { 2, 0, 1 } uselistorder i64 %5, { 7, 6, 3, 4, 2, 5, 1, 8, 10, 9, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 3, 5, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64 (i64, i8*, i64*)* @av_strstart, { 1, 0 } }
1
BinRealVul
scsi_bus_legacy_add_drive_2896
scsi_bus_legacy_add_drive
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %. = select i1 %4, i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64 ptrtoint ([13 x i8]* @gv_1 to i64) %5 = call i64 @FUNC(i64 %1, i64 %.) %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i32 %arg3) %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %0) %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = icmp slt i32 %9, 0 %11 = icmp eq i1 %10, false %storemerge = select i1 %11, i64 %5, i64 0 ret i64 %storemerge }
0
BinRealVul
dlt_filter_load_13252
dlt_filter_load
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.ph8.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %5 = icmp ne i64* %arg1, null %6 = icmp eq i64 %arg2, 0 %7 = icmp eq i1 %6, false %or.cond7 = icmp eq i1 %5, %7 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_1, label LBL_18 LBL_1: %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %arg2 to i8* %12 = call %_IO_FILE* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %13 = icmp eq %_IO_FILE* %12, null %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %16 = bitcast i64* %arg1 to i32* store i32 0, i32* %16, align 4 %17 = call i32 @feof(%_IO_FILE* %12) %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_17 LBL_4: %19 = ptrtoint i64* %arg1 to i64 %20 = trunc i64 %3 to i32 %21 = bitcast i8* %sv_2 to i64* %22 = icmp sgt i32 %20, 99 %23 = trunc i64 %8 to i32 br label LBL_5 LBL_5: %rcx.0.ph8.reload = load i64, i64* %rcx.0.ph8.reg2mem br label LBL_6 LBL_6: store i8 0, i8* %sv_2, align 1 %24 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %25 = icmp eq i32 %24, 1 %26 = icmp eq i1 %25, false %27 = load i8, i8* %sv_2, align 1 %28 = icmp eq i8 %27, 0 %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_17, label LBL_7 LBL_7: %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* nonnull %sv_2) %30 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_5) br label LBL_10 LBL_9: %34 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %21) br label LBL_10 LBL_10: store i8 0, i8* %sv_2, align 1 %35 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %sv_2) %36 = icmp eq i32 %35, 1 %37 = icmp eq i1 %36, false %38 = load i8, i8* %sv_2, align 1 %39 = icmp eq i8 %38, 0 %or.cond5 = or i1 %37, %39 br i1 %or.cond5, label LBL_17, label LBL_11 LBL_11: %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i8* nonnull %sv_2) %41 = call i32 @strcmp(i8* nonnull %sv_2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_5) br label LBL_14 LBL_13: %45 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %21) br label LBL_14 LBL_14: br i1 %22, label LBL_16, label LBL_15 LBL_15: %46 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1, i64* nonnull %sv_0, i32 %23) %47 = call i32 @feof(%_IO_FILE* %12) %48 = icmp eq i32 %47, 0 store i64 %9, i64* %rcx.0.ph8.reg2mem br i1 %48, label LBL_5, label LBL_17 LBL_16: %49 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_7, i64 0, i64 0), i64 100, i64 %rcx.0.ph8.reload, i64 %2, i64 %1) %50 = call i32 @feof(%_IO_FILE* %12) %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_6, label LBL_17 LBL_17: %52 = call i32 @fclose(%_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %12, { 3, 5, 1, 2, 4, 0, 6 } uselistorder i8* %sv_2, { 4, 5, 0, 2, 9, 7, 8, 1, 3, 10, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rcx.0.ph8.reg2mem, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64*)* @dlt_set_id, { 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fscanf, { 1, 0 } uselistorder i8 0, { 0, 3, 1, 4, 5, 2 } uselistorder i32 (%_IO_FILE*)* @feof, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dlt_vlog, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_17, { 1, 0, 3, 2, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
auth_password_11366
auth_password
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = load i32, i32* @gv_0, align 4 %10 = trunc i64 %1 to i8 %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = load i32, i32* @gv_1, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_7 LBL_2: %16 = icmp eq i32 %8, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i32 %9, 1 %or.cond = or i1 %17, %18 %spec.select = select i1 %or.cond, i32 %5, i32 0 %19 = load i32, i32* @gv_2, align 4 %20 = icmp eq i32 %19, 1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %2, i64 %arg2) %23 = trunc i64 %22 to i32 %24 = icmp ne i32 %23, 1 %25 = icmp eq i32 %23, 0 %26 = icmp eq i1 %25, false %or.cond5 = icmp eq i1 %24, %26 br i1 %or.cond5, label LBL_5, label LBL_4 LBL_4: %27 = icmp eq i32 %spec.select, 0 %or.cond3 = or i1 %27, %25 %not.or.cond3 = icmp ne i1 %or.cond3, true %. = zext i1 %not.or.cond3 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_7 LBL_5: %28 = call i64 @FUNC(i64 %2, i64 %arg2) %29 = icmp eq i64 %28, -1 %30 = icmp eq i1 %29, false store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_6, label LBL_7 LBL_6: %31 = call i64 @FUNC(i64 %28) %32 = zext i32 %spec.select to i64 store i64 %32, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 0, 2, 5, 3, 4 } uselistorder i8 0, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_7, { 3, 0, 1, 2 } }
1
BinRealVul
qapi_dealloc_end_struct_3103
qapi_dealloc_end_struct
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = inttoptr i64 %2 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
mrb_ary_splice_4717
mrb_ary_splice
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.pre-phi15.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_4 = alloca i64, align 8 %1 = trunc i64 %arg4 to i32 %sext4 = mul i64 %arg4, 4294967296 %2 = ashr exact i64 %sext4, 32 store i64 %arg5, i64* %sv_4, align 8 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %arg1, i64 %3) %5 = icmp slt i32 %1, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %2, 4294967295 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %8) unreachable LBL_2: %sext = mul i64 %arg3, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = inttoptr i64 %3 to i32* %12 = trunc i64 %10 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false %.pre = load i32, i32* %11, align 4 store i64 %10, i64* %sv_3.0.reg2mem br i1 %14, label LBL_5, label LBL_3 LBL_3: %15 = add i32 %.pre, %12 %16 = sext i32 %15 to i64 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %sv_3.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_5: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %20 = zext i32 %.pre to i64 %21 = icmp sgt i64 %2, %20 br i1 %21, label LBL_8, label LBL_6 LBL_6: %22 = add nsw i64 %sv_3.0.reload, %2 %23 = and i64 %22, 4294967295 %24 = icmp ugt i64 %23, %20 br i1 %24, label LBL_8, label LBL_6.LBL_9_crit_edge LBL_7: %.pre14 = trunc i64 %sv_3.0.reload to i32 store i32 %.pre14, i32* %.pre-phi15.reg2mem store i64 %2, i64* %sv_2.0.reg2mem br label LBL_9 LBL_8: %25 = trunc i64 %sv_3.0.reload to i32 %26 = sub i32 %.pre, %25 %27 = sext i32 %26 to i64 store i32 %25, i32* %.pre-phi15.reg2mem store i64 %27, i64* %sv_2.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.pre-phi15.reload = load i32, i32* %.pre-phi15.reg2mem %28 = call i64 @FUNC(i64 %arg5) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_12, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %arg5) %32 = trunc i64 %31 to i32 %33 = load i64, i64* %sv_4, align 8 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %3, 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = icmp eq i64 %34, %37 %39 = icmp eq i1 %38, false store i32 %32, i32* %sv_1.0.reg2mem store i64 %34, i64* %sv_0.0.reg2mem br i1 %39, label LBL_13, label LBL_11 LBL_11: %40 = call i64 @FUNC(i64 %arg1, i64 %3) %41 = add i64 %40, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 store i32 %32, i32* %sv_1.0.reg2mem store i64 %43, i64* %sv_0.0.reg2mem br label LBL_13 LBL_12: %44 = ptrtoint i64* %sv_4 to i64 store i32 1, i32* %sv_1.0.reg2mem store i64 %44, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %45 = trunc i64 %sv_2.0.reload to i32 %46 = add i32 %.pre-phi15.reload, %45 %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %47 = add i32 %sv_1.0.reload, %.pre-phi15.reload %48 = load i32, i32* %11, align 4 %49 = zext i32 %48 to i64 %50 = sext i32 %46 to i64 %51 = icmp slt i64 %50, %49 %52 = sub i32 %48, %46 %53 = select i1 %51, i32 %52, i32 0 %sv_5.0 = add i32 %47, %53 %54 = icmp ult i32 %sv_5.0, 1001 br i1 %54, label LBL_15, label LBL_14 LBL_14: %55 = call i64 @FUNC(i64 %arg1, i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %56 = add i64 %3, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = zext i32 %58 to i64 %60 = sext i32 %sv_5.0 to i64 %61 = icmp sgt i64 %60, %59 store i64 %49, i64* %.pre-phi.reg2mem store i32 %48, i32* %.reg2mem br i1 %61, label LBL_16, label LBL_17 LBL_16: %62 = call i64 @FUNC(i64 %arg1, i64 %3, i32 %sv_5.0) %.pre12 = load i32, i32* %11, align 4 %.pre13 = zext i32 %.pre12 to i64 store i64 %.pre13, i64* %.pre-phi.reg2mem store i32 %.pre12, i32* %.reg2mem br label LBL_17 LBL_17: %.reload = load i32, i32* %.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %63 = icmp sgt i64 %sv_3.0.reload, %.pre-phi.reload br i1 %63, label LBL_18, label LBL_19 LBL_18: %64 = sub i32 %.pre-phi15.reload, %.reload %65 = add i64 %3, 8 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = sext i32 %.reload to i64 %69 = mul i64 %68, 8 %70 = add i64 %67, %69 %71 = zext i32 %64 to i64 %72 = call i64 @FUNC(i64 %70, i64 %71) br label LBL_21 LBL_19: %73 = icmp slt i64 %sv_3.0.reload, %.pre-phi.reload br i1 %73, label LBL_20, label LBL_21 LBL_20: %74 = sub i32 %.reload, %46 %75 = add i64 %3, 8 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = mul i64 %50, 8 %79 = add i64 %77, %78 %80 = sext i32 %sv_1.0.reload to i64 %81 = add nsw i64 %sv_3.0.reload, %80 %82 = mul i64 %81, 8 %83 = add i64 %77, %82 %84 = zext i32 %74 to i64 %85 = call i64 @FUNC(i64 %83, i64 %79, i64 %84) br label LBL_21 LBL_21: %86 = icmp sgt i32 %sv_1.0.reload, 0 br i1 %86, label LBL_22, label LBL_24 LBL_22: %87 = add i64 %3, 8 %88 = inttoptr i64 %87 to i64* %wide.trip.count = zext i32 %sv_1.0.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_23 LBL_23: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %89 = mul i64 %indvars.iv.reload, 8 %90 = add i64 %89, %sv_0.0.reload %91 = load i64, i64* %88, align 8 %92 = add nsw i64 %indvars.iv.reload, %sv_3.0.reload %93 = mul i64 %92, 8 %94 = add i64 %93, %91 %95 = inttoptr i64 %90 to i64* %96 = load i64, i64* %95, align 8 %97 = inttoptr i64 %94 to i64* store i64 %96, i64* %97, align 8 %98 = load i64, i64* %95, align 8 %99 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %98) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_24, label LBL_23 LBL_24: store i32 %sv_5.0, i32* %11, align 4 ret i64 %0 uselistorder i32 %sv_5.0, { 1, 3, 2, 0 } uselistorder i32 %sv_1.0.reload, { 2, 1, 0, 3 } uselistorder i32 %46, { 0, 2, 1 } uselistorder i64 %sv_3.0.reload, { 5, 6, 1, 2, 0, 3, 4 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %.pre, { 2, 1, 0 } uselistorder i32* %11, { 2, 0, 3, 1 } uselistorder i64 %3, { 2, 3, 1, 0, 4, 5, 6, 7, 8, 9 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 0, 1, 5, 2, 3, 6, 4, 7, 8, 9 } uselistorder i64 (i64, i64, i8*)* @mrb_raise, { 1, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i64 4294967296, { 1, 0, 2 } uselistorder i64 %arg1, { 4, 5, 3, 2, 1, 0, 6 } uselistorder label LBL_21, { 1, 0, 2 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
virtio_config_readb_14953
virtio_config_readb
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %arg2, 4294967295 %3 = and i64 %1, 4294967295 %4 = add nsw i64 %3, -1 %5 = icmp ugt i64 %2, %4 store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i32* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %9, %2 %11 = call i64 @FUNC(i64 %10) %12 = urem i64 %11, 256 store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
free_buffers_8863
free_buffers
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.01.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %indvars.iv.reg2mem store i64 %arg1, i64* %rdi.01.reg2mem br i1 %0, label LBL_2, label LBL_1 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul nuw nsw i64 %indvars.iv.reload, 96 %2 = add i64 %1, %rdi.01.reload %3 = inttoptr i64 %2 to i64* %4 = call i32 @pthread_cond_destroy(i64* %3) %5 = add nuw nsw i64 %1, 48 %6 = add i64 %5, %2 %7 = inttoptr i64 %6 to i64* %8 = call i32 @pthread_mutex_destroy(i64* %7) %9 = add nuw nsw i64 %1, 88 %10 = add i64 %9, %6 %11 = call i64 @FUNC(i64 %10) %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 %10, i64* %rdi.01.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %12 = call i64 @FUNC(i64 %arg1) %13 = add i64 %arg1, 8 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %arg1, 16 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %arg1, 24 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %arg1, 32 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %arg1, 40 %22 = inttoptr i64 %21 to i64* store i64 0, i64* %22, align 8 ret i64 %arg1 uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64)* @av_freep, { 4, 3, 2, 1, 0, 5 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 3, 2, 1, 7, 6, 5, 4, 0, 8 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
inode_change_ok_6128
inode_change_ok
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = trunc i64 %2 to i32 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = ptrtoint i32* %arg1 to i64 %11 = zext i32 %9 to i64 %12 = call i64 @FUNC(i64 %10, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %12, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_22 LBL_3: %16 = and i32 %4, 2 %17 = icmp eq i32 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_22 LBL_4: %18 = and i32 %4, 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_8, label LBL_5 LBL_5: %20 = call i64 @FUNC() %21 = and i64 %1, 4294967295 %22 = and i64 %20, 4294967295 %23 = call i64 @FUNC(i64 %22, i64 %21) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_7, label LBL_6 LBL_6: %26 = add i64 %3, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29, i64 %21) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = ptrtoint i32* %arg1 to i64 %35 = call i64 @FUNC(i64 %34, i64 1) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %38, label LBL_8, label LBL_22 LBL_8: %39 = and i32 %4, 8 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_14, label LBL_9 LBL_9: %41 = call i64 @FUNC() %42 = and i64 %1, 4294967295 %43 = and i64 %41, 4294967295 %44 = call i64 @FUNC(i64 %43, i64 %42) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_9.LBL_13_crit_edge, label LBL_11 LBL_10: %.pre = ptrtoint i32* %arg1 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_13 LBL_11: %47 = add i64 %3, 12 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = zext i32 %49 to i64 %51 = call i64 @FUNC(i64 %50) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_14, label LBL_12 LBL_12: %55 = ptrtoint i32* %arg1 to i64 %56 = add i64 %55, 4 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = load i32, i32* %48, align 4 %60 = zext i32 %58 to i64 %61 = zext i32 %59 to i64 %62 = call i64 @FUNC(i64 %61, i64 %60) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i64 %55, i64* %.pre-phi.reg2mem br i1 %65, label LBL_14, label LBL_13 LBL_13: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %66 = call i64 @FUNC(i64 %.pre-phi.reload, i64 1) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %69, label LBL_14, label LBL_22 LBL_14: %70 = and i32 %4, 16 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_19, label LBL_15 LBL_15: %72 = ptrtoint i32* %arg1 to i64 %73 = call i64 @FUNC(i64 %72) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %76, label LBL_16, label LBL_22 LBL_16: %77 = add i64 %72, 4 %78 = add i64 %3, 12 %storemerge.in.in.in = select i1 %40, i64 %77, i64 %78 %storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i32* %storemerge.in = load i32, i32* %storemerge.in.in, align 4 %storemerge = zext i32 %storemerge.in to i64 %79 = call i64 @FUNC(i64 %storemerge) %80 = trunc i64 %79 to i32 %81 = icmp eq i32 %80, 0 %82 = icmp eq i1 %81, false br i1 %82, label LBL_19, label LBL_17 LBL_17: %83 = call i64 @FUNC(i64 %72, i64 2) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 %86 = icmp eq i1 %85, false br i1 %86, label LBL_19, label LBL_18 LBL_18: %87 = add i64 %3, 16 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = and i32 %89, -8193 store i32 %90, i32* %88, align 4 br label LBL_19 LBL_19: %91 = and i32 %4, 224 %92 = icmp eq i32 %91, 0 br i1 %92, label LBL_21, label LBL_20 LBL_20: %93 = ptrtoint i32* %arg1 to i64 %94 = call i64 @FUNC(i64 %93) %95 = trunc i64 %94 to i32 %96 = icmp eq i32 %95, 0 %97 = icmp eq i1 %96, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %97, label LBL_21, label LBL_22 LBL_21: store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %21, { 1, 0 } uselistorder i32 %4, { 5, 4, 3, 1, 2, 0 } uselistorder i64 %3, { 3, 4, 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @inode_owner_or_capable, { 1, 0 } uselistorder i64 (i64)* @in_group_p, { 1, 0 } uselistorder i64 (i64, i64)* @capable_wrt_inode_uidgid, { 2, 1, 0 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i64 (i64, i64)* @uid_eq, { 2, 1, 0 } uselistorder i64 ()* @current_fsuid, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg1, { 5, 4, 3, 0, 2, 1 } uselistorder label LBL_22, { 5, 0, 1, 2, 3, 4, 6 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
gen_rev16_2553
gen_rev16
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = and i64 %arg1, 4294967295 %3 = and i64 %0, 4294967295 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 8) %5 = call i64 @FUNC(i64 %3, i64 %3, i64 16711935) %6 = call i64 @FUNC(i64 %2, i64 %2, i64 8) %7 = call i64 @FUNC(i64 %2, i64 %2, i64 4278255360) %8 = call i64 @FUNC(i64 %2, i64 %2, i32 %1) %9 = call i64 @FUNC(i64 %3) ret i64 %9 uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i64 %2, { 1, 0, 3, 2, 5, 4, 6 } uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 1, 0 } }
0
BinRealVul
_asn1_ltostr_11633
_asn1_ltostr
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %0 = icmp slt i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = bitcast i64* %arg2 to i8* store i8 45, i8* %2, align 1 %3 = sub i64 0, %arg1 store i64 %3, i64* %sv_1.0.reg2mem store i32 1, i32* %sv_2.0.reg2mem br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %sv_3 to i64 %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %6 = add i64 %5, -64 store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %7 = lshr i64 %sv_1.1.reload, 63 %8 = ashr i64 %sv_1.1.reload, 63 %9 = and i64 %8, 246 %10 = add i64 %9, %sv_1.1.reload %11 = trunc i64 %10 to i8 %12 = add i8 %11, 48 %13 = add i32 %sv_0.0.reload, %sv_2.0.reload %14 = sext i32 %13 to i64 %15 = add i64 %6, %14 %16 = inttoptr i64 %15 to i8* store i8 %12, i8* %16, align 1 %17 = add i32 %sv_0.0.reload, 1 %18 = icmp eq i64 %7, 0 %19 = icmp eq i1 %18, false store i64 %7, i64* %sv_1.1.reg2mem store i32 %17, i32* %sv_0.0.reg2mem br i1 %19, label LBL_3, label LBL_4 LBL_4: %20 = icmp sgt i32 %17, 0 %21 = add i32 %17, %sv_2.0.reload br i1 %20, label LBL_5, label LBL_7 LBL_5: %22 = zext i32 %sv_2.0.reload to i64 %23 = add i64 %22, %4 %wide.trip.count = zext i32 %17 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %24 = trunc i64 %indvars.iv.reload to i32 %25 = sub i32 0, %24 %26 = sub i32 %25, 1 %27 = add i32 %21, %26 %28 = add i64 %23, %indvars.iv.reload %29 = sext i32 %27 to i64 %30 = add i64 %6, %29 %31 = inttoptr i64 %30 to i8* %32 = load i8, i8* %31, align 1 %33 = inttoptr i64 %28 to i8* store i8 %32, i8* %33, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %34 = sext i32 %21 to i64 %35 = add i64 %34, %4 %36 = inttoptr i64 %35 to i8* store i8 0, i8* %36, align 1 ret i64 %4 uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %21, { 1, 0 } uselistorder i32 %17, { 3, 1, 2, 0 } uselistorder i64 %sv_1.1.reload, { 0, 2, 1 } uselistorder i32 %sv_2.0.reload, { 0, 2, 1 } uselistorder i64 %4, { 2, 0, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.1.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
av_append_packet_17389
av_append_packet
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 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %3, i64 %2, i32 %arg3) store i64 %7, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %8 = zext i32 %arg3 to i64 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = and i64 %9, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %sext = mul i64 %1, 4294967296 %17 = ashr exact i64 %sext, 32 %18 = add i64 %16, %17 %19 = call i64 @FUNC(i64 %3, i64 %18, i32 %arg3) %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 %22 = icmp eq i1 %21, false %23 = select i1 %22, i64 %19, i64 0 %24 = add i64 %23, %1 %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %2, i64 %25) %27 = and i64 %19, 4294967295 store i64 %27, 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 %19, { 1, 0, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 2, 3, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
1
BinRealVul
vcard_emul_replay_insertion_events_15114
vcard_emul_replay_insertion_events
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.lcssa.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge12.reg2mem store i64 %1, i64* %storemerge1.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %4 = call i64 @FUNC(i64 %storemerge12.reload) %5 = call i64 @FUNC(i64 %storemerge12.reload) %6 = call i64 @FUNC(i64 %4) %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %storemerge12.reg2mem store i64 %5, i64* %storemerge1.lcssa.reg2mem br i1 %8, 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.reload, { 1, 0 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
kvm_irqfd_release_9381
kvm_irqfd_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 %1) %3 = icmp eq i64* %arg1, null store i64 %0, i64* %storemerge1.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %4 = inttoptr i64 %storemerge1.reload to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %storemerge1.reload) %7 = icmp eq i64 %5, 0 store i64 %5, i64* %storemerge1.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_2: %8 = call i64 @FUNC(i64 %1) %9 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) ret i64 %11 uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
read_file_13440
read_file
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %1 = bitcast i32* %sv_2 to i64* %2 = call i64 @FUNC(i64 %arg2, i64* nonnull %1) %3 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %sv_0.0.reg2mem br i1 %6, label LBL_6, label LBL_1 LBL_1: %7 = load i64, i64* %sv_1, align 8 %8 = icmp eq i64 %7, 0 store i64 4096, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = inttoptr i64 %7 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %spec.select = select i1 %11, i64 4096, i64 %10 store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %12 = trunc i64 %storemerge.reload to i32 %13 = call i64* @realloc(i64* nonnull %sv_1, i32 %12) %14 = icmp eq i64* %13, null store i64 0, i64* %sv_0.0.reg2mem br i1 %14, label LBL_6, label LBL_4 LBL_4: %15 = ptrtoint i64* %13 to i64 store i64 %15, i64* %arg3, align 8 store i64 %storemerge.reload, i64* %arg4, align 8 %16 = call i64 @FUNC(i64 %0, i64 0, i64 %15, i64 %storemerge.reload, i64 0) %17 = trunc i64 %16 to i32 store i32 %17, i32* %sv_2, align 4 %18 = icmp slt i32 %17, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %sext = mul i64 %16, 4294967296 %19 = ashr exact i64 %sext, 32 store i64 %19, i64* %arg4, align 8 store i64 1, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = load i64, i64* %sv_1, align 8 %21 = call i64 @FUNC(i64 %20) ret i64 %sv_0.0.reload uselistorder i64* %13, { 1, 0 } uselistorder i64 %storemerge.reload, { 2, 1, 0 } uselistorder i64* %sv_1, { 2, 0, 3, 1 } uselistorder i64 4096, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } }
0
BinRealVul
usb_net_init_15003
usb_net_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 376) %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 4198805, i64* %4, align 8 %5 = add i64 %1, 16 %6 = inttoptr i64 %5 to i64* store i64 4198812, i64* %6, align 8 %7 = add i64 %1, 24 %8 = inttoptr i64 %7 to i64* store i64 4198819, i64* %8, align 8 %9 = add i64 %1, 32 %10 = inttoptr i64 %9 to i64* store i64 4198826, i64* %10, align 8 %11 = add i64 %1, 40 %12 = inttoptr i64 %11 to i64* store i64 4198833, i64* %12, align 8 %13 = add i64 %1, 304 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = add i64 %1, 308 %16 = inttoptr i64 %15 to i32* store i32 0, i32* %16, align 4 %17 = add i64 %1, 312 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %18, align 4 %19 = add i64 %1, 316 %20 = inttoptr i64 %19 to i32* store i32 1000000, i32* %20, align 4 %21 = add i64 %1, 320 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = add i64 %1, 324 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = add i64 %1, 328 %26 = inttoptr i64 %25 to i32* store i32 4660, i32* %26, align 4 %27 = add i64 %1, 332 %28 = inttoptr i64 %27 to i64* %29 = bitcast i32* %arg1 to i64* %30 = call i64* @memcpy(i64* %28, i64* %29, i32 6) %31 = add i64 %1, 368 %32 = call i64 @FUNC(i64 %31) %33 = add i64 %1, 48 %34 = call i64 @FUNC(i64 %33, i64 256, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0)) %35 = add i64 %0, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %0, 16 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %0, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = zext i32 %43 to i64 %45 = call i64 @FUNC(i64 %44, i64 %40, i64 %37, i64 4198874, i64 4198881, i64 %1) %46 = add i64 %1, 360 %47 = inttoptr i64 %46 to i64* store i64 %45, i64* %47, align 8 %48 = call i64 @FUNC(i64 %45, i64 %27) %49 = add i64 %1, 337 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = add i64 %1, 336 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = add i64 %1, 335 %56 = inttoptr i64 %55 to i8* %57 = load i8, i8* %56, align 1 %58 = add i64 %1, 334 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = add i64 %1, 333 %62 = inttoptr i64 %61 to i8* %63 = load i8, i8* %62, align 1 %64 = add i64 %1, 338 %65 = zext i8 %51 to i32 %66 = zext i8 %54 to i32 %67 = zext i8 %57 to i32 %68 = zext i8 %60 to i32 %69 = zext i8 %63 to i32 %70 = inttoptr i64 %64 to i8* %71 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %70, i32 18, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i32 64, i32 %69, i32 %68, i32 %67, i32 %66, i32 %65) %72 = load i8, i8* %50, align 1 %73 = load i8, i8* %53, align 1 %74 = load i8, i8* %56, align 1 %75 = load i8, i8* %59, align 1 %76 = load i8, i8* %62, align 1 %77 = inttoptr i64 %27 to i8* %78 = load i8, i8* %77, align 1 %79 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %80 = zext i8 %72 to i32 %81 = zext i8 %73 to i32 %82 = zext i8 %78 to i32 %83 = zext i8 %76 to i32 %84 = zext i8 %75 to i32 %85 = zext i8 %74 to i32 %86 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %79, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0), i32 %82, i32 %83, i32 %84, i32 %85, i32 %81, i32 %80) ret i64 %1 }
1
BinRealVul
ohci_td_pkt_17292
ohci_td_pkt
define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %storemerge.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i8* %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64 0) %1 = call i64 @FUNC(i64 1) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = trunc i64 %0 to i32 %5 = urem i32 %4, 256 %6 = xor i32 %5, 1 %7 = zext i32 %6 to i64 %8 = icmp eq i32 %6, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_11 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -64 %12 = inttoptr i64 %11 to i8* %13 = ptrtoint i8* %arg1 to i64 store i8* %12, i8** %sv_0.0.reg2mem store i32 0, i32* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %14 = icmp eq i32 %storemerge.reload, 0 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %14, label LBL_9, label LBL_4 LBL_4: %15 = zext i32 %storemerge.reload to i64 %16 = mul i64 %15, 4294967296 %17 = or i64 %16, %15 %18 = srem i64 %17, 16 %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = sext i32 %storemerge.reload to i64 %22 = icmp eq i64 %21, %arg3 %23 = icmp eq i1 %22, false store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem br i1 %23, label LBL_9, label LBL_6 LBL_6: br i1 %3, label LBL_8, label LBL_7 LBL_7: %24 = call i64 @FUNC(i64 %13, i64 %11) store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %25 = call i64 @FUNC(i64 %13, i64 %11) store i8 0, i8* %12, align 8 store i8* %12, i8** %sv_0.1.reg2mem br label LBL_9 LBL_9: %26 = sext i32 %storemerge.reload to i64 %27 = icmp eq i64 %26, %arg3 store i64 %arg3, i64* %rax.0.reg2mem br i1 %27, label LBL_11, label LBL_10 LBL_10: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %28 = add i64 %26, %9 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = zext i8 %30 to i32 %32 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.1.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 %31) %33 = sext i32 %32 to i64 %34 = ptrtoint i8* %sv_0.1.reload to i64 %35 = add i64 %33, %34 %36 = inttoptr i64 %35 to i8* %37 = add i32 %storemerge.reload, 1 store i8* %36, i8** %sv_0.0.reg2mem store i32 %37, i32* %storemerge.reg2mem br label LBL_3 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0 } uselistorder i32 %storemerge.reload, { 4, 3, 2, 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i8* %12, { 0, 2, 1 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i8** %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @trace_event_get_state, { 1, 0 } }
1
BinRealVul
fdctrl_connect_drives_13902
fdctrl_connect_drives
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 16 %2 = add i64 %1, %0 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = inttoptr i64 %2 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %6, i64 0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %12 = load i64, i64* %5, align 8 %13 = call i64 @FUNC(i64 %12, i64 1) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 1 br i1 %15, label LBL_6, label LBL_5 LBL_5: %16 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %17 = call i64 @FUNC(i64 %2) %18 = call i64 @FUNC(i64 %2) %19 = load i64, i64* %5, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 %19, i64* nonnull @gv_2, i64 %2) br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %22 = icmp ult i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_1, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %5, { 1, 0, 2 } uselistorder i64 %2, { 0, 2, 1, 3, 4 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i8*)* @error_report, { 1, 0 } uselistorder i64 (i64, i64)* @bdrv_get_on_error, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
ImagingNewPrologueSubtype_7605
ImagingNewPrologueSubtype
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg4 to i32 %1 = call i64* @calloc(i32 1, i32 %0) %2 = ptrtoint i64* %1 to i64 store i64 %2, i64* %sv_0, align 8 %3 = icmp eq i64* %1, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() store i64 %5, i64* %rax.0.reg2mem br label LBL_51 LBL_2: %6 = trunc i64 %arg2 to i32 %7 = bitcast i64* %1 to i32* store i32 %6, i32* %7, align 4 %8 = load i64, i64* %sv_0, align 8 %9 = trunc i64 %arg3 to i32 %10 = add i64 %8, 4 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = load i64, i64* %sv_0, align 8 %13 = add i64 %12, 48 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = load i64, i64* %sv_0, align 8 %19 = add i64 %18, 12 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 %21 = load i64, i64* %sv_0, align 8 %22 = add i64 %21, 12 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %21, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = load i64, i64* %sv_0, align 8 %28 = add i64 %27, 16 %29 = inttoptr i64 %28 to i32* store i32 %6, i32* %29, align 4 br label LBL_48 LBL_4: %30 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = load i64, i64* %sv_0, align 8 %34 = add i64 %33, 12 %35 = inttoptr i64 %34 to i32* store i32 1, i32* %35, align 4 %36 = load i64, i64* %sv_0, align 8 %37 = add i64 %36, 12 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = add i64 %36, 8 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = load i64, i64* %sv_0, align 8 %43 = add i64 %42, 16 %44 = inttoptr i64 %43 to i32* store i32 %6, i32* %44, align 4 %45 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %46 = load i64, i64* %sv_0, align 8 %47 = add i64 %46, 32 %48 = inttoptr i64 %47 to i64* store i64 %45, i64* %48, align 8 br label LBL_48 LBL_6: %49 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_8, label LBL_7 LBL_7: %52 = load i64, i64* %sv_0, align 8 %53 = add i64 %52, 8 %54 = inttoptr i64 %53 to i32* store i32 2, i32* %54, align 4 %55 = load i64, i64* %sv_0, align 8 %56 = add i64 %55, 12 %57 = inttoptr i64 %56 to i32* store i32 4, i32* %57, align 4 %58 = mul i32 %6, 4 %59 = load i64, i64* %sv_0, align 8 %60 = add i64 %59, 16 %61 = inttoptr i64 %60 to i32* store i32 %58, i32* %61, align 4 %62 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %63 = load i64, i64* %sv_0, align 8 %64 = add i64 %63, 32 %65 = inttoptr i64 %64 to i64* store i64 %62, i64* %65, align 8 br label LBL_48 LBL_8: %66 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_10, label LBL_9 LBL_9: %69 = load i64, i64* %sv_0, align 8 %70 = add i64 %69, 12 %71 = inttoptr i64 %70 to i32* store i32 1, i32* %71, align 4 %72 = load i64, i64* %sv_0, align 8 %73 = add i64 %72, 12 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %72, 8 %77 = inttoptr i64 %76 to i32* store i32 %75, i32* %77, align 4 %78 = load i64, i64* %sv_0, align 8 %79 = add i64 %78, 16 %80 = inttoptr i64 %79 to i32* store i32 %6, i32* %80, align 4 br label LBL_48 LBL_10: %81 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0)) %82 = icmp eq i32 %81, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_12, label LBL_11 LBL_11: %84 = load i64, i64* %sv_0, align 8 %85 = add i64 %84, 8 %86 = inttoptr i64 %85 to i32* store i32 2, i32* %86, align 4 %87 = load i64, i64* %sv_0, align 8 %88 = add i64 %87, 12 %89 = inttoptr i64 %88 to i32* store i32 4, i32* %89, align 4 %90 = mul i32 %6, 4 %91 = load i64, i64* %sv_0, align 8 %92 = add i64 %91, 16 %93 = inttoptr i64 %92 to i32* store i32 %90, i32* %93, align 4 br label LBL_48 LBL_12: %94 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0)) %95 = icmp eq i32 %94, 0 %96 = icmp eq i1 %95, false br i1 %96, label LBL_14, label LBL_13 LBL_13: %97 = load i64, i64* %sv_0, align 8 %98 = add i64 %97, 8 %99 = inttoptr i64 %98 to i32* store i32 2, i32* %99, align 4 %100 = load i64, i64* %sv_0, align 8 %101 = add i64 %100, 12 %102 = inttoptr i64 %101 to i32* store i32 4, i32* %102, align 4 %103 = mul i32 %6, 4 %104 = load i64, i64* %sv_0, align 8 %105 = add i64 %104, 16 %106 = inttoptr i64 %105 to i32* store i32 %103, i32* %106, align 4 br label LBL_48 LBL_14: %107 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_7, i64 0, i64 0)) %108 = icmp eq i32 %107, 0 %109 = icmp eq i1 %108, false br i1 %109, label LBL_16, label LBL_15 LBL_15: %110 = load i64, i64* %sv_0, align 8 %111 = add i64 %110, 8 %112 = inttoptr i64 %111 to i32* store i32 1, i32* %112, align 4 %113 = load i64, i64* %sv_0, align 8 %114 = add i64 %113, 12 %115 = inttoptr i64 %114 to i32* store i32 4, i32* %115, align 4 %116 = mul i32 %6, 4 %117 = load i64, i64* %sv_0, align 8 %118 = add i64 %117, 16 %119 = inttoptr i64 %118 to i32* store i32 %116, i32* %119, align 4 %120 = load i64, i64* %sv_0, align 8 %121 = add i64 %120, 48 %122 = inttoptr i64 %121 to i32* store i32 2, i32* %122, align 4 br label LBL_48 LBL_16: %123 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_8, i64 0, i64 0)) %124 = icmp eq i32 %123, 0 %125 = icmp eq i1 %124, false br i1 %125, label LBL_18, label LBL_17 LBL_17: %126 = load i64, i64* %sv_0, align 8 %127 = add i64 %126, 8 %128 = inttoptr i64 %127 to i32* store i32 1, i32* %128, align 4 %129 = load i64, i64* %sv_0, align 8 %130 = add i64 %129, 12 %131 = inttoptr i64 %130 to i32* store i32 4, i32* %131, align 4 %132 = mul i32 %6, 4 %133 = load i64, i64* %sv_0, align 8 %134 = add i64 %133, 16 %135 = inttoptr i64 %134 to i32* store i32 %132, i32* %135, align 4 %136 = load i64, i64* %sv_0, align 8 %137 = add i64 %136, 48 %138 = inttoptr i64 %137 to i32* store i32 3, i32* %138, align 4 br label LBL_48 LBL_18: %139 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0)) %140 = icmp eq i32 %139, 0 br i1 %140, label LBL_22, label LBL_19 LBL_19: %141 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_10, i64 0, i64 0)) %142 = icmp eq i32 %141, 0 br i1 %142, label LBL_22, label LBL_20 LBL_20: %143 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_11, i64 0, i64 0)) %144 = icmp eq i32 %143, 0 br i1 %144, label LBL_22, label LBL_21 LBL_21: %145 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_12, i64 0, i64 0)) %146 = icmp eq i32 %145, 0 %147 = icmp eq i1 %146, false br i1 %147, label LBL_23, label LBL_22 LBL_22: %148 = load i64, i64* %sv_0, align 8 %149 = add i64 %148, 8 %150 = inttoptr i64 %149 to i32* store i32 1, i32* %150, align 4 %151 = load i64, i64* %sv_0, align 8 %152 = add i64 %151, 12 %153 = inttoptr i64 %152 to i32* store i32 2, i32* %153, align 4 %154 = mul i32 %6, 2 %155 = load i64, i64* %sv_0, align 8 %156 = add i64 %155, 16 %157 = inttoptr i64 %156 to i32* store i32 %154, i32* %157, align 4 %158 = load i64, i64* %sv_0, align 8 %159 = add i64 %158, 48 %160 = inttoptr i64 %159 to i32* store i32 4, i32* %160, align 4 br label LBL_48 LBL_23: %161 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %162 = icmp eq i32 %161, 0 %163 = icmp eq i1 %162, false br i1 %163, label LBL_25, label LBL_24 LBL_24: %164 = load i64, i64* %sv_0, align 8 %165 = add i64 %164, 8 %166 = inttoptr i64 %165 to i32* store i32 3, i32* %166, align 4 %167 = load i64, i64* %sv_0, align 8 %168 = add i64 %167, 12 %169 = inttoptr i64 %168 to i32* store i32 4, i32* %169, align 4 %170 = mul i32 %6, 4 %171 = load i64, i64* %sv_0, align 8 %172 = add i64 %171, 16 %173 = inttoptr i64 %172 to i32* store i32 %170, i32* %173, align 4 br label LBL_48 LBL_25: %174 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_13, i64 0, i64 0)) %175 = icmp eq i32 %174, 0 %176 = icmp eq i1 %175, false br i1 %176, label LBL_27, label LBL_26 LBL_26: %177 = load i64, i64* %sv_0, align 8 %178 = add i64 %177, 8 %179 = inttoptr i64 %178 to i32* store i32 1, i32* %179, align 4 %180 = load i64, i64* %sv_0, align 8 %181 = add i64 %180, 12 %182 = inttoptr i64 %181 to i32* store i32 2, i32* %182, align 4 %183 = mul i32 %6, 2 %184 = add i32 %183, 3 %185 = and i32 %184, -4 %186 = load i64, i64* %sv_0, align 8 %187 = add i64 %186, 16 %188 = inttoptr i64 %187 to i32* store i32 %185, i32* %188, align 4 %189 = load i64, i64* %sv_0, align 8 %190 = add i64 %189, 48 %191 = inttoptr i64 %190 to i32* store i32 4, i32* %191, align 4 br label LBL_48 LBL_27: %192 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0)) %193 = icmp eq i32 %192, 0 %194 = icmp eq i1 %193, false br i1 %194, label LBL_29, label LBL_28 LBL_28: %195 = load i64, i64* %sv_0, align 8 %196 = add i64 %195, 8 %197 = inttoptr i64 %196 to i32* store i32 1, i32* %197, align 4 %198 = load i64, i64* %sv_0, align 8 %199 = add i64 %198, 12 %200 = inttoptr i64 %199 to i32* store i32 2, i32* %200, align 4 %201 = mul i32 %6, 2 %202 = add i32 %201, 3 %203 = and i32 %202, -4 %204 = load i64, i64* %sv_0, align 8 %205 = add i64 %204, 16 %206 = inttoptr i64 %205 to i32* store i32 %203, i32* %206, align 4 %207 = load i64, i64* %sv_0, align 8 %208 = add i64 %207, 48 %209 = inttoptr i64 %208 to i32* store i32 4, i32* %209, align 4 br label LBL_48 LBL_29: %210 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_15, i64 0, i64 0)) %211 = icmp eq i32 %210, 0 %212 = icmp eq i1 %211, false br i1 %212, label LBL_31, label LBL_30 LBL_30: %213 = load i64, i64* %sv_0, align 8 %214 = add i64 %213, 8 %215 = inttoptr i64 %214 to i32* store i32 1, i32* %215, align 4 %216 = load i64, i64* %sv_0, align 8 %217 = add i64 %216, 12 %218 = inttoptr i64 %217 to i32* store i32 3, i32* %218, align 4 %219 = mul i32 %6, 3 %220 = add i32 %219, 3 %221 = and i32 %220, -4 %222 = load i64, i64* %sv_0, align 8 %223 = add i64 %222, 16 %224 = inttoptr i64 %223 to i32* store i32 %221, i32* %224, align 4 %225 = load i64, i64* %sv_0, align 8 %226 = add i64 %225, 48 %227 = inttoptr i64 %226 to i32* store i32 4, i32* %227, align 4 br label LBL_48 LBL_31: %228 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_16, i64 0, i64 0)) %229 = icmp eq i32 %228, 0 %230 = icmp eq i1 %229, false br i1 %230, label LBL_33, label LBL_32 LBL_32: %231 = load i64, i64* %sv_0, align 8 %232 = add i64 %231, 8 %233 = inttoptr i64 %232 to i32* store i32 1, i32* %233, align 4 %234 = load i64, i64* %sv_0, align 8 %235 = add i64 %234, 12 %236 = inttoptr i64 %235 to i32* store i32 4, i32* %236, align 4 %237 = mul i32 %6, 4 %238 = load i64, i64* %sv_0, align 8 %239 = add i64 %238, 16 %240 = inttoptr i64 %239 to i32* store i32 %237, i32* %240, align 4 %241 = load i64, i64* %sv_0, align 8 %242 = add i64 %241, 48 %243 = inttoptr i64 %242 to i32* store i32 4, i32* %243, align 4 br label LBL_48 LBL_33: %244 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_17, i64 0, i64 0)) %245 = icmp eq i32 %244, 0 %246 = icmp eq i1 %245, false br i1 %246, label LBL_35, label LBL_34 LBL_34: %247 = load i64, i64* %sv_0, align 8 %248 = add i64 %247, 12 %249 = inttoptr i64 %248 to i32* store i32 4, i32* %249, align 4 %250 = load i64, i64* %sv_0, align 8 %251 = add i64 %250, 12 %252 = inttoptr i64 %251 to i32* %253 = load i32, i32* %252, align 4 %254 = add i64 %250, 8 %255 = inttoptr i64 %254 to i32* store i32 %253, i32* %255, align 4 %256 = mul i32 %6, 4 %257 = load i64, i64* %sv_0, align 8 %258 = add i64 %257, 16 %259 = inttoptr i64 %258 to i32* store i32 %256, i32* %259, align 4 br label LBL_48 LBL_35: %260 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_18, i64 0, i64 0)) %261 = icmp eq i32 %260, 0 %262 = icmp eq i1 %261, false br i1 %262, label LBL_37, label LBL_36 LBL_36: %263 = load i64, i64* %sv_0, align 8 %264 = add i64 %263, 12 %265 = inttoptr i64 %264 to i32* store i32 4, i32* %265, align 4 %266 = load i64, i64* %sv_0, align 8 %267 = add i64 %266, 12 %268 = inttoptr i64 %267 to i32* %269 = load i32, i32* %268, align 4 %270 = add i64 %266, 8 %271 = inttoptr i64 %270 to i32* store i32 %269, i32* %271, align 4 %272 = mul i32 %6, 4 %273 = load i64, i64* %sv_0, align 8 %274 = add i64 %273, 16 %275 = inttoptr i64 %274 to i32* store i32 %272, i32* %275, align 4 br label LBL_48 LBL_37: %276 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_19, i64 0, i64 0)) %277 = icmp eq i32 %276, 0 %278 = icmp eq i1 %277, false br i1 %278, label LBL_39, label LBL_38 LBL_38: %279 = load i64, i64* %sv_0, align 8 %280 = add i64 %279, 12 %281 = inttoptr i64 %280 to i32* store i32 4, i32* %281, align 4 %282 = load i64, i64* %sv_0, align 8 %283 = add i64 %282, 12 %284 = inttoptr i64 %283 to i32* %285 = load i32, i32* %284, align 4 %286 = add i64 %282, 8 %287 = inttoptr i64 %286 to i32* store i32 %285, i32* %287, align 4 %288 = mul i32 %6, 4 %289 = load i64, i64* %sv_0, align 8 %290 = add i64 %289, 16 %291 = inttoptr i64 %290 to i32* store i32 %288, i32* %291, align 4 br label LBL_48 LBL_39: %292 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_20, i64 0, i64 0)) %293 = icmp eq i32 %292, 0 %294 = icmp eq i1 %293, false br i1 %294, label LBL_41, label LBL_40 LBL_40: %295 = load i64, i64* %sv_0, align 8 %296 = add i64 %295, 12 %297 = inttoptr i64 %296 to i32* store i32 4, i32* %297, align 4 %298 = load i64, i64* %sv_0, align 8 %299 = add i64 %298, 12 %300 = inttoptr i64 %299 to i32* %301 = load i32, i32* %300, align 4 %302 = add i64 %298, 8 %303 = inttoptr i64 %302 to i32* store i32 %301, i32* %303, align 4 %304 = mul i32 %6, 4 %305 = load i64, i64* %sv_0, align 8 %306 = add i64 %305, 16 %307 = inttoptr i64 %306 to i32* store i32 %304, i32* %307, align 4 br label LBL_48 LBL_41: %308 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_21, i64 0, i64 0)) %309 = icmp eq i32 %308, 0 %310 = icmp eq i1 %309, false br i1 %310, label LBL_43, label LBL_42 LBL_42: %311 = load i64, i64* %sv_0, align 8 %312 = add i64 %311, 8 %313 = inttoptr i64 %312 to i32* store i32 3, i32* %313, align 4 %314 = load i64, i64* %sv_0, align 8 %315 = add i64 %314, 12 %316 = inttoptr i64 %315 to i32* store i32 4, i32* %316, align 4 %317 = mul i32 %6, 4 %318 = load i64, i64* %sv_0, align 8 %319 = add i64 %318, 16 %320 = inttoptr i64 %319 to i32* store i32 %317, i32* %320, align 4 br label LBL_48 LBL_43: %321 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_22, i64 0, i64 0)) %322 = icmp eq i32 %321, 0 %323 = icmp eq i1 %322, false br i1 %323, label LBL_45, label LBL_44 LBL_44: %324 = load i64, i64* %sv_0, align 8 %325 = add i64 %324, 8 %326 = inttoptr i64 %325 to i32* store i32 3, i32* %326, align 4 %327 = load i64, i64* %sv_0, align 8 %328 = add i64 %327, 12 %329 = inttoptr i64 %328 to i32* store i32 4, i32* %329, align 4 %330 = mul i32 %6, 4 %331 = load i64, i64* %sv_0, align 8 %332 = add i64 %331, 16 %333 = inttoptr i64 %332 to i32* store i32 %330, i32* %333, align 4 br label LBL_48 LBL_45: %334 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_23, i64 0, i64 0)) %335 = icmp eq i32 %334, 0 %336 = icmp eq i1 %335, false %337 = load i64, i64* %sv_0, align 8 br i1 %336, label LBL_47, label LBL_46 LBL_46: %338 = add i64 %337, 8 %339 = inttoptr i64 %338 to i32* store i32 3, i32* %339, align 4 %340 = load i64, i64* %sv_0, align 8 %341 = add i64 %340, 12 %342 = inttoptr i64 %341 to i32* store i32 4, i32* %342, align 4 %343 = mul i32 %6, 4 %344 = load i64, i64* %sv_0, align 8 %345 = add i64 %344, 16 %346 = inttoptr i64 %345 to i32* store i32 %343, i32* %346, align 4 br label LBL_48 LBL_47: %347 = inttoptr i64 %337 to i64* call void @free(i64* %347) %348 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_24, i64 0, i64 0)) store i64 %348, i64* %rax.0.reg2mem br label LBL_51 LBL_48: %349 = load i64, i64* %sv_0, align 8 %350 = add i64 %349, 20 %351 = inttoptr i64 %350 to i8* %352 = call i8* @strcpy(i8* %351, i8* %arg1) %353 = call i64 @FUNC(i64* nonnull %sv_0) %354 = icmp sgt i32 %9, 1 %355 = select i1 %354, i32 %9, i32 1 %356 = call i64* @calloc(i32 %355, i32 8) %357 = ptrtoint i64* %356 to i64 %358 = load i64, i64* %sv_0, align 8 %359 = add i64 %358, 40 %360 = inttoptr i64 %359 to i64* store i64 %357, i64* %360, align 8 %361 = call i64 @FUNC(i64* nonnull %sv_0) %362 = load i64, i64* %sv_0, align 8 %363 = add i64 %362, 40 %364 = inttoptr i64 %363 to i64* %365 = load i64, i64* %364, align 8 %366 = icmp eq i64 %365, 0 %367 = icmp eq i1 %366, false br i1 %367, label LBL_50, label LBL_49 LBL_49: %368 = inttoptr i64 %362 to i64* call void @free(i64* %368) %369 = call i64 @FUNC() store i64 %369, i64* %rax.0.reg2mem br label LBL_51 LBL_50: store i32 ptrtoint (i32* @gv_25 to i32), i32* bitcast (i64* @gv_26 to i32*), align 8 store i64 %362, i64* %rax.0.reg2mem br label LBL_51 LBL_51: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %337, { 1, 0 } uselistorder i32 %9, { 1, 0, 2 } uselistorder i32 %6, { 0, 1, 2, 3, 4, 5, 6, 7, 20, 8, 9, 10, 11, 12, 13, 14, 15, 19, 16, 18, 17, 21 } uselistorder i64* %sv_0, { 2, 0, 3, 1, 4, 6, 7, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 3, { 2, 3, 4, 0, 1, 5, 6, 7, 8, 9 } uselistorder i32 4, { 0, 14, 1, 15, 2, 16, 3, 17, 4, 18, 5, 19, 6, 20, 21, 7, 22, 23, 24, 25, 8, 26, 27, 9, 28, 10, 29, 11, 30, 12, 31, 13, 32 } uselistorder i32 2, { 0, 3, 1, 4, 2, 5, 6, 7, 8, 9 } uselistorder i64 (i8*)* @ImagingPaletteNew, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 ()* @ImagingError_MemoryError, { 1, 0 } uselistorder i64* (i32, i32)* @calloc, { 1, 0 } uselistorder i8* %arg1, { 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24 } }
1
BinRealVul
cqueue_free_14323
cqueue_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) ret i64 %1 uselistorder i64 (i64)* @av_free, { 1, 0 } }
1
BinRealVul
x86_cpuid_set_model_id_17747
x86_cpuid_set_model_id
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg2 to i8* %2 = icmp eq i64 %arg2, 0 %3 = icmp eq i1 %2, false %spec.select = select i1 %3, i8* %1, i8* bitcast (i8** @gv_0 to i8*) %4 = call i32 @strlen(i8* %spec.select) %5 = ptrtoint i8* %spec.select to i64 %6 = sext i32 %4 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = icmp slt i64 %indvars.iv.reload, %6 store i32 0, i32* %storemerge3.reg2mem br i1 %7, label LBL_2, label LBL_3 LBL_2: %8 = add i64 %indvars.iv.reload, %5 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i32 store i32 %11, i32* %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %12 = trunc i64 %indvars.iv.reload to i32 %13 = ashr i32 %12, 2 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = add i64 %15, %0 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = mul i32 %12, 8 %20 = and i32 %19, 24 %21 = shl i32 %storemerge3.reload, %20 %22 = or i32 %21, %18 store i32 %22, i32* %17, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 48 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: ret i64 %0 uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
smp_send_pair_rsp_10885
smp_send_pair_rsp
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg1 to i64 %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) %4 = trunc i64 %1 to i8 %5 = add i64 %2, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = and i8 %7, %4 store i8 %8, i8* %arg1, align 1 %9 = add i64 %2, 2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = add i64 %2, 3 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = and i8 %14, %11 store i8 %15, i8* %10, align 1 %16 = call i64 @FUNC(i64 2, i64 %2) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 0 store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_1 LBL_1: %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_3, label LBL_2 LBL_2: %24 = call i64 @FUNC(i64 %2, i64 0) store i64 %24, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %25 = call i64 @FUNC(i64 %2, i64 0) store i64 %25, 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 %2, { 2, 1, 0, 3, 4, 5, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } }
0
BinRealVul
MonthChangedOrBadTime_10783
MonthChangedOrBadTime
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i32, i32* @gv_0, align 4 %3 = trunc i64 %1 to i32 %4 = sub i32 %2, %3 %5 = icmp ult i32 %4, 1001 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %7 = add i32 %6, 1 %8 = zext i32 %7 to i64 store i32 %7, i32* @gv_1, align 4 store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %9 = ptrtoint i32* %arg1 to i64 store i32 %2, i32* %arg1, align 4 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* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32* %arg1, { 1, 0 } }
0
BinRealVul
gif_fill_rect_1644
gif_fill_rect
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.0.in5.reg2mem = alloca i64 %sv_0.06.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 = ashr i32 %3, 2 %5 = mul i32 %4, %arg4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 4 %8 = add i64 %7, %0 %9 = trunc i64 %arg6 to i32 %10 = mul i32 %4, %9 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = add i64 %8, %12 %14 = icmp ult i64 %8, %13 store i64 %8, i64* %sv_0.0.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_5 LBL_1: %sext = mul i64 %arg5, 4294967296 %15 = sext i32 %arg3 to i64 %16 = mul i64 %15, 4 %17 = ashr exact i64 %sext, 30 %18 = sext i32 %4 to i64 %19 = mul i64 %18, 4 store i64 %8, i64* %sv_0.06.reg2mem br label LBL_2 LBL_2: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %20 = add i64 %sv_0.06.reload, %16 %21 = add i64 %20, %17 %22 = icmp ugt i64 %21, %20 store i64 %20, i64* %sv_1.0.in5.reg2mem br i1 %22, label LBL_3, label LBL_4 LBL_3: %sv_1.0.in5.reload = load i64, i64* %sv_1.0.in5.reg2mem %sv_1.0 = inttoptr i64 %sv_1.0.in5.reload to i32* store i32 %arg2, i32* %sv_1.0, align 4 %23 = add i64 %sv_1.0.in5.reload, 4 %24 = icmp ugt i64 %21, %23 store i64 %23, i64* %sv_1.0.in5.reg2mem br i1 %24, label LBL_3, label LBL_4 LBL_4: %25 = add i64 %sv_0.06.reload, %19 %26 = icmp ult i64 %25, %13 store i64 %25, i64* %sv_0.06.reg2mem store i64 %25, i64* %sv_0.0.lcssa.reg2mem br i1 %26, label LBL_2, label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %21, { 1, 0 } uselistorder i64 %20, { 0, 2, 1 } uselistorder i64 %sv_0.06.reload, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %8, { 1, 0, 3, 2 } uselistorder i32 %4, { 2, 0, 1 } uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in5.reg2mem, { 2, 0, 1 } uselistorder i64 4, { 4, 0, 1, 2, 3 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
p9dirent_read_3815
p9dirent_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %sv_0 = alloca i8*, align 8 %sv_1 = alloca i64, align 8 %1 = trunc i64 %arg4 to i32 %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 store i64 %2, i64* %sv_1, align 8 %3 = add i64 %0, 16 %4 = add i64 %0, 12 %5 = bitcast i8** %sv_0 to i64* %6 = bitcast i64* %sv_1 to i32* %7 = call i64 @FUNC(i32* nonnull %6, i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %4, i64 %3, i64* nonnull %5) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %7, 4294967295 %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %10) %12 = call i64 @FUNC(i64 1, i32* nonnull %6) br label LBL_3 LBL_2: %13 = load i8*, i8** %sv_0, align 8 %14 = add i64 %0, 20 %15 = inttoptr i64 %14 to i8* %16 = call i8* @strcpy(i8* %15, i8* %13) %17 = load i8*, i8** %sv_0, align 8 %18 = ptrtoint i8* %17 to i64 %19 = call i64 @FUNC(i64 %18) br label LBL_3 LBL_3: ret i64 0 uselistorder i64* %sv_1, { 1, 0 } uselistorder i8** %sv_0, { 2, 1, 0 } }
0
BinRealVul
sco_recv_frame_10511
sco_recv_frame
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = icmp eq i64 %6, 0 br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = trunc i64 %3 to i32 %9 = inttoptr i64 %6 to i32* %10 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 %8, i64 %4, i64 %2, i64 %1) %11 = load i32, i32* %9, align 4 %12 = icmp eq i32 %11, 1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %6, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %arg2) store i64 %17, 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, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
vmxnet3_post_load_16224
vmxnet3_post_load
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = zext i8 %6 to i64 %8 = add i64 %2, 16 %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %8, i64 %9, i64 %7) %11 = load i8, i8* %5, align 1 %12 = add i64 %2, 24 %13 = zext i8 %11 to i64 %14 = call i64 @FUNC(i64 %12, i64 %13) %15 = add i64 %2, 5 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 store i64 0, i64* %storemerge.reg2mem br i1 %18, label LBL_3, label LBL_1 LBL_1: %19 = call i64 @FUNC(i64 %2, i64 16) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 1 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0)) %23 = add i64 %2, 8 %24 = call i64 @FUNC(i64 %3, i64 %23, i64 %23) store i8 0, i8* %16, align 1 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %23, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
get_page_17363
get_page
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 %1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5, i64 %1) %7 = call i64 @FUNC(i64 %1) ret i64 %7 }
1
BinRealVul
t1_check_unusual_charstring_5511
t1_check_unusual_charstring
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = load [8 x i8]*, [8 x i8]** @gv_0, align 8 %1 = getelementptr inbounds [8 x i8], [8 x i8]* %0, i64 0, i64 0 %2 = call i8* @strstr(i8* bitcast (i8** @gv_1 to i8*), i8* %1) %3 = ptrtoint i8* %2 to i64 %4 = load [8 x i8]*, [8 x i8]** @gv_0, align 8 %5 = getelementptr inbounds [8 x i8], [8 x i8]* %4, i64 0, i64 0 %6 = call i32 @strlen(i8* %5) %7 = sext i32 %6 to i64 %8 = add i64 %7, %3 %9 = inttoptr i64 %8 to i8* %10 = call i32 (i8*, i8*, ...) @sscanf(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %11 = icmp eq i32 %10, 1 store i64 1, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i8* @strcpy(i8* bitcast (i8** @gv_3 to i8*), i8* bitcast (i8** @gv_1 to i8*)) %13 = call i64 @FUNC() %14 = call i32 @strlen(i8* bitcast (i8** @gv_1 to i8*)) %15 = sext i32 %14 to i64 %16 = call i32 @strlen(i8* bitcast (i8** @gv_3 to i8*)) %17 = sext i32 %16 to i64 %18 = add nsw i64 %15, 1 %19 = add nsw i64 %18, %17 %20 = load i64, i64* @gv_4, align 8 %21 = call i64 @FUNC(i64 %20, i64 %19, i64 1024) %22 = call i8* @strcat(i8* bitcast (i8** @gv_3 to i8*), i8* bitcast (i8** @gv_1 to i8*)) %23 = call i32 @strlen(i8* bitcast (i8** @gv_3 to i8*)) %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, 1 %26 = load i64, i64* @gv_5, align 8 %27 = call i64 @FUNC(i64 %26, i64 %25, i64 1024) %28 = call i8* @strcpy(i8* bitcast (i8** @gv_1 to i8*), i8* bitcast (i8** @gv_3 to i8*)) %29 = call i64 @FUNC(i64* bitcast (i8** @gv_1 to i64*)) store i64 %29, i64* @gv_6, align 8 store i64 %29, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64, i64, i64)* @alloc_array, { 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 (i8*)* @strlen, { 0, 1, 4, 3, 2 } uselistorder i32 1, { 1, 2, 0 } }
0
BinRealVul
ff_jref_idct1_put_16566
ff_jref_idct1_put
define i64 @FUNC(i64* %arg1, i64 %arg2, i16* %arg3) 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 %sext = mul i32 %3, 65536 %4 = ashr exact i32 %sext, 16 %5 = add nsw i32 %4, 4 %6 = ashr i32 %5, 3 %7 = sext i32 %6 to i64 %8 = add i64 %7, ptrtoint (i8** @gv_0 to i64) %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = bitcast i64* %arg1 to i8* store i8 %10, i8* %11, align 1 ret i64 %2 }
1
BinRealVul
xmt_new_od_link_from_node_12310
xmt_new_od_link_from_node
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rdi.5.reg2mem = alloca i64 %rdi.4.reg2mem = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %rdi.2.reg2mem = alloca i64 %rdi.33.reg2mem = alloca i64 %.reg2mem7 = alloca i64 %rdi.1.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %0 = ptrtoint i32* %arg2 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 2) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 2 %6 = inttoptr i64 %5 to i8* %7 = call i32 @atoi(i8* %6) store i32 %7, i32* %sv_3, align 4 store i32* %arg2, i32** %sv_0.0.reg2mem store i64 2, i64* %rdx.0.reg2mem store i64 %5, i64* %rdi.0.reg2mem br label LBL_8 LBL_2: %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %0, 3 %13 = inttoptr i64 %12 to i8* %14 = call i32 @atoi(i8* %13) store i32 %14, i32* %sv_3, align 4 store i32* %arg2, i32** %sv_0.0.reg2mem store i64 3, i64* %rdx.0.reg2mem store i64 %12, i64* %rdi.0.reg2mem br label LBL_8 LBL_4: %15 = bitcast i32* %arg2 to i8* %16 = call i32 (i8*, i8*, ...) @sscanf(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32* nonnull %sv_3) %17 = icmp eq i32 %16, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_7, label LBL_5 LBL_5: %19 = load i32, i32* %sv_3, align 4 %20 = bitcast i64* %sv_2 to i8* %21 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 %19) %22 = ptrtoint i64* %sv_2 to i64 %23 = call i32 @strcmp(i8* nonnull %20, i8* %15) %24 = icmp eq i32 %23, 0 store i32* null, i32** %sv_0.0.reg2mem store i64 %0, i64* %rdx.0.reg2mem store i64 %22, i64* %rdi.0.reg2mem br i1 %24, label LBL_8, label LBL_6 LBL_6: store i32 0, i32* %sv_3, align 4 store i32* %arg2, i32** %sv_0.0.reg2mem store i64 %0, i64* %rdx.0.reg2mem store i64 %22, i64* %rdi.0.reg2mem br label LBL_8 LBL_7: %25 = ptrtoint i32* %sv_3 to i64 store i32 0, i32* %sv_3, align 4 store i32* %arg2, i32** %sv_0.0.reg2mem store i64 %25, i64* %rdx.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_8 LBL_8: %26 = ptrtoint i64* %arg3 to i64 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %27 = add i64 %26, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %31, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_4, i64 0, i64 0), i32 78, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0)) %.pre = load i32, i32* %28, align 4 store i32 %.pre, i32* %.reg2mem store i64 78, i64* %rdx.1.reg2mem store i64 ptrtoint ([11 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem br label LBL_10 LBL_10: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %.reload = load i32, i32* %.reg2mem %32 = add i32 %.reload, -1 %33 = zext i32 %32 to i64 %34 = mul i64 %33, 4 %35 = add i64 %34, %rdx.1.reload %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = load i32, i32* %sv_3, align 4 %38 = inttoptr i64 %34 to i32* store i32 %37, i32* %38, align 4 store i32 0, i32* %sv_1, align 4 %39 = call i64 @FUNC(i64 %rdi.1.reload, i32* nonnull %sv_1) %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_11, label LBL_23 LBL_11: %42 = icmp eq i32* %sv_0.0.reload, null %43 = bitcast i32* %sv_0.0.reload to i8* store i64 %39, i64* %.reg2mem7 store i64 %rdi.1.reload, i64* %rdi.33.reg2mem br label LBL_12 LBL_12: %rdi.33.reload = load i64, i64* %rdi.33.reg2mem %.reload8 = load i64, i64* %.reg2mem7 store i64 %rdi.33.reload, i64* %rdi.2.reg2mem br i1 %42, label LBL_15, label LBL_13 LBL_13: %44 = inttoptr i64 %.reload8 to i64* %45 = load i64, i64* %44, align 8 %46 = icmp eq i64 %45, 0 store i64 %rdi.33.reload, i64* %rdi.2.reg2mem br i1 %46, label LBL_15, label LBL_14 LBL_14: %47 = inttoptr i64 %45 to i8* %48 = call i32 @strcmp(i8* %47, i8* %43) %49 = icmp eq i32 %48, 0 store i64 %45, i64* %rdi.2.reg2mem store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %49, label LBL_20, label LBL_15 LBL_15: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %50 = load i32, i32* %sv_3, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_18, label LBL_16 LBL_16: %52 = add i64 %.reload8, 16 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label LBL_19, label LBL_17 LBL_17: %56 = inttoptr i64 %54 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, %50 store i32 %50, i32* %rax.0.shrunk.reg2mem br i1 %58, label LBL_20, label LBL_19 LBL_18: %59 = call i64 @FUNC(i64 %rdi.2.reload, i32* nonnull %sv_1) %60 = icmp eq i64 %59, 0 %61 = icmp eq i1 %60, false store i64 %59, i64* %.reg2mem7 store i64 %rdi.2.reload, i64* %rdi.33.reg2mem br i1 %61, label LBL_12, label LBL_23 LBL_19: %62 = add i64 %.reload8, 8 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = icmp eq i32 %64, %50 %66 = icmp eq i1 %65, false store i32 %50, i32* %rax.0.shrunk.reg2mem br i1 %66, label LBL_18, label LBL_20 LBL_20: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 %67 = icmp eq i64* %arg3, null store i64 %rax.0, i64* %rax.1.reg2mem br i1 %67, label LBL_30, label LBL_21 LBL_21: %68 = add i64 %.reload8, 24 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = call i64 @FUNC(i64 %70, i64 %26) %72 = trunc i64 %71 to i32 %73 = icmp slt i32 %72, 0 %74 = icmp eq i1 %73, false store i64 %71, i64* %rax.1.reg2mem br i1 %74, label LBL_30, label LBL_22 LBL_22: %75 = load i64, i64* %69, align 8 %76 = call i64 @FUNC(i64 %75, i64 %26) store i64 %76, i64* %rax.1.reg2mem br label LBL_30 LBL_23: %77 = call i64* @malloc(i32 32) %78 = ptrtoint i64* %77 to i64 %79 = icmp eq i64* %77, null store i64 %78, i64* %rax.1.reg2mem br i1 %79, label LBL_30, label LBL_24 LBL_24: %80 = call i64 @FUNC() %81 = add i64 %78, 24 %82 = inttoptr i64 %81 to i64* store i64 %80, i64* %82, align 8 %83 = icmp eq i64* %arg3, null store i64 32, i64* %rdi.4.reg2mem br i1 %83, label LBL_26, label LBL_25 LBL_25: %84 = call i64 @FUNC(i64 %80, i64 %26) store i64 %80, i64* %rdi.4.reg2mem br label LBL_26 LBL_26: %85 = load i32, i32* %sv_3, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label LBL_28, label LBL_27 LBL_27: %rdi.4.reload = load i64, i64* %rdi.4.reg2mem %87 = add i64 %78, 8 %88 = inttoptr i64 %87 to i32* store i32 %85, i32* %88, align 4 store i64 %rdi.4.reload, i64* %rdi.5.reg2mem br label LBL_29 LBL_28: %89 = ptrtoint i32* %sv_0.0.reload to i64 %90 = call i64 @FUNC(i64 %89) store i64 %90, i64* %77, align 8 store i64 %89, i64* %rdi.5.reg2mem br label LBL_29 LBL_29: %rdi.5.reload = load i64, i64* %rdi.5.reg2mem %91 = call i64 @FUNC(i64 %rdi.5.reload, i64 %78) store i64 %91, i64* %rax.1.reg2mem br label LBL_30 LBL_30: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64 %78, { 2, 1, 3, 0 } uselistorder i32 %50, { 1, 2, 0, 3, 4 } uselistorder i64 %rdi.2.reload, { 1, 0 } uselistorder i64 %.reload8, { 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reload, { 2, 0, 1 } uselistorder i64 %22, { 1, 0 } uselistorder i32* %sv_3, { 1, 2, 3, 4, 7, 5, 6, 0, 8, 9, 10 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32** %sv_0.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64* %rdx.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64* %.reg2mem7, { 1, 0, 2 } uselistorder i64* %rdi.33.reg2mem, { 1, 0, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdi.5.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @gf_list_add, { 2, 0, 1 } uselistorder i64 24, { 1, 0 } uselistorder i64* null, { 1, 2, 0 } uselistorder i64 (i64, i32*)* @gf_list_enum, { 1, 0 } uselistorder [11 x i8]* @gv_3, { 1, 0 } uselistorder i32* null, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 3, { 0, 2, 1 } uselistorder i32 (i8*)* @atoi, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64 (i64, i8*, i64)* @strnicmp, { 1, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder i32 0, { 5, 6, 7, 0, 8, 1, 9, 10, 2, 3, 11, 12, 13, 4 } uselistorder i64* %arg3, { 1, 0, 2 } uselistorder i32* %arg2, { 3, 2, 4, 1, 0, 5 } uselistorder label LBL_30, { 4, 0, 3, 2, 1 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0, 3, 4 } }
1
BinRealVul
pdptrs_changed_8906
pdptrs_changed
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_2, label LBL_4 LBL_2: %8 = and i64 %0, 4294967264 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8, i64* nonnull %sv_0, i64 32) %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %13, 0 store i64 1, i64* %storemerge.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* %17 = call i32 @memcmp(i64* nonnull %sv_0, i64* %16, i32 32) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %phitmp = zext i1 %19 to i64 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder label LBL_4, { 0, 1, 3, 2 } }
0
BinRealVul
cmd_to_string_3721
cmd_to_string
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8** %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = and i64 %0, 4294967295 store i64 %1, i64* @0, align 8 %trunc = trunc i64 %0 to i32 store i8** getelementptr inbounds ([24 x i8*], [24 x i8*]* @gv_0, i64 0, i64 0), i8*** %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_15 [ i32 0, label LBL_13 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 i32 7, label LBL_7 i32 8, label LBL_8 i32 9, label LBL_9 i32 10, label LBL_10 i32 11, label LBL_11 i32 12, label LBL_12 ] LBL_1: store i8** getelementptr inbounds ([22 x i8*], [22 x i8*]* @gv_1, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_2: store i8** getelementptr inbounds ([20 x i8*], [20 x i8*]* @gv_2, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_3: store i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @gv_3, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_4: store i8** getelementptr inbounds ([16 x i8*], [16 x i8*]* @gv_4, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_5: store i8** getelementptr inbounds ([14 x i8*], [14 x i8*]* @gv_5, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_6: store i8** getelementptr inbounds ([12 x i8*], [12 x i8*]* @gv_6, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_7: store i8** getelementptr inbounds ([10 x i8*], [10 x i8*]* @gv_7, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_8: store i8** getelementptr inbounds ([8 x i8*], [8 x i8*]* @gv_8, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_9: store i8** getelementptr inbounds ([6 x i8*], [6 x i8*]* @gv_9, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_10: store i8** getelementptr inbounds ([4 x i8*], [4 x i8*]* @gv_10, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_11: store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_11, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_12: store i8** getelementptr inbounds ([14 x i8*], [14 x i8*]* @gv_5, i64 0, i64 0), i8*** %sv_0.0.reg2mem br label LBL_13 LBL_13: %2 = trunc i64 %arg2 to i32 %.off = add i32 %2, -1 %3 = icmp ugt i32 %.off, 1 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_15, label LBL_14 LBL_14: %sext4 = mul i64 %arg2, 4294967296 %sv_0.0.reload = load i8**, i8*** %sv_0.0.reg2mem %4 = ashr exact i64 %sext4, 29 %5 = add nsw i64 %4, -8 %6 = ptrtoint i8** %sv_0.0.reload to i64 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 store i64 %9, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0 } uselistorder i8*** %sv_0.0.reg2mem, { 0, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8** getelementptr inbounds ([14 x i8*], [14 x i8*]* @gv_5, i64 0, i64 0), { 1, 0 } uselistorder i32 1, { 2, 3, 1, 0 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_13, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 } }
0
BinRealVul
khugepaged_enter_vma_merge_13525
khugepaged_enter_vma_merge
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = call i64 @FUNC(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 = add i64 %0, 32 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 2 %18 = icmp eq i32 %17, 0 store i64 %0, i64* %rdi.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %20 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %19) store i64 ptrtoint ([15 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem br label LBL_5 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %21 = add i64 %rdi.0.reload, 4095 %22 = and i64 %21, -4096 %23 = add i64 %0, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = and i64 %25, -4096 %27 = icmp ult i64 %22, %26 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %0) store i64 %29, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 3, 2, 0, 1, 4, 5, 6 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_7, { 3, 0, 1, 2 } }
0
BinRealVul
packet_getname_11471
packet_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg4 to i32 %2 = call i64 @FUNC(i64 %0) %3 = icmp eq i32 %1, 0 store i64 95, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = inttoptr i64 %2 to i32* %6 = bitcast i64* %arg2 to i16* store i16 17, i16* %6, align 2 %7 = load i32, i32* %5, align 4 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %4, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC() %16 = load i32, i32* %5, align 4 %17 = call i64 @FUNC(i64 %0) %18 = zext i32 %16 to i64 %19 = call i64 @FUNC(i64 %17, i64 %18) %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_3, label LBL_2 LBL_2: %21 = inttoptr i64 %19 to i32* %22 = load i32, i32* %21, align 4 %23 = trunc i32 %22 to i16 %24 = add i64 %4, 12 %25 = inttoptr i64 %24 to i16* store i16 %23, i16* %25, align 2 %26 = add i64 %19, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = trunc i32 %28 to i8 %30 = add i64 %4, 14 %31 = inttoptr i64 %30 to i8* store i8 %29, i8* %31, align 1 %32 = load i32, i32* %27, align 4 %33 = add i64 %19, 8 %34 = add i64 %4, 15 %35 = inttoptr i64 %34 to i64* %36 = inttoptr i64 %33 to i64* %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %32) store i8* %31, i8** %.pre-phi3.reg2mem br label LBL_4 LBL_3: %38 = add i64 %4, 12 %39 = inttoptr i64 %38 to i16* store i16 0, i16* %39, align 2 %40 = add i64 %4, 14 %41 = inttoptr i64 %40 to i8* store i8 0, i8* %41, align 1 store i8* %41, i8** %.pre-phi3.reg2mem br label LBL_4 LBL_4: %.pre-phi3.reload = load i8*, i8** %.pre-phi3.reg2mem %42 = call i64 @FUNC() %43 = load i8, i8* %.pre-phi3.reload, align 1 %44 = zext i8 %43 to i32 %45 = add nuw nsw i32 %44, 15 %46 = bitcast i64* %arg3 to i32* store i32 %45, i32* %46, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 3, 4, 0, 1, 2, 5, 6 } uselistorder i8** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
find_extend_vma_11350
find_extend_vma
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, -4096 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = inttoptr i64 %2 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp ult i64 %1, %6 store i64 %2, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_6 LBL_2: %8 = add i64 %2, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = urem i32 %10, 2 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_6 LBL_3: %14 = call i64 @FUNC(i64 %2, i64 %1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_6 LBL_4: %17 = load i32, i32* %9, align 4 %18 = and i32 %17, 2 %19 = icmp eq i32 %18, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %2, i64 %1, i64 %6, i64 0) store i64 %2, 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 %2, { 1, 3, 0, 4, 5, 2, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
bdrv_delete_16543
bdrv_delete
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %9 = add i64 %arg1, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %13 = call i64 @FUNC(i64 %arg1) %14 = call i64 @FUNC(i64 %arg1) %15 = call i64 @FUNC(i64 %arg1) ret i64 %15 uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3, 4, 5, 6 } }
1
BinRealVul
avi_load_index_14341
avi_load_index
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 i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3, i64 %3, i64 0) %6 = call i64 @FUNC(i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %10 to i32 %12 = call i64 @FUNC(i64 %3) %13 = icmp eq i32 %11, 829973609 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = and i64 %12, 4294967295 %16 = call i64 @FUNC(i64 %0, i64 %15) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %12, 1 %21 = and i64 %20, 4294967294 %22 = call i64 @FUNC(i64 %3, i64 %21) %23 = call i64 @FUNC(i64 %3) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_4, label LBL_1 LBL_4: %27 = call i64 @FUNC(i64 %3, i64 %4, i64 0) ret i64 0 uselistorder i64 %3, { 4, 5, 1, 3, 2, 0, 7, 6, 8 } uselistorder i64 (i64)* @get_le32, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i32 0, { 2, 1, 0 } uselistorder i64 (i64)* @url_feof, { 1, 0 } uselistorder i64 (i64, i64, i64)* @url_fseek, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
pcspk_class_initfn_15971
pcspk_class_initfn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 12 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = or i32 %3, 1 store i32 %4, i32* %2, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
dec_ill_15826
dec_ill
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 i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i32 %3) unreachable }
1
BinRealVul
register_types_7454
register_types
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 4198716) %1 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 4198723, i64 4198730) %2 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 2, i64 4198737, i64 4198744) %3 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 3, i64 4198751, i64 4198758) %4 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 4, i64 4198765, i64 4198772) %5 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 5, i64 4198779, i64 4198786) %6 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 10, i64 4198835, i64 4198842) %7 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 11, i64 4198849, i64 4198856) %8 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0), i64 12, i64 4198751, i64 4198758) %9 = call i64 @FUNC(i64 4198881) %10 = call i64 @FUNC(i64 4198874, i64 12) ret i64 %10 uselistorder i64 12, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64)* @register_char_driver, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
media_present_773
media_present
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 1 store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
onenand_reset_14143
onenand_reset
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = trunc i64 %arg2 to i32 %5 = call i64* @memset(i64* %arg1, i32 0, i32 4) %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* store i32 0, i32* %7, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* store i32 1, i32* %9, align 4 %10 = add i64 %3, 12 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %3, 16 %13 = inttoptr i64 %12 to i32* store i32 16576, i32* %13, align 4 %14 = add i64 %3, 20 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = call i64 @FUNC(i64 %3) %17 = add i64 %3, 1136 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20) %22 = add i64 %3, 24 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = icmp eq i32 %4, 0 %25 = select i1 %24, i32 32784, i32 32896 %26 = add i64 %3, 28 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i64 %3, 32 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %3, 36 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = add i64 %3, 40 %33 = inttoptr i64 %32 to i32* store i32 2, i32* %33, align 4 %34 = add i64 %3, 44 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %3, 48 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 %38 = add i64 %3, 64 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %3, 52 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = add i64 %3, 68 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = add i64 %3, 56 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = add i64 %3, 72 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i64 %3, 60 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 store i64 %3, i64* %rax.0.reg2mem br i1 %24, label LBL_4, label LBL_1 LBL_1: %53 = add i64 %3, 76 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %3, 80 %57 = inttoptr i64 %56 to i64* %58 = call i64* @memset(i64* %57, i32 1, i32 %55) %59 = load i32, i32* %42, align 4 %60 = icmp eq i32 %59, 0 store i64 0, i64* %rax.0.reg2mem br i1 %60, label LBL_4, label LBL_2 LBL_2: %61 = zext i32 %59 to i64 %62 = add i64 %3, 1104 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = sext i32 %64 to i64 %66 = call i64 @FUNC(i64 %61, i64 0, i64 %65, i64 8) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 0 %69 = icmp eq i1 %68, false store i64 %66, i64* %rax.0.reg2mem br i1 %69, label LBL_4, label LBL_3 LBL_3: %70 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %65, i64 8, i64 %2, i64 %1) store i64 %70, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %59, { 1, 0 } uselistorder i64 %3, { 1, 3, 2, 0, 5, 4, 7, 6, 9, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 } uselistorder i64* %0, { 1, 0 } }
1
reposvul_c_test
em_call_near_abs_33
em_call_near_abs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %storemerge.in.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: store i64 %0, i64* %2, align 8 %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %storemerge.in.reg2mem br label LBL_2 LBL_2: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pci_save_pcie_state_18484
pci_save_pcie_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 16) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp slt i32 %2, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 16) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %sv_0.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 16, i64 0) store i64 %11, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %12 = icmp eq i64 %sv_0.0.reload, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %0, i64 %15, i64 %sv_0.0.reload) %17 = add i64 %sv_0.0.reload, 2 %18 = add i64 %1, 4 %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %17) %21 = add i64 %sv_0.0.reload, 4 %22 = add i64 %1, 8 %23 = and i64 %22, 4294967295 %24 = call i64 @FUNC(i64 %0, i64 %23, i64 %21) %25 = add i64 %sv_0.0.reload, 6 %26 = add i64 %1, 12 %27 = and i64 %26, 4294967295 %28 = call i64 @FUNC(i64 %0, i64 %27, i64 %25) %29 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload) 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 %sv_0.0.reload, { 1, 5, 4, 3, 2, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 4, 5, 0, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @pci_read_config_word, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 16, { 1, 2, 3, 0 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
bgp_attr_unknown_5203
bgp_attr_unknown
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i64* %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %3, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %3, 32 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = add i64 %3, 33 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = add i64 %3, 40 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %6 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %23, i8 %15, i64 %21, i64 %2, i64 %1) %25 = add i64 %6, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = zext i8 %15 to i64 %29 = call i64 @FUNC(i64 %27, i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %21, i64 %1) %30 = add i64 %6, 16 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %21) %34 = icmp slt i8 %18, 0 br i1 %34, label LBL_2, label LBL_1 LBL_1: %35 = call i64 @FUNC(i64 %3, i64 1, i64 %32) store i64 %35, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %36 = and i8 %18, 32 %37 = icmp eq i8 %36, 0 %38 = icmp eq i1 %37, false store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_3, label LBL_9 LBL_3: %39 = inttoptr i64 %12 to i8* %40 = load i8, i8* %39, align 1 %41 = or i8 %40, 16 store i8 %41, i8* %39, align 1 %42 = call i64 @FUNC(i64 %9) %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %44, 0 %46 = icmp eq i1 %45, false store i64 %44, i64* %.reg2mem br i1 %46, label LBL_5, label LBL_4 LBL_4: %47 = call i64 @FUNC(i64 1, i64 16) store i64 %47, i64* %43, align 8 store i64 %47, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %48 = inttoptr i64 %.reload to i64* %49 = load i64, i64* %48, align 8 %50 = icmp eq i64 %49, 0 br i1 %50, label LBL_7, label LBL_6 LBL_6: %51 = add i64 %.reload, 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = add i64 %53, %3 %55 = call i64 @FUNC(i64 2, i64 %49, i64 %54) store i64* %52, i64** %.pre-phi3.reg2mem store i64 %55, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %56 = call i64 @FUNC(i64 2, i64 %3) %.pre = add i64 %.reload, 8 %.pre2 = inttoptr i64 %.pre to i64* store i64* %.pre2, i64** %.pre-phi3.reg2mem store i64 %56, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem store i64 %storemerge.reload, i64* %48, align 8 %57 = load i64, i64* %.pre-phi3.reload, align 8 %58 = add i64 %57, %storemerge.reload %59 = inttoptr i64 %58 to i64* %60 = inttoptr i64 %12 to i64* %61 = trunc i64 %3 to i32 %62 = call i64* @memcpy(i64* %59, i64* %60, i32 %61) %63 = load i64, i64* %.pre-phi3.reload, align 8 %64 = add i64 %63, %3 store i64 %64, i64* %.pre-phi3.reload, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.pre-phi3.reload, { 1, 0, 2 } uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %.reload, { 2, 0, 1 } uselistorder i64 %3, { 0, 3, 4, 1, 2, 5, 6, 7, 8, 9, 10 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 0, 2, 3, 4, 1 } uselistorder label LBL_9, { 1, 0, 2 } }
0
BinRealVul
common_timer_get_11575
common_timer_get
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = add i64 %2, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp ult i32 %7, 2 %9 = add i64 %2, 32 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_1, label LBL_4 LBL_1: %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = icmp ne i1 %8, true %19 = zext i1 %18 to i64 %20 = icmp eq i1 %8, false store i64 %19, i64* %rax.0.reg2mem br i1 %20, label LBL_10, label LBL_3 LBL_3: %21 = call i64 @FUNC(i64 %4, i64 %3) store i64 %21, i64* %.reg2mem br label LBL_6 LBL_4: %22 = ptrtoint i64* %arg3 to i64 %23 = call i64 @FUNC(i64 %11) %24 = add i64 %1, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %1, 24 %27 = inttoptr i64 %26 to i64* store i64 %22, i64* %27, align 8 %28 = call i64 @FUNC(i64 %4, i64 %3) %29 = add i64 %2, 40 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = urem i32 %31, 2 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %8, false %or.cond = icmp eq i1 %34, %33 store i64 %28, i64* %.reg2mem br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %35 = add i64 %2, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = add i64 %37, %2 store i64 %38, i64* %36, align 8 store i64 %28, i64* %.reg2mem br label LBL_6 LBL_6: %39 = icmp eq i64* %arg1, null %40 = icmp slt i64* %arg1, null %41 = icmp eq i1 %40, false %42 = icmp eq i1 %39, false %43 = icmp eq i1 %41, %42 br i1 %43, label LBL_9, label LBL_7 LBL_7: store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_10, label LBL_8 LBL_8: %44 = add i64 %1, 8 %45 = inttoptr i64 %44 to i64* store i64 1, i64* %45, align 8 store i64 %1, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %.reload = load i64, i64* %.reg2mem %46 = call i64 @FUNC(i64 %2) store i64 %46, i64* %arg2, align 8 %47 = add i64 %1, 8 %48 = inttoptr i64 %47 to i64* store i64 %.reload, i64* %48, align 8 store i64 %46, 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 i1 %8, { 2, 3, 1, 0 } uselistorder i64 %2, { 3, 0, 1, 2, 4, 5, 6 } uselistorder i64 %1, { 4, 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @ktime_to_timespec64, { 1, 0 } uselistorder i64 (i64, i64)* @timespec64_to_ktime, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3, 4 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
handle_ti_4426
handle_ti
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 36 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %2, 40 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %2, 48 %13 = inttoptr i64 %12 to i64* store i64 4198858, i64* %13, align 8 store i64 %2, i64* %rax.0.reg2mem br label LBL_10 LBL_3: %14 = trunc i64 %1 to i32 %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = mul i32 %17, 256 %19 = or i32 %18, %14 %20 = add i64 %2, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %22, 65536 %24 = or i32 %19, %23 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false %spec.select = select i1 %26, i32 %24, i32 65536 %27 = add i64 %2, 16 %28 = inttoptr i64 %27 to i32* store i32 %spec.select, i32* %28, align 4 %29 = add i64 %2, 32 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_5, label LBL_4 LBL_4: %33 = icmp ult i32 %spec.select, 256 %34 = select i1 %33, i32 %spec.select, i32 256 store i32 %34, i32* %storemerge1.reg2mem br label LBL_6 LBL_5: %35 = add i64 %2, 24 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp ugt i32 %spec.select, %37 %39 = select i1 %38, i32 %37, i32 %spec.select store i32 %39, i32* %storemerge1.reg2mem br label LBL_6 LBL_6: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %40 = zext i32 %storemerge1.reload to i64 %41 = call i64 @FUNC(i64 %40) %42 = load i32, i32* %4, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = add i64 %2, 20 %45 = inttoptr i64 %44 to i32* store i32 %storemerge1.reload, i32* %45, align 4 %46 = add i64 %2, 12 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = and i32 %48, -2 store i32 %49, i32* %47, align 4 %50 = call i64 @FUNC(i64 %2) br label LBL_8 LBL_8: %51 = load i32, i32* %30, align 4 %52 = icmp eq i32 %51, 0 store i64 0, i64* %rax.0.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = add i64 %2, 28 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %56) %58 = add i64 %2, 24 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 store i32 0, i32* %54, align 4 store i32 0, i32* %30, align 4 %60 = add i64 %2, 56 %61 = call i64 @FUNC(i64 %2, i64 %60) store i64 %61, 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 %storemerge1.reload, { 1, 0 } uselistorder i32 %spec.select, { 3, 2, 1, 0, 4 } uselistorder i64 %2, { 4, 3, 6, 5, 1, 2, 7, 9, 8, 10, 12, 11, 0, 13, 14, 15 } uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 65536, { 1, 0 } }
0
BinRealVul
dyn_buf_write_5346
dyn_buf_write
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %.pre-phi9.reg2mem = alloca i32* %sv_0.0.in.in.lcssa.reg2mem = alloca i32 %sv_0.0.in.in6.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = add i64 %0, 12 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i32 %4, %1 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp sgt i32 %5, %8 store i32 %8, i32* %sv_0.0.in.in6.reg2mem store i32 %8, i32* %sv_0.0.in.in.lcssa.reg2mem br i1 %9, label LBL_1, label LBL_3 LBL_1: %sv_0.0.in.in6.reload = load i32, i32* %sv_0.0.in.in6.reg2mem %10 = icmp eq i32 %sv_0.0.in.in6.reload, 0 %11 = icmp eq i1 %10, false store i32 %5, i32* %sv_0.0.in.in.lcssa.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = mul i32 %sv_0.0.in.in6.reload, 3 %13 = icmp slt i32 %12, 0 %14 = zext i1 %13 to i32 %15 = add i32 %12, %14 %16 = ashr i32 %15, 1 %17 = add nsw i32 %16, 1 %18 = icmp sgt i32 %5, %17 store i32 %17, i32* %sv_0.0.in.in6.reg2mem store i32 %17, i32* %sv_0.0.in.in.lcssa.reg2mem br i1 %18, label LBL_1, label LBL_3 LBL_3: %sv_0.0.in.in.lcssa.reload = load i32, i32* %sv_0.0.in.in.lcssa.reg2mem %19 = zext i32 %8 to i64 %20 = sext i32 %sv_0.0.in.in.lcssa.reload to i64 %21 = icmp sgt i64 %20, %19 br i1 %21, label LBL_5, label LBL_3.LBL_7_crit_edge LBL_4: %.pre7 = add i64 %0, 8 %.pre8 = inttoptr i64 %.pre7 to i32* store i32* %.pre8, i32** %.pre-phi9.reg2mem store i32 %4, i32* %.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_7 LBL_5: %22 = call i64 @FUNC(i64 %20) %23 = icmp eq i64 %22, 0 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_9, label LBL_6 LBL_6: %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = inttoptr i64 %22 to i64* %28 = inttoptr i64 %20 to i64* %29 = call i64* @memcpy(i64* %27, i64* %28, i32 %26) %30 = call i64 @FUNC(i64 %22) store i64 %22, i64* %arg1, align 8 store i32 %sv_0.0.in.in.lcssa.reload, i32* %7, align 4 %.pre = load i32, i32* %3, align 4 store i32* %25, i32** %.pre-phi9.reg2mem store i32 %.pre, i32* %.reg2mem store i64 %22, i64* %rdi.0.reg2mem br label LBL_7 LBL_7: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.reload = load i32, i32* %.reg2mem %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem %31 = sext i32 %.reload to i64 %32 = add i64 %rdi.0.reload, %31 %33 = inttoptr i64 %32 to i64* %34 = bitcast i32* %arg2 to i64* %35 = call i64* @memcpy(i64* %33, i64* %34, i32 %1) store i32 %5, i32* %3, align 4 %36 = load i32, i32* %.pre-phi9.reload, align 4 %37 = zext i32 %36 to i64 %38 = icmp ugt i32 %5, %36 store i64 %37, i64* %rax.0.reg2mem br i1 %38, label LBL_8, label LBL_9 LBL_8: store i32 %5, i32* %.pre-phi9.reload, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %22, { 0, 1, 3, 2, 4 } uselistorder i64 %20, { 2, 1, 0 } uselistorder i32 %8, { 2, 0, 1, 3 } uselistorder i32 %5, { 2, 3, 4, 5, 0, 1 } uselistorder i32* %3, { 1, 0, 2 } uselistorder i32 %1, { 1, 0 } uselistorder i64 %0, { 0, 3, 1, 2, 4, 5 } uselistorder i32* %sv_0.0.in.in6.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_9, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
TraceMoveTo_8121
TraceMoveTo
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i128 @__asm_movsd.1(i64 %8) %10 = add i64 %5, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i128 @FUNC(i128 %3, i128 %3) %14 = call i128 @FUNC(i32 %12) %15 = call i128 @__asm_movsd.1(i64 4634204016564240384) %16 = call i128 @FUNC(i128 %14, i128 %15) %17 = call i128 @FUNC(i128 %9) %18 = call i128 @FUNC(i128 %17, i128 %16) %19 = call i128 @__asm_movsd.1(i64 %4) %20 = trunc i64 %2 to i32 %21 = call i128 @FUNC(i128 %9, i128 %9) %22 = call i128 @FUNC(i32 %20) %23 = call i128 @__asm_movsd.1(i64 4634204016564240384) %24 = call i128 @FUNC(i128 %22, i128 %23) %25 = call i128 @FUNC(i128 %19, i128 %24) %26 = call i64 @__asm_movq.2(i128 %25) %27 = call i128 @FUNC(i128 %18) %28 = call i128 @FUNC(i64 %26) %29 = call i64 @FUNC(i64* nonnull %sv_0, i64 1024, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %30 = add i64 %4, 16 %31 = call i64 @FUNC(i64 %30, i64* nonnull %sv_0) ret i64 0 uselistorder i128 %9, { 2, 1, 0 } uselistorder i64 %4, { 0, 2, 1 } }
0
BinRealVul
gen_mtspr_18607
gen_mtspr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %4, 24 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = and i64 %6, 4294967295 %15 = mul nuw nsw i64 %14, 24 %16 = add i64 %13, %15 store i64 %16, i64* %sv_0.0.in.in.reg2mem br label LBL_5 LBL_2: %17 = add i64 %4, 20 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = add i64 %4, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = and i64 %6, 4294967295 %25 = mul nuw nsw i64 %24, 24 %26 = add i64 %23, %25 br i1 %20, label LBL_4, label LBL_3 LBL_3: %27 = add i64 %26, 8 store i64 %27, i64* %sv_0.0.in.in.reg2mem br label LBL_5 LBL_4: %28 = add i64 %26, 16 store i64 %28, i64* %sv_0.0.in.in.reg2mem br label LBL_5 LBL_5: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = inttoptr i64 %sv_0.0.in.in.reload to i64* %sv_0.0 = load i64, i64* %sv_0.0.in, align 8 %29 = icmp eq i64 %sv_0.0, 0 %30 = icmp eq i1 %29, false %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %5) store i64 %4, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %33 = trunc i64 %6 to i32 %34 = call i64 @FUNC() %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %.pre = add i64 %4, 8 %.pre1 = inttoptr i64 %.pre to i64* br i1 %36, label LBL_7.LBL_10_crit_edge, label LBL_9 LBL_8: %.pre3 = and i64 %6, 4294967295 store i64 %.pre3, i64* %.pre-phi4.reg2mem br label LBL_10 LBL_9: %37 = load i64, i64* %.pre1, align 8 %38 = add i64 %37, -4 %39 = and i64 %6, 4294967295 %40 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %39, i32 %33, i64 %38, i64 %2, i64 %1) store i64 %39, i64* %.pre-phi4.reg2mem br label LBL_10 LBL_10: %.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem %41 = load i64, i64* %.pre1, align 8 %42 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %43 = trunc i64 %41 to i32 %44 = add i32 %43, -4 %45 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %.pre-phi4.reload, i32 %33, i32 %44) %46 = call i64 @FUNC(i64 %4, i64 2) store i64 %46, 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 %33, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i64 %6, { 2, 0, 4, 1, 3 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 2, 1, 0, 5, 3, 4, 6 } uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 24, { 0, 2, 1, 3 } uselistorder i64 4294967295, { 3, 1, 2, 4, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
test_tco_second_timeout_none_1611
test_tco_second_timeout_none
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i8*, align 8 store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8 %0 = bitcast i8** %sv_0 to i64* %1 = call i64 @FUNC(i64* nonnull %0) %2 = call i64 @FUNC(i64* nonnull %0) %3 = call i64 @FUNC(i64* nonnull %0) %4 = call i64 @FUNC(i64 1) %5 = call i64 @FUNC(i64* nonnull %0, i64 59392) %6 = call i64 @FUNC(i64* nonnull %0) %7 = call i64 @FUNC(i64* nonnull %0) %8 = call i64 @FUNC(i64 118784000) %9 = call i64 @FUNC() %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %11 = inttoptr i64 %10 to i8* %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i64 %9) %17 = call i64 @FUNC(i64* nonnull %0) %18 = call i64 @FUNC(i64* nonnull %0) ret i64 %18 uselistorder i8** %sv_0, { 1, 0 } uselistorder i64 (i64*)* @stop_tco, { 1, 0 } uselistorder i32 1, { 11, 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
qlt_send_term_exchange_17939
qlt_send_term_exchange
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = and i64 %arg4, 4294967295 %4 = call i64 @FUNC(i64 %arg1, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i64 %4, i64* %rax.1.reg2mem br i1 %6, label LBL_10, label LBL_1 LBL_1: %7 = trunc i64 %arg4 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) store i64 %9, i64* %sv_0.0.in.reg2mem store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = call i64 @FUNC(i64 %arg1, i64 %2) %11 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) %12 = call i64 @FUNC(i64 %arg1, i64 %2) store i64 %11, i64* %sv_0.0.in.reg2mem store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %13 = icmp eq i32 %sv_0.0, 1 %14 = icmp eq i1 %13, false store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %14, label LBL_10, label LBL_5 LBL_5: %15 = icmp eq i1 %8, false br i1 %15, label LBL_8, label LBL_6 LBL_6: %16 = call i64 @FUNC() %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = call i64 @FUNC(i64 250) br label LBL_8 LBL_8: %21 = trunc i64 %1 to i32 %22 = icmp eq i32 %21, 0 store i64 %arg2, i64* %rax.1.reg2mem br i1 %22, label LBL_10, label LBL_9 LBL_9: %23 = call i64 @FUNC(i64 %arg1, i64 %arg2) store i64 %arg2, i64* %rax.1.reg2mem br label LBL_10 LBL_10: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @__qlt_send_term_exchange, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 3, 0, 4, 2 } uselistorder i64 %arg1, { 1, 3, 2, 4, 0, 5 } uselistorder label LBL_10, { 1, 0, 3, 2 } }
1
BinRealVul
scsi_read_complete_12153
scsi_read_complete
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.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 = add i64 %3, 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: store i64 0, i64* %5, align 8 %8 = add i64 %3, 48 %9 = call i64 @FUNC(i64 0, i64 %8) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = sub nsw i64 0, %10 %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %3, i64 %14, i64 1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 %14, i64* %rcx.0.reg2mem store i64 %15, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_4 LBL_4: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %19 = add i64 %3, 40 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %3, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %21, i64 %rcx.0.reload, i64 %2, i64 %1) %27 = load i64, i64* %20, align 8 %28 = udiv i64 %27, 512 %29 = add i64 %3, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %sext2 = mul i64 %28, 4294967296 %32 = ashr exact i64 %sext2, 32 %33 = add i64 %32, %31 store i64 %33, i64* %30, align 8 %34 = add i64 %3, 32 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = sub i64 %36, %32 store i64 %37, i64* %35, align 8 %38 = load i64, i64* %20, align 8 %39 = call i64 @FUNC(i64 %3, i64 %38) store i64 %39, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %3, { 2, 3, 4, 6, 5, 1, 0, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
BN_hex2bn_5706
BN_hex2bn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i64 %sv_5.012.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = icmp ne i64 %arg2, 0 %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false %or.cond = icmp eq i1 %2, %5 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_1, label LBL_18 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = icmp eq i8 %3, 45 %8 = zext i1 %7 to i64 %spec.select = add i64 %8, %arg2 %spec.select8 = zext i1 %7 to i32 store i32 0, i32* %storemerge14.reg2mem br label LBL_3 LBL_2: %9 = add nuw i32 %storemerge14.reload, 1 %10 = icmp ugt i32 %storemerge14.reload, 536870910 store i32 %9, i32* %storemerge14.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %10, label LBL_16, label LBL_3 LBL_3: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %11 = call i16** @__ctype_b_loc() %12 = load i16*, i16** %11, align 8 %13 = ptrtoint i16* %12 to i64 %14 = sext i32 %storemerge14.reload to i64 %15 = add i64 %spec.select, %14 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = mul i64 %18, 2 %20 = add i64 %19, %13 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = and i16 %22, 4096 %24 = icmp eq i16 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_2, label LBL_4 LBL_4: %26 = add i32 %storemerge14.reload, %spec.select8 %27 = icmp eq i64* %arg1, null %28 = icmp eq i1 %27, false store i32 %26, i32* %rax.0.shrunk.reg2mem br i1 %28, label LBL_5, label LBL_18 LBL_5: %29 = call i64 @FUNC(i64 %6) %30 = mul i32 %storemerge14.reload, 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %6, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 store i64 %6, i64* %sv_0.1.reg2mem br i1 %34, label LBL_16, label LBL_6 LBL_6: %35 = icmp eq i32 %storemerge14.reload, 0 %36 = icmp slt i32 %storemerge14.reload, 0 %37 = icmp eq i1 %36, false %38 = icmp eq i1 %35, false %39 = icmp eq i1 %37, %38 store i32 0, i32* %sv_1.013.reg2mem store i32 %storemerge14.reload, i32* %sv_5.012.reg2mem store i32 0, i32* %sv_1.0.lcssa.reg2mem br i1 %39, label LBL_7, label LBL_15 LBL_7: %sv_5.012.reload = load i32, i32* %sv_5.012.reg2mem %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %40 = add i32 %sv_5.012.reload, -8 %41 = sub i32 7, %sv_5.012.reload %42 = and i32 %41, %sv_5.012.reload %43 = icmp slt i32 %42, 0 %44 = icmp eq i32 %40, 0 %45 = icmp slt i32 %40, 0 %46 = icmp eq i1 %45, %43 %47 = icmp eq i1 %44, false %48 = icmp eq i1 %46, %47 %49 = select i1 %48, i32 8, i32 %sv_5.012.reload store i64 0, i64* %sv_4.0.reg2mem store i32 %49, i32* %sv_3.0.reg2mem br label LBL_8 LBL_8: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem %50 = sub i32 %sv_5.012.reload, %sv_3.0.reload %51 = sext i32 %50 to i64 %52 = add i64 %spec.select, %51 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %53, align 1 %55 = sext i8 %54 to i32 %.off = add i8 %54, -48 %56 = icmp ugt i8 %.off, 9 br i1 %56, label LBL_10, label LBL_9 LBL_9: %57 = add nsw i32 %55, -48 store i32 %57, i32* %sv_2.0.reg2mem br label LBL_13 LBL_10: %.off6 = add i8 %54, -97 %58 = icmp ugt i8 %.off6, 5 br i1 %58, label LBL_12, label LBL_11 LBL_11: %59 = add nsw i32 %55, -87 store i32 %59, i32* %sv_2.0.reg2mem br label LBL_13 LBL_12: %.off7 = add i8 %54, -65 %60 = icmp ugt i8 %.off7, 5 %61 = add nsw i32 %55, -55 %spec.select9 = select i1 %60, i32 0, i32 %61 store i32 %spec.select9, i32* %sv_2.0.reg2mem br label LBL_13 LBL_13: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %62 = mul i64 %sv_4.0.reload, 16 %63 = sext i32 %sv_2.0.reload to i64 %64 = or i64 %62, %63 %65 = add i32 %sv_3.0.reload, -1 %66 = icmp eq i32 %65, 0 %67 = icmp slt i32 %65, 0 %68 = icmp eq i1 %67, false %69 = icmp eq i1 %66, false %70 = icmp eq i1 %68, %69 store i64 %64, i64* %sv_4.0.reg2mem store i32 %65, i32* %sv_3.0.reg2mem br i1 %70, label LBL_8, label LBL_14 LBL_14: %71 = load i64, i64* %arg1, align 8 %72 = add i32 %sv_1.013.reload, 1 %73 = sext i32 %sv_1.013.reload to i64 %74 = mul i64 %73, 8 %75 = add i64 %71, %74 %76 = inttoptr i64 %75 to i64* store i64 %64, i64* %76, align 8 %77 = icmp eq i1 %45, false %78 = icmp eq i1 %77, %47 store i32 %72, i32* %sv_1.013.reg2mem store i32 %40, i32* %sv_5.012.reg2mem store i32 %72, i32* %sv_1.0.lcssa.reg2mem br i1 %78, label LBL_7, label LBL_15 LBL_15: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %79 = add i64 %6, 8 %80 = inttoptr i64 %79 to i32* store i32 %sv_1.0.lcssa.reload, i32* %80, align 4 %81 = call i64 @FUNC(i64 %6) %82 = add i64 %6, 12 %83 = inttoptr i64 %82 to i32* store i32 %spec.select8, i32* %83, align 4 store i64 %6, i64* %arg1, align 8 %84 = call i64 @FUNC(i64 %6) store i32 %26, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_16: %85 = icmp eq i64* %arg1, null %86 = icmp eq i1 %85, false store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %86, label LBL_18, label LBL_17 LBL_17: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %87 = call i64 @FUNC(i64 %sv_0.1.reload) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %64, { 1, 0 } uselistorder i32 %sv_3.0.reload, { 1, 0 } uselistorder i32 %40, { 0, 2, 1 } uselistorder i32 %sv_1.013.reload, { 1, 0 } uselistorder i32 %sv_5.012.reload, { 0, 2, 4, 1, 3 } uselistorder i32 %26, { 1, 0 } uselistorder i32 %storemerge14.reload, { 0, 4, 5, 7, 6, 1, 2, 3 } uselistorder i32 %spec.select8, { 1, 0 } uselistorder i64 %6, { 6, 5, 3, 4, 2, 0, 1, 7 } uselistorder i8 %3, { 1, 0 } uselistorder i32* %sv_1.013.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_5.012.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_4.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 5, 3, 4 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i32 8, { 2, 0, 1 } uselistorder i32 0, { 1, 0, 11, 12, 8, 13, 14, 15, 3, 4, 6, 7, 16, 5, 2, 9, 10, 17, 18, 19, 20 } uselistorder i1 false, { 5, 4, 6, 3, 7, 1, 2, 8, 9, 0 } uselistorder i64* %arg1, { 0, 2, 1, 3, 4 } uselistorder label LBL_18, { 2, 1, 4, 3, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
bcm_rx_thr_flush_4131
bcm_rx_thr_flush
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %arg2, 4294967295 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %3, 2 %5 = ptrtoint i32* %arg1 to i64 store i32 1, i32* %storemerge4.reg2mem store i32 0, i32* %sv_0.03.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %6 = call i64 @FUNC(i64 %5, i64 %2, i32 %storemerge4.reload) %7 = trunc i64 %6 to i32 %8 = add i32 %sv_0.03.reload, %7 %9 = add nuw i32 %storemerge4.reload, 1 %exitcond = icmp eq i32 %9, %3 store i32 %9, i32* %storemerge4.reg2mem store i32 %8, i32* %sv_0.03.reg2mem store i32 %8, i32* %sv_0.1.reg2mem br i1 %exitcond, label LBL_3, label LBL_1 LBL_2: %10 = call i64 @FUNC(i64 %5, i64 %2, i32 0) %11 = trunc i64 %10 to i32 store i32 %11, i32* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %12 = zext i32 %sv_0.1.reload to i64 ret i64 %12 uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @bcm_rx_do_flush, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
parse_addr_5442
parse_addr
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 %storemerge1.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %sv_0 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = call i64* @memset(i64* %arg4, i32 0, i32 16) switch i32 %3, label LBL_3 [ i32 2, label LBL_1 i32 10, label LBL_2 ] LBL_1: %5 = sub i64 %arg5, %arg2 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %arg2, i64 %6, i64 %2, i64 4294967295, i64* nonnull %sv_0) store i64 %7, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_2: %8 = sub i64 %arg5, %arg2 %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %arg2, i64 %9, i64 %2, i64 4294967295, i64* nonnull %sv_0) store i64 %10, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_3: %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %11) call void @exit(i32 1) unreachable LBL_4: %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem %storemerge1 = trunc i64 %storemerge1.in.reload to i32 %13 = icmp eq i32 %storemerge1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_8, label LBL_5 LBL_5: %14 = load i64, i64* %sv_0, align 8 %15 = icmp eq i64 %14, %arg2 %16 = icmp eq i1 %15, false store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_6, label LBL_8 LBL_6: %17 = icmp eq i64* %arg3, null store i64 1, i64* %storemerge.reg2mem br i1 %17, label LBL_8, label LBL_7 LBL_7: store i64 %14, i64* %arg3, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %14, { 1, 0 } uselistorder i64* %sv_0, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967295, { 2, 1, 3, 0 } uselistorder i64 %arg2, { 0, 2, 1, 4, 3 } uselistorder label LBL_8, { 1, 0, 3, 2 } }
0
BinRealVul
dwmac4_wrback_get_rx_timestamp_status_18072
dwmac4_wrback_get_rx_timestamp_status
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = urem i32 %5, 2 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false store i32 -22, i32* %sv_0.0.reg2mem br i1 %9, label LBL_5, label LBL_1 LBL_1: %10 = urem i64 %1, 2 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %12, false store i32 0, i32* %sv_1.0.reg2mem store i32 -22, i32* %sv_0.0.reg2mem br i1 %13, label LBL_5, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 store i32 %15, i32* %sv_0.0.reg2mem br i1 %16, label LBL_5, label LBL_3 LBL_3: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %17 = add i32 %sv_1.0.reload, 1 %18 = icmp eq i32 %15, 1 %19 = icmp slt i32 %17, 10 %or.cond = or i1 %19, %18 store i32 %17, i32* %sv_1.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_4 LBL_4: %20 = icmp eq i32 %17, 10 %21 = icmp eq i1 %20, false %spec.select = select i1 %21, i32 %15, i32 -22 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = icmp eq i32 %sv_0.0.reload, 0 %. = zext i1 %22 to i64 ret i64 %. uselistorder i32 %17, { 1, 0, 2 } uselistorder i32 %15, { 1, 2, 0, 3 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32 10, { 1, 0 } uselistorder i32 -22, { 2, 0, 1 } uselistorder i1 false, { 2, 0, 3, 1, 4 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder label LBL_5, { 1, 0, 3, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dlm_lowcomms_stop_17649
dlm_lowcomms_stop
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i32 %storemerge24.reg2mem = alloca i32 %0 = call i64 @FUNC(i64* nonnull @gv_0) store i32 0, i32* %storemerge24.reg2mem br label LBL_1 LBL_1: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %1 = zext i32 %storemerge24.reload to i64 %2 = call i64 @FUNC(i64 %1, i64 0) %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_4, label LBL_2 LBL_2: %4 = inttoptr i64 %2 to i32* %5 = load i32, i32* %4, align 4 %6 = or i32 %5, 15 store i32 %6, i32* %4, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = inttoptr i64 %9 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 br label LBL_4 LBL_4: %14 = add i32 %storemerge24.reload, 1 %15 = load i32, i32* @gv_1, align 4 %16 = zext i32 %15 to i64 %17 = sext i32 %14 to i64 %18 = icmp sgt i64 %17, %16 store i32 %14, i32* %storemerge24.reg2mem br i1 %18, label LBL_5, label LBL_1 LBL_5: %19 = call i64 @FUNC(i64* nonnull @gv_0) %20 = call i64 @FUNC() %21 = call i64 @FUNC(i64* nonnull @gv_0) %22 = call i64 @FUNC() store i32 0, i32* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %23 = zext i32 %storemerge3.reload to i64 %24 = call i64 @FUNC(i64 %23, i64 0) %25 = icmp eq i64 %24, 0 br i1 %25, label LBL_8, label LBL_7 LBL_7: %26 = call i64 @FUNC(i64 %24, i64 1) %27 = load i64, i64* @gv_2, align 8 %28 = call i64 @FUNC(i64 %27, i64 %24) br label LBL_8 LBL_8: %29 = add i32 %storemerge3.reload, 1 %30 = load i32, i32* @gv_1, align 4 %31 = zext i32 %30 to i64 %32 = sext i32 %29 to i64 %33 = icmp sgt i64 %32, %31 store i32 %29, i32* %storemerge3.reg2mem br i1 %33, label LBL_9, label LBL_6 LBL_9: store i32 0, i32* @gv_1, align 4 %34 = call i64 @FUNC(i64* nonnull @gv_0) %35 = load i64, i64* @gv_2, align 8 %36 = call i64 @FUNC(i64 %35) %37 = call i64 @FUNC(i64* nonnull @gv_3) ret i64 %37 uselistorder i32* %4, { 1, 0 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 (i64*)* @up, { 1, 0 } uselistorder i32* @gv_1, { 2, 1, 0 } uselistorder i64 (i64, i64)* @__nodeid2con, { 1, 0 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i64 (i64*)* @down, { 1, 0 } uselistorder i32 1, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
isabus_fdc_class_init_16608
isabus_fdc_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198669, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %8, align 8 %9 = load i64, i64* @gv_2, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 0, i64 %14) ret i64 %15 }
1
BinRealVul
set_dirty_tracking_15400
set_dirty_tracking
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge24.reg2mem br label LBL_1 LBL_1: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %0 = inttoptr i64 %storemerge24.reload to i64* %1 = load i64, i64* %0, align 8 %2 = call i64 @FUNC(i64 %1, i64 4096, i64 0) %3 = add i64 %storemerge24.reload, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = icmp eq i64 %2, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i32* @__errno_location() %8 = load i32, i32* %7, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge13.reg2mem br label LBL_4 LBL_3: %9 = add i64 %storemerge24.reload, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %storemerge24.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_4: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %14 = add i64 %storemerge13.reload, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = inttoptr i64 %storemerge13.reload to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %16) br label LBL_6 LBL_6: %21 = add i64 %storemerge13.reload, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge13.reg2mem br i1 %25, label LBL_4, label LBL_7 LBL_7: %26 = sub i32 0, %8 %27 = zext i32 %26 to i64 store i64 %27, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge24.reload, { 0, 2, 1 } uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
authorized_client_10536
authorized_client
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i8* %7 = call %_IO_FILE* @fopen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %8 = icmp eq %_IO_FILE* %7, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = ptrtoint i8* %12 to i64 %14 = load i64, i64* %2, align 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %13) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_2: %18 = bitcast i32* %sv_2 to %in_addr* %19 = call i32 @inet_aton(i8* %6, %in_addr* nonnull %18) %20 = bitcast i64* %sv_1 to i8* %21 = ptrtoint i64* %sv_1 to i64 %22 = bitcast i32* %sv_0 to %in_addr* br label LBL_11 LBL_3: %23 = call i8* @index(i8* nonnull %20, i32 47) %24 = icmp eq i8* %23, null store i8* %20, i8** %.pre-phi.reg2mem br i1 %24, label LBL_9, label LBL_4 LBL_4: %25 = call i32 @strlen(i8* nonnull %20) %26 = sext i32 %25 to i64 %27 = ptrtoint i8* %23 to i64 %28 = sub i64 %27, %21 %29 = icmp ult i64 %28, %26 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = load i64, i64* %2, align 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %32) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_6: store i8 0, i8* %23, align 1 %34 = call i32 @inet_aton(i8* nonnull %20, %in_addr* nonnull %22) %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = load i64, i64* %2, align 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %39) store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %41 = add i64 %27, 1 %42 = inttoptr i64 %41 to i8* %43 = call i32 @strtol(i8* %42, i8** null, i32 0) %44 = load i32, i32* %sv_0, align 4 %45 = sub i32 0, %43 %46 = urem i32 %45, 32 %47 = shl i32 -1, %46 %48 = and i32 %47, %44 store i32 %48, i32* %sv_0, align 4 %49 = load i32, i32* %sv_2, align 4 %50 = and i32 %49, %47 %51 = icmp eq i32 %48, %50 %52 = icmp eq i1 %51, false store i8* %42, i8** %.pre-phi.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %52, label LBL_9, label LBL_13 LBL_9: %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %53 = call i32 @strlen(i8* %.pre-phi.reload) %54 = call i32 @strncmp(i8* nonnull %20, i8* %.pre-phi.reload, i32 %53) %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_11, label LBL_10 LBL_10: %57 = call i32 @fclose(%_IO_FILE* %7) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %58 = call i8* @fgets(i8* nonnull %20, i32 256, %_IO_FILE* %7) %59 = icmp eq i8* %58, null %60 = icmp eq i1 %59, false br i1 %60, label LBL_3, label LBL_12 LBL_12: %61 = call i32 @fclose(%_IO_FILE* %7) 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 i32 %48, { 1, 0 } uselistorder i8* %23, { 1, 0, 2 } uselistorder i8* %20, { 5, 3, 1, 2, 0, 4 } uselistorder %_IO_FILE* %7, { 0, 2, 1, 3 } uselistorder i64* %2, { 2, 1, 0, 3 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 6, 1, 5, 4, 2 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64)* @msg4, { 2, 1, 0 } uselistorder i64 1, { 2, 0, 4, 1, 3 } uselistorder i1 false, { 3, 0, 1, 2, 4, 5, 6 } uselistorder label LBL_13, { 4, 1, 0, 2, 3, 5 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
krb5_ktfileint_find_slot_7737
krb5_ktfileint_find_slot
define i64 @FUNC(i64 %arg1, i32 %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fseek(%_IO_FILE* %2, i32 0, i32 0) %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 store i32 %6, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_2: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 @fread(i64* nonnull %sv_3, i32 4, i32 1, %_IO_FILE* %7) %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %10, label LBL_3, label LBL_32 LBL_3: %11 = and i64 %1, 4294967295 br label LBL_4 LBL_4: %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = call i32 @ftell(%_IO_FILE* %12) store i32 %13, i32* %arg4, align 4 %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 @fread(i64* nonnull %sv_2, i32 4, i32 1, %_IO_FILE* %14) %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i32 0, i32* %sv_0.0.reg2mem br i1 %17, label LBL_8, label LBL_5 LBL_5: store i64 0, i64* %sv_2, align 8 %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %19 = call i32 @fseek(%_IO_FILE* %18, i32 0, i32 1) %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i32* @__errno_location() %23 = load i32, i32* %22, align 4 store i32 %23, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_7: %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %25 = call i32 @fwrite(i64* nonnull %sv_2, i32 4, i32 1, %_IO_FILE* %24) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i32 1, i32* %sv_0.0.reg2mem store i32 1, i32* %rax.0.shrunk.reg2mem br i1 %27, label LBL_8, label LBL_32 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %28 = load i64, i64* %sv_2, align 8 %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 1 br i1 %30, label LBL_12, label LBL_9 LBL_9: %31 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %32 = call i32 @fseek(%_IO_FILE* %31, i32 %29, i32 1) %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_10, label LBL_11 LBL_10: %34 = icmp eq i32 %sv_0.0.reload, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %34, label LBL_4, label LBL_32 LBL_11: %35 = call i32* @__errno_location() %36 = load i32, i32* %35, align 4 store i32 %36, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_12: %37 = icmp eq i32 %sv_0.0.reload, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_10, label LBL_13 LBL_13: %39 = mul i64 %28, 4294967296 %sext = sub i64 0, %39 %40 = ashr exact i64 %sext, 32 store i64 %40, i64* %sv_2, align 8 %41 = and i64 %40, 4294967295 %42 = icmp ult i64 %41, %11 %43 = trunc i64 %40 to i32 br i1 %42, label LBL_15, label LBL_10.thread LBL_14: store i32 %43, i32* %arg3, align 4 store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_15: %44 = icmp slt i32 %43, 1 %45 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 br i1 %44, label LBL_18, label LBL_16 LBL_16: %46 = call i32 @fseek(%_IO_FILE* %45, i32 %43, i32 1) %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_10, label LBL_17 LBL_17: %48 = call i32* @__errno_location() %49 = load i32, i32* %48, align 4 store i32 %49, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_18: %50 = call i32 @fseek(%_IO_FILE* %45, i32 0, i32 1) %51 = icmp slt i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_20, label LBL_19 LBL_19: %53 = call i32* @__errno_location() %54 = load i32, i32* %53, align 4 store i32 %54, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_20: %55 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %56 = call i32 @ftell(%_IO_FILE* %55) br label LBL_29 LBL_21: %57 = icmp eq i32 %89, 8192 br i1 %57, label LBL_24, label LBL_22 LBL_22: %58 = urem i32 %89, 4 %59 = icmp eq i32 %58, 0 br i1 %59, label LBL_24, label LBL_23 LBL_23: %60 = add i32 %89, 4 %61 = sub i32 %60, %58 %62 = sext i32 %61 to i64 store i64 %62, i64* %sv_2, align 8 br label LBL_24 LBL_24: %63 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %64 = call i32 @fseek(%_IO_FILE* %63, i32 0, i32 1) %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_26, label LBL_25 LBL_25: %67 = call i32* @__errno_location() %68 = load i32, i32* %67, align 4 store i32 %68, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_26: %69 = load i64, i64* %sv_2, align 8 %70 = trunc i64 %69 to i32 %71 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 %70) %72 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %73 = load i64, i64* %sv_2, align 8 %74 = trunc i64 %73 to i32 %75 = call i32 @fwrite(i64* nonnull %sv_1, i32 1, i32 %74, %_IO_FILE* %72) %76 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %77 = call i32 @fflush(%_IO_FILE* %76) %78 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %79 = call i32 @feof(%_IO_FILE* %78) %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false br i1 %81, label LBL_30, label LBL_27 LBL_27: %82 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %83 = call i32 @fseek(%_IO_FILE* %82, i32 0, i32 1) %84 = icmp slt i32 %83, 0 %85 = icmp eq i1 %84, false br i1 %85, label LBL_29, label LBL_28 LBL_28: %86 = call i32* @__errno_location() %87 = load i32, i32* %86, align 4 store i32 %87, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_29: %88 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %89 = call i32 @fread(i64* nonnull %sv_1, i32 1, i32 8192, %_IO_FILE* %88) %90 = sext i32 %89 to i64 store i64 %90, i64* %sv_2, align 8 %91 = icmp eq i32 %89, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_21, label LBL_30 LBL_30: %93 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %94 = call i32 @fseek(%_IO_FILE* %93, i32 %56, i32 0) %95 = icmp eq i32 %94, 0 br i1 %95, label LBL_10, label LBL_31 LBL_31: %96 = call i32* @__errno_location() %97 = load i32, i32* %96, align 4 store i32 %97, i32* %rax.0.shrunk.reg2mem br label LBL_32 LBL_32: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %89, { 3, 4, 2, 0, 1 } uselistorder i32 %58, { 1, 0 } uselistorder %_IO_FILE* %45, { 1, 0 } uselistorder i32 %43, { 1, 2, 0 } uselistorder i64* %sv_2, { 2, 3, 4, 5, 6, 7, 0, 8, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 12, 11, 10, 9, 8, 3, 7, 1, 2, 6, 4, 5 } uselistorder i32 8192, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @ftell, { 1, 0 } uselistorder i1 false, { 3, 0, 1, 2, 4, 5, 6, 7, 8, 9 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fread, { 2, 1, 0 } uselistorder i32 4, { 1, 0, 2, 3, 4 } uselistorder i32* ()* @__errno_location, { 7, 4, 5, 0, 1, 2, 3, 6 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 5, 7, 6, 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_32, { 4, 5, 6, 7, 8, 2, 9, 0, 1, 10, 3, 11 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_10, { 3, 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
dvb_fini_17478
dvb_fini
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %8) store i64 0, i64* %7, align 8 br label LBL_3 LBL_3: ret i64 0 uselistorder label LBL_3, { 1, 0, 2 } }
1
BinRealVul
ieee80211_fragment_13435
ieee80211_fragment
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %.reg2mem14 = alloca i32 %sv_0.0610.reg2mem = alloca i32 %spec.select11.reg2mem = alloca i32 %.reg2mem12 = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %arg3 to i32 %4 = trunc i64 %arg4 to i32 %5 = sub i32 %4, %3 %6 = trunc i64 %2 to i32 %7 = sub i32 %6, %3 %.neg = sub i32 4, %5 %8 = add i32 %7, %.neg %9 = icmp slt i32 %8, 0 %10 = zext i1 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_1: %14 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = add i32 %5, -4 %17 = icmp eq i32 %8, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_1.LBL_7_crit_edge LBL_2: %.pre8 = trunc i64 %15 to i32 store i32 %.pre8, i32* %.pre-phi.reg2mem br label LBL_7 LBL_3: %19 = ptrtoint i64* %arg1 to i64 %20 = trunc i64 %1 to i32 %21 = add i64 %19, 16 %22 = inttoptr i64 %21 to i64* %23 = add i32 %4, 16 %24 = load i64, i64* %22, align 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i32 %23, %20 %28 = add i32 %27, %26 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %29) %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %32, label LBL_4, label LBL_8 LBL_4: %33 = add i32 %4, -4 %34 = bitcast i64* %rdi to i32* %35 = add i64 %19, 8 %36 = add i64 %14, 24 %37 = inttoptr i64 %36 to i64* %38 = add i64 %14, 4 %39 = inttoptr i64 %38 to i32* %40 = add i64 %14, 8 %41 = inttoptr i64 %40 to i64* %42 = trunc i64 %15 to i32 %43 = add i64 %14, 16 %44 = inttoptr i64 %43 to i64* %45 = and i64 %15, 4294967295 %46 = icmp sgt i32 %16, %8 %spec.select9 = select i1 %46, i32 %8, i32 %16 %47 = sub i32 %8, %spec.select9 store i64 %30, i64* %.reg2mem store i32 %47, i32* %.reg2mem12 store i32 %spec.select9, i32* %spec.select11.reg2mem store i32 %33, i32* %sv_0.0610.reg2mem store i32 %20, i32* %.reg2mem14 br label LBL_5 LBL_5: %.reload15 = load i32, i32* %.reg2mem14 %sv_0.0610.reload = load i32, i32* %sv_0.0610.reg2mem %spec.select11.reload = load i32, i32* %spec.select11.reg2mem %.reload13 = load i32, i32* %.reg2mem12 %.reload = load i64, i64* %.reg2mem %48 = call i64 @FUNC(i64 %35, i64 %.reload) %49 = load i64, i64* %22, align 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i32 %51, %.reload15 %53 = zext i32 %52 to i64 %54 = call i64 @FUNC(i64 %.reload, i64 %53) %55 = add i64 %.reload, 24 %56 = inttoptr i64 %55 to i64* %57 = call i64* @memcpy(i64* %56, i64* %37, i32 48) %58 = call i64 @FUNC(i64 %.reload) %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = and i32 %60, -4 %62 = icmp eq i32 %.reload13, 0 %63 = or i32 %61, 4 %spec.select5 = select i1 %62, i32 %61, i32 %63 store i32 %spec.select5, i32* %59, align 4 %64 = call i64 @FUNC(i64 %.reload, i64 %14) %65 = load i32, i32* %39, align 4 %66 = add i64 %.reload, 4 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 %68 = load i64, i64* %41, align 8 %69 = add i64 %.reload, 8 %70 = inttoptr i64 %69 to i64* store i64 %68, i64* %70, align 8 %71 = load i64, i64* %44, align 8 %72 = call i64 @FUNC(i64 %.reload, i64 %45) %73 = inttoptr i64 %72 to i64* %74 = inttoptr i64 %71 to i64* %75 = call i64* @memcpy(i64* %73, i64* %74, i32 %42) %76 = load i64, i64* %44, align 8 %77 = sext i32 %sv_0.0610.reload to i64 %78 = add i64 %76, %77 %79 = zext i32 %spec.select11.reload to i64 %80 = call i64 @FUNC(i64 %.reload, i64 %79) %81 = inttoptr i64 %80 to i64* %82 = inttoptr i64 %78 to i64* %83 = call i64* @memcpy(i64* %81, i64* %82, i32 %spec.select11.reload) %84 = icmp eq i1 %62, false store i32 %42, i32* %.pre-phi.reg2mem br i1 %84, label LBL_5.dec_label_pc_401277_crit_edge, label LBL_7 LBL_6: %85 = add i32 %spec.select11.reload, %sv_0.0610.reload %.pre = load i32, i32* %34, align 8 %86 = icmp sgt i32 %16, %.reload13 %spec.select = select i1 %86, i32 %.reload13, i32 %16 %87 = sub i32 %.reload13, %spec.select %88 = load i64, i64* %22, align 8 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = add i32 %23, %.pre %92 = add i32 %91, %90 %93 = zext i32 %92 to i64 %94 = call i64 @FUNC(i64 %93) %95 = icmp eq i64 %94, 0 %96 = icmp eq i1 %95, false store i64 %94, i64* %.reg2mem store i32 %87, i32* %.reg2mem12 store i32 %spec.select, i32* %spec.select11.reg2mem store i32 %85, i32* %sv_0.0610.reg2mem store i32 %.pre, i32* %.reg2mem14 store i64 4294967284, i64* %rax.0.reg2mem br i1 %96, label LBL_5, label LBL_8 LBL_7: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %97 = add i32 %.pre-phi.reload, %16 %98 = zext i32 %97 to i64 %99 = call i64 @FUNC(i64 %14, i64 %98) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload, { 0, 1, 2, 4, 3, 5, 7, 6, 8 } uselistorder i32 %.reload13, { 2, 3, 1, 0 } uselistorder i32 %spec.select11.reload, { 0, 2, 1 } uselistorder i32 %23, { 1, 0 } uselistorder i64* %22, { 2, 1, 0 } uselistorder i32 %16, { 2, 3, 4, 0, 1 } uselistorder i64 %15, { 2, 1, 0 } uselistorder i64 %14, { 0, 3, 1, 2, 4, 5 } uselistorder i32 %8, { 1, 2, 3, 4, 0 } uselistorder i32 %5, { 1, 0 } uselistorder i32 %4, { 1, 0, 2 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem12, { 1, 0, 2 } uselistorder i32* %spec.select11.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0610.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem14, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @skb_put, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 0, 1 } uselistorder i64 4294967284, { 1, 0 } uselistorder i64 (i64)* @dev_alloc_skb, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 1 } uselistorder i32 -4, { 2, 0, 1 } uselistorder i32 0, { 2, 1, 3, 0 } uselistorder label LBL_8, { 3, 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
OBJ_create_4032
OBJ_create
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 1, i64 2) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %8 = call i64 @FUNC(i64 %arg1, i64 1) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_8 LBL_4: %11 = call i64 @FUNC(i64 %8) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 1, i64 2) store i64 0, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %15 = inttoptr i64 %8 to i32* %16 = call i64 @FUNC(i64 1) %17 = trunc i64 %16 to i32 store i32 %17, i32* %15, align 4 %18 = add i64 %8, 8 %19 = inttoptr i64 %18 to i64* store i64 %arg2, i64* %19, align 8 %20 = add i64 %8, 16 %21 = inttoptr i64 %20 to i64* store i64 %arg3, i64* %21, align 8 %22 = call i64 @FUNC(i64 %8) store i64 0, i64* %19, align 8 store i64 0, i64* %21, align 8 %phitmp = and i64 %22, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = call i64 @FUNC(i64 %8) store i64 %sv_0.0.reload, 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 %8, { 3, 0, 1, 2, 5, 4, 6 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @OBJerr, { 1, 0 } uselistorder i64 1, { 2, 3, 4, 5, 0, 1 } uselistorder i32 1, { 2, 1, 0, 3 } uselistorder label LBL_8, { 1, 0, 2 } }
0
BinRealVul
tor_free_all_18375
tor_free_all
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC() %4 = call i64 @FUNC(i64 0) %5 = call i64 @FUNC() %6 = call i64 @FUNC() %7 = call i64 @FUNC() %8 = call i64 @FUNC() %9 = call i64 @FUNC() %10 = call i64 @FUNC() %11 = call i64 @FUNC() %12 = call i64 @FUNC() %13 = call i64 @FUNC() %14 = call i64 @FUNC() %15 = icmp eq i32 %0, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = call i64 @FUNC() %18 = call i64 @FUNC() br label LBL_2 LBL_2: %19 = call i64 @FUNC() %20 = load i64, i64* @gv_0, align 8 %21 = call i64 @FUNC(i64 %20) store i64 %21, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC() store i64 %22, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
hmp_chardev_add_15659
hmp_chardev_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %sv_0, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %2, i64 %1, i64 1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %3, i64 0, i64* nonnull %sv_0) br label LBL_3 LBL_3: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0) ret i64 %9 }
1
BinRealVul
cpsr_write_14398
cpsr_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %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: %sext2 = mul i64 %arg3, 4294967296 %20 = ashr exact i64 %sext2, 32 %21 = trunc i64 %20 to i8 %22 = icmp sgt i8 %21, -1 br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = trunc i64 %1 to i8 %24 = icmp sgt i8 %23, -1 %25 = icmp eq i1 %24, false %26 = zext i1 %25 to i32 %27 = add i64 %0, 16 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 br label LBL_4 LBL_4: %29 = and i64 %arg3, 32 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = and i64 %arg2, 32 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false %34 = zext i1 %33 to i32 %35 = add i64 %0, 20 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 br label LBL_6 LBL_6: %37 = urem i64 %arg3, 4 %38 = icmp eq i64 %37, 0 br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = add i64 %0, 24 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = and i32 %41, -4 %43 = udiv i64 %1, 33554432 %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 4 %46 = or i32 %42, %45 store i32 %46, i32* %40, align 4 br label LBL_8 LBL_8: %47 = and i64 %arg3, 64512 %48 = icmp eq i64 %47, 0 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, 983040 %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 %20 to i32 %70 = urem i32 %69, 32 %71 = and i32 %70, %68 %72 = icmp eq i32 %71, 0 store i32 %66, i32* %.reg2mem br i1 %72, label LBL_14, label LBL_13 LBL_13: %73 = urem i64 %1, 32 %74 = call i64 @FUNC(i64 %0, i64 %73) %.pre = load i32, i32* %65, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_14 LBL_14: %.reload = load i32, i32* %.reg2mem %75 = and i64 %20, -16 %76 = trunc i64 %75 to i32 %77 = sub i32 0, %76 %78 = sub i32 %77, 1 %79 = and i32 %.reload, %78 %80 = and i64 %75, %1 %81 = trunc i64 %80 to i32 %82 = or i32 %79, %81 store i32 %82, i32* %65, align 4 ret i64 %0 uselistorder i32* %65, { 1, 0, 2 } uselistorder i64 %1, { 5, 0, 8, 1, 2, 3, 7, 4, 6 } uselistorder i64 %0, { 8, 10, 9, 7, 6, 5, 4, 3, 0, 1, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 32, { 0, 5, 1, 2, 3, 4 } uselistorder i64 %arg3, { 3, 4, 1, 5, 0, 2 } uselistorder i64 %arg2, { 3, 2, 1, 0 } }
1
BinRealVul
syscall_cryp_state_copy_6342
syscall_cryp_state_copy
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i32*, align 8 %sv_1 = alloca i32*, align 8 %sv_2 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = and i64 %0, 4294967295 store i64 %3, i64* %rax.0.reg2mem br label LBL_16 LBL_2: %4 = call i64 @FUNC(i64 %arg1) %5 = load i64, i64* %sv_2, align 8 %6 = bitcast i32** %sv_1 to i64* %7 = call i64 @FUNC(i64 %5, i64 %4, i64* nonnull %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %7, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %11 = call i64 @FUNC(i64 %arg2) %12 = load i64, i64* %sv_2, align 8 %13 = bitcast i32** %sv_0 to i64* %14 = call i64 @FUNC(i64 %12, i64 %11, i64* nonnull %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = and i64 %14, 4294967295 store i64 %17, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %18 = load i32*, i32** %sv_1, align 8 %19 = load i32, i32* %18, align 4 %20 = load i32*, i32** %sv_0, align 8 %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %19, %21 %23 = icmp eq i1 %22, false store i64 1, i64* %rax.0.reg2mem br i1 %23, label LBL_16, label LBL_7 LBL_7: %24 = ptrtoint i32* %18 to i64 %25 = add i64 %24, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = ptrtoint i32* %20 to i64 %29 = add i64 %28, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %27, %31 store i64 1, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_16 LBL_8: %33 = zext i32 %21 to i64 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 6 br i1 %36, label LBL_14, label LBL_9 LBL_9: %37 = icmp sgt i32 %35, 6 store i64 2, i64* %rax.0.reg2mem br i1 %37, label LBL_16, label LBL_10 LBL_10: store i64 2, i64* %rax.0.reg2mem switch i32 %35, label LBL_16 [ i32 5, label LBL_13 i32 3, label LBL_11 i32 4, label LBL_12 ] LBL_11: %38 = load i32*, i32** %sv_0, align 8 %39 = load i32, i32* %38, align 4 %40 = ptrtoint i32* %38 to i64 %41 = add i64 %40, 8 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = load i32*, i32** %sv_1, align 8 %45 = ptrtoint i32* %44 to i64 %46 = add i64 %45, 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %48, i64 %43, i32 %39) br label LBL_15 LBL_12: %50 = load i32*, i32** %sv_0, align 8 %51 = load i32, i32* %50, align 4 %52 = ptrtoint i32* %50 to i64 %53 = add i64 %52, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = load i32*, i32** %sv_1, align 8 %57 = ptrtoint i32* %56 to i64 %58 = add i64 %57, 8 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60, i64 %55, i32 %51) br label LBL_15 LBL_13: %62 = load i32*, i32** %sv_0, align 8 %63 = load i32, i32* %62, align 4 %64 = ptrtoint i32* %62 to i64 %65 = add i64 %64, 8 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = load i32*, i32** %sv_1, align 8 %69 = ptrtoint i32* %68 to i64 %70 = add i64 %69, 8 %71 = inttoptr i64 %70 to i64* %72 = load i64, i64* %71, align 8 %73 = call i64 @FUNC(i64 %72, i64 %67, i32 %63) br label LBL_15 LBL_14: %74 = load i32*, i32** %sv_0, align 8 %75 = load i32, i32* %74, align 4 %76 = ptrtoint i32* %74 to i64 %77 = add i64 %76, 8 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = load i32*, i32** %sv_1, align 8 %81 = ptrtoint i32* %80 to i64 %82 = add i64 %81, 8 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = call i64 @FUNC(i64 %84, i64 %79, i32 %75) br label LBL_15 LBL_15: %86 = load i32*, i32** %sv_0, align 8 %87 = ptrtoint i32* %86 to i64 %88 = load i32*, i32** %sv_1, align 8 %89 = ptrtoint i32* %88 to i64 %90 = add i64 %87, 16 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add i64 %89, 16 %94 = inttoptr i64 %93 to i32* store i32 %92, i32* %94, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i32** %sv_1, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i32** %sv_0, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 2, 4, 3, 7, 6, 5 } uselistorder i32 6, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @tee_svc_cryp_get_state, { 1, 0 } uselistorder i64 (i64)* @tee_svc_uref_to_vaddr, { 1, 0 } uselistorder i32 1, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder label LBL_16, { 4, 0, 1, 3, 2, 5, 6, 7 } }
0
BinRealVul
raptor_abbrev_subject_find_4188
raptor_abbrev_subject_find
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2, i64 %arg2) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %7 = call i64 @FUNC(i64 %arg1, i64 %3) %8 = call i64 @FUNC(i64 %3) %9 = call i64 @FUNC(i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @raptor_free_abbrev_node, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
dac3_box_write_12476
dac3_box_write
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i1 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i1 true, i1* %.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: store i32 1684366131, i32* %arg1, align 4 store i1 false, i1* %.reg2mem br label LBL_2 LBL_2: %.reload = load i1, i1* %.reg2mem %4 = ptrtoint i32* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %4) br i1 %.reload, label LBL_4, label LBL_3 LBL_3: store i32 1684103987, i32* %arg1, align 4 br label LBL_4 LBL_4: %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %10 = call i64 @FUNC(i64 %5, i64 %4) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_8, label LBL_7 LBL_7: %13 = and i64 %10, 4294967295 store i64 %13, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %14 = add i64 %5, 4 %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 %.pre = add i64 %5, 8 %.pre4 = inttoptr i64 %.pre to i32* br i1 %18, label LBL_10, label LBL_9 LBL_9: %19 = load i32, i32* %.pre4, align 4 %20 = icmp eq i32 %19, 0 store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_11, label LBL_10 LBL_10: %21 = call i64 @FUNC(i64 %4, i64 0, i64 7) %22 = load i32, i32* %15, align 4 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %4, i64 %23, i64 1) %25 = load i32, i32* %.pre4, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %4, i64 %26) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 1, 0 } uselistorder i32* %arg1, { 1, 2, 0 } uselistorder label LBL_11, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
ioreq_start_14974
ioreq_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.pre-phi2.reg2mem = alloca i64* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = trunc i64 %1 to i32 %9 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4 %10 = icmp ugt i32 %9, %8 store i64 0, i64* %sv_0.1.reg2mem br i1 %10, label LBL_2, label LBL_9 LBL_2: %11 = bitcast i64* %rdi to i32* %12 = call i64 @FUNC(i64 32) %13 = inttoptr i64 %12 to i64* store i64 %2, i64* %13, align 8 %14 = load i32, i32* %11, align 8 %15 = add i32 %14, 1 %16 = bitcast i64* %arg1 to i32* store i32 %15, i32* %16, align 4 %17 = add i64 %12, 24 %18 = call i64 @FUNC(i64 %17, i64 16) %.pre = add i64 %12, 8 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem store i64 %12, i64* %sv_0.0.reg2mem br label LBL_8 LBL_3: %19 = add i64 %5, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 %.pre3 = add i64 %5, 16 %.pre5 = inttoptr i64 %.pre3 to i64* br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = load i64, i64* %.pre5, align 8 %24 = add i64 %21, 16 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 br label LBL_5 LBL_5: %26 = load i64, i64* %.pre5, align 8 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = load i64, i64* %20, align 8 %29 = inttoptr i64 %26 to i64* store i64 %28, i64* %29, align 8 br label LBL_7 LBL_7: %30 = add i64 %5, 24 %31 = call i64 @FUNC(i64 %30) store i64* %20, i64** %.pre-phi2.reg2mem store i64 %5, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %32 = add i64 %2, 16 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 store i64 %34, i64* %.pre-phi2.reload, align 8 store i64 %sv_0.0.reload, i64* %33, align 8 %35 = add i64 %2, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i32 %37, 1 store i32 %38, i32* %36, align 4 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder i64 %5, { 0, 3, 1, 2, 4 } uselistorder i64 %2, { 1, 2, 0, 3 } uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i64 16, { 2, 3, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
acpi_bus_get_flags_4275
acpi_bus_get_flags
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 br label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = add i64 %0, 12 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 br label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 1, i32* %18, align 4 br label LBL_8 LBL_6: %19 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = add i64 %0, 16 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 br label LBL_8 LBL_8: %25 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_10, label LBL_9 LBL_9: %29 = add i64 %0, 20 %30 = inttoptr i64 %29 to i32* store i32 1, i32* %30, align 4 br label LBL_10 LBL_10: %31 = add i64 %0, 28 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_11, label LBL_14 LBL_11: %36 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_0) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_0) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_14, label LBL_13 LBL_13: %43 = add i64 %0, 24 %44 = inttoptr i64 %43 to i32* store i32 1, i32* %44, align 4 br label LBL_14 LBL_14: ret i64 0 uselistorder i64 %0, { 6, 5, 7, 8, 4, 9, 3, 10, 2, 11, 1, 12, 0, 13 } uselistorder i64 (i64, i8*, i64*)* @acpi_get_handle, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_14, { 1, 0, 2 } uselistorder label LBL_13, { 1, 0 } }
0
BinRealVul
dvb_dmxdev_release_12037
dvb_dmxdev_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 1, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0) br label LBL_2 LBL_2: %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = add i64 %14, 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 0) br label LBL_4 LBL_4: %22 = load i64, i64* %3, align 8 %23 = call i64 @FUNC(i64 %22) %24 = load i64, i64* %13, align 8 %25 = call i64 @FUNC(i64 %24) %26 = add i64 %0, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) store i64 0, i64* %27, align 8 %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 ret i64 %32 uselistorder i64 (i64)* @dvb_unregister_device, { 1, 0 } uselistorder i64 (i64, i64)* @wait_event, { 1, 0 } }
1
BinRealVul
s5k83a_probe_18235
s5k83a_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 %sv_1 = alloca i8, align 1 %sv_2 = alloca i8, align 1 store i8 0, i8* %sv_2, align 1 store i8 0, i8* %sv_1, align 1 %7 = load i32, i32* @gv_0, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = icmp eq i32 %7, 1 %10 = icmp eq i1 %9, false store i64 19, i64* %rax.0.reg2mem br i1 %10, label LBL_17, label LBL_2 LBL_2: %11 = load i64, i64* @gv_1, align 8 %12 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %11, i64 %4, i64 %5, i64 %2, i64 %1) br label LBL_12 LBL_3: %13 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1) store i64 0, i64* %indvars.iv8.reg2mem br label LBL_4 LBL_4: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %14 = mul i64 %indvars.iv8.reload, 16 %15 = add i64 %14, ptrtoint (i32** @gv_4 to i64) %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 8 %18 = trunc i32 %17 to i8 store i8 %18, i8* %sv_0, align 1 %19 = add i64 %14, ptrtoint (i32** @gv_5 to i64) %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 8 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = add i64 %14, ptrtoint (i32** @gv_6 to i64) %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 8 %27 = call i64 @FUNC(i64 %6, i32 %26, i8* nonnull %sv_0, i64 2) store i64 %27, i64* %storemerge2.in.reg2mem br label LBL_7 LBL_6: %.mask = urem i32 %17, 256 %28 = zext i32 %.mask to i64 %29 = add i64 %14, ptrtoint (i32** @gv_6 to i64) %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 8 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %6, i64 %32, i64 %28) store i64 %33, i64* %storemerge2.in.reg2mem br label LBL_7 LBL_7: %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem %storemerge2 = trunc i64 %storemerge2.in.reload to i32 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %34 = icmp ult i64 %indvars.iv.next9, 10 %35 = icmp eq i32 %storemerge2, 0 %or.cond = icmp eq i1 %34, %35 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %or.cond, label LBL_4, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %6, i64 0, i8* nonnull %sv_2, i64 1) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 store i64 19, i64* %rax.0.reg2mem br i1 %38, label LBL_9, label LBL_17 LBL_9: %39 = call i64 @FUNC(i64 %6, i64 1, i8* nonnull %sv_1, i64 1) %40 = trunc i64 %39 to i32 %41 = icmp ne i32 %40, 0 %42 = load i8, i8* %sv_2, align 1 %43 = icmp eq i8 %42, -1 %or.cond5 = or i1 %41, %43 store i64 19, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_17, label LBL_10 LBL_10: %44 = load i8, i8* %sv_1, align 1 %45 = icmp eq i8 %44, -1 %46 = icmp eq i1 %45, false store i64 19, i64* %rax.0.reg2mem br i1 %46, label LBL_11, label LBL_17 LBL_11: %47 = ptrtoint i8* %sv_1 to i64 %48 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 1, i64 %47, i64 1, i64 %2, i64 %1) br label LBL_12 LBL_12: %49 = call i64 @FUNC(i64 16, i64 0) %50 = icmp eq i64 %49, 0 %51 = icmp eq i1 %50, false store i64 12, i64* %rax.0.reg2mem br i1 %51, label LBL_13, label LBL_17 LBL_13: %52 = call i64 @FUNC(i64 40, i64 0) %53 = inttoptr i64 %49 to i64* store i64 %52, i64* %53, align 8 %54 = icmp eq i64 %52, 0 %55 = icmp eq i1 %54, false store i64 12, i64* %rax.0.reg2mem br i1 %55, label LBL_14, label LBL_17 LBL_14: %56 = load i64, i64* @gv_8, align 8 store i64 %56, i64* %arg1, align 8 %57 = add i64 %6, 8 %58 = inttoptr i64 %57 to i32* store i32 8, i32* %58, align 4 %59 = add i64 %6, 24 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = inttoptr i64 %61 to i64* store i64 ptrtoint (i32** @gv_9 to i64), i64* %62, align 8 %63 = load i64, i64* %60, align 8 %64 = add i64 %63, 8 %65 = inttoptr i64 %64 to i32* store i32 10, i32* %65, align 4 %66 = add i64 %49, 8 %67 = inttoptr i64 %66 to i64* store i64 0, i64* %67, align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_15 LBL_15: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %68 = load i64, i64* %53, align 8 %69 = mul i64 %indvars.iv.reload, 4 %70 = add i64 %68, %69 %71 = add i64 %69, ptrtoint (i32** @gv_9 to i64) %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = inttoptr i64 %70 to i32* store i32 %73, i32* %74, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_16, label LBL_15 LBL_16: %75 = add i64 %6, 16 %76 = inttoptr i64 %75 to i64* store i64 %49, i64* %76, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 2, 1, 3, 0 } uselistorder i8* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %6, { 0, 1, 2, 3, 4, 6, 5 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i32 10, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 } uselistorder i8 -1, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @m5602_read_sensor, { 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 5, 4, 6, 0 } uselistorder i64 ptrtoint (i32** @gv_6 to i64), { 1, 0 } uselistorder i64 16, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @info, { 2, 1, 0 } uselistorder i32 0, { 2, 4, 0, 3, 5, 1 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder label LBL_17, { 6, 1, 2, 3, 0, 4, 5 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
cma_cancel_route_8013
cma_cancel_route
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false store i64 %5, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = add i64 %0, 24 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16, i64 %11) store i64 %17, 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, { 0, 1, 3, 2 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
reds_set_client_mouse_allowed_9089
reds_set_client_mouse_allowed
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg2 to i32 %2 = trunc i64 %arg3 to i32 %3 = load i32*, i32** @gv_0, align 8 store i32 %1, i32* %3, align 4 %4 = load i32*, i32** @gv_0, align 8 %5 = ptrtoint i32* %4 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* store i32 %2, i32* %7, align 4 %8 = load i32*, i32** @gv_0, align 8 %9 = ptrtoint i32* %8 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i32* store i32 %0, i32* %11, align 4 %12 = call i64 @FUNC() %13 = load i32*, i32** @gv_0, align 8 %14 = ptrtoint i32* %13 to i64 %15 = add i64 %14, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_1 LBL_1: %19 = call i64 @FUNC() %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %19, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = load i32*, i32** @gv_0, align 8 %23 = ptrtoint i32* %22 to i64 %24 = add i64 %23, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = load i32, i32* %22, align 4 %28 = zext i32 %26 to i64 %29 = zext i32 %27 to i64 %30 = call i64 @FUNC(i64 %29, i64 %28) store i64 %30, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
fuse_inode_uncached_io_start_12505
fuse_inode_uncached_io_start
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %2) %6 = icmp eq i64 %5, 0 %7 = ptrtoint i32* %arg2 to i64 %8 = icmp eq i64 %5, %7 %or.cond = or i1 %6, %8 store i64 4294967280, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_5 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp slt i32 %9, 1 store i64 4294967270, i64* %sv_0.0.reg2mem br i1 %10, label LBL_2, label LBL_5 LBL_2: %11 = add i32 %9, -1 store i32 %11, i32* %arg1, align 4 %12 = icmp eq i1 %6, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %2, i64 %7) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %16 = zext i1 %15 to i64 %17 = call i64 @FUNC(i64 %16) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %18 = call i64 @FUNC(i64 %7) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %3) ret i64 %sv_0.0.reload uselistorder i32 %9, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder label LBL_5, { 2, 3, 0, 1 } }
1
BinRealVul
spapr_tce_table_class_init_16490
spapr_tce_table_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4210717, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 %5 = call i64 @FUNC(i64 4210718) %6 = call i64 @FUNC(i64 1, i64 4198701) ret i64 %6 }
1
BinRealVul
jbd2_journal_lock_updates_6466
jbd2_journal_lock_updates
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 = add i64 %0, 44 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, 1 store i32 %6, i32* %4, align 4 %7 = add i64 %0, 40 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %0) %12 = call i64 @FUNC(i64 %7) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = zext i1 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %0) %19 = call i64 @FUNC(i64 %0) %20 = add i64 %0, 96 %21 = call i64 @FUNC(i64 %20) ret i64 %21 uselistorder i64 %0, { 4, 3, 2, 0, 1, 5, 6, 7, 8 } uselistorder i64 (i64)* @write_unlock, { 1, 0 } uselistorder i64 (i64)* @atomic_read, { 1, 0 } uselistorder i64 (i64)* @write_lock, { 1, 0 } }
0
BinRealVul
sub64_16965
sub64
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = sub i64 %arg1, %arg2 ret i64 %0 }
1
BinRealVul
co_schedule_bh_cb_14519
co_schedule_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.12.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge3.reg2mem store i64 %0, i64* %sv_1.12.reg2mem store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %3 = inttoptr i64 %sv_1.12.reload to i64* %4 = load i64, i64* %3, align 8 store i64 %storemerge3.reload, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %sv_1.12.reload, i64* %storemerge3.reg2mem store i64 %4, i64* %sv_1.12.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_2: %7 = icmp eq i64 %sv_1.12.reload, 0 %8 = icmp eq i1 %7, false store i64 %storemerge3.reload, i64* %.reg2mem store i64 %sv_1.12.reload, i64* %sv_0.11.reg2mem store i64 %sv_1.12.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %8, label LBL_3, label LBL_5 LBL_3: %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem %.reload = load i64, i64* %.reg2mem %9 = call i64 @FUNC(i64 %0, i64 %sv_0.11.reload) %10 = call i64 @FUNC(i64 %0) %11 = call i64 @FUNC(i64 %sv_0.11.reload) %12 = call i64 @FUNC(i64 %0) %13 = icmp eq i64 %.reload, 0 %14 = icmp eq i1 %13, false store i64 %.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %14, label LBL_3.LBL_3_crit_edge, label LBL_5 LBL_4: %.phi.trans.insert = inttoptr i64 %.reload to i64* %.pre = load i64, i64* %.phi.trans.insert, align 8 store i64 %.pre, i64* %.reg2mem store i64 %.reload, i64* %sv_0.11.reg2mem br label LBL_3 LBL_5: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem ret i64 %sv_0.1.lcssa.reload uselistorder i64 %.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_0.11.reload, { 1, 0 } uselistorder i64 %sv_1.12.reload, { 0, 1, 3, 4, 2 } uselistorder i64 %0, { 3, 2, 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.12.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.11.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
helper_rsm_115
helper_rsm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3) %5 = add i64 %1, 32768 %6 = and i64 %5, 4294967295 %7 = add nuw nsw i64 %6, 32464 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = add nuw nsw i64 %6, 32360 %11 = call i64 @FUNC(i64 %4, i64 %10) %12 = trunc i64 %11 to i32 %13 = add i64 %2, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add nuw nsw i64 %6, 32356 %16 = call i64 @FUNC(i64 %4, i64 %15) %17 = trunc i64 %16 to i32 %18 = add i64 %2, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add nuw nsw i64 %6, 32368 %21 = call i64 @FUNC(i64 %4, i64 %20) %22 = trunc i64 %21 to i16 %23 = add i64 %2, 44 %24 = inttoptr i64 %23 to i16* store i16 %22, i16* %24, align 2 %25 = add nuw nsw i64 %6, 32376 %26 = call i64 @FUNC(i64 %4, i64 %25) %27 = trunc i64 %26 to i32 %28 = add i64 %2, 36 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = add nuw nsw i64 %6, 32372 %31 = call i64 @FUNC(i64 %4, i64 %30) %32 = trunc i64 %31 to i32 %33 = add i64 %2, 40 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 %35 = add nuw nsw i64 %6, 32370 %36 = call i64 @FUNC(i64 %4, i64 %35) %37 = trunc i64 %36 to i32 %38 = mul i32 %37, 256 %39 = and i32 %38, 15793920 %40 = add i64 %2, 48 %41 = inttoptr i64 %40 to i32* store i32 %39, i32* %41, align 4 %42 = add nuw nsw i64 %6, 32392 %43 = call i64 @FUNC(i64 %4, i64 %42) %44 = trunc i64 %43 to i32 %45 = add i64 %2, 20 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = add nuw nsw i64 %6, 32388 %48 = call i64 @FUNC(i64 %4, i64 %47) %49 = trunc i64 %48 to i32 %50 = add i64 %2, 24 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = add nuw nsw i64 %6, 32400 %53 = call i64 @FUNC(i64 %4, i64 %52) %54 = trunc i64 %53 to i16 %55 = add i64 %2, 60 %56 = inttoptr i64 %55 to i16* store i16 %54, i16* %56, align 2 %57 = add nuw nsw i64 %6, 32408 %58 = call i64 @FUNC(i64 %4, i64 %57) %59 = trunc i64 %58 to i32 %60 = add i64 %2, 52 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 %62 = add nuw nsw i64 %6, 32404 %63 = call i64 @FUNC(i64 %4, i64 %62) %64 = trunc i64 %63 to i32 %65 = add i64 %2, 56 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = add nuw nsw i64 %6, 32402 %68 = call i64 @FUNC(i64 %4, i64 %67) %69 = trunc i64 %68 to i32 %70 = mul i32 %69, 256 %71 = and i32 %70, 15793920 %72 = add i64 %2, 64 %73 = inttoptr i64 %72 to i32* store i32 %71, i32* %73, align 4 %74 = add nuw nsw i64 %6, 32760 %75 = call i64 @FUNC(i64 %4, i64 %74) %76 = trunc i64 %75 to i32 %77 = add i64 %2, 72 %78 = inttoptr i64 %77 to i32* store i32 %76, i32* %78, align 4 %79 = add nuw nsw i64 %6, 32752 %80 = call i64 @FUNC(i64 %4, i64 %79) %81 = trunc i64 %80 to i32 %82 = add i64 %2, 76 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = add nuw nsw i64 %6, 32744 %85 = call i64 @FUNC(i64 %4, i64 %84) %86 = trunc i64 %85 to i32 %87 = add i64 %2, 80 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 %89 = add nuw nsw i64 %6, 32736 %90 = call i64 @FUNC(i64 %4, i64 %89) %91 = trunc i64 %90 to i32 %92 = add i64 %2, 84 %93 = inttoptr i64 %92 to i32* store i32 %91, i32* %93, align 4 %94 = add nuw nsw i64 %6, 32728 %95 = call i64 @FUNC(i64 %4, i64 %94) %96 = trunc i64 %95 to i32 %97 = add i64 %2, 88 %98 = inttoptr i64 %97 to i32* store i32 %96, i32* %98, align 4 %99 = add nuw nsw i64 %6, 32720 %100 = call i64 @FUNC(i64 %4, i64 %99) %101 = trunc i64 %100 to i32 %102 = add i64 %2, 92 %103 = inttoptr i64 %102 to i32* store i32 %101, i32* %103, align 4 %104 = add nuw nsw i64 %6, 32712 %105 = call i64 @FUNC(i64 %4, i64 %104) %106 = trunc i64 %105 to i32 %107 = add i64 %2, 96 %108 = inttoptr i64 %107 to i32* store i32 %106, i32* %108, align 4 %109 = add nuw nsw i64 %6, 32704 %110 = call i64 @FUNC(i64 %4, i64 %109) %111 = trunc i64 %110 to i32 %112 = add i64 %2, 100 %113 = inttoptr i64 %112 to i32* store i32 %111, i32* %113, align 4 store i64 8, i64* %indvars.iv4.reg2mem br label LBL_1 LBL_1: %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem %114 = mul i64 %indvars.iv4.reload, 8 %115 = sub nsw i64 %74, %114 %116 = call i64 @FUNC(i64 %4, i64 %115) %117 = trunc i64 %116 to i32 %118 = mul i64 %indvars.iv4.reload, 4 %119 = add i64 %118, %77 %120 = inttoptr i64 %119 to i32* store i32 %117, i32* %120, align 4 %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1 %exitcond6 = icmp eq i64 %indvars.iv.next5, 16 store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem br i1 %exitcond6, label LBL_2, label LBL_1 LBL_2: %121 = add nuw nsw i64 %6, 32632 %122 = call i64 @FUNC(i64 %4, i64 %121) %123 = trunc i64 %122 to i32 %124 = add i64 %2, 68 %125 = inttoptr i64 %124 to i32* store i32 %123, i32* %125, align 4 %126 = add nuw nsw i64 %6, 32624 %127 = call i64 @FUNC(i64 %4, i64 %126) %128 = and i64 %127, 4294967295 %129 = call i64 @FUNC(i64 %2, i64 %128, i64 4294967168) %130 = add nuw nsw i64 %6, 32616 %131 = call i64 @FUNC(i64 %4, i64 %130) %132 = trunc i64 %131 to i32 %133 = add i64 %2, 160 %134 = inttoptr i64 %133 to i32* store i32 %132, i32* %134, align 4 %135 = add nuw nsw i64 %6, 32608 %136 = call i64 @FUNC(i64 %4, i64 %135) %137 = trunc i64 %136 to i32 %138 = add i64 %2, 164 %139 = inttoptr i64 %138 to i32* store i32 %137, i32* %139, align 4 %140 = add nuw nsw i64 %6, 32584 %141 = call i64 @FUNC(i64 %4, i64 %140) %142 = and i64 %141, 4294967295 %143 = call i64 @FUNC(i64 %2, i64 %142) %144 = add nuw nsw i64 %6, 32592 %145 = call i64 @FUNC(i64 %4, i64 %144) %146 = and i64 %145, 4294967295 %147 = call i64 @FUNC(i64 %2, i64 %146) %148 = add nuw nsw i64 %6, 32600 %149 = call i64 @FUNC(i64 %4, i64 %148) %150 = and i64 %149, 4294967295 %151 = call i64 @FUNC(i64 %2, i64 %150) %152 = add nuw nsw i64 %6, 32256 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %153 = mul i64 %indvars.iv.reload, 16 %154 = add nuw nsw i64 %152, %153 %155 = add nsw i64 %154, 2 %156 = call i64 @FUNC(i64 %4, i64 %155) %157 = mul i64 %156, 256 %158 = and i64 %157, 15793920 %159 = add nsw i64 %154, 4 %160 = call i64 @FUNC(i64 %4, i64 %159) %161 = add nsw i64 %154, 8 %162 = call i64 @FUNC(i64 %4, i64 %161) %163 = call i64 @FUNC(i64 %4, i64 %154) %164 = urem i64 %163, 65536 %165 = and i64 %160, 4294967295 %166 = trunc i64 %indvars.iv.reload to i32 %167 = call i64 @FUNC(i64 %2, i32 %166, i64 %164, i64 %162, i64 %165, i64 %158) %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 br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %168 = add nuw nsw i64 %6, 32508 %169 = call i64 @FUNC(i64 %4, i64 %168) %170 = and i64 %169, 131072 %171 = icmp eq i64 %170, 0 br i1 %171, label LBL_6, label LBL_5 LBL_5: %172 = add nuw nsw i64 %6, 32512 %173 = call i64 @FUNC(i64 %4, i64 %172) %174 = trunc i64 %173 to i32 %175 = bitcast i64* %arg1 to i32* store i32 %174, i32* %175, align 4 br label LBL_6 LBL_6: %176 = add i64 %2, 172 %177 = inttoptr i64 %176 to i32* %178 = load i32, i32* %177, align 4 %179 = urem i32 %178, 2 %180 = icmp eq i32 %179, 0 %181 = icmp eq i1 %180, false store i32 %178, i32* %.reg2mem br i1 %181, label LBL_8, label LBL_7 LBL_7: %182 = and i32 %178, -3 store i32 %182, i32* %177, align 4 store i32 %182, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %183 = and i32 %.reload, -2 store i32 %183, i32* %177, align 4 %184 = add i64 %2, 168 %185 = inttoptr i64 %184 to i32* %186 = load i32, i32* %185, align 4 %187 = and i32 %186, -5 store i32 %187, i32* %185, align 4 %188 = call i64 @FUNC(i64 %3) %189 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0)) %190 = call i64 @FUNC(i64 %3) %191 = call i64 @FUNC(i64 1, i64 %190, i64 2) ret i64 %191 uselistorder i32 %178, { 2, 0, 1 } uselistorder i64 %154, { 2, 1, 0, 3 } uselistorder i64 %indvars.iv4.reload, { 0, 2, 1 } uselistorder i64 %6, { 30, 29, 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 } uselistorder i64 %4, { 0, 1, 3, 4, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder i64 (i64, i64)* @x86_lduw_phys, { 5, 4, 3, 2, 1, 0 } uselistorder i64 8, { 2, 1, 0, 3 } uselistorder i64 (i64, i64)* @x86_ldl_phys, { 10, 9, 11, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 (i64, i64)* @x86_ldq_phys, { 16, 14, 13, 15, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64)* @CPU, { 1, 0 } }
1
BinRealVul
bdrv_truncate_14778
bdrv_truncate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967173, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 4294967283, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_5 LBL_2: %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %2, i64* %sv_0.0.in.in.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = ashr i64 %arg2, 9 %11 = call i64 @FUNC(i64 %2, i64 %10) %12 = call i64 @FUNC(i64 %2) %13 = call i64 @FUNC(i64 %2) store i64 %11, i64* %sv_0.0.in.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = and i64 %sv_0.0.in.in.reload, 4294967295 store i64 %sv_0.0.in, 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, { 3, 2, 1, 0, 5, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
BinRealVul
av_metadata_set_17836
av_metadata_set
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.1.reg2mem = alloca i64 %.pre3.pre-phi.reg2mem = alloca i32* %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64 0) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 %1, i64* %sv_0.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 16) store i64 %5, i64* %arg1, align 8 store i64 16, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = icmp eq i64 %2, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %2 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %sv_0.0.reload, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i32 %16, -1 store i32 %17, i32* %15, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 16 %20 = add i64 %19, %12 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %20 to i64* %25 = load i64, i64* %24, align 8 store i64 %25, i64* %11, align 8 store i64 %23, i64* %8, align 8 store i32* %15, i32** %.pre3.pre-phi.reg2mem store i64 %12, i64* %rdi.1.reg2mem br label LBL_6 LBL_4: %26 = add i64 %sv_0.0.reload, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i32 %28, 1 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 16 %32 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %31) %33 = icmp eq i64 %32, 0 store i64 4294967284, i64* %storemerge.reg2mem br i1 %33, label LBL_10, label LBL_5 LBL_5: %34 = inttoptr i64 %sv_0.0.reload to i64* store i64 %32, i64* %34, align 8 store i32* %27, i32** %.pre3.pre-phi.reg2mem store i64 %sv_0.0.reload, i64* %rdi.1.reg2mem br label LBL_6 LBL_6: %.pre3.pre-phi.reload = load i32*, i32** %.pre3.pre-phi.reg2mem %35 = icmp eq i8* %arg3, null %.pre5 = load i32, i32* %.pre3.pre-phi.reload, align 4 store i32 %.pre5, i32* %.reg2mem br i1 %35, label LBL_8, label LBL_7 LBL_7: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %36 = sext i32 %.pre5 to i64 %37 = mul i64 %36, 16 %38 = add i64 %37, %rdi.1.reload %39 = call i64 @FUNC(i64 %0) %40 = inttoptr i64 %38 to i64* store i64 %39, i64* %40, align 8 %41 = load i32, i32* %.pre3.pre-phi.reload, align 4 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 16 %44 = ptrtoint i8* %arg3 to i64 %45 = call i64 @FUNC(i64 %44) %46 = add i64 %0, 8 %47 = add i64 %46, %43 %48 = inttoptr i64 %47 to i64* store i64 %45, i64* %48, align 8 %49 = load i32, i32* %.pre3.pre-phi.reload, align 4 %50 = add i32 %49, 1 store i32 %50, i32* %.pre3.pre-phi.reload, align 4 store i32 %50, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem %51 = icmp eq i32 %.reload, 0 %52 = icmp eq i1 %51, false store i64 0, i64* %storemerge.reg2mem br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %.pre5, { 1, 0 } uselistorder i32* %.pre3.pre-phi.reload, { 2, 3, 1, 0 } uselistorder i64 %20, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 2, 4, 1, 3 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32** %.pre3.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @av_strdup, { 1, 0 } uselistorder label LBL_10, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
evm_inode_setattr_8195
evm_inode_setattr
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 = urem i64 %1, 8 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp ne i32 %7, 0 %9 = icmp eq i32 %7, 1 %10 = icmp eq i1 %9, false %or.cond = icmp eq i1 %8, %10 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_2: %11 = mul i64 %6, 8 %12 = and i64 %11, 34359738360 %13 = add i64 %12, ptrtoint ([3 x i8*]* @gv_0 to i64) %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %5, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %5) %20 = call i64 @FUNC(i64 2, i64 %19, i64 %18, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 4294967295, i64 0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5 } uselistorder i64 8, { 2, 0, 1 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
mpegts_probe_14417
mpegts_probe
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = sext i32 %5 to i64 %7 = mul nsw i64 %6, -1600085855 %8 = udiv i64 %7, 4294967296 %9 = trunc i64 %8 to i32 %10 = add i32 %5, %9 %11 = ashr i32 %10, 7 %12 = ashr i32 %5, 31 %13 = sub nsw i32 %11, %12 %14 = icmp sgt i32 %13, 9 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %14, label LBL_1, label LBL_8 LBL_1: %15 = mul i32 %13, 188 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %2, i64 %16, i64 188, i64 0) %18 = mul i64 %17, 10 %19 = trunc i64 %18 to i32 %20 = ashr i32 %19, 31 %21 = and i64 %18, 4294967294 %22 = zext i32 %20 to i64 %23 = mul i64 %22, 4294967296 %24 = or i64 %23, %21 %25 = zext i32 %13 to i64 %26 = sdiv i64 %24, %25 %27 = trunc i64 %26 to i32 %28 = mul i32 %13, 192 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %2, i64 %29, i64 192, i64 0) %31 = mul i64 %30, 10 %32 = trunc i64 %31 to i32 %33 = ashr i32 %32, 31 %34 = and i64 %31, 4294967294 %35 = zext i32 %33 to i64 %36 = mul i64 %35, 4294967296 %37 = or i64 %36, %34 %38 = sdiv i64 %37, %25 %39 = trunc i64 %38 to i32 %40 = mul i32 %13, 204 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %41, i64 204, i64 0) %43 = mul i64 %42, 10 %44 = trunc i64 %43 to i32 %45 = ashr i32 %44, 31 %46 = and i64 %43, 4294967294 %47 = zext i32 %45 to i64 %48 = mul i64 %47, 4294967296 %49 = or i64 %48, %46 %50 = sdiv i64 %49, %25 %51 = trunc i64 %50 to i32 %52 = and i64 %50, 4294967295 %53 = and i64 %38, 4294967295 %54 = and i64 %26, 4294967295 %55 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %54, i64 %53, i64 %52, i64 %1) %56 = icmp sgt i32 %27, %51 br i1 %56, label LBL_2, label LBL_4 LBL_2: %57 = icmp sle i32 %27, %39 %58 = icmp slt i32 %27, 7 %or.cond = or i1 %58, %57 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %59 = add i64 %26, 90 store i64 %59, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_4: %60 = icmp sgt i32 %39, %27 br i1 %60, label LBL_5, label LBL_7 LBL_5: %61 = icmp sle i32 %39, %51 %62 = icmp slt i32 %39, 7 %or.cond3 = or i1 %62, %61 br i1 %or.cond3, label LBL_7, label LBL_6 LBL_6: %63 = add i64 %38, 90 store i64 %63, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_7: %64 = icmp slt i32 %51, 7 %65 = add i64 %50, 90 %spec.select = select i1 %64, i64 4294967295, i64 %65 store i64 %spec.select, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_8: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %39, { 2, 1, 0, 3 } uselistorder i32 %27, { 0, 2, 1, 3 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 90, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @analyze, { 2, 1, 0 } uselistorder i32 7, { 2, 0, 1, 3 } uselistorder i64 4294967296, { 0, 1, 2, 4, 3 } uselistorder label LBL_8, { 0, 2, 3, 1 } }
1
BinRealVul
gf_filter_pid_inst_del_6869
gf_filter_pid_inst_del
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1, i64 4198899) %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %arg1, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %arg1, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_9, label LBL_3 LBL_3: %16 = inttoptr i64 %14 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 79, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %20 = add i64 %arg1, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = load i64, i64* %13, align 8 %29 = load i64, i64* %21, align 8 %30 = add i64 %29, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %28) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %34, 0 br i1 %35, label LBL_8, label LBL_6 LBL_6: %36 = load i64, i64* %13, align 8 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_8, label LBL_7 LBL_7: %41 = load i64, i64* %13, align 8 %42 = load i64, i64* %21, align 8 %43 = add i64 %42, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i64 %41) %47 = load i64, i64* %13, align 8 %48 = call i64 @FUNC(i64 %47) br label LBL_8 LBL_8: %49 = load i64, i64* %21, align 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = call i64 @FUNC(i64 %53) br label LBL_9 LBL_9: %55 = call i64 @FUNC(i64 %arg1) ret i64 %55 uselistorder i64* %21, { 1, 0, 2, 3 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 3, 2, 6, 5, 4, 7 } }
0
BinRealVul
l2cap_sock_recvmsg_9761
l2cap_sock_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1 %3 = icmp eq i1 %2, false br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = add i64 %4, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = bitcast i64* %arg2 to i32* store i32 2, i32* %10, align 4 br label LBL_7 LBL_3: %11 = add i64 %0, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label LBL_4, label LBL_7 LBL_4: %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = and i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = inttoptr i64 %15 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 %23 = icmp eq i32 %17, 0 %or.cond = icmp eq i1 %23, %22 br i1 %or.cond, label LBL_6, label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 %0, i64 0) br label LBL_7 LBL_7: ret i64 0 uselistorder i64 %0, { 2, 1, 0, 4, 3 } uselistorder i32 2, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0, 2, 3, 4 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
avfilter_graph_send_command_15199
avfilter_graph_send_command
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.25.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %.reg2mem11 = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32* %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i32 -78, i32* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_15 LBL_1: %sext = mul i64 %arg7, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = urem i64 %arg7, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = and i64 %arg7, 2 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = and i64 %4, 4294967293 %11 = or i64 %10, 2 %12 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i32 %arg6, i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, -78 store i32 %13, i32* %rax.0.shrunk.reg2mem br i1 %14, label LBL_4, label LBL_15 LBL_4: %15 = icmp eq i32 %arg6, 0 %16 = icmp eq i64 %arg5, 0 %or.cond = or i1 %16, %15 br i1 %or.cond, label LBL_4.LBL_7_crit_edge, label LBL_6 LBL_5: %17 = trunc i64 %1 to i32 %.pre8 = bitcast i64* %rdi to i32* store i32* %.pre8, i32** %.pre-phi.reg2mem store i32 %17, i32* %.reg2mem br label LBL_7 LBL_6: %18 = inttoptr i64 %arg5 to i8* store i8 0, i8* %18, align 1 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_7 LBL_7: %.reload = load i32, i32* %.reg2mem %19 = icmp eq i32 %.reload, 0 store i32 -78, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_15, label LBL_8 LBL_8: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %20 = add i64 %arg1, 8 %21 = inttoptr i64 %20 to i64* %22 = inttoptr i64 %arg2 to i8* %23 = trunc i64 %4 to i32 %24 = zext i32 %arg6 to i64 store i64 0, i64* %.reg2mem11 store i32 0, i32* %storemerge6.reg2mem store i32 -78, i32* %sv_0.25.reg2mem br label LBL_9 LBL_9: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload12 = load i64, i64* %.reg2mem11 %25 = load i64, i64* %21, align 8 %26 = mul i64 %.reload12, 8 %27 = add i64 %25, %26 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i32 @strcmp(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_12, label LBL_10 LBL_10: %32 = inttoptr i64 %29 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i8* %35 = call i32 @strcmp(i8* %22, i8* %34) %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_12, label LBL_11 LBL_11: %sv_0.25.reload = load i32, i32* %sv_0.25.reg2mem %37 = add i64 %29, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = inttoptr i64 %41 to i8* %43 = call i32 @strcmp(i8* %22, i8* %42) %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i32 %sv_0.25.reload, i32* %sv_0.1.reg2mem br i1 %45, label LBL_14, label LBL_12 LBL_12: %46 = call i64 @FUNC(i64 %29, i64 %arg3, i64 %arg4, i64 %arg5, i64 %24, i32 %23) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, -78 store i32 -78, i32* %sv_0.1.reg2mem br i1 %48, label LBL_14, label LBL_13 LBL_13: %49 = icmp slt i32 %47, 0 %50 = icmp eq i1 %49, false %or.cond4 = icmp eq i1 %6, %50 store i32 %47, i32* %sv_0.1.reg2mem store i32 %47, i32* %rax.0.shrunk.reg2mem br i1 %or.cond4, label LBL_14, label LBL_15 LBL_14: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %51 = add i32 %storemerge6.reload, 1 %52 = load i32, i32* %.pre-phi.reload, align 8 %53 = zext i32 %52 to i64 %54 = sext i32 %51 to i64 %55 = icmp slt i64 %54, %53 store i64 %54, i64* %.reg2mem11 store i32 %51, i32* %storemerge6.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.25.reg2mem store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem br i1 %55, label LBL_9, label LBL_15 LBL_15: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %29, { 2, 0, 1 } uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %.reg2mem11, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.25.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i32 (i8*, i8*)* @strcmp, { 0, 2, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 2, { 2, 1, 0 } uselistorder i32 -78, { 2, 4, 3, 0, 5, 1 } uselistorder i64 %arg7, { 2, 1, 0 } uselistorder i32 %arg6, { 1, 2, 0 } uselistorder i64 %arg5, { 1, 3, 2, 0 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
file_check_mem_11100
file_check_mem
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.pre-phi4.reg2mem = alloca i64* %.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = icmp ult i64 %1, %0 br i1 %2, label LBL_0.LBL_7_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %0, 8 %.pre3 = inttoptr i64 %.pre to i64* %.pre5 = load i64, i64* %.pre3, align 8 store i64 %.pre5, i64* %.reg2mem store i64* %.pre3, i64** %.pre-phi4.reg2mem br label LBL_7 LBL_2: %3 = add i64 %0, 20 store i64 %3, i64* %arg1, align 8 %4 = trunc i64 %0 to i32 %5 = mul i32 %4, 12 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64* @malloc(i32 %5) store i64* %11, i64** %storemerge.in.reg2mem br label LBL_5 LBL_4: %12 = inttoptr i64 %8 to i64* %13 = call i64* @realloc(i64* %12, i32 %5) store i64* %13, i64** %storemerge.in.reg2mem br label LBL_5 LBL_5: %storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem %storemerge = ptrtoint i64* %storemerge.in.reload to i64 store i64 %storemerge, i64* %7, align 8 %14 = icmp eq i64* %storemerge.in.reload, null %15 = icmp eq i1 %14, false store i64 %storemerge, i64* %.reg2mem store i64* %7, i64** %.pre-phi4.reg2mem br i1 %15, label LBL_7, label LBL_6 LBL_6: %16 = sext i32 %5 to i64 %17 = call i64 @FUNC(i64 %0, i64 %16) unreachable LBL_7: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %.reload = load i64, i64* %.reg2mem %18 = mul nuw nsw i64 %1, 12 %19 = add i64 %.reload, %18 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = load i64, i64* %.pre-phi4.reload, align 8 %22 = add nuw nsw i64 %18, 4 %23 = add i64 %22, %21 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 %25 = load i64, i64* %.pre-phi4.reload, align 8 %26 = add nuw nsw i64 %18, 8 %27 = add i64 %26, %25 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 ret i64 0 uselistorder i64 %18, { 1, 2, 0 } uselistorder i64* %storemerge.in.reload, { 1, 0 } uselistorder i32 %5, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 } uselistorder i64** %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
SafeMulDims_19078
SafeMulDims
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %5 = load i64, i64* %4, align 8 %6 = mul i64 %.reload, 8 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %1, i64 %1, i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: store i64 0, i64* %arg2, align 8 store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %14 = add i32 %storemerge12.reload, 1 %15 = sext i32 %14 to i64 %16 = icmp ugt i64 %1, %15 store i64 %15, i64* %.reg2mem store i32 %14, i32* %storemerge12.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %16, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
decode_frame_5167
decode_frame
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.110.reg2mem = alloca i64 %sv_1.011.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %.reg2mem23 = alloca i32 %.reg2mem21 = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %.reg2mem19 = alloca i32 %.reg2mem = alloca i32 %storemerge5.in.in.reg2mem = alloca i32 %sv_2.0.in.in.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i16 %sv_0.06.reg2mem = alloca i64 %sv_4.07.reg2mem = alloca i64 %storemerge38.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg4 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = add i32 %6, 63 %8 = and i32 %7, -64 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %5, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = mul i32 %8, 4 %16 = mul i32 %15, %14 %17 = icmp ult i32 %11, %16 br i1 %17, label LBL_1, label LBL_2 LBL_1: %18 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %19 = ptrtoint i64* %arg2 to i64 %20 = call i64 @FUNC(i64 %5, i64 %19, i64 0) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = and i64 %20, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %25 = add i64 %19, 12 %26 = inttoptr i64 %25 to i32* store i32 1, i32* %26, align 4 %27 = add i64 %19, 16 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 %29 = load i32, i32* %13, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_13, label LBL_5 LBL_5: %31 = bitcast i64* %rdi to i32* %32 = add i64 %5, 8 %33 = inttoptr i64 %32 to i32* %34 = add i64 %19, 8 %35 = inttoptr i64 %34 to i32* %.pre = load i32, i32* %31, align 8 store i32 %29, i32* %.reg2mem21 store i32 %.pre, i32* %.reg2mem23 store i32 0, i32* %storemerge13.reg2mem store i64 %19, i64* %sv_1.011.reg2mem store i64 %4, i64* %sv_0.110.reg2mem br label LBL_12 LBL_6: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %sv_4.07.reload = load i64, i64* %sv_4.07.reg2mem %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %36 = inttoptr i64 %sv_0.06.reload to i32* %37 = load i32, i32* %36, align 4 %38 = zext i32 %37 to i64 %39 = call i64 @FUNC(i64 %38) %40 = trunc i64 %39 to i32 %41 = load i32, i32* %33, align 4 %42 = icmp eq i32 %41, 1 %43 = icmp eq i1 %42, false %.tr4 = trunc i64 %39 to i16 br i1 %43, label LBL_8, label LBL_7 LBL_7: %44 = mul i16 %.tr4, 64 %45 = udiv i32 %40, 16 %46 = udiv i32 %40, 16384 store i16 %44, i16* %sv_3.0.reg2mem store i32 %45, i32* %sv_2.0.in.in.reg2mem store i32 %46, i32* %storemerge5.in.in.reg2mem br label LBL_9 LBL_8: %47 = mul i16 %.tr4, 16 %48 = udiv i32 %40, 64 %49 = udiv i32 %40, 65536 store i16 %47, i16* %sv_3.0.reg2mem store i32 %48, i32* %sv_2.0.in.in.reg2mem store i32 %49, i32* %storemerge5.in.in.reg2mem br label LBL_9 LBL_9: %50 = add i64 %sv_0.06.reload, 4 %storemerge5.in.in.reload = load i32, i32* %storemerge5.in.in.reg2mem %sv_2.0.in.in.reload = load i32, i32* %sv_2.0.in.in.reg2mem %sv_3.0.reload = load i16, i16* %sv_3.0.reg2mem %sv_2.0.in = trunc i32 %sv_2.0.in.in.reload to i16 %sv_2.0 = and i16 %sv_2.0.in, -64 %storemerge5.in = trunc i32 %storemerge5.in.in.reload to i16 %storemerge5 = and i16 %storemerge5.in, -64 %51 = udiv i16 %storemerge5.in, 1024 %52 = add i64 %sv_4.07.reload, 2 %53 = or i16 %51, %storemerge5 %54 = inttoptr i64 %sv_4.07.reload to i16* store i16 %53, i16* %54, align 2 %55 = udiv i16 %sv_2.0.in, 1024 %56 = add i64 %sv_4.07.reload, 4 %57 = or i16 %55, %sv_2.0 %58 = inttoptr i64 %52 to i16* store i16 %57, i16* %58, align 2 %59 = udiv i16 %sv_3.0.reload, 1024 %60 = add i64 %sv_4.07.reload, 6 %61 = or i16 %59, %sv_3.0.reload %62 = inttoptr i64 %56 to i16* store i16 %61, i16* %62, align 2 %63 = add i32 %storemerge38.reload, 1 %64 = load i32, i32* %31, align 8 %65 = zext i32 %64 to i64 %66 = sext i32 %63 to i64 %67 = icmp slt i64 %66, %65 store i32 %63, i32* %storemerge38.reg2mem store i64 %60, i64* %sv_4.07.reg2mem store i64 %50, i64* %sv_0.06.reg2mem br i1 %67, label LBL_6, label LBL_10 LBL_10: %.pre16 = load i32, i32* %13, align 4 store i32 %.pre16, i32* %.reg2mem store i32 %64, i32* %.reg2mem19 store i64 %50, i64* %sv_0.0.lcssa.reg2mem br label LBL_11 LBL_11: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %.reload20 = load i32, i32* %.reg2mem19 %.reload = load i32, i32* %.reg2mem %68 = sub i32 %8, %.reload20 %69 = sext i32 %68 to i64 %70 = mul i64 %69, 4 %71 = add i64 %70, %sv_0.0.lcssa.reload %72 = load i32, i32* %35, align 4 %73 = sext i32 %72 to i64 %74 = add i64 %sv_1.011.reload, %73 %75 = add i32 %storemerge13.reload, 1 %76 = zext i32 %.reload to i64 %77 = sext i32 %75 to i64 %78 = icmp slt i64 %77, %76 store i32 %.reload, i32* %.reg2mem21 store i32 %.reload20, i32* %.reg2mem23 store i32 %75, i32* %storemerge13.reg2mem store i64 %74, i64* %sv_1.011.reg2mem store i64 %71, i64* %sv_0.110.reg2mem br i1 %78, label LBL_12, label LBL_13 LBL_12: %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload24 = load i32, i32* %.reg2mem23 %.reload22 = load i32, i32* %.reg2mem21 %79 = icmp eq i32 %.reload24, 0 store i32 0, i32* %storemerge38.reg2mem store i64 %sv_1.011.reload, i64* %sv_4.07.reg2mem store i64 %sv_0.110.reload, i64* %sv_0.06.reg2mem store i32 %.reload22, i32* %.reg2mem store i32 0, i32* %.reg2mem19 store i64 %sv_0.110.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %79, label LBL_11, label LBL_6 LBL_13: store i32 1, i32* %arg3, align 4 %80 = load i32, i32* %10, align 4 %81 = zext i32 %80 to i64 store i64 %81, 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 %sv_1.011.reload, { 1, 0 } uselistorder i64 %sv_0.110.reload, { 1, 0 } uselistorder i64 %sv_4.07.reload, { 3, 2, 0, 1 } uselistorder i64 %sv_0.06.reload, { 1, 0 } uselistorder i32* %31, { 1, 0 } uselistorder i32 %8, { 1, 0 } uselistorder i64 %5, { 0, 2, 1, 3 } uselistorder i32* %storemerge38.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_4.07.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.06.reg2mem, { 1, 2, 0 } uselistorder i16* %sv_3.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge5.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem19, { 1, 0, 2 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i16 -64, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
check_network_4735
check_network
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_7, label LBL_3 LBL_3: %8 = trunc i64 %arg2 to i32 %9 = bitcast i64* %sv_0 to %statfs* %10 = call i32 @fstatfs(i32 %8, %statfs* nonnull %9) %11 = sext i32 %10 to i64 %12 = icmp slt i32 %10, 0 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = load i64, i64* %sv_0, align 8 store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem switch i64 %13, label LBL_5 [ i64 4283649346, label LBL_6 i64 1937076805, label LBL_6 i64 26985, label LBL_6 i64 22092, label LBL_6 ] LBL_5: %14 = icmp eq i64 %13, 20859 %spec.select = zext i1 %14 to i32 store i32 %spec.select, i32* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i32, i32* %storemerge.reg2mem %15 = ptrtoint i32* %arg1 to i64 store i32 %storemerge.reload, i32* %arg1, align 4 store i64 %15, 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 %13, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 4, 1, 2, 3, 5 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 4, 0, 1, 2, 3 } }
0