dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
kvm_put_vcpu_events_17071
kvm_put_vcpu_events
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = trunc i64 %1 to i32 %7 = ptrtoint i64* %arg1 to i64 %8 = icmp sgt i32 %6, -1 %9 = zext i1 %8 to i32 store i32 %9, i32* %sv_0, align 4 %10 = call i64 @FUNC(i64 %7, i64 2, i32* nonnull %sv_0) store i64 %10, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tight_detect_smooth_image24_11538
tight_detect_smooth_image24
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.114.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.015.reg2mem = alloca i32 %indvars.iv48.reg2mem = alloca i64 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_1.226.reg2mem = alloca i32 %sv_2.027.reg2mem = alloca i32 %sv_3.029.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.122.reg2mem = alloca i32 %storemerge323.reg2mem = alloca i32 %indvars.iv39.reg2mem = alloca i64 %indvars.iv36.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = ptrtoint i64* %sv_5 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 1024) %6 = trunc i64 %arg3 to i32 %7 = icmp sgt i32 %6, 0 %8 = trunc i64 %arg2 to i32 %9 = icmp sgt i32 %8, 0 %or.cond25 = icmp eq i1 %9, %7 store i32 0, i32* %sv_1.2.lcssa.reg2mem br i1 %or.cond25, label LBL_1, label LBL_9 LBL_1: %10 = urem i32 %4, 2 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false %13 = zext i1 %12 to i32 %14 = add i64 %1, -1084 %15 = add i64 %1, -1072 %16 = icmp sgt i32 %8, %6 store i32 0, i32* %sv_3.029.reg2mem store i32 0, i32* %sv_2.027.reg2mem store i32 0, i32* %sv_1.226.reg2mem br label LBL_8 LBL_2: %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem %17 = add i64 %59, %indvars.iv36.reload %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = mul i64 %indvars.iv36.reload, 4 %22 = add i64 %21, %14 %23 = inttoptr i64 %22 to i32* store i32 %20, i32* %23, align 4 %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1 %exitcond38 = icmp eq i64 %indvars.iv.next37, 3 store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem br i1 %exitcond38, label LBL_4, label LBL_2 LBL_3: %indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem %24 = add i64 %46, %indvars.iv39.reload %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = zext i8 %26 to i32 %28 = mul i64 %indvars.iv39.reload, 4 %29 = add i64 %28, %14 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = sub i32 %27, %31 %33 = sub i32 0, %32 %34 = icmp slt i32 %33, 0 %35 = icmp eq i1 %34, false %36 = select i1 %35, i32 %33, i32 %32 %37 = sext i32 %36 to i64 %38 = mul i64 %37, 4 %39 = add i64 %15, %38 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i32 %41, 1 store i32 %42, i32* %40, align 4 store i32 %27, i32* %30, align 4 %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1 %exitcond41 = icmp eq i64 %indvars.iv.next40, 3 store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem br i1 %exitcond41, label LBL_5, label LBL_3 LBL_4: %43 = add i32 %56, 4 %44 = or i32 %43, %13 %45 = zext i32 %44 to i64 %46 = add i64 %45, %0 store i64 0, i64* %indvars.iv39.reg2mem br label LBL_3 LBL_5: %47 = add i32 %sv_1.122.reload, 1 %48 = add i32 %storemerge323.reload, 1 %49 = sext i32 %48 to i64 %50 = icmp slt i64 %49, %69 %51 = icmp slt i64 %49, %67 %or.cond10 = icmp eq i1 %50, %51 store i32 %48, i32* %storemerge323.reg2mem store i32 %47, i32* %sv_1.122.reg2mem store i32 %47, i32* %sv_1.1.lcssa.reg2mem br i1 %or.cond10, label LBL_6, label LBL_7 LBL_6: %sv_1.122.reload = load i32, i32* %sv_1.122.reg2mem %storemerge323.reload = load i32, i32* %storemerge323.reg2mem %52 = add i32 %storemerge323.reload, %sv_2.027.reload %53 = mul i32 %52, %8 %54 = add i32 %storemerge323.reload, %sv_3.029.reload %55 = add i32 %54, %53 %56 = mul i32 %55, 4 %57 = or i32 %56, %13 %58 = zext i32 %57 to i64 %59 = add i64 %58, %0 store i64 0, i64* %indvars.iv36.reg2mem br label LBL_2 LBL_7: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %60 = add i32 %sv_3.029.reload, %6 %61 = add i32 %sv_2.027.reload, %8 %sv_2.0.be = select i1 %16, i32 0, i32 %61 %sv_3.0.be = select i1 %16, i32 %60, i32 0 %62 = icmp slt i32 %sv_2.0.be, %6 %63 = icmp slt i32 %sv_3.0.be, %8 %or.cond = icmp eq i1 %63, %62 store i32 %sv_3.0.be, i32* %sv_3.029.reg2mem store i32 %sv_2.0.be, i32* %sv_2.027.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.226.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.2.lcssa.reg2mem br i1 %or.cond, label LBL_8, label LBL_9 LBL_8: %sv_1.226.reload = load i32, i32* %sv_1.226.reg2mem %sv_2.027.reload = load i32, i32* %sv_2.027.reg2mem %sv_3.029.reload = load i32, i32* %sv_3.029.reg2mem %64 = sub i32 0, %sv_3.029.reload %65 = sub i32 %64, 1 %66 = add i32 %65, %8 %67 = zext i32 %66 to i64 %68 = sub i32 %6, %sv_2.027.reload %69 = zext i32 %68 to i64 %70 = icmp ne i32 %68, 0 %71 = icmp ne i32 %66, 0 %or.cond1021 = icmp eq i1 %71, %70 store i32 0, i32* %storemerge323.reg2mem store i32 %sv_1.226.reload, i32* %sv_1.122.reg2mem store i32 %sv_1.226.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %or.cond1021, label LBL_6, label LBL_7 LBL_9: %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %72 = load i64, i64* %sv_4, align 8 %73 = trunc i64 %72 to i32 %.lhs.trunc = mul i32 %73, 33 %74 = udiv i32 %.lhs.trunc, %sv_1.2.lcssa.reload %75 = icmp ult i32 %74, 95 store i64 0, i64* %rax.0.reg2mem br i1 %75, label LBL_10, label LBL_16 LBL_10: %76 = add i64 %1, -1072 store i64 1, i64* %indvars.iv48.reg2mem store i32 0, i32* %sv_0.015.reg2mem br label LBL_11 LBL_11: %indvars.iv48.reload = load i64, i64* %indvars.iv48.reg2mem %77 = mul i64 %indvars.iv48.reload, 4 %78 = add i64 %77, %76 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 store i64 0, i64* %rax.0.reg2mem br i1 %81, label LBL_16, label LBL_12 LBL_12: %82 = mul i64 %indvars.iv48.reload, 4 %83 = add i64 %82, -4 %84 = add i64 %83, %76 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = mul i32 %86, 2 %88 = icmp ugt i32 %80, %87 store i64 0, i64* %rax.0.reg2mem br i1 %88, label LBL_16, label LBL_13 LBL_13: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %89 = trunc i64 %indvars.iv48.reload to i32 %90 = mul i32 %89, %89 %91 = mul i32 %90, %80 %92 = add i32 %91, %sv_0.015.reload %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48.reload, 1 %93 = icmp ult i64 %indvars.iv.next49, 8 store i64 %indvars.iv.next49, i64* %indvars.iv48.reg2mem store i32 %92, i32* %sv_0.015.reg2mem store i64 8, i64* %indvars.iv.reg2mem store i32 %92, i32* %sv_0.114.reg2mem br i1 %93, label LBL_11, label LBL_14 LBL_14: %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %94 = mul i64 %indvars.iv.reload, 4 %95 = add i64 %94, %76 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = trunc i64 %indvars.iv.reload to i32 %99 = mul i32 %98, %98 %100 = mul i32 %99, %97 %101 = add i32 %100, %sv_0.114.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %101, i32* %sv_0.114.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %102 = mul i32 %sv_1.2.lcssa.reload, 3 %103 = sub i32 %102, %73 %104 = udiv i32 %101, %103 %105 = zext i32 %104 to i64 store i64 %105, 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 %101, { 1, 0 } uselistorder i32 %80, { 2, 0, 1 } uselistorder i64 %indvars.iv48.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_1.2.lcssa.reload, { 1, 0 } uselistorder i32 %sv_3.029.reload, { 2, 0, 1 } uselistorder i32 %sv_1.226.reload, { 1, 0 } uselistorder i32 %56, { 1, 0 } uselistorder i32 %storemerge323.reload, { 2, 1, 0 } uselistorder i64 %indvars.iv39.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv36.reload, { 0, 2, 1 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %8, { 2, 5, 0, 1, 4, 3 } uselistorder i32 %6, { 3, 4, 0, 2, 1 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %indvars.iv36.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv39.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge323.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.122.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv48.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.114.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i32 0, { 14, 0, 5, 9, 10, 6, 7, 8, 15, 16, 2, 3, 4, 17, 1, 11, 12, 13 } uselistorder label LBL_16, { 3, 1, 0, 2 } 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_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
zep_print_ts_12926
zep_print_ts
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %xmm0.0.reg2mem = alloca i128 %2 = load i64, i64* %1 %3 = load i64, i64* %1 %4 = load i64, i64* %1 %5 = load i64, i64* %1 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %9 = add i64 %8, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = add i64 %8, 2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = add i64 %8, 3 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = add i64 %8, 4 %19 = inttoptr i64 %18 to i8* %20 = load i8, i8* %19, align 1 %21 = zext i8 %20 to i64 %22 = mul i64 %21, 16777216 %23 = add i64 %8, 5 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = zext i8 %25 to i64 %27 = mul i64 %26, 65536 %28 = or i64 %27, %22 %29 = add i64 %8, 6 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = zext i8 %31 to i64 %33 = mul i64 %32, 256 %34 = or i64 %28, %33 %35 = add i64 %8, 7 %36 = inttoptr i64 %35 to i8* %37 = load i8, i8* %36, align 1 %38 = zext i8 %37 to i64 %39 = or i64 %34, %38 %40 = icmp eq i64 %39, 0 %41 = call i128 @FUNC(i128 %7, i128 %7) %42 = call i128 @FUNC(i64 %39) %43 = call i64 @FUNC(i128 %42) %44 = trunc i64 %43 to i32 %45 = call i128 @FUNC(i128 %42, i128 %42) call void @FUNC(i128 %45, i32 %44) store i128 %45, i128* %xmm0.0.reg2mem store i32 %44, i32* %sv_0.0.reg2mem br i1 %40, label LBL_2, label LBL_1 LBL_1: %46 = call i128 @FUNC(i128 %6, i128 %6) %47 = call i128 @FUNC(i32 %44) %48 = call i128 @FUNC(i64 4751297606873776128) %49 = call i128 @FUNC(i128 %48, i128 %47) %50 = call i128 @FUNC(i128 %49) %51 = call i64 @FUNC(i128 %50) %52 = trunc i64 %51 to i32 store i128 %50, i128* %xmm0.0.reg2mem store i32 %52, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %53 = trunc i64 %4 to i32 %54 = mul i32 %53, 16777216 %55 = zext i8 %11 to i32 %56 = mul i32 %55, 65536 %57 = or i32 %56, %54 %58 = zext i8 %14 to i32 %59 = mul i32 %58, 256 %60 = or i32 %57, %59 %61 = zext i8 %17 to i32 %62 = or i32 %60, %61 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem %63 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload) %64 = call i128 @FUNC(i32 %sv_0.0.reload) %65 = call i128 @FUNC(i64 4751297606873776128) %66 = call i128 @FUNC(i128 %64, i128 %65) %67 = call i128 @FUNC(i128 %66) %68 = call i64 @FUNC(i128 %67) %69 = trunc i64 %68 to i32 %70 = call i128 @FUNC(i128 %65, i128 %65) %71 = call i128 @FUNC(i32 %69) %72 = call i128 @FUNC(i64 4741671816366391296) %73 = call i128 @FUNC(i128 %72, i128 %71) %74 = call i64 @FUNC(i128 %73) %75 = trunc i64 %74 to i32 %76 = zext i32 %62 to i64 %77 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %76, i32 %75, i64 %5, i64 %3, i64 %2) %78 = icmp eq i32 %62, 0 store i64 %77, i64* %rax.0.reg2mem br i1 %78, label LBL_4, label LBL_3 LBL_3: %79 = add i32 %62, 2085978496 %80 = zext i32 %79 to i64 store i64 %80, i64* %sv_2, align 8 %81 = bitcast i64* %sv_2 to i32* %82 = call %tm* @localtime(i32* nonnull %81) %83 = ptrtoint %tm* %82 to i64 %84 = bitcast i64* %sv_1 to i8* %85 = call i32 @strftime(i8* nonnull %84, i32 128, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), %tm* %82) %86 = ptrtoint i64* %sv_1 to i64 %87 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %86, i32 ptrtoint ([18 x i8]* @gv_1 to i32), i64 %83, i64 %3, i64 %2) store i64 %87, 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 i128 %65, { 2, 1, 0 } uselistorder i32 %62, { 1, 0, 2 } uselistorder i32 %44, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %8, { 3, 2, 1, 0, 4, 5, 6 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %1, { 3, 2, 1, 0 } uselistorder i128* %0, { 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @ND_PRINT, { 1, 0 } }
1
BinRealVul
visit_next_list_864
visit_next_list
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 ret i64 %0 }
0
BinRealVul
part_discard_alignment_show_18125
part_discard_alignment_show
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = inttoptr i64 %1 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %4, i64 %7) %9 = trunc i64 %8 to i32 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %10 = bitcast i64* %arg3 to i8* %11 = call i32 (i8*, i8*, ...) @sprintf(i8* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %sv_0.0.reload) %12 = sext i32 %11 to i64 ret i64 %12 }
1
BinRealVul
decode_v4_vector_2241
decode_v4_vector
define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.19.reg2mem = alloca i32 %rcx.210.reg2mem = alloca i64 %rsi.211.reg2mem = alloca i64 %indvars.iv12.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.16.reg2mem = alloca i64 %rsi.17.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = bitcast i64* %rdi to i32* %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 1 %7 = icmp eq i1 %6, false %8 = select i1 %7, i32 4, i32 6 %9 = ptrtoint i32* %arg3 to i64 %10 = add i64 %3, 24 %11 = inttoptr i64 %10 to i32* %12 = add i64 %3, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %3, 28 %15 = inttoptr i64 %14 to i32* %16 = add i64 %3, 16 %17 = inttoptr i64 %16 to i64* %18 = add i64 %3, 32 %19 = inttoptr i64 %18 to i32* store i64 0, i64* %indvars.iv12.reg2mem store i64 %3, i64* %rsi.211.reg2mem store i64 %2, i64* %rcx.210.reg2mem store i32 0, i32* %sv_0.19.reg2mem br label LBL_5 LBL_1: %rcx.16.reload = load i64, i64* %rcx.16.reg2mem %rsi.17.reload = load i64, i64* %rsi.17.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %20 = mul i64 %indvars.iv14.reload, 4 %21 = add i64 %20, %9 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = mul i32 %23, %8 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = add i64 %26, %rcx.16.reload %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = load i32, i32* %11, align 4 %31 = mul i32 %30, %sv_0.19.reload %32 = zext i32 %31 to i64 %33 = trunc i64 %indvars.iv.reload to i32 %34 = add i32 %31, %33 %35 = sext i32 %34 to i64 %36 = add i64 %rsi.17.reload, %35 %37 = trunc i32 %29 to i8 %38 = inttoptr i64 %36 to i8* store i8 %37, i8* %38, align 1 %39 = load i32, i32* %22, align 4 %40 = mul i32 %39, %8 %41 = sext i32 %40 to i64 %42 = mul i64 %41, 4 %43 = or i64 %42, 4 %44 = add i64 %43, %rsi.17.reload %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = or i64 %indvars.iv.reload, 1 %48 = load i32, i32* %11, align 4 %49 = mul i32 %48, %sv_0.19.reload %50 = trunc i64 %47 to i32 %51 = add i32 %49, %50 %52 = sext i32 %51 to i64 %53 = add nsw i64 %52, %32 %54 = trunc i32 %46 to i8 %55 = inttoptr i64 %53 to i8* store i8 %54, i8* %55, align 1 %56 = load i32, i32* %22, align 4 %57 = mul i32 %56, %8 %58 = sext i32 %57 to i64 %59 = mul i64 %58, 4 %60 = add nuw nsw i64 %32, 8 %61 = add nsw i64 %60, %59 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = zext i32 %63 to i64 %65 = load i32, i32* %11, align 4 %66 = mul i32 %65, %128 %67 = add i32 %66, %33 %68 = sext i32 %67 to i64 %69 = add nsw i64 %47, %68 %70 = trunc i32 %63 to i8 %71 = inttoptr i64 %69 to i8* store i8 %70, i8* %71, align 1 %72 = load i32, i32* %22, align 4 %73 = mul i32 %72, %8 %74 = sext i32 %73 to i64 %75 = mul i64 %74, 4 %76 = add nuw nsw i64 %64, 12 %77 = add nsw i64 %76, %75 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = load i32, i32* %11, align 4 %82 = mul i32 %81, %128 %83 = add i32 %82, %50 %84 = sext i32 %83 to i64 %85 = add nsw i64 %47, %84 %86 = trunc i32 %79 to i8 %87 = inttoptr i64 %85 to i8* store i8 %86, i8* %87, align 1 %88 = load i32, i32* %4, align 8 %89 = zext i32 %88 to i64 %90 = icmp eq i32 %88, 1 %91 = icmp eq i1 %90, false store i64 %89, i64* %rax.0.reg2mem store i64 %80, i64* %rcx.0.reg2mem store i64 %47, i64* %rsi.0.reg2mem br i1 %91, label LBL_3, label LBL_2 LBL_2: %92 = load i32, i32* %22, align 4 %93 = mul i32 %92, %8 %94 = sext i32 %93 to i64 %95 = mul i64 %94, 4 %96 = add nuw nsw i64 %80, 16 %97 = add nsw i64 %96, %95 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = zext i32 %99 to i64 %101 = load i64, i64* %13, align 8 %102 = ashr exact i32 %33, 1 %103 = load i32, i32* %15, align 4 %104 = mul i32 %103, %129 %105 = add i32 %104, %102 %106 = sext i32 %105 to i64 %107 = add i64 %101, %106 %108 = trunc i32 %99 to i8 %109 = inttoptr i64 %107 to i8* store i8 %108, i8* %109, align 1 %110 = load i32, i32* %22, align 4 %111 = mul i32 %110, %8 %112 = sext i32 %111 to i64 %113 = mul i64 %112, 4 %114 = add nuw nsw i64 %100, 20 %115 = add nsw i64 %114, %113 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = zext i32 %117 to i64 %119 = load i64, i64* %17, align 8 %120 = load i32, i32* %19, align 4 %121 = mul i32 %120, %129 %122 = add i32 %121, %102 %123 = sext i32 %122 to i64 %124 = add i64 %119, %123 %125 = trunc i32 %117 to i8 %126 = inttoptr i64 %124 to i8* store i8 %125, i8* %126, align 1 store i64 %124, i64* %rax.0.reg2mem store i64 %118, i64* %rcx.0.reg2mem store i64 %119, i64* %rsi.0.reg2mem br label LBL_3 LBL_3: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next15, %indvars.iv.next13 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rsi.0.reload, i64* %rsi.17.reg2mem store i64 %rcx.0.reload, i64* %rcx.16.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %127 = icmp ult i32 %130, 4 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i64 %rsi.0.reload, i64* %rsi.211.reg2mem store i64 %rcx.0.reload, i64* %rcx.210.reg2mem store i32 %130, i32* %sv_0.19.reg2mem br i1 %127, label LBL_5, label LBL_6 LBL_5: %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem %rcx.210.reload = load i64, i64* %rcx.210.reg2mem %rsi.211.reload = load i64, i64* %rsi.211.reg2mem %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %128 = or i32 %sv_0.19.reload, 1 %129 = udiv i32 %sv_0.19.reload, 2 %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 2 %130 = add nuw nsw i32 %sv_0.19.reload, 2 store i64 %indvars.iv12.reload, i64* %indvars.iv14.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i64 %rsi.211.reload, i64* %rsi.17.reg2mem store i64 %rcx.210.reload, i64* %rcx.16.reg2mem br label LBL_1 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %130, { 1, 0 } uselistorder i64 %indvars.iv.next13, { 1, 0 } uselistorder i32 %128, { 1, 0 } uselistorder i64 %indvars.iv12.reload, { 1, 0 } uselistorder i32 %sv_0.19.reload, { 0, 4, 3, 2, 1 } uselistorder i64 %80, { 1, 0 } uselistorder i32 %33, { 2, 0, 1 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %indvars.iv14.reg2mem, { 1, 2, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i64* %rsi.17.reg2mem, { 1, 2, 0 } uselistorder i64* %rcx.16.reg2mem, { 1, 2, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 0, 1, 2, 3, 7, 4, 5, 6 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
sock_sendpage_11590
sock_sendpage
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 ret i64 %0 }
1
BinRealVul
test_lifecycle_14131
test_lifecycle
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %0 = call i64 @FUNC(i64 4198844) %1 = bitcast i32* %sv_0 to i8* %2 = call i64 @FUNC(i64 %0, i8* nonnull %1) %3 = load i32, i32* %sv_0, align 4 %4 = urem i32 %3, 256 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %5) store i32 0, i32* %sv_0, align 4 %7 = call i64 @FUNC(i64 4198844) %8 = call i64 @FUNC(i64 %7, i8* nonnull %1) %9 = load i32, i32* %sv_0, align 4 %10 = urem i32 %9, 256 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) ret i64 %12 uselistorder i32* %sv_0, { 3, 2, 1, 4, 0 } uselistorder i64 (i64)* @g_assert, { 1, 0 } uselistorder i64 (i64, i8*)* @qemu_coroutine_enter, { 1, 0 } uselistorder i64 (i64)* @qemu_coroutine_create, { 1, 0 } }
1
BinRealVul
tenc_box_read_13295
tenc_box_read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 3) %5 = call i64 @FUNC(i64 %2) %6 = trunc i64 %1 to i8 %7 = icmp eq i8 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %2) br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %2, i64 4) %11 = trunc i64 %10 to i32 %12 = add i64 %3, 36 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = call i64 @FUNC(i64 %2, i64 4) %15 = trunc i64 %14 to i32 %16 = add i64 %3, 40 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 br label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %2) %19 = trunc i64 %18 to i8 %20 = add i64 %3, 1 %21 = inttoptr i64 %20 to i8* store i8 %19, i8* %21, align 1 %22 = call i64 @FUNC(i64 %3, i64 17) %23 = add i64 %3, 2 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = add i64 %3, 3 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = add i64 %3, 4 %28 = inttoptr i64 %27 to i8* store i8 0, i8* %28, align 1 %29 = call i64 @FUNC(i64 %2) %30 = trunc i64 %29 to i8 %31 = add i64 %3, 5 %32 = inttoptr i64 %31 to i8* store i8 %30, i8* %32, align 1 %33 = add i64 %3, 6 %34 = call i64 @FUNC(i64 %2, i64 %33, i64 16) %35 = icmp eq i8 %30, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_6, label LBL_4 LBL_4: %37 = load i8, i8* %21, align 1 %38 = icmp eq i8 %37, 0 br i1 %38, label LBL_6, label LBL_5 LBL_5: %39 = call i64 @FUNC(i64 %3, i64 1) %40 = call i64 @FUNC(i64 %2) %41 = trunc i64 %40 to i8 %42 = add i64 %3, 22 %43 = inttoptr i64 %42 to i8* store i8 %41, i8* %43, align 1 %44 = urem i64 %40, 256 %45 = call i64 @FUNC(i64 %3, i64 %44) %46 = add i64 %3, 23 %47 = call i64 @FUNC(i64 %2, i64 %46, i64 %44) br label LBL_6 LBL_6: ret i64 0 uselistorder i8 %30, { 1, 0 } uselistorder i64 %3, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 10, 11, 12, 13 } uselistorder i64 (i64, i64, i64)* @gf_bs_read_data, { 1, 0 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 (i64)* @gf_bs_read_u8, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 3, 2, 1, 0 } uselistorder i64 3, { 1, 0 } }
1
BinRealVul
dynamic_irq_cleanup_18890
dynamic_irq_cleanup
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sext = mul i64 %arg1, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = and i64 %arg1, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %5, 4294967295 %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %3, i64 %2, i64 %1) store i64 %11, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %12 = call i64 @FUNC(i64 %7, i64 %4) %13 = add i64 %7, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %7, i64 %4) %18 = and i64 %5, 4294967295 %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %18, i64 %3, i64 %2, i64 %1) store i64 %19, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %20 = add i64 %7, 16 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %7, 24 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = add i64 %7, 32 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = add i64 %7, 40 %27 = inttoptr i64 %26 to i64* store i64 4198763, i64* %27, align 8 %28 = add i64 %7, 48 %29 = inttoptr i64 %28 to i64* store i64 ptrtoint (i64* @gv_2 to i64), i64* %29, align 8 %30 = call i64 @FUNC(i64 %7, i64 %4) store i64 %30, 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 %7, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @WARN, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 1, { 5, 4, 6, 3, 0, 2, 1 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
flow_keys_hash_length_13188
flow_keys_hash_length
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 3 store i64 2, i64* %sv_0.0.reg2mem br i1 %3, label LBL_5, label LBL_1 LBL_1: %4 = icmp sgt i32 %2, 3 store i64 1, i64* %sv_0.0.reg2mem br i1 %4, label LBL_5, label LBL_2 LBL_2: store i64 1, i64* %sv_0.0.reg2mem switch i32 %2, label LBL_5 [ i32 1, label LBL_3 i32 2, label LBL_4 ] LBL_3: store i64 2, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: store i64 2, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i32 %2, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 5, 1 } uselistorder i64 2, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder label LBL_5, { 2, 3, 1, 4, 0 } }
1
BinRealVul
r100_cs_track_clear_7880
r100_cs_track_clear
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv11.reg2mem = alloca i64 %indvars.iv13.reg2mem = alloca i64 %indvars.iv15.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = bitcast i64* %arg2 to i8* store i8 1, i8* %1, align 1 %2 = add i64 %0, 1 %3 = inttoptr i64 %2 to i8* store i8 1, i8* %3, align 1 %4 = add i64 %0, 2 %5 = inttoptr i64 %4 to i8* store i8 1, i8* %5, align 1 %6 = bitcast i64* %rdi to i32* %7 = load i32, i32* %6, align 8 %8 = icmp ult i32 %7, 300 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* br i1 %8, label LBL_1, label LBL_2 LBL_1: store i32 1, i32* %10, align 4 %11 = load i32, i32* %6, align 8 %12 = icmp ult i32 %11, 201 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %. = select i1 %12, i32 3, i32 6 store i32 %., i32* %14, align 4 %15 = add i64 %0, 12 %16 = inttoptr i64 %15 to i32* store i32 2048, i32* %16, align 4 %17 = add i64 %0, 16 %18 = inttoptr i64 %17 to i32* store i32 1, i32* %18, align 4 br label LBL_3 LBL_2: store i32 4, i32* %10, align 4 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i32* store i32 16, i32* %20, align 4 %21 = add i64 %0, 12 %22 = inttoptr i64 %21 to i32* store i32 4096, i32* %22, align 4 %23 = add i64 %0, 16 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 br label LBL_3 LBL_3: %25 = load i32, i32* %10, align 4 %26 = icmp eq i32 %25, 0 store i64 0, i64* %indvars.iv15.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem %27 = mul nuw nsw i64 %indvars.iv15.reload, 24 %28 = add i64 %27, %0 %29 = add i64 %28, 24 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %28, 32 %32 = inttoptr i64 %31 to i32* store i32 8192, i32* %32, align 4 %33 = add i64 %28, 36 %34 = inttoptr i64 %33 to i32* store i32 16, i32* %34, align 4 %35 = add i64 %28, 40 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1 %37 = load i32, i32* %10, align 4 %38 = zext i32 %37 to i64 %39 = icmp ult i64 %indvars.iv.next16, %38 store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem br i1 %39, label LBL_4, label LBL_5 LBL_5: %40 = add i64 %0, 120 %41 = inttoptr i64 %40 to i8* store i8 1, i8* %41, align 1 %42 = add i64 %0, 128 %43 = inttoptr i64 %42 to i64* store i64 0, i64* %43, align 8 %44 = add i64 %0, 136 %45 = inttoptr i64 %44 to i32* store i32 8192, i32* %45, align 4 %46 = add i64 %0, 140 %47 = inttoptr i64 %46 to i32* store i32 4, i32* %47, align 4 %48 = add i64 %0, 144 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 %50 = add i64 %0, 152 %51 = inttoptr i64 %50 to i32* store i32 127, i32* %51, align 4 %52 = add i64 %0, 160 %53 = inttoptr i64 %52 to i64* store i64 4294967295, i64* %53, align 8 %54 = add i64 %0, 168 %55 = inttoptr i64 %54 to i32* store i32 11, i32* %55, align 4 %56 = add i64 %0, 176 %57 = inttoptr i64 %56 to i64* store i64 16777215, i64* %57, align 8 %58 = load i32, i32* %55, align 4 %59 = icmp eq i32 %58, 0 store i64 0, i64* %indvars.iv13.reg2mem br i1 %59, label LBL_7, label LBL_6 LBL_6: %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem %60 = mul i64 %indvars.iv13.reload, 16 %61 = add i64 %60, %56 %62 = add i64 %61, 8 %63 = inttoptr i64 %62 to i64* store i64 0, i64* %63, align 8 %64 = add i64 %61, 16 %65 = inttoptr i64 %64 to i32* store i32 127, i32* %65, align 4 %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1 %66 = load i32, i32* %55, align 4 %67 = zext i32 %66 to i64 %68 = icmp ult i64 %indvars.iv.next14, %67 store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem br i1 %68, label LBL_6, label LBL_7 LBL_7: %69 = add i64 %0, 8 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %72, label LBL_15, label LBL_8 LBL_8: %73 = add i64 %0, 16 %74 = inttoptr i64 %73 to i32* store i64 0, i64* %indvars.iv11.reg2mem br label LBL_9 LBL_9: %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem %75 = mul nuw nsw i64 %indvars.iv11.reload, 176 %76 = add i64 %75, %0 %77 = add i64 %76, 360 %78 = inttoptr i64 %77 to i32* store i32 0, i32* %78, align 4 %79 = add i64 %76, 364 %80 = inttoptr i64 %79 to i32* store i32 16536, i32* %80, align 4 %81 = add i64 %76, 368 %82 = inttoptr i64 %81 to i32* store i32 16536, i32* %82, align 4 %83 = add i64 %76, 372 %84 = inttoptr i64 %83 to i32* store i32 16536, i32* %84, align 4 %85 = add i64 %76, 376 %86 = inttoptr i64 %85 to i32* store i32 2048, i32* %86, align 4 %87 = add i64 %76, 380 %88 = inttoptr i64 %87 to i32* store i32 2048, i32* %88, align 4 %89 = add i64 %76, 384 %90 = inttoptr i64 %89 to i32* store i32 12, i32* %90, align 4 %91 = load i32, i32* %6, align 8 %92 = icmp ult i32 %91, 201 br i1 %92, label LBL_10, label LBL_11 LBL_10: %93 = add i64 %76, 388 %94 = inttoptr i64 %93 to i32* store i32 0, i32* %94, align 4 %95 = add i64 %76, 392 %96 = inttoptr i64 %95 to i32* store i32 0, i32* %96, align 4 br label LBL_12 LBL_11: %97 = add i64 %76, 392 %98 = inttoptr i64 %97 to i32* store i32 16, i32* %98, align 4 %99 = add i64 %76, 388 %100 = inttoptr i64 %99 to i32* store i32 1, i32* %100, align 4 br label LBL_12 LBL_12: %101 = add i64 %76, 396 %102 = inttoptr i64 %101 to i32* store i32 64, i32* %102, align 4 %103 = add i64 %76, 400 %104 = inttoptr i64 %103 to i64* store i64 0, i64* %104, align 8 %105 = add i64 %76, 408 %106 = inttoptr i64 %105 to i8* store i8 0, i8* %106, align 1 %107 = add i64 %76, 409 %108 = inttoptr i64 %107 to i8* store i8 0, i8* %108, align 1 %109 = add i64 %76, 410 %110 = inttoptr i64 %109 to i8* store i8 1, i8* %110, align 1 %111 = add i64 %76, 411 %112 = inttoptr i64 %111 to i8* store i8 1, i8* %112, align 1 %113 = load i32, i32* %74, align 4 %114 = icmp eq i32 %113, 0 store i64 0, i64* %indvars.iv.reg2mem br i1 %114, label LBL_14, label LBL_13 LBL_13: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %115 = mul nuw nsw i64 %indvars.iv.reload, 24 %116 = add i64 %115, %76 %117 = add i64 %116, 416 %118 = inttoptr i64 %117 to i64* store i64 0, i64* %118, align 8 %119 = add i64 %116, 424 %120 = inttoptr i64 %119 to i32* store i32 16536, i32* %120, align 4 %121 = add i64 %116, 428 %122 = inttoptr i64 %121 to i32* store i32 16536, i32* %122, align 4 %123 = add i64 %116, 432 %124 = inttoptr i64 %123 to i32* store i32 0, i32* %124, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_14, label LBL_13 LBL_14: %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1 %125 = load i32, i32* %70, align 4 %126 = zext i32 %125 to i64 %127 = icmp ult i64 %indvars.iv.next12, %126 store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem store i64 %126, i64* %.lcssa.reg2mem br i1 %127, label LBL_9, label LBL_15 LBL_15: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %76, { 0, 2, 3, 4, 5, 6, 7, 1, 10, 8, 9, 11, 12, 13, 14, 15, 16, 17 } uselistorder i32* %70, { 1, 0 } uselistorder i32* %55, { 1, 0, 2 } uselistorder i32* %10, { 1, 0, 2, 3 } uselistorder i64 %0, { 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 2, 3, 4, 16, 17, 18, 19, 20, 21 } uselistorder i64* %indvars.iv15.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv13.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32 8192, { 1, 0 } uselistorder i64 24, { 1, 2, 0 } uselistorder i32 0, { 3, 4, 5, 6, 7, 0, 1, 9, 8, 2, 10 } uselistorder i64 16, { 1, 2, 0, 3, 4 } uselistorder i64 1, { 2, 3, 1, 0, 4 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
set_deep_fifo_9523
set_deep_fifo
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = call i64 @FUNC(i64 %2, i64 4, i64 1) %5 = icmp eq i32 %3, 1 %6 = icmp eq i1 %5, false %7 = and i64 %4, 4294967293 %8 = or i64 %4, 2 %storemerge = select i1 %6, i64 %7, i64 %8 %9 = and i64 %storemerge, 4294967295 %10 = call i64 @FUNC(i64 %2, i64 4, i64 1, i64 %9) %sext = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext, 30 %12 = add i64 %11, ptrtoint (i32** @gv_0 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = call i64 @FUNC(i64 %2, i64 4, i64 3, i64 %15) %17 = add i64 %11, ptrtoint (i32** @gv_1 to i64) %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %2, i64 4, i64 4, i64 %20) %22 = call i64 @FUNC(i64 %2, i64 4, i64 1) %23 = and i64 %22, 4294967295 ret i64 %23 uselistorder i64 %11, { 1, 0 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64 (i64, i64, i64, i64)* @sb1054_set_register, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @sb1054_get_register, { 1, 0 } uselistorder i64 4, { 0, 2, 1, 3, 4, 5 } }
0
BinRealVul
sc_keycache_forget_key_18502
sc_keycache_forget_key
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem15 = alloca i64 %.reg2mem13 = alloca i64* %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg3, 4294967295 %5 = trunc i64 %arg2 to i32 store i64 %0, i64* %.reg2mem store i64* @gv_0, i64** %.reg2mem13 br label LBL_3 LBL_2: %6 = icmp eq i64 %12, 0 %7 = icmp eq i1 %6, false store i64 %12, i64* %.reg2mem store i64* %11, i64** %.reg2mem13 br i1 %7, label LBL_3, label LBL_6 LBL_3: %.reload14 = load i64*, i64** %.reg2mem13 %.reload = load i64, i64* %.reg2mem store i64 %.reload, i64* %.reg2mem15 br label LBL_4 LBL_4: %.reload16 = load i64, i64* %.reg2mem15 %8 = call i64 @FUNC(i64 %.reload16, i32 %5, i64 %4, i64 %3, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = inttoptr i64 %.reload16 to i64* %12 = load i64, i64* %11, align 8 br i1 %10, label LBL_2, label LBL_5 LBL_5: store i64 %12, i64* %.reload14, align 8 %13 = call i64* @memset(i64* %11, i32 0, i32 8) call void @free(i64* %11) %14 = load i64, i64* %.reload14, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %.reg2mem15 br i1 %16, label LBL_4, label LBL_6 LBL_6: %17 = call i64 @FUNC() ret i64 %17 uselistorder i64 %12, { 2, 1, 0 } uselistorder i64* %11, { 1, 2, 3, 0 } uselistorder i64 %.reload16, { 1, 0 } uselistorder i64* %.reload14, { 1, 0 } uselistorder i64* %.reg2mem15, { 1, 0, 2 } uselistorder i1 false, { 2, 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
get_random_int_6021
get_random_int
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i32, i32* @gv_0, align 4 %1 = zext i32 %0 to i64 %2 = call i64 @FUNC(i64 %1) %3 = load i32*, i32** @gv_1, align 8 %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC() %6 = inttoptr i64 %2 to i32* %7 = load i32, i32* %6, align 4 %8 = trunc i64 %5 to i32 %9 = add i32 %4, 4198729 %10 = add i32 %9, %8 %11 = add i32 %10, %7 store i32 %11, i32* %6, align 4 %12 = load [7 x i8]*, [7 x i8]** @gv_2, align 8 %13 = ptrtoint [7 x i8]* %12 to i64 %14 = call i64 @FUNC(i64 %2, i64 %13) %15 = load i32, i32* %6, align 4 %16 = load i32, i32* @gv_0, align 4 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) %19 = zext i32 %15 to i64 ret i64 %19 uselistorder i32* @gv_0, { 1, 0 } }
0
BinRealVul
r_read_at_le32_12866
r_read_at_le32
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, %arg2 %2 = call i64 @FUNC(i64 %1) ret i64 %2 }
1
BinRealVul
match_ext_3883
match_ext
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i8* %sv_0.0.lcssa.reg2mem = alloca i8* %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i8* %.reg2mem = alloca i8 %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_7 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_7, 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* store i64 %arg2, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %9 = inttoptr i64 %storemerge.reload to i8* %10 = load i8, i8* %9, align 1 %11 = icmp ne i8 %10, 0 %12 = icmp eq i8 %10, 44 %13 = icmp eq i1 %12, false %or.cond4 = icmp eq i1 %11, %13 store i8 %10, i8* %.reg2mem store i8* %8, i8** %sv_0.06.reg2mem store i64 %storemerge.reload, i64* %sv_1.05.reg2mem store i64 %storemerge.reload, i64* %sv_1.0.lcssa.reg2mem store i8* %8, i8** %sv_0.0.lcssa.reg2mem store i8* %9, i8** %.lcssa.reg2mem br i1 %or.cond4, label LBL_4, label LBL_5 LBL_4: %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %sv_0.06.reload = load i8*, i8** %sv_0.06.reg2mem %.reload = load i8, i8* %.reg2mem %14 = add i64 %sv_1.05.reload, 1 %15 = ptrtoint i8* %sv_0.06.reload to i64 %16 = add i64 %15, 1 %17 = inttoptr i64 %16 to i8* store i8 %.reload, i8* %sv_0.06.reload, align 1 %18 = inttoptr i64 %14 to i8* %19 = load i8, i8* %18, align 1 %20 = icmp ne i8 %19, 0 %21 = icmp eq i8 %19, 44 %22 = icmp eq i1 %21, false %or.cond = icmp eq i1 %20, %22 store i8 %19, i8* %.reg2mem store i8* %17, i8** %sv_0.06.reg2mem store i64 %14, i64* %sv_1.05.reg2mem store i64 %14, i64* %sv_1.0.lcssa.reg2mem store i8* %17, i8** %sv_0.0.lcssa.reg2mem store i8* %18, i8** %.lcssa.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_5: %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem store i8 0, i8* %sv_0.0.lcssa.reload, align 1 %23 = call i32 @strcasecmp(i8* nonnull %8, i8* %7) %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 1, i64* %rax.0.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_6: %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %26 = load i8, i8* %.lcssa.reload, align 1 %27 = icmp eq i8 %26, 0 %28 = add i64 %sv_1.0.lcssa.reload, 1 store i64 %28, i64* %storemerge.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_3 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %sv_0.06.reload, { 1, 0 } uselistorder i8* %8, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.05.reg2mem, { 2, 0, 1 } uselistorder i8 44, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 1, { 1, 0, 2, 3, 4 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
v9fs_list_xattr_11447
v9fs_list_xattr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_1.16.reg2mem = alloca i64 %sv_0.17.reg2mem = alloca i64 %sv_2.08.reg2mem = alloca i64 %rdi.010.reg2mem = alloca i64 %sv_3.011.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %arg2) %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = call i64 @FUNC(i64 %1) %5 = icmp eq i32 %3, -1 %6 = icmp eq i1 %5, false store i64 -1, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_14 LBL_1: %7 = call i64 @FUNC(i64 %arg2) %8 = and i64 %2, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 %7, i64 %arg3, i64 0) %10 = icmp eq i64 %9, 0 %11 = icmp slt i64 %9, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %10, false %14 = icmp eq i1 %12, %13 br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = call i64 @FUNC(i64 %7) %16 = call i64 @FUNC(i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %17 = call i64 @FUNC(i64 %9) %18 = call i64 @FUNC(i64 %8, i64 %7, i64 %17, i64 %9) %19 = call i64 @FUNC(i64 %7) %20 = call i64 @FUNC(i64 %8) %21 = icmp slt i64 %18, 0 %22 = icmp eq i1 %21, false store i64 -1, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_14 LBL_4: %23 = icmp sgt i64 %18, 0 store i64 %arg3, i64* %sv_1.1.lcssa.reg2mem store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %23, label LBL_5, label LBL_12 LBL_5: %24 = icmp slt i64* %arg1, null store i64 %17, i64* %sv_3.011.in.reg2mem store i64 %8, i64* %rdi.010.reg2mem store i64 0, i64* %sv_2.08.reg2mem store i64 0, i64* %sv_0.17.reg2mem store i64 %arg3, i64* %sv_1.16.reg2mem br label LBL_6 LBL_6: %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem %sv_0.17.reload = load i64, i64* %sv_0.17.reg2mem %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem %rdi.010.reload = load i64, i64* %rdi.010.reg2mem %sv_3.011.in.reload = load i64, i64* %sv_3.011.in.reg2mem %25 = call i64 @FUNC(i64 %rdi.010.reload, i64 %sv_3.011.in.reload) %26 = icmp eq i64 %25, 0 store i64 %sv_1.16.reload, i64* %sv_1.0.reg2mem store i64 %sv_0.17.reload, i64* %sv_0.0.reg2mem br i1 %26, label LBL_11, label LBL_7 LBL_7: %27 = icmp eq i64 %sv_1.16.reload, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = add i64 %sv_0.17.reload, %0 store i64 %sv_1.16.reload, i64* %sv_1.0.reg2mem store i64 %29, i64* %sv_0.0.reg2mem br label LBL_11 LBL_9: store i64 %0, i64* %sv_0.2.reg2mem br i1 %24, label LBL_13, label LBL_10 LBL_10: %30 = add i64 %sv_1.16.reload, %0 store i64 %30, i64* %sv_1.0.reg2mem store i64 %0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_3.011 = inttoptr i64 %sv_3.011.in.reload to i8* %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %31 = call i32 @strlen(i8* %sv_3.011) %32 = sext i32 %31 to i64 %33 = add nsw i64 %32, 1 %34 = add i64 %33, %sv_2.08.reload %35 = add i64 %33, %sv_3.011.in.reload %36 = icmp sgt i64 %18, %34 store i64 %35, i64* %sv_3.011.in.reg2mem store i64 %sv_3.011.in.reload, i64* %rdi.010.reg2mem store i64 %34, i64* %sv_2.08.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.17.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.16.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %36, label LBL_6, label LBL_12 LBL_12: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem %37 = icmp eq i64 %sv_1.1.lcssa.reload, 0 %38 = sub i64 %sv_1.1.lcssa.reload, %arg3 %spec.select = select i1 %37, i64 %sv_0.1.lcssa.reload, i64 %38 store i64 %spec.select, i64* %sv_0.2.reg2mem br label LBL_13 LBL_13: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %39 = call i64 @FUNC(i64 %17) store i64 %sv_0.2.reload, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i64 %sv_3.011.in.reload, { 0, 3, 1, 2 } uselistorder i64 %sv_0.17.reload, { 1, 0 } uselistorder i64 %sv_1.16.reload, { 3, 0, 2, 1 } uselistorder i64 %18, { 1, 0, 2 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %9, { 2, 1, 0, 4, 3 } uselistorder i64 %8, { 0, 2, 3, 1, 4 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64 %0, { 1, 2, 0, 3, 4 } uselistorder i64* %sv_3.011.in.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.08.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.17.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.16.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 (i64)* @close_preserve_errno, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @flistxattrat_nofollow, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 (i64)* @g_free, { 3, 2, 1, 0 } uselistorder i64 %arg3, { 2, 1, 0, 3 } uselistorder label LBL_14, { 2, 0, 3, 1 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
rdma_set_reuseaddr_8815
rdma_set_reuseaddr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* %0 %4 = trunc i64 %arg2 to i32 %5 = add i64 %2, 8 %6 = call i64 @FUNC(i64 %5, i64 %3) %7 = icmp eq i32 %4, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* store i32 %4, i32* %13, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem %14 = call i64 @FUNC(i64 %5, i64 %3) ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
blk_send_3019
blk_send
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %2 = icmp eq i32 %1, 0 store i32 1, i32* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i64 512) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %spec.select = select i1 %5, i32 1, i32 3 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %7 = add i64 %0, 520 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = mul i64 %9, 512 %11 = zext i32 %sv_0.0.reload to i64 %12 = or i64 %10, %11 %13 = call i64 @FUNC(i64 %6, i64 %12) %14 = add i64 %0, 512 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = inttoptr i64 %19 to i8* %21 = call i32 @strlen(i8* %20) %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %6, i64 %22) %24 = load i64, i64* %15, align 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = call i64 @FUNC(i64 %6, i64 %27, i32 %21) %29 = and i32 %sv_0.0.reload, 2 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_4, label LBL_3 LBL_3: %31 = call i64 @FUNC(i64 %6) store i64 %31, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %32 = call i64 @FUNC(i64 %6, i64 %0, i32 512) store i64 %32, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %6, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i32)* @qemu_put_buffer, { 1, 0 } uselistorder i64 (i64)* @bdrv_get_device_name, { 1, 0 } uselistorder i64 512, { 2, 0, 1 } }
0
BinRealVul
walk_hugetlb_range_13441
walk_hugetlb_range
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 %arg1, i64* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %8 = call i64 @FUNC(i64 %1, i64 %sv_1.0.reload, i64 %arg2) %9 = and i64 %sv_1.0.reload, %2 %10 = load i64, i64* %5, align 8 %11 = call i64 @FUNC(i64 %10, i64 %9, i64 %3) %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %sext3 = mul i64 %11, 4294967296 %13 = ashr exact i64 %sext3, 32 store i64 %13, i64* %sv_0.1.reg2mem br label LBL_5 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = load i64, i64* %7, align 8 %15 = icmp eq i64 %14, 0 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %sv_1.0.reload, 4294967296 %16 = ashr exact i64 %sext, 32 store i64 %16, i64* %sv_0.1.reg2mem br label LBL_5 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %17 = trunc i64 %sv_0.1.reload to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i64 %8, %arg2 %20 = icmp eq i1 %19, false %or.cond = icmp eq i1 %20, %18 store i64 %8, i64* %sv_1.0.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_6: %21 = and i64 %sv_0.1.reload, 4294967295 ret i64 %21 uselistorder i64 %sv_0.1.reload, { 1, 2, 0 } uselistorder i64 %sv_1.0.reload, { 2, 1, 0 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64 32, { 1, 0 } }
0
BinRealVul
rfbProcessFileTransferReadBuffer_12287
rfbProcessFileTransferReadBuffer
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1, i64 0) %2 = icmp eq i32 %0, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_7, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %3 to i32 %5 = add i32 %4, 1 %6 = call i64* @malloc(i32 %5) %7 = ptrtoint i64* %6 to i64 %8 = icmp eq i64* %6, null store i64 %7, i64* %storemerge.reg2mem br i1 %8, label LBL_7, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %arg1, i64 %7, i32 %4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp slt i32 %10, 0 %13 = icmp eq i1 %12, false %14 = icmp eq i1 %11, false %15 = icmp eq i1 %13, %14 br i1 %15, label LBL_6, label LBL_3 LBL_3: br i1 %11, label LBL_5, label LBL_4 LBL_4: %16 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0)) br label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %arg1) call void @free(i64* nonnull %6) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %18 = and i64 %3, 4294967295 %19 = add i64 %18, %7 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 store i64 %7, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %10, { 1, 0 } uselistorder i64 %7, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 2, 3 } uselistorder i8 0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_7, { 2, 3, 1, 0 } }
1
BinRealVul
cache_insert_16266
cache_insert
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %0, 4294967295 %2 = call i64 @FUNC(i64 %1) %3 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %0, i64 %arg2) %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 %.pre1 = add i64 %0, 8 %.pre2 = inttoptr i64 %.pre1 to i64* store i64 %6, i64* %.reg2mem br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = load i64, i64* %.pre2, align 8 %10 = call i64 @FUNC(i64 %9) store i64 %10, i64* %5, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %14 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %13) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i32 %17, 1 store i32 %18, i32* %16, align 4 %.pre = load i64, i64* %5, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %19 = load i64, i64* %.pre2, align 8 %20 = inttoptr i64 %.reload to i64* %21 = trunc i64 %19 to i32 %22 = call i64* @memcpy(i64* %20, i64* %arg3, i32 %21) %23 = add i64 %0, 20 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = add i32 %25, 1 store i32 %26, i32* %24, align 4 %27 = add i64 %4, 16 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %4, 8 %30 = inttoptr i64 %29 to i64* store i64 %arg2, i64* %30, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 2, 1, 0, 4, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64)* @g_assert, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
match_busid_show_7296
match_busid_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %sv_0.11.reg2mem br label LBL_1 LBL_1: %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul nuw nsw i64 %indvars.iv.reload, 296 %3 = add nuw nsw i64 %2, 4211040 %4 = inttoptr i64 %3 to i64* %5 = call i64 @FUNC(i64* %4) %6 = add i64 %2, ptrtoint (i8** @gv_1 to i64) %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 8 %9 = icmp eq i8 %8, 0 store i64 %sv_0.11.reload, i64* %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = inttoptr i64 %sv_0.11.reload to i8* %11 = call i32 (i8*, i8*, ...) @sprintf(i8* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* %7) %12 = sext i32 %11 to i64 %13 = add i64 %sv_0.11.reload, %12 store i64 %13, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = call i64 @FUNC(i64 %3) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.11.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %15 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64)) %16 = inttoptr i64 %sv_0.0.reload to i8* %17 = call i32 (i8*, i8*, ...) @sprintf(i8* %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0)) %18 = sext i32 %17 to i64 %19 = sub i64 %sv_0.0.reload, %0 %20 = add i64 %19, %18 ret i64 %20 uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %sv_0.11.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 } uselistorder i64 (i64*)* @spin_lock, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } }
0
BinRealVul
diffcore_pickaxe_17519
diffcore_pickaxe
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 store i64 0, i64* %sv_0, align 8 %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 %5 = load i64, i64* @gv_1, align 8 store i64 %5, i64* %.reg2mem store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge1.reg2mem store i64 %5, i64* %.lcssa.reg2mem br i1 %4, label LBL_13, label LBL_1 LBL_1: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %.reload = load i64, i64* %.reg2mem %6 = mul i64 %.reload6, 8 %7 = add i64 %6, %.reload %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false %16 = add i64 %9, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %15, label LBL_5, label LBL_2 LBL_2: br i1 %21, label LBL_12, label LBL_3 LBL_3: %22 = load i64, i64* %17, align 8 %23 = call i64 @FUNC(i64 %22, i64 %arg1, i64 %2) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_11, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_5: %27 = icmp eq i1 %21, false br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = load i64, i64* %10, align 8 %29 = call i64 @FUNC(i64 %28, i64 %arg1, i64 %2) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_11, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_8: %33 = call i64 @FUNC(i64 %9) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_11, label LBL_9 LBL_9: %37 = load i64, i64* %10, align 8 %38 = call i64 @FUNC(i64 %37, i64 %arg1, i64 %2) %39 = trunc i64 %38 to i32 %40 = load i64, i64* %17, align 8 %41 = call i64 @FUNC(i64 %40, i64 %arg1, i64 %2) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %39, %42 br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) br label LBL_11 LBL_11: call void @free(i64* %10) br label LBL_12 LBL_12: %45 = add i32 %storemerge1.reload, 1 %46 = load i32, i32* @gv_0, align 4 %47 = zext i32 %46 to i64 %48 = sext i32 %45 to i64 %49 = icmp slt i64 %48, %47 %50 = load i64, i64* @gv_1, align 8 store i64 %50, i64* %.reg2mem store i64 %48, i64* %.reg2mem5 store i32 %45, i32* %storemerge1.reg2mem store i64 %50, i64* %.lcssa.reg2mem br i1 %49, label LBL_1, label LBL_13 LBL_13: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %51 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %51) %52 = load i64, i64* %sv_0, align 8 store i64 %52, i64* @gv_1, align 8 store i32 0, i32* @gv_0, align 4 ret i64 %52 uselistorder i64 %52, { 1, 0 } uselistorder i1 %21, { 1, 0 } uselistorder i64* %17, { 1, 0, 2 } uselistorder i64* %10, { 0, 2, 1, 3 } uselistorder i64 %9, { 2, 3, 1, 0, 4, 5 } uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i64* %sv_0, { 3, 0, 1, 2, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem5, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64*, i64)* @diff_q, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @contains, { 3, 2, 1, 0 } uselistorder i64 (i64)* @DIFF_FILE_VALID, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i64* @gv_1, { 1, 2, 0 } uselistorder i32 0, { 2, 4, 5, 7, 6, 8, 0, 1, 3 } uselistorder i32* @gv_0, { 2, 1, 0 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 3, 1, 0, 4 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
fd_start_incoming_migration_15899
fd_start_incoming_migration
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0)) %1 = inttoptr i64 %arg1 to i8* %2 = call i32 @strtol(i8* %1, i8** null, i32 0) %3 = zext i32 %2 to i64 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg2 to i64 %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %7, i64 %10, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0)) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = call i64 @FUNC(i64 %3, i64 0, i64 4199023, i64 0, i64 %4) store i64 %12, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
1
BinRealVul
virtio_net_set_config_size_272
virtio_net_set_config_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.11.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = or i32 %0, 32 %2 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 %2, i32* %.reg2mem store i64 0, i64* %.reg2mem3 store i32 0, i32* %storemerge2.reg2mem store i32 0, i32* %sv_0.11.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i32, i32* %.reg2mem %5 = and i32 %.reload, %1 %6 = icmp eq i32 %5, 0 store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %.reload4 = load i64, i64* %.reg2mem3 %7 = add i64 %.reload4, ptrtoint (i32** @gv_1 to i64) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 8 %10 = sub i32 %sv_0.11.reload, %9 %11 = xor i32 %9, %sv_0.11.reload %12 = xor i32 %10, %sv_0.11.reload %13 = and i32 %12, %11 %14 = icmp slt i32 %13, 0 %15 = icmp slt i32 %10, 0 %16 = icmp eq i1 %15, %14 %17 = select i1 %16, i32 %sv_0.11.reload, i32 %9 store i32 %17, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = add i32 %storemerge2.reload, 1 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 8 %21 = add i64 %20, ptrtoint (i32** @gv_0 to i64) %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 8 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i32 %23, i32* %.reg2mem store i64 %20, i64* %.reg2mem3 store i32 %18, i32* %storemerge2.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %25, label LBL_1, label LBL_4 LBL_4: %26 = ptrtoint i64* %arg1 to i64 %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %27 = bitcast i64* %arg1 to i32* store i32 %sv_0.1.lcssa.reload, i32* %27, align 4 ret i64 %26 uselistorder i32 %10, { 1, 0 } uselistorder i32 %9, { 1, 0, 2 } uselistorder i32 %sv_0.11.reload, { 2, 4, 3, 1, 0 } uselistorder i32* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem3, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.11.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 7, 4, 5, 6, 0, 1, 2, 3 } uselistorder i32** @gv_0, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
pci_ich9_uninit_16314
pci_ich9_uninit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: %5 = add i64 %0, -4 %6 = call i64 @FUNC(i64 4198714, i64 %5) %7 = call i64 @FUNC(i64 %5) ret i64 0 uselistorder i64 %5, { 1, 0 } uselistorder i64 %0, { 2, 0, 1 } }
1
BinRealVul
swf_get_s16_12123
swf_get_s16
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 8) %2 = call i64 @FUNC(i64 %0, i64 8) %3 = mul i64 %2, 256 %4 = urem i64 %1, 256 %.masked = and i64 %3, 65280 %5 = or i64 %.masked, %4 ret i64 %5 uselistorder i64 256, { 1, 0 } }
1
BinRealVul
do_fault_11474
do_fault
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg4 to i64 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg6, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = and i64 %arg3, 4294963200 %6 = sub i64 %5, %2 %7 = udiv i64 %6, 4096 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %10, %7 %12 = call i64 @FUNC(i64 %1) %13 = urem i64 %arg6, 2 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = and i64 %4, 4294967295 %17 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3, i64 %0, i64 %11, i64 %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %18 = add i64 %2, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = and i64 %20, 2 %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false %24 = and i64 %4, 4294967295 br i1 %23, label LBL_4, label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3, i64 %0, i64 %11, i64 %24) store i64 %25, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %26 = call i64 @FUNC(i64 %3, i64 %2, i64 %arg3, i64 %0, i64 %11, i64 %24) store i64 %26, 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 %24, { 1, 0 } uselistorder i64 %11, { 1, 2, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %2, { 3, 2, 1, 0, 4, 5 } uselistorder i64 %0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg3, { 1, 2, 0, 3 } }
1
BinRealVul
select_watchdog_17227
select_watchdog
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %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 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = call i32 @fwrite(i64* bitcast ([45 x i8]* @gv_2 to i64*), i32 1, i32 44, %_IO_FILE* %2) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %4 = inttoptr i64 %arg1 to i8* %5 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge7.reg2mem store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge26.reg2mem br i1 %7, label LBL_4, label LBL_3 LBL_3: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %8 = add i64 %storemerge7.reload, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %storemerge7.reload to i64* %12 = load i64, i64* %11, align 8 %13 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %14 = inttoptr i64 %12 to i8* %15 = inttoptr i64 %10 to i8* %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i8* %14, i8* %15) %17 = add i64 %storemerge7.reload, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 %19, i64* %storemerge7.reg2mem store i64 2, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_9 LBL_4: %storemerge26.reload = load i64, i64* %storemerge26.reg2mem %22 = inttoptr i64 %storemerge26.reload to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i8* %25 = call i32 @strcasecmp(i8* %24, i8* %4) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_5 LBL_5: store i64 %storemerge26.reload, i64* @gv_0, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %28 = add i64 %storemerge26.reload, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 %32 = icmp eq i1 %31, false store i64 %30, i64* %storemerge26.reg2mem br i1 %32, label LBL_4, label LBL_7 LBL_7: %33 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %34 = call i32 @fwrite(i64* bitcast ([50 x i8]* @gv_6 to i64*), i32 1, i32 49, %_IO_FILE* %33) store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge15.reg2mem br label LBL_8 LBL_8: %storemerge15.reload = load i64, i64* %storemerge15.reg2mem %35 = add i64 %storemerge15.reload, 8 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %storemerge15.reload to i64* %39 = load i64, i64* %38, align 8 %40 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %41 = inttoptr i64 %39 to i8* %42 = inttoptr i64 %37 to i8* %43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i8* %41, i8* %42) %44 = add i64 %storemerge15.reload, 16 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false store i64 %46, i64* %storemerge15.reg2mem store i64 1, i64* %rax.0.reg2mem br i1 %48, label LBL_8, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge15.reload, { 0, 2, 1 } uselistorder i64 %storemerge26.reload, { 0, 2, 1 } uselistorder i64 %storemerge7.reload, { 0, 2, 1 } uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 } uselistorder i1 false, { 0, 2, 1, 3, 4 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
decode_extradata_15756
decode_extradata
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %6 = mul i32 %arg4, 8 %7 = zext i32 %6 to i64 %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %7) %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 5) %10 = trunc i64 %9 to i32 %11 = add i32 %10, -1 %12 = bitcast i64* %arg2 to i32* store i32 %11, i32* %12, align 4 %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 4) %14 = trunc i64 %13 to i32 %15 = add i64 %4, 4 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = call i64 @FUNC(i64* nonnull %sv_0, i64 4) %18 = trunc i64 %17 to i32 %19 = add i64 %4, 8 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = bitcast i64* %rsi to i32* %22 = load i32, i32* %21, align 8 %23 = icmp slt i32 %22, 4 br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = zext i32 %22 to i64 %25 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %24, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %26 = load i32, i32* %16, align 4 %27 = icmp eq i32 %26, 15 %28 = icmp eq i1 %27, false br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %30 = icmp eq i32 %18, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_6, label LBL_5 LBL_5: %32 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 0) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %33 = add i64 %4, 12 %34 = inttoptr i64 %33 to i32* store i32 1, i32* %34, align 4 store i64 0, 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 %5, { 2, 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 4, 1, 2, 0, 3, 5 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 4, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @get_bits, { 2, 1, 0 } }
1
BinRealVul
spl_array_unserialize_helper_6129
spl_array_unserialize_helper
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i64 %4, i64* %sv_1, align 8 %5 = trunc i64 %3 to i8 %6 = icmp eq i8 %5, 120 %7 = icmp eq i1 %6, false br i1 %7, label LBL_12, label LBL_1 LBL_1: %8 = add i64 %4, 1 store i64 %8, i64* %sv_1, align 8 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 58 %12 = icmp eq i1 %11, false br i1 %12, label LBL_12, label LBL_2 LBL_2: %13 = ptrtoint i64* %arg4 to i64 %sext = mul i64 %arg3, 4294967296 %14 = add i64 %4, 2 store i64 %14, i64* %sv_1, align 8 %15 = call i64* @malloc(i32 8) %16 = ptrtoint i64* %15 to i64 store i64 %16, i64* %sv_2, align 8 %17 = ashr exact i64 %sext, 32 %18 = add i64 %17, %4 %19 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_1, i64 %18, i64 %13) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_12 LBL_4: %24 = load i64, i64* %sv_1, align 8 %25 = add i64 %24, -1 store i64 %25, i64* %sv_1, align 8 %26 = call i64 @FUNC(i64* nonnull %sv_2) %27 = load i64, i64* %sv_1, align 8 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 59 %31 = icmp eq i1 %30, false br i1 %31, label LBL_12, label LBL_5 LBL_5: %32 = add i64 %27, 1 store i64 %32, i64* %sv_1, align 8 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 switch i8 %34, label LBL_6 [ i8 109, label LBL_12 i8 97, label LBL_7 i8 79, label LBL_7 ] LBL_6: %35 = icmp eq i8 %34, 67 %36 = icmp eq i1 %35, false br i1 %36, label LBL_12, label LBL_7 LBL_7: %37 = trunc i64 %2 to i32 %38 = or i32 %37, 1 store i32 %38, i32* %arg1, align 4 %39 = ptrtoint i32* %arg1 to i64 %40 = add i64 %39, 8 %41 = inttoptr i64 %40 to i64* %42 = call i64 @FUNC(i64* %41) %43 = call i64* @malloc(i32 8) %44 = ptrtoint i64* %43 to i64 store i64 %44, i64* %41, align 8 %45 = call i64 @FUNC(i64* %41, i64* nonnull %sv_1, i64 %18, i64 %13) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 br i1 %47, label LBL_12, label LBL_8 LBL_8: %.pre = load i64, i64* %sv_1, align 8 %.phi.trans.insert = inttoptr i64 %.pre to i8* %.pre7 = load i8, i8* %.phi.trans.insert, align 1 %phitmp = icmp eq i8 %.pre7, 59 %phitmp8 = icmp eq i1 %phitmp, false br i1 %phitmp8, label LBL_12, label LBL_9 LBL_9: %48 = add i64 %.pre, 1 store i64 %48, i64* %sv_1, align 8 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = icmp eq i8 %50, 109 %52 = icmp eq i1 %51, false br i1 %52, label LBL_12, label LBL_10 LBL_10: %53 = add i64 %.pre, 2 store i64 %53, i64* %sv_1, align 8 %54 = inttoptr i64 %53 to i8* %55 = load i8, i8* %54, align 1 %56 = icmp eq i8 %55, 58 %57 = icmp eq i1 %56, false br i1 %57, label LBL_12, label LBL_11 LBL_11: %58 = add i64 %.pre, 3 store i64 %58, i64* %sv_1, align 8 %59 = call i64* @malloc(i32 8) %60 = ptrtoint i64* %59 to i64 store i64 %60, i64* %sv_0, align 8 %61 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %18, i64 %13) %62 = call i64 @FUNC(i64* nonnull %sv_0) br label LBL_12 LBL_12: %63 = and i64 %arg3, 4294967295 %64 = load i64, i64* %sv_1, align 8 %65 = sub i64 %64, %4 %66 = load i64, i64* @gv_0, align 8 %67 = call i64 @FUNC(i64 %66, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %65, i64 %63, i64 %1) ret i64 %67 uselistorder i8 %34, { 1, 0 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i64* %sv_1, { 4, 1, 5, 6, 7, 0, 2, 8, 9, 10, 11, 3, 12, 13, 14 } uselistorder i64 %4, { 3, 0, 2, 1, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i8 109, { 1, 0 } uselistorder i64 (i64*)* @zval_ptr_dtor, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64*, i64, i64)* @php_var_unserialize, { 2, 1, 0 } uselistorder i64* (i32)* @malloc, { 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder i64 %arg3, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_12, { 9, 2, 1, 3, 4, 5, 0, 6, 10, 8, 7 } uselistorder label LBL_7, { 2, 0, 1 } }
0
BinRealVul
mod_strcspn_10579
mod_strcspn
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge3925.reg2mem = alloca i32 %.reg2mem35 = alloca i8 %storemerge2.reg2mem = alloca i32 %storemerge1.lcssa.reg2mem = alloca i32 %storemerge16.reg2mem = alloca i32 %.reg2mem33 = alloca i64 %.reg2mem31 = alloca i8 %storemerge1026.reg2mem = alloca i32 %.reg2mem29 = alloca i64 %.reg2mem = alloca i8 %0 = icmp eq i64 %arg1, 0 store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %0, label LBL_18, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %4, label LBL_2, label LBL_18 LBL_2: %5 = add i64 %arg1, 1 %cond = icmp eq i64 %arg2, 0 %6 = inttoptr i64 %arg2 to i8* store i8 %2, i8* %.reg2mem store i64 0, i64* %.reg2mem29 store i32 0, i32* %storemerge1026.reg2mem br label LBL_3 LBL_3: %storemerge1026.reload = load i32, i32* %storemerge1026.reg2mem %.reload = load i8, i8* %.reg2mem %7 = icmp eq i8 %.reload, 47 %8 = icmp eq i1 %7, false br i1 %8, label LBL_13, label LBL_4 LBL_4: %.reload30 = load i64, i64* %.reg2mem29 %9 = add i64 %.reload30, %5 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 42 %13 = icmp eq i1 %12, false br i1 %13, label LBL_10, label LBL_5 LBL_5: %14 = add i32 %storemerge1026.reload, 2 %15 = sext i32 %14 to i64 %16 = add i64 %15, %arg1 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 0 store i8 %18, i8* %.reg2mem31 store i64 %15, i64* %.reg2mem33 store i32 %14, i32* %storemerge16.reg2mem store i32 %14, i32* %storemerge1.lcssa.reg2mem br i1 %19, label LBL_9, label LBL_7 LBL_6: %20 = add i32 %storemerge16.reload, 1 %21 = sext i32 %20 to i64 %22 = add i64 %21, %arg1 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = icmp eq i8 %24, 0 store i8 %24, i8* %.reg2mem31 store i64 %21, i64* %.reg2mem33 store i32 %20, i32* %storemerge16.reg2mem store i32 %20, i32* %storemerge1.lcssa.reg2mem br i1 %25, label LBL_9, label LBL_7 LBL_7: %storemerge16.reload = load i32, i32* %storemerge16.reg2mem %.reload32 = load i8, i8* %.reg2mem31 %26 = icmp eq i8 %.reload32, 42 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_8 LBL_8: %.reload34 = load i64, i64* %.reg2mem33 %28 = add i64 %.reload34, %5 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, 47 %32 = icmp eq i1 %31, false store i32 %storemerge16.reload, i32* %storemerge1.lcssa.reg2mem br i1 %32, label LBL_6, label LBL_9 LBL_9: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %33 = add i32 %storemerge1.lcssa.reload, 1 store i32 %33, i32* %sv_0.0.reg2mem br label LBL_17 LBL_10: %34 = icmp eq i8 %11, 47 %35 = icmp eq i1 %34, false br i1 %35, label LBL_13, label LBL_11 LBL_11: %36 = add i32 %storemerge1026.reload, 2 store i32 %36, i32* %storemerge2.reg2mem br label LBL_12 LBL_12: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %37 = sext i32 %storemerge2.reload to i64 %38 = add i64 %37, %arg1 %39 = inttoptr i64 %38 to i8* %40 = load i8, i8* %39, align 1 %41 = icmp ne i8 %40, 0 %42 = icmp eq i8 %40, 10 %43 = icmp eq i1 %42, false %or.cond = icmp eq i1 %41, %43 %44 = add i32 %storemerge2.reload, 1 store i32 %44, i32* %storemerge2.reg2mem store i32 %storemerge2.reload, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_12, label LBL_17 LBL_13: store i32 %storemerge1026.reload, i32* %sv_0.0.reg2mem br i1 %cond, label LBL_17, label LBL_14 LBL_14: %45 = load i8, i8* %6, align 1 %46 = icmp eq i8 %45, 0 %47 = icmp eq i1 %46, false store i8 %45, i8* %.reg2mem35 store i32 0, i32* %storemerge3925.reg2mem store i32 %storemerge1026.reload, i32* %sv_0.0.reg2mem br i1 %47, label LBL_15, label LBL_17 LBL_15: %.reload36 = load i8, i8* %.reg2mem35 %48 = icmp eq i8 %.reload, %.reload36 store i32 %storemerge1026.reload, i32* %storemerge.lcssa.reg2mem br i1 %48, label LBL_18, label LBL_16 LBL_16: %storemerge3925.reload = load i32, i32* %storemerge3925.reg2mem %49 = add i32 %storemerge3925.reload, 1 %50 = sext i32 %49 to i64 %51 = add i64 %50, %arg2 %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 store i8 %53, i8* %.reg2mem35 store i32 %49, i32* %storemerge3925.reg2mem store i32 %storemerge1026.reload, i32* %sv_0.0.reg2mem br i1 %55, label LBL_15, label LBL_17 LBL_17: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %56 = add i32 %sv_0.0.reload, 1 %57 = sext i32 %56 to i64 %58 = add i64 %57, %arg1 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = icmp eq i8 %60, 0 %62 = icmp eq i1 %61, false store i8 %60, i8* %.reg2mem store i64 %57, i64* %.reg2mem29 store i32 %56, i32* %storemerge1026.reg2mem store i32 %56, i32* %storemerge.lcssa.reg2mem br i1 %62, label LBL_3, label LBL_18 LBL_18: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %63 = sext i32 %storemerge.lcssa.reload to i64 ret i64 %63 uselistorder i32 %storemerge2.reload, { 0, 2, 1 } uselistorder i32 %storemerge1026.reload, { 2, 0, 1, 3, 5, 4 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem29, { 1, 0, 2 } uselistorder i32* %storemerge1026.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem31, { 0, 2, 1 } uselistorder i64* %.reg2mem33, { 0, 2, 1 } uselistorder i32* %storemerge16.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem35, { 2, 0, 1 } uselistorder i32* %storemerge3925.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1, 5 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 1, 3, 2, 4 } uselistorder i1 false, { 9, 3, 1, 2, 4, 5, 6, 7, 8, 0 } uselistorder i8 0, { 6, 3, 1, 4, 5, 2, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder i32 1, { 12, 13, 14, 16, 15, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i64 %arg1, { 4, 1, 2, 3, 5, 0, 6 } uselistorder label LBL_18, { 1, 2, 0, 3 } uselistorder label LBL_17, { 2, 1, 3, 0, 4 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
test_ivshmem_memdev_563
test_ivshmem_memdev
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_0, i64 0, i64 0), i64 0) %1 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %1 uselistorder i32 1, { 2, 1, 0 } }
0
BinRealVul
acpi_debugfs_init_4891
acpi_debugfs_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0) %cond = icmp eq i64 %0, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %cond, label LBL_3, label LBL_1 LBL_1: %1 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 128, i64 %0, i64 0, i64 4210749) %2 = icmp eq i64 %1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_3 LBL_2: %3 = call i64 @FUNC(i64 %0) store i64 4294967274, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %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 i64 4294967274, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
0
BinRealVul
decode_interrupt_cb_2714
decode_interrupt_cb
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8 %1 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8 %2 = sub i32 %0, %1 %3 = xor i32 %1, %0 %4 = xor i32 %2, %0 %5 = and i32 %4, %3 %6 = icmp slt i32 %5, 0 %7 = icmp slt i32 %2, 0 %8 = icmp ne i1 %7, %6 %9 = zext i1 %8 to i64 ret i64 %9 uselistorder i32 %2, { 1, 0 } }
0
BinRealVul
hv_post_message_18796
hv_post_message
define i64 @FUNC(i64 %arg1, i32 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ult i64 %arg4, 1025 store i64 4294967206, i64* %storemerge.reg2mem br i1 %0, label LBL_1, label LBL_2 LBL_1: %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = trunc i64 %arg1 to i32 %6 = inttoptr i64 %4 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %4, 4 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i32* store i32 %arg2, i32* %10, align 4 %11 = add i64 %4, 16 %12 = inttoptr i64 %11 to i64* store i64 %arg4, i64* %12, align 8 %13 = add i64 %4, 24 %14 = inttoptr i64 %13 to i64* %15 = trunc i64 %arg4 to i32 %16 = call i64* @memcpy(i64* %14, i64* %arg3, i32 %15) %17 = call i64 @FUNC(i64 %2) %18 = call i64 @FUNC(i64 1, i64 %4, i64 0) %19 = urem i64 %18, 65536 store i64 %19, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
find_tag_1145
find_tag
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 -1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = trunc i64 %arg2 to i32 br label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %0) %8 = and i64 %7, 4294967295 %9 = icmp eq i32 %6, %4 store i64 %8, i64* %storemerge.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0, i64 %8, i64 1) %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 -1, i64* %storemerge.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 1, 0 } uselistorder i64 %0, { 4, 1, 3, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @get_le32, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @url_feof, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
format_FIN_TIMEOUT_10399
format_FIN_TIMEOUT
define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %r8.1.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = load i64*, i64** @gv_0, align 8 %6 = ptrtoint i64* %5 to i64 %7 = load i64, i64* inttoptr (i64 4210752 to i64*), align 64 %8 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %6, i64 %2, i64 %1) %9 = trunc i64 %3 to i16 %10 = icmp eq i16 %9, 0 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = load i64*, i64** @gv_0, align 8 %12 = ptrtoint i64* %11 to i64 %13 = load i64*, i64** @gv_2, align 8 %14 = ptrtoint i64* %13 to i64 %15 = urem i64 %3, 65536 %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %14, i64 %12, i64 %15, i64 %1) store i64 %15, i64* %r8.0.reg2mem br label LBL_2 LBL_2: %r8.0.reload = load i64, i64* %r8.0.reg2mem %17 = ptrtoint i16* %arg1 to i64 %18 = add i64 %17, 2 %19 = inttoptr i64 %18 to i16* %20 = load i16, i16* %19, align 2 %21 = icmp eq i16 %20, 0 store i64 %r8.0.reload, i64* %r8.1.reg2mem br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = load i64*, i64** @gv_0, align 8 %23 = ptrtoint i64* %22 to i64 %24 = load i64*, i64** @gv_2, align 8 %25 = ptrtoint i64* %24 to i64 %26 = zext i16 %20 to i64 %27 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %25, i64 %23, i64 %26, i64 %1) store i64 %26, i64* %r8.1.reg2mem br label LBL_4 LBL_4: %r8.1.reload = load i64, i64* %r8.1.reg2mem %28 = call i64 @FUNC(i64 %4, i64 44) %29 = load i64*, i64** @gv_0, align 8 %30 = ptrtoint i64* %29 to i64 %31 = load i64, i64* @gv_5, align 8 %32 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 %31, i64 %30, i64 %r8.1.reload, i64 %1) ret i64 %32 uselistorder i64 %4, { 3, 2, 1, 0, 4 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ds_put_format, { 3, 2, 1, 0 } }
0
BinRealVul
do_note_freebsd_version_9358
do_note_freebsd_version
define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = and i64 %3, 4294967295 %6 = and i64 %arg2, 4294967295 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %arg4, i64 %2, i64 %1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, -1 store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_22, label LBL_1 LBL_1: %11 = trunc i64 %7 to i32 %12 = icmp eq i32 %11, 460002 %13 = icmp eq i1 %12, false br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %arg4, i64 %2, i64 %1) store i64 %14, i64* %rax.0.reg2mem br label LBL_22 LBL_3: %15 = icmp ult i32 %11, 460100 br i1 %15, label LBL_4, label LBL_10 LBL_4: %sext26 = mul i64 %7, 4294967296 %16 = ashr exact i64 %sext26, 32 %17 = and i64 %16, 4294967295 %18 = mul nuw i64 %17, 3518437209 %19 = udiv i64 %18, 35184372088832 %narrow = mul nuw nsw i64 %19, 3435973837 %20 = udiv i64 %narrow, 34359738368 %21 = mul nsw i64 %20, -10 %22 = add nsw i64 %21, %19 %23 = udiv i64 %16, 32 %24 = urem i64 %23, 134217728 %narrow2 = mul nuw nsw i64 %24, 175921861 %25 = udiv i64 %narrow2, 549755813888 %26 = and i64 %22, 4294967295 %27 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %26, i64 %2, i64 %1) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, -1 store i64 %27, i64* %rax.0.reg2mem br i1 %29, label LBL_22, label LBL_5 LBL_5: %30 = and i64 %7, 4294967295 %31 = mul nuw nsw i64 %30, 274877907 %32 = udiv i64 %31, 274877906944 %narrow3 = mul nuw nsw i64 %32, 3435973837 %33 = udiv i64 %narrow3, 34359738368 %34 = mul nsw i64 %33, -10 %35 = add nsw i64 %34, %32 %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = and i64 %35, 4294967295 %39 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %38, i64 %38, i64 %2, i64 %1) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, -1 store i64 %39, i64* %rax.0.reg2mem br i1 %41, label LBL_22, label LBL_7 LBL_7: %42 = mul nuw nsw i64 %17, 274877907 %43 = udiv i64 %42, 274877906944 %44 = mul nuw nsw i64 %43, 1000 %45 = and i64 %44, 4294967288 %46 = sub nsw i64 %16, %44 %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %45, i64* %rcx.0.reg2mem br i1 %49, label LBL_9, label LBL_8 LBL_8: %50 = mul nuw nsw i64 %25, 100000 %51 = and i64 %50, 4294967264 %52 = sub nsw i64 %16, %50 %53 = and i64 %52, 4294967295 %54 = trunc i64 %52 to i32 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false store i64 %51, i64* %rcx.0.reg2mem store i64 %53, i64* %rax.0.reg2mem br i1 %56, label LBL_22, label LBL_9 LBL_9: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %57 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %30, i64 %rcx.0.reload, i64 %2, i64 %1) store i64 %57, i64* %rax.0.reg2mem br label LBL_22 LBL_10: %58 = icmp ult i32 %11, 500000 %sext = mul i64 %7, 4294967296 %59 = ashr exact i64 %sext, 32 %60 = and i64 %59, 4294967295 br i1 %58, label LBL_11, label LBL_16 LBL_11: %61 = mul nuw i64 %60, 3518437209 %62 = udiv i64 %61, 35184372088832 %narrow6 = mul nuw nsw i64 %62, 3435973837 %63 = udiv i64 %narrow6, 34359738368 %64 = mul nuw nsw i64 %60, 274877907 %65 = udiv i64 %64, 274877906944 %narrow7 = mul nuw nsw i64 %65, 3435973837 %66 = udiv i64 %narrow7, 34359738368 %reass.add = add nuw nsw i64 %66, %63 %reass.mul = mul nsw i64 %reass.add, -10 %67 = add nuw nsw i64 %65, %62 %68 = add nsw i64 %67, %reass.mul %69 = and i64 %68, 4294967295 %70 = udiv i64 %59, 32 %71 = urem i64 %70, 134217728 %narrow8 = mul nuw nsw i64 %71, 175921861 %72 = udiv i64 %narrow8, 549755813888 %73 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %72, i64 %69, i64 %2, i64 %1) %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, -1 store i64 %73, i64* %rax.0.reg2mem br i1 %75, label LBL_22, label LBL_12 LBL_12: %76 = and i64 %7, 4294967295 %77 = mul nuw nsw i64 %76, 1374389535 %78 = udiv i64 %77, 137438953472 %narrow9 = mul nuw nsw i64 %78, 3435973837 %79 = udiv i64 %narrow9, 34359738368 %80 = mul nsw i64 %79, -10 %81 = add nsw i64 %80, %78 %82 = trunc i64 %81 to i32 %83 = icmp eq i32 %82, 0 br i1 %83, label LBL_14, label LBL_13 LBL_13: %84 = and i64 %81, 4294967295 %85 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %76, i64 %84, i64 %2, i64 %1) store i64 %85, i64* %rax.0.reg2mem br label LBL_22 LBL_14: %86 = mul nuw i64 %76, 3435973837 %87 = udiv i64 %86, 34359738368 %narrow10 = mul nuw nsw i64 %87, 3435973837 %88 = udiv i64 %narrow10, 34359738368 %89 = mul nuw nsw i64 %88, 10 %90 = sub nsw i64 %87, %89 %91 = trunc i64 %90 to i32 %92 = icmp eq i32 %91, 0 store i64 %89, i64* %rax.0.reg2mem br i1 %92, label LBL_22, label LBL_15 LBL_15: %93 = mul nsw i64 %88, -10 %94 = add nsw i64 %93, %87 %95 = and i64 %94, 4294967295 %96 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %95, i64 %95, i64 %2, i64 %1) store i64 %96, i64* %rax.0.reg2mem br label LBL_22 LBL_16: %97 = mul nuw nsw i64 %60, 274877907 %98 = udiv i64 %97, 274877906944 %narrow12 = mul nuw nsw i64 %98, 1374389535 %99 = udiv i64 %narrow12, 137438953472 %100 = mul nuw nsw i64 %99, 4294967196 %101 = add nuw nsw i64 %100, %98 %102 = udiv i64 %59, 32 %103 = urem i64 %102, 134217728 %narrow13 = mul nuw nsw i64 %103, 175921861 %104 = udiv i64 %narrow13, 549755813888 %105 = and i64 %101, 4294967295 %106 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %104, i64 %105, i64 %2, i64 %1) %107 = trunc i64 %106 to i32 %108 = icmp eq i32 %107, -1 store i64 %106, i64* %rax.0.reg2mem br i1 %108, label LBL_22, label LBL_17 LBL_17: %109 = and i64 %7, 4294967295 %110 = mul nuw nsw i64 %109, 1374389535 %111 = udiv i64 %110, 137438953472 %narrow14 = mul nuw nsw i64 %111, 3435973837 %112 = udiv i64 %narrow14, 34359738368 %113 = mul nsw i64 %112, -10 %114 = add nsw i64 %113, %111 %115 = and i64 %114, 4294967295 %116 = trunc i64 %114 to i32 %117 = icmp eq i32 %116, 0 %118 = icmp eq i1 %117, false store i64 %115, i64* %rcx.1.reg2mem br i1 %118, label LBL_19, label LBL_18 LBL_18: %119 = udiv i64 %7, 32 %120 = urem i64 %119, 134217728 %narrow15 = mul nuw nsw i64 %120, 175921861 %121 = udiv i64 %narrow15, 549755813888 %122 = mul nuw nsw i64 %121, 100000 %123 = and i64 %122, 4294967264 %124 = trunc i64 %122 to i32 %125 = sub i32 %11, %124 %126 = icmp ult i32 %125, 100 store i64 %123, i64* %rcx.1.reg2mem br i1 %126, label LBL_19, label LBL_20 LBL_19: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %127 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %109, i64 %rcx.1.reload, i64 %2, i64 %1) store i64 %127, i64* %rax.0.reg2mem br label LBL_22 LBL_20: %128 = mul nuw i64 %109, 3435973837 %129 = udiv i64 %128, 34359738368 %narrow16 = mul nuw nsw i64 %129, 3435973837 %130 = udiv i64 %narrow16, 34359738368 %131 = mul nuw nsw i64 %130, 10 %132 = sub nsw i64 %129, %131 %133 = trunc i64 %132 to i32 %134 = icmp eq i32 %133, 0 store i64 %131, i64* %rax.0.reg2mem br i1 %134, label LBL_22, label LBL_21 LBL_21: %135 = mul nsw i64 %130, -10 %136 = add nsw i64 %135, %129 %137 = and i64 %136, 4294967295 %138 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %137, i64 %137, i64 %2, i64 %1) store i64 %138, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %137, { 1, 0 } uselistorder i64 %130, { 1, 0 } uselistorder i64 %129, { 2, 1, 0 } uselistorder i64 %111, { 1, 0 } uselistorder i64 %98, { 1, 0 } uselistorder i64 %95, { 1, 0 } uselistorder i64 %88, { 1, 0 } uselistorder i64 %87, { 2, 1, 0 } uselistorder i64 %81, { 1, 0 } uselistorder i64 %78, { 1, 0 } uselistorder i64 %65, { 1, 0 } uselistorder i64 %62, { 1, 0 } uselistorder i64 %60, { 1, 0, 2 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %19, { 1, 0 } uselistorder i64 %16, { 1, 2, 0, 3 } uselistorder i64 %7, { 2, 5, 4, 0, 3, 1, 6 } uselistorder i64 %5, { 2, 0, 1 } uselistorder i64 %4, { 1, 2, 3, 5, 4, 6, 8, 7, 9, 0, 10 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 7, 8, 6, 9, 12, 11, 10, 13, 1, 14 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 -10, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64 32, { 0, 1, 2, 5, 3, 4 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @file_printf, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 4, 5, 3, 6, 7, 8, 2, 9, 10, 11, 12, 1, 13, 14, 15, 0, 16 } uselistorder label LBL_22, { 5, 6, 7, 0, 8, 9, 10, 1, 11, 12, 2, 3, 13, 4 } }
0
BinRealVul
WriteUncompressed_18497
WriteUncompressed
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.reg2mem5 = alloca i64 %rbx.02.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp sgt i64* %arg1, null br i1 %1, label LBL_1, label LBL_7 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %.pre = load i64, i64* %4, align 8 store i64 %.pre, i64* %.reg2mem store i64 0, i64* %storemerge4.reg2mem br label LBL_2 LBL_2: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %7 = call i64 @FUNC(i64 %0, i64 0, i64 %storemerge4.reload, i64 %.reload, i64 1, i64 %2, i64 %storemerge4.reload) %8 = load i64, i64* %4, align 8 %9 = icmp sgt i64 %8, 0 store i64 0, i64* %storemerge13.reg2mem store i64 %7, i64* %rbx.02.reg2mem store i64 %8, i64* %.reg2mem5 br i1 %9, label LBL_3, label LBL_6 LBL_3: %rbx.02.reload = load i64, i64* %rbx.02.reg2mem %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %10 = call i64 @FUNC(i64 %0, i64 %rbx.02.reload) %11 = urem i64 %10, 256 %12 = call i64 @FUNC(i64 %11) %13 = urem i64 %12, 256 %14 = call i64 @FUNC(i64 %0, i64 %13) %15 = call i64 @FUNC(i64 %0, i64 %rbx.02.reload) %16 = urem i64 %15, 256 %17 = call i64 @FUNC(i64 %16) %18 = urem i64 %17, 256 %19 = call i64 @FUNC(i64 %0, i64 %18) %20 = call i64 @FUNC(i64 %0, i64 %rbx.02.reload) %21 = urem i64 %20, 256 %22 = call i64 @FUNC(i64 %21) %23 = urem i64 %22, 256 %24 = call i64 @FUNC(i64 %0, i64 %23) %25 = load i32, i32* %6, align 4 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_5, label LBL_4 LBL_4: %28 = call i64 @FUNC(i64 %0, i64 %rbx.02.reload) %29 = urem i64 %28, 256 %30 = call i64 @FUNC(i64 %29) %31 = urem i64 %30, 256 %32 = call i64 @FUNC(i64 %0, i64 %31) br label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %0) %sext = mul i64 %33, 4294967296 %34 = ashr exact i64 %sext, 32 %35 = add i64 %34, %rbx.02.reload %36 = add nuw nsw i64 %storemerge13.reload, 1 %37 = load i64, i64* %4, align 8 %38 = icmp slt i64 %36, %37 store i64 %36, i64* %storemerge13.reg2mem store i64 %35, i64* %rbx.02.reg2mem store i64 %37, i64* %.reg2mem5 br i1 %38, label LBL_3, label LBL_6 LBL_6: %.reload6 = load i64, i64* %.reg2mem5 %39 = add nuw nsw i64 %storemerge4.reload, 1 %40 = icmp slt i64 %39, %0 store i64 %.reload6, i64* %.reg2mem store i64 %39, i64* %storemerge4.reg2mem br i1 %40, label LBL_2, label LBL_7 LBL_7: ret i64 %0 uselistorder i64 %rbx.02.reload, { 4, 0, 1, 3, 2 } uselistorder i64 %storemerge4.reload, { 0, 2, 1 } uselistorder i64* %4, { 2, 1, 0 } uselistorder i64 %0, { 0, 1, 4, 3, 2, 5, 8, 7, 10, 9, 11, 13, 6, 12 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %rbx.02.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @WriteBlobByte, { 3, 2, 1, 0 } uselistorder i64 (i64)* @ScaleQuantumToChar, { 3, 2, 1, 0 } uselistorder i64 1, { 2, 1, 0, 3 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
bfa_attach_17926
bfa_attach
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = icmp ne i64* %arg3, null %3 = icmp ne i64* %arg4, null %not.or.cond = icmp eq i1 %2, %3 %storemerge2 = zext i1 %not.or.cond to i64 %4 = call i64 @FUNC(i64 %storemerge2) store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 32 %6 = add i64 %5, %0 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %6, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %6, 24 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %16 = ptrtoint i64* %arg3 to i64 %17 = ptrtoint i64* %arg5 to i64 %18 = ptrtoint i64* %arg1 to i64 %19 = call i64 @FUNC(i64 %18, i64 %arg2, i64 %16, i64 %0, i64 %17) store i32 0, i32* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i32, i32* %storemerge.reg2mem %20 = sext i32 %storemerge.reload to i64 %21 = mul i64 %20, 8 %22 = add i64 %21, ptrtoint (i64* @gv_0 to i64) %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false %27 = add i32 %storemerge.reload, 1 store i32 %27, i32* %storemerge.reg2mem br i1 %26, label LBL_3, label LBL_4 LBL_4: ret i64 %24 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
h264bsdInit_5220
h264bsdInit
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 0, i64 1) store i64 %6, i64* %arg1, align 8 ret i64 1 uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
decode_init_448
decode_init
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = icmp sgt i32 %6, 320 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp slt i32 %10, 201 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %13 = call i64 @FUNC(i64 64000) %14 = add i64 %3, 8 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 %16 = call i64 @FUNC(i64 64000) %17 = add i64 %3, 16 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = load i64, i64* %15, align 8 %20 = add i64 %3, 24 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = load i64, i64* %18, align 8 %23 = add i64 %3, 32 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = add i64 %3, 40 store i64 0, i64* %indvars.iv6.reg2mem br label LBL_4 LBL_4: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %26 = trunc i64 %indvars.iv6.reload to i32 %27 = mul i32 %26, 65793 %28 = or i32 %27, -16777216 %29 = mul i64 %indvars.iv6.reload, 4 %30 = add i64 %29, %25 %31 = inttoptr i64 %30 to i32* store i32 %28, i32* %31, align 4 %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 256 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem br i1 %exitcond8, label LBL_5, label LBL_4 LBL_5: %32 = add i64 %0, 8 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = icmp sgt i32 %34, 11 br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0)) %37 = add i64 %3, 1064 %38 = inttoptr i64 %37 to i32* store i32 127, i32* %38, align 4 br label LBL_9 LBL_7: %39 = add i64 %0, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, 10 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 65536 %46 = add i64 %3, 1064 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = icmp ult i32 %45, 256 br i1 %48, label LBL_9, label LBL_8 LBL_8: store i32 127, i32* %47, align 4 %49 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %50 = load i32, i32* %33, align 4 %51 = icmp eq i32 %50, 1036 %52 = icmp eq i1 %51, false br i1 %52, label LBL_13, label LBL_10 LBL_10: %53 = add i64 %0, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %55, 12 store i64 0, i64* %indvars.iv.reg2mem store i64 %56, i64* %sv_0.03.reg2mem br label LBL_11 LBL_11: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %57 = call i64 @FUNC(i64 %sv_0.03.reload) %58 = trunc i64 %57 to i32 %59 = mul i64 %indvars.iv.reload, 4 %60 = add i64 %59, %25 %61 = inttoptr i64 %60 to i32* store i32 %58, i32* %61, align 4 %62 = add i64 %sv_0.03.reload, 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %62, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_12, label LBL_11 LBL_12: %63 = add i64 %3, 1080 %64 = inttoptr i64 %63 to i32* store i32 1, i32* %64, align 4 br label LBL_13 LBL_13: %65 = add i64 %3, 1072 %66 = call i64 @FUNC(i64 %65) %67 = add i64 %0, 24 %68 = inttoptr i64 %67 to i32* store i32 1, i32* %68, 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 i32 %45, { 1, 0 } uselistorder i64 %indvars.iv6.reload, { 0, 2, 1 } uselistorder i64 %3, { 2, 1, 3, 0, 4, 5, 6, 7, 8, 9 } uselistorder i64 %0, { 0, 1, 2, 5, 4, 3, 7, 6, 8, 9 } uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 256, { 5, 4, 2, 0, 3, 1 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i64 (i64)* @av_mallocz, { 1, 0 } uselistorder i64 (i64, i64, i8*)* @av_log, { 2, 1, 0 } uselistorder i64 4, { 2, 0, 1, 3 } }
0
BinRealVul
rdma_accept_incoming_migration_2326
rdma_accept_incoming_migration
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = ptrtoint i64* %sv_0 to i64 %2 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0)) store i64 %6, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %7 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0)) %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i32 1, i32* %arg1, align 4 %13 = call i64 @FUNC(i64 %8) store i64 %13, 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, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*)* @ERROR, { 1, 0 } uselistorder i64 (i8*)* @DPRINTF, { 1, 0 } }
0
BinRealVul
match_busid_show_13348
match_busid_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_0.11.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %indvars.iv.reg2mem store i64 %0, i64* %sv_0.11.reg2mem br label LBL_1 LBL_1: %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 32 %3 = add i64 %2, ptrtoint (i8** @gv_1 to i64) %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 8 %6 = icmp eq i8 %5, 0 store i64 %sv_0.11.reload, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = inttoptr i64 %sv_0.11.reload to i8* %8 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* %4) %9 = sext i32 %8 to i64 %10 = add i64 %sv_0.11.reload, %9 store i64 %10, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.11.reg2mem br i1 %exitcond, label LBL_4, label LBL_1 LBL_4: %11 = call i64 @FUNC(i64* nonnull @gv_0) %12 = inttoptr i64 %sv_0.0.reload to i8* %13 = call i32 (i8*, i8*, ...) @sprintf(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0)) %14 = sext i32 %13 to i64 %15 = sub i64 %sv_0.0.reload, %0 %16 = add i64 %15, %14 ret i64 %16 uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64 %sv_0.11.reload, { 2, 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.11.reg2mem, { 1, 0, 2 } uselistorder i8 0, { 1, 0 } }
1
BinRealVul
SFS_ObjectMethodCall_12026
SFS_ObjectMethodCall
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 %5 = icmp eq i1 %4, false store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %6, i64 4202512) %9 = call i64 @FUNC(i64 %6) %10 = call i64 @FUNC(i64 %6, i64 4202514) %11 = call i64 @FUNC(i64 %6) %12 = call i64 @FUNC(i64 %6, i64 4202516) store i64 %12, 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 %6, { 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 (i64, i64)* @SFS_AddString, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ras_validate_11219
ras_validate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i8 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i8, i8* %0 %3 = load i8, i8* %0 %4 = load i8, i8* %0 %sv_0 = alloca i8, align 1 %sv_1 = alloca i64, align 8 %5 = bitcast i8* %sv_0 to i64* %6 = call i64 @FUNC(i64 %1, i64* nonnull %5, i64 4) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_6 LBL_1: %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -20 store i32 %7, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %12 = sext i32 %storemerge to i64 %13 = add i64 %11, %12 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i64 %17 = call i64 @FUNC(i64 %1, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, -1 %20 = icmp eq i1 %19, false store i32 %storemerge, i32* %storemerge.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = add i32 %storemerge.in.reload, -1 %21 = icmp slt i32 %storemerge, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_2, label LBL_4 LBL_4: %23 = icmp sgt i32 %7, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_6 LBL_5: %24 = load i8, i8* %sv_0, align 1 %25 = zext i8 %24 to i64 %26 = mul i64 %25, 16777216 %27 = zext i8 %4 to i64 %28 = mul i64 %27, 65536 %29 = zext i8 %3 to i64 %30 = mul i64 %29, 256 %31 = zext i8 %2 to i64 %32 = or i64 %30, %31 %33 = or i64 %32, %28 %34 = or i64 %33, %26 %35 = icmp eq i64 %34, 305419896 %. = select i1 %35, i64 0, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge, { 2, 1, 0 } uselistorder i32 %7, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i8* %0, { 2, 1, 0 } uselistorder label LBL_6, { 1, 2, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
readU16_6566
readU16
define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i16* %arg1 to i64 %1 = add i64 %0, %arg2 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = zext i8 %3 to i64 %5 = mul i64 %4, 256 %6 = add i64 %1, 1 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = zext i8 %8 to i64 %10 = or i64 %5, %9 ret i64 %10 }
0
BinRealVul
destroy_nbp_3992
destroy_nbp
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* store i64 0, i64* %2, align 8 store i64 0, i64* %arg1, align 8 %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %0) ret i64 %4 uselistorder i64 %0, { 0, 2, 1 } }
0
BinRealVul
expandrow2_7361
expandrow2
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i32 %sv_0.1.in.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.112.reg2mem = alloca i64 %sv_2.113.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i64 %sv_0.0.in9.reg2mem = alloca i64 %sv_2.010.reg2mem = alloca i32 %sv_1.315.reg2mem = alloca i64 %sv_0.216.reg2mem = alloca i32* %sv_3.017.reg2mem = alloca i32 %sv_4.018.reg2mem = alloca i32 %0 = icmp eq i32 %arg3, 0 %1 = icmp slt i32 %arg3, 0 %2 = icmp eq i1 %1, false %3 = icmp eq i1 %0, false %4 = icmp eq i1 %2, %3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %sext = mul i64 %arg5, 4294967296 %5 = ptrtoint i64* %arg1 to i64 %6 = ashr exact i64 %sext, 32 %7 = mul i32 %arg4, 2 %8 = sext i32 %7 to i64 store i32 0, i32* %sv_4.018.reg2mem store i32 %arg3, i32* %sv_3.017.reg2mem store i32* %arg2, i32** %sv_0.216.reg2mem store i64 %5, i64* %sv_1.315.reg2mem br label LBL_2 LBL_2: %sv_0.216.reload = load i32*, i32** %sv_0.216.reg2mem %sv_3.017.reload = load i32, i32* %sv_3.017.reg2mem %9 = ptrtoint i32* %sv_0.216.reload to i64 %10 = add i64 %9, 1 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i32 %sv_3.017.reload, 1 %14 = icmp eq i1 %13, false %15 = icmp eq i8 %12, 0 %or.cond = or i1 %14, %15 store i32 %sv_3.017.reload, i32* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_3, label LBL_11 LBL_3: %16 = urem i8 %12, -128 %17 = zext i8 %16 to i32 %18 = icmp eq i8 %16, 0 %19 = icmp eq i1 %18, false store i32 %17, i32* %rax.0.shrunk.reg2mem br i1 %19, label LBL_4, label LBL_11 LBL_4: %sv_4.018.reload = load i32, i32* %sv_4.018.reg2mem %20 = add i32 %sv_4.018.reload, %17 %21 = zext i32 %20 to i64 %22 = icmp slt i64 %6, %21 store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %22, label LBL_11, label LBL_5 LBL_5: %sv_1.315.reload = load i64, i64* %sv_1.315.reg2mem %23 = add i64 %9, 2 %24 = icmp slt i8 %12, 0 %25 = icmp eq i1 %24, false store i32 %17, i32* %sv_2.010.reg2mem store i64 %23, i64* %sv_0.0.in9.reg2mem store i64 %sv_1.315.reload, i64* %sv_1.08.reg2mem br i1 %25, label LBL_6, label LBL_7 LBL_6: %26 = inttoptr i64 %23 to i16* store i32 %17, i32* %sv_2.113.reg2mem store i64 %sv_1.315.reload, i64* %sv_1.112.reg2mem br label LBL_8 LBL_7: %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem %sv_0.0.in9.reload = load i64, i64* %sv_0.0.in9.reg2mem %sv_2.010.reload = load i32, i32* %sv_2.010.reg2mem %27 = mul i32 %sv_2.010.reload, 16777216 %sext6 = add i32 %27, -16777216 %28 = ashr exact i32 %sext6, 24 %29 = inttoptr i64 %sv_0.0.in9.reload to i16* %30 = load i16, i16* %29, align 2 %31 = inttoptr i64 %sv_1.08.reload to i16* store i16 %30, i16* %31, align 2 %32 = add i64 %sv_0.0.in9.reload, 2 %33 = add i64 %sv_1.08.reload, %8 %34 = trunc i32 %28 to i8 %35 = icmp eq i8 %34, 0 %36 = icmp eq i1 %35, false store i32 %28, i32* %sv_2.010.reg2mem store i64 %32, i64* %sv_0.0.in9.reg2mem store i64 %33, i64* %sv_1.08.reg2mem store i64 %33, i64* %sv_1.2.reg2mem store i64 %32, i64* %sv_0.1.in.reg2mem br i1 %36, label LBL_7, label LBL_10 LBL_8: %sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem %sv_2.113.reload = load i32, i32* %sv_2.113.reg2mem %37 = mul i32 %sv_2.113.reload, 16777216 %sext7 = add i32 %37, -16777216 %38 = ashr exact i32 %sext7, 24 %39 = load i16, i16* %26, align 2 %40 = inttoptr i64 %sv_1.112.reload to i16* store i16 %39, i16* %40, align 2 %41 = add i64 %sv_1.112.reload, %8 %42 = trunc i32 %38 to i8 %43 = icmp eq i8 %42, 0 %44 = icmp eq i1 %43, false store i32 %38, i32* %sv_2.113.reg2mem store i64 %41, i64* %sv_1.112.reg2mem br i1 %44, label LBL_8, label LBL_9 LBL_9: %45 = add i64 %9, 4 store i64 %41, i64* %sv_1.2.reg2mem store i64 %45, i64* %sv_0.1.in.reg2mem br label LBL_10 LBL_10: %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %sv_0.1 = inttoptr i64 %sv_0.1.in.reload to i32* %46 = add i32 %sv_3.017.reload, -1 %47 = icmp eq i32 %46, 0 %48 = icmp slt i32 %46, 0 %49 = icmp eq i1 %48, false %50 = icmp eq i1 %47, false %51 = icmp eq i1 %49, %50 store i32 %20, i32* %sv_4.018.reg2mem store i32 %46, i32* %sv_3.017.reg2mem store i32* %sv_0.1, i32** %sv_0.216.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.315.reg2mem store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %51, label LBL_2, label LBL_11 LBL_11: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i64 %sv_1.112.reload, { 1, 0 } uselistorder i64 %sv_1.08.reload, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i32 %17, { 1, 2, 3, 0 } uselistorder i8 %16, { 1, 0 } uselistorder i8 %12, { 2, 0, 1 } uselistorder i64 %9, { 1, 0, 2 } uselistorder i32 %sv_3.017.reload, { 1, 0, 2 } uselistorder i32* %sv_4.018.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.017.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.216.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.315.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.010.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in9.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.113.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.112.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.in.reg2mem, { 0, 2, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder i1 false, { 8, 2, 3, 4, 5, 6, 7, 0, 1 } uselistorder i32 0, { 0, 5, 6, 2, 1, 3, 4 } uselistorder label LBL_11, { 3, 2, 1, 0, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rtsp_cmd_teardown_2594
rtsp_cmd_teardown
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i8* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %7 = call i64 @FUNC(i64 %5, i64 %4) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %6, i64 404) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 32, i64 %7) %12 = call i64 @FUNC(i64 %7) %13 = call i64 @FUNC(i64 %6, i64 200) %14 = add i64 %6, 32 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64 %3, i64 %2, i64 %1) %18 = load i64, i64* %15, align 8 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %3, i64 %2, i64 %1) store i64 %19, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %6, { 2, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @url_fprintf, { 1, 0 } uselistorder i64 32, { 1, 0 } }
0
BinRealVul
raptor_rdfxml_parse_start_11543
raptor_rdfxml_parse_start
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64* %arg1, null %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = call i64 @FUNC(i64 %0, i64 1) %7 = inttoptr i64 %3 to i64* %8 = load i64, i64* %7, align 8 %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %8, i64 1, i64 0, i64 %9) %11 = call i64 @FUNC(i64 %0, i64 2) %12 = load i64, i64* %7, align 8 %13 = and i64 %11, 4294967295 %14 = call i64 @FUNC(i64 %12, i64 2, i64 0, i64 %13) %15 = call i64 @FUNC(i64 %0, i64 3) %16 = load i64, i64* %7, align 8 %17 = and i64 %15, 4294967295 %18 = call i64 @FUNC(i64 %16, i64 3, i64 0, i64 %17) %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_3, label LBL_2 LBL_2: %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = load i64, i64* %7, align 8 %27 = call i64 @FUNC(i64 %26, i64 %21, i64 %25) br label LBL_3 LBL_3: %28 = load i64, i64* %7, align 8 %29 = call i64 @FUNC(i64 %28, i64 %0) %30 = add i64 %3, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = icmp eq i64 %32, 0 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = call i64 @FUNC(i64 %32) store i64 0, i64* %31, align 8 br label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %0, i64 4) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = add i64 %0, 32 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %40) store i64 %41, i64* %31, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 1, i64* %rax.0.reg2mem br i1 %43, label LBL_7, label LBL_8 LBL_7: store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %31, { 1, 0, 2 } uselistorder i64* %7, { 1, 0, 2, 3, 4 } uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 6, 7, 8 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64, i64)* @raptor_sax2_set_option, { 2, 1, 0 } uselistorder i64 (i64, i64)* @RAPTOR_OPTIONS_GET_NUMERIC, { 3, 2, 1, 0 } uselistorder i64 1, { 0, 2, 3, 1 } uselistorder label LBL_8, { 2, 0, 1 } }
1
BinRealVul
g_malloc0_15767
g_malloc0
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %arg1, 0 %phitmp = trunc i64 %arg1 to i32 %storemerge = select i1 %1, i32 1, i32 %phitmp %2 = call i64* @calloc(i32 1, i32 %storemerge) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC() unreachable LBL_2: %6 = ptrtoint i64* %2 to i64 ret i64 %6 uselistorder i64* %2, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1 } }
1
BinRealVul
PruneToCubeDepth_9406
PruneToCubeDepth
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 16, i64 8 store i64 0, i64* %storemerge2.reg2mem br label LBL_1 LBL_1: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %5 = mul i64 %storemerge2.reload, 8 %6 = add i64 %5, %arg2 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %arg1, i64 %8) br label LBL_3 LBL_3: %11 = add nuw nsw i64 %storemerge2.reload, 1 %12 = icmp ult i64 %11, %. store i64 %11, i64* %storemerge2.reg2mem br i1 %12, label LBL_1, label LBL_4 LBL_4: %13 = add i64 %arg2, 128 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = add i64 %arg1, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp ugt i64 %15, %18 store i64 %18, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_6 LBL_5: %20 = call i64 @FUNC(i64 %arg1, i64 %arg2) store i64 %20, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 2, 0, 1 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
moduleHandleBlockedClients_3830
moduleHandleBlockedClients
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 %0 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %1 = load i64, i64* @gv_1, align 8 %2 = call i64 @FUNC(i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_8 LBL_1: %6 = bitcast i32* %sv_0 to i64* br label LBL_2 LBL_2: %7 = load i64, i64* @gv_1, align 8 %8 = call i64 @FUNC(i64 %7) %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = load i64, i64* @gv_1, align 8 %14 = call i64 @FUNC(i64 %13, i64 %8) %15 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) %16 = icmp eq i64 %12, 0 br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = add i64 %10, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: store i32 1, i32* %sv_0, align 4 %21 = call i64 @FUNC(i64* nonnull %6) %22 = call i64 @FUNC(i64* nonnull %6) br label LBL_6 LBL_5: %23 = call i64 @FUNC(i64 %10) br label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 %10) %25 = call i64 @FUNC(i64 %12) br label LBL_7 LBL_7: %26 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %27 = load i64, i64* @gv_1, align 8 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_2, label LBL_8 LBL_8: %32 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) %33 = sext i32 %32 to i64 ret i64 %33 uselistorder i64 %10, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 (i64)* @listLength, { 1, 0 } uselistorder i32 (i64*)* @pthread_mutex_lock, { 1, 0 } uselistorder i32 1, { 4, 5, 2, 1, 0, 3 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
check_rx_packet_auth_10929
check_rx_packet_auth
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = sub i64 %arg2, %0 %sext = mul i64 %0, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = add i64 %3, %arg1 %5 = call i64 @FUNC() %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %5, i64 %arg1, i32 %1, i64 %4, i64 %6) %8 = urem i64 %7, 256 ret i64 %8 uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
bnxt_dump_rx_sw_state_17653
bnxt_dump_rx_sw_state
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 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = trunc i64 %1 to i32 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_0, i64 0, i64 0), i32 %5, i32 %9, i32 %8, i32 %5) ret i64 %15 }
1
BinRealVul
kvm_arm_gic_get_2649
kvm_arm_gic_get
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge6.reg2mem = alloca i32 %.reg2mem13 = alloca i64 %.lcssa4.reg2mem = alloca i64 %storemerge37.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_1 to i64*), i32 1, i32 48, %_IO_FILE* %5) %7 = sext i32 %6 to i64 store i64 %7, i64* %rax.0.reg2mem br label LBL_12 LBL_2: %8 = bitcast i32* %sv_0 to i64* %9 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64* nonnull %8, i64 0) %10 = load i32, i32* %sv_0, align 4 %11 = urem i32 %10, 2 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 %13 = call i64 @FUNC(i64 %0, i64 4, i64 0, i64* nonnull %8, i64 0) %14 = load i32, i32* %sv_0, align 4 %15 = mul i32 %14, 32 %16 = and i32 %15, 992 %17 = add nuw nsw i32 %16, 32 %18 = add i64 %0, 4 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = load i32, i32* %sv_0, align 4 %21 = udiv i32 %20, 32 %22 = urem i32 %21, 8 %23 = add nuw nsw i32 %22, 1 %24 = add i64 %0, 8 %25 = inttoptr i64 %24 to i32* store i32 %23, i32* %25, align 4 %26 = load i32, i32* %19, align 4 %27 = icmp slt i32 %26, 1021 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = zext i32 %26 to i64 %29 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %28) call void @abort() unreachable LBL_4: %31 = call i64 @FUNC(i64 %0, i64 8, i64 0, i64* nonnull %8, i64 0) %32 = load i32, i32* %19, align 4 %33 = icmp eq i32 %32, 0 store i64 0, i64* %.lcssa4.reg2mem br i1 %33, label LBL_7, label LBL_5 LBL_5: %34 = add i64 %0, 12 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge37.reg2mem br label LBL_6 LBL_6: %storemerge37.reload = load i32, i32* %storemerge37.reg2mem %.reload = load i64, i64* %.reg2mem %35 = mul i64 %.reload, 4 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i64* %38 = call i64* @memset(i64* %37, i32 0, i32 4) %39 = add i32 %storemerge37.reload, 1 %40 = load i32, i32* %19, align 4 %41 = zext i32 %40 to i64 %42 = sext i32 %39 to i64 %43 = icmp slt i64 %42, %41 store i64 %42, i64* %.reg2mem store i32 %39, i32* %storemerge37.reg2mem store i64 %41, i64* %.lcssa4.reg2mem br i1 %43, label LBL_6, label LBL_7 LBL_7: %.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem %44 = call i64 @FUNC(i64 %0, i64 128, i64 1, i64 %.lcssa4.reload, i64 4198851) %45 = load i32, i32* %19, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %0, i64 256, i64 1, i64 %46, i64 4198858) %48 = load i32, i32* %19, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %0, i64 512, i64 1, i64 %49, i64 4198865) %51 = load i32, i32* %19, align 4 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %0, i64 768, i64 1, i64 %52, i64 4198872) %54 = load i32, i32* %19, align 4 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64 %0, i64 3072, i64 2, i64 %55, i64 4198879) %57 = load i32, i32* %19, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %0, i64 1024, i64 8, i64 %58, i64 4198886) %60 = load i32, i32* %19, align 4 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64 %0, i64 2048, i64 8, i64 %61, i64 4198893) %63 = call i64 @FUNC(i64 %0, i64 3856, i64 8, i64 16, i64 4198900) %64 = load i32, i32* %25, align 4 %65 = icmp eq i32 %64, 0 store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_12, label LBL_8 LBL_8: %66 = add i64 %0, 4220 store i64 0, i64* %.reg2mem13 store i32 0, i32* %storemerge6.reg2mem br label LBL_9 LBL_9: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %.reload14 = load i64, i64* %.reg2mem13 %67 = call i64 @FUNC(i64 %0, i64 0, i32 %storemerge6.reload, i64* nonnull %8, i64 0) %68 = load i32, i32* %sv_0, align 4 %69 = urem i32 %68, 2 %70 = mul i64 %.reload14, 4 %71 = add i64 %70, %0 %72 = add i64 %71, 4092 %73 = inttoptr i64 %72 to i32* store i32 %69, i32* %73, align 4 %74 = call i64 @FUNC(i64 %0, i64 4, i32 %storemerge6.reload, i64* nonnull %8, i64 0) %75 = load i32, i32* %sv_0, align 4 %76 = urem i32 %75, 256 %77 = add i64 %71, 4124 %78 = inttoptr i64 %77 to i32* store i32 %76, i32* %78, align 4 %79 = call i64 @FUNC(i64 %0, i64 8, i32 %storemerge6.reload, i64* nonnull %8, i64 0) %80 = load i32, i32* %sv_0, align 4 %81 = urem i32 %80, 8 %82 = add i64 %71, 4156 %83 = inttoptr i64 %82 to i32* store i32 %81, i32* %83, align 4 %84 = call i64 @FUNC(i64 %0, i64 28, i32 %storemerge6.reload, i64* nonnull %8, i64 0) %85 = load i32, i32* %sv_0, align 4 %86 = urem i32 %85, 8 %87 = add i64 %71, 4188 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_10 LBL_10: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %89 = mul i64 %indvars.iv.reload, 4 %90 = add nuw nsw i64 %89, 208 %91 = call i64 @FUNC(i64 %0, i64 %90, i32 %storemerge6.reload, i64* nonnull %8, i64 0) %92 = load i32, i32* %sv_0, align 4 %93 = mul i64 %indvars.iv.reload, 8 %94 = add nsw i64 %93, %.reload14 %95 = mul i64 %94, 4 %96 = add i64 %66, %95 %97 = inttoptr i64 %96 to i32* store i32 %92, i32* %97, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %98 = add i32 %storemerge6.reload, 1 %99 = load i32, i32* %25, align 4 %100 = zext i32 %99 to i64 %101 = sext i32 %98 to i64 %102 = icmp slt i64 %101, %100 store i64 %101, i64* %.reg2mem13 store i32 %98, i32* %storemerge6.reg2mem store i64 %100, i64* %rax.0.reg2mem br i1 %102, label LBL_9, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32* %25, { 1, 0, 2 } uselistorder i32* %19, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9 } uselistorder i32* %sv_0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64 %0, { 3, 4, 5, 6, 0, 7, 2, 8, 9, 10, 11, 12, 13, 14, 15, 1, 16, 17, 18, 19, 20, 21 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge37.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem13, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64, i32, i64*, i64)* @kvm_gicc_access, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @kvm_dist_get, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 5, 0 } uselistorder i32 32, { 1, 2, 0 } uselistorder i64 4, { 4, 0, 1, 5, 2, 3, 7, 6 } uselistorder i64 (i64, i64, i64, i64*, i64)* @kvm_gicd_access, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 0, { 0, 2, 4, 1, 3, 5, 6, 7 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
smc91c111_init_15195
smc91c111_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = load i64, i64* @gv_1, align 8 %4 = load i64, i64* @gv_2, align 8 %5 = call i64 @FUNC(i64 0, i64 %4, i64 %3, i64 %2) %6 = trunc i64 %5 to i32 %7 = and i64 %arg2, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 16, i32 %6) %9 = add i64 %2, 16 %10 = inttoptr i64 %9 to i64* store i64 %arg3, i64* %10, align 8 %11 = inttoptr i64 %2 to i64* %12 = call i64* @memcpy(i64* %11, i64* %arg1, i32 6) %13 = call i64 @FUNC(i64 %2) %14 = load i64, i64* @gv_3, align 8 %15 = load i64, i64* @gv_4, align 8 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 %21, i64 %18, i64 %15, i64 %14, i64 %2) %27 = add i64 %2, 8 %28 = inttoptr i64 %27 to i64* store i64 %26, i64* %28, align 8 %29 = call i64 @FUNC(i64 %26, i64 %2) ret i64 %29 uselistorder i64 16, { 1, 2, 0 } uselistorder i64 24, { 1, 0 } }
1
BinRealVul
ff_mpeg_draw_horiz_band_932
ff_mpeg_draw_horiz_band
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = and i64 %arg3, 4294967295 %3 = add i64 %0, 28 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %6, i64 %15, i64 %12, i32 %1, i64 %2, i32 %9) ret i64 %16 }
0
BinRealVul
ram_control_load_hook_3384
ram_control_load_hook
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = trunc i64 %0 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %0, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = and i64 %0, 4294967295 %6 = call i64 @FUNC(i64 %0, i64 %5) store i64 %6, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %7 = call i64 @FUNC(i64 %0, i64 4294967274) store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 4, 1, 3, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @qemu_file_set_error, { 1, 0 } }
0
BinRealVul
timelib_get_zone_7368
timelib_get_zone
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i32* %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %sv_0.0.ph.reg2mem = alloca i64 %.reg2mem6 = alloca i8 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32, align 4 store i32 0, i32* %arg4, align 4 %1 = trunc i64 %0 to i8 %2 = add i64 %0, 1 br label LBL_2 LBL_1: store i64 %2, i64* %arg1, align 8 br label LBL_2 LBL_2: switch i8 %1, label LBL_3 [ i8 32, label LBL_1 i8 9, label LBL_1 i8 40, label LBL_1 ] LBL_3: %3 = icmp eq i8 %1, 71 %4 = icmp eq i1 %3, false br i1 %4, label LBL_8, label LBL_4 LBL_4: %5 = inttoptr i64 %2 to i8* %6 = load i8, i8* %5, align 1 %7 = icmp eq i8 %6, 77 %8 = icmp eq i1 %7, false br i1 %8, label LBL_8, label LBL_5 LBL_5: %9 = add i64 %0, 2 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = icmp eq i8 %11, 84 %13 = icmp eq i1 %12, false br i1 %13, label LBL_8, label LBL_6 LBL_6: %14 = add i64 %0, 3 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp ne i8 %16, 43 %18 = icmp eq i8 %16, 45 %19 = icmp eq i1 %18, false %or.cond = icmp eq i1 %17, %19 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: store i64 %14, i64* %arg1, align 8 br label LBL_8 LBL_8: %20 = ptrtoint i64* %arg3 to i64 %21 = icmp eq i8 %1, 43 %22 = icmp eq i1 %21, false br i1 %22, label LBL_10, label LBL_9 LBL_9: store i64 %2, i64* %arg1, align 8 %23 = bitcast i64* %arg3 to i32* store i32 1, i32* %23, align 4 %24 = add i64 %20, 4 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 store i32 0, i32* %arg4, align 4 %26 = add i64 %20, 8 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = call i64 @FUNC(i64 %0) %29 = sub i64 0, %28 store i8 %1, i8* %.reg2mem6 store i64 %29, i64* %sv_0.0.ph.reg2mem br label LBL_23 LBL_10: %30 = icmp eq i8 %1, 45 %31 = icmp eq i1 %30, false br i1 %31, label LBL_12, label LBL_11 LBL_11: store i64 %2, i64* %arg1, align 8 %32 = bitcast i64* %arg3 to i32* store i32 1, i32* %32, align 4 %33 = add i64 %20, 4 %34 = inttoptr i64 %33 to i32* store i32 1, i32* %34, align 4 store i32 0, i32* %arg4, align 4 %35 = add i64 %20, 8 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = call i64 @FUNC(i64 %0) store i8 %1, i8* %.reg2mem6 store i64 %37, i64* %sv_0.0.ph.reg2mem br label LBL_23 LBL_12: store i32 0, i32* %sv_2, align 4 %38 = bitcast i64* %arg3 to i32* store i32 1, i32* %38, align 4 %39 = ptrtoint i32* %arg2 to i64 %40 = bitcast i8** %sv_1 to i64* %41 = call i64 @FUNC(i64 %0, i64 %39, i64* nonnull %40, i32* nonnull %sv_2) %42 = load i32, i32* %sv_2, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_14, label LBL_13 LBL_13: %44 = add i64 %20, 4 %45 = inttoptr i64 %44 to i32* store i32 2, i32* %45, align 4 br label LBL_14 LBL_14: %46 = load i8*, i8** %sv_1, align 8 %47 = call i8* @strchr(i8* %46, i32 47) %48 = icmp eq i8* %47, null %49 = icmp eq i1 %48, false br i1 %49, label LBL_16, label LBL_15 LBL_15: %50 = load i8*, i8** %sv_1, align 8 %51 = call i32 @strcmp(i8* %50, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false br i1 %53, label LBL_18, label LBL_16 LBL_16: %54 = load i8*, i8** %sv_1, align 8 %55 = icmp eq i8* %54, null br i1 %55, label LBL_18, label LBL_17 LBL_17: %56 = ptrtoint i8* %54 to i64 %57 = add i64 %20, 16 %58 = inttoptr i64 %57 to i64* store i64 %56, i64* %58, align 8 %59 = add i64 %20, 4 %60 = inttoptr i64 %59 to i32* store i32 3, i32* %60, align 4 %61 = load i32, i32* %sv_2, align 4 %62 = add i32 %61, 1 store i32 %62, i32* %sv_2, align 4 store i32 %62, i32* %.reg2mem br label LBL_19 LBL_18: %.pr = load i32, i32* %sv_2, align 4 store i32 %.pr, i32* %.reg2mem br label LBL_19 LBL_19: %.reload = load i32, i32* %.reg2mem %63 = icmp eq i32 %.reload, 0 br i1 %63, label LBL_22, label LBL_20 LBL_20: %64 = add i64 %20, 4 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 3 br i1 %67, label LBL_22, label LBL_21 LBL_21: %68 = load i8*, i8** %sv_1, align 8 %69 = ptrtoint i8* %68 to i64 %70 = call i64 @FUNC(i64 %20, i64 %69) br label LBL_22 LBL_22: %71 = load i8*, i8** %sv_1, align 8 %72 = ptrtoint i8* %71 to i64 %73 = bitcast i8* %71 to i64* call void @free(i64* %73) %74 = load i32, i32* %sv_2, align 4 %75 = icmp eq i32 %74, 0 %76 = zext i1 %75 to i32 store i32 %76, i32* %arg4, align 4 %77 = trunc i64 %72 to i8 store i8 %77, i8* %.reg2mem6 store i64 %41, i64* %sv_0.0.ph.reg2mem br label LBL_23 LBL_23: %.reload7 = load i8, i8* %.reg2mem6 %78 = icmp eq i8 %.reload7, 41 br i1 %78, label LBL_24, label LBL_25 LBL_24: br label LBL_24 LBL_25: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem ret i64 %sv_0.0.ph.reload uselistorder i8* %54, { 1, 0 } uselistorder i64 %20, { 8, 7, 5, 6, 4, 2, 3, 0, 1 } uselistorder i8 %1, { 0, 2, 1, 3, 5, 4 } uselistorder i32* %sv_2, { 2, 0, 3, 4, 5, 1, 6 } uselistorder i8** %sv_1, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %0, { 6, 5, 4, 1, 0, 2, 3 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @timelib_parse_tz_cor, { 1, 0 } uselistorder i8 45, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6, 7 } uselistorder i32* %arg4, { 2, 1, 0, 3 } uselistorder i64* %arg1, { 1, 2, 3, 0, 4 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_23, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3, 4 } }
0
BinRealVul
add_accepted_6949
add_accepted
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 %8 = call i64 @FUNC(i64 %3, i64 %7) br label LBL_2 LBL_2: %9 = trunc i64 %1 to i32 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, %9 %14 = icmp eq i1 %13, false br i1 %14, label LBL_3, label LBL_5 LBL_3: %15 = icmp eq i32 %9, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_10 LBL_4: %17 = add i64 %3, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 store i32 %9, i32* %storemerge1.reg2mem br label LBL_7 LBL_5: %20 = call i64 @FUNC(i64 %3, i64 4) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, -1 %23 = icmp eq i1 %22, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_13 LBL_6: %24 = and i64 %1, 4294967295 %25 = load i32, i32* %11, align 4 store i32 %25, i32* %sv_0.1.reg2mem store i64 %24, i64* %rdx.1.reg2mem br label LBL_9 LBL_7: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %26 = add i32 %storemerge1.reload, -1 %27 = zext i32 %26 to i64 %28 = mul i64 %27, 16 %29 = add i64 %28, %19 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 %26, i32* %sv_0.1.reg2mem store i64 %19, i64* %rdx.1.reg2mem br i1 %33, label LBL_8, label LBL_9 LBL_8: %34 = icmp eq i32 %26, 0 %35 = icmp eq i1 %34, false store i32 %26, i32* %storemerge1.reg2mem br i1 %35, label LBL_7, label LBL_10 LBL_9: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %36 = icmp eq i32 %sv_0.1.reload, -1 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_10 LBL_10: %38 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %39 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %38) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %40 = add i64 %3, 24 %41 = call i64 @FUNC(i64 %40, i64 %rdx.1.reload, i32 %sv_0.1.reload) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_12, label LBL_13 LBL_12: %45 = ptrtoint i64* %arg2 to i64 %46 = add i64 %3, 16 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = sext i32 %sv_0.1.reload to i64 %50 = mul i64 %49, 16 %51 = add i64 %48, %50 %52 = call i64 @FUNC(i64 %51, i64 %2) %53 = load i64, i64* %47, align 8 %54 = add i64 %53, %50 %55 = inttoptr i64 %54 to i32* store i32 1, i32* %55, align 4 %56 = load i32, i32* %11, align 4 %57 = add i32 %56, 1 store i32 %57, i32* %11, align 4 %58 = add i64 %3, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i32 %60, 1 store i32 %61, i32* %59, align 4 %62 = load i64, i64* %47, align 8 %63 = or i64 %50, 4 %64 = add i64 %62, %63 %65 = inttoptr i64 %64 to i32* store i32 %61, i32* %65, align 4 %66 = load i64, i64* %47, align 8 %67 = call i64 @FUNC(i64 %45) %68 = trunc i64 %67 to i32 %69 = or i64 %50, 8 %70 = add i64 %66, %69 %71 = inttoptr i64 %70 to i32* store i32 %68, i32* %71, align 4 %72 = load i64, i64* %47, align 8 %73 = or i64 %50, 12 %74 = add i64 %72, %73 %75 = inttoptr i64 %74 to i32* store i32 0, i32* %75, align 4 %76 = zext i32 %sv_0.1.reload to i64 store i64 %76, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %50, { 2, 1, 0, 4, 3 } uselistorder i32 %sv_0.1.reload, { 3, 2, 1, 0 } uselistorder i32 %26, { 1, 2, 0, 3 } uselistorder i32* %11, { 2, 1, 0, 3 } uselistorder i32 %9, { 0, 2, 1 } uselistorder i64 %3, { 1, 2, 3, 6, 4, 5, 0, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 16, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 2, 4, 3, 0 } uselistorder i1 false, { 1, 3, 4, 2, 5, 0, 6 } uselistorder i32 -1, { 1, 0, 2, 3 } uselistorder label LBL_13, { 2, 0, 3, 1 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
jsvAddNamedChild_9346
jsvAddNamedChild
define i64 @FUNC(i64 %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i8* %arg3 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 %arg2) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %arg1, i64 %2) store i64 %2, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
server_read_proc_kmsg_18843
server_read_proc_kmsg
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 1032 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %7, 4 %12 = add i64 %11, %10 %13 = inttoptr i64 %12 to i64* %14 = trunc i64 %10 to i32 %15 = sub i32 1023, %14 %16 = call i32 @read(i32 %4, i64* %13, i32 %15) %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_8, label LBL_5 LBL_5: %19 = call i32* @__errno_location() %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 11 store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_9, label LBL_6 LBL_6: %22 = call i32* @__errno_location() %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 4 %25 = icmp eq i1 %24, false store i64 0, i64* %rax.0.reg2mem br i1 %25, label LBL_7, label LBL_9 LBL_7: %26 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0)) %27 = call i32* @__errno_location() %28 = load i32, i32* %27, align 4 %29 = sub i32 0, %28 %30 = zext i32 %29 to i64 store i64 %30, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %31 = sext i32 %16 to i64 %32 = load i64, i64* %9, align 8 %33 = add i64 %32, %31 store i64 %33, i64* %9, align 8 %34 = call i64 @FUNC(i64 %7) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %16, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %9, { 1, 0, 2 } uselistorder i64 %7, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32* ()* @__errno_location, { 1, 0, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 3, 1, 0 } }
1
BinRealVul
vector64_dst_append_5929
vector64_dst_append
define i64 @FUNC(i32* %arg1, i32* %arg2, i32* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i8, i8* %1 %sv_0 = alloca i32, align 4 %4 = zext i32 %arg4 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 store i32 %6, i32* %sv_0, align 4 %7 = icmp eq i32 %6, -1 %spec.select = select i1 %7, i64 %arg5, i64 %5 %8 = icmp eq i8 %3, 0 %9 = trunc i64 %spec.select to i32 %10 = icmp eq i32 %9, -1 %or.cond = or i1 %8, %10 br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %11 = bitcast i32* %sv_0 to i64* %12 = call i64 @FUNC(i64* nonnull %11) %13 = trunc i64 %12 to i32 %sext6 = mul i64 %12, 4294967296 %14 = icmp slt i32 %13, 1 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge7.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %sext = add i64 %sext6, -4294967296 %15 = ashr exact i64 %sext, 32 %16 = urem i64 %15, 10 %phitmp = mul i64 %16, 8 %phitmp10 = add i64 %phitmp, ptrtoint (i64* @gv_0 to i64) store i64 %phitmp10, i64* %storemerge7.reg2mem br label LBL_3 LBL_3: %sv_1.0.in = mul i64 %spec.select, 4294967296 %17 = ashr exact i64 %sv_1.0.in, 32 %18 = ashr exact i64 %sext6, 32 %19 = mul nsw i64 %18, %17 %20 = trunc i64 %19 to i32 %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %21 = inttoptr i64 %storemerge7.reload to i64* %22 = load i64, i64* %21, align 8 %23 = icmp slt i32 %20, 64 %24 = add i32 %20, -64 %sv_2.0 = select i1 %23, i32 %20, i32 %24 %sv_3.0 = select i1 %23, i64 ptrtoint (i64* @gv_1 to i64), i64 ptrtoint (i64* @gv_2 to i64) %sv_2.0.off = add i32 %sv_2.0, -1 %25 = icmp ugt i32 %sv_2.0.off, 62 br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %4) %27 = and i64 %12, 4294967295 %28 = zext i32 %sv_2.0 to i64 %29 = call i64 @FUNC(i64 %28, i64 %27) %30 = call i64 @FUNC(i64 %4) %sext11 = mul i64 %22, 4294967296 %31 = ashr exact i64 %sext11, 32 %32 = ptrtoint i32* %arg1 to i64 %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i32 %sv_2.0, i64 %31, i64 %30, i64 %sv_3.0) store i64 %33, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %34 = trunc i64 %22 to i32 %35 = srem i32 %13, 64 %36 = call i64 @FUNC(i64 %4) %37 = zext i32 %35 to i64 %38 = zext i32 %sv_2.0 to i64 %39 = call i64 @FUNC(i64 %38, i64 %37) %40 = call i64 @FUNC(i64 %4) %41 = ptrtoint i32* %arg1 to i64 %42 = call i64 @FUNC(i64 %41, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i32 %34, i64 %40, i64 %sv_3.0, i64 %39) store i64 %42, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %43 = sext i32 %arg4 to i64 %44 = call i64 @FUNC(i64 %4) %45 = ptrtoint i32* %arg1 to i64 %46 = trunc i64 %44 to i32 %47 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i32 %46, i64 %43, i64 %arg5, i64 %2) store i64 %47, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_2.0, { 0, 2, 1, 3 } uselistorder i64 %22, { 1, 0 } uselistorder i32 %20, { 0, 2, 1 } uselistorder i64 %12, { 1, 0, 2 } uselistorder i64 %4, { 4, 2, 3, 0, 1, 5 } uselistorder i32* %sv_0, { 1, 0 } uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @r_strbuf_appendf, { 2, 1, 0 } uselistorder i64 (i64, i64)* @VEC64_MASK, { 1, 0 } uselistorder i64 (i64)* @REG64, { 4, 3, 2, 1, 0 } uselistorder i64 32, { 0, 2, 3, 1 } uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 } uselistorder i64 4294967296, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 %arg5, { 1, 0 } uselistorder i32 %arg4, { 1, 0 } uselistorder i32* %arg1, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
vmxnet3_init_msix_1990
vmxnet3_init_msix
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 4 %5 = call i64 @FUNC(i64 %3, i64 16, i64 %4, i64 0, i64 0, i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %5, 4294967295 %10 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %9) store i8 0, i8* %arg1, align 1 br label LBL_5 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 16) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 1 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = and i64 %5, 4294967295 %15 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %14) %16 = call i64 @FUNC(i64 %3, i64 %4, i64 %4) store i8 0, i8* %arg1, align 1 br label LBL_5 LBL_4: store i8 1, i8* %arg1, align 1 br label LBL_5 LBL_5: %17 = urem i64 %1, 256 ret i64 %17 uselistorder i64 %4, { 0, 1, 3, 2 } uselistorder i8 1, { 1, 0 } uselistorder i64 (i8*, i64)* @VMW_WRPRN, { 1, 0 } uselistorder i8* %arg1, { 2, 1, 0, 3 } }
0
BinRealVul
sh4_translate_init_7429
sh4_translate_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv4.reg2mem = alloca i64 store i64 0, i64* %indvars.iv4.reg2mem br label LBL_1 LBL_1: %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem %0 = mul i64 %indvars.iv4.reload, 8 %1 = add i64 %0, ptrtoint ([24 x i8*]* @gv_0 to i64) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = mul i64 %indvars.iv4.reload, 4 %5 = load i64, i64* @gv_1, align 8 %6 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) %7 = trunc i64 %6 to i32 %8 = add i64 %4, ptrtoint (i32** @gv_2 to i64) %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1 %exitcond6 = icmp eq i64 %indvars.iv.next5, 24 store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem br i1 %exitcond6, label LBL_2, label LBL_1 LBL_2: %10 = call i64* @memcpy(i64* nonnull @gv_3, i64* nonnull @gv_4, i32 64) %11 = load i64, i64* @gv_1, align 8 %12 = call i64 @FUNC(i64 %11, i64 96, i64 ptrtoint ([3 x i8]* @gv_5 to i64)) %13 = trunc i64 %12 to i32 store i32 %13, i32* bitcast (i64* @gv_3 to i32*), align 8 %14 = load i64, i64* @gv_1, align 8 %15 = call i64 @FUNC(i64 %14, i64 100, i64 ptrtoint ([3 x i8]* @gv_6 to i64)) %16 = trunc i64 %15 to i32 store i32 %16, i32* bitcast (i64* @gv_7 to i32*), align 8 %17 = load i64, i64* @gv_1, align 8 %18 = call i64 @FUNC(i64 %17, i64 104, i64 ptrtoint ([5 x i8]* @gv_8 to i64)) %19 = trunc i64 %18 to i32 store i32 %19, i32* bitcast (i64* @gv_9 to i32*), align 8 %20 = load i64, i64* @gv_1, align 8 %21 = call i64 @FUNC(i64 %20, i64 108, i64 ptrtoint ([5 x i8]* @gv_10 to i64)) %22 = trunc i64 %21 to i32 store i32 %22, i32* bitcast (i64* @gv_11 to i32*), align 8 %23 = load i64, i64* @gv_1, align 8 %24 = call i64 @FUNC(i64 %23, i64 112, i64 ptrtoint ([5 x i8]* @gv_12 to i64)) %25 = trunc i64 %24 to i32 store i32 %25, i32* bitcast (i64* @gv_13 to i32*), align 8 %26 = load i64, i64* @gv_1, align 8 %27 = call i64 @FUNC(i64 %26, i64 116, i64 ptrtoint ([4 x i8]* @gv_14 to i64)) %28 = trunc i64 %27 to i32 store i32 %28, i32* bitcast (i64* @gv_15 to i32*), align 8 %29 = load i64, i64* @gv_1, align 8 %30 = call i64 @FUNC(i64 %29, i64 120, i64 ptrtoint ([4 x i8]* @gv_16 to i64)) %31 = trunc i64 %30 to i32 store i32 %31, i32* bitcast (i64* @gv_17 to i32*), align 8 %32 = load i64, i64* @gv_1, align 8 %33 = call i64 @FUNC(i64 %32, i64 124, i64 ptrtoint ([4 x i8]* @gv_18 to i64)) %34 = trunc i64 %33 to i32 store i32 %34, i32* bitcast (i64* @gv_19 to i32*), align 8 %35 = load i64, i64* @gv_1, align 8 %36 = call i64 @FUNC(i64 %35, i64 128, i64 ptrtoint ([4 x i8]* @gv_20 to i64)) %37 = trunc i64 %36 to i32 store i32 %37, i32* bitcast (i64* @gv_21 to i32*), align 8 %38 = load i64, i64* @gv_1, align 8 %39 = call i64 @FUNC(i64 %38, i64 132, i64 ptrtoint ([4 x i8]* @gv_22 to i64)) %40 = trunc i64 %39 to i32 store i32 %40, i32* bitcast (i64* @gv_23 to i32*), align 8 %41 = load i64, i64* @gv_1, align 8 %42 = call i64 @FUNC(i64 %41, i64 136, i64 ptrtoint ([4 x i8]* @gv_24 to i64)) %43 = trunc i64 %42 to i32 store i32 %43, i32* bitcast (i64* @gv_25 to i32*), align 8 %44 = load i64, i64* @gv_1, align 8 %45 = call i64 @FUNC(i64 %44, i64 140, i64 ptrtoint ([5 x i8]* @gv_26 to i64)) %46 = trunc i64 %45 to i32 store i32 %46, i32* bitcast (i64* @gv_27 to i32*), align 8 %47 = load i64, i64* @gv_1, align 8 %48 = call i64 @FUNC(i64 %47, i64 144, i64 ptrtoint ([5 x i8]* @gv_28 to i64)) %49 = trunc i64 %48 to i32 store i32 %49, i32* bitcast (i64* @gv_29 to i32*), align 8 %50 = load i64, i64* @gv_1, align 8 %51 = call i64 @FUNC(i64 %50, i64 148, i64 ptrtoint ([3 x i8]* @gv_30 to i64)) %52 = trunc i64 %51 to i32 store i32 %52, i32* bitcast (i64* @gv_31 to i32*), align 8 %53 = load i64, i64* @gv_1, align 8 %54 = call i64 @FUNC(i64 %53, i64 152, i64 ptrtoint ([6 x i8]* @gv_32 to i64)) %55 = trunc i64 %54 to i32 store i32 %55, i32* bitcast (i64* @gv_33 to i32*), align 8 %56 = load i64, i64* @gv_1, align 8 %57 = call i64 @FUNC(i64 %56, i64 156, i64 ptrtoint ([5 x i8]* @gv_34 to i64)) %58 = trunc i64 %57 to i32 store i32 %58, i32* bitcast (i64* @gv_35 to i32*), align 8 %59 = load i64, i64* @gv_1, align 8 %60 = call i64 @FUNC(i64 %59, i64 160, i64 ptrtoint ([8 x i8]* @gv_36 to i64)) %61 = trunc i64 %60 to i32 store i32 %61, i32* bitcast (i64* @gv_37 to i32*), align 8 %62 = load i64, i64* @gv_1, align 8 %63 = call i64 @FUNC(i64 %62, i64 164, i64 ptrtoint ([13 x i8]* @gv_38 to i64)) %64 = trunc i64 %63 to i32 store i32 %64, i32* bitcast (i64* @gv_39 to i32*), align 8 %65 = load i64, i64* @gv_1, align 8 %66 = call i64 @FUNC(i64 %65, i64 168, i64 ptrtoint ([15 x i8]* @gv_40 to i64)) %67 = trunc i64 %66 to i32 store i32 %67, i32* bitcast (i64* @gv_41 to i32*), align 8 %68 = load i64, i64* @gv_1, align 8 %69 = call i64 @FUNC(i64 %68, i64 172, i64 ptrtoint ([7 x i8]* @gv_42 to i64)) %70 = trunc i64 %69 to i32 store i32 %70, i32* bitcast (i64* @gv_43 to i32*), align 8 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %71 = mul i64 %indvars.iv.reload, 8 %72 = add i64 %71, ptrtoint ([32 x i8*]* @gv_44 to i64) %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = mul i64 %indvars.iv.reload, 4 %76 = add nuw nsw i64 %75, 176 %77 = load i64, i64* @gv_1, align 8 %78 = call i64 @FUNC(i64 %77, i64 %76, i64 %74) %79 = trunc i64 %78 to i32 %80 = add i64 %75, ptrtoint (i32** @gv_45 to i64) %81 = inttoptr i64 %80 to i32* store i32 %79, i32* %81, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: ret i64 31 uselistorder i64 %75, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %indvars.iv4.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* @gv_3, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64, i64, i64)* @tcg_global_mem_new_i32, { 21, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 20 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
ath5k_deinit_softc_17431
ath5k_deinit_softc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = add i64 %0, 24 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = zext i32 %6 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 %0) %14 = load i64, i64* %8, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19, i64 %0) ret i64 %20 uselistorder i64 %0, { 4, 3, 2, 1, 0, 5, 6, 7, 8 } }
1
BinRealVul
net_checksum_calculate_13825
net_checksum_calculate
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 34 br i1 %1, label LBL_7, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 14 %4 = inttoptr i64 %3 to i8* %5 = load i8, i8* %4, align 1 %6 = and i8 %5, -16 %7 = zext i8 %6 to i64 %8 = icmp eq i8 %6, 64 %9 = icmp eq i1 %8, false store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = add i64 %2, 17 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = add i64 %2, 23 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, 6 store i32 16, i32* %storemerge.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = zext i8 %18 to i64 %21 = icmp eq i8 %18, 17 store i32 6, i32* %storemerge.reg2mem store i64 %20, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_7 LBL_4: %22 = mul i8 %5, 4 %23 = and i8 %22, 60 %24 = zext i8 %23 to i32 %25 = zext i8 %12 to i32 %26 = mul i32 %25, 256 %27 = zext i8 %15 to i32 %28 = or i32 %26, %27 %29 = sub nsw i32 %28, %24 %storemerge.reload = load i32, i32* %storemerge.reg2mem %30 = or i32 %storemerge.reload, 1 %31 = zext i32 %30 to i64 %32 = sext i32 %29 to i64 %33 = icmp sgt i64 %32, %31 store i64 %31, i64* %rax.0.reg2mem br i1 %33, label LBL_5, label LBL_7 LBL_5: %sext = mul i64 %arg2, 4294967296 %34 = add nuw nsw i32 %28, 14 %35 = zext i32 %34 to i64 %36 = ashr exact i64 %sext, 32 %37 = icmp slt i64 %36, %35 store i64 %35, i64* %rax.0.reg2mem br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = zext i8 %18 to i32 %39 = add nuw nsw i32 %24, 14 %40 = add nuw nsw i32 %39, %storemerge.reload %41 = zext i32 %40 to i64 %42 = add i64 %41, %2 %43 = inttoptr i64 %42 to i8* store i8 0, i8* %43, align 1 %44 = or i32 %40, 1 %45 = zext i32 %44 to i64 %46 = add i64 %45, %2 %47 = inttoptr i64 %46 to i8* store i8 0, i8* %47, align 1 %narrow = add nuw nsw i8 %23, 14 %48 = zext i8 %narrow to i64 %49 = add i64 %48, %2 %50 = add i64 %2, 26 %51 = zext i32 %29 to i64 %52 = call i64 @FUNC(i64 %51, i32 %38, i64 %50, i64 %49) %53 = udiv i64 %52, 256 %54 = trunc i64 %53 to i8 store i8 %54, i8* %43, align 1 %55 = trunc i64 %52 to i8 store i8 %55, i8* %47, align 1 store i64 %46, 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 %52, { 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i8 %18, { 2, 0, 3, 1 } uselistorder i64 %2, { 3, 0, 1, 2, 4, 6, 5, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5 } uselistorder i32 14, { 1, 0 } uselistorder label LBL_7, { 5, 0, 1, 4, 2, 3 } }
0
BinRealVul
wdt_ib700_init_15439
wdt_ib700_init
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64* nonnull @gv_0) %1 = load i64, i64* @gv_1, align 8 %2 = call i64 @FUNC(i64 %1, i64 4198673, i64 0) store i64 %2, i64* @gv_2, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
search_state_new_9616
search_state_new
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 8) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = inttoptr i64 %0 to i64* %4 = call i64* @memset(i64* %3, i32 0, i32 8) %5 = inttoptr i64 %0 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
block_all_signals_10896
block_all_signals
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = ptrtoint i64* %arg3 to i64 %2 = load i64, i64* %0 %3 = load i64, i64* @gv_0, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 %2) %7 = load i64, i64* @gv_0, align 8 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* store i64 %1, i64* %9, align 8 %10 = load i64, i64* @gv_0, align 8 %11 = add i64 %10, 16 %12 = inttoptr i64 %11 to i64* store i64 %arg2, i64* %12, align 8 %13 = load i64, i64* @gv_0, align 8 %14 = add i64 %13, 24 %15 = inttoptr i64 %14 to i64* store i64 %arg1, i64* %15, align 8 %16 = load i64, i64* @gv_0, align 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 %2) ret i64 %19 uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
read_header_from_file_12844
read_header_from_file
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = icmp eq i64* %arg1, null br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %4, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_3: %12 = add i64 %8, %4 %13 = add i64 %4, 24 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i64 %12) store i64 %16, i64* %14, align 8 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_5: %20 = add i64 %4, 32 %21 = inttoptr i64 %20 to i64* store i64 %16, i64* %21, align 8 %22 = load i64, i64* %7, align 8 %23 = add i64 %4, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = sub i64 %25, %15 %27 = icmp ult i64 %22, %26 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %22, i64 %25, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_7: %30 = load i64, i64* %14, align 8 %31 = add i64 %30, %15 %32 = icmp ugt i64 %25, %15 %33 = icmp eq i1 %32, false %spec.select = select i1 %33, i64 0, i64 %26 %spec.select1 = select i1 %33, i64 %25, i64 %15 %34 = inttoptr i64 %22 to i8* %35 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0), i8* %34, i64 %spec.select1, i64 %2, i64 %1) %36 = load i64, i64* %7, align 8 %37 = icmp ugt i64 %36, %spec.select %38 = icmp eq i1 %37, false br i1 %38, label LBL_11, label LBL_8 LBL_8: %39 = sub i64 %36, %spec.select %40 = add i64 %spec.select, %31 %41 = call i64 @FUNC(i64 %4, i64 %40, i64 %39) %42 = load i64, i64* %7, align 8 %43 = sub i64 %42, %spec.select %44 = icmp ult i64 %41, %43 %45 = icmp eq i1 %44, false br i1 %45, label LBL_10, label LBL_9 LBL_9: %46 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i64 %43, i64 %40, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_10: %47 = add i64 %42, %4 store i64 %47, i64* %24, align 8 br label LBL_11 LBL_11: %48 = add i64 %4, 52 %49 = add i64 %4, 48 %50 = call i64 @FUNC(i64 %4, i64 %49, i64 %48) %51 = trunc i64 %50 to i8 %52 = icmp eq i8 %51, 1 store i64 0, i64* %rax.0.reg2mem br i1 %52, label LBL_12, label LBL_18 LBL_12: %53 = call i64 @FUNC(i64 %4, i64 %49, i64* nonnull @gv_6, i64 5) %54 = trunc i64 %53 to i8 %55 = icmp eq i8 %54, 1 store i64 0, i64* %rax.0.reg2mem br i1 %55, label LBL_13, label LBL_18 LBL_13: %56 = add i64 %4, 40 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = add i64 %58, -5 %60 = load i64, i64* %14, align 8 %61 = add i64 %60, 5 %62 = inttoptr i64 %61 to i64* %63 = call i64 @FUNC(i64 %4, i64 %49, i64* %62, i64 %59) %64 = trunc i64 %63 to i8 %65 = icmp eq i8 %64, 1 store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_14, label LBL_18 LBL_14: %66 = load i64, i64* %7, align 8 %67 = inttoptr i64 %31 to i64* %68 = call i64 @FUNC(i64 %4, i64 %49, i64* %67, i64 %66) %69 = trunc i64 %68 to i8 %70 = icmp eq i8 %69, 1 store i64 0, i64* %rax.0.reg2mem br i1 %70, label LBL_15, label LBL_18 LBL_15: %71 = call i64 @FUNC(i64 %4) %72 = trunc i64 %71 to i32 %73 = icmp eq i32 %72, 0 %74 = icmp slt i32 %72, 0 %75 = icmp eq i1 %74, false %76 = icmp eq i1 %73, false %77 = icmp eq i1 %75, %76 store i64 1, i64* %rax.0.reg2mem br i1 %77, label LBL_18, label LBL_16 LBL_16: %78 = icmp eq i32 %72, -1 %79 = icmp eq i1 %78, false store i64 0, i64* %rax.0.reg2mem br i1 %79, label LBL_18, label LBL_17 LBL_17: %80 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_7, i64 0, i64 0), i64 %31, i64 %66, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %72, { 0, 2, 1 } uselistorder i64 %36, { 1, 0 } uselistorder i64 %spec.select, { 2, 0, 1, 3 } uselistorder i64 %31, { 1, 2, 0 } uselistorder i64 %25, { 1, 0, 2, 3 } uselistorder i64 %16, { 1, 0, 2 } uselistorder i64 %15, { 1, 2, 0, 3, 4 } uselistorder i64* %7, { 1, 0, 2, 3, 4 } uselistorder i64 %4, { 5, 6, 7, 9, 8, 10, 13, 12, 11, 0, 3, 4, 2, 14, 15, 17, 1, 16, 18 } uselistorder i64 %2, { 2, 1, 4, 0, 3 } uselistorder i64 %1, { 2, 1, 4, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6, 7, 10, 9, 8, 11 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64, i64*, i64)* @hash_update, { 2, 1, 0 } uselistorder i64 5, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @set_fatal_error, { 2, 1, 0 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @zck_log, { 1, 0 } uselistorder i64 1, { 0, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder label LBL_18, { 2, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10 } }
1
BinRealVul
s_mp_mul_high_digs_6064
s_mp_mul_high_digs
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32* %rsi.0.lcssa.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i64 %sv_0.0.in7.reg2mem = alloca i64 %sv_2.0.in8.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i32 %sv_0.010.reg2mem = alloca i32* %rsi.113.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_3 = alloca i64, align 8 %0 = icmp slt i32 %arg4, 0 %1 = icmp eq i1 %0, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %arg3 to i64 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, %7 %12 = icmp sgt i32 %11, 98 br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = sub i32 %10, %7 %14 = xor i32 %10, %7 %15 = xor i32 %13, %10 %16 = and i32 %15, %14 %17 = icmp slt i32 %16, 0 %18 = icmp eq i32 %13, 0 %19 = icmp slt i32 %13, 0 %20 = icmp ne i1 %19, %17 %21 = or i1 %18, %20 %22 = select i1 %21, i32 %10, i32 %7 %23 = icmp sgt i32 %22, 29 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i32 %arg4) store i64 %24, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %25 = add i32 %11, 1 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64* nonnull %sv_3, i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = and i64 %27, 4294967295 store i64 %30, i64* %rax.0.reg2mem br label LBL_14 LBL_6: %31 = load i32, i32* %6, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label LBL_7, label LBL_13 LBL_7: %33 = ptrtoint i64* %sv_3 to i64 %34 = load i32, i32* %9, align 4 %35 = sext i32 %arg4 to i64 %36 = mul i64 %35, 4 %wide.trip.count = zext i32 %31 to i64 store i64 0, i64* %indvars.iv.reg2mem store i64 %26, i64* %rsi.113.reg2mem br label LBL_8 LBL_8: %rsi.113.reload = load i64, i64* %rsi.113.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %37 = mul i64 %indvars.iv.reload, 4 %38 = add i64 %37, %33 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = load i64, i64* %sv_3, align 8 %42 = add i64 %41, %36 %43 = trunc i64 %indvars.iv.reload to i32 %44 = sub i32 %arg4, %43 %sv_0.05 = inttoptr i64 %42 to i32* %45 = icmp slt i32 %44, %34 store i32 0, i32* %sv_1.0.lcssa.reg2mem store i64 %rsi.113.reload, i64* %rsi.0.lcssa.reg2mem store i32* %sv_0.05, i32** %sv_0.0.lcssa.reg2mem br i1 %45, label LBL_9, label LBL_12 LBL_9: %46 = zext i32 %40 to i64 %47 = sext i32 %44 to i64 %48 = mul i64 %47, 4 %49 = add i64 %48, %rsi.113.reload store i32* %sv_0.05, i32** %sv_0.010.reg2mem store i32 %44, i32* %storemerge49.reg2mem store i64 %49, i64* %sv_2.0.in8.reg2mem store i64 %42, i64* %sv_0.0.in7.reg2mem store i64 0, i64* %sv_1.06.reg2mem br label LBL_10 LBL_10: %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem %sv_0.0.in7.reload = load i64, i64* %sv_0.0.in7.reg2mem %sv_2.0.in8.reload = load i64, i64* %sv_2.0.in8.reg2mem %storemerge49.reload = load i32, i32* %storemerge49.reg2mem %sv_0.010.reload = load i32*, i32** %sv_0.010.reg2mem %sv_2.0 = inttoptr i64 %sv_2.0.in8.reload to i32* %50 = load i32, i32* %sv_0.010.reload, align 4 %51 = zext i32 %50 to i64 %52 = add i64 %sv_2.0.in8.reload, 4 %53 = load i32, i32* %sv_2.0, align 4 %54 = zext i32 %53 to i64 %55 = mul nuw i64 %54, %46 %56 = add nuw nsw i64 %sv_1.06.reload, %51 %57 = add i64 %56, %55 %58 = add i64 %sv_0.0.in7.reload, 4 %59 = trunc i64 %57 to i32 store i32 %59, i32* %sv_0.010.reload, align 4 %60 = udiv i64 %57, 4294967296 %61 = add i32 %storemerge49.reload, 1 %sv_0.0 = inttoptr i64 %58 to i32* %exitcond = icmp eq i32 %61, %34 store i32* %sv_0.0, i32** %sv_0.010.reg2mem store i32 %61, i32* %storemerge49.reg2mem store i64 %52, i64* %sv_2.0.in8.reg2mem store i64 %58, i64* %sv_0.0.in7.reg2mem store i64 %60, i64* %sv_1.06.reg2mem br i1 %exitcond, label LBL_11, label LBL_10 LBL_11: %62 = trunc i64 %60 to i32 store i32 %62, i32* %sv_1.0.lcssa.reg2mem store i64 %51, i64* %rsi.0.lcssa.reg2mem store i32* %sv_0.0, i32** %sv_0.0.lcssa.reg2mem br label LBL_12 LBL_12: %sv_0.0.lcssa.reload = load i32*, i32** %sv_0.0.lcssa.reg2mem %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem store i32 %sv_1.0.lcssa.reload, i32* %sv_0.0.lcssa.reload, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond18 = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %rsi.0.lcssa.reload, i64* %rsi.113.reg2mem br i1 %exitcond18, label LBL_13, label LBL_8 LBL_13: %63 = call i64 @FUNC(i64* nonnull %sv_3) %64 = call i64 @FUNC(i64* nonnull %sv_3, i64 %2) %65 = call i64 @FUNC(i64* nonnull %sv_3) 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 i64 %60, { 1, 0 } uselistorder i32* %sv_0.010.reload, { 1, 0 } uselistorder i32* %sv_0.05, { 1, 0 } uselistorder i32 %44, { 0, 2, 1 } uselistorder i64 %rsi.113.reload, { 1, 0 } uselistorder i32 %13, { 1, 2, 0 } uselistorder i32 %10, { 4, 0, 1, 3, 2 } uselistorder i32 %7, { 3, 0, 2, 1 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_3, { 0, 1, 2, 4, 5, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.113.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_0.010.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.in8.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in7.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rsi.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32** %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder label LBL_14, { 1, 2, 3, 0 } }
0
BinRealVul
icp_class_init_776
icp_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198669, i64* %4, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
e1000e_pci_foreach_callback_2086
e1000e_pci_foreach_callback
define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i32* %arg1 to i64 %2 = call i64 @FUNC(i64 %0) store i64 %1, i64* %arg3, align 8 ret i64 %0 }
0
BinRealVul
command_loop_15554
command_loop
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.be.reg2mem = alloca i32 %sv_1.4.be.reg2mem = alloca i32 %sv_1.3.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i32 %sv_1.210.reg2mem = alloca i32 %storemerge411.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 %0 = bitcast i32* %sv_2 to i64* store i32 0, i32* %storemerge411.reg2mem store i32 0, i32* %sv_1.210.reg2mem br label LBL_13 LBL_1: %1 = load i64, i64* @gv_0, align 8 %2 = mul i64 %60, 8 %3 = add i64 %1, %2 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i8* %7 = call i8* @strdup(i8* %6) %8 = icmp eq i8* %7, null %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @globalFUNCvarFUNC402018, i64 0, i64 0)) %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %15 = inttoptr i64 %13 to i8* %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* %15) call void @exit(i32 1) unreachable LBL_3: %17 = ptrtoint i8* %7 to i64 %18 = call i64 @FUNC(i64 %17, i64* nonnull %0) %19 = load i32, i32* %sv_2, align 4 %20 = icmp eq i32 %19, 0 store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %20, label LBL_12, label LBL_4 LBL_4: %21 = inttoptr i64 %18 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_11, label LBL_5 LBL_5: %25 = inttoptr i64 %23 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %26, 2 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_6, label LBL_8 LBL_6: %29 = icmp eq i32 %sv_1.210.reload, 0 %30 = icmp eq i1 %29, false store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %30, label LBL_12, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %.reg2mem store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br i1 %34, label LBL_9, label LBL_12 LBL_8: %35 = load i32, i32* %sv_2, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %23, i64 %36, i64 %18) %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_1.1.reg2mem br label LBL_12 LBL_9: %39 = load i32, i32* %sv_2, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %23, i64 %40, i64 %18) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i32 %42, i32* %sv_1.1.reg2mem br i1 %44, label LBL_12, label LBL_10 LBL_10: %.reload = load i64, i64* %.reg2mem %45 = and i64 %.reload, 4294967295 %46 = call i64 @FUNC(i64 %45) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false store i64 %46, i64* %.reg2mem store i32 %42, i32* %sv_1.1.reg2mem br i1 %49, label LBL_9, label LBL_12 LBL_11: %50 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402038, i64 0, i64 0)) %51 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %52 = inttoptr i64 %50 to i8* %53 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %51, i8* %52) store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem br label LBL_12 LBL_12: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %54 = call i64 @FUNC(i64 %17, i64 %18) %55 = add i32 %storemerge411.reload, 1 %56 = icmp eq i32 %sv_1.1.reload, 0 %57 = icmp eq i1 %56, false store i32 %55, i32* %storemerge411.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.210.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.lcssa.reg2mem br i1 %57, label LBL_14, label LBL_13 LBL_13: %sv_1.210.reload = load i32, i32* %sv_1.210.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %58 = load i32, i32* @gv_2, align 4 %59 = zext i32 %58 to i64 %60 = sext i32 %storemerge411.reload to i64 %61 = icmp slt i64 %60, %59 store i32 %sv_1.210.reload, i32* %sv_1.2.lcssa.reg2mem br i1 %61, label LBL_1, label LBL_14 LBL_14: %62 = load i64, i64* @gv_0, align 8 %63 = icmp eq i64 %62, 0 br i1 %63, label LBL_15, label LBL_17 LBL_15: %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem %64 = icmp eq i32 %sv_1.2.lcssa.reload, 0 br i1 %64, label LBL_16, label LBL_28 LBL_16: %65 = bitcast i32* %sv_3 to i64* store i32 0, i32* %sv_0.16.reg2mem br label LBL_18 LBL_17: %66 = inttoptr i64 %62 to i64* call void @free(i64* %66) store i64 ptrtoint (i32* @0 to i64), i64* %storemerge.reg2mem br label LBL_29 LBL_18: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %67 = icmp eq i32 %sv_0.16.reload, 0 %68 = icmp eq i1 %67, false store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %68, label LBL_20, label LBL_19 LBL_19: %69 = call i64 @FUNC() %70 = inttoptr i64 %69 to i8* %71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* %70) %72 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %73 = call i32 @fflush(%_IO_FILE* %72) %74 = call i64 @FUNC(i64 0, i64 4199063, i64 0, i64 0, i64 0, i64* nonnull %65) store i32 1, i32* %sv_0.0.reg2mem br label LBL_20 LBL_20: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %75 = call i64 @FUNC() %76 = load i32, i32* %sv_3, align 4 %77 = icmp eq i32 %76, 0 %78 = icmp eq i1 %77, false store i32 0, i32* %sv_1.4.be.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.be.reg2mem br i1 %78, label LBL_21, label LBL_27 LBL_21: %79 = call i64 @FUNC() %80 = icmp eq i64 %79, 0 br i1 %80, label LBL_28, label LBL_22 LBL_22: %81 = call i64 @FUNC(i64 %79, i64* nonnull %0) %82 = load i32, i32* %sv_2, align 4 %83 = icmp eq i32 %82, 0 store i32 0, i32* %sv_1.3.reg2mem br i1 %83, label LBL_26, label LBL_23 LBL_23: %84 = inttoptr i64 %81 to i64* %85 = load i64, i64* %84, align 8 %86 = call i64 @FUNC(i64 %85) %87 = icmp eq i64 %86, 0 br i1 %87, label LBL_25, label LBL_24 LBL_24: %88 = load i32, i32* %sv_2, align 4 %89 = zext i32 %88 to i64 %90 = call i64 @FUNC(i64 %86, i64 %89, i64 %81) %91 = trunc i64 %90 to i32 store i32 %91, i32* %sv_1.3.reg2mem br label LBL_26 LBL_25: %92 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @globalFUNCvarFUNC402038, i64 0, i64 0)) %93 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %94 = inttoptr i64 %92 to i8* %95 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %93, i8* %94) store i32 0, i32* %sv_1.3.reg2mem br label LBL_26 LBL_26: %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %96 = call i64 @FUNC(i64 %79, i64 %81) store i32 0, i32* %sv_3, align 4 store i32 %sv_1.3.reload, i32* %sv_1.4.be.reg2mem store i32 0, i32* %sv_0.1.be.reg2mem br label LBL_27 LBL_27: %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem %sv_1.4.be.reload = load i32, i32* %sv_1.4.be.reg2mem %97 = icmp eq i32 %sv_1.4.be.reload, 0 store i32 %sv_0.1.be.reload, i32* %sv_0.16.reg2mem br i1 %97, label LBL_18, label LBL_28 LBL_28: %98 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 0, i64* null) store i64 %98, i64* %storemerge.reg2mem br label LBL_29 LBL_29: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %81, { 1, 0, 2 } uselistorder i64 %60, { 1, 0 } uselistorder i32 %storemerge411.reload, { 1, 0 } uselistorder i32 %sv_1.210.reload, { 0, 2, 1, 4, 5, 3 } uselistorder i32 %42, { 1, 0, 2 } uselistorder i64 %18, { 2, 1, 0, 3 } uselistorder i8* %7, { 1, 0 } uselistorder i32* %sv_3, { 2, 1, 3, 0 } uselistorder i32* %sv_2, { 4, 3, 2, 1, 0, 5 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 6, 2, 1, 5, 3, 4, 7 } uselistorder i32* %sv_1.2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.3.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_1.4.be.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.be.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64, i64, i64*)* @qemu_aio_set_fd_handler, { 1, 0 } uselistorder void (i64*)* @free, { 2, 1, 0 } uselistorder i64 (i64, i64)* @doneline, { 1, 0 } uselistorder i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), { 1, 0 } uselistorder i64 (i64, i64, i64)* @command, { 2, 1, 0 } uselistorder i64 (i64)* @args_command, { 1, 0 } uselistorder i64 (i64)* @find_command, { 1, 0 } uselistorder i64 (i64, i64*)* @breakline, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder i64 (i8*)* @_, { 2, 1, 0 } uselistorder i1 false, { 2, 3, 7, 4, 5, 0, 1, 6 } uselistorder i8* (i8*)* @strdup, { 1, 0 } uselistorder i32 1, { 6, 17, 14, 15, 16, 13, 12, 11, 10, 9, 8, 7, 5, 4, 3, 2, 1, 18, 19, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 4, 1, 2, 5, 0, 3, 6 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
smb3_encryption_required_9535
smb3_encryption_required
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %2, 2 %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_2 LBL_2: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = and i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_6 LBL_3: %11 = add i64 %2, 12 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = inttoptr i64 %6 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = and i32 %18, 4 %20 = icmp eq i32 %19, 0 store i64 1, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_6 LBL_5: store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 2, 4 } uselistorder i64 1, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 4, 0, 2, 1, 3 } }
0
BinRealVul
do_rt_sigreturn_14226
do_rt_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = load i64, i64* %0 %3 = add i64 %1, 120 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %1, i64 %5) %7 = call i64 @FUNC(i64 0, i64 %2, i64 %5, i64 1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_4, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2) %11 = call i64 @FUNC(i64* nonnull %sv_0) %12 = add i64 %2, 128 %13 = call i64 @FUNC(i64 %1, i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %1) %18 = add i64 %5, 136 %19 = call i64 @FUNC(i64 %18, i64 0, i64 %17) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -14 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %2, i64 %5, i64 0) store i64 1, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %23 = call i64 @FUNC(i64 %2, i64 %5, i64 0) %24 = call i64 @FUNC(i64 11) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 2, 0, 1, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 1, { 0, 2, 1 } }
1
BinRealVul
load_segment_descriptor_11739
load_segment_descriptor
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i16 %2 = trunc i64 %0 to i8 %3 = zext i32 %arg3 to i64 %4 = call i64 @FUNC(i64 %0, i16 %1, i64 %3, i8 %2, i64 0) ret i64 %4 }
1
BinRealVul
xen_pci_passthrough_class_init_16927
xen_pci_passthrough_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198694, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198701, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198708, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198715, i64* %6, align 8 %7 = inttoptr i64 %1 to i32* %8 = load i32, i32* %7, align 4 %9 = or i32 %8, 1 store i32 %9, i32* %7, align 4 store i64 ptrtoint ([35 x i8]* @gv_0 to i64), i64* %arg1, align 8 %10 = load i64, i64* @gv_1, align 8 store i64 %10, i64* %4, align 8 ret i64 %0 }
1
BinRealVul
seq_buf_alloc_5826
seq_buf_alloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp ult i64 %arg1, 1025 %1 = icmp ne i1 %0, true %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = call i64 @FUNC(i64 %arg1, i64 0) store i64 %6, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
clear_6218
clear
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 64 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = udiv i64 %2, 8 %4 = urem i64 %3, 536870912 %5 = add i64 %4, ptrtoint (i8** @gv_3 to i64) %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = trunc i64 %2 to i32 %9 = urem i32 %8, 8 %10 = icmp eq i32 %9, 0 %11 = shl i32 1, %9 %phitmp = xor i32 %11, 255 %storemerge = select i1 %10, i32 254, i32 %phitmp %12 = trunc i32 %storemerge to i8 %13 = and i8 %7, %12 store i8 %13, i8* %6, align 1 ret i64 %4 uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } }
0
BinRealVul
khugepaged_12664
khugepaged
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = load i64, i64* @gv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 19) %3 = call i64 @FUNC(i64* nonnull @gv_1) br label LBL_1 LBL_1: %4 = call i64 @FUNC(i64* nonnull @gv_1) %5 = load i64, i64* @gv_2, align 8 %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %5, %6 %8 = icmp eq i1 %7, false %9 = zext i1 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC() %12 = load i64, i64* @gv_2, align 8 %13 = load i64, i64* @gv_0, align 8 %14 = icmp eq i64 %12, %13 %15 = icmp eq i1 %14, false %16 = zext i1 %15 to i64 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64* nonnull @gv_1) %19 = call i64 @FUNC() %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = call i64 @FUNC() %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false %26 = icmp eq i1 %25, false %27 = icmp eq i1 %26, false br i1 %27, label LBL_3, label LBL_1 LBL_3: %28 = call i64 @FUNC(i64* nonnull @gv_3) %29 = load i64, i64* @gv_4, align 8 store i64 0, i64* @gv_4, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_5, label LBL_4 LBL_4: %31 = call i64 @FUNC(i64 %29) br label LBL_5 LBL_5: %32 = call i64 @FUNC(i64* nonnull @gv_3) store i64 0, i64* @gv_2, align 8 %33 = call i64 @FUNC(i64* nonnull @gv_1) ret i64 0 uselistorder i64 (i64)* @BUG_ON, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4 } uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 } uselistorder i64 (i64*)* @mutex_lock, { 1, 0 } }
1
BinRealVul
lm32_cpu_initfn_16103
lm32_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64 4198725) %5 = inttoptr i64 %2 to i32* store i32 0, i32* %5, align 4 %6 = call i64 @FUNC() %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_1 LBL_1: %9 = load i8, i8* inttoptr (i64 4210740 to i8*), align 4 %10 = icmp eq i8 %9, 1 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8 %11 = call i64 @FUNC() store i64 %11, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 1, { 1, 0 } }
1
BinRealVul
get_bits_3166
get_bits
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = add i32 %2, -1 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.lcssa.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = trunc i64 %1 to i32 %7 = ptrtoint i64* %arg1 to i64 %8 = icmp eq i32 %6, 0 %9 = icmp eq i1 %8, false %10 = add i64 %7, 8 %11 = bitcast i64* %arg1 to i32* %12 = add i32 %6, -1 %13 = urem i32 %6, 32 %14 = icmp eq i32 %13, 0 store i32 %3, i32* %.in.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.in.reload = load i32, i32* %.in.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64 %10) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 255 %18 = select i1 %17, i32 7, i32 8 store i32 %18, i32* %11, align 4 br label LBL_4 LBL_4: %19 = mul i32 %storemerge3.reload, 2 store i32 %12, i32* %11, align 4 %20 = call i64 @FUNC(i64 %10) %21 = trunc i64 %20 to i32 %22 = lshr i32 %21, %13 %23 = zext i32 %22 to i64 %rdx.0 = select i1 %14, i64 %20, i64 %23 %24 = trunc i64 %rdx.0 to i32 %25 = urem i32 %24, 2 %26 = or i32 %25, %19 %27 = add i32 %.in.reload, -1 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false store i32 %27, i32* %.in.reg2mem store i32 %26, i32* %storemerge3.reg2mem br i1 %29, label LBL_2, label LBL_5 LBL_5: %phitmp = zext i32 %26 to i64 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i32 %26, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %6, { 0, 2, 1 } uselistorder i32* %.in.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i1 false, { 2, 1, 0 } uselistorder i32 0, { 4, 0, 2, 3, 1 } uselistorder i32 -1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
test_media_insert_14430
test_media_insert
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load [15 x i8]*, [15 x i8]** @gv_0, align 8 %6 = ptrtoint [15 x i8]* %5 to i64 %7 = call i64 @FUNC(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1) %8 = call i64 @FUNC(i8* bitcast (i8** @gv_2 to i8*), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1) %9 = call i64 @FUNC(i8* bitcast (i8** @gv_2 to i8*), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1) %10 = call i64 @FUNC(i64 1010) %11 = urem i64 %10, 256 %12 = call i64 @FUNC(i64 %11, i64 128) %13 = call i64 @FUNC(i64 1010) %14 = urem i64 %13, 256 %15 = call i64 @FUNC(i64 %14, i64 128) %16 = call i64 @FUNC(i64 0) %17 = call i64 @FUNC(i64 1010) %18 = urem i64 %17, 256 %19 = call i64 @FUNC(i64 %18, i64 128) %20 = call i64 @FUNC(i64 1010) %21 = urem i64 %20, 256 %22 = call i64 @FUNC(i64 %21, i64 128) %23 = call i64 @FUNC(i64 1) %24 = call i64 @FUNC(i64 1010) %25 = urem i64 %24, 256 %26 = call i64 @FUNC(i64 %25, i64 128) %27 = call i64 @FUNC(i64 1010) %28 = urem i64 %27, 256 %29 = call i64 @FUNC(i64 %28, i64 128) ret i64 %29 uselistorder i64 %4, { 1, 2, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @assert_bit_clear, { 1, 0 } uselistorder i64 (i64)* @send_seek, { 1, 0 } uselistorder i64 (i64, i64)* @assert_bit_set, { 3, 2, 1, 0 } uselistorder i64 (i64)* @inb, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qmp_discard_response, { 2, 1, 0 } uselistorder i32 1, { 3, 2, 4, 5, 1, 0 } }
1
BinRealVul
kex_input_kexinit_11367
kex_input_kexinit
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq i64* %arg3, null %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_21 LBL_1: %5 = ptrtoint i64* %arg3 to i64 %6 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1) %7 = load i64, i64* %sv_1, align 8 %8 = add i64 %5, 48 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 %6, i64 %7) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i32 0, i32* %storemerge14.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = and i64 %11, 4294967295 store i64 %14, i64* %rax.0.reg2mem br label LBL_21 LBL_3: %15 = call i64 @FUNC(i64 %5, i64 0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = and i64 %15, 4294967295 store i64 %18, i64* %rax.0.reg2mem br label LBL_21 LBL_5: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %19 = add nuw nsw i32 %storemerge14.reload, 1 %20 = icmp ult i32 %19, 32 store i32 %19, i32* %storemerge14.reg2mem store i32 0, i32* %storemerge3.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_6: %21 = call i64 @FUNC(i64 %5, i64 0, i64 0) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = and i64 %21, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_21 LBL_8: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %25 = add nuw nsw i32 %storemerge3.reload, 1 %26 = icmp ult i32 %25, 10 store i32 %25, i32* %storemerge3.reg2mem br i1 %26, label LBL_6, label LBL_9 LBL_9: %27 = call i64 @FUNC(i64 %5, i64 0) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 %27, i64* %sv_0.0.reg2mem br i1 %30, label LBL_12, label LBL_10 LBL_10: %31 = call i64 @FUNC(i64 %5, i64 0) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %sv_0.0.reg2mem br i1 %34, label LBL_12, label LBL_11 LBL_11: %35 = call i64 @FUNC(i64 %5) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 store i64 %35, i64* %sv_0.0.reg2mem br i1 %37, label LBL_13, label LBL_12 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = and i64 %sv_0.0.reload, 4294967295 store i64 %38, i64* %rax.0.reg2mem br label LBL_21 LBL_13: %39 = urem i64 %1, 2 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_16, label LBL_14 LBL_14: %42 = call i64 @FUNC(i64 %5) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label LBL_16, label LBL_15 LBL_15: %45 = and i64 %42, 4294967295 store i64 %45, i64* %rax.0.reg2mem br label LBL_21 LBL_16: %46 = call i64 @FUNC(i64 %5) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_18, label LBL_17 LBL_17: %49 = and i64 %46, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_21 LBL_18: %50 = add i64 %5, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp sgt i32 %52, 4 br i1 %53, label LBL_20, label LBL_19 LBL_19: %54 = sext i32 %52 to i64 %55 = mul i64 %54, 8 %56 = add i64 %5, 8 %57 = add i64 %56, %55 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %60, label LBL_20, label LBL_21 LBL_20: store i64 4294967294, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 0, 3, 2, 4, 1, 5, 6, 8, 7, 9, 10, 11 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 7, 8, 9, 3, 2 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64)* @sshpkt_get_u8, { 1, 0 } uselistorder i32 0, { 2, 3, 5, 6, 7, 4, 0, 8, 1, 9 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_21, { 2, 0, 3, 4, 6, 5, 7, 8, 1 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
get_option_9209
get_option
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge14.in.reg2mem = alloca i8* %0 = inttoptr i64 %arg2 to i8* %1 = call i32 @strlen(i8* %0) %2 = sext i32 %1 to i64 %3 = inttoptr i64 %arg1 to i8* %4 = call i8* @strstr(i8* %3, i8* %0) %5 = icmp eq i8* %4, null %6 = icmp eq i1 %5, false store i8* %4, i8** %storemerge14.in.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %storemerge14.in.reload = load i8*, i8** %storemerge14.in.reg2mem %storemerge14 = ptrtoint i8* %storemerge14.in.reload to i64 %7 = icmp eq i64 %storemerge14, %arg1 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %storemerge14, -1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 44 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = add i64 %storemerge14, %2 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 61 %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = add i64 %13, 1 store i64 %18, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %19 = add i64 %storemerge14, 1 %20 = inttoptr i64 %19 to i8* %21 = call i8* @strstr(i8* %20, i8* %0) %22 = icmp eq i8* %21, null %23 = icmp eq i1 %22, false store i8* %21, i8** %storemerge14.in.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %23, label LBL_1, label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge14, { 1, 0, 2, 3 } uselistorder i8** %storemerge14.in.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
WriteNamedColorCRD_5654
WriteNamedColorCRD
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %r9.0.lcssa.reg2mem = alloca i64 %r8.0.lcssa.reg2mem = alloca i64 %rdx.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i16, align 2 %sv_4 = alloca i32, align 4 store i32 %arg3, i32* %sv_4, align 4 %2 = call i64 @FUNC(i64 2, i64 0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = load i32, i32* %sv_4, align 4 %6 = zext i32 %5 to i64 %7 = and i64 %arg2, 4294967295 %8 = call i64 @FUNC(i64 1, i64 0, i64 %3, i64 %7, i64 %6) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_10 LBL_1: %11 = call i64 @FUNC(i64 %8) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_10 LBL_2: %14 = ptrtoint i32* %arg1 to i64 %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %7, i64 %6, i64 %1) %16 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64 %7, i64 %6, i64 %1) %17 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64 %7, i64 %6, i64 %1) %18 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64 %7, i64 %6, i64 %1) %19 = call i64 @FUNC(i64 %11) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %7, i64* %rcx.1.lcssa.reg2mem store i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64* %rdx.1.lcssa.reg2mem store i64 %6, i64* %r8.0.lcssa.reg2mem br i1 %21, label LBL_7, label LBL_3 LBL_3: %22 = ptrtoint i32* %sv_4 to i64 %23 = ptrtoint i64* %sv_2 to i64 %24 = add i64 %22, -16 %25 = inttoptr i64 %24 to i64* %26 = and i64 %4, 4294967295 %27 = ptrtoint i64* %sv_0 to i64 store i32 0, i32* %storemerge3.reg2mem br label LBL_4 LBL_4: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %28 = trunc i32 %storemerge3.reload to i16 store i16 %28, i16* %sv_3, align 2 store i64 0, i64* %25, align 8 %29 = sext i16 %28 to i64 %30 = call i64 @FUNC(i64 %11, i32 %storemerge3.reload, i64* nonnull %sv_2, i64 0, i64 0, i64 0, i64 %29) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 store i64 0, i64* %rcx.0.reg2mem br i1 %32, label LBL_6, label LBL_5 LBL_5: %33 = call i64 @FUNC(i64 %8, i16* nonnull %sv_3, i64* nonnull %sv_1, i64 1) %34 = call i64 @FUNC(i64* nonnull %sv_0, i64 %26, i64* nonnull %sv_1) %35 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_5, i64 0, i64 0), i64 %23, i64 %27, i64 0, i64 0) store i64 %27, i64* %rcx.0.reg2mem br label LBL_6 LBL_6: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %36 = add nuw i32 %storemerge3.reload, 1 %exitcond = icmp eq i32 %36, %20 store i32 %36, i32* %storemerge3.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa.reg2mem store i64 %23, i64* %rdx.1.lcssa.reg2mem store i64 0, i64* %r8.0.lcssa.reg2mem store i64 0, i64* %r9.0.lcssa.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: %r9.0.lcssa.reload = load i64, i64* %r9.0.lcssa.reg2mem %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %37 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %r9.0.lcssa.reload) %38 = load i32, i32* %sv_4, align 4 %39 = urem i32 %38, 2 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_9, label LBL_8 LBL_8: %42 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_7, i64 0, i64 0), i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %r9.0.lcssa.reload) br label LBL_9 LBL_9: %43 = call i64 @FUNC(i64 %8) store i64 1, 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 %storemerge3.reload, { 0, 2, 1 } uselistorder i64 %14, { 0, 1, 2, 4, 3, 5, 6 } uselistorder i64 %7, { 0, 1, 3, 2, 4, 5 } uselistorder i64 %6, { 0, 1, 3, 2, 4, 5 } uselistorder i32* %sv_4, { 3, 0, 2, 1 } uselistorder i64 %1, { 3, 1, 2, 0 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 ptrtoint ([14 x i8]* @gv_2 to i64), { 0, 3, 2, 1 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @_cmsIOPrintf, { 5, 4, 6, 3, 2, 1, 0 } uselistorder i64 1, { 0, 5, 6, 4, 1, 2, 3 } uselistorder i64 4294967295, { 1, 2, 3, 0 } uselistorder i64 2, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
av_new_packet_14737
av_new_packet
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, -32 store i64 4294967284, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg2, 4294967296 %sext2 = add i64 %sext, 137438953472 %2 = ashr exact i64 %sext2, 32 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = ashr exact i64 %sext, 32 %8 = add i64 %3, %7 %9 = inttoptr i64 %8 to i64* %10 = call i64* @memset(i64* %9, i32 0, i32 32) %11 = call i64 @FUNC(i64 %6) store i64 %3, i64* %arg1, align 8 %12 = add i64 %6, 8 %13 = inttoptr i64 %12 to i32* store i32 %0, i32* %13, align 4 %14 = add i64 %6, 16 %15 = inttoptr i64 %14 to i64* store i64 4198787, i64* %15, 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 %3, { 1, 0, 2 } uselistorder i64 %sext, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
vmx_set_constant_host_state_12628
vmx_set_constant_host_state
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = load i32, i32* %1 %4 = load i32, i32* %1 %sv_0 = alloca i64, align 8 %5 = call i64 @FUNC() %6 = and i64 %5, -9 %7 = call i64 @FUNC(i64 0, i64 %6) %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 1, i64 %8) %10 = call i64 @FUNC() %11 = call i64 @FUNC(i64 2, i64 %10) %12 = call i64 @FUNC(i64 3, i64 16) %13 = call i64 @FUNC(i64 4, i64 24) %14 = call i64 @FUNC(i64 5, i64 24) %15 = call i64 @FUNC(i64 6, i64 24) %16 = call i64 @FUNC(i64 7, i64 104) %17 = call i64 @FUNC(i64* nonnull %sv_0) %18 = load i64, i64* %sv_0, align 8 %19 = call i64 @FUNC(i64 8, i64 %18) %20 = load i64, i64* %sv_0, align 8 store i64 %20, i64* %arg1, align 8 %21 = call i64 @FUNC(i64 9, i64 4198847) %22 = zext i32 %4 to i64 %23 = zext i32 %3 to i64 %24 = call i64 @FUNC(i64 14, i64 %23, i64 %22) %25 = call i64 @FUNC(i64 10, i64 %23) %26 = call i64 @FUNC(i64 15, i64 %2) %27 = call i64 @FUNC(i64 11, i64 %2) %28 = load i32, i32* @gv_0, align 4 %29 = urem i32 %28, 2 %30 = icmp eq i32 %29, 0 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_2, label LBL_1 LBL_1: %31 = call i64 @FUNC(i64 16, i64 %23, i64 %22) %32 = mul i64 %22, 4294967296 %33 = or i64 %32, %23 %34 = call i64 @FUNC(i64 12, i64 %33) store i64 %34, 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* %sv_0, { 1, 2, 0 } uselistorder i32* %1, { 1, 0 } uselistorder i32 0, { 0, 2, 3, 1 } uselistorder i64 (i64, i64, i64)* @rdmsr, { 1, 0 } uselistorder i64 (i64, i64)* @vmcs_write16, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @vmcs_writel, { 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
host_x86_cpu_class_init_15123
host_x86_cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 store i32 0, i32* %sv_3, align 4 store i32 0, i32* %sv_2, align 4 store i32 0, i32* %sv_1, align 4 store i32 0, i32* %sv_0, align 4 %1 = bitcast i64* %arg1 to i8* store i8 1, i8* %1, align 1 %2 = call i64 @FUNC(i64 0, i64 0, i32* nonnull %sv_3, i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0) %3 = load i32, i32* %sv_1, align 4 %4 = load i32, i32* %sv_0, align 4 %5 = load i32, i32* %sv_2, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64* nonnull @gv_0, i64 %6, i32 %4, i32 %3) %8 = call i64 @FUNC(i64 1, i64 0, i32* nonnull %sv_3, i32* nonnull %sv_2, i32* nonnull %sv_1, i32* nonnull %sv_0) %9 = load i32, i32* %sv_3, align 4 %10 = udiv i32 %9, 256 %11 = urem i32 %10, 16 %12 = udiv i32 %9, 1048576 %13 = urem i32 %12, 256 %14 = add nuw nsw i32 %13, %11 store i32 %14, i32* bitcast (i64* @gv_1 to i32*), align 8 %15 = udiv i32 %9, 16 %16 = urem i32 %15, 16 %17 = udiv i32 %9, 4096 %18 = and i32 %17, 240 %19 = or i32 %18, %16 store i32 %19, i32* bitcast (i64* @gv_2 to i32*), align 8 %20 = urem i32 %9, 16 store i32 %20, i32* bitcast (i64* @gv_3 to i32*), align 8 %21 = call i64 @FUNC(i64* nonnull @gv_4) %22 = add i64 %0, 8 %23 = inttoptr i64 %22 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %23, align 8 store i8 1, i8* bitcast (i64* @gv_5 to i8*), align 8 %24 = load i64, i64* @gv_6, align 8 store i64 %24, i64* %arg1, align 8 ret i64 %0 uselistorder i32 %9, { 4, 0, 1, 2, 3 } uselistorder i32* %sv_3, { 2, 0, 1, 3 } uselistorder i32* %sv_2, { 0, 2, 1, 3 } uselistorder i32* %sv_1, { 0, 2, 1, 3 } uselistorder i32* %sv_0, { 0, 2, 1, 3 } uselistorder i32 16, { 1, 2, 0, 3 } uselistorder i32 256, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i64 (i64, i64, i32*, i32*, i32*, i32*)* @host_cpuid, { 1, 0 } }
1
BinRealVul
svc_parse_slice_12467
svc_parse_slice
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %5 = trunc i64 %4 to i32 %6 = bitcast i64* %arg3 to i32* store i32 %5, i32* %6, align 4 %7 = trunc i64 %1 to i32 %8 = icmp slt i32 %7, 10 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_21 LBL_1: %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %10 = trunc i64 %9 to i32 %11 = icmp ult i32 %10, 256 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_21 LBL_2: %12 = ptrtoint i64* %arg3 to i64 %13 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %9, 4294967296 %14 = ashr exact i64 %sext, 32 %15 = mul nsw i64 %14, 20 %16 = add i64 %15, %13 %17 = add i64 %12, 8 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = inttoptr i64 %16 to i32* store i32 %10, i32* %19, align 4 %20 = load i64, i64* %18, align 8 %21 = add i64 %20, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_21 LBL_3: %26 = add i64 %20, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = sext i32 %28 to i64 %30 = mul nsw i64 %29, 20 %31 = add i64 %13, 5120 %32 = add i64 %31, %30 %33 = add i64 %12, 16 %34 = inttoptr i64 %33 to i64* store i64 %32, i64* %34, align 8 %35 = inttoptr i64 %32 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %38, label LBL_4, label LBL_21 LBL_4: %39 = zext i32 %36 to i64 %40 = call i64 @FUNC(i64 %2, i64 %39, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0)) %41 = trunc i64 %40 to i32 %42 = add i64 %12, 24 %43 = inttoptr i64 %42 to i32* store i32 %41, i32* %43, align 4 %44 = add i64 %12, 28 %45 = inttoptr i64 %44 to i32* store i32 0, i32* %45, align 4 %46 = load i64, i64* %34, align 8 %47 = add i64 %46, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_7, label LBL_5 LBL_5: %52 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) %53 = trunc i64 %52 to i32 store i32 %53, i32* %45, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_7, label LBL_6 LBL_6: %55 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0)) %56 = trunc i64 %55 to i32 %57 = add i64 %12, 32 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 br label LBL_7 LBL_7: %59 = add i64 %12, 56 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = icmp eq i32 %61, 5 br i1 %62, label LBL_9, label LBL_8 LBL_8: %63 = add i64 %12, 60 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_10, label LBL_9 LBL_9: %67 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0)) %68 = trunc i64 %67 to i32 %69 = add i64 %12, 36 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 br label LBL_10 LBL_10: %71 = load i64, i64* %34, align 8 %72 = add i64 %71, 8 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false br i1 %76, label LBL_14, label LBL_11 LBL_11: %77 = add i64 %71, 12 %78 = inttoptr i64 %77 to i32* %79 = load i32, i32* %78, align 4 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i64 %2, i64 %80, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0)) %82 = trunc i64 %81 to i32 %83 = add i64 %12, 40 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 %85 = load i64, i64* %18, align 8 %86 = add i64 %85, 12 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label LBL_19, label LBL_12 LBL_12: %90 = load i32, i32* %45, align 4 %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_19, label LBL_13 LBL_13: %93 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0)) %94 = trunc i64 %93 to i32 %95 = add i64 %12, 64 %96 = inttoptr i64 %95 to i32* store i32 %94, i32* %96, align 4 br label LBL_19 LBL_14: %97 = icmp eq i32 %74, 1 %98 = icmp eq i1 %97, false br i1 %98, label LBL_19, label LBL_15 LBL_15: %99 = add i64 %71, 16 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = icmp eq i32 %101, 0 %103 = icmp eq i1 %102, false br i1 %103, label LBL_19, label LBL_16 LBL_16: %104 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_9, i64 0, i64 0)) %105 = trunc i64 %104 to i32 %106 = add i64 %12, 44 %107 = inttoptr i64 %106 to i32* store i32 %105, i32* %107, align 4 %108 = load i64, i64* %18, align 8 %109 = add i64 %108, 12 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = icmp eq i32 %111, 1 %113 = icmp eq i1 %112, false br i1 %113, label LBL_19, label LBL_17 LBL_17: %114 = load i32, i32* %45, align 4 %115 = icmp eq i32 %114, 0 %116 = icmp eq i1 %115, false br i1 %116, label LBL_19, label LBL_18 LBL_18: %117 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0)) %118 = trunc i64 %117 to i32 %119 = add i64 %12, 48 %120 = inttoptr i64 %119 to i32* store i32 %118, i32* %120, align 4 br label LBL_19 LBL_19: %121 = load i64, i64* %18, align 8 %122 = add i64 %121, 16 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = icmp eq i32 %124, 0 store i64 0, i64* %rax.0.reg2mem br i1 %125, label LBL_21, label LBL_20 LBL_20: %126 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0)) %127 = trunc i64 %126 to i32 %128 = add i64 %12, 52 %129 = inttoptr i64 %128 to i32* store i32 %127, i32* %129, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %45, { 2, 1, 0, 3 } uselistorder i64* %18, { 1, 2, 0, 3, 4 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %12, { 5, 3, 4, 1, 2, 6, 8, 7, 0, 9, 10, 11, 12 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %2, { 6, 4, 5, 2, 3, 7, 0, 1, 8, 9, 10, 11 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64 (i64, i8*)* @gf_bs_read_se_log, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*)* @gf_bs_read_int_log, { 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 (i64, i8*)* @gf_bs_read_ue_log, { 4, 3, 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_21, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
gnrc_sixlowpan_iphc_send_12946
gnrc_sixlowpan_iphc_send
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = load i64, i64* %3, align 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %sv_0, align 8 %11 = call i64 @FUNC(i64 %0, i64 %4, i64 %1) %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_5, label LBL_1 LBL_1: %13 = icmp eq i64 %arg2, 0 br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %11, i64 %5, i64* nonnull %sv_0, i64 %arg2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0)) %19 = sext i32 %18 to i64 store i64 %19, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %20 = call i64 @FUNC(i64 %11, i64 %5, i64 %1, i32 %arg3) store i64 %20, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %21 = call i64 @FUNC(i64 %0) store i64 %21, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 1, 0 } }
1
BinRealVul
brcmf_rx_event_7137
brcmf_rx_event
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = call i64 @FUNC(i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %1) %6 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %0) %7 = call i64 @FUNC(i64 %4, i64 %0, i64* nonnull %sv_0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = load i64, i64* %sv_0, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 %0, i64 0) %15 = call i64 @FUNC(i64 %0) store i64 %15, 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* %sv_0, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
oidc_check_userid_openidc_11970
oidc_check_userid_openidc
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = icmp eq i64* %arg2, null %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([109 x i8], [109 x i8]* @gv_0, i64 0, i64 0)) store i64 500, i64* %rax.0.reg2mem br label LBL_23 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_8, label LBL_3 LBL_3: store i64 0, i64* %sv_1, align 8 %12 = ptrtoint i64* %sv_1 to i64 %13 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1) %14 = call i64 @FUNC(i64 %4, i64 %12) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = load i64, i64* %sv_1, align 8 br i1 %16, label LBL_5, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %4, i64 %8, i64 %17) %19 = load i64, i64* %sv_1, align 8 %20 = call i64 @FUNC(i64 %4, i64 %19) %21 = and i64 %18, 4294967295 store i64 %21, i64* %rax.0.reg2mem br label LBL_23 LBL_5: %22 = inttoptr i64 %17 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_7, label LBL_6 LBL_6: store i64 %23, i64* %arg1, align 8 %25 = call i64 @FUNC(i64 %4, i64 %8, i64 %17) %26 = load i64, i64* %sv_1, align 8 %27 = call i64 @FUNC(i64 %4, i64 %26) %28 = call i64 @FUNC(i64 %4) %29 = and i64 %25, 4294967295 store i64 %29, i64* %rax.0.reg2mem br label LBL_23 LBL_7: %30 = call i64 @FUNC(i64 %4, i64 %17) br label LBL_16 LBL_8: %31 = add i64 %4, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_10, label LBL_9 LBL_9: %35 = inttoptr i64 %33 to i64* %36 = load i64, i64* %35, align 8 store i64 %36, i64* %arg1, align 8 br label LBL_13 LBL_10: %37 = add i64 %4, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = inttoptr i64 %39 to i64* %42 = load i64, i64* %41, align 8 store i64 %42, i64* %arg1, align 8 br label LBL_13 LBL_12: %43 = icmp eq i64* %arg1, null br i1 %43, label LBL_16, label LBL_13 LBL_13: %44 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1) %45 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_15, label LBL_14 LBL_14: store i64 0, i64* %sv_0, align 8 %48 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0) %49 = load i64, i64* %sv_0, align 8 %50 = call i64 @FUNC(i64 %4, i64 %49, i64 0, i64 0) %51 = load i64, i64* %sv_0, align 8 %52 = call i64 @FUNC(i64 %4, i64 %51) br label LBL_15 LBL_15: %53 = call i64 @FUNC(i64 %4) store i64 200, i64* %rax.0.reg2mem br label LBL_23 LBL_16: %54 = call i64 @FUNC(i64 %4) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 4 br i1 %56, label LBL_21, label LBL_17 LBL_17: %57 = icmp sgt i32 %55, 4 br i1 %57, label LBL_22, label LBL_18 LBL_18: store i64 410, i64* %rax.0.reg2mem switch i32 %55, label LBL_22 [ i32 3, label LBL_20 i32 1, label LBL_23 i32 2, label LBL_19 ] LBL_19: store i64 401, i64* %rax.0.reg2mem br label LBL_23 LBL_20: store i64 ptrtoint (i64* @gv_3 to i64), i64* %arg1, align 8 store i64 200, i64* %rax.0.reg2mem br label LBL_23 LBL_21: %58 = add i64 %4, 24 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0)) %62 = icmp eq i64 %61, 0 store i64 401, i64* %rax.0.reg2mem br i1 %62, label LBL_22, label LBL_23 LBL_22: %63 = call i64 @FUNC(i64 %4) %64 = call i64 @FUNC(i64 %4, i64 %8, i64 0, i64 %63, i64 0, i64 0) store i64 %64, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 3, 2 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i64* %sv_1, { 1, 3, 2, 0, 4, 5 } uselistorder i64* %sv_0, { 1, 2, 0, 3 } uselistorder i64 %4, { 14, 15, 16, 17, 11, 8, 9, 10, 12, 18, 13, 20, 19, 5, 2, 3, 4, 0, 1, 6, 7, 21, 22 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 2, 8, 7, 1, 6, 5, 4, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 200, { 1, 0, 2, 3, 4 } uselistorder i64 (i64)* @oidc_strip_cookies, { 1, 0 } uselistorder i64 (i64, i64)* @oidc_session_free, { 3, 2, 1, 0 } uselistorder i64 (i64, i64*)* @oidc_session_load, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 3, 1, 0, 2, 4, 5 } uselistorder label LBL_23, { 2, 1, 3, 4, 0, 5, 6, 7, 8 } uselistorder label LBL_22, { 1, 0, 2 } uselistorder label LBL_13, { 2, 1, 0 } }
1