dataset
stringclasses
1 value
file
stringlengths
7
51
fun_name
stringlengths
2
45
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
CompRealVul
batadv_tt_local_event_17458
batadv_tt_local_event
define i64 @FUNC(i64* %arg1, i32* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.012.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 24, i64 0) %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %0, 6 %4 = inttoptr i64 %3 to i8* store i8 %arg3, i8* %4, align 1 %5 = inttoptr i64 %0 to i64* %6 = bitcast i32* %arg2 to i64* %7 = call i64* @memcpy(i64* %5, i64* %6, i32 6) %8 = urem i8 %arg3, 2 %9 = icmp eq i8 %8, 0 %10 = icmp eq i1 %9, false %11 = add i64 %2, 16 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %2, 8 %14 = ptrtoint i32* %arg2 to i64 store i64 %11, i64* %.reg2mem store i64 %13, i64* %sv_0.012.reg2mem br label LBL_2 LBL_2: %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem %.reload = load i64, i64* %.reg2mem %storemerge14.in.in = inttoptr i64 %.reload to i64* %storemerge14.in = load i64, i64* %storemerge14.in.in, align 8 %15 = call i64 @FUNC(i64 %sv_0.012.reload, i64 %14) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 1 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %sv_0.012.reload, 6 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = urem i8 %21, 2 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false %25 = icmp eq i1 %9, %24 %26 = icmp ne i1 %25, true %27 = icmp eq i1 %10, %23 %28 = icmp ne i1 %27, true %or.cond5 = icmp eq i1 %28, %26 br i1 %or.cond5, label LBL_4, label LBL_5 LBL_4: %storemerge14 = add i64 %storemerge14.in, -8 %29 = icmp eq i64 %storemerge14.in, %2 %30 = icmp eq i1 %29, false store i64 %storemerge14.in, i64* %.reg2mem store i64 %storemerge14, i64* %sv_0.012.reg2mem br i1 %30, label LBL_2, label LBL_6 LBL_5: %31 = call i64 @FUNC(i64 %.reload) %32 = call i64 @FUNC(i64 %sv_0.012.reload) %33 = call i64 @FUNC(i64 %11) %34 = add i64 %2, 24 %35 = call i64 @FUNC(i64 %34) store i64 %35, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %36 = add i64 %0, 8 %37 = call i64 @FUNC(i64 %36, i64 %2) %38 = call i64 @FUNC(i64 %11) %39 = add i64 %2, 24 %40 = call i64 @FUNC(i64 %39) store i64 %40, 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 %storemerge14.in, { 0, 2, 1 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %sv_0.012.reload, { 2, 0, 1 } uselistorder i64 %11, { 1, 2, 0, 3 } uselistorder i64 %2, { 0, 3, 1, 2, 5, 4 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 8, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder i64 24, { 0, 2, 1 } uselistorder label LBL_7, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
hpet_reset_2131
hpet_reset
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 nuw nsw i64 %indvars.iv.reload, 40 %2 = add i64 %1, %0 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 28 %5 = inttoptr i64 %4 to i32* %6 = trunc i64 %indvars.iv.reload to i32 store i32 %6, i32* %5, align 4 %7 = inttoptr i64 %2 to i64* store i64 -1, i64* %7, align 8 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* store i64 17179869187, i64* %9, align 8 %10 = add i64 %2, 32 %11 = inttoptr i64 %10 to i64* store i64 %0, i64* %11, align 8 %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 %14 = add i64 %2, 24 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %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 br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %16 = add i64 %0, 320 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 328 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %20 = add i64 %0, 336 %21 = inttoptr i64 %20 to i64* store i64 429496731756306945, i64* %21, align 8 %22 = add i64 %0, 344 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %25 = zext i32 %24 to i64 %26 = icmp slt i32 %24, 1 store i64 %25, i64* %rax.0.reg2mem br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = call i64 @FUNC() store i64 %27, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
CompRealVul
do_device_add_15758
do_device_add
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64* nonnull @gv_1, i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %2) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
CompRealVul
allocate_buffers_3297
allocate_buffers
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i64 %.pre-phi5.reg2mem = alloca i64* %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp ult i32 %3, 536870912 br i1 %4, label LBL_2, label LBL_0.LBL_11_crit_edge LBL_1: %.pre = add i64 %2, 16 %.pre4 = inttoptr i64 %.pre to i64* store i64* %.pre4, i64** %.pre-phi5.reg2mem br label LBL_11 LBL_2: %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i32 %7, -2 %9 = sub i32 1, %7 %10 = and i32 %9, %7 %11 = icmp slt i32 %10, 0 %12 = icmp eq i32 %8, 0 %13 = icmp slt i32 %8, 0 %14 = icmp eq i1 %13, %11 %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 %17 = icmp ne i32 %7, 0 %18 = or i1 %17, %16 store i64 0, i64* %storemerge1.reg2mem br i1 %18, label LBL_3, label LBL_12 LBL_3: %19 = mul i32 %3, 4 %20 = add i64 %2, 24 %21 = inttoptr i64 %20 to i64* %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i32* %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* %26 = add i64 %2, 48 %27 = inttoptr i64 %26 to i32* %28 = add i64 %2, 32 %29 = inttoptr i64 %28 to i64* %30 = add i64 %2, 40 %31 = inttoptr i64 %30 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %32 = load i64, i64* %21, align 8 %33 = mul i64 %.reload, 8 %34 = add i64 %32, %33 %35 = call i64* @malloc(i32 %19) %36 = ptrtoint i64* %35 to i64 %37 = inttoptr i64 %34 to i64* store i64 %36, i64* %37, align 8 %38 = load i64, i64* %21, align 8 %39 = add i64 %38, %33 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 store i64* %25, i64** %.pre-phi5.reg2mem br i1 %42, label LBL_11, label LBL_5 LBL_5: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %43 = load i32, i32* %23, align 4 %44 = icmp slt i32 %43, 17 br i1 %44, label LBL_8, label LBL_6 LBL_6: %45 = load i64, i64* %25, align 8 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = zext i32 %47 to i64 %49 = call i64 @FUNC(i64 %48) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_8, label LBL_7 LBL_7: store i32 1, i32* %27, align 4 br label LBL_9 LBL_8: store i32 0, i32* %27, align 4 %52 = load i64, i64* %29, align 8 %53 = add i64 %52, %33 %54 = call i64* @malloc(i32 %19) %55 = ptrtoint i64* %54 to i64 %56 = inttoptr i64 %53 to i64* store i64 %55, i64* %56, align 8 %57 = load i64, i64* %29, align 8 %58 = add i64 %57, %33 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = icmp eq i64 %60, 0 store i64* %25, i64** %.pre-phi5.reg2mem br i1 %61, label LBL_11, label LBL_9 LBL_9: %62 = load i64, i64* %31, align 8 %63 = add i64 %62, %33 %64 = call i64* @malloc(i32 %19) %65 = ptrtoint i64* %64 to i64 %66 = inttoptr i64 %63 to i64* store i64 %65, i64* %66, align 8 %67 = load i64, i64* %31, align 8 %68 = add i64 %67, %33 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = icmp eq i64 %70, 0 store i64* %25, i64** %.pre-phi5.reg2mem br i1 %71, label LBL_11, label LBL_10 LBL_10: %72 = add i32 %storemerge3.reload, 1 %73 = load i32, i32* %6, align 4 %74 = add i32 %73, -2 %75 = sub i32 1, %73 %76 = and i32 %75, %73 %77 = icmp slt i32 %76, 0 %78 = icmp eq i32 %74, 0 %79 = icmp slt i32 %74, 0 %80 = icmp eq i1 %79, %77 %81 = icmp eq i1 %78, false %82 = icmp eq i1 %80, %81 %83 = zext i32 %73 to i64 %84 = select i1 %82, i64 2, i64 %83 %85 = sext i32 %72 to i64 %86 = icmp sgt i64 %84, %85 store i64 %85, i64* %.reg2mem store i32 %72, i32* %storemerge3.reg2mem store i64 0, i64* %storemerge1.reg2mem br i1 %86, label LBL_4, label LBL_12 LBL_11: %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem %87 = load i64, i64* %.pre-phi5.reload, align 8 %88 = call i64 @FUNC(i64 %87) store i64 4294967284, i64* %storemerge1.reg2mem br label LBL_12 LBL_12: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i32 %74, { 1, 0 } uselistorder i32 %73, { 2, 0, 1, 3 } uselistorder i64 %33, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %25, { 0, 1, 3, 2 } uselistorder i32 %19, { 1, 2, 0 } uselistorder i32 %7, { 1, 0, 2, 3 } uselistorder i32* %6, { 1, 0 } uselistorder i64 %2, { 2, 3, 1, 5, 4, 7, 6, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge1.reg2mem, { 0, 3, 1, 2 } uselistorder i32 -2, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder label LBL_12, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
av_opt_query_ranges_default_3860
av_opt_query_ranges_default
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg3 to i64 %1 = call i64 @FUNC(i64 16) %2 = call i64 @FUNC(i64 8) %3 = call i64 @FUNC(i64 20) %4 = and i64 %arg4, 4294967295 %5 = call i64 @FUNC(i64 %arg2, i64 %0, i64 0, i64 0, i64 %4) store i64 0, i64* %arg1, align 8 %6 = icmp eq i64 %1, 0 %7 = icmp eq i64 %3, 0 %or.cond = or i1 %6, %7 %8 = icmp eq i64 %2, 0 %or.cond6 = or i1 %8, %or.cond %or.cond6.not = icmp ne i1 %or.cond6, true %9 = icmp eq i64 %5, 0 %10 = icmp eq i1 %9, false %or.cond8 = icmp eq i1 %10, %or.cond6.not store i64 4294967284, i64* %storemerge.reg2mem br i1 %or.cond8, label LBL_1, label LBL_10 LBL_1: %11 = inttoptr i64 %5 to i32* %12 = inttoptr i64 %3 to i32* %13 = inttoptr i64 %1 to i64* store i64 %2, i64* %13, align 8 %14 = inttoptr i64 %2 to i64* store i64 %3, i64* %14, align 8 %15 = add i64 %1, 8 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 store i32 1, i32* %12, align 4 %17 = add i64 %5, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %3, 4 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 %22 = add i64 %5, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = load i32, i32* %11, align 4 %28 = icmp eq i32 %27, 8 br i1 %28, label LBL_8, label LBL_2 LBL_2: %29 = icmp sgt i32 %27, 8 store i64 4294967258, i64* %storemerge.reg2mem br i1 %29, label LBL_10, label LBL_3 LBL_3: %30 = icmp eq i32 %27, 7 br i1 %30, label LBL_7, label LBL_4 LBL_4: %31 = icmp sgt i32 %27, 5 br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = icmp slt i32 %27, 0 %33 = icmp eq i1 %32, false store i64 4294967258, i64* %storemerge.reg2mem br i1 %33, label LBL_9, label LBL_10 LBL_6: %34 = add i64 %3, 12 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %3, 16 %37 = inttoptr i64 %36 to i32* store i32 1114111, i32* %37, align 4 store i32 -1, i32* %21, align 4 store i32 2147483647, i32* %26, align 4 br label LBL_9 LBL_7: %38 = add i64 %3, 12 %39 = inttoptr i64 %38 to i32* store i32 -2147483648, i32* %39, align 4 %40 = add i64 %3, 16 %41 = inttoptr i64 %40 to i32* store i32 2147483647, i32* %41, align 4 br label LBL_9 LBL_8: %42 = add i64 %3, 12 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %3, 16 %45 = inttoptr i64 %44 to i32* store i32 2097151, i32* %45, align 4 store i32 0, i32* %21, align 4 store i32 268435455, i32* %26, align 4 br label LBL_9 LBL_9: store i64 %1, i64* %arg1, align 8 store i64 0, i64* %storemerge3.reg2mem br label LBL_11 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem %46 = call i64 @FUNC(i64 %1) %47 = call i64 @FUNC(i64 %3) %48 = call i64 @FUNC(i64 %2) store i64 %storemerge.reload, i64* %storemerge3.reg2mem br label LBL_11 LBL_11: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i32* %26, { 1, 0, 2 } uselistorder i32* %21, { 1, 0, 2 } uselistorder i64 %5, { 1, 2, 3, 0 } uselistorder i64 %3, { 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 10 } uselistorder i64 %2, { 1, 0, 3, 2 } uselistorder i64 %1, { 3, 0, 1, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @av_free, { 2, 1, 0 } uselistorder i64 4294967258, { 1, 0 } uselistorder i32 8, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 } uselistorder i64 16, { 1, 2, 3, 0 } uselistorder label LBL_10, { 2, 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 0 } }
0
CompRealVul
read_mem_2720
read_mem
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* @gv_0, align 8 store i64 %1, i64* @gv_0, align 8 %3 = add i64 %1, 16 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i32 %5, i64 %arg2, i64 %0, i64 %arg4) store i64 %2, i64* @gv_0, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
0
CompRealVul
archive_read_extract_set_skip_file_8730
archive_read_extract_set_skip_file
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 %arg2, i64* %7, align 8 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* store i64 %arg3, i64* %9, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
parse_content_length_6861
parse_content_length
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.16.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_2.011.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ult i64 %0, %arg2 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge19.reg2mem store i64 %0, i64* %storemerge.lcssa.reg2mem br i1 %2, label LBL_7, label LBL_2 LBL_1: %3 = add i64 %storemerge19.reload, 1 %4 = icmp ult i64 %3, %arg2 %5 = icmp eq i1 %4, false store i64 %3, i64* %storemerge19.reg2mem store i64 %3, i64* %storemerge.lcssa.reg2mem br i1 %5, label LBL_7, label LBL_2 LBL_2: %storemerge19.reload = load i64, i64* %storemerge19.reg2mem %6 = inttoptr i64 %storemerge19.reload to i8* %7 = load i8, i8* %6, align 1 switch i8 %7, label LBL_3 [ i8 32, label LBL_1 i8 9, label LBL_1 ] LBL_3: %8 = icmp eq i8 %7, 13 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = add i64 %storemerge19.reload, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 10 br i1 %13, label LBL_1, label LBL_5 LBL_5: %14 = icmp eq i8 %7, 10 %15 = icmp eq i1 %14, false store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem br i1 %15, label LBL_7, label LBL_6 LBL_6: %16 = add i64 %storemerge19.reload, 1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem switch i8 %18, label LBL_7 [ i8 32, label LBL_1 i8 9, label LBL_1 ] LBL_7: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %19 = icmp eq i64 %storemerge.lcssa.reload, %arg2 store i64 %arg2, i64* %sv_0.3.reg2mem br i1 %19, label LBL_24, label LBL_8 LBL_8: %20 = icmp ult i64 %storemerge.lcssa.reload, %arg2 %21 = icmp eq i1 %20, false store i32 0, i32* %sv_1.012.reg2mem store i32 0, i32* %sv_2.011.reg2mem store i64 %storemerge.lcssa.reload, i64* %sv_0.010.reg2mem store i64 %storemerge.lcssa.reload, i64* %sv_0.3.reg2mem br i1 %21, label LBL_24, label LBL_12 LBL_9: %22 = icmp slt i32 %sv_1.012.reload, 214748364 br i1 %22, label LBL_11, label LBL_10 LBL_10: %23 = sub i64 %arg2, %0 %24 = and i64 %23, 4294967295 %25 = sub i64 %sv_0.010.reload, %0 %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %27 = and i64 %25, 4294967295 %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %24, i64* %arg1) store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_11: %29 = mul i32 %sv_1.012.reload, 10 %30 = sext i8 %38 to i32 %31 = add i32 %29, -48 %32 = add i32 %31, %30 %33 = add i32 %sv_2.011.reload, 1 %34 = add i64 %sv_0.010.reload, 1 %35 = icmp ult i64 %34, %arg2 %36 = icmp eq i1 %35, false store i32 %32, i32* %sv_1.012.reg2mem store i32 %33, i32* %sv_2.011.reg2mem store i64 %34, i64* %sv_0.010.reg2mem store i64 %34, i64* %sv_0.0.lcssa.reg2mem store i32 %33, i32* %sv_2.0.lcssa.reg2mem store i32 %32, i32* %sv_1.0.lcssa.reg2mem br i1 %36, label LBL_13, label LBL_12 LBL_12: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem %37 = inttoptr i64 %sv_0.010.reload to i8* %38 = load i8, i8* %37, align 1 %.off = add i8 %38, -48 %39 = icmp ult i8 %.off, 10 store i64 %sv_0.010.reload, i64* %sv_0.0.lcssa.reg2mem store i32 %sv_2.011.reload, i32* %sv_2.0.lcssa.reg2mem store i32 %sv_1.012.reload, i32* %sv_1.0.lcssa.reg2mem br i1 %39, label LBL_9, label LBL_13 LBL_13: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %40 = icmp eq i64 %sv_0.0.lcssa.reload, %arg2 %41 = icmp eq i32 %sv_2.0.lcssa.reload, 0 %or.cond = or i1 %40, %41 store i64 %sv_0.0.lcssa.reload, i64* %sv_0.3.reg2mem br i1 %or.cond, label LBL_24, label LBL_14 LBL_14: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %42 = icmp ult i64 %sv_0.0.lcssa.reload, %arg2 %43 = icmp eq i1 %42, false store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %43, label LBL_19, label LBL_16 LBL_15: %44 = add i64 %sv_0.16.reload, 1 %45 = icmp ult i64 %44, %arg2 %46 = icmp eq i1 %45, false store i64 %44, i64* %sv_0.16.reg2mem store i64 %44, i64* %sv_0.1.lcssa.reg2mem br i1 %46, label LBL_19, label LBL_16 LBL_16: %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem %47 = inttoptr i64 %sv_0.16.reload to i8* %48 = load i8, i8* %47, align 1 switch i8 %48, label LBL_17 [ i8 32, label LBL_15 i8 9, label LBL_15 ] LBL_17: %49 = icmp eq i8 %48, 10 %50 = icmp eq i1 %49, false store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %50, label LBL_19, label LBL_18 LBL_18: %51 = add i64 %sv_0.16.reload, 1 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem switch i8 %53, label LBL_19 [ i8 32, label LBL_15 i8 9, label LBL_15 ] LBL_19: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %54 = icmp eq i64 %sv_0.1.lcssa.reload, %arg2 store i64 %arg2, i64* %sv_0.3.reg2mem br i1 %54, label LBL_24, label LBL_20 LBL_20: %55 = add i64 %sv_0.1.lcssa.reload, 1 %56 = inttoptr i64 %sv_0.1.lcssa.reload to i8* %57 = load i8, i8* %56, align 1 %58 = icmp eq i8 %57, 10 store i64 %55, i64* %sv_0.2.reg2mem br i1 %58, label LBL_23, label LBL_21 LBL_21: %59 = icmp eq i8 %57, 13 %60 = icmp eq i1 %59, false store i64 %55, i64* %sv_0.3.reg2mem br i1 %60, label LBL_24, label LBL_22 LBL_22: %61 = add i64 %sv_0.1.lcssa.reload, 2 %62 = inttoptr i64 %55 to i8* %63 = load i8, i8* %62, align 1 %64 = icmp eq i8 %63, 10 %65 = icmp eq i1 %64, false store i64 %61, i64* %sv_0.2.reg2mem store i64 %61, i64* %sv_0.3.reg2mem br i1 %65, label LBL_24, label LBL_23 LBL_23: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %66 = bitcast i64* %arg3 to i32* store i32 %sv_1.0.lcssa.reload, i32* %66, align 4 store i64 %sv_0.2.reload, i64* %rax.0.reg2mem br label LBL_25 LBL_24: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %67 = inttoptr i64 %sv_0.3.reload to i8* %68 = load i8, i8* %67, align 1 %69 = sext i8 %68 to i64 %70 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %71 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %70, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 %69, i8 %68) store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %55, { 2, 0, 1 } uselistorder i64 %sv_0.1.lcssa.reload, { 0, 3, 2, 1 } uselistorder i8 %48, { 1, 0 } uselistorder i64 %sv_0.16.reload, { 0, 3, 1, 2, 4 } uselistorder i64 %sv_0.0.lcssa.reload, { 1, 2, 4, 0, 3 } uselistorder i64 %sv_0.010.reload, { 0, 2, 3, 1 } uselistorder i64 %storemerge.lcssa.reload, { 0, 1, 3, 2 } uselistorder i8 %7, { 0, 2, 1 } uselistorder i64 %storemerge19.reload, { 0, 2, 1, 3, 4, 5 } uselistorder i64 %0, { 4, 3, 0, 1, 2 } uselistorder i64* %storemerge19.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.012.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.011.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.16.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 3, 4, 5, 1, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i8 10, { 1, 2, 3, 0, 4, 5 } uselistorder i64 1, { 1, 2, 0, 3, 5, 6, 4 } uselistorder i1 false, { 3, 4, 5, 6, 2, 7, 1, 8, 9, 10, 0 } uselistorder i64 %arg2, { 0, 5, 6, 4, 7, 8, 9, 3, 1, 10, 11, 2 } uselistorder label LBL_24, { 2, 1, 3, 4, 0, 5 } uselistorder label LBL_19, { 2, 1, 0, 3 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 0, 1, 4, 2, 3 } }
0
CompRealVul
BN_to_ASN1_INTEGER_6215
BN_to_ASN1_INTEGER
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64* %.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 %1 = icmp eq i1 %0, false store i64 %arg2, i64* %storemerge2.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC() store i64 %2, i64* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %3 = icmp eq i64 %storemerge2.reload, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_4, label LBL_3 LBL_3: %5 = call i64 @FUNC(i64 0, i64 1) br label LBL_17 LBL_4: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_7, label LBL_5 LBL_5: %10 = call i64 @FUNC(i64 %6) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = inttoptr i64 %storemerge2.reload to i32* store i32 2, i32* %14, align 4 br label LBL_8 LBL_7: %15 = inttoptr i64 %storemerge2.reload to i32* store i32 2, i32* %15, align 4 br label LBL_8 LBL_8: %16 = call i64 @FUNC(i64 %6) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 store i64 0, i64* %storemerge1.reg2mem br i1 %18, label LBL_10, label LBL_9 LBL_9: %19 = sdiv i32 %17, 128 %20 = add nsw i32 %19, 1 %21 = zext i32 %20 to i64 store i64 %21, i64* %storemerge1.reg2mem br label LBL_10 LBL_10: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %22 = add nuw nsw i64 %storemerge1.reload, 3 %23 = and i64 %22, 4294967295 %24 = add i64 %storemerge2.reload, 4 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = icmp ult i64 %23, %27 br i1 %28, label LBL_10.LBL_15_crit_edge, label LBL_12 LBL_11: %.pre = add i64 %storemerge2.reload, 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_15 LBL_12: %29 = mul i64 %storemerge1.reload, 4294967296 %sext = add i64 %29, 17179869184 %30 = ashr exact i64 %sext, 32 %31 = add i64 %storemerge2.reload, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 %30) %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_14, label LBL_13 LBL_13: %37 = call i64 @FUNC(i64 0, i64 2) br label LBL_17 LBL_14: store i64 %34, i64* %32, align 8 store i64 %34, i64* %.reg2mem store i64* %32, i64** %.pre-phi4.reg2mem br label LBL_15 LBL_15: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %.reload = load i64, i64* %.reg2mem %38 = call i64 @FUNC(i64 %6, i64 %.reload) %39 = trunc i64 %38 to i32 store i32 %39, i32* %25, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i64 %storemerge2.reload, i64* %storemerge.reg2mem br i1 %41, label LBL_19, label LBL_16 LBL_16: %42 = load i64, i64* %.pre-phi4.reload, align 8 %43 = inttoptr i64 %42 to i8* store i8 0, i8* %43, align 1 store i32 1, i32* %25, align 4 store i64 %storemerge2.reload, i64* %storemerge.reg2mem br label LBL_19 LBL_17: %44 = icmp eq i64 %storemerge2.reload, %arg2 store i64 0, i64* %storemerge.reg2mem br i1 %44, label LBL_19, label LBL_18 LBL_18: %45 = call i64 @FUNC(i64 %storemerge2.reload) store i64 0, i64* %storemerge.reg2mem br label LBL_19 LBL_19: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64 %6, { 1, 2, 0, 3 } uselistorder i64 %storemerge2.reload, { 6, 7, 1, 0, 4, 9, 5, 3, 8, 2 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 (i64, i64)* @ASN1err, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_19, { 3, 2, 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
qmp_query_named_block_nodes_300
qmp_query_named_block_nodes
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) ret i64 %1 }
0
CompRealVul
crypto_init_skcipher_ops_ablkcipher_9575
crypto_init_skcipher_ops_ablkcipher
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967285, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_4 LBL_1: %7 = call i64 @FUNC(i64 %0, i64 0, i64 0) %8 = icmp ult i64 %7, -1000 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %10 = inttoptr i64 %1 to i32* %11 = call i64 @FUNC(i64 %7) %12 = inttoptr i64 %2 to i64* store i64 %11, i64* %12, align 8 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* store i64 4198936, i64* %14, align 8 %15 = add i64 %1, 16 %16 = inttoptr i64 %15 to i64* store i64 4198838, i64* %16, align 8 %17 = add i64 %1, 24 %18 = inttoptr i64 %17 to i64* store i64 4198860, i64* %18, align 8 %19 = add i64 %1, 32 %20 = inttoptr i64 %19 to i64* store i64 4198883, i64* %20, align 8 %21 = call i64 @FUNC(i64 %11) %22 = trunc i64 %21 to i32 store i32 %22, i32* %10, align 4 %23 = call i64 @FUNC(i64 %11) %24 = trunc i64 %23 to i32 %25 = add i64 %1, 4 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = bitcast i64* %rdi to i32* %28 = load i32, i32* %27, align 8 %29 = add i64 %1, 8 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 16, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
CompRealVul
ti_do_config_9224
ti_do_config
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false %7 = zext i1 %6 to i64 %8 = add i64 %1, 1 %9 = urem i64 %8, 256 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15, i32 %3, i64 %9, i64 %7, i64 0, i64 0) ret i64 %16 }
0
CompRealVul
try_poll_mode_16900
try_poll_mode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i8 %1 = icmp eq i8 %0, 0 %2 = icmp eq i64* %arg1, null %or.cond = or i1 %2, %1 br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %3) %10 = icmp ult i64 %9, %3 %11 = icmp eq i1 %10, false store i64 %3, i64* %storemerge1.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %3) store i64 %12, i64* %storemerge1.reg2mem br label LBL_4 LBL_4: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = icmp eq i64 %storemerge1.reload, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload) %15 = trunc i64 %14 to i8 %16 = icmp eq i8 %15, 0 store i64 1, i64* %storemerge.reg2mem br i1 %16, label LBL_6, label LBL_7 LBL_6: 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 %storemerge1.reload, { 1, 0 } uselistorder i64 %3, { 2, 1, 0, 4, 3, 5 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @aio_compute_timeout, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
CompRealVul
f_libxml_disable_entity_loader_6096
f_libxml_disable_entity_loader
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i8 %1 = load i8*, i8** @gv_0, align 8 %2 = load i8, i8* %1, align 1 store i8 %0, i8* %1, align 1 %3 = zext i8 %2 to i64 ret i64 %3 }
0
CompRealVul
set_buildid_dir_10040
set_buildid_dir
define i64 @FUNC() local_unnamed_addr { LBL_0: store i8 0, i8* bitcast (i8** @gv_0 to i8*), align 8 %0 = call i64 @FUNC() %1 = load i8, i8* bitcast (i8** @gv_0 to i8*), align 8 %2 = icmp eq i8 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i8* %4, null br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 4095, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_3: %7 = call i8* @strncpy(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i32 4095) br label LBL_4 LBL_4: store i8 0, i8* inttoptr (i64 4214911 to i8*), align 1 br label LBL_5 LBL_5: %8 = call i32 @setenv(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* bitcast (i8** @gv_0 to i8*), i32 1) %9 = sext i32 %8 to i64 ret i64 %9 uselistorder i32 1, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } }
0
CompRealVul
reduce_matrix_7460
reduce_matrix
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %xmm1.3037.reg2mem = alloca i128 %storemerge38.reg2mem = alloca i32 %.reg2mem187 = alloca i64 %.reg2mem185 = alloca i32 %.reg2mem183 = alloca i32 %xmm1.2914.reg2mem = alloca i128 %.reg2mem181 = alloca i32 %xmm1.28.lcssa.reg2mem = alloca i128 %xmm1.27.reg2mem = alloca i128 %.reg2mem179 = alloca i32 %xmm1.2833.reg2mem = alloca i128 %storemerge234.reg2mem = alloca i32 %.reg2mem177 = alloca i32 %xmm1.25.reg2mem = alloca i128 %sv_0.0.reg2mem = alloca i32 %.reg2mem175 = alloca i32 %xmm1.25.ph.reg2mem = alloca i128 %sv_0.0.ph.reg2mem = alloca i32 %xmm1.23.reg2mem = alloca i128 %xmm1.2422.reg2mem = alloca i128 %storemerge323.reg2mem = alloca i32 %xmm1.20.lcssa.reg2mem = alloca i128 %.reg2mem173 = alloca i32 %sv_1.045.reg2mem = alloca i32 %xmm1.2049.reg2mem = alloca i128 %.reg2mem171 = alloca i64 %.reg2mem169 = alloca i32 %.reg2mem167 = alloca i32 %xmm1.1913.reg2mem = alloca i128 %.reg2mem165 = alloca i32 %xmm1.18.lcssa.reg2mem = alloca i128 %xmm1.1842.reg2mem = alloca i128 %storemerge443.reg2mem = alloca i32 %storemerge5.lcssa.reg2mem = alloca i32 %xmm1.16.lcssa.reg2mem = alloca i128 %.reg2mem163 = alloca i32 %.reg2mem161 = alloca i32 %xmm1.1666.reg2mem = alloca i128 %storemerge567.reg2mem = alloca i32 %.reg2mem159 = alloca i64 %.reg2mem157 = alloca i32 %.reg2mem155 = alloca i32 %xmm1.1512.reg2mem = alloca i128 %.reg2mem153 = alloca i32 %xmm1.14.lcssa124.reg2mem = alloca i128 %xmm1.13.reg2mem = alloca i128 %sv_2.0.reg2mem = alloca i32 %.reg2mem151 = alloca i32 %xmm1.11.reg2mem = alloca i128 %xmm1.1251.reg2mem = alloca i128 %storemerge752.reg2mem = alloca i32 %.reg2mem149 = alloca i32 %sv_2.160.reg2mem = alloca i32 %xmm1.1461.reg2mem = alloca i128 %storemerge662.reg2mem = alloca i32 %.reg2mem147 = alloca i32 %xmm1.6.lcssa.reg2mem = alloca i128 %.reg2mem145 = alloca i32 %.pre-phi119.reg2mem = alloca i32* %xmm1.688.reg2mem = alloca i128 %storemerge889.reg2mem = alloca i32 %.reg2mem143 = alloca i64 %.reg2mem = alloca i32 %xmm1.511.reg2mem = alloca i128 %xmm1.5.reg2mem = alloca i128 %xmm1.485.reg2mem = alloca i128 %storemerge986.reg2mem = alloca i32 %xmm1.2.reg2mem = alloca i128 %sv_3.0.reg2mem = alloca i32 %.pre-phi142.reg2mem = alloca i64 %xmm1.174.reg2mem = alloca i128 %storemerge1075.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = add i64 %3, 16 %5 = inttoptr i64 %4 to i64* %6 = call i64* @memset(i64* %5, i32 0, i32 64) %7 = add i64 %3, 80 %8 = inttoptr i64 %7 to i64* %9 = call i64* @memset(i64* %8, i32 0, i32 64) %10 = add i64 %3, 144 %11 = inttoptr i64 %10 to i64* %12 = call i64* @memset(i64* %11, i32 0, i32 64) %13 = add i64 %3, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_0.LBL_17_crit_edge, label LBL_2 LBL_1: %.pre117 = add i64 %3, 12 %.pre118 = inttoptr i64 %.pre117 to i32* store i32* %.pre118, i32** %.pre-phi119.reg2mem store i32 0, i32* %.reg2mem145 br label LBL_17 LBL_2: %17 = trunc i64 %1 to i32 %18 = bitcast i64* %rdi to i32* %19 = add i64 %3, 12 %20 = inttoptr i64 %19 to i32* store i32 %17, i32* %.reg2mem store i64 0, i64* %.reg2mem143 store i32 0, i32* %storemerge889.reg2mem br label LBL_5.preheader LBL_3: %xmm1.174.reload = load i128, i128* %xmm1.174.reg2mem %storemerge1075.reload = load i32, i32* %storemerge1075.reg2mem %21 = add i32 %storemerge1075.reload, %73 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, %2 %25 = trunc i64 %24 to i8 %26 = call i8 @llvm.ctpop.i8(i8 %25), !range !11 %27 = urem i8 %26, 2 %28 = icmp eq i8 %27, 0 %29 = inttoptr i64 %24 to i64* %30 = load i64, i64* %29, align 8 %31 = call i128 @FUNC(i64 %30) %32 = call i128 @FUNC(i128 %xmm1.174.reload, i128 %xmm1.174.reload) call void @FUNC(i128 %31, i128 %32) store i64 %74, i64* %.pre-phi142.reg2mem store i32 0, i32* %sv_3.0.reg2mem store i128 %32, i128* %xmm1.2.reg2mem br i1 %28, label LBL_6, label LBL_4 LBL_4: %33 = icmp eq i64 %24, 0 %34 = call i128 @FUNC(i128 %32, i128 %32) call void @FUNC(i128 %31, i128 %34) store i64 %74, i64* %.pre-phi142.reg2mem store i32 0, i32* %sv_3.0.reg2mem store i128 %34, i128* %xmm1.2.reg2mem br i1 %33, label LBL_5, label LBL_6 LBL_5: %35 = add i32 %storemerge1075.reload, 1 %36 = sext i32 %35 to i64 %37 = icmp slt i64 %36, %74 store i32 %35, i32* %storemerge1075.reg2mem store i128 %34, i128* %xmm1.174.reg2mem store i64 %74, i64* %.pre-phi142.reg2mem store i32 1, i32* %sv_3.0.reg2mem store i128 %34, i128* %xmm1.2.reg2mem br i1 %37, label LBL_3, label LBL_6 LBL_6: %xmm1.2.reload = load i128, i128* %xmm1.2.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %.pre-phi142.reload = load i64, i64* %.pre-phi142.reg2mem %38 = icmp slt i64 %.reload144, %.pre-phi142.reload store i128 %xmm1.2.reload, i128* %xmm1.5.reg2mem br i1 %38, label LBL_7, label LBL_11 LBL_7: %39 = load i32, i32* %14, align 4 %40 = icmp eq i32 %39, 0 store i32 0, i32* %storemerge986.reg2mem store i128 %xmm1.2.reload, i128* %xmm1.485.reg2mem store i128 %xmm1.2.reload, i128* %xmm1.5.reg2mem br i1 %40, label LBL_11, label LBL_8 LBL_8: %xmm1.485.reload = load i128, i128* %xmm1.485.reg2mem %storemerge986.reload = load i32, i32* %storemerge986.reg2mem %41 = mul i32 %storemerge986.reload, %arg3 %42 = add i32 %41, %storemerge889.reload %43 = sext i32 %42 to i64 %44 = mul i64 %43, 8 %45 = add i64 %44, %2 %46 = trunc i64 %45 to i8 %47 = call i8 @llvm.ctpop.i8(i8 %46), !range !11 %48 = urem i8 %47, 2 %49 = icmp eq i8 %48, 0 %50 = inttoptr i64 %45 to i64* %51 = load i64, i64* %50, align 8 %52 = call i128 @FUNC(i64 %51) %53 = call i128 @FUNC(i128 %xmm1.485.reload, i128 %xmm1.485.reload) call void @FUNC(i128 %52, i128 %53) store i128 %53, i128* %xmm1.511.reg2mem br i1 %49, label LBL_13, label LBL_9 LBL_9: %54 = icmp eq i64 %45, 0 %55 = call i128 @FUNC(i128 %53, i128 %53) call void @FUNC(i128 %52, i128 %55) store i128 %55, i128* %xmm1.511.reg2mem br i1 %54, label LBL_10, label LBL_13 LBL_10: %56 = add i32 %storemerge986.reload, 1 %57 = load i32, i32* %14, align 4 %58 = zext i32 %57 to i64 %59 = sext i32 %56 to i64 %60 = icmp slt i64 %59, %58 store i32 %56, i32* %storemerge986.reg2mem store i128 %55, i128* %xmm1.485.reg2mem store i128 %55, i128* %xmm1.5.reg2mem br i1 %60, label LBL_8, label LBL_11 LBL_11: %xmm1.5.reload = load i128, i128* %xmm1.5.reg2mem %61 = icmp eq i32 %sv_3.0.reload, 0 store i128 %xmm1.5.reload, i128* %xmm1.511.reg2mem br i1 %61, label LBL_13, label LBL_12 LBL_12: %62 = mul i64 %.reload144, 4 %63 = add i64 %62, %4 %64 = inttoptr i64 %63 to i32* store i32 1, i32* %64, align 4 %65 = load i32, i32* %20, align 4 %66 = add i32 %65, -1 store i32 %66, i32* %20, align 4 store i128 %xmm1.5.reload, i128* %xmm1.511.reg2mem br label LBL_13 LBL_13: %xmm1.511.reload = load i128, i128* %xmm1.511.reg2mem %67 = add i32 %storemerge889.reload, 1 %68 = load i32, i32* %14, align 4 %69 = zext i32 %68 to i64 %70 = sext i32 %67 to i64 %71 = icmp slt i64 %70, %69 store i32* %20, i32** %.pre-phi119.reg2mem store i32 %68, i32* %.reg2mem145 store i128 %xmm1.511.reload, i128* %xmm1.6.lcssa.reg2mem br i1 %71, label LBL_13.LBL_5.preheader_crit_edge, label LBL_17 LBL_14: %.pre = load i32, i32* %18, align 8 store i32 %.pre, i32* %.reg2mem store i64 %70, i64* %.reg2mem143 store i32 %67, i32* %storemerge889.reg2mem store i128 %xmm1.511.reload, i128* %xmm1.688.reg2mem br label LBL_5.preheader LBL_15: %xmm1.688.reload = load i128, i128* %xmm1.688.reg2mem %storemerge889.reload = load i32, i32* %storemerge889.reg2mem %.reload144 = load i64, i64* %.reg2mem143 %.reload = load i32, i32* %.reg2mem %72 = icmp eq i32 %.reload, 0 store i64 0, i64* %.pre-phi142.reg2mem store i32 1, i32* %sv_3.0.reg2mem store i128 %xmm1.688.reload, i128* %xmm1.2.reg2mem br i1 %72, label LBL_6, label LBL_3.preheader LBL_16: %73 = mul i32 %storemerge889.reload, %arg3 %74 = zext i32 %.reload to i64 store i32 0, i32* %storemerge1075.reg2mem store i128 %xmm1.688.reload, i128* %xmm1.174.reg2mem br label LBL_3 LBL_17: %.pre-phi119.reload = load i32*, i32** %.pre-phi119.reg2mem %75 = load i32, i32* %.pre-phi119.reload, align 4 %76 = icmp eq i32 %75, 0 %77 = icmp eq i1 %76, false br i1 %77, label LBL_18, label LBL_19 LBL_18: %xmm1.6.lcssa.reload = load i128, i128* %xmm1.6.lcssa.reg2mem %.reload146 = load i32, i32* %.reg2mem145 %78 = bitcast i64* %rdi to i32* %79 = load i32, i32* %78, align 8 %80 = sub i32 %.reload146, %79 %81 = xor i32 %79, %.reload146 %82 = xor i32 %80, %.reload146 %83 = and i32 %82, %81 %84 = icmp slt i32 %83, 0 %85 = icmp eq i32 %80, 0 %86 = icmp slt i32 %80, 0 %87 = icmp ne i1 %86, %84 %88 = or i1 %85, %87 %89 = select i1 %88, i32 %.reload146, i32 %79 %90 = icmp eq i32 %89, 0 %.pre138 = add i64 %3, 8 %.pre139 = inttoptr i64 %.pre138 to i32* store i32 %79, i32* %.reg2mem155 store i32 %.reload146, i32* %.reg2mem157 store i64 0, i64* %.reg2mem159 store i32 0, i32* %storemerge567.reg2mem store i128 %xmm1.6.lcssa.reload, i128* %xmm1.1666.reg2mem store i32 %.reload146, i32* %.reg2mem161 store i32 %79, i32* %.reg2mem163 store i128 %xmm1.6.lcssa.reload, i128* %xmm1.16.lcssa.reg2mem store i32 0, i32* %storemerge5.lcssa.reg2mem br i1 %90, label LBL_36, label LBL_34 LBL_19: %91 = add i64 %3, 8 %92 = inttoptr i64 %91 to i32* store i32 0, i32* %92, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_67 LBL_20: %sv_2.160.reload = load i32, i32* %sv_2.160.reg2mem %storemerge662.reload = load i32, i32* %storemerge662.reg2mem %.reload148 = load i32, i32* %.reg2mem147 %93 = icmp eq i32 %storemerge662.reload, %storemerge567.reload %94 = mul i32 %storemerge662.reload, %arg3 %95 = add i32 %94, %storemerge567.reload %96 = sext i32 %95 to i64 %97 = mul i64 %96, 8 %98 = add i64 %97, %2 %99 = trunc i64 %98 to i8 %100 = call i8 @llvm.ctpop.i8(i8 %99), !range !11 %101 = urem i8 %100, 2 %102 = icmp eq i8 %101, 0 %103 = inttoptr i64 %98 to i64* %104 = load i64, i64* %103, align 8 %105 = call i128 @FUNC(i64 %104) br i1 %93, label LBL_23, label LBL_21 LBL_21: %xmm1.1461.reload = load i128, i128* %xmm1.1461.reg2mem %106 = call i128 @FUNC(i128 %xmm1.1461.reload, i128 %xmm1.1461.reload) call void @FUNC(i128 %105, i128 %106) store i32 %.reload156, i32* %.reg2mem153 store i128 %106, i128* %xmm1.1512.reg2mem br i1 %102, label LBL_33, label LBL_22 LBL_22: %107 = icmp eq i64 %98, 0 %108 = call i128 @FUNC(i128 %106, i128 %106) call void @FUNC(i128 %105, i128 %108) %109 = icmp eq i1 %107, false store i32 %.reload148, i32* %.reg2mem151 store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem store i128 %108, i128* %xmm1.13.reg2mem store i32 %.reload156, i32* %.reg2mem153 store i128 %108, i128* %xmm1.1512.reg2mem br i1 %109, label LBL_33, label LBL_30 LBL_23: %110 = call i128 @FUNC(i64 4607182418800017408) call void @FUNC(i128 %105, i128 %110) store i32 %.reload156, i32* %.reg2mem153 store i128 %110, i128* %xmm1.1512.reg2mem br i1 %102, label LBL_33, label LBL_24 LBL_24: %111 = icmp eq i64 %98, 0 %112 = call i128 @FUNC(i64 4607182418800017408) call void @FUNC(i128 %105, i128 %112) store i32 %.reload156, i32* %.reg2mem153 store i128 %112, i128* %xmm1.1512.reg2mem br i1 %111, label LBL_25, label LBL_33 LBL_25: %113 = icmp eq i32 %.reload148, 0 store i32 %.reload148, i32* %.reg2mem149 store i32 0, i32* %storemerge752.reg2mem store i128 %112, i128* %xmm1.1251.reg2mem store i32 0, i32* %.reg2mem151 store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem store i128 %112, i128* %xmm1.13.reg2mem br i1 %113, label LBL_30, label LBL_26 LBL_26: %xmm1.1251.reload = load i128, i128* %xmm1.1251.reg2mem %storemerge752.reload = load i32, i32* %storemerge752.reg2mem %114 = icmp eq i32 %storemerge752.reload, %storemerge567.reload store i128 %xmm1.1251.reload, i128* %xmm1.11.reg2mem br i1 %114, label LBL_29, label LBL_27 LBL_27: %.reload150 = load i32, i32* %.reg2mem149 %115 = add i32 %storemerge752.reload, %159 %116 = sext i32 %115 to i64 %117 = mul i64 %116, 8 %118 = add i64 %117, %2 %119 = trunc i64 %118 to i8 %120 = call i8 @llvm.ctpop.i8(i8 %119), !range !11 %121 = urem i8 %120, 2 %122 = icmp eq i8 %121, 0 %123 = inttoptr i64 %118 to i64* %124 = load i64, i64* %123, align 8 %125 = call i128 @FUNC(i64 %124) %126 = call i128 @FUNC(i128 %xmm1.1251.reload, i128 %xmm1.1251.reload) call void @FUNC(i128 %125, i128 %126) store i32 %.reload150, i32* %.reg2mem151 store i32 0, i32* %sv_2.0.reg2mem store i128 %126, i128* %xmm1.13.reg2mem br i1 %122, label LBL_30, label LBL_28 LBL_28: %127 = icmp eq i64 %118, 0 %128 = call i128 @FUNC(i128 %126, i128 %126) call void @FUNC(i128 %125, i128 %128) store i128 %128, i128* %xmm1.11.reg2mem store i32 %.reload150, i32* %.reg2mem151 store i32 0, i32* %sv_2.0.reg2mem store i128 %128, i128* %xmm1.13.reg2mem br i1 %127, label LBL_29, label LBL_30 LBL_29: %xmm1.11.reload = load i128, i128* %xmm1.11.reg2mem %129 = add i32 %storemerge752.reload, 1 %130 = sext i32 %129 to i64 %131 = icmp slt i64 %130, %160 store i32 %.reload156, i32* %.reg2mem149 store i32 %129, i32* %storemerge752.reg2mem store i128 %xmm1.11.reload, i128* %xmm1.1251.reg2mem store i32 %.reload156, i32* %.reg2mem151 store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem store i128 %xmm1.11.reload, i128* %xmm1.13.reg2mem br i1 %131, label LBL_26, label LBL_30 LBL_30: %xmm1.13.reload = load i128, i128* %xmm1.13.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %.reload152 = load i32, i32* %.reg2mem151 %132 = add i32 %storemerge662.reload, 1 %133 = load i32, i32* %14, align 4 %134 = zext i32 %133 to i64 %135 = sext i32 %132 to i64 %136 = icmp slt i64 %135, %134 store i32 %.reload152, i32* %.reg2mem147 store i32 %132, i32* %storemerge662.reg2mem store i128 %xmm1.13.reload, i128* %xmm1.1461.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.160.reg2mem br i1 %136, label LBL_20, label LBL_31 LBL_31: %137 = icmp eq i32 %sv_2.0.reload, 0 store i128 %xmm1.13.reload, i128* %xmm1.14.lcssa124.reg2mem store i32 %.reload156, i32* %.reg2mem153 store i128 %xmm1.13.reload, i128* %xmm1.1512.reg2mem br i1 %137, label LBL_33, label LBL_32 LBL_32: %xmm1.14.lcssa124.reload = load i128, i128* %xmm1.14.lcssa124.reg2mem %138 = mul i64 %.reload160, 4 %139 = add i64 %138, %7 %140 = inttoptr i64 %139 to i32* store i32 1, i32* %140, align 4 %141 = load i32, i32* %.pre139, align 4 %142 = add i32 %141, -1 store i32 %142, i32* %.pre139, align 4 %.pre112 = load i32, i32* %78, align 8 store i32 %.pre112, i32* %.reg2mem153 store i128 %xmm1.14.lcssa124.reload, i128* %xmm1.1512.reg2mem br label LBL_33 LBL_33: %xmm1.1512.reload = load i128, i128* %xmm1.1512.reg2mem %.reload154 = load i32, i32* %.reg2mem153 %143 = add i32 %storemerge567.reload, 1 %144 = load i32, i32* %14, align 4 %145 = sub i32 %144, %.reload154 %146 = xor i32 %144, %.reload154 %147 = xor i32 %145, %144 %148 = and i32 %147, %146 %149 = icmp slt i32 %148, 0 %150 = icmp eq i32 %145, 0 %151 = icmp slt i32 %145, 0 %152 = icmp ne i1 %151, %149 %153 = or i1 %150, %152 %154 = select i1 %153, i32 %144, i32 %.reload154 %155 = zext i32 %154 to i64 %156 = sext i32 %143 to i64 %157 = icmp slt i64 %156, %155 store i32 %.reload154, i32* %.reg2mem155 store i32 %144, i32* %.reg2mem157 store i64 %156, i64* %.reg2mem159 store i32 %143, i32* %storemerge567.reg2mem store i128 %xmm1.1512.reload, i128* %xmm1.1666.reg2mem store i32 %144, i32* %.reg2mem161 store i32 %.reload154, i32* %.reg2mem163 store i128 %xmm1.1512.reload, i128* %xmm1.16.lcssa.reg2mem store i32 %143, i32* %storemerge5.lcssa.reg2mem br i1 %157, label LBL_34, label LBL_36 LBL_34: %xmm1.1666.reload = load i128, i128* %xmm1.1666.reg2mem %storemerge567.reload = load i32, i32* %storemerge567.reg2mem %.reload160 = load i64, i64* %.reg2mem159 %.reload158 = load i32, i32* %.reg2mem157 %158 = icmp eq i32 %.reload158, 0 store i128 %xmm1.1666.reload, i128* %xmm1.14.lcssa124.reg2mem br i1 %158, label LBL_32, label LBL_20.preheader LBL_35: %.reload156 = load i32, i32* %.reg2mem155 %159 = mul i32 %storemerge567.reload, %arg3 %160 = zext i32 %.reload156 to i64 store i32 %.reload156, i32* %.reg2mem147 store i32 0, i32* %storemerge662.reg2mem store i128 %xmm1.1666.reload, i128* %xmm1.1461.reg2mem store i32 1, i32* %sv_2.160.reg2mem br label LBL_20 LBL_36: %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem %xmm1.16.lcssa.reload = load i128, i128* %xmm1.16.lcssa.reg2mem %.reload164 = load i32, i32* %.reg2mem163 %.reload162 = load i32, i32* %.reg2mem161 %161 = zext i32 %.reload164 to i64 %162 = sext i32 %storemerge5.lcssa.reload to i64 %163 = icmp slt i64 %162, %161 store i32 %.reload164, i32* %.reg2mem167 store i32 %.reload162, i32* %.reg2mem169 store i64 %162, i64* %.reg2mem171 store i128 %xmm1.16.lcssa.reload, i128* %xmm1.2049.reg2mem store i32 %storemerge5.lcssa.reload, i32* %sv_1.045.reg2mem store i32 %.reload164, i32* %.reg2mem173 store i128 %xmm1.16.lcssa.reload, i128* %xmm1.20.lcssa.reg2mem br i1 %163, label LBL_39.preheader, label LBL_44 LBL_37: %xmm1.1842.reload = load i128, i128* %xmm1.1842.reg2mem %storemerge443.reload = load i32, i32* %storemerge443.reg2mem %164 = mul i32 %storemerge443.reload, %arg3 %165 = add i32 %164, %sv_1.045.reload %166 = sext i32 %165 to i64 %167 = mul i64 %166, 8 %168 = add i64 %167, %2 %169 = trunc i64 %168 to i8 %170 = call i8 @llvm.ctpop.i8(i8 %169), !range !11 %171 = urem i8 %170, 2 %172 = icmp eq i8 %171, 0 %173 = inttoptr i64 %168 to i64* %174 = load i64, i64* %173, align 8 %175 = call i128 @FUNC(i64 %174) %176 = call i128 @FUNC(i128 %xmm1.1842.reload, i128 %xmm1.1842.reload) call void @FUNC(i128 %175, i128 %176) store i32 %.reload168, i32* %.reg2mem165 store i128 %176, i128* %xmm1.1913.reg2mem br i1 %172, label LBL_41, label LBL_38 LBL_38: %177 = icmp eq i64 %168, 0 %178 = call i128 @FUNC(i128 %176, i128 %176) call void @FUNC(i128 %175, i128 %178) store i32 %.reload168, i32* %.reg2mem165 store i128 %178, i128* %xmm1.1913.reg2mem br i1 %177, label LBL_39, label LBL_41 LBL_39: %179 = add i32 %storemerge443.reload, 1 %180 = load i32, i32* %14, align 4 %181 = zext i32 %180 to i64 %182 = sext i32 %179 to i64 %183 = icmp slt i64 %182, %181 store i32 %179, i32* %storemerge443.reg2mem store i128 %178, i128* %xmm1.1842.reg2mem store i128 %178, i128* %xmm1.18.lcssa.reg2mem br i1 %183, label LBL_37, label LBL_40 LBL_40: %xmm1.18.lcssa.reload = load i128, i128* %xmm1.18.lcssa.reg2mem %184 = mul i64 %.reload172, 4 %185 = add i64 %184, %7 %186 = inttoptr i64 %185 to i32* store i32 1, i32* %186, align 4 %187 = load i32, i32* %.pre139, align 4 %188 = add i32 %187, -1 store i32 %188, i32* %.pre139, align 4 %.pre114 = load i32, i32* %78, align 8 store i32 %.pre114, i32* %.reg2mem165 store i128 %xmm1.18.lcssa.reload, i128* %xmm1.1913.reg2mem br label LBL_41 LBL_41: %xmm1.1913.reload = load i128, i128* %xmm1.1913.reg2mem %.reload166 = load i32, i32* %.reg2mem165 %189 = add i32 %sv_1.045.reload, 1 %190 = zext i32 %.reload166 to i64 %191 = sext i32 %189 to i64 %192 = icmp slt i64 %191, %190 store i32 %.reload166, i32* %.reg2mem173 store i128 %xmm1.1913.reload, i128* %xmm1.20.lcssa.reg2mem br i1 %192, label LBL_41.LBL_39.preheader_crit_edge, label LBL_44 LBL_42: %.pre113 = load i32, i32* %14, align 4 store i32 %.reload166, i32* %.reg2mem167 store i32 %.pre113, i32* %.reg2mem169 store i64 %191, i64* %.reg2mem171 store i128 %xmm1.1913.reload, i128* %xmm1.2049.reg2mem store i32 %189, i32* %sv_1.045.reg2mem br label LBL_39.preheader LBL_43: %sv_1.045.reload = load i32, i32* %sv_1.045.reg2mem %xmm1.2049.reload = load i128, i128* %xmm1.2049.reg2mem %.reload172 = load i64, i64* %.reg2mem171 %.reload170 = load i32, i32* %.reg2mem169 %.reload168 = load i32, i32* %.reg2mem167 %193 = icmp eq i32 %.reload170, 0 store i32 0, i32* %storemerge443.reg2mem store i128 %xmm1.2049.reload, i128* %xmm1.1842.reg2mem store i128 %xmm1.2049.reload, i128* %xmm1.18.lcssa.reg2mem br i1 %193, label LBL_40, label LBL_37 LBL_44: %194 = load i32, i32* %.pre139, align 4 %195 = icmp eq i32 %194, 0 %196 = icmp eq i1 %195, false br i1 %196, label LBL_45, label LBL_46 LBL_45: %xmm1.20.lcssa.reload = load i128, i128* %xmm1.20.lcssa.reg2mem %.reload174 = load i32, i32* %.reg2mem173 %197 = load i32, i32* %14, align 4 %198 = sub i32 %197, %.reload174 %199 = xor i32 %197, %.reload174 %200 = xor i32 %198, %197 %201 = and i32 %200, %199 %202 = icmp slt i32 %201, 0 %203 = icmp eq i32 %198, 0 %204 = icmp slt i32 %198, 0 %205 = icmp ne i1 %204, %202 %206 = or i1 %203, %205 %207 = select i1 %206, i32 %197, i32 %.reload174 %208 = icmp eq i32 %207, 0 store i32 %197, i32* %.reg2mem183 store i32 %.reload174, i32* %.reg2mem185 store i64 0, i64* %.reg2mem187 store i32 0, i32* %storemerge38.reg2mem store i128 %xmm1.20.lcssa.reload, i128* %xmm1.3037.reg2mem br i1 %208, label LBL_65, label LBL_63 LBL_46: store i32 0, i32* %.pre-phi119.reload, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_67 LBL_47: %storemerge323.reload = load i32, i32* %storemerge323.reg2mem %209 = icmp eq i32 %storemerge38.reload, %storemerge323.reload %210 = add i32 %storemerge323.reload, %274 %211 = sext i32 %210 to i64 %212 = mul i64 %211, 8 %213 = add i64 %212, %2 %214 = trunc i64 %213 to i8 %215 = call i8 @llvm.ctpop.i8(i8 %214), !range !11 %216 = urem i8 %215, 2 %217 = icmp eq i8 %216, 0 %218 = inttoptr i64 %213 to i64* %219 = load i64, i64* %218, align 8 %220 = call i128 @FUNC(i64 %219) br i1 %209, label LBL_50, label LBL_48 LBL_48: %xmm1.2422.reload = load i128, i128* %xmm1.2422.reg2mem %221 = call i128 @FUNC(i128 %xmm1.2422.reload, i128 %xmm1.2422.reload) call void @FUNC(i128 %220, i128 %221) store i32 0, i32* %sv_0.0.ph.reg2mem store i128 %221, i128* %xmm1.25.ph.reg2mem br i1 %217, label LBL_53, label LBL_49 LBL_49: %222 = icmp eq i64 %213, 0 %223 = call i128 @FUNC(i128 %221, i128 %221) call void @FUNC(i128 %220, i128 %223) %224 = icmp eq i1 %222, false store i128 %223, i128* %xmm1.23.reg2mem store i32 0, i32* %sv_0.0.ph.reg2mem store i128 %223, i128* %xmm1.25.ph.reg2mem br i1 %224, label LBL_53, label LBL_52 LBL_50: %225 = call i128 @FUNC(i64 4607182418800017408) call void @FUNC(i128 %220, i128 %225) store i32 0, i32* %sv_0.0.ph.reg2mem store i128 %225, i128* %xmm1.25.ph.reg2mem br i1 %217, label LBL_53, label LBL_51 LBL_51: %226 = icmp eq i64 %213, 0 %227 = call i128 @FUNC(i64 4607182418800017408) call void @FUNC(i128 %220, i128 %227) store i128 %227, i128* %xmm1.23.reg2mem store i32 0, i32* %sv_0.0.ph.reg2mem store i128 %227, i128* %xmm1.25.ph.reg2mem br i1 %226, label LBL_52, label LBL_53 LBL_52: %xmm1.23.reload = load i128, i128* %xmm1.23.reg2mem %228 = add i32 %storemerge323.reload, 1 %229 = sext i32 %228 to i64 %230 = icmp slt i64 %229, %275 store i32 %228, i32* %storemerge323.reg2mem store i128 %xmm1.23.reload, i128* %xmm1.2422.reg2mem store i32 1, i32* %sv_0.0.ph.reg2mem store i128 %xmm1.23.reload, i128* %xmm1.25.ph.reg2mem br i1 %230, label LBL_47, label LBL_53 LBL_53: %xmm1.25.ph.reload = load i128, i128* %xmm1.25.ph.reg2mem %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %.pre137 = load i32, i32* %14, align 4 store i32 %.pre137, i32* %.reg2mem175 store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem store i128 %xmm1.25.ph.reload, i128* %xmm1.25.reg2mem br label LBL_54 LBL_54: %xmm1.25.reload = load i128, i128* %xmm1.25.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload176 = load i32, i32* %.reg2mem175 %231 = icmp eq i32 %.reload176, 0 store i32 %.reload176, i32* %.reg2mem177 store i32 0, i32* %storemerge234.reg2mem store i128 %xmm1.25.reload, i128* %xmm1.2833.reg2mem store i128 %xmm1.25.reload, i128* %xmm1.28.lcssa.reg2mem br i1 %231, label LBL_60, label LBL_55 LBL_55: %xmm1.2833.reload = load i128, i128* %xmm1.2833.reg2mem %storemerge234.reload = load i32, i32* %storemerge234.reg2mem %.reload178 = load i32, i32* %.reg2mem177 %232 = icmp eq i32 %storemerge234.reload, %storemerge38.reload store i32 %.reload178, i32* %.reg2mem179 store i128 %xmm1.2833.reload, i128* %xmm1.27.reg2mem br i1 %232, label LBL_59, label LBL_56 LBL_56: %233 = mul i32 %storemerge234.reload, %arg3 %234 = add i32 %233, %storemerge38.reload %235 = sext i32 %234 to i64 %236 = mul i64 %235, 8 %237 = add i64 %236, %2 %238 = trunc i64 %237 to i8 %239 = call i8 @llvm.ctpop.i8(i8 %238), !range !11 %240 = urem i8 %239, 2 %241 = icmp eq i8 %240, 0 %242 = inttoptr i64 %237 to i64* %243 = load i64, i64* %242, align 8 %244 = call i128 @FUNC(i64 %243) %245 = call i128 @FUNC(i128 %xmm1.2833.reload, i128 %xmm1.2833.reload) call void @FUNC(i128 %244, i128 %245) store i32 %.reload186, i32* %.reg2mem181 store i128 %245, i128* %xmm1.2914.reg2mem br i1 %241, label LBL_62, label LBL_57 LBL_57: %246 = icmp eq i64 %237, 0 %247 = call i128 @FUNC(i128 %245, i128 %245) call void @FUNC(i128 %244, i128 %247) store i32 %.reload186, i32* %.reg2mem181 store i128 %247, i128* %xmm1.2914.reg2mem br i1 %246, label LBL_57.LBL_59_crit_edge, label LBL_62 LBL_58: %.pre115 = load i32, i32* %14, align 4 store i32 %.pre115, i32* %.reg2mem179 store i128 %247, i128* %xmm1.27.reg2mem br label LBL_59 LBL_59: %xmm1.27.reload = load i128, i128* %xmm1.27.reg2mem %.reload180 = load i32, i32* %.reg2mem179 %248 = add i32 %storemerge234.reload, 1 %249 = zext i32 %.reload180 to i64 %250 = sext i32 %248 to i64 %251 = icmp slt i64 %250, %249 store i32 %.reload180, i32* %.reg2mem177 store i32 %248, i32* %storemerge234.reg2mem store i128 %xmm1.27.reload, i128* %xmm1.2833.reg2mem store i128 %xmm1.27.reload, i128* %xmm1.28.lcssa.reg2mem br i1 %251, label LBL_55, label LBL_60 LBL_60: %xmm1.28.lcssa.reload = load i128, i128* %xmm1.28.lcssa.reg2mem %252 = icmp eq i32 %sv_0.0.reload, 0 store i32 %.reload186, i32* %.reg2mem181 store i128 %xmm1.28.lcssa.reload, i128* %xmm1.2914.reg2mem br i1 %252, label LBL_62, label LBL_61 LBL_61: %253 = mul i64 %.reload188, 4 %254 = add i64 %253, %10 %255 = inttoptr i64 %254 to i32* store i32 1, i32* %255, align 4 %256 = load i32, i32* %.pre-phi119.reload, align 4 %257 = add i32 %256, -1 store i32 %257, i32* %.pre-phi119.reload, align 4 %.pre116 = load i32, i32* %78, align 8 store i32 %.pre116, i32* %.reg2mem181 store i128 %xmm1.28.lcssa.reload, i128* %xmm1.2914.reg2mem br label LBL_62 LBL_62: %xmm1.2914.reload = load i128, i128* %xmm1.2914.reg2mem %.reload182 = load i32, i32* %.reg2mem181 %258 = add i32 %storemerge38.reload, 1 %259 = load i32, i32* %14, align 4 %260 = sub i32 %259, %.reload182 %261 = xor i32 %259, %.reload182 %262 = xor i32 %260, %259 %263 = and i32 %262, %261 %264 = icmp slt i32 %263, 0 %265 = icmp eq i32 %260, 0 %266 = icmp slt i32 %260, 0 %267 = icmp ne i1 %266, %264 %268 = or i1 %265, %267 %269 = select i1 %268, i32 %259, i32 %.reload182 %270 = zext i32 %269 to i64 %271 = sext i32 %258 to i64 %272 = icmp slt i64 %271, %270 store i32 %259, i32* %.reg2mem183 store i32 %.reload182, i32* %.reg2mem185 store i64 %271, i64* %.reg2mem187 store i32 %258, i32* %storemerge38.reg2mem store i128 %xmm1.2914.reload, i128* %xmm1.3037.reg2mem br i1 %272, label LBL_63, label LBL_65 LBL_63: %xmm1.3037.reload = load i128, i128* %xmm1.3037.reg2mem %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %.reload188 = load i64, i64* %.reg2mem187 %.reload186 = load i32, i32* %.reg2mem185 %.reload184 = load i32, i32* %.reg2mem183 %273 = icmp eq i32 %.reload186, 0 store i32 %.reload184, i32* %.reg2mem175 store i32 1, i32* %sv_0.0.reg2mem store i128 %xmm1.3037.reload, i128* %xmm1.25.reg2mem br i1 %273, label LBL_54, label LBL_47.lr.ph LBL_64: %274 = mul i32 %storemerge38.reload, %arg3 %275 = zext i32 %.reload186 to i64 store i32 0, i32* %storemerge323.reg2mem store i128 %xmm1.3037.reload, i128* %xmm1.2422.reg2mem br label LBL_47 LBL_65: %276 = load i32, i32* %.pre-phi119.reload, align 4 %277 = zext i32 %276 to i64 %278 = icmp eq i32 %276, 0 %279 = icmp eq i1 %278, false store i64 %277, i64* %rax.0.reg2mem br i1 %279, label LBL_67, label LBL_66 LBL_66: store i32 0, i32* %.pre139, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_67 LBL_67: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload186, { 0, 1, 4, 3, 2 } uselistorder i32 %storemerge38.reload, { 3, 1, 0, 4, 2 } uselistorder i32 %260, { 1, 2, 0 } uselistorder i32 %259, { 0, 3, 1, 2, 4 } uselistorder i32 %.reload182, { 0, 1, 3, 2 } uselistorder i128 %xmm1.28.lcssa.reload, { 1, 0 } uselistorder i32 %.reload180, { 1, 0 } uselistorder i128 %247, { 1, 0, 2 } uselistorder i128 %245, { 2, 1, 0, 3 } uselistorder i64 %237, { 2, 0, 1 } uselistorder i32 %storemerge234.reload, { 1, 2, 0 } uselistorder i128 %xmm1.2833.reload, { 2, 1, 0 } uselistorder i128 %221, { 2, 1, 0, 3 } uselistorder i128 %xmm1.2422.reload, { 1, 0 } uselistorder i128 %220, { 2, 3, 1, 0 } uselistorder i1 %217, { 1, 0 } uselistorder i64 %213, { 3, 0, 1, 2 } uselistorder i32 %storemerge323.reload, { 0, 2, 1 } uselistorder i32 %198, { 1, 2, 0 } uselistorder i32 %197, { 0, 3, 1, 2, 4 } uselistorder i32 %.reload174, { 0, 1, 3, 2 } uselistorder i32 %.reload168, { 1, 0 } uselistorder i128 %xmm1.2049.reload, { 1, 0 } uselistorder i32 %sv_1.045.reload, { 1, 0 } uselistorder i32 %.reload166, { 1, 0, 2 } uselistorder i128 %xmm1.1913.reload, { 1, 0 } uselistorder i128 %178, { 1, 2, 0, 3 } uselistorder i128 %176, { 2, 1, 0, 3 } uselistorder i64 %168, { 2, 0, 1 } uselistorder i128 %xmm1.1842.reload, { 1, 0 } uselistorder i32 %.reload156, { 1, 0, 8, 7, 6, 5, 2, 3, 4 } uselistorder i32 %storemerge567.reload, { 4, 1, 3, 0, 2 } uselistorder i32 %145, { 1, 2, 0 } uselistorder i32 %144, { 0, 1, 4, 2, 3, 5 } uselistorder i32 %.reload154, { 0, 1, 2, 4, 3 } uselistorder i128 %126, { 2, 1, 0, 3 } uselistorder i64 %118, { 2, 0, 1 } uselistorder i32 %storemerge752.reload, { 1, 2, 0 } uselistorder i128 %xmm1.1251.reload, { 2, 1, 0 } uselistorder i128 %112, { 1, 2, 0, 3 } uselistorder i128 %106, { 2, 1, 0, 3 } uselistorder i128 %xmm1.1461.reload, { 1, 0 } uselistorder i128 %105, { 2, 3, 1, 0 } uselistorder i1 %102, { 1, 0 } uselistorder i64 %98, { 3, 0, 1, 2 } uselistorder i32 %.reload148, { 1, 2, 0 } uselistorder i32 %storemerge662.reload, { 1, 2, 0 } uselistorder i32* %.pre139, { 0, 1, 2, 3, 5, 4 } uselistorder i32 %80, { 1, 2, 0 } uselistorder i32 %79, { 0, 1, 3, 2, 4 } uselistorder i32 %.reload146, { 0, 1, 2, 5, 4, 3 } uselistorder i32* %.pre-phi119.reload, { 1, 3, 2, 0, 4 } uselistorder i64 %74, { 2, 1, 3, 0 } uselistorder i32 %storemerge889.reload, { 1, 2, 0 } uselistorder i128 %xmm1.511.reload, { 1, 0 } uselistorder i128 %xmm1.5.reload, { 1, 0 } uselistorder i128 %55, { 1, 2, 0, 3 } uselistorder i128 %53, { 2, 1, 0, 3 } uselistorder i64 %45, { 2, 0, 1 } uselistorder i128 %xmm1.485.reload, { 1, 0 } uselistorder i128 %xmm1.2.reload, { 0, 2, 1 } uselistorder i128 %34, { 0, 2, 1, 3 } uselistorder i128 %32, { 2, 1, 0, 3 } uselistorder i64 %24, { 2, 0, 1 } uselistorder i128 %xmm1.174.reload, { 1, 0 } uselistorder i32* %14, { 3, 1, 0, 7, 2, 4, 6, 5, 11, 10, 9, 8 } uselistorder i64 %3, { 2, 1, 0, 7, 3, 5, 4, 6, 8, 9, 10 } uselistorder i64* %rdi, { 1, 0 } uselistorder i32* %storemerge1075.reg2mem, { 1, 2, 0 } uselistorder i128* %xmm1.174.reg2mem, { 1, 2, 0 } uselistorder i64* %.pre-phi142.reg2mem, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2, 3, 4 } uselistorder i128* %xmm1.2.reg2mem, { 1, 0, 2, 3, 4 } uselistorder i32* %storemerge986.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.485.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.511.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %.reg2mem147, { 1, 2, 0 } uselistorder i32* %storemerge662.reg2mem, { 1, 2, 0 } uselistorder i128* %xmm1.1461.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_2.160.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem149, { 2, 0, 1 } uselistorder i32* %storemerge752.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.1251.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.14.lcssa124.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem153, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i128* %xmm1.1512.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i32* %.reg2mem155, { 0, 2, 1 } uselistorder i32* %.reg2mem157, { 0, 2, 1 } uselistorder i64* %.reg2mem159, { 0, 2, 1 } uselistorder i32* %storemerge567.reg2mem, { 0, 2, 1 } uselistorder i128* %xmm1.1666.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem161, { 0, 2, 1 } uselistorder i32* %.reg2mem163, { 0, 2, 1 } uselistorder i128* %xmm1.16.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge443.reg2mem, { 1, 2, 0 } uselistorder i128* %xmm1.1842.reg2mem, { 1, 2, 0 } uselistorder i128* %xmm1.18.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem165, { 0, 3, 2, 1 } uselistorder i128* %xmm1.1913.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem167, { 0, 2, 1 } uselistorder i32* %.reg2mem169, { 0, 2, 1 } uselistorder i64* %.reg2mem171, { 0, 2, 1 } uselistorder i128* %xmm1.2049.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.045.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge323.reg2mem, { 2, 1, 0 } uselistorder i128* %xmm1.2422.reg2mem, { 2, 1, 0 } uselistorder i128* %xmm1.23.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i128* %xmm1.25.ph.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %.reg2mem175, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.25.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem177, { 2, 0, 1 } uselistorder i32* %storemerge234.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm1.2833.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem181, { 0, 4, 3, 2, 1 } uselistorder i128* %xmm1.2914.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* %.reg2mem183, { 0, 2, 1 } uselistorder i32* %.reg2mem185, { 0, 2, 1 } uselistorder i64* %.reg2mem187, { 0, 2, 1 } uselistorder i32* %storemerge38.reg2mem, { 0, 2, 1 } uselistorder i128* %xmm1.3037.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i32 -1, { 3, 2, 1, 0 } uselistorder i64 8, { 0, 1, 2, 3, 4, 8, 7, 5, 6 } uselistorder i64 12, { 1, 0 } uselistorder i32 0, { 41, 42, 6, 27, 43, 44, 45, 40, 1, 26, 5, 4, 3, 2, 46, 0, 28, 34, 35, 36, 47, 7, 25, 14, 24, 49, 50, 51, 48, 10, 11, 12, 13, 23, 53, 8, 9, 29, 31, 32, 33, 54, 20, 22, 52, 17, 21, 18, 19, 16, 15, 30, 37, 38, 39 } uselistorder i32 %arg3, { 1, 0, 2, 3, 4, 6, 5 } uselistorder label LBL_63, { 1, 0 } uselistorder label LBL_62, { 2, 3, 1, 0 } uselistorder label LBL_55, { 1, 0 } uselistorder label LBL_54, { 1, 0 } uselistorder label LBL_53, { 4, 3, 2, 1, 0 } uselistorder label LBL_52, { 1, 0 } uselistorder label LBL_39.preheader, { 1, 0 } uselistorder label LBL_41, { 2, 1, 0 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_33, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_13, { 2, 3, 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
cryptd_blkcipher_encrypt_8720
cryptd_blkcipher_encrypt
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = call i64 @FUNC(i64 %0) %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 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i64 %8, i64 %4, i32 %1, i64 %7) ret i64 %9 }
0
CompRealVul
inject_undef32_exception_6243
inject_undef32_exception
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 = and i32 %3, 32 %5 = icmp eq i32 %4, 0 %. = select i1 %5, i32 4, i32 2 %6 = load i64, i64* @gv_0, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %2, i64 31) %15 = add i64 %2, 4 %16 = inttoptr i64 %15 to i32* store i32 %3, i32* %16, align 4 %17 = add i64 %2, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i32 %19, %. %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = call i64 @FUNC(i64 0) %24 = trunc i64 %23 to i32 store i32 %24, i32* %18, align 4 ret i64 %23 uselistorder i64 %23, { 1, 0 } uselistorder i32 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } }
0
CompRealVul
r_cons_hud_path_17856
r_cons_hud_path
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge2.in.reg2mem = alloca i8* %sv_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 store i64 %arg1, i64* %sv_2.0.reg2mem br label LBL_1 LBL_1: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %5 = inttoptr i64 %sv_2.0.reload to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 32 %8 = add i64 %sv_2.0.reload, 1 store i64 %8, i64* %sv_2.0.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %9 = icmp ne i64 %sv_2.0.reload, 0 %10 = icmp eq i8 %6, 0 %11 = icmp eq i1 %10, false %or.cond = icmp eq i1 %9, %11 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %12 = call i8* @strdup(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) store i8* %12, i8** %storemerge2.in.reg2mem br label LBL_5 LBL_4: %13 = call i8* @strdup(i8* %5) store i8* %13, i8** %storemerge2.in.reg2mem br label LBL_5 LBL_5: %storemerge2.in.reload = load i8*, i8** %storemerge2.in.reg2mem %storemerge2 = ptrtoint i8* %storemerge2.in.reload to i64 %14 = call i64 @FUNC(i64 %storemerge2) %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_9, label LBL_6 LBL_6: %16 = call i64 @FUNC(i64 %14, i64 %storemerge2) %17 = icmp eq i64 %16, 0 store i64 %storemerge2, i64* %sv_0.04.reg2mem br i1 %17, label LBL_11, label LBL_7 LBL_7: %18 = call i64 @FUNC(i64 %storemerge2, i64* nonnull @gv_1) %19 = inttoptr i64 %16 to i64* %20 = call i64 @FUNC(i64 %18, i64* %19) %21 = call i64 @FUNC(i64 %20) %22 = inttoptr i64 %20 to i64* call void @free(i64* %22) %23 = call i64 @FUNC(i64 %21) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 %21, i64* %sv_1.0.reg2mem br i1 %25, label LBL_10, label LBL_8 LBL_8: %26 = and i64 %arg2, 4294967295 %27 = call i64 @FUNC(i64 %21, i64 %26) %28 = inttoptr i64 %21 to i64* call void @free(i64* %28) store i64 %27, i64* %sv_1.0.reg2mem br label LBL_10 LBL_9: %29 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1) store i64 %storemerge2, i64* %sv_0.04.reg2mem br label LBL_11 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %30 = icmp eq i64 %sv_1.0.reload, 0 %31 = icmp eq i1 %30, false store i64 %sv_1.0.reload, i64* %sv_0.04.reg2mem store i64 %sv_1.0.reload, i64* %storemerge.reg2mem br i1 %31, label LBL_12, label LBL_11 LBL_11: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %32 = inttoptr i64 %sv_0.04.reload to i64* call void @free(i64* %32) store i64 0, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %21, { 2, 1, 0, 3 } uselistorder i64 %storemerge2, { 1, 2, 0, 3, 4 } uselistorder i64 %sv_2.0.reload, { 2, 0, 1 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i8** %storemerge2.in.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.04.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64*)* @r_str_concat, { 1, 0 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 0, 2, 1 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 8, 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } }
1
CompRealVul
lookup_loc_range_7869
lookup_loc_range
define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge15.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem23 = alloca i32 %sv_0.0.reg2mem = alloca i8* %.reg2mem = alloca i8* %indvars.iv18.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.117.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i8*, align 8 store i8* %arg1, i8** %sv_4, align 8 store i32 0, i32* %sv_3, align 4 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC(i64 %0) %2 = mul i64 %1, 8589934592 %3 = ashr exact i64 %2, 32 %4 = call i64 @FUNC(i64 %3, i64 8) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i32 0, i32* %sv_1.117.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_8 LBL_1: %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem %9 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, -1 store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem br i1 %11, label LBL_7, label LBL_2 LBL_2: %12 = load i64, i64* %sv_2, align 8 %13 = call i64 @FUNC(i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 1 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 0) %17 = call i64 @FUNC(i64 0) br label LBL_4 LBL_4: %18 = load i64, i64* %sv_2, align 8 %19 = call i64 @FUNC(i64 %18) %20 = load i64, i64* %sv_2, align 8 %21 = call i64 @FUNC(i64 %20) %22 = mul i32 %sv_1.117.reload, 2 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 8 %25 = add i64 %24, %4 %26 = call i64 @FUNC(i64 %21, i64 %19) %27 = inttoptr i64 %25 to i64* store i64 %26, i64* %27, align 8 %28 = load i64, i64* %sv_2, align 8 %29 = call i64 @FUNC(i64 %28) %30 = call i64 @FUNC(i64 %29, i64 %26) %31 = trunc i64 %30 to i32 store i32 %31, i32* %sv_3, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_6, label LBL_5 LBL_5: %34 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 0) %35 = call i64 @FUNC(i64 0) br label LBL_6 LBL_6: %36 = load i64, i64* %sv_2, align 8 %37 = or i32 %22, 1 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = add i64 %39, %4 %41 = call i64 @FUNC(i64 %36) %42 = inttoptr i64 %40 to i64* store i64 %41, i64* %42, align 8 %43 = add i32 %sv_1.117.reload, 1 store i32 %43, i32* %sv_1.0.reg2mem br label LBL_7 LBL_7: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %44 = call i64 @FUNC(i64 %0) %45 = call i64 @FUNC(i64 %0) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i32 %sv_1.0.reload, i32* %sv_1.117.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %47, label LBL_1, label LBL_8 LBL_8: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %48 = trunc i64 %arg3 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_8.LBL_27_crit_edge, label LBL_10 LBL_9: %.pre22 = load i8*, i8** %sv_4, align 8 store i8* %.pre22, i8** %.reg2mem store i8* null, i8** %sv_0.0.reg2mem br label LBL_27 LBL_10: %50 = icmp sgt i32 %sv_1.1.lcssa.reload, 0 br i1 %50, label LBL_11, label LBL_20 LBL_11: %wide.trip.count20 = zext i32 %sv_1.1.lcssa.reload to i64 store i64 0, i64* %indvars.iv18.reg2mem br label LBL_12 LBL_12: %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %indvars.iv18.tr = trunc i64 %indvars.iv18.reload to i32 %51 = mul i32 %indvars.iv18.tr, 2 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 8 %54 = add i64 %53, %4 %55 = inttoptr i64 %54 to i64* %56 = load i64, i64* %55, align 8 %57 = call i64 @FUNC(i64 %56, i64 1, i32* nonnull %sv_3, i64 0) %58 = inttoptr i64 %57 to i8* %59 = load i32, i32* %sv_3, align 4 %60 = icmp eq i32 %59, 1 %61 = icmp eq i1 %60, false %62 = icmp eq i64 %57, 0 %or.cond = or i1 %62, %61 br i1 %or.cond, label LBL_14, label LBL_13 LBL_13: %63 = load i8, i8* %58, align 1 %64 = icmp eq i8 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_17, label LBL_14 LBL_14: br i1 %62, label LBL_16, label LBL_15 LBL_15: %66 = call i64 @FUNC(i64 %57) br label LBL_16 LBL_16: %67 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 0) %68 = call i64 @FUNC(i64 0) br label LBL_17 LBL_17: %69 = call i32 @strlen(i8* %58) %70 = sext i32 %69 to i64 %71 = add nsw i64 %70, 1 %72 = load i64, i64* %55, align 8 %73 = call i64 @FUNC(i64 %72, i64 %71) store i64 %73, i64* %55, align 8 %74 = call i64 @FUNC(i64 %57, i64 %73) %75 = trunc i64 %74 to i32 store i32 %75, i32* %sv_3, align 4 %76 = call i64 @FUNC(i64 %57) %77 = load i32, i32* %sv_3, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_19, label LBL_18 LBL_18: %80 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 0) %81 = call i64 @FUNC(i64 0) br label LBL_19 LBL_19: %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1 %exitcond21 = icmp eq i64 %indvars.iv.next19, %wide.trip.count20 store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem br i1 %exitcond21, label LBL_20, label LBL_12 LBL_20: %82 = load i8*, i8** %sv_4, align 8 %83 = ptrtoint i8* %82 to i64 %84 = call i64 @FUNC(i64 %83, i64 1, i32* nonnull %sv_3, i64 0) %85 = inttoptr i64 %84 to i8* %86 = load i32, i32* %sv_3, align 4 %87 = icmp eq i32 %86, 1 %88 = icmp eq i1 %87, false %89 = icmp eq i64 %84, 0 %or.cond12 = or i1 %89, %88 br i1 %or.cond12, label LBL_23, label LBL_21 LBL_21: %90 = load i8, i8* %85, align 1 %91 = icmp eq i8 %90, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_26, label LBL_22 LBL_22: %93 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 0) br label LBL_24 LBL_23: %94 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 0) br i1 %89, label LBL_25, label LBL_24 LBL_24: %95 = call i64 @FUNC(i64 %84) br label LBL_25 LBL_25: %96 = call i64 @FUNC(i64 0) store i8* %82, i8** %.reg2mem store i8* %85, i8** %sv_0.0.reg2mem br label LBL_27 LBL_26: %97 = bitcast i8** %sv_4 to i64* store i64 %84, i64* %97, align 8 store i8* %85, i8** %.reg2mem store i8* %85, i8** %sv_0.0.reg2mem br label LBL_27 LBL_27: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload = load i8*, i8** %.reg2mem %98 = call i32 @strlen(i8* %.reload) %99 = sext i32 %98 to i64 %100 = add nsw i64 %99, 1 %101 = call i64 @FUNC(i64 1, i64 %100) %102 = ptrtoint i8* %.reload to i64 %103 = call i64 @FUNC(i64 %102, i64 %101) %104 = trunc i64 %103 to i32 store i32 %104, i32* %sv_3, align 4 %105 = icmp eq i8* %sv_0.0.reload, null store i32 %104, i32* %.reg2mem23 br i1 %105, label LBL_29, label LBL_28 LBL_28: %106 = ptrtoint i8* %sv_0.0.reload to i64 %107 = call i64 @FUNC(i64 %106) %.pre = load i32, i32* %sv_3, align 4 store i32 %.pre, i32* %.reg2mem23 br label LBL_29 LBL_29: %.reload24 = load i32, i32* %.reg2mem23 %108 = icmp eq i32 %.reload24, 0 %109 = icmp eq i1 %108, false br i1 %109, label LBL_31, label LBL_30 LBL_30: %110 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 0) %111 = call i64 @FUNC(i64 0) br label LBL_31 LBL_31: %112 = inttoptr i64 %101 to i8* %113 = call i32 @strlen(i8* %112) %114 = icmp eq i32 %113, 0 %115 = icmp slt i32 %113, 0 %116 = icmp eq i1 %115, false %117 = icmp eq i1 %114, false %118 = icmp eq i1 %116, %117 br i1 %118, label LBL_32, label LBL_40 LBL_32: %119 = icmp sgt i32 %sv_1.1.lcssa.reload, 0 %120 = zext i1 %49 to i32 %wide.trip.count = zext i32 %sv_1.1.lcssa.reload to i64 store i32 %113, i32* %storemerge15.reg2mem br label LBL_39 LBL_33: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32 %121 = mul i32 %indvars.iv.tr, 2 %122 = sext i32 %121 to i64 %123 = mul i64 %122, 8 %124 = add i64 %123, %4 %125 = inttoptr i64 %124 to i64* %126 = load i64, i64* %125, align 8 %127 = icmp eq i64 %126, 0 br i1 %127, label LBL_37, label LBL_34 LBL_34: %128 = inttoptr i64 %126 to i8* %129 = call i32 @strlen(i8* %128) %130 = icmp eq i32 %129, %storemerge15.reload %131 = icmp eq i1 %130, false br i1 %131, label LBL_37, label LBL_35 LBL_35: %132 = load i64, i64* %125, align 8 %133 = inttoptr i64 %132 to i8* %134 = call i32 @strncmp(i8* %112, i8* %133, i32 %storemerge15.reload) %135 = icmp eq i32 %134, 0 %136 = icmp eq i1 %135, false br i1 %136, label LBL_37, label LBL_36 LBL_36: %.pn.in.in = or i32 %121, %120 %.pn.in = sext i32 %.pn.in.in to i64 %.pn = mul i64 %.pn.in, 8 %storemerge8.in.in = add i64 %.pn, %4 %storemerge8.in = inttoptr i64 %storemerge8.in.in to i64* %storemerge8 = load i64, i64* %storemerge8.in, align 8 %137 = call i64 @FUNC(i64 %storemerge8) %138 = call i64 @FUNC(i64 %101) %139 = call i64 @FUNC(i64 %137) br label LBL_37 LBL_37: %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_38, label LBL_33 LBL_38: %140 = zext i32 %storemerge15.reload to i64 %141 = call i64 @FUNC(i64 %101, i64 %140) %142 = trunc i64 %141 to i32 %143 = icmp eq i32 %142, 0 %144 = icmp slt i32 %142, 0 %145 = icmp eq i1 %144, false %146 = icmp eq i1 %143, false %147 = icmp eq i1 %145, %146 store i32 %142, i32* %storemerge15.reg2mem br i1 %147, label LBL_39, label LBL_40 LBL_39: %storemerge15.reload = load i32, i32* %storemerge15.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %119, label LBL_33, label LBL_38 LBL_40: %148 = call i64 @FUNC(i64 %101) %149 = call i64 @FUNC(i64 0) ret i64 %149 uselistorder i32 %storemerge15.reload, { 1, 2, 0 } uselistorder i32 %121, { 1, 0 } uselistorder i64 %101, { 2, 1, 0, 3, 4 } uselistorder i8* %85, { 0, 2, 1, 3 } uselistorder i1 %62, { 1, 0 } uselistorder i64* %55, { 1, 0, 2 } uselistorder i32 %sv_1.1.lcssa.reload, { 2, 1, 3, 0 } uselistorder i32 %22, { 1, 0 } uselistorder i32 %sv_1.117.reload, { 1, 2, 0 } uselistorder i8** %sv_4, { 1, 3, 0, 2 } uselistorder i32* %sv_3, { 0, 3, 4, 1, 5, 6, 7, 2, 8, 9 } uselistorder i64* %sv_2, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 %0, { 3, 1, 2, 0, 4, 5 } uselistorder i32* %sv_1.117.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv18.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem23, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i64 (i64)* @estrdup, { 1, 0 } uselistorder i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), { 1, 0 } uselistorder i32 (i8*)* @strlen, { 5, 4, 3, 2, 1, 0 } uselistorder i8 0, { 2, 1, 3, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), { 3, 1, 2, 0 } uselistorder i1 false, { 5, 2, 3, 4, 0, 1, 6, 10, 11, 7, 8, 9, 12 } uselistorder i64 (i64, i64)* @strToMatch, { 2, 1, 0 } uselistorder i64 (i64, i64)* @estrndup, { 1, 0 } uselistorder i64 (i64)* @Z_STRVAL_PP, { 3, 2, 1, 0 } uselistorder i64 (i64)* @LOOKUP_CLEAN_RETURN, { 6, 7, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @intl_error_set, { 6, 3, 0, 5, 4, 2, 1 } uselistorder i64 (i64)* @zend_hash_has_more_elements, { 1, 0 } uselistorder i64 (i64, i64)* @ecalloc, { 1, 0 } uselistorder i32 0, { 9, 10, 8, 2, 5, 6, 11, 12, 3, 14, 15, 13, 0, 1, 4, 7 } uselistorder label LBL_39, { 1, 0 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_27, { 1, 2, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
vnc_display_local_addr_3172
vnc_display_local_addr
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = inttoptr i64 %0 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %4) ret i64 %5 }
0
CompRealVul
reg_match_visual_19203
reg_match_visual
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %storemerge7.in.in.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i32* %.reg2mem21 = alloca i32 %.reg2mem19 = alloca i32 %storemerge8.in.in.in.reg2mem = alloca i64 %.reg2mem17 = alloca i32 %storemerge.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %3 = load i64, i64* @gv_0, align 8 %4 = load i64, i64* @gv_1, align 8 %5 = icmp eq i64 %3, %4 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_23, label LBL_1 LBL_1: %7 = load i32, i32* @gv_2, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_23 LBL_2: %10 = load i64, i64* @gv_3, align 8 %11 = icmp eq i64 %10, 0 %global_var_404090.val = load i64, i64* @gv_4, align 8 %storemerge9 = select i1 %11, i64 %global_var_404090.val, i64 %10 %12 = load i8, i8* @gv_5, align 1 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_7, label LBL_3 LBL_3: %14 = inttoptr i64 %storemerge9 to i64* %15 = load i64, i64* %14, align 8 %16 = sext i32 %7 to i64 %17 = call i64 @FUNC(i64 %16, i64 %15) %18 = trunc i64 %17 to i8 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = load i32, i32* @gv_2, align 4 store i32 %20, i32* %sv_6, align 4 %21 = load i64, i64* %14, align 8 %22 = trunc i64 %21 to i32 store i32 %20, i32* %.reg2mem store i32 %22, i32* %storemerge.reg2mem br label LBL_6 LBL_5: %23 = load i64, i64* %14, align 8 %24 = trunc i64 %23 to i32 store i32 %24, i32* %sv_6, align 4 %25 = load i32, i32* @gv_2, align 4 store i32 %24, i32* %.reg2mem store i32 %25, i32* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i32, i32* %storemerge.reg2mem %.reload = load i32, i32* %.reg2mem store i32 %storemerge.reload, i32* %sv_5, align 4 %26 = add i64 %storemerge9, 8 store i32 %storemerge.reload, i32* %.reg2mem19 store i32 %.reload, i32* %.reg2mem21 store i32* @gv_6, i32** %sv_0.0.in.reg2mem store i64 %26, i64* %storemerge7.in.in.reg2mem br label LBL_11 LBL_7: %27 = add i64 %4, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %4 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %29) %33 = trunc i64 %32 to i8 %34 = icmp eq i8 %33, 0 %35 = load i64, i64* @gv_1, align 8 br i1 %34, label LBL_9, label LBL_8 LBL_8: %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_6, align 4 %39 = add i64 %35, 8 store i32 %38, i32* %.reg2mem17 store i64 %39, i64* %storemerge8.in.in.in.reg2mem br label LBL_10 LBL_9: %40 = add i64 %35, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = trunc i64 %42 to i32 store i32 %43, i32* %sv_6, align 4 store i32 %43, i32* %.reg2mem17 store i64 %35, i64* %storemerge8.in.in.in.reg2mem br label LBL_10 LBL_10: %storemerge8.in.in.in.reload = load i64, i64* %storemerge8.in.in.in.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %storemerge8.in.in = inttoptr i64 %storemerge8.in.in.in.reload to i64* %storemerge8.in = load i64, i64* %storemerge8.in.in, align 8 %storemerge8 = trunc i64 %storemerge8.in to i32 store i32 %storemerge8, i32* %sv_5, align 4 %44 = add i64 %35, 16 %45 = inttoptr i64 %44 to i32* %46 = add i64 %35, 20 store i32 %storemerge8, i32* %.reg2mem19 store i32 %.reload18, i32* %.reg2mem21 store i32* %45, i32** %sv_0.0.in.reg2mem store i64 %46, i64* %storemerge7.in.in.reg2mem br label LBL_11 LBL_11: %storemerge7.in.in.reload = load i64, i64* %storemerge7.in.in.reg2mem %.reload22 = load i32, i32* %.reg2mem21 %.reload20 = load i32, i32* %.reg2mem19 %storemerge7.in = inttoptr i64 %storemerge7.in.in.reload to i32* %storemerge7 = load i32, i32* %storemerge7.in, align 4 %47 = load i32, i32* @gv_7, align 4 %48 = load i32, i32* @gv_8, align 4 %49 = add i32 %48, %47 %50 = zext i32 %.reload22 to i64 %51 = sext i32 %49 to i64 %52 = icmp slt i64 %51, %50 %53 = zext i32 %.reload20 to i64 %54 = icmp sgt i64 %51, %53 %or.cond = or i1 %52, %54 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_23, label LBL_12 LBL_12: %sv_0.0.in.reload = load i32*, i32** %sv_0.0.in.reg2mem %sv_0.0 = load i32, i32* %sv_0.0.in.reload, align 4 %55 = icmp eq i32 %sv_0.0, 118 %56 = icmp eq i1 %55, false br i1 %56, label LBL_17, label LBL_13 LBL_13: %57 = load i64, i64* @gv_9, align 8 %58 = load i64, i64* @gv_10, align 8 %59 = sub i64 %57, %58 %60 = icmp eq i32 %49, %.reload22 %61 = icmp eq i1 %60, false br i1 %61, label LBL_15, label LBL_14 LBL_14: %62 = zext i32 %2 to i64 %sext11 = mul i64 %59, 4294967296 %63 = ashr exact i64 %sext11, 32 %64 = icmp slt i64 %63, %62 store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_23, label LBL_15 LBL_15: %65 = icmp eq i32 %49, %.reload20 %66 = icmp eq i1 %65, false br i1 %66, label LBL_22, label LBL_16 LBL_16: %67 = load i8*, i8** @gv_11, align 8 %68 = load i8, i8* %67, align 1 %69 = icmp eq i8 %68, 101 %70 = icmp eq i1 %69, false %71 = zext i1 %70 to i32 %72 = add i32 %1, %71 %73 = zext i32 %72 to i64 %sext12 = mul i64 %59, 4294967296 %74 = ashr exact i64 %sext12, 32 %75 = icmp slt i64 %74, %73 store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_22, label LBL_23 LBL_17: %76 = load i32, i32* @gv_12, align 4 %77 = icmp eq i32 %sv_0.0, %76 %78 = icmp eq i1 %77, false br i1 %78, label LBL_22, label LBL_18 LBL_18: %79 = bitcast i32* %sv_6 to i64* %80 = bitcast i32* %sv_3 to i64* %81 = bitcast i32* %sv_4 to i64* %82 = call i64 @FUNC(i64 %storemerge9, i64* nonnull %79, i64* nonnull %80, i64 0, i64* nonnull %81) %83 = bitcast i32* %sv_5 to i64* %84 = bitcast i32* %sv_1 to i64* %85 = bitcast i32* %sv_2 to i64* %86 = call i64 @FUNC(i64 %storemerge9, i64* nonnull %83, i64* nonnull %84, i64 0, i64* nonnull %85) %87 = load i32, i32* %sv_1, align 4 %88 = load i32, i32* %sv_3, align 4 %89 = icmp ult i32 %87, %88 br i1 %89, label LBL_19, label LBL_20 LBL_19: store i32 %87, i32* %sv_3, align 4 br label LBL_20 LBL_20: %90 = load i32, i32* %sv_2, align 4 %91 = load i32, i32* %sv_4, align 4 %92 = icmp ugt i32 %90, %91 %93 = icmp ne i32 %2, 1000 %94 = icmp ne i32 %1, 1000 %or.cond.not = icmp eq i1 %94, %93 %95 = icmp eq i32 %storemerge7, 1000 %96 = icmp eq i1 %95, false %or.cond15 = icmp eq i1 %or.cond.not, %96 %97 = icmp ne i1 %or.cond15, true %98 = or i1 %92, %97 br i1 %98, label %99, label %100 LBL_21: %110 = load i32, i32* %sv_4, align 4 %111 = load i8*, i8** @gv_11, align 8 %112 = load i8, i8* %111, align 1 %113 = icmp eq i8 %112, 101 %114 = zext i1 %113 to i32 %115 = sub i32 %110, %114 %116 = zext i32 %115 to i64 %117 = icmp sgt i64 %108, %116 store i64 0, i64* %rax.0.reg2mem br i1 %117, label LBL_23, label LBL_22 LBL_22: store i64 1, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %or.cond15, { 1, 0 } uselistorder i64 %35, { 2, 1, 0, 5, 4, 3 } uselistorder i64* %14, { 1, 0, 2 } uselistorder i64 %storemerge9, { 3, 1, 2, 4, 0 } uselistorder i64 %4, { 1, 0, 2 } uselistorder i32* %sv_6, { 4, 3, 2, 1, 0 } uselistorder i32* %sv_5, { 2, 0, 1 } uselistorder i32* %sv_4, { 2, 0, 1, 3 } uselistorder i32* %sv_3, { 2, 1, 0, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem17, { 0, 2, 1 } uselistorder i64* %storemerge8.in.in.in.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem19, { 0, 2, 1 } uselistorder i32* %.reg2mem21, { 0, 2, 1 } uselistorder i32** %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge7.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 2, 1, 4, 3, 5, 7, 6 } uselistorder i32* %0, { 1, 0 } uselistorder i64 (i64, i64*, i64*, i64, i64*)* @getvvcol, { 1, 0 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 (i64, i64)* @LT_POS, { 1, 0 } uselistorder label LBL_23, { 7, 1, 0, 3, 2, 4, 6, 5 } uselistorder label %100, { 1, 0 } uselistorder label LBL_20, { 1, 0 } }
1
CompRealVul
jsvIsBasicVarEqual_10578
jsvIsBasicVarEqual
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem14 = alloca i8 %.reg2mem12 = alloca i64 %.reg2mem10 = alloca i64 %.reg2mem8 = alloca i32 %.reg2mem6 = alloca i64 %.reg2mem4 = alloca i64 %.reg2mem2 = alloca i64 %.reg2mem = alloca i32 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = icmp eq i64* %arg1, %arg2 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_27 LBL_1: %7 = icmp ne i64* %arg1, null %8 = icmp eq i64* %arg2, null %9 = icmp eq i1 %8, false %or.cond = icmp eq i1 %7, %9 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_27 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i64* %arg1 to i64 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i8 %14 = icmp eq i8 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = trunc i64 %10 to i32 %16 = call i64 @FUNC(i64 %10) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false store i32 %15, i32* %.reg2mem store i64 %10, i64* %.reg2mem2 br i1 %19, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i32 ptrtoint ([52 x i8]* @gv_1 to i32), i32* %.reg2mem store i64 ptrtoint ([52 x i8]* @gv_1 to i64), i64* %.reg2mem2 br label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %11) %21 = trunc i64 %20 to i8 %22 = icmp eq i8 %21, 0 br i1 %22, label LBL_20, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %10) %24 = trunc i64 %23 to i8 %25 = icmp eq i8 %24, 0 br i1 %25, label LBL_20, label LBL_7 LBL_7: %.reload3 = load i64, i64* %.reg2mem2 %.reload = load i32, i32* %.reg2mem %26 = call i64 @FUNC(i64 %11) %27 = trunc i64 %26 to i8 %28 = icmp eq i8 %27, 0 br i1 %28, label LBL_13, label LBL_8 LBL_8: %29 = trunc i64 %2 to i32 %30 = call i64 @FUNC(i64 %10) %31 = trunc i64 %30 to i8 %32 = icmp eq i8 %31, 0 br i1 %32, label LBL_10, label LBL_9 LBL_9: %33 = icmp eq i32 %.reload, %29 %34 = zext i1 %33 to i64 %35 = and i32 %.reload, -256 %36 = zext i32 %35 to i64 %37 = or i64 %36, %34 store i64 %37, i64* %rax.0.reg2mem br label LBL_27 LBL_10: %38 = call i64 @FUNC(i64 %10) %39 = trunc i64 %38 to i8 %40 = icmp eq i8 %39, 0 %41 = icmp eq i1 %40, false store i64 %.reload3, i64* %.reg2mem4 br i1 %41, label LBL_12, label LBL_11 LBL_11: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([52 x i8]* @gv_1 to i64), i64* %.reg2mem4 br label LBL_12 LBL_12: %42 = call i8 @llvm.ctpop.i8(i8 %39), !range !47 %43 = urem i8 %42, 2 %44 = icmp eq i8 %43, 0 %.reload5 = load i64, i64* %.reg2mem4 %45 = call i128 @FUNC(i128 %4, i128 %4) %46 = call i128 @FUNC(i32 %29) %47 = call i128 @FUNC(i64 %.reload5) call void @FUNC(i128 %46, i128 %47) %48 = icmp eq i1 %44, false %49 = zext i1 %48 to i64 %50 = and i64 %10, 4294967040 %51 = or i64 %50, %49 call void @FUNC(i128 %46, i128 %47) %52 = select i1 %41, i64 0, i64 %51 store i64 %52, i64* %rax.0.reg2mem br label LBL_27 LBL_13: %53 = call i64 @FUNC(i64 %11) %54 = trunc i64 %53 to i8 %55 = icmp eq i8 %54, 0 %56 = icmp eq i1 %55, false store i64 %.reload3, i64* %.reg2mem6 store i32 %.reload, i32* %.reg2mem8 br i1 %56, label LBL_15, label LBL_14 LBL_14: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 75, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([52 x i8]* @gv_1 to i64), i64* %.reg2mem6 store i32 ptrtoint ([52 x i8]* @gv_1 to i32), i32* %.reg2mem8 br label LBL_15 LBL_15: %57 = call i64 @FUNC(i64 %10) %58 = trunc i64 %57 to i8 %59 = icmp eq i8 %58, 0 br i1 %59, label LBL_17, label LBL_16 LBL_16: %.reload9 = load i32, i32* %.reg2mem8 %60 = call i128 @FUNC(i64 %10) %61 = call i128 @FUNC(i128 %3, i128 %3) %62 = call i128 @FUNC(i32 %.reload9) call void @FUNC(i128 %60, i128 %62) call void @FUNC(i128 %60, i128 %62) store i64 0, i64* %rax.0.reg2mem br label LBL_27 LBL_17: %.reload7 = load i64, i64* %.reg2mem6 %63 = call i64 @FUNC(i64 %10) %64 = trunc i64 %63 to i8 %65 = icmp eq i8 %64, 0 %66 = icmp eq i1 %65, false store i64 %.reload7, i64* %.reg2mem10 store i64 %10, i64* %.reg2mem12 br i1 %66, label LBL_19, label LBL_18 LBL_18: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 79, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([52 x i8]* @gv_1 to i64), i64* %.reg2mem10 store i64 ptrtoint ([14 x i8]* @gv_3 to i64), i64* %.reg2mem12 br label LBL_19 LBL_19: %67 = call i8 @llvm.ctpop.i8(i8 %64), !range !47 %68 = urem i8 %67, 2 %69 = icmp eq i8 %68, 0 %.reload13 = load i64, i64* %.reg2mem12 %.reload11 = load i64, i64* %.reg2mem10 %70 = call i128 @FUNC(i64 %.reload13) %71 = call i128 @FUNC(i64 %.reload11) call void @FUNC(i128 %70, i128 %71) %72 = icmp eq i1 %69, false %73 = zext i1 %72 to i64 %74 = and i64 %10, 4294967040 %75 = or i64 %74, %73 call void @FUNC(i128 %70, i128 %71) %76 = select i1 %66, i64 0, i64 %75 store i64 %76, i64* %rax.0.reg2mem br label LBL_27 LBL_20: %77 = call i64 @FUNC(i64 %11) %78 = trunc i64 %77 to i8 %79 = icmp eq i8 %78, 0 store i64 0, i64* %rax.0.reg2mem br i1 %79, label LBL_27, label LBL_21 LBL_21: %80 = call i64 @FUNC(i64 %10) %81 = trunc i64 %80 to i8 %82 = icmp eq i8 %81, 0 store i64 0, i64* %rax.0.reg2mem br i1 %82, label LBL_27, label LBL_22 LBL_22: %83 = call i64 @FUNC(i64* nonnull %sv_1, i64 %11, i64 0) %84 = call i64 @FUNC(i64* nonnull %sv_0, i64 %10, i64 0) %85 = call i64 @FUNC(i64* nonnull %sv_1) %86 = trunc i64 %85 to i8 %87 = call i64 @FUNC(i64* nonnull %sv_0) %88 = trunc i64 %87 to i8 %89 = icmp eq i8 %86, %88 store i8 %86, i8* %.reg2mem14 br i1 %89, label LBL_24, label LBL_23 LBL_23: %90 = call i64 @FUNC(i64* nonnull %sv_1) %91 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %rax.0.reg2mem br label LBL_27 LBL_24: %.reload15 = load i8, i8* %.reg2mem14 %92 = icmp eq i8 %.reload15, 0 %93 = icmp eq i1 %92, false br i1 %93, label LBL_26, label LBL_25 LBL_25: %94 = call i64 @FUNC(i64* nonnull %sv_1) %95 = call i64 @FUNC(i64* nonnull %sv_0) store i64 1, i64* %rax.0.reg2mem br label LBL_27 LBL_26: %96 = call i64 @FUNC(i64* nonnull %sv_1) %97 = call i64 @FUNC(i64* nonnull %sv_0) %98 = call i64 @FUNC(i64* nonnull %sv_1) %99 = trunc i64 %98 to i8 %100 = call i64 @FUNC(i64* nonnull %sv_0) %101 = trunc i64 %100 to i8 %102 = icmp eq i8 %99, %101 store i8 %99, i8* %.reg2mem14 br i1 %102, label LBL_24, label LBL_23 LBL_27: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %71, { 1, 0 } uselistorder i128 %70, { 1, 0 } uselistorder i8 %64, { 1, 0 } uselistorder i128 %62, { 1, 0 } uselistorder i128 %60, { 1, 0 } uselistorder i128 %47, { 1, 0 } uselistorder i128 %46, { 1, 0 } uselistorder i8 %39, { 1, 0 } uselistorder i32 %29, { 1, 0 } uselistorder i32 %.reload, { 0, 2, 1 } uselistorder i64 %11, { 2, 3, 0, 1, 4, 5 } uselistorder i64 %10, { 12, 13, 8, 0, 9, 2, 10, 5, 6, 7, 11, 1, 4, 3 } uselistorder i64* %sv_1, { 4, 1, 2, 3, 0, 5 } uselistorder i64* %sv_0, { 4, 1, 2, 3, 0, 5 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem2, { 0, 2, 1 } uselistorder i64* %.reg2mem4, { 0, 2, 1 } uselistorder i64* %.reg2mem6, { 0, 2, 1 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i64* %.reg2mem10, { 0, 2, 1 } uselistorder i64* %.reg2mem12, { 0, 2, 1 } uselistorder i8* %.reg2mem14, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 2, 1, 8, 7, 6, 5, 3, 4 } uselistorder i128* %0, { 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorNext, { 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorFree, { 3, 2, 1, 0 } uselistorder i64 (i64*)* @jsvStringIteratorGetChar, { 3, 2, 0, 1 } uselistorder i64 (i64*, i64, i64)* @jsvStringIteratorNew, { 1, 0 } uselistorder i64 (i64)* @jsvIsString, { 1, 0 } uselistorder [14 x i8]* @gv_3, { 1, 0 } uselistorder i64 (i64)* @jsvIsFloat, { 2, 1, 0 } uselistorder i64 (i64)* @jsvIsIntegerish, { 2, 1, 0 } uselistorder i64 (i64)* @jsvIsNumeric, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder [52 x i8]* @gv_1, { 2, 0, 1 } uselistorder i64 (i64)* @jsvIsBasic, { 1, 0 } uselistorder i64 0, { 4, 18, 19, 1, 0, 6, 3, 8, 9, 7, 10, 11, 12, 13, 14, 15, 16, 17, 2, 5, 20 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0, 8 } uselistorder i64* %arg2, { 2, 0, 1 } uselistorder i64* %arg1, { 2, 0, 1 } uselistorder label LBL_27, { 4, 5, 1, 0, 6, 7, 8, 9, 2, 3 } uselistorder label LBL_24, { 1, 0 } }
0
CompRealVul
mipsdsp_sub_i16_15417
mipsdsp_sub_i16
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i16 %1 = trunc i64 %arg2 to i16 %sext3 = mul i64 %arg2, 281474976710656 %2 = ashr exact i64 %sext3, 48 %3 = sub i16 %0, %1 %4 = icmp slt i16 %0, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %2 to i16 %6 = icmp sgt i16 %5, 0 %7 = icmp slt i16 %3, 0 %or.cond = icmp eq i1 %7, %6 br i1 %or.cond, label LBL_4, label LBL_5 LBL_2: %8 = icmp ne i16 %0, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = trunc i64 %2 to i16 %11 = icmp slt i16 %10, 0 %12 = icmp eq i1 %11, false %13 = icmp slt i16 %3, 1 %or.cond6 = or i1 %13, %12 br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: %14 = ptrtoint i64* %arg3 to i64 %15 = call i64 @FUNC(i64 1, i64 20, i64 %14) br label LBL_5 LBL_5: %16 = zext i16 %3 to i64 ret i64 %16 uselistorder i16 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i16 %0, { 0, 2, 1 } uselistorder i16 0, { 3, 0, 2, 1 } uselistorder label LBL_5, { 1, 2, 3, 0 } }
1
CompRealVul
init_image_1438
init_image
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %storemerge416.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i64 %.reg2mem = alloca i64 %.pre-phi17.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = trunc i64 %3 to i32 %6 = mul i32 %5, 10 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, %6 %11 = icmp eq i32 %10, 644 br i1 %11, label LBL_23, label LBL_1 LBL_1: %12 = icmp sgt i32 %10, 644 br i1 %12, label LBL_24, label LBL_2 LBL_2: %13 = icmp eq i32 %10, 483 br i1 %13, label LBL_22, label LBL_3 LBL_3: %14 = icmp sgt i32 %10, 483 br i1 %14, label LBL_24, label LBL_4 LBL_4: %15 = icmp eq i32 %10, 324 br i1 %15, label LBL_21, label LBL_5 LBL_5: %16 = icmp sgt i32 %10, 324 br i1 %16, label LBL_24, label LBL_6 LBL_6: %17 = icmp eq i32 %10, 243 br i1 %17, label LBL_18, label LBL_7 LBL_7: %18 = icmp sgt i32 %10, 243 br i1 %18, label LBL_24, label LBL_8 LBL_8: %19 = icmp eq i32 %10, 162 br i1 %19, label LBL_20, label LBL_9 LBL_9: %20 = icmp sgt i32 %10, 162 br i1 %20, label LBL_24, label LBL_10 LBL_10: %21 = icmp eq i32 %10, 161 br i1 %21, label LBL_19, label LBL_11 LBL_11: %22 = icmp sgt i32 %10, 161 br i1 %22, label LBL_24, label LBL_12 LBL_12: %23 = icmp eq i32 %10, 11 br i1 %23, label LBL_15, label LBL_13 LBL_13: %.off = add i32 %10, -11 %24 = icmp ugt i32 %.off, 70 %25 = icmp slt i32 %10, 21 %or.cond14 = or i1 %25, %24 br i1 %or.cond14, label LBL_24, label LBL_14 LBL_14: %26 = add i32 %10, 43 %27 = urem i32 %26, 64 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_17, label %29 LBL_15: %32 = add i64 %4, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_17, label LBL_16 LBL_16: %37 = add i64 %4, 24 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i32* store i32 0, i32* %40, align 4 store i64* %38, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_17: %41 = add i64 %4, 24 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i32* store i32 1, i32* %44, align 4 store i64* %42, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_18: %45 = add i64 %4, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i32* store i32 2, i32* %48, align 4 store i64* %46, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_19: %49 = add i64 %4, 20 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 0 %. = select i1 %52, i32 4, i32 3 %53 = add i64 %4, 24 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = inttoptr i64 %55 to i32* store i32 %., i32* %56, align 4 store i64* %54, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_20: %57 = add i64 %4, 24 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = inttoptr i64 %59 to i32* store i32 5, i32* %60, align 4 store i64* %58, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_21: %61 = add i64 %4, 24 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = inttoptr i64 %63 to i32* store i32 6, i32* %64, align 4 store i64* %62, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_22: %65 = add i64 %4, 20 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 %.12 = select i1 %68, i32 8, i32 7 %69 = add i64 %4, 24 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = inttoptr i64 %71 to i32* store i32 %.12, i32* %72, align 4 store i64* %70, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_23: %73 = add i64 %4, 20 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = icmp eq i32 %75, 0 %.13 = select i1 %76, i32 10, i32 9 %77 = add i64 %4, 24 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = inttoptr i64 %79 to i32* store i32 %.13, i32* %80, align 4 store i64* %78, i64** %.pre-phi17.reg2mem br label LBL_25 LBL_24: %81 = add i64 %4, 24 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = zext i32 %9 to i64 %85 = and i64 %3, 4294967295 %86 = call i64 @FUNC(i64 %83, i64 11, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %85, i64 %84, i64 %1) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_25: %.pre-phi17.reload = load i64*, i64** %.pre-phi17.reg2mem %87 = add i64 %4, 8 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = load i64, i64* %.pre-phi17.reload, align 8 %91 = add i64 %90, 4 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = icmp eq i32 %89, %93 %95 = icmp eq i1 %94, false %.pre18 = add i64 %4, 12 %.pre20 = inttoptr i64 %.pre18 to i32* %.pre22 = load i32, i32* %.pre20, align 4 br i1 %95, label LBL_27, label LBL_26 LBL_26: %96 = add i64 %90, 8 %97 = inttoptr i64 %96 to i32* %98 = load i32, i32* %97, align 4 %99 = icmp eq i32 %.pre22, %98 store i64 %90, i64* %.reg2mem br i1 %99, label LBL_29, label LBL_27 LBL_27: %100 = zext i32 %89 to i64 %101 = call i64 @FUNC(i64 %100, i32 %.pre22, i64 0, i64 %90) %102 = trunc i64 %101 to i32 %103 = icmp slt i32 %102, 0 %104 = icmp eq i1 %103, false store i64 %101, i64* %rax.0.shrunk.reg2mem br i1 %104, label LBL_28, label LBL_36 LBL_28: %105 = load i32, i32* %.pre20, align 4 %106 = load i32, i32* %88, align 4 %107 = load i64, i64* %.pre-phi17.reload, align 8 %108 = zext i32 %106 to i64 %109 = call i64 @FUNC(i64 %107, i64 %108, i32 %105) %.pre = load i64, i64* %.pre-phi17.reload, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_29 LBL_29: %.reload = load i64, i64* %.reg2mem %110 = trunc i64 %.reload to i32 %111 = icmp slt i32 %110, 0 %112 = icmp eq i1 %111, false br i1 %112, label LBL_31, label LBL_30 LBL_30: %113 = add i64 %4, 32 %114 = call i64 @FUNC(i64 %.reload, i64 11, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %113, i64 %2, i64 %1) store i64 %.reload, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_31: %115 = inttoptr i64 %.reload to i32* %116 = load i32, i32* %115, align 4 %117 = icmp eq i32 %116, 1 %118 = icmp eq i1 %117, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %118, label LBL_36, label LBL_32 LBL_32: %119 = add i64 %4, 16 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = icmp eq i32 %121, 0 br i1 %122, label LBL_34, label LBL_33 LBL_33: %123 = add i64 %4, 48 %124 = add i64 %4, 40 %125 = inttoptr i64 %124 to i64* %126 = load i64, i64* %125, align 8 %127 = inttoptr i64 %126 to i64* %128 = inttoptr i64 %123 to i64* %129 = call i64* @memcpy(i64* %127, i64* %128, i32 1024) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_36 LBL_34: %130 = bitcast i64* %rdi to i32* %131 = add i64 %4, 40 %132 = inttoptr i64 %131 to i64* %133 = load i64, i64* %132, align 8 %134 = load i32, i32* %130, align 8 %135 = urem i32 %134, 32 store i64 0, i64* %.reg2mem23 store i32 %135, i32* %.reg2mem25 store i32 0, i32* %storemerge416.reg2mem br label LBL_35 LBL_35: %storemerge416.reload = load i32, i32* %storemerge416.reg2mem %.reload26 = load i32, i32* %.reg2mem25 %.reload24 = load i64, i64* %.reg2mem23 %136 = mul i32 %storemerge416.reload, 255 %137 = zext i32 %136 to i64 %138 = ashr i32 %136, 31 %139 = zext i32 %138 to i64 %140 = mul i64 %139, 4294967296 %141 = or i64 %140, %137 %notmask = shl nsw i32 -1, %.reload26 %142 = sub i32 0, %notmask %143 = sub i32 %142, 1 %144 = zext i32 %143 to i64 %145 = sdiv i64 %141, %144 %146 = trunc i64 %145 to i32 %147 = mul i32 %146, 65793 %148 = mul i64 %.reload24, 4 %149 = add i64 %148, %133 %150 = or i32 %147, -16777216 %151 = inttoptr i64 %149 to i32* store i32 %150, i32* %151, align 4 %152 = add i32 %storemerge416.reload, 1 %153 = load i32, i32* %130, align 8 %154 = urem i32 %153, 32 %155 = shl i32 1, %154 %storemerge2 = zext i32 %155 to i64 %156 = sext i32 %152 to i64 %157 = icmp sgt i64 %storemerge2, %156 store i64 %156, i64* %.reg2mem23 store i32 %154, i32* %.reg2mem25 store i32 %152, i32* %storemerge416.reg2mem store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %157, label LBL_35, label LBL_36 LBL_36: %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* %130, { 1, 0 } uselistorder i64 %.reload, { 1, 0, 2, 3 } uselistorder i32* %.pre20, { 1, 0 } uselistorder i64 %90, { 1, 0, 2, 3 } uselistorder i32 %10, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %4, { 14, 15, 13, 12, 16, 0, 17, 11, 19, 18, 10, 9, 8, 6, 5, 4, 7, 1, 3, 2, 20 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64** %.pre-phi17.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem23, { 1, 0, 2 } uselistorder i32* %.reg2mem25, { 1, 0, 2 } uselistorder i32* %storemerge416.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 3, 2, 6, 4, 5 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i1 false, { 3, 4, 5, 6, 7, 0, 1, 2 } uselistorder i64 0, { 0, 3, 2, 1, 6, 7, 10, 8, 9, 5, 4, 11 } uselistorder i32 0, { 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 2 } uselistorder i32 161, { 1, 0 } uselistorder i32 162, { 1, 0 } uselistorder i32 243, { 1, 0 } uselistorder i32 324, { 1, 0 } uselistorder i32 483, { 1, 0 } uselistorder i32 644, { 1, 0 } uselistorder label LBL_36, { 0, 2, 1, 4, 3, 5 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_17, { 1, 2, 0 } }
0
CompRealVul
pdf_load_xrefs_10995
pdf_load_xrefs
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem23 = alloca i32 %.reg2mem21 = alloca i64 %.ph.reg2mem = alloca i32 %storemerge4.reg2mem = alloca i8* %sv_0.0.lcssa13.reg2mem = alloca i32 %sv_0.06.reg2mem = alloca i64 %.reg2mem19 = alloca i64 %storemerge814.reg2mem = alloca i32 %sv_1.0715.reg2mem = alloca i32 %.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %2 = bitcast i64* %arg2 to i32* store i32 0, i32* %2, align 4 %3 = inttoptr i64 %arg1 to %_IO_FILE* %4 = call i32 @fseek(%_IO_FILE* %3, i32 0, i32 0) %5 = call i64 @FUNC(i64 %arg1) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false %9 = trunc i64 %1 to i32 br i1 %8, label LBL_1, label LBL_3 LBL_1: %10 = add i32 %9, 1 br label LBL_2 LBL_2: store i32 %10, i32* %2, align 4 %11 = call i64 @FUNC(i64 %arg1) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_2, label LBL_3 LBL_3: %15 = icmp eq i32 %9, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_26 LBL_4: %17 = ptrtoint i64* %arg2 to i64 %18 = bitcast i64* %rsi to i32* %19 = call i32 @fseek(%_IO_FILE* %3, i32 0, i32 0) %20 = mul i32 %9, 32 %21 = call i64* @calloc(i32 1, i32 %20) %22 = ptrtoint i64* %21 to i64 %23 = add i64 %17, 8 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = load i32, i32* %18, align 8 %26 = icmp eq i32 %25, 0 store i64 %22, i64* %.reg2mem21 store i32 0, i32* %.reg2mem23 br i1 %26, label LBL_23, label LBL_5 LBL_5: %27 = bitcast i64* %sv_2 to i8* %28 = call i64 @FUNC(i64 %arg1) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 store i64 %28, i64* %.reg2mem store i32 1, i32* %sv_1.0715.reg2mem store i32 0, i32* %storemerge814.reg2mem store i64 0, i64* %.reg2mem19 store i32 %25, i32* %.ph.reg2mem br i1 %30, label LBL_22, label LBL_7 LBL_6: %31 = call i64 @FUNC(i64 %arg1) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 store i64 %31, i64* %.reg2mem store i32 %55, i32* %sv_1.0715.reg2mem store i32 %112, i32* %storemerge814.reg2mem store i64 %115, i64* %.reg2mem19 store i32 %113, i32* %.ph.reg2mem br i1 %33, label LBL_22, label LBL_7 LBL_7: %.reload20 = load i64, i64* %.reg2mem19 %storemerge814.reload = load i32, i32* %storemerge814.reg2mem %sv_1.0715.reload = load i32, i32* %sv_1.0715.reg2mem %.reload = load i64, i64* %.reg2mem %34 = load i64, i64* %24, align 8 %35 = mul i64 %.reload20, 32 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i32* store i32 %sv_1.0715.reload, i32* %37, align 4 %38 = call i32 @fgetc(%_IO_FILE* %3) %39 = trunc i32 %38 to i8 %40 = icmp eq i8 %39, 102 %41 = icmp eq i1 %40, false store i64 0, i64* %sv_0.06.reg2mem store i32 0, i32* %sv_0.0.lcssa13.reg2mem br i1 %41, label LBL_8, label LBL_11 LBL_8: %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %sext = mul i64 %sv_0.06.reload, 4294967296 %42 = ashr exact i64 %sext, 32 %43 = add nsw i64 %42, 1 %44 = sub i64 %.reload, %43 %45 = trunc i64 %44 to i32 %46 = call i32 @fseek(%_IO_FILE* %3, i32 %45, i32 0) %47 = call i32 @fgetc(%_IO_FILE* %3) %48 = trunc i32 %47 to i8 %49 = icmp eq i8 %48, 102 %50 = icmp eq i1 %49, false store i64 %43, i64* %sv_0.06.reg2mem br i1 %50, label LBL_8, label LBL_9 LBL_9: %51 = trunc i64 %43 to i32 %52 = icmp ult i32 %51, 256 store i32 %51, i32* %sv_0.0.lcssa13.reg2mem br i1 %52, label LBL_11, label LBL_10 LBL_10: %53 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %54 = call i32 @fwrite(i64* bitcast ([68 x i8]* @gv_1 to i64*), i32 1, i32 67, %_IO_FILE* %53) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_26 LBL_11: %55 = add i32 %sv_1.0715.reload, 1 %sv_0.0.lcssa13.reload = load i32, i32* %sv_0.0.lcssa13.reg2mem %56 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 256) %57 = call i32 @fread(i64* nonnull %sv_2, i32 1, i32 %sv_0.0.lcssa13.reload, %_IO_FILE* %3) %58 = icmp eq i32 %57, %sv_0.0.lcssa13.reload store i8* %27, i8** %storemerge4.reg2mem br i1 %58, label LBL_14, label LBL_12 LBL_12: %59 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %60 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_2 to i64*), i32 1, i32 26, %_IO_FILE* %59) call void @exit(i32 1) unreachable LBL_13: %61 = ptrtoint i8* %storemerge4.reload to i64 %62 = add i64 %61, 1 %63 = inttoptr i64 %62 to i8* store i8* %63, i8** %storemerge4.reg2mem br label LBL_14 LBL_14: %storemerge4.reload = load i8*, i8** %storemerge4.reg2mem %64 = load i8, i8* %storemerge4.reload, align 1 switch i8 %64, label LBL_15 [ i8 32, label LBL_13 i8 10, label LBL_13 i8 13, label LBL_13 ] LBL_15: %65 = load i64, i64* %24, align 8 %66 = call i32 @atol(i8* %storemerge4.reload) %67 = sext i32 %66 to i64 %68 = or i64 %35, 8 %69 = add i64 %65, %68 %70 = inttoptr i64 %69 to i64* store i64 %67, i64* %70, align 8 %71 = load i64, i64* %24, align 8 %72 = add i64 %71, %35 %73 = add i64 %72, 8 %74 = inttoptr i64 %73 to i64* %75 = load i64, i64* %74, align 8 %76 = icmp eq i64 %75, 0 %77 = icmp eq i1 %76, false br i1 %77, label LBL_17, label LBL_16 LBL_16: %78 = call i64 @FUNC(i64 %arg1, i64 %72) br label LBL_18 LBL_17: %79 = call i32 @ftell(%_IO_FILE* %3) %80 = load i64, i64* %24, align 8 %81 = add i64 %80, %68 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = trunc i64 %83 to i32 %85 = call i32 @fseek(%_IO_FILE* %3, i32 %84, i32 0) %86 = call i64 @FUNC(i64 %arg1) %87 = load i64, i64* %24, align 8 %sext3 = mul i64 %86, 4294967296 %88 = ashr exact i64 %sext3, 32 %89 = or i64 %35, 16 %90 = add i64 %87, %89 %91 = inttoptr i64 %90 to i64* store i64 %88, i64* %91, align 8 %92 = call i32 @fseek(%_IO_FILE* %3, i32 %79, i32 0) br label LBL_18 LBL_18: %93 = load i64, i64* %24, align 8 %94 = add i64 %93, %35 %95 = call i64 @FUNC(i64 %arg1, i64 %17, i64 %94) %96 = trunc i64 %95 to i32 %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false %99 = load i64, i64* %24, align 8 %100 = add i64 %99, %35 br i1 %98, label LBL_20, label LBL_19 LBL_19: %101 = add i64 %100, 24 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = inttoptr i64 %100 to i64* %105 = call i64* @memset(i64* %104, i32 0, i32 32) %106 = load i64, i64* %24, align 8 %107 = or i64 %35, 24 %108 = add i64 %106, %107 %109 = inttoptr i64 %108 to i32* store i32 %103, i32* %109, align 4 call void @rewind(%_IO_FILE* %3) %110 = call i64 @FUNC(i64 %arg1) br label LBL_21 LBL_20: %111 = call i64 @FUNC(i64 %arg1, i64 %100) br label LBL_21 LBL_21: %112 = add i32 %storemerge814.reload, 1 %113 = load i32, i32* %18, align 8 %114 = zext i32 %113 to i64 %115 = sext i32 %112 to i64 %116 = icmp slt i64 %115, %114 store i32 %113, i32* %.ph.reg2mem br i1 %116, label LBL_6, label LBL_22 LBL_22: %.ph.reload = load i32, i32* %.ph.reg2mem %.pre = load i64, i64* %24, align 8 store i64 %.pre, i64* %.reg2mem21 store i32 %.ph.reload, i32* %.reg2mem23 br label LBL_23 LBL_23: %.reload24 = load i32, i32* %.reg2mem23 %.reload22 = load i64, i64* %.reg2mem21 %117 = add i64 %.reload22, 24 %118 = inttoptr i64 %117 to i32* %119 = load i32, i32* %118, align 4 %120 = icmp eq i32 %119, 0 br i1 %120, label LBL_25, label LBL_24 LBL_24: %121 = call i64 @FUNC(i64 %17) br label LBL_25 LBL_25: %122 = call i64 @FUNC(i64 %arg1, i64 %17) %123 = zext i32 %.reload24 to i64 store i64 %123, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %115, { 1, 0 } uselistorder i32 %113, { 0, 2, 1 } uselistorder i32 %112, { 1, 0 } uselistorder i64 %100, { 2, 1, 0 } uselistorder i8* %storemerge4.reload, { 2, 0, 1 } uselistorder i32 %sv_0.0.lcssa13.reload, { 1, 0 } uselistorder i64 %43, { 1, 0, 2 } uselistorder i64 %35, { 1, 6, 5, 2, 4, 0, 3 } uselistorder i32 %sv_1.0715.reload, { 1, 0 } uselistorder i64 %17, { 1, 2, 0, 3 } uselistorder %_IO_FILE* %3, { 1, 2, 3, 4, 5, 7, 6, 0, 8, 9 } uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0715.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge814.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem19, { 0, 2, 1 } uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.lcssa13.reg2mem, { 0, 2, 1 } uselistorder i8** %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 24, { 1, 0, 2 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder i8 102, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fgetc, { 1, 0 } uselistorder i64 32, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2 } uselistorder i32 32, { 1, 0 } uselistorder i64 (i64)* @get_next_eof, { 5, 4, 3, 0, 2, 1 } uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0, 3, 2, 4 } uselistorder i32 0, { 16, 10, 17, 8, 9, 11, 7, 1, 6, 2, 3, 0, 4, 12, 13, 18, 19, 5, 14, 15, 20 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64 %arg1, { 7, 4, 3, 5, 6, 2, 8, 0, 9, 1, 10 } uselistorder label LBL_26, { 1, 2, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
drxj_dap_atomic_read_reg32_18201
drxj_dap_atomic_read_reg32
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge.reg2mem = alloca i64 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i32, align 4 %4 = icmp eq i64* %arg3, null %5 = icmp eq i1 %4, false store i64 4294967294, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %arg2 to i32 %8 = bitcast i32* %sv_0 to i64* %9 = call i64 @FUNC(i64 %6, i32 %7, i64 4, i64* nonnull %8, i64 1) %10 = mul i32 %3, 256 %11 = and i32 %10, 65280 %12 = urem i32 %2, 256 %13 = or i32 %11, %12 %14 = mul i32 %13, 256 %15 = urem i32 %1, 256 %16 = or i32 %14, %15 %17 = mul i32 %16, 256 %18 = load i32, i32* %sv_0, align 4 %19 = urem i32 %18, 256 %20 = or i32 %19, %17 %21 = bitcast i64* %arg3 to i32* store i32 %20, i32* %21, align 4 %22 = and i64 %9, 4294967295 store i64 %22, 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 i32* %0, { 2, 1, 0 } uselistorder i32 256, { 3, 0, 4, 1, 5, 2 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
unassigned_mem_readb_18652
unassigned_mem_readb
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %1 = call i64 @FUNC(i64 %arg2, i64 0, i64 0, i64 0, i64 1) ret i64 0 }
1
CompRealVul
vnc_async_encoding_end_15941
vnc_async_encoding_end
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = trunc i64 %1 to i32 store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %3, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = add i64 %2, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %2, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %3, 12 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %2, 16 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %3, 16 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 ret i64 %3 uselistorder i64 %3, { 1, 0, 2, 3, 4 } }
1
CompRealVul
bmp_getint32_11132
bmp_getint32
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i32 %2, i32* %.reg2mem store i64 0, i64* %storemerge3.reg2mem store i32 4, i32* %sv_0.02.reg2mem store i64 4294967295, i64* %storemerge1.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %.reload = load i32, i32* %.reg2mem %5 = mul i32 %.reload, 16777216 %6 = sext i32 %5 to i64 %7 = or i64 %storemerge3.reload, %6 %8 = add nsw i32 %sv_0.02.reload, -1 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = udiv i64 %7, 256 %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, -1 %14 = icmp eq i1 %13, false store i32 %12, i32* %.reg2mem store i64 %10, i64* %storemerge3.reg2mem store i32 %8, i32* %sv_0.02.reg2mem store i64 4294967295, i64* %storemerge1.reg2mem br i1 %14, label LBL_1, label LBL_5 LBL_3: %15 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge1.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: store i64 %7, i64* %arg2, align 8 store i64 0, i64* %storemerge1.reg2mem br label LBL_5 LBL_5: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem ret i64 %storemerge1.reload uselistorder i64 %7, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i64 (i64)* @jas_stream_getc, { 1, 0 } uselistorder label LBL_5, { 3, 2, 0, 1 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
set_error_response_19105
set_error_response
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
CompRealVul
l2cap_conf_rfc_get_12298
l2cap_conf_rfc_get
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i64* %sv_0.0.ph14.reg2mem = alloca i64* %sv_1.0.ph15.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 store i64 %arg2, i64* %sv_6, align 8 %5 = add i64 %4, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = trunc i64 %3 to i32 store i32 %8, i32* %sv_5, align 4 %9 = call i64 @FUNC(i64 100) %10 = call i64 @FUNC(i64 200) %11 = add i64 %4, 20 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 65536 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %15) %17 = load i32, i32* %6, align 4 %18 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg2, i32 %arg3, i64 %2, i64 %1) %19 = icmp eq i32 %8, 1 br i1 %19, label LBL_2, label LBL_1 LBL_1: %20 = and i64 %3, 4294967295 %21 = icmp eq i32 %8, 2 %22 = icmp eq i1 %21, false store i64 %20, i64* %rax.0.reg2mem br i1 %22, label LBL_17, label LBL_2 LBL_2: %23 = urem i32 %7, 65536 %24 = zext i32 %23 to i64 %25 = inttoptr i64 %24 to i64* %26 = icmp sgt i32 %arg3, 3 store i64* %25, i64** %sv_0.0.ph.lcssa.reg2mem br i1 %26, label LBL_3, label LBL_11 LBL_3: %27 = bitcast i32* %sv_2 to i64* %28 = bitcast i32* %sv_3 to i64* %29 = bitcast i32* %sv_5 to i64* store i32 %arg3, i32* %sv_1.0.ph15.reg2mem store i64* %25, i64** %sv_0.0.ph14.reg2mem br label LBL_4.lr.ph LBL_4: %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem %30 = call i64 @FUNC(i64* nonnull %sv_6, i64* nonnull %27, i64* nonnull %28, i64* nonnull %sv_4) %31 = trunc i64 %30 to i32 %32 = sub i32 %sv_1.012.reload, %31 %33 = load i32, i32* %sv_2, align 4 %34 = icmp eq i32 %33, 1 br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = icmp eq i32 %33, 2 %36 = load i32, i32* %sv_3, align 4 %37 = icmp eq i32 %36, 2 %or.cond = icmp eq i1 %35, %37 br i1 %or.cond, label LBL_9, label LBL_8 LBL_6: %38 = load i32, i32* %sv_3, align 4 %39 = icmp eq i32 %38, 12 br i1 %39, label LBL_7, label LBL_8 LBL_7: %40 = load i64, i64* %sv_4, align 8 %41 = inttoptr i64 %40 to i64* %42 = call i64* @memcpy(i64* nonnull %29, i64* %41, i32 12) br label LBL_8 LBL_8: %43 = icmp sgt i32 %32, 3 store i32 %32, i32* %sv_1.012.reg2mem store i64* %sv_0.0.ph14.reload, i64** %sv_0.0.ph.lcssa.reg2mem br i1 %43, label LBL_4, label LBL_11 LBL_9: %44 = load i64, i64* %sv_4, align 8 %45 = urem i64 %44, 65536 %46 = inttoptr i64 %45 to i64* %47 = icmp sgt i32 %32, 3 store i32 %32, i32* %sv_1.0.ph15.reg2mem store i64* %46, i64** %sv_0.0.ph14.reg2mem store i64* %46, i64** %sv_0.0.ph.lcssa.reg2mem br i1 %47, label LBL_4.lr.ph, label LBL_11 LBL_10: %sv_0.0.ph14.reload = load i64*, i64** %sv_0.0.ph14.reg2mem %sv_1.0.ph15.reload = load i32, i32* %sv_1.0.ph15.reg2mem store i32 %sv_1.0.ph15.reload, i32* %sv_1.012.reg2mem br label LBL_4 LBL_11: %48 = trunc i64 %16 to i32 %sext9 = mul i32 %48, 65536 %49 = ashr exact i32 %sext9, 16 %50 = load i32, i32* %sv_5, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label LBL_13, label LBL_12 LBL_12: %52 = zext i32 %50 to i64 %53 = icmp eq i32 %50, 2 store i64 %52, i64* %rax.0.reg2mem br i1 %53, label LBL_16, label LBL_17 LBL_13: %54 = urem i64 %9, 65536 %55 = urem i64 %10, 65536 %sv_0.0.ph.lcssa.reload = load i64*, i64** %sv_0.0.ph.lcssa.reg2mem %56 = call i64 @FUNC(i64 %54) %57 = trunc i64 %56 to i32 %58 = urem i32 %57, 65536 %59 = add i64 %4, 8 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = call i64 @FUNC(i64 %55) %62 = trunc i64 %61 to i32 %63 = urem i32 %62, 65536 %64 = add i64 %4, 12 %65 = inttoptr i64 %64 to i32* store i32 %63, i32* %65, align 4 %66 = urem i32 %49, 65536 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %67) %69 = trunc i64 %68 to i32 %70 = urem i32 %69, 65536 %71 = add i64 %4, 16 %72 = inttoptr i64 %71 to i32* store i32 %70, i32* %72, align 4 %73 = add i64 %4, 24 %74 = call i64 @FUNC(i64 0, i64 %73) %75 = trunc i64 %74 to i32 %76 = icmp eq i32 %75, 0 br i1 %76, label LBL_15, label LBL_14 LBL_14: %77 = ptrtoint i64* %sv_0.0.ph.lcssa.reload to i64 %78 = load i32, i32* %6, align 4 %79 = trunc i64 %77 to i32 %80 = urem i32 %79, 65536 %81 = sub i32 %80, %78 %82 = and i32 %81, %78 %83 = icmp slt i32 %82, 0 %84 = icmp eq i32 %81, 0 %85 = icmp slt i32 %81, 0 %86 = icmp eq i1 %85, %83 %87 = icmp eq i1 %84, false %88 = icmp eq i1 %86, %87 %89 = select i1 %88, i32 %78, i32 %80 store i32 %89, i32* %6, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_17 LBL_15: %90 = add i32 %17, -10 %91 = sub i32 9, %17 %92 = and i32 %91, %17 %93 = icmp slt i32 %92, 0 %94 = icmp eq i32 %90, 0 %95 = icmp slt i32 %90, 0 %96 = icmp eq i1 %95, %93 %97 = icmp eq i1 %94, false %98 = icmp eq i1 %96, %97 %99 = urem i32 %17, 65536 %100 = select i1 %98, i32 10, i32 %99 %101 = load i32, i32* %6, align 4 %102 = sub i32 %100, %101 %103 = and i32 %102, %101 %104 = icmp slt i32 %103, 0 %105 = icmp eq i32 %102, 0 %106 = icmp slt i32 %102, 0 %107 = icmp eq i1 %106, %104 %108 = icmp eq i1 %105, false %109 = icmp eq i1 %107, %108 %110 = select i1 %109, i32 %101, i32 %100 store i32 %110, i32* %6, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %111 = urem i32 %49, 65536 %112 = zext i32 %111 to i64 %113 = call i64 @FUNC(i64 %112) %114 = trunc i64 %113 to i32 %115 = urem i32 %114, 65536 %116 = add i64 %4, 16 %117 = inttoptr i64 %116 to i32* store i32 %115, i32* %117, align 4 store i64 %4, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %102, { 1, 2, 0 } uselistorder i32 %101, { 1, 0, 2 } uselistorder i32 %100, { 1, 0 } uselistorder i32 %90, { 1, 0 } uselistorder i32 %81, { 1, 2, 0 } uselistorder i32 %78, { 1, 0, 2 } uselistorder i32 %50, { 0, 2, 1 } uselistorder i32 %32, { 0, 2, 1, 3 } uselistorder i64* %25, { 1, 0 } uselistorder i32* %6, { 3, 2, 1, 0, 4, 5 } uselistorder i32* %sv_5, { 1, 0, 2 } uselistorder i64* %sv_4, { 1, 2, 0 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64 %4, { 0, 3, 2, 1, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %sv_1.012.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 4, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @le16_to_cpu, { 3, 2, 1, 0 } uselistorder i64 65536, { 1, 2, 0, 3, 4 } uselistorder i32 3, { 1, 2, 0 } uselistorder i1 false, { 0, 3, 1, 2, 4 } uselistorder i32 2, { 2, 0, 1, 3 } uselistorder i32 65536, { 1, 2, 8, 3, 4, 5, 6, 7, 0, 10, 9 } uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 } uselistorder label LBL_17, { 2, 3, 4, 1, 0 } uselistorder label LBL_4.lr.ph, { 1, 0 } uselistorder label LBL_8, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
dev_added_9959
dev_added
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.5.reg2mem = alloca i64* %sv_0.4.in.reg2mem = alloca i64 %sv_0.3.in.reg2mem = alloca i64 %sv_0.2.in.in.reg2mem = alloca i64 %sv_0.1.in.in.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64* @calloc(i32 1, i32 88) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_19 LBL_1: %8 = ptrtoint i64* %5 to i64 %9 = call i64 @FUNC(i64 %3, i64 %8) %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0)) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp slt i32 %11, 0 %14 = icmp eq i1 %13, false %15 = icmp eq i1 %12, false %16 = icmp eq i1 %14, %15 br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.5.reg2mem br label LBL_18 LBL_3: %18 = and i64 %10, 4294967295 %19 = call i64 @FUNC(i64 %3, i64 %18) %20 = call i64 @FUNC(i64 %3) %21 = icmp slt i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_5, label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.5.reg2mem br label LBL_18 LBL_5: %sext6 = mul i64 %10, 4294967296 %24 = ashr exact i64 %sext6, 32 %25 = udiv i64 %20, %24 %26 = call i64 @FUNC(i64 %3, i64 %25) %27 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0)) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.5.reg2mem br i1 %29, label LBL_18, label LBL_6 LBL_6: %30 = bitcast i64* %5 to i32* %31 = and i64 %27, 4294967295 %32 = call i64 @FUNC(i64 %3, i64 %31) %33 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i32 %11, i64 %20, i64 %2, i64 %1) %34 = call i32 @pthread_spin_init(i32* %30, i32 0) %35 = zext i32 %34 to i64 %36 = inttoptr i64 %35 to i64* %37 = icmp eq i32 %34, 0 %38 = icmp eq i1 %37, false store i64* %36, i64** %sv_0.5.reg2mem br i1 %38, label LBL_18, label LBL_7 LBL_7: %39 = add i64 %8, 8 %40 = inttoptr i64 %39 to i64* %41 = call i32 @pthread_mutex_init(i64* %40, i64* null) %42 = zext i32 %41 to i64 %43 = icmp eq i32 %41, 0 %44 = icmp eq i1 %43, false store i64 %42, i64* %sv_0.4.in.reg2mem br i1 %44, label LBL_17, label LBL_8 LBL_8: %45 = add i64 %8, 48 %46 = inttoptr i64 %45 to i64* %47 = call i32 @pthread_mutex_init(i64* %46, i64* null) %48 = zext i32 %47 to i64 %49 = icmp eq i32 %47, 0 %50 = icmp eq i1 %49, false store i64 %48, i64* %sv_0.3.in.reg2mem br i1 %50, label LBL_16, label LBL_9 LBL_9: %51 = call i64 @FUNC(i64 %3) %52 = trunc i64 %51 to i32 %53 = icmp slt i32 %52, 0 store i64 %51, i64* %sv_0.2.in.in.reg2mem br i1 %53, label LBL_15, label LBL_10 LBL_10: %54 = call i64 @FUNC(i64 %8) %55 = trunc i64 %54 to i32 %56 = icmp slt i32 %55, 0 store i64 %54, i64* %sv_0.1.in.in.reg2mem br i1 %56, label LBL_14, label LBL_11 LBL_11: %57 = trunc i64 %3 to i32 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i64 %3, i64* %sv_0.0.in.in.reg2mem br i1 %59, label LBL_13, label LBL_12 LBL_12: %60 = call i64 @FUNC(i64 %3, i64 4199098) %61 = trunc i64 %60 to i32 %62 = icmp slt i32 %61, 0 store i64 %60, i64* %sv_0.0.in.in.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %62, label LBL_13, label LBL_19 LBL_13: %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %63 = call i64 @FUNC(i64 %8) store i64 %sv_0.0.in.in.reload, i64* %sv_0.1.in.in.reg2mem br label LBL_14 LBL_14: %sv_0.1.in.in.reload = load i64, i64* %sv_0.1.in.in.reg2mem %64 = call i64 @FUNC(i64 %3, i64 1) store i64 %sv_0.1.in.in.reload, i64* %sv_0.2.in.in.reg2mem br label LBL_15 LBL_15: %sv_0.2.in.in.reload = load i64, i64* %sv_0.2.in.in.reg2mem %sv_0.2.in = and i64 %sv_0.2.in.in.reload, 4294967295 %65 = call i32 @pthread_mutex_destroy(i64* %46) store i64 %sv_0.2.in, i64* %sv_0.3.in.reg2mem br label LBL_16 LBL_16: %sv_0.3.in.reload = load i64, i64* %sv_0.3.in.reg2mem %66 = call i32 @pthread_mutex_destroy(i64* %40) store i64 %sv_0.3.in.reload, i64* %sv_0.4.in.reg2mem br label LBL_17 LBL_17: %sv_0.4.in.reload = load i64, i64* %sv_0.4.in.reg2mem %sv_0.4 = inttoptr i64 %sv_0.4.in.reload to i64* %67 = call i32 @pthread_spin_destroy(i32* %30) store i64* %sv_0.4, i64** %sv_0.5.reg2mem br label LBL_18 LBL_18: %sv_0.5.reload = load i64*, i64** %sv_0.5.reg2mem call void @free(i64* %5) %68 = ptrtoint i64* %sv_0.5.reload to i64 %69 = and i64 %68, 4294967295 store i64 %69, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %47, { 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i64 %20, { 1, 0, 2 } uselistorder i32 %11, { 0, 2, 1 } uselistorder i64* %5, { 0, 3, 1, 2 } uselistorder i64 %3, { 5, 3, 0, 4, 6, 7, 8, 10, 9, 2, 12, 11, 1, 14, 13, 15 } uselistorder i64** %sv_0.5.reg2mem, { 0, 3, 4, 5, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i64*)* @pthread_mutex_destroy, { 1, 0 } uselistorder i32 (i64*, i64*)* @pthread_mutex_init, { 1, 0 } uselistorder i64* inttoptr (i32 -22 to i64*), { 2, 1, 0 } uselistorder i64 (i64, i8*)* @tcmu_dev_err, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10 } uselistorder i64 (i64, i8*)* @tcmu_get_attribute, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0, 7 } uselistorder i64* null, { 1, 2, 0 } uselistorder label LBL_19, { 2, 0, 1 } uselistorder label LBL_18, { 2, 0, 1, 3, 4 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } }
0
CompRealVul
ssl_init_10523
ssl_init
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* @memset(i64* %arg1, i32 0, i32 112) store i64 4198758, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198769, i64* %3, align 8 %4 = load i32, i32* @gv_0, align 4 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = add i64 %0, 20 %8 = inttoptr i64 %7 to i32* store i32 3, i32* %8, align 4 %9 = add i64 %0, 24 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = call i64* @malloc(i32 32) %12 = ptrtoint i64* %11 to i64 %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %0, i64 4210788) %16 = load i64, i64* bitcast ([2 x i8*]* @gv_1 to i64*), align 8 %17 = add i64 %0, 104 %18 = call i64 @FUNC(i64 %17, i64 16, i64 %16) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %18, i64* %sv_0.0.reg2mem br i1 %21, label LBL_2, label LBL_1 LBL_1: %22 = load [11 x i8]*, [11 x i8]** @gv_2, align 8 %23 = ptrtoint [11 x i8]* %22 to i64 %24 = add i64 %0, 108 %25 = call i64 @FUNC(i64 %24, i64 16, i64 %23) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i64 %25, i64* %sv_0.0.reg2mem br i1 %27, label LBL_3, label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %28 = and i64 %sv_0.0.reload, 4294967295 %29 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %28) store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_3: %30 = call i64* @malloc(i32 1024) %31 = ptrtoint i64* %30 to i64 %32 = add i64 %0, 40 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = add i64 %31, 8 %35 = add i64 %0, 48 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 %37 = load i64, i64* %33, align 8 %38 = add i64 %37, 13 %39 = add i64 %0, 56 %40 = inttoptr i64 %39 to i64* store i64 %38, i64* %40, align 8 %41 = load i64, i64* %33, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_5, label LBL_4 LBL_4: %44 = call i64 @FUNC(i64 1, i64 1024) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %45 = call i64* @malloc(i32 1024) %46 = ptrtoint i64* %45 to i64 %47 = add i64 %0, 64 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 %49 = add i64 %46, 8 %50 = add i64 %0, 72 %51 = inttoptr i64 %50 to i64* store i64 %49, i64* %51, align 8 %52 = load i64, i64* %48, align 8 %53 = add i64 %52, 40 %54 = add i64 %0, 80 %55 = inttoptr i64 %54 to i64* store i64 %53, i64* %55, align 8 %56 = load i64, i64* %48, align 8 %57 = icmp eq i64 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_7, label LBL_6 LBL_6: %59 = call i64 @FUNC(i64 1, i64 1024) %60 = load i64, i64* %33, align 8 %61 = inttoptr i64 %60 to i64* call void @free(i64* %61) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %62 = load i64, i64* %33, align 8 %63 = inttoptr i64 %62 to i64* %64 = call i64* @memset(i64* %63, i32 0, i32 1024) %65 = load i64, i64* %48, align 8 %66 = inttoptr i64 %65 to i64* %67 = call i64* @memset(i64* %66, i32 0, i32 1024) %68 = add i64 %0, 88 %69 = inttoptr i64 %68 to i64* store i64 0, i64* %69, align 8 %70 = add i64 %0, 96 %71 = inttoptr i64 %70 to i64* store i64 0, i64* %71, align 8 %72 = call i64 @FUNC(i64 %0) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = and i64 %72, 4294967295 %spec.select = select i1 %74, i64 0, i64 %75 ret i64 %spec.select LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %48, { 1, 0, 2, 3 } uselistorder i64* %33, { 1, 0, 2, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @SSL_DEBUG_MSG, { 1, 0 } uselistorder i32 1024, { 2, 3, 0, 1 } uselistorder i64 (i64, i64, i64)* @mpi_read_string, { 1, 0 } uselistorder i64* (i32)* @malloc, { 2, 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 } }
0
CompRealVul
xuartps_set_baud_rate_18381
xuartps_set_baud_rate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %3 = trunc i64 %arg2 to i32 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = and i64 %1, 4294967295 %9 = bitcast i32* %sv_0 to i64* %10 = bitcast i32* %sv_1 to i64* %11 = bitcast i32* %sv_2 to i64* %12 = call i64 @FUNC(i64 %8, i32 %3, i64* nonnull %9, i64* nonnull %10, i64* nonnull %11) %13 = call i64 @FUNC(i64 0) %14 = load i32, i32* %sv_2, align 4 %15 = icmp eq i32 %14, 0 %16 = and i64 %13, 4294967294 %17 = or i64 %13, 1 %storemerge = select i1 %15, i64 %16, i64 %17 %18 = and i64 %storemerge, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 0) %20 = load i32, i32* %sv_1, align 4 %21 = zext i32 %20 to i64 %22 = call i64 @FUNC(i64 %21, i64 4) %23 = load i32, i32* %sv_0, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 8) store i32 %3, i32* %7, align 4 %26 = and i64 %12, 4294967295 ret i64 %26 uselistorder i64 (i64, i64)* @xuartps_writel, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } }
1
CompRealVul
r_io_plugin_init_17765
r_io_plugin_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i32 %.reg2mem2 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* store i64 %0, i64* %2, align 8 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = load i64, i64* @gv_0, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %.reg2mem store i64 0, i64* %.reg2mem2 store i32 0, i32* %storemerge1.reg2mem br i1 %9, label LBL_1, label LBL_6 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %10 = inttoptr i64 %.reload to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_5, label LBL_2 LBL_2: %.reload3 = load i64, i64* %.reg2mem2 %13 = call i64* @malloc(i32 24) %14 = ptrtoint i64* %13 to i64 %15 = load i64, i64* @gv_0, align 8 %16 = add i64 %15, %.reload3 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = inttoptr i64 %18 to i64* %20 = call i64* @memcpy(i64* %13, i64* %19, i32 24) %21 = load i64, i64* %13, align 8 %22 = inttoptr i64 %21 to i8* %23 = call i32 @strncmp(i8* %22, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 7) %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_4, label LBL_3 LBL_3: store i64 %14, i64* @gv_2, align 8 br label LBL_5 LBL_4: %26 = call i64 @FUNC(i64 %0, i64 %14) br label LBL_5 LBL_5: %27 = add i32 %storemerge1.reload, 1 %28 = load i64, i64* @gv_0, align 8 %29 = sext i32 %27 to i64 %30 = mul i64 %29, 8 %31 = add i64 %28, %30 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 %33, i64* %.reg2mem store i64 %30, i64* %.reg2mem2 store i32 %27, i32* %storemerge1.reg2mem br i1 %35, label LBL_1, label LBL_6 LBL_6: ret i64 1 uselistorder i64 %0, { 0, 1, 2, 4, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem2, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } uselistorder label LBL_1, { 1, 0 } }
1
CompRealVul
make_argv_5792
make_argv
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.09.reg2mem = alloca i64 %sv_1.010.in.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %arg1 to i8* store i8 0, i8* %3, align 1 %storemerge7 = add i32 %arg3, -1 %4 = icmp sgt i32 %storemerge7, 0 %5 = icmp eq i64 %arg2, 0 %6 = icmp eq i1 %5, false %or.cond8 = icmp eq i1 %6, %4 br i1 %or.cond8, label LBL_1, label LBL_3 LBL_1: %7 = add i64 %2, %arg2 store i32 %storemerge7, i32* %storemerge11.reg2mem store i64 %arg4, i64* %sv_1.010.in.reg2mem store i64 %arg2, i64* %sv_0.09.reg2mem br label LBL_2 LBL_2: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %sv_1.010.in.reload = load i64, i64* %sv_1.010.in.reg2mem %storemerge11.reload = load i32, i32* %storemerge11.reg2mem %sv_1.010 = add i64 %sv_1.010.in.reload, 8 %8 = inttoptr i64 %sv_1.010 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i8* %11 = call i32 @strncmp(i8* %10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 10) %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false %14 = load i64, i64* %8, align 8 %15 = inttoptr i64 %14 to i8* %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i32 2) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %19 = load i64, i64* %8, align 8 %20 = inttoptr i64 %19 to i8* %21 = call i32 @strncmp(i8* %20, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i32 13) %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false %24 = load i64, i64* %8, align 8 %25 = inttoptr i64 %24 to i8* %26 = call i32 @strncmp(i8* %25, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i32 13) %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false %29 = load i64, i64* %8, align 8 %30 = inttoptr i64 %29 to i8* %31 = call i32 @strncmp(i8* %30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i32 16) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false %34 = load i64, i64* %8, align 8 %35 = inttoptr i64 %34 to i8* %36 = call i32 @strncmp(i8* %35, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i32 16) %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false %39 = icmp slt i32 %storemerge11.reload, 2 %. = select i1 %39, i64 0, i64 32 %40 = sub i64 %7, %sv_0.09.reload %41 = select i1 %13, i64 %9, i64 ptrtoint ([15 x i8]* @gv_6 to i64) %42 = select i1 %18, i64 %41, i64 ptrtoint ([6 x i8]* @gv_7 to i64) %43 = select i1 %23, i64 %42, i64 ptrtoint ([18 x i8]* @gv_8 to i64) %44 = select i1 %28, i64 %43, i64 ptrtoint ([18 x i8]* @gv_9 to i64) %45 = select i1 %33, i64 %44, i64 ptrtoint ([21 x i8]* @gv_10 to i64) %46 = select i1 %38, i64 %45, i64 ptrtoint ([21 x i8]* @gv_11 to i64) %47 = call i64 @FUNC(i64 %40, i64 %sv_0.09.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 %46, i64 %., i64 %1) %48 = sub i64 %sv_0.09.reload, %47 %storemerge = add i32 %storemerge11.reload, -1 %49 = icmp sgt i32 %storemerge, 0 %50 = icmp eq i64 %48, 0 %51 = icmp eq i1 %50, false %or.cond = icmp eq i1 %49, %51 store i32 %storemerge, i32* %storemerge11.reg2mem store i64 %sv_1.010, i64* %sv_1.010.in.reg2mem store i64 %48, i64* %sv_0.09.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_3: ret i64 %2 uselistorder i32 %storemerge11.reload, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.010.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 %arg2, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
handle_emulation_failure_12636
handle_emulation_failure
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, 1 store i32 %3, i32* %arg1, align 4 %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* store i32 1, i32* %9, align 4 %10 = load i64, i64* %7, align 8 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* store i32 2, i32* %12, align 4 %13 = load i64, i64* %7, align 8 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = call i64 @FUNC(i64 %4, i64 3) ret i64 4294967295 }
1
CompRealVul
raw_release_6618
raw_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_9 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i32* %5 = add i64 %3, 24 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %2) %8 = load i32, i32* %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_5, label LBL_3 LBL_3: %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 4210733, i64 %14) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_6, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %15, i64 %2) %18 = call i64 @FUNC(i64 %15) br label LBL_6 LBL_5: %19 = call i64 @FUNC(i64 0, i64 %2) br label LBL_6 LBL_6: %20 = add i64 %3, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp slt i32 %22, 2 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = add i64 %3, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) br label LBL_8 LBL_8: %28 = add i64 %3, 4 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 store i32 0, i32* %4, align 4 store i32 0, i32* %21, align 4 %30 = call i64 @FUNC(i64 %2) store i64 0, i64* %arg1, align 8 %31 = call i64 @FUNC(i64 %2) %32 = call i64 @FUNC(i64 %2) br label LBL_9 LBL_9: ret i64 0 uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %3, { 0, 1, 2, 3, 5, 4 } uselistorder i64 %2, { 3, 2, 4, 1, 0, 6, 5 } uselistorder i64 (i64, i64)* @raw_disable_allfilters, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } }
0
CompRealVul
bdrv_io_limits_enable_15955
bdrv_io_limits_enable
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %5 = ptrtoint i8* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %5, 4 %8 = call i64 @FUNC(i64 %7, i64 %6, i64 0, i64 4198739, i64 4198746, i64 %5) store i8 1, i8* %arg1, align 1 ret i64 %5 uselistorder i8 1, { 1, 0 } }
1
CompRealVul
vmsvga_check_size_1375
vmsvga_check_size
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 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC(i64 %1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %4, %6 %8 = icmp eq i1 %7, false %.pre = add i64 %0, 20 %.pre1 = inttoptr i64 %.pre to i32* br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = load i32, i32* %.pre1, align 4 %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %9, %11 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = add i64 %0, 24 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i64 @FUNC(i64 %1) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %16, %18 store i64 %17, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = add i64 %0, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = load i32, i32* %3, align 4 %24 = mul i32 %23, %22 %25 = sdiv i32 %24, 128 %26 = load i32, i32* %.pre1, align 4 %27 = zext i32 %26 to i64 %28 = zext i32 %23 to i64 %29 = call i64 @FUNC(i64 %28, i64 %27, i32 %22) %30 = add i64 %0, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = load i32, i32* %21, align 4 %34 = load i32, i32* %.pre1, align 4 %35 = load i32, i32* %3, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %36, i32 %34, i32 %33, i32 %25, i64 %32, i64 0) %38 = call i64 @FUNC(i64 %36, i64 %37) %39 = add i64 %0, 28 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %23, { 1, 0 } uselistorder i32 %22, { 1, 0 } uselistorder i64 %0, { 0, 3, 4, 5, 2, 1, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 2, 0 } }
0
CompRealVul
tlb_flush_nocheck_14322
tlb_flush_nocheck
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 store i32 ptrtoint (i64* @gv_1 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %6) %8 = call i64 @FUNC() %9 = call i64* @memset(i64* bitcast ([13 x i8]* @gv_2 to i64*), i32 -1, i32 8) %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = call i64* @memset(i64* %13, i32 -1, i32 8) %15 = call i64* @memset(i64* %11, i32 0, i32 1024) %16 = add i64 %3, 16 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %3, 20 %19 = inttoptr i64 %18 to i32* store i32 -1, i32* %19, align 4 %20 = add i64 %3, 24 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = call i64 @FUNC() %23 = add i64 %3, 1032 %24 = call i64 @FUNC(i64 %23, i64 0) store i64 %24, 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*, i32, i32)* @memset, { 1, 0, 2 } uselistorder i32 -1, { 2, 0, 1 } uselistorder [13 x i8]* @gv_2, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
function_stat_show_10741
function_stat_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = icmp eq i64* %arg2, null %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967280, i64* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_4 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %8, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = ptrtoint i64* %sv_2 to i64 %14 = call i64 @FUNC(i64 %12, i64 0, i64 0, i64 0, i64* nonnull %sv_2) %15 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 0, i64 %13, i64 %1) %16 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_2, i64 0, i64 %13, i64 %1) %17 = add i64 %8, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 ptrtoint ([5 x i8]* @gv_2 to i64)) store i64 0, i64* %sv_1.0.reg2mem br i1 xor (i1 or (i1 icmp ult (i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 1), i1 icmp eq (i64 sub (i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 1), i64 0)), i1 true), label LBL_2, label LBL_3 LBL_2: %21 = add i64 %8, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = mul i64 %19, ptrtoint ([5 x i8]* @gv_2 to i64) %25 = mul i64 %24, %19 %26 = sub i64 %23, %25 %27 = call i64 @FUNC(i64 %26, i64 add (i64 mul (i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 1000), i64 -1000)) store i64 %26, i64* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %28 = call i64 @FUNC(i64 4210768) %29 = load i64, i64* %18, align 8 %30 = call i64 @FUNC(i64 %29, i64 4210768) %31 = call i64 @FUNC(i64 4210768, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %32 = call i64 @FUNC(i64 %19, i64 4210768) %33 = call i64 @FUNC(i64 4210768, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %34 = call i64 @FUNC(i64 %sv_1.0.reload, i64 4210768) %35 = call i64 @FUNC(i64 %9, i64 4210768) %36 = call i64 @FUNC(i64 %9, i64 10) store i64 0, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %37 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %sv_0.0.reload uselistorder i64 %19, { 2, 0, 1, 3 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %9, { 1, 0, 3, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*)* @trace_seq_puts, { 1, 0 } uselistorder i64 (i64, i64)* @trace_print_graph_duration, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64)* @do_div, { 1, 0 } uselistorder i64 ptrtoint ([5 x i8]* @gv_2 to i64), { 1, 0, 3, 2, 4 } uselistorder [5 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @seq_printf, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
match_ext_604
match_ext
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_2 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_9 LBL_1: %2 = inttoptr i64 %arg1 to i8* %3 = call i8* @strrchr(i8* %2, i32 46) %4 = icmp eq i8* %3, null store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_9, label LBL_2 LBL_2: %5 = ptrtoint i8* %3 to i64 %6 = add i64 %5, 1 %7 = inttoptr i64 %6 to i8* %8 = bitcast i64* %sv_2 to i8* %9 = ptrtoint i64* %sv_2 to i64 store i64 %arg2, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %sv_1.0.reg2mem store i8* %8, i8** %sv_0.0.reg2mem br label LBL_5 LBL_4: %10 = add i64 %sv_1.0.reload, 1 %11 = add i64 %15, 1 %12 = inttoptr i64 %11 to i8* store i8 %14, i8* %sv_0.0.reload, align 1 store i64 %10, i64* %sv_1.0.reg2mem store i8* %12, i8** %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %13 = inttoptr i64 %sv_1.0.reload to i8* %14 = load i8, i8* %13, align 1 switch i8 %14, label LBL_6 [ i8 0, label LBL_7 i8 44, label LBL_7 ] LBL_6: %15 = ptrtoint i8* %sv_0.0.reload to i64 %16 = sub i64 %15, %9 %17 = icmp ult i64 %16, 31 br i1 %17, label LBL_4, label LBL_7 LBL_7: store i8 0, i8* %sv_0.0.reload, align 1 %18 = call i32 @strcasecmp(i8* nonnull %8, i8* %7) %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 1, i64* %rax.0.reg2mem br i1 %20, label LBL_8, label LBL_9 LBL_8: %21 = load i8, i8* %13, align 1 %22 = icmp eq i8 %21, 0 %23 = add i64 %sv_1.0.reload, 1 store i64 %23, i64* %storemerge.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_9, label LBL_3 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0 } uselistorder i8 %14, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i8* %sv_0.0.reload, { 2, 0, 1 } uselistorder i8* %8, { 1, 0 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 1, { 1, 0, 2, 3, 4 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
0
CompRealVul
vmx_free_vcpu_18340
vmx_free_vcpu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = inttoptr i64 %0 to i32* %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = load i32, i32* %1, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i64, i64* @gv_1, align 8 %6 = zext i32 %3 to i64 %7 = call i64 @FUNC(i64 %6, i64 %5) br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64* nonnull @gv_0) %9 = call i64 @FUNC(i64 %arg1) %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %arg1) %15 = load i64, i64* @gv_2, align 8 %16 = call i64 @FUNC(i64 %15, i64 %0) ret i64 %16 }
1
CompRealVul
mix_pool_5610
mix_pool
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %spec.select9.reg2mem = alloca i64 %indvars.iv.next10.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = add i64 %0, 1024 %2 = call i64 @FUNC(i64* nonnull %sv_1) store i64 %1, i64* %sv_1, align 8 %3 = add i64 %0, 1004 %4 = inttoptr i64 %1 to i64* %5 = inttoptr i64 %3 to i64* %6 = call i64* @memcpy(i64* %4, i64* %5, i32 20) %7 = add i64 %0, 1044 %8 = inttoptr i64 %7 to i64* %9 = call i64* @memcpy(i64* %8, i64* %arg1, i32 44) %10 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %11 = call i64* @memcpy(i64* %arg1, i64* %4, i32 20) %12 = inttoptr i64 %1 to i8* store i32 1, i32* %storemerge6.reg2mem store i64 %0, i64* %sv_0.04.reg2mem br label LBL_1 LBL_1: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %13 = add i64 %sv_0.04.reload, 64 %14 = load i64, i64* %sv_1, align 8 %15 = icmp ugt i64 %14, %13 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = icmp ult i64 %sv_0.04.reload, %14 %spec.select8 = select i1 %16, i64 %sv_0.04.reload, i64 %0 %17 = inttoptr i64 %spec.select8 to i8* %18 = load i8, i8* %17, align 1 store i8 %18, i8* %12, align 1 store i64 1, i64* %indvars.iv.next10.reg2mem store i64 %spec.select8, i64* %spec.select9.reg2mem br label LBL_4 LBL_3: %19 = inttoptr i64 %sv_0.04.reload to i64* %20 = call i64* @memcpy(i64* %4, i64* %19, i32 64) br label LBL_5 LBL_4: %spec.select9.reload = load i64, i64* %spec.select9.reg2mem %indvars.iv.next10.reload = load i64, i64* %indvars.iv.next10.reg2mem %21 = add i64 %spec.select9.reload, 1 %.pre = load i64, i64* %sv_1, align 8 %22 = icmp ult i64 %21, %.pre %spec.select = select i1 %22, i64 %21, i64 %0 %23 = add i64 %indvars.iv.next10.reload, %1 %24 = inttoptr i64 %spec.select to i8* %25 = load i8, i8* %24, align 1 %26 = inttoptr i64 %23 to i8* store i8 %25, i8* %26, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.next10.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 64 store i64 %indvars.iv.next, i64* %indvars.iv.next10.reg2mem store i64 %spec.select, i64* %spec.select9.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %27 = call i64 @FUNC(i64* nonnull %sv_1, i64 %1) %28 = add i64 %sv_0.04.reload, 20 %29 = inttoptr i64 %28 to i64* %30 = call i64* @memcpy(i64* %29, i64* %4, i32 20) %31 = add nuw nsw i32 %storemerge6.reload, 1 %exitcond7 = icmp eq i32 %31, 16 store i32 %31, i32* %storemerge6.reg2mem store i64 %28, i64* %sv_0.04.reg2mem br i1 %exitcond7, label LBL_6, label LBL_1 LBL_6: %32 = call i64 @FUNC(i64 384) ret i64 %32 uselistorder i64 %indvars.iv.next10.reload, { 1, 0 } uselistorder i64 %sv_0.04.reload, { 2, 1, 4, 3, 0 } uselistorder i64 %1, { 2, 1, 0, 4, 5, 3 } uselistorder i64* %sv_1, { 1, 0, 4, 2, 5, 3 } uselistorder i64 %0, { 2, 1, 0, 4, 3, 5 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.next10.reg2mem, { 1, 0, 2 } uselistorder i64* %spec.select9.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 (i64*, i64)* @rmd160_mixblock, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 4, 3, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
0
CompRealVul
io_async_task_func_19146
io_async_task_func
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %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 = add i64 %2, 24 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %2, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %5, i64 %12, i64 %8) %14 = call i64 @FUNC(i64 %2, i64 %2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = call i64 @FUNC(i64 %5) store i64 %17, i64* %storemerge.reg2mem br label LBL_8 LBL_2: %18 = add i64 %2, 32 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %18) br label LBL_4 LBL_4: %23 = trunc i64 %1 to i32 %24 = load i64, i64* %4, align 8 %25 = call i64 @FUNC(i64 %2, i64 %24) %26 = call i64 @FUNC(i64 %5) %27 = icmp eq i32 %23, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %2) br label LBL_7 LBL_6: %30 = call i64 @FUNC(i64 %2, i64 4294967171) br label LBL_7 LBL_7: %31 = load i64, i64* %4, align 8 %32 = call i64 @FUNC(i64 %31) %33 = call i64 @FUNC(i64 %2) store i64 %33, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %2, { 0, 1, 2, 3, 4, 6, 5, 7, 8, 9 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 } }
1
CompRealVul
DefragIPv4TooLargeTest_11069
DefragIPv4TooLargeTest
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.045.reg2mem = alloca i64 %sv_0.0.ph.ph.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = icmp eq i64 %1, 0 store i64 0, i64* %sv_0.045.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 1, i64 8183, i64 0, i64 65, i64 71) %4 = icmp eq i64 %3, 0 br i1 %4, label LBL_5, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 0, i64 0, i64 %3, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %sv_0.0.ph.ph.reg2mem br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = call i64 @FUNC(i64 %3, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 0, i64* %sv_0.0.ph.ph.reg2mem br i1 %10, label LBL_6, label LBL_4 LBL_4: %11 = inttoptr i64 %1 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 store i64 1, i64* %sv_0.0.ph.ph.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %15, label LBL_6, label LBL_8 LBL_5: %16 = call i64 @FUNC(i64 %1) store i64 0, i64* %sv_0.045.reg2mem br label LBL_7 LBL_6: %sv_0.0.ph.ph.reload = load i64, i64* %sv_0.0.ph.ph.reg2mem %17 = call i64 @FUNC(i64 %1) %18 = call i64 @FUNC(i64 %3) store i64 %sv_0.0.ph.ph.reload, i64* %sv_0.045.reg2mem br label LBL_7 LBL_7: %sv_0.045.reload = load i64, i64* %sv_0.045.reg2mem %19 = call i64 @FUNC() store i64 %sv_0.045.reload, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %sv_0.045.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 1, { 0, 2, 3, 1 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
CompRealVul
av1_parse_tile_group_12748
av1_parse_tile_group
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %rcx.0.in.reg2mem = alloca i64 %.pn.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = mul i32 %9, %6 %11 = icmp slt i32 %10, 2 br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = call i64 @FUNC(i64 %5, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = add i32 %10, -1 store i32 0, i32* %sv_1.0.reg2mem store i32 %16, i32* %storemerge3.reg2mem br label LBL_4 LBL_3: %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %4, 12 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i32 %22, %19 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %5, i64 %24) %26 = trunc i64 %25 to i32 %27 = call i64 @FUNC(i64 %5, i64 %24) %28 = trunc i64 %27 to i32 store i32 %26, i32* %sv_1.0.reg2mem store i32 %28, i32* %storemerge3.reg2mem br label LBL_4 LBL_4: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %29 = call i64 @FUNC(i64 %5) %30 = add i64 %4, 20 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = icmp ugt i32 %sv_1.0.reload, %storemerge3.reload store i64 0, i64* %sv_0.0.reg2mem br i1 %32, label LBL_12, label LBL_5 LBL_5: %33 = trunc i64 %arg3 to i32 %34 = trunc i64 %arg4 to i32 %35 = add i32 %34, %33 %36 = add i64 %4, 16 %37 = inttoptr i64 %36 to i32* %38 = add i64 %4, 24 %39 = add i64 %4, 28 store i32 %sv_1.0.reload, i32* %storemerge6.reg2mem br label LBL_6 LBL_6: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %40 = icmp eq i32 %storemerge6.reload, %storemerge3.reload %41 = call i64 @FUNC(i64 %5) %42 = icmp eq i1 %40, false br i1 %42, label LBL_8, label LBL_7 LBL_7: %43 = trunc i64 %41 to i32 %44 = sub i32 %35, %43 store i32 %43, i32* %.pn.reg2mem store i64 %arg4, i64* %rcx.0.in.reg2mem store i32 %44, i32* %storemerge2.reg2mem br label LBL_9 LBL_8: %45 = load i32, i32* %37, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %5, i64 %46) %48 = call i64 @FUNC(i64 %5) %49 = trunc i64 %48 to i32 %50 = trunc i64 %47 to i32 %51 = add i32 %50, 1 store i32 %49, i32* %.pn.reg2mem store i64 %arg3, i64* %rcx.0.in.reg2mem store i32 %51, i32* %storemerge2.reg2mem br label LBL_9 LBL_9: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.pn.reload = load i32, i32* %.pn.reg2mem %sv_2.0 = sub i32 %.pn.reload, %33 %52 = add i32 %storemerge2.reload, %sv_2.0 %53 = zext i32 %52 to i64 %54 = icmp ugt i64 %53, %arg4 %55 = icmp eq i1 %54, false br i1 %55, label LBL_11, label LBL_10 LBL_10: %rcx.0.in.reload = load i64, i64* %rcx.0.in.reg2mem %rcx.0 = and i64 %rcx.0.in.reload, 4294967295 %56 = call i64 @FUNC(i64 1, i64 2, i64 %arg4, i64 %rcx.0, i64 %2, i64 %1) store i64 4294967295, i64* %sv_0.0.reg2mem br label LBL_12 LBL_11: %57 = load i32, i32* %31, align 4 %58 = zext i32 %57 to i64 %59 = mul i64 %58, 8 %60 = add i64 %38, %59 %61 = inttoptr i64 %60 to i32* store i32 %sv_2.0, i32* %61, align 4 %62 = load i32, i32* %31, align 4 %63 = zext i32 %62 to i64 %64 = mul i64 %63, 8 %65 = add i64 %39, %64 %66 = inttoptr i64 %65 to i32* store i32 %storemerge2.reload, i32* %66, align 4 %67 = zext i32 %storemerge2.reload to i64 %68 = call i64 @FUNC(i64 %5, i64 %67) %69 = load i32, i32* %31, align 4 %70 = add i32 %69, 1 store i32 %70, i32* %31, align 4 %71 = add i32 %storemerge6.reload, 1 %72 = icmp ugt i32 %71, %storemerge3.reload store i32 %71, i32* %storemerge6.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %72, label LBL_12, label LBL_6 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %73 = add i32 %10, -1 %74 = icmp eq i32 %storemerge3.reload, %73 %75 = icmp eq i1 %74, false br i1 %75, label LBL_14, label LBL_13 LBL_13: %76 = call i64 @FUNC(i64 %4) br label LBL_14 LBL_14: ret i64 %sv_0.0.reload uselistorder i32 %sv_2.0, { 1, 0 } uselistorder i32 %storemerge2.reload, { 1, 0, 2 } uselistorder i32 %33, { 1, 0 } uselistorder i32* %31, { 1, 0, 2, 3, 4 } uselistorder i32 %storemerge3.reload, { 2, 1, 0, 3 } uselistorder i64 %5, { 3, 5, 4, 6, 7, 2, 1, 0 } uselistorder i64 %4, { 5, 0, 1, 4, 6, 3, 2, 7 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %.pn.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.0.in.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @gf_bs_get_position, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 0 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 2, 1, 0 } uselistorder i64 %arg4, { 3, 1, 0, 2 } uselistorder label LBL_12, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
qxl_init_secondary_3585
qxl_init_secondary
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, -32 %2 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %3 = add i32 %2, 1 store i32 %3, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = inttoptr i64 %1 to i32* store i32 %2, i32* %4, align 4 %5 = call i64 @FUNC(i64 %1) %6 = add i64 %0, -24 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = add i64 %0, -16 %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %10) %12 = call i64 @FUNC(i64 %9, i64 %0) %13 = call i64 @FUNC(i64 %9) %14 = add i64 %0, -8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 %1) ret i64 %16 uselistorder i64 %1, { 2, 1, 0 } }
0
CompRealVul
kvm_arch_remove_sw_breakpoint_14537
kvm_arch_remove_sw_breakpoint
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: ret i64 4294967274 }
1
CompRealVul
part_fini_18113
part_fini
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) store i64 0, i64* @gv_0, align 8 br label LBL_2 LBL_2: %3 = load i64, i64* @gv_1, align 8 %4 = call i64 @FUNC(i64 %3) store i64 0, i64* @gv_2, align 8 ret i64 %4 }
1
CompRealVul
rfc822_parse_phrase_18840
rfc822_parse_phrase
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %.reg2mem = alloca i8 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i8 %2 = icmp eq i8 %1, 46 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %0, 72057594037927936 %5 = ashr exact i64 %sext, 56 %6 = and i64 %5, 4294967295 %7 = trunc i64 %5 to i8 %8 = icmp eq i8 %7, 34 %9 = icmp eq i8 %7, 46 %10 = trunc i64 %4 to i8 store i8 %1, i8* %.reg2mem br label LBL_2 LBL_2: %.reload = load i8, i8* %.reg2mem %11 = icmp eq i8 %.reload, 34 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %0, i64 %4) store i64 %13, i64* %storemerge.in.reg2mem br label LBL_5 LBL_4: %14 = call i64 @FUNC(i64 %0, i64 %4) store i64 %14, i64* %storemerge.in.reg2mem br label LBL_5 LBL_5: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %15 = icmp eq i32 %storemerge, 0 %16 = icmp slt i32 %storemerge, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 br i1 %19, label LBL_7, label LBL_6 LBL_6: %20 = and i64 %storemerge.in.reload, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %21 = call i64 @FUNC(i64 %6) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false %or.cond.not = or i1 %9, %8 %brmerge = or i1 %24, %or.cond.not br i1 %brmerge, label LBL_8, label LBL_9 LBL_8: %25 = call i64 @FUNC(i64 %4, i64 32) store i8 %10, i8* %.reg2mem br label LBL_2 LBL_9: %26 = call i64 @FUNC(i64 %0) store i64 %26, 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 %storemerge, { 1, 0 } uselistorder i64 %storemerge.in.reload, { 1, 0 } uselistorder i8 %7, { 1, 0 } uselistorder i64 %4, { 1, 2, 3, 0 } uselistorder i64 %0, { 2, 3, 4, 0, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i8 34, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
gf_bs_read_ue_log_idx3_13036
gf_bs_read_ue_log_idx3
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.01423.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 store i32 0, i32* %sv_0.01423.reg2mem store i64 4294967295, i64* %.reg2mem br label LBL_5 LBL_1: %3 = trunc i64 %15 to i32 %4 = icmp slt i32 %3, 32 store i32 %14, i32* %sv_0.01423.reg2mem store i64 %16, i64* %.reg2mem br i1 %4, label LBL_5, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 1, i64 2, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0), i64 %arg4, i64 %arg5, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_4: %10 = inttoptr i64 %16 to i8* %11 = call i64 @FUNC(i64 1, i64 2, i8* %10, i64 %arg4, i64 %arg5, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_5: %.reload = load i64, i64* %.reg2mem %sv_0.01423.reload = load i32, i32* %sv_0.01423.reg2mem %12 = call i64 @FUNC(i64 %2, i64 1) %13 = trunc i64 %12 to i32 %14 = add nuw nsw i32 %sv_0.01423.reload, 1 %15 = add nuw nsw i64 %.reload, 1 %16 = and i64 %15, 4294967295 %17 = icmp eq i32 %13, 0 br i1 %17, label LBL_1, label LBL_6 LBL_6: %18 = trunc i64 %15 to i32 %19 = icmp eq i32 %18, 0 store i32 0, i32* %sv_1.0.reg2mem store i32 %14, i32* %sv_0.1.reg2mem br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = call i64 @FUNC(i64 %2, i64 %16) %21 = trunc i64 %20 to i32 %22 = urem i32 %18, 32 %23 = icmp eq i32 %22, 0 %notmask = shl nsw i32 -1, %22 %24 = sub i32 0, %notmask %phitmp = sub i32 %24, 1 %sv_2.0 = select i1 %23, i32 0, i32 %phitmp %25 = add i32 %sv_2.0, %21 %26 = add i32 %14, %18 store i32 %25, i32* %sv_1.0.reg2mem store i32 %26, i32* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %27 = icmp eq i8* %arg2, null br i1 %27, label LBL_10, label LBL_9 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %28 = trunc i64 %arg4 to i32 %29 = trunc i64 %arg3 to i32 %30 = ptrtoint i8* %arg2 to i64 %31 = call i64 @FUNC(i64 %2, i32 %sv_0.1.reload, i64 %30, i32 %sv_1.0.reload, i32 %29, i32 %28) br label LBL_10 LBL_10: %32 = zext i32 %sv_1.0.reload to i64 store i64 %32, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %18, { 2, 0, 1 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %15, { 0, 2, 1 } uselistorder i32 %14, { 2, 0, 1 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @GF_LOG, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 3, 2, 5, 0, 6, 7, 4, 1 } uselistorder i64 %arg5, { 1, 0 } uselistorder i64 %arg4, { 0, 2, 1 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_11, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
cli_hm_scan_19008
cli_hm_scan
define i64 @FUNC(i64 %arg1, i32 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_1.0.ph11.reg2mem = alloca i64 %sv_0.0.ph12.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 %1 = add i32 %arg2, 1 %2 = icmp ult i32 %1, 2 %3 = or i1 %0, %2 %4 = icmp eq i64* %arg4, null %or.cond7 = or i1 %3, %4 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_12, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg4 to i64 %6 = mul i64 %arg5, 8 %7 = and i64 %6, 34359738360 %8 = add i64 %7, %5 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_12 LBL_2: %13 = zext i32 %arg2 to i64 %14 = call i64 @FUNC(i64 %8, i64 %13) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_12 LBL_3: %17 = inttoptr i64 %14 to i64* %18 = load i64, i64* %17, align 8 %19 = mul i64 %arg5, 4 %20 = and i64 %19, 17179869180 %21 = add i64 %20, ptrtoint (i32** @gv_0 to i64) %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = inttoptr i64 %18 to i64* %25 = load i64, i64* %24, align 8 %26 = zext i32 %23 to i64 %27 = add i64 %18, 16 store i64 %25, i64* %sv_0.0.ph12.reg2mem store i64 0, i64* %sv_1.0.ph11.reg2mem br label LBL_4 LBL_4: %sv_1.0.ph11.reload = load i64, i64* %sv_1.0.ph11.reg2mem %sv_0.0.ph12.reload = load i64, i64* %sv_0.0.ph12.reg2mem store i64 %sv_0.0.ph12.reload, i64* %sv_0.010.reg2mem br label LBL_5 LBL_5: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %28 = add i64 %sv_0.010.reload, %sv_1.0.ph11.reload %29 = udiv i64 %28, 2 %30 = mul i64 %29, %26 %31 = add i64 %27, %30 %32 = call i64 @FUNC(i64 %arg1, i64 %31, i32 %23) %33 = trunc i64 %32 to i32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false br i1 %35, label LBL_8, label LBL_6 LBL_6: %36 = icmp ult i64 %28, 2 store i64 0, i64* %rax.0.reg2mem br i1 %36, label LBL_12, label LBL_7 LBL_7: %37 = add nsw i64 %29, -1 %38 = icmp ugt i64 %sv_1.0.ph11.reload, %37 store i64 %37, i64* %sv_0.010.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %38, label LBL_12, label LBL_5 LBL_8: %39 = icmp slt i32 %33, 1 br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = add nuw i64 %29, 1 %41 = icmp ult i64 %29, %sv_0.010.reload store i64 %sv_0.010.reload, i64* %sv_0.0.ph12.reg2mem store i64 %40, i64* %sv_1.0.ph11.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_4, label LBL_12 LBL_10: %42 = icmp eq i64* %arg3, null store i64 1, i64* %rax.0.reg2mem br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = add i64 %18, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = mul i64 %29, 8 %47 = add i64 %45, %46 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 store i64 %49, i64* %arg3, align 8 store i64 1, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 0, 4, 3, 1, 2 } uselistorder i64 %sv_0.010.reload, { 2, 1, 0 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64* %sv_0.0.ph12.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.ph11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2, 6, 8, 7 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 8, { 0, 2, 1 } uselistorder i64* %arg4, { 1, 0 } uselistorder i32 %arg2, { 1, 0 } uselistorder label LBL_12, { 4, 3, 0, 2, 1, 5, 7, 6 } uselistorder label LBL_5, { 1, 0 } }
1
CompRealVul
pci_add_option_rom_14222
pci_add_option_rom
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_16 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_16 LBL_2: %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = add i64 %6, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 768 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_5: %23 = call i64 @FUNC(i64 %17) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %24 = call i64 @FUNC(i64 1, i64 %6) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %.reg2mem br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = call i64 @FUNC(i64 1) store i64 %27, i64* %.reg2mem br label LBL_8 LBL_8: %.reload = load i64, i64* %.reg2mem %28 = call i64 @FUNC(i64 %.reload) %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(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_16 LBL_10: %33 = add i32 %29, -1 %34 = and i32 %33, %29 %35 = icmp eq i32 %34, 0 store i32 %29, i32* %sv_0.0.reg2mem br i1 %35, label LBL_12, label LBL_11 LBL_11: %36 = and i64 %28, 4294967295 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %37 to i32 %39 = urem i32 %38, 32 %40 = shl i32 1, %39 store i32 %40, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %41 = add i64 %6, 32 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %43, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = inttoptr i64 %46 to i64* %49 = load i64, i64* %48, align 8 %50 = bitcast i64* %sv_1 to i8* %51 = inttoptr i64 %49 to i8* %52 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %50, i32 32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %51) br label LBL_15 LBL_14: %53 = inttoptr i64 %43 to i64* %54 = load i64, i64* %53, align 8 %55 = bitcast i64* %sv_1 to i8* %56 = inttoptr i64 %54 to i8* %57 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %55, i32 32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* %56) br label LBL_15 LBL_15: %58 = call i64 @FUNC(i64 %41, i64* nonnull %sv_1, i32 %sv_0.0.reload) %59 = add i64 %6, 24 %60 = inttoptr i64 %59 to i64* store i64 %58, i64* %60, align 8 %61 = call i64 @FUNC(i64 %58) %62 = call i64 @FUNC(i64 %.reload, i64 %61) %63 = call i64 @FUNC(i64 %.reload) %64 = load i64, i64* @gv_3, align 8 %65 = call i64 @FUNC(i64 %6, i64 0, i32 %sv_0.0.reload, i64 0, i64 %64) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %.reload, { 1, 2, 3, 0 } uselistorder i64 %6, { 2, 3, 4, 0, 5, 6, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 3, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i32 32, { 1, 2, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_16, { 4, 5, 1, 0, 2, 3 } }
1
CompRealVul
do_sigreturn_5083
do_sigreturn
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 = add i64 %3, 128 %5 = call i64 @FUNC(i64 0, i64 0, i64 %4, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @llvm.trap() unreachable LBL_2: %8 = call i64 @FUNC(i64 0, i64 0, i64 1) %9 = call i64 @FUNC(i64 0, i64 %4, i64 1) %10 = call i64 @FUNC(i64 11) ret i64 1 uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 0, 2, 3, 4, 1 } }
0
CompRealVul
update_write_order_info_11117
update_write_order_info
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3) %7 = call i64 @FUNC(i64 %3, i64 %arg4) %8 = urem i64 %1, 256 %9 = call i64 @FUNC(i64 %3, i64 %8) %10 = urem i64 %1, 2 %11 = icmp eq i64 %10, 0 %.pre = add i64 %2, 1 %.pre1 = inttoptr i64 %.pre to i8* br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = load i8, i8* %.pre1, align 1 %13 = zext i8 %12 to i64 %14 = call i64 @FUNC(i64 %3, i64 %13) br label LBL_2 LBL_2: %15 = load i8, i8* %.pre1, align 1 %16 = zext i8 %15 to i64 %17 = mul i64 %16, 8 %18 = add i64 %17, ptrtoint (i64* @gv_0 to i64) %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %2, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = call i64 @FUNC(i64 %3, i32 %23, i64 %8, i64 %20) %25 = call i64 @FUNC(i64 %3, i64 %2) %26 = call i64 @FUNC(i64 %3, i64 %6) ret i64 0 uselistorder i64 %3, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @Stream_Write_UINT8, { 1, 0 } uselistorder i64 (i64, i64)* @Stream_SetPosition, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
CompRealVul
uipc_wakeup_locked_13368
uipc_wakeup_locked
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i8, align 1 store i8 1, i8* %sv_0, align 1 %0 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %1 = bitcast i8* %sv_0 to i64* br label LBL_1 LBL_1: %2 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4 %3 = call i32 @send(i32 %2, i64* nonnull %1, i32 1, i32 0) %4 = icmp eq i32 %3, -1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_31, label LBL_2 LBL_2: %6 = call i32* @__errno_location() %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 4 br i1 %8, label LBL_1, label LBL_3 LBL_3: %9 = zext i32 %7 to i64 store i64 %9, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %10 = sext i32 %3 to i64 store i64 %10, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
CompRealVul
pdf_add_codespace_10164
pdf_add_codespace
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, 1 %5 = call i64 @FUNC(i64 %0) %6 = icmp eq i64 %4, %5 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0)) store i64 %9, i64* %rax.0.reg2mem br label LBL_3 LBL_2: %10 = load i64, i64* %2, align 8 %11 = mul i64 %10, 12 %12 = trunc i64 %arg5 to i32 %13 = add i64 %11, %1 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = load i64, i64* %2, align 8 %16 = mul i64 %15, 12 %17 = add i64 %16, %0 %18 = trunc i64 %arg3 to i32 %19 = inttoptr i64 %17 to i32* store i32 %18, i32* %19, align 4 %20 = load i64, i64* %2, align 8 %21 = mul i64 %20, 12 %22 = trunc i64 %arg4 to i32 %23 = add i64 %0, 4 %24 = add i64 %23, %21 %25 = inttoptr i64 %24 to i32* store i32 %22, i32* %25, align 4 %26 = load i64, i64* %2, align 8 %27 = add i64 %26, 1 store i64 %27, i64* %2, align 8 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %2, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } }
0
CompRealVul
cpu_loop_7404
cpu_loop
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = add i64 %0, 56 %3 = inttoptr i64 %2 to i32* %4 = add i64 %0, 40 %5 = inttoptr i64 %4 to i32* %6 = add i64 %0, 36 %7 = inttoptr i64 %6 to i32* %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 28 %11 = inttoptr i64 %10 to i32* %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i32* %14 = add i64 %0, 20 %15 = inttoptr i64 %14 to i32* %16 = add i64 %0, 48 %17 = inttoptr i64 %16 to i32* %18 = add i64 %1, -8 %19 = inttoptr i64 %18 to i64* %20 = add i64 %1, -16 %21 = inttoptr i64 %20 to i64* %22 = add i64 %1, -24 %23 = inttoptr i64 %22 to i64* %24 = add i64 %1, -32 %25 = inttoptr i64 %24 to i64* %26 = add i64 %0, 12 %27 = inttoptr i64 %26 to i32* %28 = add i64 %0, 128 %29 = inttoptr i64 %28 to i32* %30 = add i64 %0, 68 %31 = inttoptr i64 %30 to i32* %32 = add i64 %0, 144 %33 = inttoptr i64 %32 to i32* %34 = add i64 %0, 132 %35 = inttoptr i64 %34 to i32* br label LBL_1 LBL_1: %36 = call i64 @FUNC(i64 %0) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 170 br i1 %38, label LBL_8, label LBL_2 LBL_2: %39 = icmp sgt i32 %37, 170 br i1 %39, label LBL_18, label LBL_3 LBL_3: %40 = icmp eq i32 %37, 5 br i1 %40, label LBL_16, label LBL_4 LBL_4: %41 = icmp sgt i32 %37, 5 br i1 %41, label LBL_18, label LBL_5 LBL_5: %42 = icmp eq i32 %37, 4 br i1 %42, label LBL_10, label LBL_6 LBL_6: %43 = icmp sgt i32 %37, 4 br i1 %43, label LBL_18, label LBL_7 LBL_7: switch i32 %37, label LBL_18 [ i32 2, label LBL_19 i32 3, label LBL_9 ] LBL_8: store i32 11, i32* %sv_0, align 4 %44 = call i64 @FUNC(i64 %0, i64 11, i32* nonnull %sv_0) br label LBL_19 LBL_9: %45 = load i32, i32* %3, align 4 %46 = add i32 %45, 4 store i32 %46, i32* %3, align 4 %47 = load i32, i32* %5, align 4 %48 = zext i32 %47 to i64 %49 = load i32, i32* %7, align 4 %50 = zext i32 %49 to i64 %51 = load i32, i32* %9, align 4 %52 = load i32, i32* %11, align 4 %53 = load i32, i32* %13, align 4 %54 = load i32, i32* %15, align 4 %55 = load i32, i32* %17, align 4 store i64 0, i64* %19, align 8 store i64 0, i64* %21, align 8 store i64 %48, i64* %23, align 8 store i64 %50, i64* %25, align 8 %56 = zext i32 %52 to i64 %57 = call i64 @FUNC(i64 %0, i32 %55, i32 %54, i32 %53, i64 %56, i32 %51) %58 = trunc i64 %57 to i32 store i32 %58, i32* %27, align 4 %59 = load i32, i32* %3, align 4 store i32 %59, i32* %29, align 4 br label LBL_19 LBL_10: %60 = load i32, i32* %29, align 4 %61 = add i32 %60, 4 store i32 %61, i32* %31, align 4 %62 = load i32, i32* %33, align 4 %63 = urem i32 %62, 2 %64 = icmp eq i32 %63, 0 store i32 %62, i32* %.reg2mem br i1 %64, label LBL_12, label LBL_11 LBL_11: %65 = load i32, i32* %35, align 4 %66 = or i32 %65, 4096 store i32 %66, i32* %35, align 4 %67 = load i32, i32* %29, align 4 %68 = add i32 %67, -4 store i32 %68, i32* %29, align 4 %.pre = load i32, i32* %33, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_12 LBL_12: %.reload = load i32, i32* %.reg2mem %69 = and i32 %.reload, -4 store i32 %69, i32* %33, align 4 %70 = load i32, i32* %35, align 4 %71 = urem i32 %70, 32 switch i32 %71, label LBL_15 [ i32 6, label LBL_13 i32 7, label LBL_14 ] LBL_13: store i32 8, i32* %sv_0, align 4 %72 = call i64 @FUNC(i64 %0, i64 8, i32* nonnull %sv_0) br label LBL_19 LBL_14: store i32 8, i32* %sv_0, align 4 %73 = call i64 @FUNC(i64 %0, i64 8, i32* nonnull %sv_0) br label LBL_19 LBL_15: %74 = urem i32 %70, 256 %75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i32 %74) %76 = load i64, i64* @gv_1, align 8 %77 = call i64 @FUNC(i64 %0, i64 %76, i64 4198464, i64 0) call void @exit(i32 1) unreachable LBL_16: %78 = call i64 @FUNC(i64 %0, i64 10) %79 = trunc i64 %78 to i32 %80 = icmp eq i32 %79, 0 br i1 %80, label LBL_19, label LBL_17 LBL_17: store i32 %79, i32* %sv_0, align 4 %81 = and i64 %78, 4294967295 %82 = call i64 @FUNC(i64 %0, i64 %81, i32* nonnull %sv_0) br label LBL_19 LBL_18: %83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i32 %37) %84 = load i64, i64* @gv_1, align 8 %85 = call i64 @FUNC(i64 %0, i64 %84, i64 4198464, i64 0) call void @exit(i32 1) unreachable LBL_19: %86 = call i64 @FUNC(i64 %0) br label LBL_1 uselistorder i32* %33, { 1, 0, 2 } uselistorder i32* %29, { 1, 2, 0, 3 } uselistorder i32* %sv_0, { 0, 4, 1, 5, 2, 6, 3, 7 } uselistorder i64 %0, { 20, 19, 17, 18, 11, 12, 13, 8, 21, 22, 15, 14, 16, 0, 1, 9, 6, 7, 4, 5, 3, 2, 10 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @cpu_dump_state, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i32 -4, { 1, 0 } uselistorder i64 0, { 7, 5, 6, 8, 3, 4, 11, 12, 0, 1, 2, 9, 10 } uselistorder i64 (i64, i64, i32*)* @queue_signal, { 3, 2, 1, 0 } uselistorder i32 4, { 0, 1, 3, 2 } uselistorder i32 5, { 1, 0 } uselistorder i32 170, { 1, 0 } uselistorder label LBL_19, { 2, 1, 4, 3, 5, 6, 0 } }
1
CompRealVul
dcache_readdir_12634
dcache_readdir
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.pre-phi.reg2mem = alloca i64* %storemerge4.reg2mem = alloca i64 %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 = ptrtoint i32* %arg2 to i64 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_1, label LBL_11 LBL_1: %11 = trunc i64 %1 to i32 %12 = add i64 %2, 48 %13 = call i64 @FUNC(i64 %12) %14 = icmp eq i32 %11, 2 %15 = icmp eq i1 %14, false %.pre = add i64 %2, 32 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %5, i64 %.pre) br label LBL_3 LBL_3: %storemerge.in2 = inttoptr i64 %5 to i64* %storemerge3 = load i64, i64* %storemerge.in2, align 8 %17 = icmp eq i64 %storemerge3, %.pre %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_10 LBL_4: %19 = add i32 %11, 1 store i64 %storemerge3, i64* %storemerge4.reg2mem br label LBL_5 LBL_5: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %20 = add i64 %storemerge4.reload, 48 %21 = call i64 @FUNC(i64 %20, i64 1) %22 = call i64 @FUNC(i64 %storemerge4.reload) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false %26 = call i64 @FUNC(i64 %20) br i1 %25, label LBL_7, label LBL_5.LBL_9_crit_edge LBL_6: %.pre5 = inttoptr i64 %storemerge4.reload to i64* store i64* %.pre5, i64** %storemerge.in.pre-phi.reg2mem br label LBL_9 LBL_7: %27 = call i64 @FUNC(i64 %12) %28 = add i64 %storemerge4.reload, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) %32 = load i64, i64* %29, align 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = add i64 %storemerge4.reload, 16 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %storemerge4.reload, 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = and i64 %31, 4294967295 %42 = call i64 @FUNC(i64 %6, i64 %40, i32 %37, i64 %34, i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_8, label LBL_11 LBL_8: %46 = call i64 @FUNC(i64 %12) %47 = call i64 @FUNC(i64 %20, i64 1) %48 = call i64 @FUNC(i64 %5, i64 %storemerge4.reload) %49 = call i64 @FUNC(i64 %20) store i32 %19, i32* %arg2, align 4 store i64* %storemerge.in2, i64** %storemerge.in.pre-phi.reg2mem br label LBL_9 LBL_9: %storemerge.in.pre-phi.reload = load i64*, i64** %storemerge.in.pre-phi.reg2mem %storemerge = load i64, i64* %storemerge.in.pre-phi.reload, align 8 %50 = icmp eq i64 %storemerge, %.pre %51 = icmp eq i1 %50, false store i64 %storemerge, i64* %storemerge4.reg2mem br i1 %51, label LBL_5, label LBL_10 LBL_10: %52 = call i64 @FUNC(i64 %12) br label LBL_11 LBL_11: ret i64 0 uselistorder i64 %20, { 1, 0, 2, 3 } uselistorder i64 %storemerge4.reload, { 0, 2, 1, 3, 6, 5, 4 } uselistorder i64 %.pre, { 1, 0, 2 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @spin_unlock, { 0, 3, 2, 1 } uselistorder i64 (i64, i64)* @spin_lock_nested, { 1, 0 } uselistorder i64 1, { 3, 4, 0, 1, 2 } uselistorder i64 (i64, i64)* @list_move, { 1, 0 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4, 5 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
CompRealVul
mark_progress_10355
mark_progress
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC() %1 = load i64, i64* @gv_0, align 8 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: store i64 %0, i64* @gv_0, align 8 store i64 %0, i64* %.reg2mem br label LBL_2 LBL_2: %4 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_1, i64 256, i64 256) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_4: %8 = and i64 %arg2, 4294967295 %.reload = load i64, i64* %.reg2mem %9 = sub i64 %0, %.reload %10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_0, i64 10) %11 = ptrtoint i64* %sv_0 to i64 %12 = sub i64 %10, %11 %13 = and i64 %12, 4294967295 %14 = ptrtoint i64* %sv_1 to i64 %15 = call i64 @FUNC(i64 %14, i64 %11, i64 %13) %16 = call i64 @FUNC(i64 %14, i64 ptrtoint (i64* @gv_3 to i64), i64 1) %17 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i64 10) %18 = sub i64 %17, %11 %19 = and i64 %18, 4294967295 %20 = call i64 @FUNC(i64 %14, i64 %11, i64 %19) %21 = call i64 @FUNC(i64 %14, i64 ptrtoint (i64* @gv_3 to i64), i64 1) %22 = load i64, i64* @gv_4, align 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64* nonnull %sv_1, i64 %24) %26 = call i64 @FUNC(i64 %14, i64 ptrtoint (i64* @gv_5 to i64), i64 1) %27 = load i64, i64* @gv_4, align 8 %28 = add i64 %27, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i64* nonnull %sv_0, i64 10) %33 = sub i64 %32, %11 %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %14, i64 %11, i64 %34) %36 = call i64 @FUNC(i64 %14, i64 ptrtoint (i64* @gv_6 to i64), i64 1) %37 = bitcast i64* %sv_1 to i8* %38 = call i32 (i8*, ...) @printf(i8* nonnull %37) %39 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %39 uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %sv_1, { 0, 1, 2, 4, 3 } uselistorder i64* %sv_0, { 0, 1, 3, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64*, i64)* @int10_to_str, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 0 } uselistorder i64 (i64, i64, i64)* @dynstr_append_mem, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 0, 4 } uselistorder i64 256, { 1, 0 } }
0
CompRealVul
mng_read_box_8353
mng_read_box
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = trunc i64 %arg2 to i8 %2 = call i64 @FUNC(i64 %0) %3 = add i64 %0, 4 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 12 %8 = call i64 @FUNC(i64 %7) %9 = icmp eq i8 %1, 0 store i64 %8, i64* %sv_3.0.reg2mem store i64 %6, i64* %sv_2.0.reg2mem store i64 %4, i64* %sv_1.0.reg2mem store i64 %2, i64* %sv_0.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = add i64 %2, %arg4 %11 = add i64 %4, %arg5 %12 = add i64 %6, %arg6 %13 = add i64 %8, %arg7 store i64 %13, i64* %sv_3.0.reg2mem store i64 %12, i64* %sv_2.0.reg2mem store i64 %11, i64* %sv_1.0.reg2mem store i64 %10, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %14 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem store i64 %sv_0.0.reload, i64* %arg1, align 8 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* store i64 %sv_1.0.reload, i64* %16, align 8 %17 = add i64 %14, 16 %18 = inttoptr i64 %17 to i64* store i64 %sv_2.0.reload, i64* %18, align 8 %19 = add i64 %14, 24 %20 = inttoptr i64 %19 to i64* store i64 %sv_3.0.reload, i64* %20, align 8 ret i64 %14 uselistorder i64 %8, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 (i64)* @mng_get_long, { 3, 2, 1, 0 } }
0
CompRealVul
skip_short_body_4794
skip_short_body
define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi.3.reg2mem = alloca i64 %rdx.2.reg2mem = alloca i64 %rcx.3.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %rsi.1.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.321.reg2mem = alloca i64 %rcx.222.reg2mem = alloca i64 %rdx.123.reg2mem = alloca i64 %rsi.224.reg2mem = alloca i64 %sv_1.125.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %3 = icmp slt i64 %arg2, 4097 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_20 LBL_1: %4 = sext i8 %arg3 to i64 %5 = icmp eq i64 %arg2, 0 %6 = icmp slt i64 %arg2, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 %10 = icmp eq i8 %arg3, 0 %11 = icmp eq i1 %10, false %or.cond20 = or i1 %11, %9 store i64 %4, i64* %rdx.2.reg2mem store i64 %arg2, i64* %rsi.3.reg2mem br i1 %or.cond20, label LBL_2, label LBL_19 LBL_2: %12 = and i64 %arg1, 4294967295 %13 = ptrtoint i64* %sv_3 to i64 %14 = bitcast i64* %sv_3 to i8** %15 = ptrtoint i64* %sv_2 to i64 store i64 %arg2, i64* %sv_1.125.reg2mem store i64 %arg2, i64* %rsi.224.reg2mem store i64 %4, i64* %rdx.123.reg2mem store i64 0, i64* %sv_0.321.reg2mem br label LBL_3 LBL_3: %sv_0.321.reload = load i64, i64* %sv_0.321.reg2mem %rcx.222.reload = load i64, i64* %rcx.222.reg2mem %rdx.123.reload = load i64, i64* %rdx.123.reg2mem %rsi.224.reload = load i64, i64* %rsi.224.reg2mem %sv_1.125.reload = load i64, i64* %sv_1.125.reg2mem store i64 %sv_0.321.reload, i64* %sv_0.1.reg2mem store i64 %rcx.222.reload, i64* %rcx.1.reg2mem store i64 %rdx.123.reload, i64* %rdx.0.reg2mem store i64 %rsi.224.reload, i64* %rsi.1.reg2mem store i64 %sv_1.125.reload, i64* %sv_1.0.reg2mem br i1 %10, label LBL_10, label LBL_4 LBL_4: %16 = icmp eq i64 %sv_0.321.reload, 0 %17 = icmp eq i1 %16, false store i64 %sv_0.321.reload, i64* %sv_0.0.reg2mem store i64 %rcx.222.reload, i64* %rcx.0.reg2mem store i64 %rsi.224.reload, i64* %rsi.0.reg2mem br i1 %17, label LBL_9, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %12) %19 = icmp eq i64 %18, 0 store i64 %rcx.222.reload, i64* %rcx.3.reg2mem store i64 %rdx.123.reload, i64* %rdx.2.reg2mem store i64 %rsi.224.reload, i64* %rsi.3.reg2mem br i1 %19, label LBL_19, label LBL_6 LBL_6: %20 = inttoptr i64 %18 to i8* %21 = call i32 @strtol(i8* %20, i8** nonnull %14, i32 16) %22 = call i64 @FUNC(i64 %18) %23 = icmp slt i32 %21, 0 %24 = icmp eq i1 %23, false store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_7, label LBL_20 LBL_7: %25 = sext i32 %21 to i64 %26 = icmp eq i32 %21, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %sv_0.0.reg2mem store i64 %13, i64* %rcx.0.reg2mem store i64 %13, i64* %rsi.0.reg2mem br i1 %27, label LBL_9, label LBL_8 LBL_8: %28 = call i64 @FUNC(i64 %12) %29 = call i64 @FUNC(i64 %28) store i64 %13, i64* %rcx.3.reg2mem store i64 16, i64* %rdx.2.reg2mem store i64 %13, i64* %rsi.3.reg2mem br label LBL_19 LBL_9: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %30 = add i64 %sv_0.0.reload, -512 %31 = sub i64 511, %sv_0.0.reload %32 = and i64 %31, %sv_0.0.reload %33 = icmp slt i64 %32, 0 %34 = icmp eq i64 %30, 0 %35 = icmp slt i64 %30, 0 %36 = icmp eq i1 %35, %33 %37 = icmp eq i1 %34, false %38 = icmp eq i1 %36, %37 %39 = select i1 %38, i64 512, i64 %sv_0.0.reload store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 512, i64* %rdx.0.reg2mem store i64 %rsi.0.reload, i64* %rsi.1.reg2mem store i64 %39, i64* %sv_1.0.reg2mem br label LBL_10 LBL_10: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %rsi.1.reload = load i64, i64* %rsi.1.reg2mem %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %40 = call i64 @FUNC(i64 %sv_1.0.reload) %41 = call i64 @FUNC(i64 %40, i64 %rsi.1.reload, i64 %rdx.0.reload, i64 %rcx.1.reload, i64 %2, i64 %1) %42 = add i64 %sv_1.0.reload, -512 %43 = sub i64 511, %sv_1.0.reload %44 = and i64 %43, %sv_1.0.reload %45 = icmp slt i64 %44, 0 %46 = icmp eq i64 %42, 0 %47 = icmp slt i64 %42, 0 %48 = icmp eq i1 %47, %45 %49 = icmp eq i1 %46, false %50 = icmp eq i1 %48, %49 %51 = and i64 %sv_1.0.reload, 4294967295 %52 = select i1 %50, i64 512, i64 %51 %53 = call i64 @FUNC(i64 %12, i64* nonnull %sv_2, i64 %52, i64 4294967295) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 %56 = icmp slt i32 %54, 0 %57 = icmp eq i1 %56, false %58 = icmp eq i1 %55, false %59 = icmp eq i1 %57, %58 br i1 %59, label LBL_14, label LBL_11 LBL_11: store i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem br i1 %57, label LBL_13, label LBL_12 LBL_12: %60 = call i64 @FUNC(i64 %12) store i64 %60, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem %61 = call i64 @FUNC(i64 %storemerge.reload, i64 %15, i64 %52, i64 4294967295, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_20 LBL_14: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sext3 = mul i64 %53, 4294967296 %62 = ashr exact i64 %sext3, 32 store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br i1 %10, label LBL_18, label LBL_15 LBL_15: %63 = sub i64 %sv_0.1.reload, %62 %64 = icmp eq i64 %63, 0 %65 = icmp eq i1 %64, false store i64 %63, i64* %sv_0.2.reg2mem br i1 %65, label LBL_18, label LBL_16 LBL_16: %66 = call i64 @FUNC(i64 %12) %67 = icmp eq i64 %66, 0 %68 = icmp eq i1 %67, false store i64 0, i64* %rax.0.reg2mem br i1 %68, label LBL_17, label LBL_20 LBL_17: %69 = call i64 @FUNC(i64 %66) store i64 %63, i64* %sv_0.2.reg2mem br label LBL_18 LBL_18: %70 = sub i64 %sv_1.0.reload, %62 %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %71 = call i64 @FUNC(i64 %15, i64 %15, i64 %52, i64 4294967295, i64 %2, i64 %1) %72 = icmp eq i64 %70, 0 %73 = icmp slt i64 %70, 0 %74 = icmp eq i1 %73, false %75 = icmp eq i1 %72, false %76 = icmp eq i1 %74, %75 %or.cond = or i1 %11, %76 store i64 %70, i64* %sv_1.125.reg2mem store i64 %15, i64* %rsi.224.reg2mem store i64 %52, i64* %rdx.123.reg2mem store i64 4294967295, i64* %rcx.222.reg2mem store i64 %sv_0.2.reload, i64* %sv_0.321.reg2mem store i64 4294967295, i64* %rcx.3.reg2mem store i64 %52, i64* %rdx.2.reg2mem store i64 %15, i64* %rsi.3.reg2mem br i1 %or.cond, label LBL_3, label LBL_19 LBL_19: %rsi.3.reload = load i64, i64* %rsi.3.reg2mem %rdx.2.reload = load i64, i64* %rdx.2.reg2mem %rcx.3.reload = load i64, i64* %rcx.3.reg2mem %77 = call i64 @FUNC(i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64 %rsi.3.reload, i64 %rdx.2.reload, i64 %rcx.3.reload, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %62, { 1, 0 } uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i32 %54, { 1, 0 } uselistorder i64 %52, { 0, 1, 3, 2, 4 } uselistorder i64 %42, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 4, 2, 5, 1, 3, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 0, 3, 4, 1, 2 } uselistorder i32 %21, { 0, 2, 1 } uselistorder i64 %rsi.224.reload, { 0, 2, 1 } uselistorder i64 %rcx.222.reload, { 0, 2, 1 } uselistorder i64 %sv_0.321.reload, { 1, 2, 0 } uselistorder i64 %15, { 0, 1, 3, 4, 2 } uselistorder i64 %12, { 1, 2, 0, 3, 4 } uselistorder i1 %11, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_1.125.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.224.reg2mem, { 1, 0, 2 } uselistorder i64* %rdx.123.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.222.reg2mem, { 1, 0 } uselistorder i64* %sv_0.321.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.3.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rdx.2.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64* %rsi.3.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 5, 2, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i64)* @DEBUGP, { 3, 2, 1, 0 } uselistorder i64 512, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i64 (i64)* @xfree, { 2, 1, 0 } uselistorder i64 (i64)* @fd_read_line, { 2, 1, 0 } uselistorder i64 4294967295, { 0, 1, 4, 3, 6, 5, 2 } uselistorder i1 false, { 13, 4, 5, 6, 7, 3, 8, 9, 10, 11, 12, 2, 0, 1 } uselistorder i32 1, { 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 %arg2, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_20, { 3, 0, 4, 1, 2 } uselistorder label LBL_19, { 1, 3, 0, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
pc_dimm_get_memory_region_15102
pc_dimm_get_memory_region
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4198710) ret i64 %1 }
1
CompRealVul
snd_card_register_8466
snd_card_register
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i64* %arg1, null %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %6, label LBL_1, label LBL_11 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = trunc i64 %1 to i8 %9 = icmp eq i8 %8, 1 br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = add i64 %7, 104 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %11, i64* %rax.0.shrunk.reg2mem br i1 %14, label LBL_3, label LBL_11 LBL_3: %15 = bitcast i64* %arg1 to i8* store i8 1, i8* %15, align 1 br label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %7) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %rax.0.shrunk.reg2mem br i1 %19, label LBL_5, label LBL_11 LBL_5: %20 = call i64 @FUNC(i64* nonnull @gv_0) %21 = add i64 %7, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 %24, 8 %26 = add i64 %25, ptrtoint (i64* @gv_1 to i64) %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_7: %31 = add i64 %7, 8 %32 = inttoptr i64 %31 to i8* %33 = load i8, i8* %32, align 1 %34 = icmp eq i8 %33, 0 br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = inttoptr i64 %31 to i64* %36 = load i64, i64* %35, align 8 store i64 %36, i64* %sv_0, align 8 %37 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0, i64* nonnull %sv_0) br label LBL_10 LBL_9: %38 = add i64 %7, 40 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp eq i8 %40, 0 %42 = add i64 %7, 72 %storemerge = select i1 %41, i64 %42, i64 %38 %43 = call i64 @FUNC(i64 %storemerge) %44 = inttoptr i64 %storemerge to i64* %45 = inttoptr i64 %43 to i64* %46 = call i64 @FUNC(i64 %7, i64* %44, i64* %45) br label LBL_10 LBL_10: %47 = load i32, i32* %22, align 4 %48 = sext i32 %47 to i64 %49 = mul i64 %48, 8 %50 = add i64 %49, ptrtoint (i64* @gv_1 to i64) %51 = inttoptr i64 %50 to i64* store i64 %7, i64* %51, align 8 %52 = call i64 @FUNC(i64* nonnull @gv_0) %53 = call i64 @FUNC(i64 %7) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %7, { 1, 2, 3, 8, 7, 6, 5, 4, 9, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64, i64*, i64*)* @snd_card_set_id_no_lock, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i8 1, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } uselistorder label LBL_11, { 3, 4, 0, 1, 2 } }
0
CompRealVul
bitor_6390
bitor
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %0 = and i64 %arg2, 4294967295 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 %arg1, i64 124) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %1, i64* %sv_0.02.reg2mem store i64 %1, i64* %sv_0.0.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %7 = call i64 @FUNC() %8 = call i64 @FUNC(i64 %arg1, i64 %0) %9 = call i64 @FUNC(i64 1, i64 %sv_0.02.reload, i64 %8) %10 = call i64 @FUNC(i64 %arg1, i64 124) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %9, i64* %sv_0.02.reg2mem store i64 %9, i64* %sv_0.0.lcssa.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_2: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %14 = call i64 @FUNC() ret i64 %sv_0.0.lcssa.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i64)* @jsP_accept, { 1, 0 } uselistorder i64 124, { 1, 0 } uselistorder i64 (i64, i64)* @bitxor, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3 } uselistorder label LBL_1, { 1, 0 } }
0
CompRealVul
qemu_gluster_complete_aio_1533
qemu_gluster_complete_aio
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) ret i64 %5 }
0
CompRealVul
twl92230_init_15791
twl92230_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0, i64 56) %2 = inttoptr i64 %1 to i64* store i64 4198725, i64* %2, align 8 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* store i64 4198732, i64* %4, align 8 %5 = add i64 %1, 16 %6 = inttoptr i64 %5 to i64* store i64 4198739, i64* %6, align 8 %7 = add i64 %1, 24 %8 = inttoptr i64 %7 to i64* store i64 %arg2, i64* %8, align 8 %9 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %10 = load i64, i64* @gv_0, align 8 %11 = zext i32 %9 to i64 %12 = call i64 @FUNC(i64 %10, i64 %11, i64 %1) %13 = trunc i64 %12 to i32 %14 = add i64 %1, 32 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = call i64 @FUNC(i64 4198850, i64 %1, i64 3) %17 = add i64 %1, 40 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = call i64 @FUNC(i64 4198857, i64 %1, i64 1) %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %1, 48 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 %24 = call i64 @FUNC(i64 %1) %25 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 4294967295, i64 0, i64 4198864, i64 4198871, i64 %1) ret i64 %1 uselistorder i64 (i64, i64, i64)* @qemu_allocate_irqs, { 1, 0 } uselistorder i64 32, { 1, 0 } }
1
CompRealVul
setup_new_exec_7333
setup_new_exec
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = ptrtoint i32* %arg1 to i64 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = or i32 %6, %2 store i32 %7, i32* %arg1, align 4 %8 = icmp eq i32 %2, 0 br i1 %8, label LBL_0.LBL_4_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %3, 8 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_4 LBL_2: %9 = load i64, i64* @gv_0, align 8 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = add i64 %3, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ult i64 %13, 8193 store i64 %11, i64* %.pre-phi.reg2mem br i1 %14, label LBL_4, label LBL_3 LBL_3: store i64 8192, i64* %12, align 8 store i64 %11, i64* %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %15 = load i64, i64* @gv_0, align 8 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %.pre-phi.reload) %20 = load i64, i64* @gv_0, align 8 %21 = add i64 %20, 20 %22 = inttoptr i64 %21 to i32* store i32 0, i32* %22, align 4 %23 = load i64, i64* @gv_0, align 8 %24 = add i64 %23, 24 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = add i64 %3, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_7, label LBL_5 LBL_5: %32 = call i64 @FUNC() %33 = call i64 @FUNC() %34 = and i64 %32, 4294967295 %35 = and i64 %33, 4294967295 %36 = call i64 @FUNC(i64 %35, i64 %34) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_7, label LBL_6 LBL_6: %39 = call i64 @FUNC() %40 = call i64 @FUNC() %41 = and i64 %39, 4294967295 %42 = and i64 %40, 4294967295 %43 = call i64 @FUNC(i64 %42, i64 %41) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = load i64, i64* @gv_0, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50, i64 0) br label LBL_9 LBL_8: %52 = load i64, i64* @gv_0, align 8 %53 = add i64 %52, 8 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55, i64 1) br label LBL_9 LBL_9: %57 = call i64 @FUNC() %58 = call i64 @FUNC() %59 = add i64 %3, 32 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = call i64 @FUNC(i64 %61) %63 = load i64, i64* @gv_0, align 8 %64 = call i64 @FUNC(i64 %63, i64 %62, i64 1) %65 = load i64, i64* @gv_0, align 8 %66 = add i64 %65, 8 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = inttoptr i64 %68 to i64* store i64 2147483648, i64* %69, align 8 %70 = load i64, i64* @gv_0, align 8 %71 = add i64 %70, 16 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = add i32 %73, 1 %75 = zext i32 %74 to i64 %76 = zext i32 %73 to i64 %77 = call i64 @FUNC(i64 %76, i64 %75) %78 = load i64, i64* @gv_0, align 8 %79 = call i64 @FUNC(i64 %78, i64 0) ret i64 %79 uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %3, { 2, 3, 1, 0, 4 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @set_dumpable, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
CompRealVul
netfilter_finalize_3175
netfilter_finalize
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) ret i64 %4 }
0
CompRealVul
__filterShell_5895
__filterShell
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i8* %sv_0.0.reg2mem = alloca i8* %sv_1.04.reg2mem = alloca i64 %sv_0.15.reg2mem = alloca i8* %.reg2mem = alloca i8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_11 LBL_1: %2 = inttoptr i64 %arg1 to i8* %3 = call i32 @strlen(i8* %2) %4 = add i32 %3, 1 %5 = call i64* @malloc(i32 %4) %6 = icmp eq i64* %5, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_11 LBL_2: %8 = bitcast i64* %5 to i8* %9 = load i8, i8* %2, align 1 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i8 %9, i8* %.reg2mem store i8* %8, i8** %sv_0.15.reg2mem store i64 %arg1, i64* %sv_1.04.reg2mem store i8* %8, i8** %sv_0.1.lcssa.reg2mem br i1 %11, label LBL_3, label LBL_10 LBL_3: %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem %sv_0.15.reload = load i8*, i8** %sv_0.15.reg2mem %.reload = load i8, i8* %.reg2mem %12 = sext i8 %.reload to i64 %13 = icmp sgt i8 %.reload, 61 br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = icmp sgt i8 %.reload, 9 br i1 %14, label LBL_6, label LBL_8 LBL_5: %15 = urem i64 %12, 64 %16 = lshr i64 1152921508901814273, %15 %17 = urem i64 %16, 2 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %19, false %21 = icmp eq i1 %20, false store i8* %sv_0.15.reload, i8** %sv_0.0.reg2mem br i1 %21, label LBL_9, label LBL_8 LBL_6: %22 = urem i64 %12, 64 %23 = lshr i64 2882303761517118464, %22 %24 = urem i64 %23, 2 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false %27 = icmp eq i1 %26, false %28 = icmp eq i1 %27, false store i8* %sv_0.15.reload, i8** %sv_0.0.reg2mem br i1 %28, label LBL_9, label LBL_8 LBL_7: %.off = add i8 %.reload, -64 %29 = icmp ult i8 %.off, 61 br i1 %29, label LBL_5, label LBL_8 LBL_8: %30 = ptrtoint i8* %sv_0.15.reload to i64 %31 = add i64 %30, 1 %32 = inttoptr i64 %31 to i8* store i8 %.reload, i8* %sv_0.15.reload, align 1 store i8* %32, i8** %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %33 = add i64 %sv_1.04.reload, 1 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = icmp eq i8 %35, 0 %37 = icmp eq i1 %36, false store i8 %35, i8* %.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.15.reg2mem store i64 %33, i64* %sv_1.04.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem br i1 %37, label LBL_3, label LBL_10 LBL_10: %38 = ptrtoint i64* %5 to i64 %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem store i8 0, i8* %sv_0.1.lcssa.reload, align 1 store i64 %38, 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 i8 %.reload, { 4, 0, 1, 3, 2 } uselistorder i8* %sv_0.15.reload, { 2, 3, 0, 1 } uselistorder i64* %5, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.15.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 7, 5, 2, 6, 3, 1, 4, 0, 8, 9 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
cmp_color_2460
cmp_color
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = and i64 %2, 4294967295 %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) ret i64 %5 uselistorder i64* %0, { 1, 0 } }
0
CompRealVul
rose_start_hbtimer_5853
rose_start_hbtimer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = inttoptr i64 %1 to i64* store i64 4198710, i64* %3, align 8 %4 = add i64 %1, 16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = load i64, i64* @gv_0, align 8 %9 = add i64 %8, %7 %10 = add i64 %1, 8 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = call i64 @FUNC(i64 %0, i64 %1, i64 %9) ret i64 %12 }
0
CompRealVul
dos_locate_disklabel_18207
dos_locate_disklabel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 store i64 0, i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 store i64 0, i64* %arg5, align 8 %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %arg3, align 8 store i64 0, i64* %arg4, align 8 store i64 512, i64* %arg5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %7 = add nsw i64 %3, 3 %8 = icmp ult i64 %7, %rdi.0.reload %9 = icmp eq i1 %8, false store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_8, label LBL_5 LBL_5: %10 = and i64 %7, 4294967295 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0)) br label LBL_7 LBL_7: store i64 ptrtoint ([4 x i8]* @gv_5 to i64), i64* %arg3, align 8 %16 = add i64 %11, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = mul i64 %21, %18 store i64 %22, i64* %arg4, align 8 store i64 512, i64* %arg5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder [4 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_8, { 1, 2, 0 } }
1
CompRealVul
rm_rf_children_7585
rm_rf_children
define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %storemerge6.in.reg2mem = alloca i1 %sv_1.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.0.be.reg2mem = alloca i32 %sv_0.017.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %1 = load i32, i32* %0 %2 = load i32, i32* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = trunc i64 %arg1 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %sext = mul i64 %arg1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = trunc i64 %6 to i32 %8 = call %__dirstream* @fdopendir(i32 %7) %9 = icmp eq %__dirstream* %8, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = bitcast i64* %sv_3 to %dirent* %12 = bitcast i64* %sv_4 to %dirent** %13 = call i32 @readdir_r(%__dirstream* %8, %dirent* nonnull %11, %dirent** nonnull %12) %14 = icmp eq i32 %13, 0 store i32 0, i32* %sv_0.0.lcssa.reg2mem store i32 %13, i32* %.lcssa.reg2mem br i1 %14, label LBL_4, label LBL_7 LBL_4: %sext5 = mul i64 %arg2, 72057594037927936 %15 = ashr exact i64 %sext5, 56 %16 = bitcast i64* %sv_2 to %stat* %17 = icmp eq i8 %arg3, 0 %18 = icmp eq i32 %2, 0 %19 = and i32 %1, 512 %20 = icmp eq i32 %19, 0 %21 = and i32 %1, 61440 %22 = icmp eq i32 %21, 16384 %23 = urem i64 %15, 256 %24 = trunc i64 %15 to i8 %25 = icmp eq i8 %24, 1 store i32 0, i32* %sv_0.017.reg2mem br label LBL_8 LBL_5: %26 = and i64 %6, 4294967295 %27 = call i64 @FUNC(i64 %26) %28 = call i32* @__errno_location() %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 2 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %30, label LBL_46, label LBL_6 LBL_6: %31 = call i32* @__errno_location() %32 = load i32, i32* %31, align 4 %33 = sub i32 0, %32 store i32 %33, i32* %rax.0.shrunk.reg2mem br label LBL_46 LBL_7: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %34 = icmp eq i32 %sv_0.0.lcssa.reload, 0 %35 = icmp eq i1 %34, false %36 = sub i32 0, %.lcssa.reload %spec.select = select i1 %35, i32 %sv_0.0.lcssa.reload, i32 %36 store i32 %spec.select, i32* %sv_0.2.reg2mem br label LBL_45 LBL_8: %sv_0.017.reload = load i32, i32* %sv_0.017.reg2mem %37 = load i64, i64* %sv_4, align 8 %38 = icmp eq i64 %37, 0 store i32 %sv_0.017.reload, i32* %sv_0.2.reg2mem br i1 %38, label LBL_45, label LBL_9 LBL_9: %39 = add i64 %37, 19 %40 = call i64 @FUNC(i64 %39, i64* nonnull @gv_3) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %43, label LBL_16, label LBL_10 LBL_10: %44 = load i64, i64* %sv_4, align 8 %45 = add i64 %44, 19 %46 = call i64 @FUNC(i64 %45, i64* bitcast ([3 x i8]* @gv_4 to i64*)) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %49, label LBL_16, label LBL_11 LBL_11: %50 = load i64, i64* %sv_4, align 8 %51 = add i64 %50, 18 %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = icmp eq i8 %53, 0 %55 = icmp eq i1 %54, false br i1 %55, label LBL_22, label LBL_12 LBL_12: %56 = add i64 %50, 19 %57 = inttoptr i64 %56 to i8* %58 = call i32 @fstatat(i32 %7, i8* %57, %stat* nonnull %16, i32 256) %59 = icmp slt i32 %58, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_17, label LBL_13 LBL_13: %61 = icmp eq i32 %sv_0.017.reload, 0 %62 = icmp eq i1 %61, false store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %62, label LBL_16, label LBL_14 LBL_14: %63 = call i32* @__errno_location() %64 = load i32, i32* %63, align 4 %65 = icmp eq i32 %64, 2 store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %65, label LBL_16, label LBL_15 LBL_15: %66 = call i32* @__errno_location() %67 = load i32, i32* %66, align 4 %68 = sub i32 0, %67 store i32 %68, i32* %sv_0.0.be.reg2mem br label LBL_16 LBL_16: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %69 = call i32 @readdir_r(%__dirstream* %8, %dirent* nonnull %11, %dirent** nonnull %12) %70 = icmp eq i32 %69, 0 store i32 %sv_0.0.be.reload, i32* %sv_0.0.lcssa.reg2mem store i32 %69, i32* %.lcssa.reg2mem store i32 %sv_0.0.be.reload, i32* %sv_0.017.reg2mem br i1 %70, label LBL_8, label LBL_7 LBL_17: store i32 0, i32* %sv_1.2.reg2mem store i1 %22, i1* %storemerge6.in.reg2mem br i1 %17, label LBL_32, label LBL_18 LBL_18: br i1 %18, label LBL_20, label LBL_19 LBL_19: %71 = call i32 @getuid() %72 = icmp eq i32 %2, %71 %73 = icmp eq i1 %72, false %brmerge = or i1 %20, %73 store i32 1, i32* %sv_1.2.reg2mem store i1 %22, i1* %storemerge6.in.reg2mem br i1 %brmerge, label LBL_21, label LBL_32 LBL_20: store i32 1, i32* %sv_1.2.reg2mem store i1 %22, i1* %storemerge6.in.reg2mem br i1 %20, label LBL_21, label LBL_32 LBL_21: store i32 0, i32* %sv_1.2.reg2mem store i1 %22, i1* %storemerge6.in.reg2mem br label LBL_32 LBL_22: store i32 0, i32* %sv_1.1.reg2mem br i1 %17, label LBL_31, label LBL_23 LBL_23: %74 = add i64 %50, 19 %75 = inttoptr i64 %74 to i8* %76 = call i32 @fstatat(i32 %7, i8* %75, %stat* nonnull %16, i32 256) %77 = icmp slt i32 %76, 0 %78 = icmp eq i1 %77, false br i1 %78, label LBL_27, label LBL_24 LBL_24: %79 = icmp eq i32 %sv_0.017.reload, 0 %80 = icmp eq i1 %79, false store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %80, label LBL_16, label LBL_25 LBL_25: %81 = call i32* @__errno_location() %82 = load i32, i32* %81, align 4 %83 = icmp eq i32 %82, 2 store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %83, label LBL_16, label LBL_26 LBL_26: %84 = call i32* @__errno_location() %85 = load i32, i32* %84, align 4 %86 = sub i32 0, %85 store i32 %86, i32* %sv_0.0.be.reg2mem br label LBL_16 LBL_27: br i1 %18, label LBL_29, label LBL_28 LBL_28: %87 = call i32 @getuid() %88 = icmp eq i32 %2, %87 %89 = icmp eq i1 %88, false %brmerge24 = or i1 %20, %89 store i32 1, i32* %sv_1.1.reg2mem br i1 %brmerge24, label LBL_30, label LBL_31 LBL_29: store i32 1, i32* %sv_1.1.reg2mem br i1 %20, label LBL_30, label LBL_31 LBL_30: store i32 0, i32* %sv_1.1.reg2mem br label LBL_31 LBL_31: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %90 = load i64, i64* %sv_4, align 8 %91 = add i64 %90, 18 %92 = inttoptr i64 %91 to i8* %93 = load i8, i8* %92, align 1 %94 = icmp eq i8 %93, 4 store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem store i1 %94, i1* %storemerge6.in.reg2mem br label LBL_32 LBL_32: %storemerge6.in.reload = load i1, i1* %storemerge6.in.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %95 = icmp eq i1 %storemerge6.in.reload, false br i1 %95, label LBL_41, label LBL_33 LBL_33: %96 = load i64, i64* %sv_4, align 8 %97 = add i64 %96, 19 %98 = inttoptr i64 %97 to i8* %99 = call i32 (i32, i8*, i32, ...) @openat(i32 %7, i8* %98, i32 591872) %100 = icmp slt i32 %99, 0 %101 = icmp eq i1 %100, false br i1 %101, label LBL_37, label LBL_34 LBL_34: %102 = icmp eq i32 %sv_0.017.reload, 0 %103 = icmp eq i1 %102, false store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %103, label LBL_16, label LBL_35 LBL_35: %104 = call i32* @__errno_location() %105 = load i32, i32* %104, align 4 %106 = icmp eq i32 %105, 2 store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %106, label LBL_16, label LBL_36 LBL_36: %107 = call i32* @__errno_location() %108 = load i32, i32* %107, align 4 %109 = sub i32 0, %108 store i32 %109, i32* %sv_0.0.be.reg2mem br label LBL_16 LBL_37: %110 = zext i32 %99 to i64 %111 = call i64 @FUNC(i64 %110, i64 %23, i8 %arg3) %112 = trunc i64 %111 to i32 %113 = icmp slt i32 %112, 0 %114 = icmp eq i32 %sv_0.017.reload, 0 %115 = icmp eq i1 %114, %113 %sv_0.1 = select i1 %115, i32 %112, i32 %sv_0.017.reload %116 = trunc i32 %sv_1.2.reload to i8 %117 = icmp eq i8 %116, 1 store i32 %sv_0.1, i32* %sv_0.0.be.reg2mem br i1 %117, label LBL_16, label LBL_38 LBL_38: %118 = load i64, i64* %sv_4, align 8 %119 = add i64 %118, 19 %120 = inttoptr i64 %119 to i8* %121 = call i32 @unlinkat(i32 %7, i8* %120, i32 512) %122 = icmp slt i32 %121, 0 %123 = icmp eq i32 %sv_0.1, 0 %124 = icmp eq i1 %123, %122 store i32 %sv_0.1, i32* %sv_0.0.be.reg2mem br i1 %124, label LBL_39, label LBL_16 LBL_39: %125 = call i32* @__errno_location() %126 = load i32, i32* %125, align 4 %127 = icmp eq i32 %126, 2 store i32 0, i32* %sv_0.0.be.reg2mem br i1 %127, label LBL_16, label LBL_40 LBL_40: %128 = call i32* @__errno_location() %129 = load i32, i32* %128, align 4 %130 = sub i32 0, %129 store i32 %130, i32* %sv_0.0.be.reg2mem br label LBL_16 LBL_41: %131 = trunc i32 %sv_1.2.reload to i8 %132 = icmp eq i8 %131, 1 %or.cond12 = or i1 %25, %132 store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %or.cond12, label LBL_16, label LBL_42 LBL_42: %133 = load i64, i64* %sv_4, align 8 %134 = add i64 %133, 19 %135 = inttoptr i64 %134 to i8* %136 = call i32 @unlinkat(i32 %7, i8* %135, i32 0) %137 = icmp slt i32 %136, 0 %138 = icmp eq i32 %sv_0.017.reload, 0 %139 = icmp eq i1 %138, %137 store i32 %sv_0.017.reload, i32* %sv_0.0.be.reg2mem br i1 %139, label LBL_43, label LBL_16 LBL_43: %140 = call i32* @__errno_location() %141 = load i32, i32* %140, align 4 %142 = icmp eq i32 %141, 2 store i32 0, i32* %sv_0.0.be.reg2mem br i1 %142, label LBL_16, label LBL_44 LBL_44: %143 = call i32* @__errno_location() %144 = load i32, i32* %143, align 4 %145 = sub i32 0, %144 store i32 %145, i32* %sv_0.0.be.reg2mem br label LBL_16 LBL_45: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %146 = call i32 @closedir(%__dirstream* %8) store i32 %sv_0.2.reload, i32* %rax.0.shrunk.reg2mem br label LBL_46 LBL_46: %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 %sv_0.1, { 0, 2, 1 } uselistorder i32 %sv_1.2.reload, { 1, 0 } uselistorder i32 %sv_0.0.be.reload, { 1, 0 } uselistorder i64 %50, { 1, 0, 2 } uselistorder i32 %sv_0.017.reload, { 9, 15, 10, 16, 14, 1, 2, 13, 4, 3, 12, 6, 5, 11, 8, 7, 0 } uselistorder i1 %22, { 2, 1, 0, 3 } uselistorder i1 %20, { 2, 0, 3, 1 } uselistorder i64 %15, { 1, 0 } uselistorder %dirent** %12, { 1, 0 } uselistorder %dirent* %11, { 1, 0 } uselistorder %__dirstream* %8, { 1, 2, 0, 3 } uselistorder i32 %7, { 3, 1, 2, 4, 0, 5 } uselistorder i64* %sv_4, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.017.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.be.reg2mem, { 16, 17, 18, 19, 12, 13, 14, 15, 1, 2, 3, 11, 5, 4, 0, 10, 7, 6, 9, 8 } uselistorder i32* %sv_1.1.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i32* %sv_1.2.reg2mem, { 0, 5, 3, 2, 1, 4 } uselistorder i1* %storemerge6.in.reg2mem, { 0, 5, 3, 2, 1, 4 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %0, { 1, 0 } uselistorder i32 (i32, i8*, %stat*, i32)* @fstatat, { 1, 0 } uselistorder i64 (i64, i64*)* @streq, { 1, 0 } uselistorder i32 2, { 1, 2, 3, 0, 4, 5 } uselistorder i32* ()* @__errno_location, { 4, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 0, 1 } uselistorder i8 1, { 0, 2, 1 } uselistorder i32 (%__dirstream*, %dirent*, %dirent**)* @readdir_r, { 1, 0 } uselistorder i8 %arg3, { 1, 0 } uselistorder label LBL_46, { 1, 2, 0 } uselistorder label LBL_32, { 4, 3, 2, 0, 1 } uselistorder label LBL_31, { 1, 2, 0, 3 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_16, { 16, 15, 18, 14, 13, 12, 17, 11, 2, 1, 0, 10, 4, 3, 9, 6, 5, 8, 7 } uselistorder label LBL_8, { 1, 0 } }
1
CompRealVul
xfrm4_dst_destroy_3874
xfrm4_dst_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %arg1) br label LBL_2 LBL_2: %4 = add i64 %arg1, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %6) br label LBL_4 LBL_4: %11 = call i64 @FUNC(i64 %arg1) ret i64 %11 uselistorder i64 %arg1, { 1, 2, 0, 3 } }
0
CompRealVul
gen_spr_970_pmu_sup_15641
gen_spr_970_pmu_sup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64* nonnull @gv_1) %2 = call i64 @FUNC(i64 %0, i64 8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0, i64* nonnull @gv_1) ret i64 %2 uselistorder i64 (i64, i64, i8*, i64, i64, i64*)* @spr_register, { 1, 0 } }
1
CompRealVul
bdrv_qiov_is_aligned_1686
bdrv_qiov_is_aligned
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %11 = mul i64 %.reload, 16 %12 = add i64 %11, %9 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = urem i64 %14, %3 %16 = icmp eq i64 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_5 LBL_3: %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = urem i64 %19, %3 %21 = icmp eq i64 %20, 0 store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_5 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %22 = add i32 %storemerge2.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %10, %23 store i64 %23, i64* %.reg2mem store i32 %22, i32* %storemerge2.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %24, label LBL_2, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder label LBL_5, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
__pkvm_host_reclaim_page_7252
__pkvm_host_reclaim_page
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC() %2 = bitcast i32* %sv_1 to i64* %3 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0, i64* nonnull %2, i64 0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %sv_0.0.reg2mem br i1 %6, label LBL_8, label LBL_1 LBL_1: %7 = load i32, i32* %sv_1, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %8, i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 1 store i64 %3, i64* %sv_0.0.reg2mem br i1 %11, label LBL_8, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = and i32 %14, 2 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 1, i64* %sv_0.0.reg2mem br i1 %17, label LBL_3, label LBL_8 LBL_3: %18 = and i32 %14, 4 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_6, label LBL_4 LBL_4: %20 = call i64 @FUNC(i64 %0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %23, label LBL_8, label LBL_5 LBL_5: %24 = load i32, i32* %13, align 4 %25 = and i32 %24, -5 store i32 %25, i32* %13, align 4 %26 = call i64 @FUNC() br label LBL_6 LBL_6: %27 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %28 = call i64 @FUNC(i64 %0, i64 4096, i32 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false store i64 %28, i64* %sv_0.0.reg2mem br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = load i32, i32* %13, align 4 %33 = and i32 %32, -3 store i32 %33, i32* %13, align 4 store i64 %28, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %34 = call i64 @FUNC() %35 = and i64 %sv_0.0.reload, 4294967295 ret i64 %35 uselistorder i32* %13, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6 } uselistorder i64 4096, { 1, 0 } uselistorder i32 1, { 4, 5, 3, 2, 1, 0 } uselistorder label LBL_8, { 5, 1, 2, 0, 3, 4 } }
0
CompRealVul
set_cfg_value_15519
set_cfg_value
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sext = mul i64 %arg2, 4294967296 %0 = trunc i64 %arg1 to i8 %1 = icmp eq i8 %0, 0 %2 = trunc i64 %arg3 to i32 %3 = ashr exact i64 %sext, 29 br i1 %1, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64) %5 = inttoptr i64 %4 to i32* store i32 %2, i32* %5, align 8 br label LBL_3 LBL_2: %6 = add i64 %3, ptrtoint (i32** @gv_1 to i64) %7 = inttoptr i64 %6 to i32* store i32 %2, i32* %7, align 8 br label LBL_3 LBL_3: %8 = ashr exact i64 %sext, 32 ret i64 %8 uselistorder i64 %3, { 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i8 0, { 1, 0 } }
1
CompRealVul
migrate_zspage_18274
migrate_zspage
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 store i64 %0, i64* %sv_1.0.reg2mem store i64 %8, i64* %sv_2.0.reg2mem br label LBL_1 LBL_1: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %9 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %sv_2.0.reload, i64 %1) %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %sv_1.0.reload) %13 = icmp eq i64 %12, 0 store i64 %12, i64* %sv_1.1.reg2mem store i64 0, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.2.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %13, label LBL_7, label LBL_6 LBL_3: %14 = call i64 @FUNC(i64 %5) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %9) store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem store i64 4294967284, i64* %sv_0.0.reg2mem br label LBL_7 LBL_5: %18 = call i64 @FUNC(i64 %9) %19 = call i64 @FUNC(i64 %5, i64 %1, i64 %9) %20 = call i64 @FUNC(i64 %19, i64 %18, i64 %1) %21 = add i64 %sv_2.0.reload, 1 %22 = call i64 @FUNC(i64 %9, i64 %19) %23 = call i64 @FUNC(i64 %9) %24 = call i64 @FUNC(i64 %2, i64 %1, i64 %18) store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i64 %21, i64* %sv_2.1.reg2mem br label LBL_6 LBL_6: %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem store i64 %sv_2.1.reload, i64* %sv_2.0.reg2mem br label LBL_1 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem store i64 %sv_1.2.reload, i64* %arg3, align 8 store i64 %sv_2.0.reload, i64* %7, align 8 ret i64 %sv_0.0.reload uselistorder i64 %9, { 2, 1, 4, 3, 0, 5 } uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 } uselistorder i64 %sv_2.0.reload, { 2, 1, 0 } uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @unpin_tag, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
CompRealVul
free_l4_table_6680
free_l4_table
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.3.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %1 to i32 %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = urem i32 %8, 2 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = sub i32 %11, %14 store i32 0, i32* %sv_0.0.reg2mem store i32 %8, i32* %sv_2.0.reg2mem store i32 %15, i32* %sv_1.0.reg2mem br label LBL_1 LBL_1: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %16 = zext i32 %sv_1.0.reload to i64 %17 = call i64 @FUNC(i64 %3, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem br i1 %19, label LBL_3, label LBL_2 LBL_2: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %20 = mul i64 %16, 4 %21 = add i64 %20, %7 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 %5, i32 %sv_2.0.reload) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 store i32 %26, i32* %sv_0.13.reg2mem br i1 %27, label LBL_8, label LBL_3 LBL_3: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %28 = add i32 %sv_1.0.reload, -1 %29 = icmp eq i32 %sv_1.0.reload, 0 %30 = icmp eq i1 %29, false store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_2.0.reg2mem store i32 %28, i32* %sv_1.0.reg2mem br i1 %30, label LBL_1, label LBL_4 LBL_4: %31 = icmp eq i32 %sv_0.13.reload, 1 %32 = icmp eq i1 %31, false br i1 %32, label LBL_6, label LBL_5 LBL_5: store i32 %28, i32* %10, align 4 store i32 1, i32* %arg1, align 4 br label LBL_9 LBL_6: %33 = icmp eq i32 %sv_0.13.reload, 2 %34 = icmp ult i32 %28, 511 %or.cond = icmp eq i1 %34, %33 br i1 %or.cond, label LBL_7, label LBL_9 LBL_7: store i32 %sv_1.0.reload, i32* %10, align 4 store i32 0, i32* %arg1, align 4 br label LBL_9 LBL_8: %35 = call i64 @FUNC(i64 %7) %phitmp = and i64 %25, 4294967295 store i64 %phitmp, i64* %sv_0.3.reg2mem br label LBL_10 LBL_9: %36 = call i64 @FUNC(i64 %7) %37 = call i64 @FUNC(i64 %3) store i64 0, i64* %sv_0.3.reg2mem br label LBL_10 LBL_10: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem ret i64 %sv_0.3.reload uselistorder i32 %28, { 1, 2, 0 } uselistorder i32 %sv_0.13.reload, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 3, 1, 2, 0 } uselistorder i32* %10, { 1, 0, 2 } uselistorder i64 %7, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
CompRealVul
Jsi_ObjArraySizer_5783
Jsi_ObjArraySizer
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = trunc i64 %1 to i32 %7 = add i32 %arg3, 8 %8 = urem i32 %7, 8 %9 = sub nsw i32 8, %8 %10 = add i32 %9, %arg3 %11 = icmp ugt i32 %6, %arg3 %12 = icmp eq i1 %11, false %13 = icmp ugt i32 %10, %6 %or.cond = or i1 %13, %12 br i1 %or.cond, label LBL_3, label LBL_4 LBL_3: %14 = zext i32 %arg3 to i64 %15 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %14, i32 %6) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_4: %16 = ptrtoint i64* %arg2 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp ugt i32 %19, %arg3 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = sub i32 %10, %19 %22 = zext i32 %10 to i64 %23 = mul i64 %22, 8 %24 = add i64 %16, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26, i64 %23) store i64 %27, i64* %25, align 8 %28 = mul i32 %21, 8 %29 = load i32, i32* %18, align 4 %30 = zext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = add i64 %31, %27 %33 = inttoptr i64 %32 to i64* %34 = call i64* @memset(i64* %33, i32 0, i32 %28) store i32 %10, i32* %18, align 4 br label LBL_6 LBL_6: %35 = add i64 %16, 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp ult i32 %37, %arg3 br i1 %38, label LBL_7, label LBL_8 LBL_7: store i32 %arg3, i32* %36, align 4 br label LBL_8 LBL_8: %39 = zext i32 %10 to i64 store i64 %39, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %19, { 1, 0 } uselistorder i64 %16, { 0, 2, 1 } uselistorder i32 %10, { 3, 4, 2, 1, 0 } uselistorder i32 %6, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i32 8, { 0, 2, 3, 1 } uselistorder i32 %arg3, { 5, 1, 2, 6, 3, 0, 4 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
gif_encode_close_11376
gif_encode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %0, 16 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 24 %7 = call i64 @FUNC(i64 %6) ret i64 0 uselistorder i64 (i64)* @av_freep, { 2, 1, 0 } }
1
CompRealVul
do_recalc_3900
do_recalc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %0 = call i64 @FUNC(i64 %arg1, 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_8 LBL_2: %4 = load i64, i64* %sv_2, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %8, label LBL_7, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %sv_0.0.reg2mem br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = bitcast i64* %sv_1 to i8* %14 = inttoptr i64 %arg1 to i8* %15 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 256, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %14) %16 = call i64 @FUNC(i64 0, i64* nonnull %sv_1, i64 1, i64 0, i64 0, i64 4198819) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %sv_0.0.reg2mem br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = load i64, i64* %sv_2, align 8 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 %21, i64* %sv_0.0.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64* nonnull %sv_2) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = call i64 @FUNC(i64* nonnull %sv_2) %27 = and i64 %sv_0.0.reload, 4294967295 store i64 %27, 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* %sv_2, { 0, 1, 3, 4, 2, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
0
CompRealVul
onenand_initfn_3593
onenand_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge14.reg2mem = alloca i64 %storemerge17.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = udiv i32 %4, 16 %6 = urem i32 %5, 8 %7 = or i32 %6, 24 %8 = shl i32 1, %7 %9 = add i64 %2, 104 %10 = inttoptr i64 %9 to i64* store i64 -1, i64* %10, align 8 %11 = add i64 %2, 112 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %13 = udiv i32 %8, 512 %14 = add i64 %2, 120 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %2, 124 %17 = inttoptr i64 %16 to i32* store i32 %13, i32* %17, align 4 %18 = load i32, i32* %15, align 4 %19 = sext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %2, 24 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = load i32, i32* %3, align 4 %24 = and i32 %23, 8 %25 = icmp eq i32 %24, 0 store i32 0, i32* %storemerge17.reg2mem br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = udiv i32 %23, 16 %27 = urem i32 %26, 8 %28 = shl i32 64, %27 store i32 %28, i32* %storemerge17.reg2mem br label LBL_2 LBL_2: %storemerge17.reload = load i32, i32* %storemerge17.reg2mem %29 = add i64 %2, 160 %30 = inttoptr i64 %29 to i32* store i32 %storemerge17.reload, i32* %30, align 4 %31 = add i64 %2, 128 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = urem i32 %33, 32 %35 = shl i32 65536, %34 %storemerge = sext i32 %35 to i64 %36 = call i64 @FUNC(i64 %2) %37 = add i64 %2, 152 %38 = call i64 @FUNC(i64 %37, i64 %36, i64* nonnull @gv_0, i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge) %39 = add i64 %2, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_4, label LBL_3 LBL_3: %44 = udiv i32 %8, 32 %45 = add i32 %44, %8 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46) %48 = inttoptr i64 %47 to i64* %49 = call i64* @memset(i64* %48, i32 255, i32 %45) %50 = ptrtoint i64* %49 to i64 %51 = add i64 %2, 32 %52 = inttoptr i64 %51 to i64* store i64 %50, i64* %52, align 8 br label LBL_7 LBL_4: %53 = call i64 @FUNC(i64 %41) %54 = trunc i64 %53 to i32 %55 = icmp eq i32 %54, 0 br i1 %55, label LBL_6, label LBL_5 LBL_5: %56 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %storemerge14.reg2mem br label LBL_8 LBL_6: %57 = load i64, i64* %40, align 8 %58 = add i64 %2, 168 %59 = inttoptr i64 %58 to i64* store i64 %57, i64* %59, align 8 br label LBL_7 LBL_7: %60 = call i64 @FUNC(i64 270336) %61 = inttoptr i64 %60 to i64* %62 = call i64* @memset(i64* %61, i32 255, i32 270336) %63 = ptrtoint i64* %62 to i64 %64 = add i64 %2, 40 %65 = inttoptr i64 %64 to i64* store i64 %63, i64* %65, align 8 %66 = load i32, i32* %32, align 4 %67 = urem i32 %66, 32 %68 = shl i32 49152, %67 %storemerge2 = sext i32 %68 to i64 %69 = call i64 @FUNC(i64 %2) %70 = add i64 %2, 48 %71 = call i64 @FUNC(i64 %70, i64 %69, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %storemerge2, i64* nonnull @gv_4) %72 = call i64 @FUNC(i64 %70) %73 = call i64 @FUNC(i64 %70) %74 = add i64 %2, 56 %75 = inttoptr i64 %74 to i64* store i64 %73, i64* %75, align 8 %76 = load i32, i32* %32, align 4 %77 = urem i32 %76, 32 %78 = shl i32 32768, %77 %storemerge4 = sext i32 %78 to i64 %79 = add i64 %73, %storemerge4 %80 = add i64 %2, 64 %81 = inttoptr i64 %80 to i64* store i64 %79, i64* %81, align 8 %82 = load i32, i32* %32, align 4 %83 = urem i32 %82, 32 %84 = shl i32 512, %83 %storemerge6 = sext i32 %84 to i64 %85 = add i64 %73, %storemerge6 %86 = add i64 %2, 72 %87 = inttoptr i64 %86 to i64* store i64 %85, i64* %87, align 8 %88 = load i32, i32* %32, align 4 %89 = urem i32 %88, 32 %90 = shl i32 32784, %89 %storemerge8 = sext i32 %90 to i64 %91 = add i64 %73, %storemerge8 %92 = add i64 %2, 80 %93 = inttoptr i64 %92 to i64* store i64 %91, i64* %93, align 8 %94 = load i32, i32* %32, align 4 %95 = urem i32 %94, 32 %96 = shl i32 2560, %95 %storemerge10 = sext i32 %96 to i64 %97 = add i64 %73, %storemerge10 %98 = add i64 %2, 88 %99 = inttoptr i64 %98 to i64* store i64 %97, i64* %99, align 8 %100 = load i32, i32* %32, align 4 %101 = urem i32 %100, 32 %102 = shl i32 32848, %101 %storemerge12 = sext i32 %102 to i64 %103 = add i64 %73, %storemerge12 %104 = add i64 %2, 96 %105 = inttoptr i64 %104 to i64* store i64 %103, i64* %105, align 8 %106 = call i64 @FUNC(i64 %2) %107 = add i64 %2, 136 %108 = call i64 @FUNC(i64 %0, i64 %107) %109 = add i64 %2, 144 %110 = call i64 @FUNC(i64 %0, i64 %109) %111 = load i32, i32* %32, align 4 %112 = mul i32 %111, 16777216 %113 = and i32 %112, 2130706432 %114 = add i64 %2, 4 %115 = inttoptr i64 %114 to i32* %116 = load i32, i32* %115, align 4 %117 = mul i32 %116, 65536 %118 = and i32 %117, 16711680 %119 = or i32 %118, %113 %120 = load i32, i32* %3, align 4 %121 = mul i32 %120, 256 %122 = and i32 %121, 65280 %123 = or i32 %119, %122 %124 = add i64 %2, 8 %125 = inttoptr i64 %124 to i32* %126 = load i32, i32* %125, align 4 %127 = urem i32 %126, 256 %128 = or i32 %123, %127 %129 = call i64 @FUNC(i64 %1, i32 %128, i64* nonnull @gv_5, i64 %2) store i64 0, i64* %storemerge14.reg2mem br label LBL_8 LBL_8: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem ret i64 %storemerge14.reload uselistorder i32 %45, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %8, { 2, 0, 1 } uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i32* %storemerge17.reg2mem, { 0, 2, 1 } uselistorder i32 256, { 1, 0 } uselistorder i64 (i64)* @OBJECT, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 (i64)* @g_malloc, { 2, 1, 0 } uselistorder i32 512, { 1, 0 } uselistorder i32 8, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
fpm_unix_resolve_socket_premissions_11035
fpm_unix_resolve_socket_premissions
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i32* store i32 -1, i32* %5, align 4 %6 = add i64 %3, 12 %7 = inttoptr i64 %6 to i32* store i32 -1, i32* %7, align 4 %8 = add i64 %3, 16 %9 = inttoptr i64 %8 to i32* store i32 438, i32* %9, align 4 %10 = icmp eq i64* %arg1, null %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_1, label LBL_14 LBL_1: %12 = inttoptr i64 %4 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_6, label LBL_2 LBL_2: %15 = inttoptr i64 %13 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 0 br i1 %17, label LBL_6, label LBL_3 LBL_3: %18 = call %passwd* @getpwnam(i8* %15) %19 = icmp eq %passwd* %18, null %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = load i64, i64* %12, align 8 %22 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %21, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %23 = ptrtoint %passwd* %18 to i64 %24 = add i64 %23, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 store i32 %26, i32* %5, align 4 %27 = add i64 %23, 20 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 store i32 %29, i32* %7, align 4 br label LBL_6 LBL_6: %30 = inttoptr i64 %8 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_11, label LBL_7 LBL_7: %33 = inttoptr i64 %31 to i8* %34 = load i8, i8* %33, align 1 %35 = icmp eq i8 %34, 0 br i1 %35, label LBL_11, label LBL_8 LBL_8: %36 = call %group* @getgrnam(i8* %33) %37 = icmp eq %group* %36, null %38 = icmp eq i1 %37, false br i1 %38, label LBL_10, label LBL_9 LBL_9: %39 = load i64, i64* %30, align 8 %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %31, i64 %39, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_10: %41 = ptrtoint %group* %36 to i64 %42 = add i64 %41, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 store i32 %44, i32* %7, align 4 br label LBL_11 LBL_11: %45 = add i64 %3, 24 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_14, label LBL_12 LBL_12: %49 = inttoptr i64 %47 to i8* %50 = load i8, i8* %49, align 1 %51 = icmp eq i8 %50, 0 store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_14, label LBL_13 LBL_13: %52 = call i32 @strtoul(i8* %49, i8** null, i32 8) store i32 %52, i32* %9, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %group* %36, { 1, 0 } uselistorder %passwd* %18, { 1, 0 } uselistorder i32* %7, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 6, 5, 4 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @zlog, { 1, 0 } uselistorder label LBL_14, { 2, 1, 0, 4, 5, 3 } }
1
CompRealVul
apng_read_packet_78
apng_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.1.in.reg2mem = alloca i64 %sv_1.0.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = trunc i64 %2 to i32 %9 = icmp eq i32 %8, 1 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 %7, i64 46) %sext = mul i64 %11, 4294967296 %12 = icmp slt i64 %sext, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = ashr exact i64 %sext, 32 store i64 %14, i64* %rax.0.reg2mem br label LBL_40 LBL_3: %15 = ptrtoint i64* %arg2 to i64 %16 = call i64 @FUNC(i64 %7) %17 = call i64 @FUNC(i64 %7) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 1229278788 br i1 %19, label LBL_33, label LBL_4 LBL_4: %20 = icmp eq i32 %18, 1717785676 %21 = icmp eq i1 %20, false br i1 %21, label LBL_39, label LBL_5 LBL_5: %22 = trunc i64 %16 to i32 %23 = icmp eq i32 %22, 26 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_40 LBL_6: %24 = call i64 @FUNC(i64 %4, i64 %4, i64 %15) %sext2 = mul i64 %24, 4294967296 %25 = icmp slt i64 %sext2, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_8, label LBL_7 LBL_7: %27 = ashr exact i64 %sext2, 32 store i64 %27, i64* %rax.0.reg2mem br label LBL_40 LBL_8: %28 = call i64 @FUNC(i64 %7) %29 = trunc i64 %28 to i32 %30 = call i64 @FUNC(i64 %7) %31 = icmp slt i32 %29, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_40, label LBL_9 LBL_9: %32 = trunc i64 %30 to i32 store i64 4294967295, i64* %rax.0.reg2mem switch i32 %32, label LBL_40 [ i32 1717846356, label LBL_10 i32 1229209940, label LBL_10 ] LBL_10: %33 = add i32 %29, 50 %34 = icmp sgt i32 %33, -1 store i64 4294967274, i64* %rax.0.reg2mem br i1 %34, label LBL_11, label LBL_40 LBL_11: %35 = call i64 @FUNC(i64 %7, i64 -46, i64 1) %sext3 = mul i64 %35, 4294967296 %36 = icmp slt i64 %sext3, 0 store i64 %sext3, i64* %sv_1.0.in.reg2mem br i1 %36, label LBL_13, label LBL_12 LBL_12: %37 = zext i32 %33 to i64 %38 = call i64 @FUNC(i64 %7, i64 %15, i64 %37) %sext4 = mul i64 %38, 4294967296 %39 = icmp slt i64 %sext4, 0 %40 = icmp eq i1 %39, false store i64 %sext4, i64* %sv_1.0.in.reg2mem br i1 %40, label LBL_14, label LBL_13 LBL_13: %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem %sv_1.0 = ashr exact i64 %sv_1.0.in.reload, 32 store i64 %sv_1.0, i64* %rax.0.reg2mem br label LBL_40 LBL_14: br i1 %10, label LBL_17, label LBL_15 LBL_15: %41 = call i64 @FUNC(i64 %7, i64 8) %sext5 = mul i64 %41, 4294967296 %42 = icmp slt i64 %sext5, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_17, label LBL_16 LBL_16: %44 = ashr exact i64 %sext5, 32 store i64 %44, i64* %rax.0.reg2mem br label LBL_40 LBL_17: %45 = trunc i64 %3 to i32 %46 = call i64 @FUNC(i64 %7) %47 = call i64 @FUNC(i64 %7) store i64 %46, i64* %sv_0.0.in.reg2mem store i64 %47, i64* %storemerge.in.reg2mem br label LBL_26 LBL_18: %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 %48 = icmp slt i32 %sv_0.0, 0 %49 = icmp eq i1 %48, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %49, label LBL_19, label LBL_40 LBL_19: %50 = call i64 @FUNC(i64 %7, i64 -8, i64 1) %sext7 = mul i64 %50, 4294967296 %51 = icmp slt i64 %sext7, 0 store i64 %sext7, i64* %sv_1.1.in.reg2mem br i1 %51, label LBL_21, label LBL_20 LBL_20: %52 = add i64 %sv_0.0.in.reload, 12 %53 = and i64 %52, 4294967295 %54 = call i64 @FUNC(i64 %7, i64 %15, i64 %53) %sext8 = mul i64 %54, 4294967296 %55 = icmp slt i64 %sext8, 0 %56 = icmp eq i1 %55, false store i64 %sext8, i64* %sv_1.1.in.reg2mem br i1 %56, label LBL_22, label LBL_21 LBL_21: %sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem %sv_1.1 = ashr exact i64 %sv_1.1.in.reload, 32 store i64 %sv_1.1, i64* %rax.0.reg2mem br label LBL_40 LBL_22: br i1 %10, label LBL_25, label LBL_23 LBL_23: %57 = call i64 @FUNC(i64 %7, i64 8) %sext9 = mul i64 %57, 4294967296 %58 = icmp slt i64 %sext9, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_25, label LBL_24 LBL_24: %60 = ashr exact i64 %sext9, 32 store i64 %60, i64* %rax.0.reg2mem br label LBL_40 LBL_25: %61 = call i64 @FUNC(i64 %7) %62 = call i64 @FUNC(i64 %7) store i64 %61, i64* %sv_0.0.in.reg2mem store i64 %62, i64* %storemerge.in.reg2mem br label LBL_26 LBL_26: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 switch i32 %storemerge, label LBL_27 [ i32 1717785676, label LBL_28 i32 0, label LBL_28 ] LBL_27: %63 = icmp eq i32 %storemerge, 1229278788 %64 = icmp eq i1 %63, false br i1 %64, label LBL_18, label LBL_28 LBL_28: %65 = call i64 @FUNC(i64 %7, i64 -8, i64 1) %sext6 = mul i64 %65, 4294967296 %66 = icmp slt i64 %sext6, 0 %67 = icmp eq i1 %66, false br i1 %67, label LBL_30, label LBL_29 LBL_29: %68 = ashr exact i64 %sext6, 32 store i64 %68, i64* %rax.0.reg2mem br label LBL_40 LBL_30: %69 = add i64 %4, 12 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label LBL_32, label LBL_31 LBL_31: %73 = or i32 %45, 1 %74 = bitcast i64* %arg2 to i32* store i32 %73, i32* %74, align 4 br label LBL_32 LBL_32: %75 = add i64 %4, 16 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i64 %15, 8 %79 = inttoptr i64 %78 to i64* store i64 %77, i64* %79, align 8 %80 = add i64 %4, 24 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = add i64 %15, 16 %84 = inttoptr i64 %83 to i64* store i64 %82, i64* %84, align 8 %85 = load i64, i64* %76, align 8 %86 = load i64, i64* %81, align 8 %87 = add i64 %86, %85 store i64 %87, i64* %76, align 8 %88 = call i64 @FUNC(i64 %4, i64 %15) store i64 %88, i64* %rax.0.reg2mem br label LBL_40 LBL_33: %89 = add i64 %4, 4 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = add i32 %91, 1 store i32 %92, i32* %90, align 4 %93 = inttoptr i64 %5 to i32* %94 = load i32, i32* %93, align 4 %95 = icmp eq i32 %94, 0 %96 = icmp eq i1 %95, false br i1 %96, label LBL_35, label LBL_34 LBL_34: %97 = bitcast i64* %rdi to i32* %98 = load i32, i32* %97, align 8 %99 = icmp slt i32 %98, 1 %100 = icmp eq i32 %92, %98 %101 = icmp eq i1 %100, false %or.cond = or i1 %99, %101 br i1 %or.cond, label LBL_36, label LBL_35 LBL_35: %102 = call i64 @FUNC(i64 %7, i64 -8, i64 1) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_40 LBL_36: %103 = add i64 %4, 32 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = add i32 %105, 8 %107 = sext i32 %106 to i64 %108 = call i64 @FUNC(i64 %7, i64 %107, i64 0) %sext10 = mul i64 %108, 4294967296 %109 = icmp slt i64 %sext10, 0 %110 = icmp eq i1 %109, false br i1 %110, label LBL_38, label LBL_37 LBL_37: %111 = ashr exact i64 %sext10, 32 store i64 %111, i64* %rax.0.reg2mem br label LBL_40 LBL_38: %112 = call i64 @FUNC(i64 %4, i64 %15) store i64 %112, i64* %rax.0.reg2mem br label LBL_40 LBL_39: %113 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i32 %18) %114 = and i64 %16, 4294967295 %115 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i32 %18, i64 %114, i64 %1) %116 = add i64 %16, 4 %117 = and i64 %116, 4294967295 %118 = call i64 @FUNC(i64 %7, i64 %117) store i64 4294967293, i64* %rax.0.reg2mem br label LBL_40 LBL_40: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %76, { 1, 0, 2 } uselistorder i32 %storemerge, { 1, 0 } uselistorder i64 %sext9, { 1, 0 } uselistorder i64 %sv_0.0.in.reload, { 1, 0 } uselistorder i32 %18, { 1, 0, 2, 3 } uselistorder i64 %15, { 6, 1, 2, 3, 0, 4, 5 } uselistorder i64 %7, { 13, 14, 15, 6, 2, 3, 1, 4, 5, 7, 8, 0, 9, 10, 11, 12, 16, 17, 18 } uselistorder i64 %4, { 6, 7, 8, 9, 0, 1, 2, 3, 5, 4, 10 } uselistorder i64* %sv_0.0.in.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 14, 16, 15, 17, 12, 11, 9, 10, 1, 8, 13, 2, 4, 3, 7, 5, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @send_extradata, { 1, 0 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64, i64, i64)* @av_append_packet, { 1, 0 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 4, 3, 1, 2, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @avio_rl32, { 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 3, 2, 1, 0 } uselistorder i64 32, { 8, 2, 9, 4, 3, 0, 5, 1, 6, 7 } uselistorder i64 0, { 18, 19, 8, 20, 12, 9, 10, 11, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 21 } uselistorder i64 (i64, i64)* @ffio_ensure_seekback, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 6, 7, 3, 4, 5, 8, 9, 10, 11, 12, 13 } uselistorder i64 8, { 2, 0, 1, 3 } uselistorder label LBL_40, { 5, 6, 7, 8, 9, 12, 10, 11, 0, 13, 14, 1, 3, 2, 15, 4, 16 } uselistorder label LBL_28, { 2, 0, 1 } }
1
CompRealVul
write_cvid_header_16896
write_cvid_header
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i32* %arg1 to i64 %4 = bitcast i64* %arg2 to i8* store i8 0, i8* %4, align 1 %5 = add i32 %arg4, 12 %6 = add i64 %2, 1 %7 = zext i32 %5 to i64 %8 = call i64 @FUNC(i64 %6, i64 %7) %9 = add i64 %2, 4 %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = add i64 %3, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %2, 6 %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %15, i64 %16) %18 = add i64 %2, 8 %19 = zext i32 %arg3 to i64 %20 = call i64 @FUNC(i64 %18, i64 %19) ret i64 12 uselistorder i64 (i64, i64)* @AV_WB16, { 2, 1, 0 } }
1
CompRealVul
get_bridge_info_for_guard_9151
get_bridge_info_for_guard
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 32 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 0, i64* %storemerge.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %spec.select = select i1 %12, i64 0, i64 %0 %13 = load i64, i64* %3, align 8 %14 = add i64 %13, 256 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %13, i64 %17, i64 %spec.select) store i64 %18, 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 i32 0, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
CompRealVul
r128_cce_stop_11495
r128_cce_stop
define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) 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 4202515) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %7 = ptrtoint i32* %arg2 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_5, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = and i64 %12, 4294967295 store i64 %15, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %16 = call i64 @FUNC(i64 %2) %17 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
CompRealVul
xlnx_zynqmp_class_init_15890
xlnx_zynqmp_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = load i64, i64* @gv_0, align 8 store i64 %1, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198662, i64* %3, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0 } }
1
CompRealVul
first_tid_4434
first_tid
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_1.08.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext3 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext3, 32 %3 = call i64 @FUNC() %4 = icmp eq i32 %1, 0 %5 = trunc i64 %2 to i32 %6 = icmp slt i32 %5, 1 %or.cond = or i1 %4, %6 br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %7 = and i64 %arg2, 4294967295 %8 = ptrtoint i64* %arg4 to i64 %9 = call i64 @FUNC(i64 %7, i64 %8) %10 = icmp eq i64 %9, 0 br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = inttoptr i64 %9 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, %0 store i64 %9, i64* %sv_0.1.reg2mem br i1 %13, label LBL_9, label LBL_4 LBL_3: %14 = icmp eq i32 %5, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 %0) %16 = icmp slt i64 %2, %15 store i64 0, i64* %sv_0.2.reg2mem br i1 %16, label LBL_5, label LBL_10 LBL_5: %17 = call i64 @FUNC(i64 %0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 0, i64* %sv_0.2.reg2mem br i1 %19, label LBL_10, label LBL_6 LBL_6: %20 = icmp eq i32 %5, 0 %21 = icmp slt i32 %5, 0 %22 = icmp eq i1 %21, false %23 = icmp eq i1 %20, false %24 = icmp eq i1 %22, %23 store i64 %0, i64* %sv_0.09.reg2mem store i64 %2, i64* %sv_1.08.reg2mem store i64 %0, i64* %sv_0.1.reg2mem br i1 %24, label LBL_7, label LBL_9 LBL_7: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %25 = call i64 @FUNC(i64 %sv_0.09.reload) %26 = icmp eq i64 %25, %0 %27 = icmp eq i1 %26, false store i64 0, i64* %sv_0.2.reg2mem br i1 %27, label LBL_8, label LBL_10 LBL_8: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %28 = mul i64 %sv_1.08.reload, 4294967296 %sext5 = add i64 %28, -4294967296 %29 = ashr exact i64 %sext5, 32 %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp slt i32 %30, 0 %33 = icmp eq i1 %32, false %34 = icmp eq i1 %31, false %35 = icmp eq i1 %33, %34 store i64 %25, i64* %sv_0.09.reg2mem store i64 %29, i64* %sv_1.08.reg2mem store i64 %25, i64* %sv_0.1.reg2mem br i1 %35, label LBL_7, label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %36 = call i64 @FUNC(i64 %sv_0.1.reload) store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem br label LBL_10 LBL_10: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %37 = call i64 @FUNC() ret i64 %sv_0.2.reload uselistorder i32 %30, { 1, 0 } uselistorder i32 %5, { 1, 0, 2, 3 } uselistorder i64 %0, { 4, 0, 1, 5, 3, 2 } uselistorder i64* %sv_0.09.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 1, 4, 2 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6 } uselistorder label LBL_10, { 3, 0, 1, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
0
CompRealVul
gen_mtspr_791
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, 8 %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 = and i64 %6, 4294967295 %12 = mul nuw nsw i64 %11, 24 %13 = add i64 %4, 16 %14 = add i64 %13, %12 store i64 %14, i64* %sv_0.0.in.in.reg2mem br label LBL_5 LBL_2: %15 = add i64 %4, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 %19 = and i64 %6, 4294967295 %20 = mul nuw nsw i64 %19, 24 %21 = add i64 %20, %4 br i1 %18, label LBL_4, label LBL_3 LBL_3: %22 = add i64 %21, 24 store i64 %22, i64* %sv_0.0.in.in.reg2mem br label LBL_5 LBL_4: %23 = add i64 %21, 32 store i64 %23, 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 %24 = icmp eq i64 %sv_0.0, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %5) store i64 %4, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %28 = trunc i64 %6 to i32 %29 = call i64 @FUNC() %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %.pre = add i64 %4, 4 %.pre1 = inttoptr i64 %.pre to i32* br i1 %31, 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: %32 = load i32, i32* %.pre1, align 4 %33 = add i32 %32, -4 %34 = zext i32 %33 to i64 %35 = and i64 %6, 4294967295 %36 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %35, i32 %28, i64 %34, i64 %2, i64 %1) store i64 %35, i64* %.pre-phi4.reg2mem br label LBL_10 LBL_10: %.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem %37 = load i32, i32* %.pre1, align 4 %38 = add i32 %37, -4 %39 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %.pre-phi4.reload, i32 %28, i32 %38) %41 = load i32, i32* %8, align 4 %42 = icmp eq i32 %41, 0 store i64 0, i64* %rax.0.reg2mem br i1 %42, label LBL_12, label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 %4, i64 2) store i64 %43, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i64 %21, { 1, 0 } uselistorder i64 %6, { 2, 0, 4, 1, 3 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 4, 2, 0, 1, 5, 3, 6 } uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967295, { 3, 1, 2, 4, 0, 5 } uselistorder label LBL_10, { 1, 0 } }
0
CompRealVul
smp_parse_14476
smp_parse
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem8 = alloca i32 %.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_0.LBL_12_crit_edge, label LBL_2 LBL_1: %.pre = load i32, i32* @gv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_12 LBL_2: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0) %3 = trunc i64 %2 to i32 %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 0) %5 = trunc i64 %4 to i32 %6 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 0) %7 = trunc i64 %6 to i32 %8 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i64 0) %9 = trunc i64 %8 to i32 %10 = icmp ne i32 %3, 0 %11 = icmp eq i32 %5, 0 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 %13 = icmp eq i32 %7, 0 br i1 %or.cond, label LBL_5, label LBL_3 LBL_3: %14 = select i1 %13, i32 1, i32 %7 %15 = icmp eq i32 %9, 0 %16 = select i1 %15, i32 1, i32 %9 %17 = icmp eq i32 %3, 0 %18 = icmp eq i1 %17, false store i32 %3, i32* %sv_2.0.reg2mem store i32 %14, i32* %sv_1.0.reg2mem store i32 %16, i32* %sv_0.0.reg2mem br i1 %18, label LBL_11, label LBL_4 LBL_4: %19 = select i1 %11, i32 1, i32 %5 %20 = mul i32 %14, %19 %21 = mul i32 %20, %16 store i32 %21, i32* %sv_2.0.reg2mem store i32 %14, i32* %sv_1.0.reg2mem store i32 %16, i32* %sv_0.0.reg2mem br label LBL_11 LBL_5: %22 = icmp eq i1 %13, false %23 = icmp eq i32 %9, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %24 = select i1 %23, i32 1, i32 %9 %25 = mul i32 %24, %5 %26 = udiv i32 %3, %25 store i32 %3, i32* %sv_2.0.reg2mem store i32 %26, i32* %sv_1.0.reg2mem store i32 %24, i32* %sv_0.0.reg2mem br label LBL_11 LBL_7: %27 = icmp eq i1 %23, false %28 = mul i32 %7, %5 br i1 %27, label LBL_9, label LBL_8 LBL_8: %29 = udiv i32 %3, %28 store i32 %3, i32* %sv_2.0.reg2mem store i32 %7, i32* %sv_1.0.reg2mem store i32 %29, i32* %sv_0.0.reg2mem br label LBL_11 LBL_9: %30 = mul i32 %28, %9 %31 = icmp ult i32 %30, %3 store i32 %3, i32* %sv_2.0.reg2mem store i32 %7, i32* %sv_1.0.reg2mem store i32 %9, i32* %sv_0.0.reg2mem br i1 %31, label LBL_10, label LBL_11 LBL_10: %32 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_6, i64 0, i64 0), i32 %5, i32 %7, i32 %9, i32 %3) call void @exit(i32 1) unreachable LBL_11: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %34 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i64 0) %35 = trunc i64 %34 to i32 store i32 %35, i32* @gv_0, align 4 store i32 %sv_2.0.reload, i32* @gv_8, align 4 %36 = icmp eq i32 %sv_1.0.reload, 0 %narrow = select i1 %36, i32 1, i32 %sv_1.0.reload store i32 %narrow, i32* bitcast (i64* @gv_9 to i32*), align 8 %37 = icmp eq i32 %sv_0.0.reload, 0 %narrow6 = select i1 %37, i32 1, i32 %sv_0.0.reload store i32 %narrow6, i32* bitcast (i64* @gv_10 to i32*), align 8 store i32 %35, i32* %.reg2mem br label LBL_12 LBL_12: %.reload = load i32, i32* %.reg2mem %38 = icmp eq i32 %.reload, 0 %39 = icmp eq i1 %38, false store i32 %.reload, i32* %.reg2mem8 br i1 %39, label LBL_14, label LBL_13 LBL_13: %40 = load i32, i32* @gv_8, align 4 store i32 %40, i32* @gv_0, align 4 store i32 %40, i32* %.reg2mem8 br label LBL_14 LBL_14: %.reload9 = load i32, i32* %.reg2mem8 %41 = icmp ult i32 %.reload9, 129 br i1 %41, label LBL_16, label LBL_15 LBL_15: %42 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %43 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_11 to i64*), i32 1, i32 30, %_IO_FILE* %42) call void @exit(i32 1) unreachable LBL_16: %44 = load i32, i32* @gv_8, align 4 %45 = icmp ult i32 %.reload9, %44 %46 = icmp eq i1 %45, false br i1 %46, label LBL_18, label LBL_17 LBL_17: %47 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %48 = call i32 @fwrite(i64* bitcast ([46 x i8]* @gv_12 to i64*), i32 1, i32 45, %_IO_FILE* %47) call void @exit(i32 1) unreachable LBL_18: %49 = zext i32 %44 to i64 ret i64 %49 uselistorder i32 %44, { 1, 0 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32 %28, { 1, 0 } uselistorder i1 %23, { 1, 0 } uselistorder i32 %16, { 0, 2, 1 } uselistorder i32 %14, { 0, 2, 1 } uselistorder i1 %13, { 1, 0 } uselistorder i32 %9, { 4, 0, 5, 2, 6, 1, 3 } uselistorder i32 %7, { 5, 1, 0, 2, 3, 4 } uselistorder i32 %5, { 4, 0, 1, 2, 3 } uselistorder i32 %3, { 7, 2, 4, 1, 6, 0, 5, 3, 8, 9 } uselistorder i64 %1, { 0, 2, 1, 4, 3 } uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i32* %.reg2mem8, { 0, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i32* @gv_8, { 2, 1, 0 } uselistorder void (i32)* @exit, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_5, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_number, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 3, 4, 5, 6, 8, 9, 7, 0, 10, 1, 2 } uselistorder i32* @gv_0, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
CompRealVul
ff_simple_idct248_put_1961
ff_simple_idct248_put
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv7.reg2mem br label LBL_1 LBL_1: %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %2 = mul i64 %indvars.iv7.reload, 32 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %3, i64 0) %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %exitcond9 = icmp eq i64 %indvars.iv.next8, 8 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem br i1 %exitcond9, label LBL_2, label LBL_1 LBL_2: %sext = mul i64 %arg2, 4294967296 %5 = mul i64 %arg2, 2 %6 = and i64 %5, 4294967294 %7 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %8 = mul i64 %indvars.iv.reload, 4 %9 = add i64 %8, %0 %10 = add i64 %indvars.iv.reload, %1 %11 = call i64 @FUNC(i64 %10, i64 %6, i64 %9) %12 = add i64 %9, 32 %13 = add i64 %10, %7 %14 = call i64 @FUNC(i64 %13, i64 %6, i64 %12) %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 br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 %14 uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @idct4col_put, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 32, { 1, 2, 0 } }
0
CompRealVul
bcm2835_audio_write_4835
bcm2835_audio_write
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @puts(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 40, i64 0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967294, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %1, i64 4198757) %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i64* store i64 %5, i64* %8, align 8 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 %11 = add i64 %1, 24 %12 = inttoptr i64 %11 to i64* store i64 %arg3, i64* %12, align 8 %13 = trunc i64 %arg2 to i32 %14 = add i64 %1, 32 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = call i64 @FUNC(i64 %1, i64 %1) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %21 = call i32 @puts(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 0, 1, 6, 2, 3, 4, 7, 5, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i8*)* @puts, { 2, 1, 0 } }
0
CompRealVul
DetachBlob_11931
DetachBlob
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([31 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = add i64 %0, 56 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0)) store i64 0, i64* %rdi.1.reg2mem br label LBL_4 LBL_4: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %.pre = add i64 %0, 8 %.pre1 = inttoptr i64 %.pre to i64* store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = load i64, i64* %.pre1, align 8 %13 = call i64 @FUNC(i64 %rdi.1.reload, i64 %12) %14 = load i64, i64* %.pre1, align 8 %15 = call i64 @FUNC(i64 0, i64 %14) store i64 0, i64* %rdi.2.reg2mem br label LBL_6 LBL_6: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem store i32 0, i32* %9, align 4 store i64 0, i64* %.pre1, align 8 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 28 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %0, 32 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %0, 36 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 %26 = add i64 %0, 48 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 store i64 0, i64* %arg1, align 8 %28 = add i64 %0, 64 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 ret i64 %rdi.2.reload uselistorder i64* %.pre1, { 0, 2, 1 } uselistorder i64 %rdi.1.reload, { 1, 0 } uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 8, 1, 9, 10, 0 } uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 } uselistorder [31 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1