dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
create_user_ns_5262
create_user_ns
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i64 %0, 12 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_7 LBL_1: %10 = zext i32 %3 to i64 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_7, label LBL_2 LBL_2: %14 = zext i32 %6 to i64 %15 = call i64 @FUNC(i64 %0, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_7 LBL_3: %19 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %20, i64 0) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %23, label LBL_4, label LBL_7 LBL_4: %24 = call i64 @FUNC(i64 %21) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %28, i64 %21) %30 = and i64 %24, 4294967295 store i64 %30, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %31 = add i64 %21, 24 %32 = call i64 @FUNC(i64 %31, i64 1) %33 = add i64 %21, 8 %34 = inttoptr i64 %33 to i64* store i64 %0, i64* %34, align 8 %35 = add i64 %21, 16 %36 = inttoptr i64 %35 to i32* store i32 %3, i32* %36, align 4 %37 = add i64 %21, 20 %38 = inttoptr i64 %37 to i32* store i32 %6, i32* %38, align 4 %39 = call i64 @FUNC(i64 %0, i64 %21) 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 %21, { 1, 2, 3, 5, 4, 0, 6, 7 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 3, 2, 4 } uselistorder i64 1, { 2, 0, 1 } uselistorder label LBL_7, { 4, 5, 0, 2, 1, 3 } }
0
BinRealVul
mem_resize_5506
mem_resize
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = icmp eq i1 %2, false store i64 %0, i64* %rdi.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([13 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %5 = call i64 @FUNC(i64 %rdi.0.reload, i64 %4, i64 1) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = trunc i64 %4 to i32 %9 = icmp eq i32 %8, 0 %or.cond = or i1 %9, %7 store i64 4294967295, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_3, label LBL_4 LBL_3: store i64 %5, i64* %arg1, align 8 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 %8, i32* %11, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder [13 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
report_unavailable_features_14908
report_unavailable_features
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %sv_0 to i64 %1 = and i64 %arg1, 4294967295 %2 = mul nuw nsw i64 %1, 264 %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64) %4 = inttoptr i64 %3 to i32* %5 = trunc i64 %arg2 to i32 %6 = add i64 %2, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8) %7 = add i64 %2, add (i64 ptrtoint (i32** @gv_0 to i64), i64 4) %8 = inttoptr i64 %7 to i32* %9 = add i64 %0, -8 %10 = inttoptr i64 %9 to i64* %11 = add i64 %0, -16 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = trunc i64 %indvars.iv.reload to i32 %14 = shl i32 1, %13 %15 = and i32 %14, %5 %16 = icmp eq i32 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_5, label LBL_2 LBL_2: %17 = load i32, i32* %4, align 8 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_2, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %22 = inttoptr i64 %19 to i8* %23 = mul i64 %indvars.iv.reload, 8 %24 = add i64 %6, %23 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %spec.select = select i1 %27, i64 ptrtoint (i8** @gv_4 to i64), i64 %26 %. = select i1 %27, i64 ptrtoint (i8** @gv_4 to i64), i64 ptrtoint (i64* @gv_5 to i64) %28 = load i32, i32* %8, align 4 %29 = call i64 @FUNC() %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8 store i64 %indvars.iv.reload, i64* %10, align 8 store i64 %spec.select, i64* %12, align 8 %33 = select i1 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0) %34 = inttoptr i64 %. to i8* %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_9, i64 0, i64 0), i8* %33, i32 %28, i8* %22, i8* %34) %36 = sext i32 %35 to i64 store i64 %36, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %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_6, label LBL_1 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 ptrtoint (i8** @gv_4 to i64), { 1, 0 } uselistorder i32 1, { 2, 3, 1, 0 } }
1
BinRealVul
xfrm_replay_advance_esn_7672
xfrm_replay_advance_esn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem22 = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem20 = alloca i32 %storemerge10.reg2mem = alloca i32 %.reg2mem18 = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_18, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = trunc i64 %5 to i32 %7 = call i32 @ntohl(i32 %6) %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i32 %10, -1 %12 = urem i32 %11, %2 %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i64 %4, i64 %13) %15 = trunc i64 %14 to i32 %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sub i32 %15, %18 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = load i32, i32* %9, align 4 %23 = icmp ule i32 %7, %22 %24 = icmp slt i32 %19, 1 %or.cond = icmp eq i1 %24, %23 store i32 %22, i32* %.reg2mem store i32 %22, i32* %.reg2mem22 br i1 %or.cond, label LBL_13, label LBL_4 LBL_3: %.old = icmp slt i32 %19, 1 %.pre14 = load i32, i32* %9, align 4 store i32 %.pre14, i32* %.reg2mem store i32 %.pre14, i32* %.reg2mem22 br i1 %.old, label LBL_13, label LBL_4 LBL_4: %25 = bitcast i64* %rdi to i32* %.reload = load i32, i32* %.reg2mem %26 = sub i32 %7, %.reload %27 = icmp ult i32 %26, %2 %28 = icmp eq i1 %27, false br i1 %28, label LBL_8, label LBL_5 LBL_5: %29 = icmp ugt i32 %26, 1 %30 = add i64 %4, 16 %31 = inttoptr i64 %30 to i64* store i32 %2, i32* %.reg2mem18 store i32 1, i32* %storemerge10.reg2mem store i32 %2, i32* %.reg2mem20 br i1 %29, label LBL_6, label LBL_7 LBL_6: %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %.reload19 = load i32, i32* %.reg2mem18 %32 = add i32 %storemerge10.reload, %12 %33 = urem i32 %32, %.reload19 %34 = udiv i32 %33, 32 %35 = load i64, i64* %31, align 8 %36 = mul i32 %34, 4 %37 = zext i32 %36 to i64 %38 = add i64 %35, %37 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = urem i32 %33, 32 %42 = shl i32 -1, %41 %43 = add i32 %42, -1 %44 = and i32 %40, %43 store i32 %44, i32* %39, align 4 %45 = add nuw i32 %storemerge10.reload, 1 %exitcond11 = icmp eq i32 %45, %26 %.pre13 = load i32, i32* %25, align 8 store i32 %.pre13, i32* %.reg2mem18 store i32 %45, i32* %storemerge10.reg2mem store i32 %.pre13, i32* %.reg2mem20 br i1 %exitcond11, label LBL_7, label LBL_6 LBL_7: %.reload21 = load i32, i32* %.reg2mem20 %46 = add i32 %26, %12 %47 = urem i32 %46, %.reload21 %48 = udiv i32 %47, 32 %49 = load i64, i64* %31, align 8 %50 = mul i32 %48, 4 %51 = zext i32 %50 to i64 %52 = add i64 %49, %51 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = urem i32 %47, 32 %56 = shl i32 1, %55 %57 = or i32 %54, %56 store i32 %57, i32* %53, align 4 br label LBL_11 LBL_8: %58 = udiv i32 %2, 32 %59 = add i64 %4, 16 %60 = inttoptr i64 %59 to i64* %61 = add nuw nsw i32 %58, 1 %wide.trip.count = zext i32 %61 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %62 = load i64, i64* %60, align 8 %63 = mul i64 %indvars.iv.reload, 4 %64 = add i64 %62, %63 %65 = inttoptr i64 %64 to i32* store i32 0, i32* %65, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %66 = add i32 %26, %12 %67 = load i32, i32* %25, align 8 %68 = urem i32 %66, %67 %69 = udiv i32 %68, 32 %70 = load i64, i64* %60, align 8 %71 = mul i32 %69, 4 %72 = zext i32 %71 to i64 %73 = add i64 %70, %72 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = urem i32 %68, 32 %77 = shl i32 1, %76 %78 = or i32 %75, %77 store i32 %78, i32* %74, align 4 br label LBL_11 LBL_11: store i32 %7, i32* %9, align 4 %79 = icmp slt i32 %19, 0 %80 = icmp eq i1 %79, false %81 = icmp eq i1 %80, %21 %82 = icmp eq i1 %81, false br i1 %82, label LBL_16, label LBL_12 LBL_12: %83 = load i32, i32* %17, align 4 %84 = add i32 %83, 1 store i32 %84, i32* %17, align 4 br label LBL_16 LBL_13: %.reload23 = load i32, i32* %.reg2mem22 %85 = sub i32 %.reload23, %7 %86 = icmp ult i32 %12, %85 %87 = sub i32 %12, %85 br i1 %86, label LBL_15, label LBL_14 LBL_14: %88 = urem i32 %87, %2 %89 = udiv i32 %88, 32 %90 = add i64 %4, 16 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = mul i32 %89, 4 %94 = zext i32 %93 to i64 %95 = add i64 %92, %94 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = urem i32 %88, 32 %99 = shl i32 1, %98 %100 = or i32 %97, %99 store i32 %100, i32* %96, align 4 br label LBL_16 LBL_15: %101 = add i32 %87, %2 %102 = udiv i32 %101, 32 %103 = add i64 %4, 16 %104 = inttoptr i64 %103 to i64* %105 = load i64, i64* %104, align 8 %106 = mul i32 %102, 4 %107 = zext i32 %106 to i64 %108 = add i64 %105, %107 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = urem i32 %101, 32 %112 = shl i32 1, %111 %113 = or i32 %110, %112 store i32 %113, i32* %109, align 4 br label LBL_16 LBL_16: %114 = call i64 @FUNC(i64 %4) %115 = and i64 %114, 4294967295 %116 = call i64 @FUNC(i64 %115) %117 = trunc i64 %116 to i32 %118 = icmp eq i32 %117, 0 store i64 %116, i64* %rax.0.reg2mem br i1 %118, label LBL_18, label LBL_17 LBL_17: %119 = call i64 @FUNC(i64 %4, i64 1) store i64 %119, 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 %101, { 1, 0 } uselistorder i32 %88, { 1, 0 } uselistorder i32 %68, { 1, 0 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %33, { 1, 0 } uselistorder i32* %25, { 1, 0 } uselistorder i32 %19, { 1, 2, 0, 3 } uselistorder i32* %17, { 1, 0, 2 } uselistorder i32 %12, { 4, 3, 0, 1, 2 } uselistorder i32* %9, { 2, 0, 1, 3 } uselistorder i32 %7, { 3, 1, 2, 0 } uselistorder i64 %4, { 3, 4, 5, 2, 1, 0, 6, 7, 8 } uselistorder i32 %2, { 3, 4, 2, 0, 1, 5, 6, 7 } uselistorder i32* %.reg2mem18, { 2, 0, 1 } uselistorder i32* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
pnv_chip_power8nvl_class_init_16980
pnv_chip_power8nvl_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 1300748959618170880, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 255, i32* %6, align 4 %7 = load i64, i64* @gv_1, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 store i64 ptrtoint ([23 x i8]* @gv_2 to i64), i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
virtio_device_free_virtqueues_3418
virtio_device_free_virtqueues
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i32 0, i32* %storemerge2.reg2mem store i64 %0, i64* %rdi.01.reg2mem store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %2 = sext i32 %storemerge2.reload to i64 %3 = mul i64 %2, 4 %4 = add i64 %3, %rdi.01.reload %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 store i64 %rdi.01.reload, i64* %rdi.0.lcssa.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %4) %9 = add nuw i32 %storemerge2.reload, 1 %10 = icmp ult i32 %9, 16 store i32 %9, i32* %storemerge2.reg2mem store i64 %4, i64* %rdi.01.reg2mem store i64 %4, i64* %rdi.0.lcssa.reg2mem br i1 %10, label LBL_1, label LBL_3 LBL_3: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %11 = call i64 @FUNC(i64 %rdi.0.lcssa.reload) store i64 %11, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
monitor_set_cpu_17301
monitor_set_cpu
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %4 to i64* store i64 %1, i64* %5, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
evbuffer_add_19117
evbuffer_add
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64 %.pre-phi11.reg2mem = alloca i64* %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 24 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %6, label LBL_15, label LBL_1 LBL_1: %7 = icmp eq i64* %arg1, null %8 = icmp eq i1 %7, false store i32 %4, i32* %.reg2mem store i64 %0, i64* %sv_2.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %arg3) %10 = icmp eq i64 %9, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %10, label LBL_15, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 %9) %.pre = add i64 %9, 24 %.pre2 = inttoptr i64 %.pre to i32* %.pre12 = load i32, i32* %.pre2, align 4 store i32 %.pre12, i32* %.reg2mem store i64 %9, i64* %sv_2.0.reg2mem br label LBL_4 LBL_4: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.reload = load i32, i32* %.reg2mem %12 = urem i32 %.reload, 2 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false %.pre4 = inttoptr i64 %sv_2.0.reload to i64* store i32 0, i32* %sv_1.0.reg2mem br i1 %14, label LBL_9, label LBL_5 LBL_5: %15 = load i64, i64* %.pre4, align 8 %16 = add i64 %sv_2.0.reload, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = sub i64 %15, %18 %20 = add i64 %sv_2.0.reload, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = sub i64 %19, %22 %24 = icmp ult i64 %23, %arg3 br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = add i64 %sv_2.0.reload, 32 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %22, %18 %29 = add i64 %28, %27 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %arg2 to i64* %32 = trunc i64 %arg3 to i32 %33 = call i64* @memcpy(i64* %30, i64* %31, i32 %32) %34 = load i64, i64* %21, align 8 %35 = add i64 %34, %arg3 store i64 %35, i64* %21, align 8 %36 = add i64 %0, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = add i64 %38, %arg3 store i64 %39, i64* %37, align 8 %40 = add i64 %0, 16 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = add i64 %42, %arg3 store i64 %43, i64* %41, align 8 br label LBL_14 LBL_7: %44 = trunc i64 %23 to i32 %45 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %arg3) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 store i32 %44, i32* %sv_1.0.reg2mem br i1 %47, label LBL_9, label LBL_8 LBL_8: %48 = call i64 @FUNC(i64 %sv_2.0.reload) %49 = add i64 %sv_2.0.reload, 32 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = load i64, i64* %21, align 8 %53 = add i64 %52, %51 %54 = inttoptr i64 %53 to i64* %55 = inttoptr i64 %arg2 to i64* %56 = trunc i64 %arg3 to i32 %57 = call i64* @memcpy(i64* %54, i64* %55, i32 %56) %58 = load i64, i64* %21, align 8 %59 = add i64 %58, %arg3 store i64 %59, i64* %21, align 8 %60 = add i64 %0, 8 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = add i64 %62, %arg3 store i64 %63, i64* %61, align 8 %64 = add i64 %0, 16 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = add i64 %66, %arg3 store i64 %67, i64* %65, align 8 br label LBL_14 LBL_9: %68 = load i64, i64* %.pre4, align 8 %69 = icmp ult i64 %68, 2049 %70 = zext i1 %69 to i64 %spec.select = shl i64 %68, %70 %71 = icmp ult i64 %spec.select, %arg3 %sv_3.1 = select i1 %71, i64 %arg3, i64 %spec.select %72 = call i64 @FUNC(i64 %sv_3.1) %73 = icmp eq i64 %72, 0 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %73, label LBL_15, label LBL_10 LBL_10: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %74 = icmp eq i32 %sv_1.0.reload, 0 br i1 %74, label LBL_10.LBL_13_crit_edge, label LBL_12 LBL_11: %.pre8 = add i64 %0, 16 %.pre10 = inttoptr i64 %.pre8 to i64* store i64* %.pre10, i64** %.pre-phi11.reg2mem store i64 0, i64* %.pre-phi7.reg2mem br label LBL_13 LBL_12: %75 = add i64 %sv_2.0.reload, 32 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = add i64 %sv_2.0.reload, 8 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = add i64 %sv_2.0.reload, 16 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = add i64 %80, %77 %85 = add i64 %84, %83 %86 = inttoptr i64 %85 to i64* %87 = inttoptr i64 %arg2 to i64* %88 = call i64* @memcpy(i64* %86, i64* %87, i32 %sv_1.0.reload) %89 = load i64, i64* %82, align 8 %90 = sext i32 %sv_1.0.reload to i64 %91 = add i64 %89, %90 store i64 %91, i64* %82, align 8 %92 = add i64 %0, 8 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = add i64 %94, %90 store i64 %95, i64* %93, align 8 %96 = add i64 %0, 16 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = add i64 %98, %90 store i64 %99, i64* %97, align 8 store i64* %97, i64** %.pre-phi11.reg2mem store i64 %90, i64* %.pre-phi7.reg2mem br label LBL_13 LBL_13: %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem %.pre-phi11.reload = load i64*, i64** %.pre-phi11.reg2mem %100 = add i64 %.pre-phi7.reload, %arg2 %101 = sub i64 %arg3, %.pre-phi7.reload %102 = add i64 %72, 32 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = inttoptr i64 %104 to i64* %106 = inttoptr i64 %100 to i64* %107 = trunc i64 %101 to i32 %108 = call i64* @memcpy(i64* %105, i64* %106, i32 %107) %109 = add i64 %72, 16 %110 = inttoptr i64 %109 to i64* store i64 %101, i64* %110, align 8 %111 = call i64 @FUNC(i64 %0, i64 %72) %112 = load i64, i64* %.pre-phi11.reload, align 8 %113 = add i64 %112, %101 store i64 %113, i64* %.pre-phi11.reload, align 8 br label LBL_14 LBL_14: %114 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0.0.reg2mem br label LBL_15 LBL_15: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %115 = call i64 @FUNC(i64 %0) ret i64 %sv_0.0.reload uselistorder i64* %82, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 2, 0, 1 } uselistorder i64 %spec.select, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i64* %21, { 3, 2, 4, 1, 0, 5 } uselistorder i64 %sv_2.0.reload, { 2, 3, 4, 6, 7, 5, 8, 0, 1, 9 } uselistorder i64 %0, { 11, 9, 10, 7, 8, 1, 5, 6, 3, 4, 2, 0, 12, 13 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 0, 3, 1 } uselistorder i64 16, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64 (i64, i64)* @evbuffer_chain_insert, { 1, 0 } uselistorder i64 (i64)* @evbuffer_chain_new, { 1, 0 } uselistorder i64* null, { 1, 0, 2 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %arg3, { 13, 6, 7, 0, 1, 2, 9, 11, 3, 4, 5, 12, 10, 8 } uselistorder i64 %arg2, { 0, 3, 2, 1 } uselistorder label LBL_15, { 3, 0, 1, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
pbs_disconnect_18903
pbs_disconnect
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 27 %1 = add i64 %0, ptrtoint (i64* @gv_0 to i64) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = call i32 @pthread_mutex_lock(i64* %4) %6 = add i64 %0, ptrtoint (i32** @gv_1 to i64) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 8 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = add i64 %0, ptrtoint (i64* @gv_2 to i64) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = inttoptr i64 %13 to i64* call void @free(i64* %15) br label LBL_2 LBL_2: %16 = add i64 %0, ptrtoint (i32** @gv_3 to i64) %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 8 %18 = add i64 %0, ptrtoint (i32** @gv_4 to i64) %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 8 %20 = load i64, i64* %2, align 8 %21 = inttoptr i64 %20 to i64* %22 = call i32 @pthread_mutex_unlock(i64* %21) ret i64 0 }
1
BinRealVul
nr_sendmsg_7613
nr_sendmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %arg4, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_25 LBL_1: %11 = trunc i64 %2 to i32 %12 = icmp ult i32 %11, 8 store i64 5, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_25 LBL_2: %13 = call i64 @FUNC(i64 %4) %14 = call i64 @FUNC(i64 %4, i64 1) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: store i64 1, i64* %sv_1, align 8 br label LBL_24 LBL_4: %17 = and i64 %1, 2 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = load i64, i64* @gv_0, align 8 %20 = call i64 @FUNC(i64 13, i64 %19, i64 0) store i64 2, i64* %sv_1, align 8 br label LBL_24 LBL_6: %21 = inttoptr i64 %5 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_8, label LBL_7 LBL_7: store i64 3, i64* %sv_1, align 8 br label LBL_24 LBL_8: %25 = icmp eq i64 %8, 0 br i1 %25, label LBL_15, label LBL_9 LBL_9: %26 = add i64 %3, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp ult i32 %28, 8 br i1 %29, label LBL_10, label LBL_11 LBL_10: store i64 5, i64* %sv_1, align 8 br label LBL_24 LBL_11: %30 = inttoptr i64 %8 to i64* %31 = load i64, i64* %30, align 8 %32 = add i64 %5, 16 %33 = call i64 @FUNC(i64 %32, i64* nonnull %sv_0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_13, label LBL_12 LBL_12: store i64 4, i64* %sv_1, align 8 br label LBL_24 LBL_13: %36 = trunc i64 %31 to i32 %37 = icmp eq i32 %36, 1 br i1 %37, label LBL_18, label LBL_14 LBL_14: store i64 5, i64* %sv_1, align 8 br label LBL_24 LBL_15: %38 = add i64 %4, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label LBL_17, label LBL_16 LBL_16: store i64 6, i64* %sv_1, align 8 br label LBL_24 LBL_17: %42 = add i64 %5, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = sext i32 %44 to i64 store i64 %45, i64* %sv_0, align 8 br label LBL_18 LBL_18: %46 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0)) %47 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0)) %48 = trunc i64 %arg4 to i32 %49 = add i32 %48, 20 %50 = urem i64 %2, 2 %51 = bitcast i64* %sv_1 to i32* %52 = call i64 @FUNC(i64 %4, i32 %49, i64 %50, i32* nonnull %51) %53 = icmp eq i64 %52, 0 br i1 %53, label LBL_24, label LBL_19 LBL_19: %54 = call i64 @FUNC(i64 %52, i64 20) %55 = call i64 @FUNC(i64 %52) %56 = call i64 @FUNC(i64 %52, i64 10) %57 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0)) %58 = add i64 %5, 8 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i64 %56, 1 %62 = trunc i32 %60 to i8 %63 = inttoptr i64 %56 to i8* store i8 %62, i8* %63, align 1 %64 = add i64 %5, 12 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = add i64 %56, 2 %68 = trunc i32 %66 to i8 %69 = inttoptr i64 %61 to i8* store i8 %68, i8* %69, align 1 %70 = add i64 %56, 3 %71 = inttoptr i64 %67 to i8* store i8 0, i8* %71, align 1 %72 = add i64 %56, 4 %73 = inttoptr i64 %70 to i8* store i8 0, i8* %73, align 1 %74 = inttoptr i64 %72 to i8* store i8 1, i8* %74, align 1 %75 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) %76 = and i64 %arg4, 4294967295 %77 = call i64 @FUNC(i64 %52, i64 %76) %78 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0)) %79 = add i64 %3, 16 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = call i64 @FUNC(i64 %52) %83 = call i64 @FUNC(i64 %82, i64 %81, i64 %arg4) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 br i1 %85, label LBL_21, label LBL_20 LBL_20: %86 = call i64 @FUNC(i64 %52) store i64 7, i64* %sv_1, align 8 br label LBL_24 LBL_21: %87 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0)) %88 = add i64 %4, 4 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = icmp eq i32 %90, 1 br i1 %91, label LBL_23, label LBL_22 LBL_22: %92 = call i64 @FUNC(i64 %52) store i64 6, i64* %sv_1, align 8 br label LBL_24 LBL_23: %93 = call i64 @FUNC(i64 %4, i64 %52) %sext = mul i64 %arg4, 4294967296 %94 = ashr exact i64 %sext, 32 store i64 %94, i64* %sv_1, align 8 br label LBL_24 LBL_24: %95 = call i64 @FUNC(i64 %4) %96 = load i64, i64* %sv_1, align 8 %97 = and i64 %96, 4294967295 store i64 %97, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %56, { 0, 1, 2, 4, 3 } uselistorder i64 %52, { 1, 2, 0, 3, 4, 7, 6, 5, 8 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %5, { 1, 2, 3, 0, 4 } uselistorder i64* %sv_1, { 10, 9, 8, 7, 11, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64 %4, { 6, 0, 2, 1, 4, 3, 5, 7, 9, 8, 10, 12, 11, 13 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @kfree_skb, { 1, 0 } uselistorder i64 (i64, i8*)* @SOCK_DEBUG, { 5, 4, 3, 2, 1, 0 } uselistorder i64 6, { 1, 0 } uselistorder i64 4, { 2, 1, 3, 0, 4 } uselistorder i64 3, { 1, 0 } uselistorder i64 2, { 3, 0, 2, 1 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 5, { 1, 2, 0 } uselistorder label LBL_25, { 2, 0, 1 } uselistorder label LBL_24, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10 } }
1
BinRealVul
escape_17679
escape
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.in.reg2mem = alloca i64* %sv_0.0.reg2mem = alloca i8* %sv_0.15.reg2mem = alloca i8* %indvars.iv.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_1.17.reg2mem = alloca i32 %indvars.iv10.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8* %0 = trunc i64 %arg2 to i32 %1 = icmp slt i32 %0, 0 br i1 %1, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = inttoptr i64 %arg1 to i8* store i8* %.pre, i8** %.pre-phi.reg2mem br label LBL_3 LBL_2: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = inttoptr i64 %arg1 to i8* %4 = call i32 @strlen(i8* %3) %5 = sext i32 %4 to i64 %6 = icmp ugt i64 %2, %5 store i8* %3, i8** %.pre-phi.reg2mem store i64 %2, i64* %sv_2.0.reg2mem br i1 %6, label LBL_3, label LBL_4 LBL_3: %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %7 = call i32 @strlen(i8* %.pre-phi.reload) %8 = sext i32 %7 to i64 store i64 %8, i64* %sv_2.0.reg2mem br label LBL_4 LBL_4: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %9 = trunc i64 %sv_2.0.reload to i32 %10 = icmp sgt i32 %9, 0 br i1 %10, label LBL_5, label LBL_6 LBL_5: %wide.trip.count12 = and i64 %sv_2.0.reload, 4294967295 store i64 0, i64* %indvars.iv10.reg2mem store i32 0, i32* %sv_1.17.reg2mem br label LBL_7 LBL_6: %11 = call i64* @calloc(i32 1, i32 1) store i64* %11, i64** %.in.reg2mem br label LBL_20 LBL_7: %sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %12 = add i64 %indvars.iv10.reload, %arg1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = sext i8 %14 to i32 %16 = call i8* @strchr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 %15) %17 = icmp eq i8* %16, null br i1 %17, label LBL_9, label LBL_8 LBL_8: %18 = add i32 %sv_1.17.reload, 2 store i32 %18, i32* %sv_1.0.reg2mem br label LBL_12 LBL_9: %19 = call i16** @__ctype_b_loc() %20 = load i16*, i16** %19, align 8 %21 = ptrtoint i16* %20 to i64 %22 = load i8, i8* %13, align 1 %23 = sext i8 %22 to i64 %24 = mul i64 %23, 2 %25 = add i64 %24, %21 %26 = inttoptr i64 %25 to i16* %27 = load i16, i16* %26, align 2 %28 = and i16 %27, 16384 %29 = icmp eq i16 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = add i32 %sv_1.17.reload, 4 store i32 %31, i32* %sv_1.0.reg2mem br label LBL_12 LBL_11: %32 = add i32 %sv_1.17.reload, 1 store i32 %32, i32* %sv_1.0.reg2mem br label LBL_12 LBL_12: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next11, %wide.trip.count12 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.17.reg2mem br i1 %exitcond13, label LBL_13, label LBL_7 LBL_13: %33 = add i32 %sv_1.0.reload, 1 %34 = call i64* @calloc(i32 1, i32 %33) %35 = bitcast i64* %34 to i8* store i64 0, i64* %indvars.iv.reg2mem store i8* %35, i8** %sv_0.15.reg2mem br label LBL_14 LBL_14: %sv_0.15.reload = load i8*, i8** %sv_0.15.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %36 = add i64 %indvars.iv.reload, %arg1 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = sext i8 %38 to i32 %40 = call i8* @strchr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 %39) %41 = icmp eq i8* %40, null br i1 %41, label LBL_16, label LBL_15 LBL_15: %42 = ptrtoint i8* %40 to i64 %43 = ptrtoint i8* %sv_0.15.reload to i64 %44 = add i64 %43, 1 store i8 92, i8* %sv_0.15.reload, align 1 %45 = add i64 %43, 2 %46 = inttoptr i64 %45 to i8* %47 = add i64 %42, add (i64 ptrtoint ([11 x i8]* @gv_1 to i64), i64 sub (i64 0, i64 ptrtoint ([11 x i8]* @gv_0 to i64))) %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = inttoptr i64 %44 to i8* store i8 %49, i8* %50, align 1 store i8* %46, i8** %sv_0.0.reg2mem br label LBL_19 LBL_16: %51 = call i16** @__ctype_b_loc() %52 = load i16*, i16** %51, align 8 %53 = ptrtoint i16* %52 to i64 %54 = load i8, i8* %37, align 1 %55 = sext i8 %54 to i64 %56 = mul i64 %55, 2 %57 = add i64 %56, %53 %58 = inttoptr i64 %57 to i16* %59 = load i16, i16* %58, align 2 %60 = and i16 %59, 16384 %61 = icmp eq i16 %60, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_18, label LBL_17 LBL_17: %63 = sext i8 %54 to i32 %64 = call i32 (i8*, i8*, ...) @sprintf(i8* %sv_0.15.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 %63) store i8* %sv_0.15.reload, i8** %sv_0.0.reg2mem br label LBL_19 LBL_18: %65 = ptrtoint i8* %sv_0.15.reload to i64 %66 = add i64 %65, 1 %67 = inttoptr i64 %66 to i8* store i8 %54, i8* %sv_0.15.reload, align 1 store i8* %67, i8** %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i8* %sv_0.0.reload, i8** %sv_0.15.reg2mem store i64* %34, i64** %.in.reg2mem br i1 %exitcond, label LBL_20, label LBL_14 LBL_20: %.in.reload = load i64*, i64** %.in.reg2mem %68 = ptrtoint i64* %.in.reload to i64 ret i64 %68 uselistorder i64 %43, { 1, 0 } uselistorder i8* %40, { 1, 0 } uselistorder i8* %sv_0.15.reload, { 5, 4, 0, 3, 2, 1 } uselistorder i32 %sv_1.17.reload, { 1, 2, 0 } uselistorder i64 %sv_2.0.reload, { 1, 0 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.17.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.15.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i16 0, { 1, 0 } uselistorder i16 16384, { 1, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder i16** ()* @__ctype_b_loc, { 1, 0 } uselistorder i8* null, { 1, 0 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder [11 x i8]* @gv_0, { 1, 0 } uselistorder i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder i64* (i32, i32)* @calloc, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i32 1, { 11, 13, 12, 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 0, 1, 3, 2 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ssl23_get_client_method_6570
ssl23_get_client_method
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 2 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC() store i64 %3, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %4 = icmp eq i32 %0, 769 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC() store i64 %6, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %7 = icmp eq i32 %0, 770 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_5 LBL_5: %9 = call i64 @FUNC() store i64 %9, i64* %rax.0.reg2mem br label LBL_8 LBL_6: %10 = icmp eq i32 %0, 771 %11 = icmp eq i1 %10, false store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_8, label LBL_7 LBL_7: %12 = call i64 @FUNC() store i64 %12, 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 i32 %0, { 2, 1, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder label LBL_8, { 1, 0, 2, 3, 4 } }
0
BinRealVul
decode_filename_8159
decode_filename
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 4) %7 = icmp eq i64 %6, 0 store i64 %4, i64* %rdx.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %6) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp ult i32 %11, 256 %13 = and i64 %10, 4294967295 br i1 %12, label LBL_2, label LBL_4 LBL_2: %14 = call i64 @FUNC(i64 %5, i64 %13) %15 = icmp eq i64 %14, 0 store i64 %13, i64* %rdx.0.reg2mem br i1 %15, label LBL_5, label LBL_3 LBL_3: %16 = ptrtoint i64* %arg2 to i64 %17 = inttoptr i64 %14 to i64* %18 = call i64* @memcpy(i64* %arg2, i64* %17, i32 %11) %19 = add i64 %13, %16 %20 = inttoptr i64 %19 to i8* store i8 0, i8* %20, align 1 %21 = bitcast i64* %arg3 to i32* store i32 %11, i32* %21, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %22 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %23 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1) store i64 4294967294, 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 %13, { 2, 1, 0, 3 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_err, { 1, 0 } uselistorder i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 (i64, i64)* @xdr_inline_decode, { 1, 0 } }
0
BinRealVul
ssh_block_statemach_17793
ssh_block_statemach
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %rdx.1.be.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.18.reg2mem = alloca i64 %rdx.19.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i8, align 1 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i32 0, i32* %sv_0.2.reg2mem br i1 %3, label LBL_11, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = bitcast i8* %sv_2 to i64* %9 = ptrtoint i8* %sv_2 to i64 %10 = trunc i64 %arg2 to i8 %11 = icmp eq i8 %10, 1 %12 = add i64 %4, 8 %13 = inttoptr i64 %12 to i64* %14 = add i64 %4, 24 %15 = inttoptr i64 %14 to i32* br label LBL_2 LBL_2: %16 = call i64 @FUNC() %17 = call i64 @FUNC(i64 %4, i64* nonnull %8) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i32 %18, i32* %sv_0.2.reg2mem br i1 %20, label LBL_11, label LBL_3 LBL_3: %sv_1.18.reload = load i64, i64* %sv_1.18.reg2mem store i32 %18, i32* %sv_0.0.reg2mem store i64 %sv_1.18.reload, i64* %sv_1.0.reg2mem store i64 %9, i64* %rdx.0.reg2mem br i1 %11, label LBL_8, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %4) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 store i64 1, i64* %rax.0.reg2mem br i1 %23, label LBL_5, label LBL_12 LBL_5: %rdx.19.reload = load i64, i64* %rdx.19.reg2mem %sext7 = mul i64 %rdx.19.reload, 4294967296 %24 = ashr exact i64 %sext7, 32 %25 = call i64 @FUNC(i64 %7, i64 %16, i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %26, i32* %sv_0.2.reg2mem br i1 %28, label LBL_11, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %7, i64 0, i64 0) %30 = icmp slt i64 %29, 0 %31 = icmp eq i1 %30, false store i32 %26, i32* %sv_0.0.reg2mem store i64 %29, i64* %sv_1.0.reg2mem store i64 0, i64* %rdx.0.reg2mem br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0)) store i64 2, i64* %rax.0.reg2mem br label LBL_12 LBL_8: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %33 = icmp eq i32 %sv_0.0.reload, 0 %34 = icmp eq i1 %33, false %35 = load i8, i8* %sv_2, align 1 %36 = icmp eq i8 %35, 0 %or.cond = or i1 %34, %36 store i64 %rdx.0.reload, i64* %rdx.1.be.reg2mem br i1 %or.cond, label LBL_9, label LBL_10 LBL_9: %rdx.1.be.reload = load i64, i64* %rdx.1.be.reg2mem store i64 %rdx.1.be.reload, i64* %rdx.19.reg2mem store i64 %sv_1.0.reload, i64* %sv_1.18.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %33, label LBL_2, label LBL_11 LBL_10: %37 = load i64, i64* %13, align 8 %38 = call i64 @FUNC(i64 %37) %39 = load i32, i32* %15, align 4 %40 = urem i64 %38, 2 %41 = icmp eq i64 %40, 0 %42 = and i64 %38, 2 %43 = icmp eq i64 %42, 0 %sv_3.0 = select i1 %43, i32 -1, i32 %39 %44 = add i64 %sv_1.0.reload, -1000 %45 = sub i64 999, %sv_1.0.reload %46 = and i64 %45, %sv_1.0.reload %47 = icmp slt i64 %46, 0 %48 = icmp eq i64 %44, 0 %49 = icmp slt i64 %44, 0 %50 = icmp eq i1 %49, %47 %51 = icmp eq i1 %48, false %52 = icmp eq i1 %50, %51 %53 = and i64 %sv_1.0.reload, 4294967295 %54 = select i1 %52, i64 1000, i64 %53 %55 = zext i32 %sv_3.0 to i64 %56 = zext i32 %39 to i64 %57 = select i1 %41, i64 4294967295, i64 %56 %58 = call i64 @FUNC(i64 %57, i64 4294967295, i32 %sv_3.0, i64 %54) store i64 %55, i64* %rdx.1.be.reg2mem br label LBL_9 LBL_11: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %59 = zext i32 %sv_0.2.reload to i64 store i64 %59, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %44, { 1, 0 } uselistorder i64 %38, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 1, 3, 0, 2, 4 } uselistorder i32 %26, { 1, 0, 2 } uselistorder i32 %18, { 1, 0, 2 } uselistorder i64 %4, { 0, 3, 1, 2, 4 } uselistorder i64* %rdx.19.reg2mem, { 1, 0 } uselistorder i64* %sv_1.18.reg2mem, { 1, 0 } uselistorder i64* %rdx.1.be.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 2, 1, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 2, 0, 1 } uselistorder i64 2, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
set_palette_15496
set_palette
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp sgt i32 %2, 767 store i64 0, i64* %indvars.iv.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_3 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul nuw nsw i64 %indvars.iv.reload, 3 %8 = add i64 %7, %0 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = zext i8 %10 to i32 %12 = mul i32 %11, 65536 %13 = add i64 %8, 1 %14 = inttoptr i64 %13 to i8* %15 = load i8, i8* %14, align 1 %16 = zext i8 %15 to i32 %17 = mul i32 %16, 256 %18 = or i32 %17, %12 %19 = add i64 %8, 2 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = zext i8 %21 to i32 %23 = or i32 %18, %22 %24 = mul i64 %indvars.iv.reload, 4 %25 = add i64 %24, %5 %26 = mul i32 %23, 4 %27 = inttoptr i64 %25 to i32* store i32 %26, i32* %27, align 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 br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %28 = add i64 %1, 32 %29 = inttoptr i64 %28 to i32* store i32 1, i32* %29, align 4 store i64 768, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
reposvul_c_test
tb_cmp_46
tb_cmp
define i64 @FUNC(i64* %arg1, i32* %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 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = icmp eq i32 %3, %4 %6 = icmp eq i1 %5, false br i1 %6, label LBL_7, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg3 to i64 %8 = ptrtoint i32* %arg2 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %7, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %11, %14 %16 = icmp eq i1 %15, false br i1 %16, label LBL_7, label LBL_2 LBL_2: %17 = add i64 %8, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %7, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %19, %22 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_3 LBL_3: %25 = call i64 @FUNC(i64 %8) %26 = call i64 @FUNC(i64 %7) %27 = xor i64 %26, %25 %28 = urem i64 %27, 256 %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_7, label LBL_4 LBL_4: %31 = add i64 %8, 12 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %7, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %33, %36 %38 = icmp eq i1 %37, false br i1 %38, label LBL_7, label LBL_5 LBL_5: %39 = add i64 %8, 16 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %7, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %41, %44 %46 = icmp eq i1 %45, false br i1 %46, label LBL_7, label LBL_6 LBL_6: %47 = add i64 %8, 20 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %7, 20 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %49, %52 %54 = icmp eq i1 %53, false store i64 1, i64* %storemerge.reg2mem br i1 %54, label LBL_7, label LBL_8 LBL_7: store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %8, { 2, 1, 0, 3, 4, 5 } uselistorder i64 %7, { 2, 1, 0, 3, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @tb_cflags, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
GENERAL_NAME_set0_value_7202
GENERAL_NAME_set0_value
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = and i64 %1, 4294967295 store i64 %2, i64* @0, align 8 %trunc = trunc i64 %1 to i32 switch i32 %trunc, label LBL_8 [ i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_4 i32 6, label LBL_4 i32 7, label LBL_5 i32 8, label LBL_6 i32 9, label LBL_7 ] LBL_1: %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %arg3, i64* %4, align 8 br label LBL_8 LBL_2: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* store i64 %arg3, i64* %6, align 8 br label LBL_8 LBL_3: %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 %arg3, i64* %8, align 8 br label LBL_8 LBL_4: %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 %arg3, i64* %10, align 8 br label LBL_8 LBL_5: %11 = add i64 %0, 40 %12 = inttoptr i64 %11 to i64* store i64 %arg3, i64* %12, align 8 br label LBL_8 LBL_6: %13 = add i64 %0, 48 %14 = inttoptr i64 %13 to i64* store i64 %arg3, i64* %14, align 8 br label LBL_8 LBL_7: %15 = add i64 %0, 56 %16 = inttoptr i64 %15 to i64* store i64 %arg3, i64* %16, align 8 br label LBL_8 LBL_8: %17 = bitcast i64* %arg1 to i32* store i32 %trunc, i32* %17, align 4 ret i64 %0 uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 %arg3, { 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
start_frame_overlay_1861
start_frame_overlay
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC(i64 %3) %7 = ptrtoint i32* %arg2 to i64 %8 = inttoptr i64 %3 to i64* store i64 %7, i64* %8, align 8 %9 = load i64, i64* %5, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %3, 16 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = bitcast i64* %rsi to i32* %19 = load i32, i32* %18, align 8 %20 = zext i32 %17 to i64 %21 = zext i32 %19 to i64 %22 = call i64 @FUNC(i64 %21, i64 %20, i32 %14) %23 = trunc i64 %22 to i32 store i32 %23, i32* %arg2, align 4 ret i64 0 uselistorder i32* %arg2, { 1, 0 } }
0
BinRealVul
monitor_get_reg_2987
monitor_get_reg
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC() %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 %sext = mul i64 %arg2, 4294967296 %3 = ashr exact i64 %sext, 29 %4 = add i64 %2, %3 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 ret i64 %6 }
0
BinRealVul
vga_draw_blank_9564
vga_draw_blank
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i32 %3, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = trunc i64 %1 to i32 %10 = and i64 %1, 4294967295 %11 = icmp slt i32 %9, 1 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_6, label LBL_2 LBL_2: %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = zext i32 %14 to i64 %16 = icmp slt i32 %14, 1 store i64 %15, i64* %rax.0.reg2mem br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %7) %18 = trunc i64 %17 to i32 %19 = mul i32 %18, %9 %20 = call i64 @FUNC(i64 %7) %21 = load i32, i32* %13, align 4 %22 = icmp eq i32 %21, 0 store i32 0, i32* %storemerge3.reg2mem store i64 %20, i64* %sv_0.02.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %22, label LBL_5, label LBL_4 LBL_4: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %23 = inttoptr i64 %sv_0.02.reload to i64* %24 = call i64* @memset(i64* %23, i32 0, i32 %19) %25 = call i64 @FUNC(i64 %7) %sext1 = mul i64 %25, 4294967296 %26 = ashr exact i64 %sext1, 32 %27 = add i64 %26, %sv_0.02.reload %28 = add i32 %storemerge3.reload, 1 %29 = load i32, i32* %13, align 4 %30 = zext i32 %29 to i64 %31 = sext i32 %28 to i64 %32 = icmp slt i64 %31, %30 store i32 %28, i32* %storemerge3.reg2mem store i64 %27, i64* %sv_0.02.reg2mem store i64 %30, i64* %.lcssa.reg2mem br i1 %32, label LBL_4, label LBL_5 LBL_5: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %33 = load i64, i64* %5, align 8 %34 = call i64 @FUNC(i64 %33, i64 0, i64 0, i64 %10, i64 %.lcssa.reload) store i64 %34, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.02.reload, { 1, 0 } uselistorder i32* %13, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %7, { 1, 3, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @surface_bytes_per_pixel, { 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 0, { 2, 0, 1, 4, 3 } uselistorder label LBL_6, { 3, 1, 0, 2 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
unpack_superblocks_32
unpack_superblocks
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv58.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i32 %sv_1.10.lcssa.reg2mem = alloca i32 %sv_2.8.lcssa.reg2mem = alloca i32 %sv_2.824.reg2mem = alloca i32 %sv_1.1025.reg2mem = alloca i32 %sv_0.226.reg2mem = alloca i32 %indvars.iv55.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.8.reg2mem = alloca i32 %sv_2.6.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_1.7.reg2mem = alloca i32 %sv_2.5.reg2mem = alloca i32 %sv_2.720.reg2mem = alloca i32 %sv_1.921.reg2mem = alloca i32 %sv_0.122.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_2.931.reg2mem = alloca i32 %sv_1.1132.reg2mem = alloca i32 %indvars.iv61.reg2mem = alloca i64 %sv_1.5.reg2mem = alloca i32 %sv_2.3.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %sv_1.4.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32 %sv_4.1.lcssa67.reg2mem = alloca i32 %.reg2mem78 = alloca i32 %sv_2.1.be.reg2mem = alloca i32 %sv_4.1.lcssa66.reg2mem = alloca i32 %.reg2mem76 = alloca i32 %sv_5.0.reg2mem = alloca i32 %sv_4.134.reg2mem = alloca i32 %sv_5.135.reg2mem = alloca i32 %sv_1.2.reg2mem = alloca i32 %sv_2.137.reg2mem = alloca i32 %sv_4.238.reg2mem = alloca i32 %sv_6.039.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i64 %sv_7.1.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.0.be.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.042.reg2mem = alloca i32 %sv_4.043.reg2mem = alloca i32 %sv_7.144.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_8 = alloca i64, align 8 %5 = trunc i64 %3 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = ptrtoint i32* %arg1 to i64 %8 = add i64 %7, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i64* %15 = call i64* @memset(i64* %14, i32 1, i32 %10) store i64 %7, i64* %.pre-phi.reg2mem store i32 0, i32* %sv_2.3.reg2mem store i32 0, i32* %sv_1.5.reg2mem br label LBL_31 LBL_2: %16 = call i64 @FUNC(i64 %4) %17 = trunc i64 %16 to i32 %18 = ptrtoint i32* %arg1 to i64 %19 = add i64 %18, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 store i32 %17, i32* %sv_2.0.lcssa.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem store i32 0, i32* %sv_7.1.lcssa.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %22, label LBL_12, label LBL_3 LBL_3: %23 = add i64 %18, 96 %24 = inttoptr i64 %23 to i64* %25 = add i64 %18, 16 %26 = inttoptr i64 %25 to i64* %27 = add i64 %18, 24 %28 = inttoptr i64 %27 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %sv_7.144.reg2mem store i32 0, i32* %sv_4.043.reg2mem store i32 %17, i32* %sv_2.042.reg2mem br label LBL_4 LBL_4: %sv_2.042.reload = load i32, i32* %sv_2.042.reg2mem %sv_4.043.reload = load i32, i32* %sv_4.043.reg2mem %sv_7.144.reload = load i32, i32* %sv_7.144.reg2mem %.reload = load i64, i64* %.reg2mem %29 = load i64, i64* %24, align 8 %30 = call i64 @FUNC(i64 %4, i64 %29, i64 6, i64 2) %31 = trunc i64 %30 to i32 %32 = add i32 %31, 1 %33 = icmp eq i32 %31, 33 %34 = icmp eq i1 %33, false store i32 %32, i32* %sv_1.0.reg2mem br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %4, i64 12) %36 = trunc i64 %35 to i32 %37 = add i32 %32, %36 store i32 %37, i32* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %38 = add i32 %sv_1.0.reload, %sv_4.043.reload %39 = load i32, i32* %20, align 4 %40 = icmp ugt i32 %38, %39 br i1 %40, label LBL_7, label LBL_8 LBL_7: %41 = add i64 %18, 32 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64 %43, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i64 2, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_49 LBL_8: %45 = load i64, i64* %26, align 8 %46 = mul i64 %.reload, 4 %47 = add i64 %45, %46 %48 = inttoptr i64 %47 to i64* %49 = call i64* @memset(i64* %48, i32 %sv_2.042.reload, i32 %sv_1.0.reload) %50 = load i32, i32* %28, align 4 %51 = icmp eq i32 %50, 0 %52 = icmp eq i32 %sv_1.0.reload, 34 %53 = icmp eq i1 %52, false %or.cond = or i1 %53, %51 br i1 %or.cond, label LBL_11, label LBL_9 LBL_9: %54 = call i64 @FUNC(i64 %4) %55 = trunc i64 %54 to i32 store i32 %55, i32* %sv_2.0.be.reg2mem br label LBL_10 LBL_10: %56 = icmp eq i32 %sv_2.042.reload, 0 %57 = select i1 %56, i32 0, i32 %sv_1.0.reload %spec.select = add i32 %57, %sv_7.144.reload %sv_2.0.be.reload = load i32, i32* %sv_2.0.be.reg2mem %58 = load i32, i32* %20, align 4 %59 = zext i32 %58 to i64 %60 = sext i32 %38 to i64 %61 = icmp slt i64 %60, %59 store i64 %60, i64* %.reg2mem store i32 %spec.select, i32* %sv_7.144.reg2mem store i32 %38, i32* %sv_4.043.reg2mem store i32 %sv_2.0.be.reload, i32* %sv_2.042.reg2mem store i32 %sv_2.0.be.reload, i32* %sv_2.0.lcssa.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %spec.select, i32* %sv_7.1.lcssa.reg2mem store i64 %59, i64* %.lcssa.reg2mem br i1 %61, label LBL_4, label LBL_12 LBL_11: %62 = xor i32 %sv_2.042.reload, 1 store i32 %62, i32* %sv_2.0.be.reg2mem br label LBL_10 LBL_12: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %sv_7.1.lcssa.reload = load i32, i32* %sv_7.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %63 = sext i32 %sv_7.1.lcssa.reload to i64 %64 = icmp sgt i64 %.lcssa.reload, %63 store i32 %sv_2.0.lcssa.reload, i32* %sv_2.2.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.4.reg2mem br i1 %64, label LBL_13, label LBL_29 LBL_13: %65 = call i64 @FUNC(i64 %4) %66 = trunc i64 %65 to i32 %67 = load i32, i32* %20, align 4 %68 = icmp eq i32 %67, %sv_7.1.lcssa.reload store i32 %66, i32* %sv_2.2.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.4.reg2mem br i1 %68, label LBL_29, label LBL_14 LBL_14: %69 = add i64 %18, 96 %70 = inttoptr i64 %69 to i64* %71 = add i64 %18, 16 %72 = inttoptr i64 %71 to i64* %73 = add i64 %18, 24 %74 = inttoptr i64 %73 to i32* store i32 0, i32* %sv_6.039.reg2mem store i32 0, i32* %sv_4.238.reg2mem store i32 %66, i32* %sv_2.137.reg2mem br label LBL_15 LBL_15: %sv_2.137.reload = load i32, i32* %sv_2.137.reg2mem %sv_4.238.reload = load i32, i32* %sv_4.238.reg2mem %sv_6.039.reload = load i32, i32* %sv_6.039.reg2mem %75 = load i64, i64* %70, align 8 %76 = call i64 @FUNC(i64 %4, i64 %75, i64 6, i64 2) %77 = trunc i64 %76 to i32 %78 = add i32 %77, 1 %79 = icmp eq i32 %77, 33 %80 = icmp eq i1 %79, false store i32 %78, i32* %sv_1.2.reg2mem br i1 %80, label LBL_17, label LBL_16 LBL_16: %81 = call i64 @FUNC(i64 %4, i64 12) %82 = trunc i64 %81 to i32 %83 = add i32 %78, %82 store i32 %83, i32* %sv_1.2.reg2mem br label LBL_17 LBL_17: %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %84 = icmp sgt i32 %sv_1.2.reload, 0 br i1 %84, label LBL_19, label LBL_18 LBL_18: %85 = add i32 %sv_1.2.reload, %sv_6.039.reload store i32 %85, i32* %.reg2mem78 store i32 %sv_4.238.reload, i32* %sv_4.1.lcssa67.reg2mem br label LBL_28 LBL_19: %86 = mul i32 %sv_2.137.reload, 2 store i32 0, i32* %sv_5.135.reg2mem store i32 %sv_4.238.reload, i32* %sv_4.134.reg2mem br label LBL_20 LBL_20: %sv_4.134.reload = load i32, i32* %sv_4.134.reg2mem %87 = load i32, i32* %20, align 4 %88 = zext i32 %87 to i64 %89 = sext i32 %sv_4.134.reload to i64 %90 = icmp slt i64 %89, %88 br i1 %90, label LBL_22, label LBL_21 LBL_21: %91 = add i64 %18, 32 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = call i64 @FUNC(i64 %93, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 2, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_49 LBL_22: %sv_5.135.reload = load i32, i32* %sv_5.135.reg2mem %95 = load i64, i64* %72, align 8 %96 = mul i64 %89, 4 %97 = add i64 %95, %96 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = icmp eq i32 %99, 0 %101 = icmp eq i1 %100, false store i32 %sv_5.135.reload, i32* %sv_5.0.reg2mem br i1 %101, label LBL_24, label LBL_23 LBL_23: store i32 %86, i32* %98, align 4 %102 = add i32 %sv_5.135.reload, 1 store i32 %102, i32* %sv_5.0.reg2mem br label LBL_24 LBL_24: %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem %103 = add i32 %sv_4.134.reload, 1 %104 = icmp slt i32 %sv_5.0.reload, %sv_1.2.reload store i32 %sv_5.0.reload, i32* %sv_5.135.reg2mem store i32 %103, i32* %sv_4.134.reg2mem br i1 %104, label LBL_20, label LBL_25 LBL_25: %105 = add i32 %sv_1.2.reload, %sv_6.039.reload %106 = load i32, i32* %74, align 4 %107 = icmp eq i32 %106, 0 %108 = icmp eq i32 %sv_1.2.reload, 34 %109 = icmp eq i1 %108, false %or.cond8 = or i1 %109, %107 store i32 %105, i32* %.reg2mem78 store i32 %103, i32* %sv_4.1.lcssa67.reg2mem br i1 %or.cond8, label LBL_28, label LBL_26 LBL_26: %110 = call i64 @FUNC(i64 %4) %111 = trunc i64 %110 to i32 store i32 %105, i32* %.reg2mem76 store i32 %103, i32* %sv_4.1.lcssa66.reg2mem store i32 %111, i32* %sv_2.1.be.reg2mem br label LBL_27 LBL_27: %sv_2.1.be.reload = load i32, i32* %sv_2.1.be.reg2mem %sv_4.1.lcssa66.reload = load i32, i32* %sv_4.1.lcssa66.reg2mem %.reload77 = load i32, i32* %.reg2mem76 %112 = load i32, i32* %20, align 4 %113 = sub i32 %112, %sv_7.1.lcssa.reload %114 = zext i32 %113 to i64 %115 = sext i32 %.reload77 to i64 %116 = icmp slt i64 %115, %114 store i32 %.reload77, i32* %sv_6.039.reg2mem store i32 %sv_4.1.lcssa66.reload, i32* %sv_4.238.reg2mem store i32 %sv_2.1.be.reload, i32* %sv_2.137.reg2mem store i32 %sv_2.1.be.reload, i32* %sv_2.2.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.4.reg2mem br i1 %116, label LBL_15, label LBL_29 LBL_28: %sv_4.1.lcssa67.reload = load i32, i32* %sv_4.1.lcssa67.reg2mem %.reload79 = load i32, i32* %.reg2mem78 %117 = xor i32 %sv_2.137.reload, 1 store i32 %.reload79, i32* %.reg2mem76 store i32 %sv_4.1.lcssa67.reload, i32* %sv_4.1.lcssa66.reg2mem store i32 %117, i32* %sv_2.1.be.reg2mem br label LBL_27 LBL_29: %sv_1.4.reload = load i32, i32* %sv_1.4.reg2mem %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem %118 = icmp eq i32 %sv_7.1.lcssa.reload, 0 store i64 %18, i64* %.pre-phi.reg2mem store i32 %sv_2.2.reload, i32* %sv_2.3.reg2mem store i32 %sv_1.4.reload, i32* %sv_1.5.reg2mem br i1 %118, label LBL_31, label LBL_30 LBL_30: %119 = call i64 @FUNC(i64 %4) %120 = trunc i64 %119 to i32 %121 = xor i32 %120, 1 store i64 %18, i64* %.pre-phi.reg2mem store i32 %121, i32* %sv_2.3.reg2mem store i32 0, i32* %sv_1.5.reg2mem br label LBL_31 LBL_31: %122 = ptrtoint i64* %sv_8 to i64 %sv_1.5.reload = load i32, i32* %sv_1.5.reg2mem %sv_2.3.reload = load i32, i32* %sv_2.3.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %123 = add i64 %.pre-phi.reload, 40 %124 = inttoptr i64 %123 to i32* store i32 0, i32* %124, align 4 %125 = add i64 %.pre-phi.reload, 44 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = add i64 %.pre-phi.reload, 48 %129 = inttoptr i64 %128 to i64* %130 = load i64, i64* %129, align 8 %131 = inttoptr i64 %130 to i64* %132 = call i64* @memset(i64* %131, i32 0, i32 %127) %133 = add i64 %122, -64 %134 = add i64 %.pre-phi.reload, 64 %135 = inttoptr i64 %134 to i64* %136 = add i64 %.pre-phi.reload, 16 %137 = inttoptr i64 %136 to i64* %138 = add i64 %.pre-phi.reload, 104 %139 = inttoptr i64 %138 to i64* %140 = add i64 %.pre-phi.reload, 72 %141 = inttoptr i64 %140 to i64* %142 = add i64 %.pre-phi.reload, 80 %143 = inttoptr i64 %142 to i64* %144 = add i64 %.pre-phi.reload, 88 %145 = inttoptr i64 %144 to i64* store i64 0, i64* %indvars.iv61.reg2mem store i32 %sv_1.5.reload, i32* %sv_1.1132.reg2mem store i32 %sv_2.3.reload, i32* %sv_2.931.reg2mem br label LBL_32 LBL_32: %sv_2.931.reload = load i32, i32* %sv_2.931.reg2mem %sv_1.1132.reload = load i32, i32* %sv_1.1132.reg2mem %indvars.iv61.reload = load i64, i64* %indvars.iv61.reg2mem %146 = mul i64 %indvars.iv61.reload, 4 %147 = add i64 %133, %146 %148 = inttoptr i64 %147 to i32* %149 = load i32, i32* %148, align 4 %150 = icmp eq i64 %indvars.iv61.reload, 0 %storemerge5.in.in.in.v = select i1 %150, i64 60, i64 56 %storemerge5.in.in.in = add i64 %storemerge5.in.in.in.v, %.pre-phi.reload %storemerge5.in.in = inttoptr i64 %storemerge5.in.in.in to i32* %storemerge5.in = load i32, i32* %storemerge5.in.in, align 4 %151 = add i32 %storemerge5.in, %149 %152 = icmp slt i32 %149, %151 %153 = mul i64 %indvars.iv61.reload, 8 store i32 %sv_2.931.reload, i32* %sv_2.8.lcssa.reg2mem store i32 %sv_1.1132.reload, i32* %sv_1.10.lcssa.reg2mem store i32 0, i32* %sv_0.2.lcssa.reg2mem br i1 %152, label LBL_33, label LBL_44 LBL_33: %154 = sext i32 %149 to i64 %wide.trip.count = sext i32 %151 to i64 store i64 %154, i64* %indvars.iv55.reg2mem store i32 0, i32* %sv_0.226.reg2mem store i32 %sv_1.1132.reload, i32* %sv_1.1025.reg2mem store i32 %sv_2.931.reload, i32* %sv_2.824.reg2mem br label LBL_43 LBL_34: %sv_2.720.reload = load i32, i32* %sv_2.720.reg2mem %sv_1.921.reload = load i32, i32* %sv_1.921.reg2mem %sv_0.122.reload = load i32, i32* %sv_0.122.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %155 = load i64, i64* %135, align 8 %156 = trunc i64 %indvars.iv.reload to i32 %157 = add i32 %193, %156 %158 = sext i32 %157 to i64 %159 = mul i64 %158, 4 %160 = add i64 %155, %159 %161 = inttoptr i64 %160 to i32* %162 = load i32, i32* %161, align 4 %163 = icmp eq i32 %162, -1 store i32 %sv_2.720.reload, i32* %sv_2.6.reg2mem store i32 %sv_1.921.reload, i32* %sv_1.8.reg2mem store i32 %sv_0.122.reload, i32* %sv_0.0.reg2mem br i1 %163, label LBL_41, label LBL_35 LBL_35: %164 = load i64, i64* %137, align 8 %165 = add i64 %164, %194 %166 = inttoptr i64 %165 to i32* %167 = load i32, i32* %166, align 4 %168 = icmp eq i32 %167, 2 %169 = icmp eq i1 %168, false store i32 %sv_2.720.reload, i32* %sv_2.5.reg2mem store i32 %sv_1.921.reload, i32* %sv_1.7.reg2mem store i32 %167, i32* %sv_3.0.reg2mem br i1 %169, label LBL_38, label LBL_36 LBL_36: %170 = add i32 %sv_1.921.reload, -1 %171 = icmp eq i32 %sv_1.921.reload, 0 %172 = icmp eq i1 %171, false store i32 %sv_2.720.reload, i32* %sv_2.5.reg2mem store i32 %170, i32* %sv_1.7.reg2mem store i32 %sv_2.720.reload, i32* %sv_3.0.reg2mem br i1 %172, label LBL_38, label LBL_37 LBL_37: %173 = xor i32 %sv_2.720.reload, 1 %174 = load i64, i64* %139, align 8 %175 = call i64 @FUNC(i64 %4, i64 %174, i64 5, i64 2) %176 = trunc i64 %175 to i32 store i32 %173, i32* %sv_2.5.reg2mem store i32 %176, i32* %sv_1.7.reg2mem store i32 %173, i32* %sv_3.0.reg2mem br label LBL_38 LBL_38: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_1.7.reload = load i32, i32* %sv_1.7.reg2mem %sv_2.5.reload = load i32, i32* %sv_2.5.reg2mem %177 = icmp eq i32 %sv_3.0.reload, 0 %178 = load i64, i64* %141, align 8 %179 = sext i32 %162 to i64 %180 = mul i64 %179, 4 %181 = add i64 %178, %180 %182 = inttoptr i64 %181 to i32* br i1 %177, label LBL_40, label LBL_39 LBL_39: store i32 1, i32* %182, align 4 %183 = load i64, i64* %143, align 8 %184 = add i64 %183, %153 %185 = inttoptr i64 %184 to i64* %186 = load i64, i64* %185, align 8 %187 = add i32 %sv_0.122.reload, 1 %188 = sext i32 %sv_0.122.reload to i64 %189 = mul i64 %188, 4 %190 = add i64 %186, %189 %191 = inttoptr i64 %190 to i32* store i32 %162, i32* %191, align 4 store i32 %sv_2.5.reload, i32* %sv_2.6.reg2mem store i32 %sv_1.7.reload, i32* %sv_1.8.reg2mem store i32 %187, i32* %sv_0.0.reg2mem br label LBL_41 LBL_40: store i32 0, i32* %182, align 4 store i32 %sv_2.5.reload, i32* %sv_2.6.reg2mem store i32 %sv_1.7.reload, i32* %sv_1.8.reg2mem store i32 %sv_0.122.reload, i32* %sv_0.0.reg2mem br label LBL_41 LBL_41: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.8.reload = load i32, i32* %sv_1.8.reg2mem %sv_2.6.reload = load i32, i32* %sv_2.6.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.122.reg2mem store i32 %sv_1.8.reload, i32* %sv_1.921.reg2mem store i32 %sv_2.6.reload, i32* %sv_2.720.reg2mem br i1 %exitcond, label LBL_42, label LBL_34 LBL_42: %indvars.iv.next56 = add nsw i64 %indvars.iv55.reload, 1 %exitcond57 = icmp eq i64 %indvars.iv.next56, %wide.trip.count store i64 %indvars.iv.next56, i64* %indvars.iv55.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.226.reg2mem store i32 %sv_1.8.reload, i32* %sv_1.1025.reg2mem store i32 %sv_2.6.reload, i32* %sv_2.824.reg2mem store i32 %sv_2.6.reload, i32* %sv_2.8.lcssa.reg2mem store i32 %sv_1.8.reload, i32* %sv_1.10.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.lcssa.reg2mem br i1 %exitcond57, label LBL_44, label LBL_43 LBL_43: %sv_2.824.reload = load i32, i32* %sv_2.824.reg2mem %sv_1.1025.reload = load i32, i32* %sv_1.1025.reg2mem %sv_0.226.reload = load i32, i32* %sv_0.226.reg2mem %indvars.iv55.reload = load i64, i64* %indvars.iv55.reg2mem %192 = trunc i64 %indvars.iv55.reload to i32 %193 = mul i32 %192, 16 %194 = mul i64 %indvars.iv55.reload, 4 store i64 0, i64* %indvars.iv.reg2mem store i32 %sv_0.226.reload, i32* %sv_0.122.reg2mem store i32 %sv_1.1025.reload, i32* %sv_1.921.reg2mem store i32 %sv_2.824.reload, i32* %sv_2.720.reg2mem br label LBL_34 LBL_44: %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem %sv_1.10.lcssa.reload = load i32, i32* %sv_1.10.lcssa.reg2mem %sv_2.8.lcssa.reload = load i32, i32* %sv_2.8.lcssa.reg2mem %195 = load i32, i32* %124, align 4 %196 = add i32 %195, %sv_0.2.lcssa.reload store i32 %196, i32* %124, align 4 store i64 0, i64* %indvars.iv58.reg2mem br label LBL_45 LBL_45: %indvars.iv58.reload = load i64, i64* %indvars.iv58.reg2mem %197 = load i64, i64* %145, align 8 %198 = add i64 %197, %153 %199 = inttoptr i64 %198 to i64* %200 = load i64, i64* %199, align 8 %201 = mul i64 %indvars.iv58.reload, 4 %202 = add i64 %200, %201 %203 = inttoptr i64 %202 to i32* store i32 %sv_0.2.lcssa.reload, i32* %203, align 4 %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58.reload, 1 %exitcond60 = icmp eq i64 %indvars.iv.next59, 64 store i64 %indvars.iv.next59, i64* %indvars.iv58.reg2mem br i1 %exitcond60, label LBL_46, label LBL_45 LBL_46: %204 = icmp ugt i64 %indvars.iv61.reload, 1 br i1 %204, label LBL_48, label LBL_47 LBL_47: %205 = load i64, i64* %143, align 8 %206 = add i64 %205, %153 %207 = inttoptr i64 %206 to i64* %208 = load i64, i64* %207, align 8 %209 = sext i32 %sv_0.2.lcssa.reload to i64 %210 = mul i64 %209, 4 %211 = add i64 %206, 8 %212 = add i64 %208, %210 %213 = inttoptr i64 %211 to i64* store i64 %212, i64* %213, align 8 br label LBL_48 LBL_48: %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61.reload, 1 %exitcond63 = icmp eq i64 %indvars.iv.next62, 3 store i64 %indvars.iv.next62, i64* %indvars.iv61.reg2mem store i32 %sv_1.10.lcssa.reload, i32* %sv_1.1132.reg2mem store i32 %sv_2.8.lcssa.reload, i32* %sv_2.931.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond63, label LBL_49, label LBL_32 LBL_49: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv55.reload, { 2, 1, 0 } uselistorder i32* %182, { 1, 0 } uselistorder i32 %sv_2.5.reload, { 1, 0 } uselistorder i32 %sv_1.7.reload, { 1, 0 } uselistorder i32 %sv_0.122.reload, { 0, 3, 2, 1 } uselistorder i32 %sv_1.921.reload, { 3, 2, 1, 0 } uselistorder i32 %sv_2.720.reload, { 4, 1, 2, 3, 0 } uselistorder i64 %153, { 2, 1, 0 } uselistorder i32 %149, { 1, 2, 0 } uselistorder i64 %indvars.iv61.reload, { 0, 1, 4, 2, 3 } uselistorder i32 %sv_1.1132.reload, { 1, 0 } uselistorder i32 %sv_2.931.reload, { 1, 0 } uselistorder i32* %124, { 1, 0, 2 } uselistorder i64 %.pre-phi.reload, { 9, 0, 2, 3, 1, 4, 5, 7, 6, 8 } uselistorder i32 %.reload77, { 1, 0 } uselistorder i32 %105, { 1, 0 } uselistorder i32 %103, { 1, 0, 2 } uselistorder i32 %sv_5.0.reload, { 1, 0 } uselistorder i32 %sv_5.135.reload, { 1, 0 } uselistorder i32 %sv_1.2.reload, { 0, 2, 5, 1, 4, 3 } uselistorder i32 %78, { 1, 0 } uselistorder i32 %sv_6.039.reload, { 1, 0 } uselistorder i32 %sv_4.238.reload, { 1, 0 } uselistorder i32 %66, { 1, 0 } uselistorder i32 %sv_7.1.lcssa.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_1.0.reload, { 0, 3, 2, 1, 4 } uselistorder i32 %32, { 1, 0 } uselistorder i32* %20, { 1, 0, 2, 5, 4, 3 } uselistorder i64 %18, { 1, 0, 4, 3, 5, 6, 2, 7, 8, 9, 10 } uselistorder i32 %17, { 1, 0 } uselistorder i64 %4, { 1, 0, 3, 2, 4, 5, 7, 6, 8, 9 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_7.144.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.043.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.042.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.be.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_6.039.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.238.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.137.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_5.135.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_4.134.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem76, { 2, 0, 1 } uselistorder i32* %sv_4.1.lcssa66.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.1.be.reg2mem, { 2, 0, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_2.3.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.5.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %indvars.iv61.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1132.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.931.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.122.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.921.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.720.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_2.6.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_1.8.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv58.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 1, { 1, 0, 2, 3, 4 } uselistorder i64 8, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder i1 false, { 2, 3, 0, 4, 5, 1, 6 } uselistorder i32 33, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @get_vlc2, { 2, 1, 0 } uselistorder i64 2, { 2, 0, 3, 1, 4 } uselistorder i64 (i64)* @get_bits1, { 3, 4, 1, 2, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0, 2 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_38, { 1, 0, 2 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
compute_default_clut_17395
compute_default_clut
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i1 %rax.0.lcssa.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %storemerge2.lcssa.reg2mem = alloca i32 %sv_0.215.reg2mem = alloca i32 %sv_1.216.reg2mem = alloca i32 %storemerge317.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i32 %sv_1.111.reg2mem = alloca i32 %storemerge412.reg2mem = alloca i32 %storemerge221.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.pre-phi31.reg2mem = alloca i64 %storemerge523.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %storemerge622.reg2mem = alloca i32 %.reg2mem = alloca i32 %1 = load i1, i1* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %2 = ptrtoint i64* %sv_4 to i64 %3 = bitcast i64* %sv_3 to i8* call void @FUNC(i8* nonnull %3, i64 0, i64 128) %4 = icmp sgt i32 %arg3, 0 %5 = trunc i64 %arg2 to i32 br i1 %4, label LBL_2, label LBL_0.LBL_9_crit_edge LBL_1: %.pre30 = add i64 %2, -1616 store i64 %.pre30, i64* %.pre-phi31.reg2mem br label LBL_9 LBL_2: %6 = icmp sgt i32 %5, 0 %7 = add i64 %2, -1616 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %storemerge523.reg2mem br label LBL_6 LBL_3: %storemerge622.reload = load i32, i32* %storemerge622.reg2mem %.reload = load i32, i32* %.reg2mem %9 = icmp eq i32 %storemerge622.reload, 0 %10 = add nuw nsw i32 %storemerge622.reload, 1 %11 = sub i32 %5, %10 %12 = xor i32 %11, -2147483648 %13 = and i32 %12, %5 %14 = icmp slt i32 %13, 0 %15 = icmp eq i32 %11, 0 %16 = icmp slt i32 %11, 0 %17 = icmp eq i1 %16, %14 %18 = icmp eq i1 %15, false %19 = icmp ne i1 %17, %18 %20 = icmp eq i1 %9, false %21 = icmp eq i1 %20, false %22 = icmp eq i1 %19, false %23 = icmp eq i1 %22, false %24 = zext i1 %21 to i64 %25 = zext i1 %23 to i64 %26 = add nuw nsw i64 %24, %46 %27 = add nuw nsw i64 %26, %25 %28 = icmp eq i64 %27, %49 %29 = icmp eq i1 %28, false %30 = zext i1 %29 to i32 %31 = add i32 %.reload, %30 %exitcond26 = icmp eq i32 %10, %5 store i32 %31, i32* %.reg2mem store i32 %10, i32* %storemerge622.reg2mem br i1 %exitcond26, label LBL_4, label LBL_3 LBL_4: store i32 %31, i32* %8, align 8 store i32 %33, i32* %.pre-phi.reg2mem br label LBL_5 LBL_5: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %exitcond27 = icmp eq i32 %.pre-phi.reload, %arg3 store i32 %.pre-phi.reload, i32* %storemerge523.reg2mem store i64 %7, i64* %.pre-phi31.reg2mem br i1 %exitcond27, label LBL_9, label LBL_6 LBL_6: %storemerge523.reload = load i32, i32* %storemerge523.reg2mem br i1 %6, label LBL_3.lr.ph, label LBL_6.LBL_5_crit_edge LBL_7: %.pre = add nuw nsw i32 %storemerge523.reload, 1 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_5 LBL_8: %32 = icmp eq i32 %storemerge523.reload, 0 %33 = add nuw nsw i32 %storemerge523.reload, 1 %34 = sub i32 %arg3, %33 %35 = xor i32 %33, %arg3 %36 = xor i32 %34, %arg3 %37 = and i32 %36, %35 %38 = icmp slt i32 %37, 0 %39 = icmp eq i32 %34, 0 %40 = icmp slt i32 %34, 0 %41 = icmp eq i1 %40, %38 %42 = icmp eq i1 %39, false %43 = icmp ne i1 %41, %42 %44 = icmp eq i1 %32, false %45 = icmp eq i1 %44, false %46 = zext i1 %45 to i64 %47 = icmp eq i1 %43, false %48 = icmp eq i1 %47, false %49 = sext i1 %48 to i64 %.promoted = load i32, i32* %8, align 8 store i32 %.promoted, i32* %.reg2mem store i32 0, i32* %storemerge622.reg2mem br label LBL_3 LBL_9: %50 = ptrtoint i64* %arg1 to i64 %51 = select i1 %1, i64 -1024, i64 1024 %.pre-phi31.reload = load i64, i64* %.pre-phi31.reg2mem %52 = ptrtoint i64* %sv_2 to i64 %53 = bitcast i64* %sv_2 to i8* %54 = add i64 %51, %52 %55 = icmp sgt i32 %5, 0 %56 = add i64 %50, 8 %57 = inttoptr i64 %56 to i64* %58 = add i64 %2, -336 %59 = add i64 %2, -592 %60 = add i64 %2, -2640 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge221.reg2mem br label LBL_10 LBL_10: %storemerge221.reload = load i32, i32* %storemerge221.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem call void @FUNC(i8* nonnull %53, i64 0, i64 128) store i32 0, i32* %storemerge317.reg2mem store i32 0, i32* %sv_1.216.reg2mem store i32 0, i32* %sv_0.215.reg2mem store i64 4294967295, i64* %rax.0.lcssa.reg2mem br i1 %4, label LBL_15, label LBL_23 LBL_11: %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %storemerge412.reload = load i32, i32* %storemerge412.reg2mem %61 = load i64, i64* %57, align 8 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = mul i32 %63, %storemerge317.reload %65 = add i32 %64, %storemerge412.reload %66 = sext i32 %65 to i64 %67 = add i64 %54, %66 %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = zext i8 %69 to i64 %71 = add i64 %58, %70 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = add nuw nsw i32 %storemerge412.reload, 1 %75 = icmp eq i8 %73, 0 %76 = icmp eq i1 %75, false store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br i1 %76, label LBL_13, label LBL_12 LBL_12: %77 = sub i32 %5, %74 %78 = zext i8 %69 to i32 %79 = icmp eq i32 %77, 0 %80 = icmp slt i32 %77, 0 %81 = xor i32 %77, -2147483648 %82 = and i32 %81, %5 %83 = icmp slt i32 %82, 0 %84 = icmp ne i1 %80, %83 %85 = or i1 %79, %84 %86 = zext i1 %85 to i32 %87 = icmp eq i32 %storemerge412.reload, 0 %88 = zext i1 %87 to i32 %89 = mul i64 %70, 4 %90 = add i64 %60, %89 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = add nuw nsw i32 %117, %88 %94 = add nuw nsw i32 %93, %86 %95 = add i32 %94, %92 store i32 %95, i32* %91, align 4 %96 = sext i32 %95 to i64 %97 = mul i64 %96, 1024 %98 = add i64 %89, %.pre-phi31.reload %99 = inttoptr i64 %98 to i32* %100 = load i32, i32* %99, align 4 %101 = sext i32 %100 to i64 %102 = udiv i64 %97, %101 %103 = trunc i64 %102 to i32 %104 = icmp slt i32 %sv_0.110.reload, %103 %spec.select = select i1 %104, i32 %103, i32 %sv_0.110.reload %spec.select7 = select i1 %104, i32 %78, i32 %sv_1.111.reload store i32 %spec.select, i32* %sv_0.0.reg2mem store i32 %spec.select7, i32* %sv_1.0.reg2mem br label LBL_13 LBL_13: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %exitcond = icmp eq i32 %74, %5 store i32 %74, i32* %storemerge412.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %exitcond, label LBL_14, label LBL_11 LBL_14: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %exitcond25 = icmp eq i32 %105, %arg3 store i32 %105, i32* %storemerge317.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.216.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.215.reg2mem br i1 %exitcond25, label LBL_17, label LBL_15 LBL_15: %sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem %sv_1.216.reload = load i32, i32* %sv_1.216.reg2mem %storemerge317.reload = load i32, i32* %storemerge317.reg2mem %105 = add nuw nsw i32 %storemerge317.reload, 1 store i32 %sv_0.215.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_1.216.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %55, label LBL_11.lr.ph, label LBL_14 LBL_16: %106 = sub i32 %arg3, %105 %107 = icmp eq i32 %106, 0 %108 = icmp slt i32 %106, 0 %109 = xor i32 %106, -2147483648 %110 = and i32 %109, %arg3 %111 = icmp slt i32 %110, 0 %112 = icmp ne i1 %108, %111 %113 = or i1 %107, %112 %114 = zext i1 %113 to i32 %115 = icmp eq i32 %storemerge317.reload, 0 %116 = zext i1 %115 to i32 %117 = add nuw nsw i32 %114, %116 store i32 0, i32* %storemerge412.reg2mem store i32 %sv_1.216.reload, i32* %sv_1.111.reg2mem store i32 %sv_0.215.reload, i32* %sv_0.110.reg2mem br label LBL_11 LBL_17: %118 = icmp eq i32 %sv_0.1.lcssa.reload, 0 br i1 %118, label LBL_19, label LBL_18 LBL_18: %119 = sext i32 %sv_1.1.lcssa.reload to i64 %120 = add i64 %58, %119 %121 = inttoptr i64 %120 to i8* store i8 1, i8* %121, align 1 %122 = trunc i32 %sv_1.1.lcssa.reload to i8 %123 = add i64 %indvars.iv.reload, %59 %124 = inttoptr i64 %123 to i8* store i8 %122, i8* %124, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %125 = add nuw nsw i32 %storemerge221.reload, 1 %126 = icmp ult i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %125, i32* %storemerge221.reg2mem store i32 %125, i32* %storemerge2.lcssa.reg2mem br i1 %126, label LBL_10, label LBL_20 LBL_19: %127 = trunc i64 %indvars.iv.reload to i32 store i32 %127, i32* %storemerge2.lcssa.reg2mem br label LBL_20 LBL_20: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %128 = add i32 %storemerge2.lcssa.reload, -1 %129 = zext i32 %128 to i64 %130 = icmp slt i32 %128, 0 %131 = icmp eq i1 %130, false store i64 %129, i64* %rax.0.lcssa.reg2mem br i1 %131, label LBL_21, label LBL_23 LBL_21: %132 = add i64 %54, 8 %133 = inttoptr i64 %132 to i64* store i32 %128, i32* %storemerge9.reg2mem br label LBL_22 LBL_22: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %134 = mul i32 %storemerge9.reload, 255 %135 = ashr i32 %134, 31 %136 = zext i32 %134 to i64 %137 = zext i32 %135 to i64 %138 = mul i64 %137, 4294967296 %139 = or i64 %138, %136 %140 = sdiv i64 %139, %129 %141 = trunc i64 %140 to i32 %142 = icmp slt i32 %141, 0 %143 = zext i1 %142 to i32 %144 = add i32 %143, %141 %145 = ashr i32 %144, 1 %146 = mul i32 %141, 256 %147 = udiv i32 %144, 2 %148 = mul i32 %147, 65536 %149 = mul i32 %141, 16777216 %150 = or i32 %149, %146 %151 = or i32 %150, %145 %152 = or i32 %151, %148 %153 = load i64, i64* %133, align 8 %154 = sext i32 %storemerge9.reload to i64 %155 = add i64 %59, %154 %156 = inttoptr i64 %155 to i8* %157 = load i8, i8* %156, align 1 %158 = zext i8 %157 to i64 %159 = mul i64 %158, 4 %160 = add i64 %159, %153 %161 = inttoptr i64 %160 to i32* store i32 %152, i32* %161, align 4 %storemerge = add i32 %storemerge9.reload, -1 %162 = icmp slt i32 %storemerge, 0 %163 = icmp eq i1 %162, false store i32 %storemerge, i32* %storemerge9.reg2mem store i64 %160, i64* %rax.0.lcssa.reg2mem br i1 %163, label LBL_22, label LBL_23 LBL_23: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i32 %141, { 0, 1, 3, 2 } uselistorder i32 %storemerge9.reload, { 2, 0, 1 } uselistorder i64 %129, { 1, 0 } uselistorder i32 %105, { 2, 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_1.1.lcssa.reload, { 2, 1, 0 } uselistorder i32 %103, { 1, 0 } uselistorder i64 %89, { 1, 0 } uselistorder i8 %69, { 1, 0 } uselistorder i32 %sv_1.111.reload, { 1, 0 } uselistorder i32 %sv_0.110.reload, { 1, 2, 0 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i64 %58, { 1, 0 } uselistorder i64 %54, { 1, 0 } uselistorder i32 %34, { 1, 2, 0 } uselistorder i32 %33, { 1, 2, 0 } uselistorder i32 %storemerge523.reload, { 1, 0, 2 } uselistorder i32 %31, { 1, 0 } uselistorder i32 %11, { 1, 2, 0 } uselistorder i32 %storemerge622.reload, { 1, 0 } uselistorder i32* %8, { 1, 0 } uselistorder i32 %5, { 2, 0, 4, 3, 5, 1, 7, 6 } uselistorder i64 %2, { 0, 2, 3, 4, 1 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge622.reg2mem, { 2, 1, 0 } uselistorder i32* %.pre-phi.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge221.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge412.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.111.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.110.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge317.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.216.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.215.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge2.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i1 false, { 5, 0, 6, 8, 1, 9, 2, 12, 7, 10, 3, 11, 4, 13 } uselistorder i32 -2147483648, { 0, 2, 1 } uselistorder i64 -1616, { 1, 0 } uselistorder i32 %arg3, { 0, 6, 4, 1, 2, 7, 3, 5 } uselistorder label LBL_23, { 1, 2, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
EC_GROUP_clear_free_11368
EC_GROUP_clear_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_5, label LBL_1 LBL_1: %1 = add i64 %arg1, 24 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %1) %.pr = load i64, i64* %4, align 8 %8 = icmp eq i64 %.pr, 0 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %.pr) br label LBL_4 LBL_4: %10 = add i64 %arg1, 16 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %arg1, i64 32) %13 = call i64 @FUNC(i64 %arg1) 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 %.pr, { 1, 0 } uselistorder i64 (i64)* @EC_EX_DATA_clear_free_all_data, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 4, 3, 5 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
spapr_cpu_core_realize_child_17085
spapr_cpu_core_realize_child
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %1 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 0) %9 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %1, i64 4198950) %10 = call i64 @FUNC(i64 %7, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %11 = load i64, i64* %sv_0, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0) %15 = load i64, i64* %sv_0, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %sv_0) %19 = load i64, i64* %sv_0, align 8 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %1, i64 %3, i64 %7) store i64 %22, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %23 = ptrtoint i64* %arg2 to i64 %24 = call i64 @FUNC(i64 %7) %25 = load i64, i64* %sv_0, align 8 %26 = call i64 @FUNC(i64 %23, i64 %25) store i64 %26, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0, { 3, 4, 0, 5, 1, 6, 2, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i8*, i64*)* @object_property_set_bool, { 1, 0 } }
1
BinRealVul
get_ucounts_11793
get_ucounts
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = call i64 @FUNC(i64* nonnull @gv_0) %4 = call i64 @FUNC(i64 %0, i64 %1, i64 %2) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_0.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 24, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_2, label LBL_6 LBL_2: %sext = mul i64 %arg2, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = inttoptr i64 %8 to i64* store i64 %0, i64* %12, align 8 %13 = trunc i64 %11 to i32 %14 = add i64 %8, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %8, 12 %17 = call i64 @FUNC(i64 %16, i64 0) %18 = call i64 @FUNC(i64* nonnull @gv_0) %19 = and i64 %11, 4294967295 %20 = call i64 @FUNC(i64 %0, i64 %19, i64 %2) %21 = icmp eq i64 %20, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = call i64 @FUNC(i64 %8) store i64 %20, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %23 = add i64 %8, 16 %24 = call i64 @FUNC(i64 %23, i64 %2) store i64 %8, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = add i64 %sv_0.0.reload, 12 %26 = call i64 @FUNC(i64 %25, i64 1, i64 2147483647) %27 = trunc i64 %26 to i8 %28 = icmp eq i8 %27, 1 %spec.select = select i1 %28, i64 %sv_0.0.reload, i64 0 %29 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %spec.select, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64*)* @spin_unlock_irq, { 1, 0 } uselistorder i64 (i64, i64, i64)* @find_ucounts, { 1, 0 } uselistorder i64 (i64*)* @spin_lock_irq, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
read_decode_block_1503
read_decode_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %1, i64 %0) store i64 %7, 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 } }
0
BinRealVul
perf_yield_14368
perf_yield
define i64 @FUNC() local_unnamed_addr { LBL_0: %sv_0 = alloca i32, align 4 store i32 100000000, i32* %sv_0, align 4 %0 = call i64 @FUNC(i64 4198795) %1 = call i64 @FUNC() br label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0) %3 = load i32, i32* %sv_0, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_2 LBL_2: %6 = call i128 @FUNC() %7 = call i64 @__asm_movq.1(i128 %6) %8 = call i128 @FUNC(i64 %7) %9 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 100000000) ret i64 %9 uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i32 1, { 4, 1, 0, 3, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
dvdsub_parse_18352
dvdsub_parse
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i32* %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi4.reg2mem = alloca i64* %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg6, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_0.LBL_6_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %2, 8 %.pre3 = inttoptr i64 %.pre to i64* %.pr = load i64, i64* %.pre3, align 8 store i64 %.pr, i64* %.reg2mem store i64* %.pre3, i64** %.pre-phi4.reg2mem br label LBL_6 LBL_2: %7 = trunc i64 %3 to i32 %8 = icmp sgt i32 %7, 1 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_12 LBL_3: %9 = ptrtoint i32* %arg5 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = icmp eq i32 %11, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = add i64 %9, 2 %17 = call i64 @FUNC(i64 %16) %18 = trunc i64 %17 to i32 store i32 %18, i32* %13, align 4 br label LBL_5 LBL_5: %19 = add i64 %2, 8 %20 = call i64 @FUNC(i64 %19) %21 = load i32, i32* %13, align 4 %22 = sext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22) %24 = inttoptr i64 %19 to i64* store i64 %23, i64* %24, align 8 store i64 %23, i64* %.reg2mem store i64* %24, i64** %.pre-phi4.reg2mem br label LBL_6 LBL_6: %.reload = load i64, i64* %.reg2mem %25 = icmp eq i64 %.reload, 0 br i1 %25, label LBL_11, label LBL_7 LBL_7: %26 = bitcast i64* %rdi to i32* %27 = load i32, i32* %26, align 8 %28 = trunc i64 %3 to i32 %29 = add i32 %27, %28 %30 = add i64 %2, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp ugt i32 %29, %32 br i1 %33, label LBL_10, label LBL_8 LBL_8: %34 = sext i32 %27 to i64 %35 = add i64 %.reload, %34 %36 = inttoptr i64 %35 to i64* %37 = bitcast i32* %arg5 to i64* %38 = call i64* @memcpy(i64* %36, i64* %37, i32 %28) %39 = bitcast i64* %arg1 to i32* store i32 %29, i32* %39, align 4 %40 = load i32, i32* %31, align 4 %41 = icmp ult i32 %27, %40 br i1 %41, label LBL_11, label LBL_9 LBL_9: %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem %42 = load i64, i64* %.pre-phi4.reload, align 8 store i64 %42, i64* %arg3, align 8 %43 = load i32, i32* %31, align 4 %44 = bitcast i64* %arg4 to i32* store i32 %43, i32* %44, align 4 store i32 0, i32* %39, align 4 %45 = and i64 %3, 4294967295 store i64 %45, i64* %rax.0.reg2mem br label LBL_12 LBL_10: %46 = bitcast i64* %arg1 to i32* store i32 0, i32* %46, align 4 br label LBL_11 LBL_11: store i64 0, i64* %arg3, align 8 %47 = bitcast i64* %arg4 to i32* store i32 0, i32* %47, align 4 %48 = and i64 %3, 4294967295 store i64 %48, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %28, { 1, 0 } uselistorder i32 %27, { 1, 2, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i32* %13, { 1, 0, 2 } uselistorder i64 %3, { 3, 1, 2, 0 } uselistorder i64 %2, { 3, 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32* %arg5, { 1, 0 } uselistorder label LBL_12, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
yop_paint_block_15609
yop_paint_block
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i8 %7 = inttoptr i64 %5 to i8* store i8 %6, i8* %7, align 1 %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 28 %9 = add i64 %8, ptrtoint (i32** @gv_0 to i64) %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 8 %12 = sext i32 %11 to i64 %13 = add i64 %12, %2 %14 = load i64, i64* %4, align 8 %15 = add i64 %14, 1 %16 = inttoptr i64 %13 to i8* %17 = load i8, i8* %16, align 1 %18 = inttoptr i64 %15 to i8* store i8 %17, i8* %18, align 1 %19 = add i64 %8, ptrtoint (i32** @gv_1 to i64) %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 8 %22 = sext i32 %21 to i64 %23 = add i64 %22, %2 %24 = load i64, i64* %4, align 8 %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = sext i32 %27 to i64 %29 = add i64 %24, %28 %30 = inttoptr i64 %23 to i8* %31 = load i8, i8* %30, align 1 %32 = inttoptr i64 %29 to i8* store i8 %31, i8* %32, align 1 %33 = add i64 %8, ptrtoint (i32** @gv_2 to i64) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 8 %36 = sext i32 %35 to i64 %37 = add i64 %36, %2 %38 = load i64, i64* %4, align 8 %39 = load i32, i32* %26, align 4 %40 = sext i32 %39 to i64 %41 = add i64 %38, 1 %42 = add i64 %41, %40 %43 = inttoptr i64 %37 to i8* %44 = load i8, i8* %43, align 1 %45 = inttoptr i64 %42 to i8* store i8 %44, i8* %45, align 1 %46 = add i64 %8, ptrtoint (i32** @gv_3 to i64) %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 8 %49 = sext i32 %48 to i64 %50 = add i64 %49, %2 store i64 %50, i64* %arg1, align 8 ret i64 %2 uselistorder i64 %2, { 4, 0, 1, 5, 2, 3, 6 } }
1
BinRealVul
av_opt_set_dict_1256
av_opt_set_dict
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 %2 = icmp eq i64* %arg2, null %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0, i64 0, i64 0) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %.reload = load i64, i64* %.reg2mem %8 = add i64 %.reload, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %.reload to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %arg1, i64 %12, i64 %10, i64 0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, -1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = load i64, i64* %9, align 8 %18 = load i64, i64* %11, align 8 %19 = call i64 @FUNC(i64* nonnull %sv_1, i64 %18, i64 %17, i64 0) store i64 %18, i64* %rsi.0.reg2mem br label LBL_6 LBL_4: %20 = icmp slt i32 %14, 0 %21 = icmp eq i1 %20, false store i64 %12, i64* %rsi.0.reg2mem br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = load i64, i64* %9, align 8 %23 = load i64, i64* %11, align 8 %24 = call i64 @FUNC(i64 %arg1, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %22, i64 %1) %phitmp = and i64 %13, 4294967295 store i64 %phitmp, i64* %sv_0.1.reg2mem br label LBL_7 LBL_6: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %25 = call i64 @FUNC(i64 %rsi.0.reload, i64* nonnull @gv_0, i64 %.reload, i64 0) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %27, label LBL_2, label LBL_7 LBL_7: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %28 = call i64 @FUNC(i64 %4) %29 = load i64, i64* %sv_1, align 8 store i64 %29, i64* %arg2, align 8 store i64 %sv_0.1.reload, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64*, i64, i64)* @av_dict_get, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i1 false, { 3, 1, 2, 0, 4 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
printDefineFont2_12435
printDefineFont2
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %storemerge29.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %indvars.iv20.reg2mem = alloca i64 %indvars.iv24.reg2mem = alloca i64 %indvars.iv28.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i32 %indvars.iv32.reg2mem = alloca i64 %sv_0.018.reg2mem = alloca i32 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) %3 = trunc i64 %2 to i32 %4 = urem i32 %3, 256 %5 = call i64 @FUNC() %6 = inttoptr i64 %5 to i8* %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* %6) %8 = icmp eq i32 %4, 0 %9 = icmp eq i1 %8, false store i32 %4, i32* %sv_0.018.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_1: %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem %10 = call i64 @FUNC(i64 %arg1) %11 = trunc i64 %10 to i32 %12 = urem i32 %11, 256 %13 = call i32 @putchar(i32 %12) %14 = add i32 %sv_0.018.reload, -1 %15 = icmp eq i32 %14, 0 %16 = icmp slt i32 %14, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 store i32 %14, i32* %sv_0.018.reg2mem br i1 %19, label LBL_1, label LBL_2 LBL_2: %20 = trunc i64 %0 to i32 %21 = call i32 @putchar(i32 10) %22 = call i64 @FUNC(i64 %arg1) %23 = trunc i64 %22 to i32 %24 = urem i32 %23, 65536 %25 = call i64 @FUNC() %26 = zext i32 %24 to i64 %27 = inttoptr i64 %25 to i8* %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %27, i64 %26) %29 = mul i32 %24, 4 %30 = call i64* @malloc(i32 %29) %31 = icmp eq i32 %24, 0 br i1 %31, label LBL_16, label LBL_3 LBL_3: %32 = ptrtoint i64* %30 to i64 %33 = urem i32 %20, 2 %34 = icmp eq i32 %33, 0 store i64 0, i64* %indvars.iv32.reg2mem br label LBL_4 LBL_4: %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = call i64 @FUNC(i64 %arg1) %36 = trunc i64 %35 to i32 store i32 %36, i32* %storemerge8.reg2mem br label LBL_7 LBL_6: %37 = call i64 @FUNC(i64 %arg1) %38 = trunc i64 %37 to i32 %39 = urem i32 %38, 65536 store i32 %39, i32* %storemerge8.reg2mem br label LBL_7 LBL_7: %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %40 = sub i32 %storemerge8.reload, %29 %41 = add i32 %40, -4 %42 = mul i64 %indvars.iv32.reload, 4 %43 = add i64 %42, %32 %44 = inttoptr i64 %43 to i32* store i32 %41, i32* %44, align 4 %45 = call i64 @FUNC() %46 = zext i32 %41 to i64 %47 = inttoptr i64 %45 to i8* %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i8* %47, i64 %indvars.iv32.reload, i64 %46) %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1 %exitcond35 = icmp eq i64 %indvars.iv.next33, %26 store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem store i64 0, i64* %indvars.iv28.reg2mem br i1 %exitcond35, label LBL_8, label LBL_4 LBL_8: %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem %49 = call i64 @FUNC() %50 = call i64 @FUNC() %51 = inttoptr i64 %50 to i8* %52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* %51, i64 %indvars.iv28.reload) %53 = call i64 @FUNC(i64 %arg1, i64 4) %54 = trunc i64 %53 to i32 store i32 %54, i32* %sv_2, align 4 %55 = call i64 @FUNC(i64 %arg1, i64 4) %56 = trunc i64 %55 to i32 store i32 %56, i32* %sv_1, align 4 %57 = call i64 @FUNC() br label LBL_9 LBL_9: %58 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_2, i32* nonnull %sv_1, i64 2) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false br i1 %61, label LBL_9, label LBL_10 LBL_10: %62 = call i32 @putchar(i32 10) %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1 %exitcond31 = icmp eq i64 %indvars.iv.next29, %26 store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem br i1 %exitcond31, label LBL_11, label LBL_8 LBL_11: %63 = and i32 %20, 2 %64 = icmp eq i32 %63, 0 store i64 0, i64* %indvars.iv24.reg2mem br label LBL_12 LBL_12: %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = call i64 @FUNC(i64 %arg1) %66 = call i64 @FUNC() %67 = urem i64 %65, 65536 %68 = inttoptr i64 %66 to i8* %69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i8* %68, i64 %indvars.iv24.reload, i64 %67) br label LBL_15 LBL_14: %70 = call i64 @FUNC(i64 %arg1) %71 = call i64 @FUNC() %72 = urem i64 %70, 256 %73 = inttoptr i64 %71 to i8* %74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i8* %73, i64 %indvars.iv24.reload, i64 %72) br label LBL_15 LBL_15: %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1 %exitcond27 = icmp eq i64 %indvars.iv.next25, %26 store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem br i1 %exitcond27, label LBL_16, label LBL_12 LBL_16: %75 = and i32 %20, 4 %76 = icmp eq i32 %75, 0 br i1 %76, label LBL_26, label LBL_17 LBL_17: %77 = call i64 @FUNC(i64 %arg1) %78 = call i64 @FUNC() %79 = and i64 %77, 4294967295 %80 = inttoptr i64 %78 to i8* %81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i8* %80, i64 %79) %82 = call i64 @FUNC(i64 %arg1) %83 = call i64 @FUNC() %84 = and i64 %82, 4294967295 %85 = inttoptr i64 %83 to i8* %86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i8* %85, i64 %84) %87 = call i64 @FUNC(i64 %arg1) %88 = call i64 @FUNC() %89 = and i64 %87, 4294967295 %90 = inttoptr i64 %88 to i8* %91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_7, i64 0, i64 0), i8* %90, i64 %89) store i64 0, i64* %indvars.iv20.reg2mem br i1 %31, label LBL_20, label LBL_18 LBL_18: %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %92 = call i64 @FUNC(i64 %arg1) %93 = and i64 %92, 4294967295 %94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 %indvars.iv20.reload, i64 %93) %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond23 = icmp eq i64 %indvars.iv.next21, %26 store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %exitcond23, label LBL_19, label LBL_18 LBL_19: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %95 = call i64 @FUNC() %96 = inttoptr i64 %95 to i8* %97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0), i8* %96, i64 %indvars.iv.reload) %98 = call i64 @FUNC(i64 %arg1) %99 = call i32 @putchar(i32 10) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond19 = icmp eq i64 %indvars.iv.next, %26 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond19, label LBL_20, label LBL_19 LBL_20: %100 = call i64 @FUNC(i64 %arg1) %101 = trunc i64 %100 to i32 %102 = urem i32 %101, 65536 %103 = icmp eq i32 %102, 0 br i1 %103, label LBL_26, label LBL_21 LBL_21: %104 = and i32 %20, 2 %105 = icmp eq i32 %104, 0 store i32 0, i32* %storemerge11.reg2mem br label LBL_22 LBL_22: %storemerge11.reload = load i32, i32* %storemerge11.reg2mem br i1 %105, label LBL_24, label LBL_23 LBL_23: %106 = call i64 @FUNC(i64 %arg1) %107 = urem i64 %106, 65536 %108 = call i64 @FUNC(i64 %arg1) %109 = urem i64 %108, 65536 store i64 %107, i64* %storemerge29.reg2mem store i64 %109, i64* %storemerge1.reg2mem br label LBL_25 LBL_24: %110 = call i64 @FUNC(i64 %arg1) %111 = urem i64 %110, 256 %112 = call i64 @FUNC(i64 %arg1) %113 = urem i64 %112, 256 store i64 %111, i64* %storemerge29.reg2mem store i64 %113, i64* %storemerge1.reg2mem br label LBL_25 LBL_25: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %storemerge29.reload = load i64, i64* %storemerge29.reg2mem %114 = call i64 @FUNC(i64 %arg1) %115 = call i64 @FUNC() %116 = and i64 %114, 4294967295 %117 = inttoptr i64 %115 to i8* %118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i8* %117, i64 %storemerge29.reload, i64 %storemerge1.reload, i64 %116) %119 = add nuw nsw i32 %storemerge11.reload, 1 %exitcond = icmp eq i32 %119, %102 store i32 %119, i32* %storemerge11.reg2mem br i1 %exitcond, label LBL_26, label LBL_22 LBL_26: %120 = call i32 @putchar(i32 10) %121 = sext i32 %120 to i64 ret i64 %121 uselistorder i32 %102, { 1, 0 } uselistorder i64 %indvars.iv24.reload, { 0, 2, 1 } uselistorder i32 %29, { 1, 0 } uselistorder i32 %24, { 2, 0, 1 } uselistorder i32 %20, { 2, 3, 1, 0 } uselistorder i32* %sv_0.018.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv32.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv28.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv20.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge29.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0, 2, 3, 4, 5 } uselistorder i64 (i64)* @readSInt16, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @readBits, { 1, 0 } uselistorder i64 ()* @byteAlign, { 1, 0 } uselistorder i64 1, { 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i32 2, { 2, 1, 0, 3, 4 } uselistorder i32 4, { 1, 0, 2 } uselistorder i32 65536, { 1, 2, 3, 0 } uselistorder i64 (i64)* @readUInt16, { 5, 4, 3, 2, 1, 0 } uselistorder i32 10, { 2, 1, 0, 3 } uselistorder i32 (i32)* @putchar, { 4, 3, 2, 0, 1 } uselistorder i1 false, { 2, 3, 1, 0 } uselistorder i32 0, { 0, 7, 1, 9, 8, 10, 11, 2, 12, 13, 3, 4, 5, 6 } uselistorder i32 (i8*, ...)* @printf, { 11, 10, 9, 6, 5, 4, 8, 7, 3, 2, 1, 0 } uselistorder i64 ()* @indent, { 10, 9, 6, 5, 4, 8, 7, 3, 2, 1, 0 } uselistorder i64 (i64)* @readUInt8, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 23, 18, 17, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12, 19, 13, 20, 14, 21, 15, 16, 22 } uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
proto_seq_show_7906
proto_seq_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg2, @gv_0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([9 x i8]* @gv_2 to i64), i64 ptrtoint ([5 x i8]* @gv_3 to i64), i64 ptrtoint ([8 x i8]* @gv_4 to i64), i64 ptrtoint ([7 x i8]* @gv_5 to i64)) br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) br label LBL_3 LBL_3: ret i64 0 uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @seq_printf, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
0
BinRealVul
crcitt_string_array_18180
crcitt_string_array
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i64 %rbx.1.lcssa.reg2mem = alloca i64 %rbx.0.lcssa.reg2mem = alloca i64 %rbx.05.reg2mem = alloca i64 %r14.06.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i64 %rbx.19.reg2mem = alloca i64 %storemerge10.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 store i64 %1, i64* %sv_1, align 8 store i32 4, i32* %sv_0, align 4 %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 0 store i64 0, i64* %storemerge10.reg2mem store i64 4294967295, i64* %rbx.19.reg2mem store i64 4294967295, i64* %rbx.1.lcssa.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %rbx.19.reload = load i64, i64* %rbx.19.reg2mem %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %sext2 = mul i64 %storemerge10.reload, 4294967296 %4 = ashr exact i64 %sext2, 28 %5 = add i64 %4, %0 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %rbx.19.reload, i64* %rbx.0.lcssa.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = zext i32 %8 to i64 %12 = inttoptr i64 %5 to i64* %13 = load i64, i64* %12, align 8 store i64 %11, i64* %storemerge47.reg2mem store i64 %13, i64* %r14.06.reg2mem store i64 %rbx.19.reload, i64* %rbx.05.reg2mem br label LBL_3 LBL_3: %rbx.05.reload = load i64, i64* %rbx.05.reg2mem %r14.06.reload = load i64, i64* %r14.06.reg2mem %storemerge47.reload = load i64, i64* %storemerge47.reg2mem %14 = inttoptr i64 %r14.06.reload to i8* %15 = load i8, i8* %14, align 1 %16 = urem i64 %rbx.05.reload, 65536 %17 = sext i8 %15 to i64 %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %18, i64 %16) %20 = and i64 %19, 4294967295 %21 = add i64 %r14.06.reload, 1 %22 = add nuw nsw i64 %storemerge47.reload, 4294967295 %23 = and i64 %22, 4294967295 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge47.reg2mem store i64 %21, i64* %r14.06.reg2mem store i64 %20, i64* %rbx.05.reg2mem store i64 %20, i64* %rbx.0.lcssa.reg2mem br i1 %25, label LBL_3, label LBL_4 LBL_4: %rbx.0.lcssa.reload = load i64, i64* %rbx.0.lcssa.reg2mem %26 = add nuw nsw i64 %storemerge10.reload, 1 %27 = and i64 %26, 4294967295 %28 = trunc i64 %26 to i32 %29 = icmp slt i32 %28, %2 store i64 %27, i64* %storemerge10.reg2mem store i64 %rbx.0.lcssa.reload, i64* %rbx.19.reg2mem store i64 %rbx.0.lcssa.reload, i64* %rbx.1.lcssa.reg2mem br i1 %29, label LBL_1, label LBL_5 LBL_5: %rbx.1.lcssa.reload = load i64, i64* %rbx.1.lcssa.reg2mem %30 = urem i64 %rbx.1.lcssa.reload, 65536 %31 = xor i64 %30, 65535 %32 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_0, i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, -1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0)) br label LBL_7 LBL_7: %37 = load i32, i32* %sv_0, align 4 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false store i32 %37, i32* %.lcssa.reg2mem br i1 %39, label LBL_8, label LBL_10 LBL_8: %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_9 LBL_9: %.reload = load i64, i64* %.reg2mem %40 = inttoptr i64 %.reload to i8* store i8 48, i8* %40, align 1 %41 = load i64, i64* %sv_1, align 8 %42 = add i64 %41, 1 store i64 %42, i64* %sv_1, align 8 %43 = load i32, i32* %sv_0, align 4 %44 = add i32 %43, -1 store i32 %44, i32* %sv_0, align 4 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false store i64 %42, i64* %.reg2mem store i32 %44, i32* %.lcssa.reg2mem br i1 %46, label LBL_9, label LBL_10 LBL_10: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %47 = zext i32 %.lcssa.reload to i64 ret i64 %47 uselistorder i32 %8, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %rbx.19.reload, { 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i64* %sv_1, { 2, 3, 0, 1, 4 } uselistorder i32* %sv_0, { 2, 3, 0, 1, 4 } uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder i64* %rbx.19.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i64* %r14.06.reg2mem, { 1, 0, 2 } uselistorder i64* %rbx.05.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0, 2 } uselistorder i1 false, { 2, 1, 4, 3, 0 } uselistorder i64 4294967295, { 6, 2, 3, 4, 5, 0, 1 } uselistorder i32 0, { 3, 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
init_paths_15572
init_paths
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_10, label LBL_1 LBL_1: %4 = inttoptr i64 %arg1 to i8* %5 = call i32 @strcmp(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_10, label LBL_2 LBL_2: %7 = icmp eq i8 %2, 47 br i1 %7, label LBL_6, label LBL_3 LBL_3: %8 = call i8* @getcwd(i8* null, i32 0) %9 = icmp eq i8* %8, null %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: call void @abort() unreachable LBL_5: %11 = ptrtoint i8* %8 to i64 %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64 %11) %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64* bitcast ([2 x i8]* @gv_0 to i64*)) %14 = inttoptr i64 %arg1 to i64* %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64* %14) %16 = bitcast i8* %8 to i64* call void @free(i64* %16) br label LBL_7 LBL_6: %17 = add i64 %arg1, 1 %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 4096, i64 %17) br label LBL_7 LBL_7: %19 = call i64 @FUNC(i64* nonnull @gv_1, i64 0, i64* nonnull %sv_0) store i64 %19, i64* @gv_2, align 8 %20 = call i64 @FUNC(i64 %19) store i64 %20, i64* @gv_2, align 8 %21 = add i64 %20, 16 %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 br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = add i64 %20, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28) %30 = load i64, i64* @gv_2, align 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = inttoptr i64 %32 to i64* call void @free(i64* %33) %34 = load i64, i64* @gv_2, align 8 %35 = inttoptr i64 %34 to i64* call void @free(i64* %35) store i64 0, i64* @gv_2, align 8 store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = call i64 @FUNC(i64 %20, i64 %20) store i64 %36, 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 i8* %8, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder void (i64*)* @free, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64, i64*)* @pstrcat, { 1, 0 } uselistorder i64 (i64*, i64, i64)* @pstrcpy, { 1, 0 } uselistorder i64 4096, { 2, 1, 0, 3 } uselistorder i32 0, { 2, 1, 3, 4, 0 } uselistorder [2 x i8]* @gv_0, { 1, 0 } uselistorder i32 1, { 4, 2, 1, 0, 3 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_10, { 2, 3, 1, 0 } }
1
BinRealVul
seek_to_sector_17017
seek_to_sector
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 20 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i64 %arg2 to i128 %7 = zext i32 %5 to i128 %8 = udiv i128 %6, %7 %9 = trunc i128 %8 to i32 %10 = add i64 %2, 16 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp ult i32 %12, %9 store i64 4294967295, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = add i64 %2, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = trunc i128 %8 to i64 %18 = mul i64 %17, 4 %19 = and i64 %18, 17179869180 %20 = add i64 %16, %19 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %24, label LBL_2, label LBL_3 LBL_2: %25 = urem i128 %6, %7 %26 = trunc i128 %25 to i32 %27 = trunc i64 %1 to i32 %28 = add i32 %22, %26 %29 = mul i32 %28, 512 %30 = call i32 @lseek(i32 %27, i32 %29, i32 0) %31 = sext i32 %30 to i64 %32 = zext i32 %29 to i64 %33 = icmp eq i64 %31, %32 %. = select i1 %33, i64 0, i64 4294967295 store i64 %., 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 i128 %8, { 1, 0 } }
1
BinRealVul
thr_recvfrom_4342
thr_recvfrom
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %0 = call i32 @socket(i32 2, i32 2, i32 0) %1 = icmp eq i32 %0, -1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_2: store i64 2, i64* %sv_2, align 8 %3 = call i16 @htons(i16 6543) %4 = bitcast i64* %sv_2 to %sockaddr* %5 = call i32 @bind(i32 %0, %sockaddr* nonnull %4, i32 16) %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_4: store i32 16, i32* %sv_1, align 4 %8 = call i32 @recvfrom(i32 %0, i64* nonnull %sv_0, i32 1, i32 0, %sockaddr* nonnull %4, i32* nonnull %sv_1) %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)) call void @exit(i32 1) unreachable LBL_6: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = sext i32 %11 to i64 ret i64 %12 uselistorder i32 16, { 1, 0 } uselistorder void (i32)* @exit, { 2, 1, 0 } uselistorder void (i8*)* @perror, { 2, 1, 0 } uselistorder i32 1, { 0, 1, 2, 3, 6, 5, 4 } }
0
BinRealVul
externalParEntProcessor_13598
externalParEntProcessor
define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg3 to i64 %3 = ptrtoint i8* %arg2 to i64 %sv_1 = alloca i8*, align 8 store i8* %arg2, i8** %sv_1, align 8 %4 = and i64 %1, 4294967295 %5 = bitcast i8** %sv_1 to i64* %6 = call i64 @FUNC(i64 %4, i64 %3, i64 %2, i64* nonnull %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp slt i32 %7, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 br i1 %12, label LBL_7, label LBL_1 LBL_1: %13 = add i64 %arg1, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = icmp eq i32 %7, -1 %or.cond = or i1 %18, %17 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: store i64 %3, i64* %arg4, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_3: store i64 1, i64* %rax.0.reg2mem br i1 %18, label LBL_10, label LBL_4 LBL_4: store i64 %3, i64* %.pre-phi.reg2mem store i32 %7, i32* %sv_0.0.reg2mem br i1 %10, label LBL_9, label LBL_5 LBL_5: store i64 %3, i64* %.pre-phi.reg2mem store i32 %7, i32* %sv_0.0.reg2mem store i64 2, i64* %rax.0.reg2mem switch i32 %7, label LBL_9 [ i32 -3, label LBL_6 i32 -2, label LBL_10 ] LBL_6: store i64 3, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %19 = icmp eq i32 %7, 1 %20 = icmp eq i1 %19, false store i64 %3, i64* %.pre-phi.reg2mem store i32 %7, i32* %sv_0.0.reg2mem br i1 %20, label LBL_9, label LBL_8 LBL_8: %21 = load i8*, i8** %sv_1, align 8 %22 = ptrtoint i8* %21 to i64 %23 = call i64 @FUNC(i64 %4, i64 %22, i64 %2, i64* nonnull %5) %24 = trunc i64 %23 to i32 store i64 %22, i64* %.pre-phi.reg2mem store i32 %24, i32* %sv_0.0.reg2mem br label LBL_9 LBL_9: %25 = bitcast i64* %rdi to i32* %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %26 = add i64 %arg1, 8 %27 = inttoptr i64 %26 to i64* store i64 4198769, i64* %27, align 8 %28 = load i8*, i8** %sv_1, align 8 %29 = ptrtoint i8* %28 to i64 %30 = load i32, i32* %25, align 8 %31 = call i64 @FUNC(i64 %arg1, i32 %30, i64 %.pre-phi.reload, i64 %2, i32 %sv_0.0.reload, i64 %29) store i64 %31, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %18, { 1, 0 } uselistorder i32 %7, { 0, 5, 3, 2, 1, 4, 7, 6 } uselistorder i64 %4, { 1, 0 } uselistorder i8** %sv_1, { 2, 1, 3, 0 } uselistorder i64 %3, { 0, 2, 1, 3, 4 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i1 false, { 1, 2, 3, 0 } uselistorder i64 (i64, i64, i64, i64*)* @XmlPrologTok, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 0 } uselistorder label LBL_10, { 2, 3, 0, 1, 4 } uselistorder label LBL_9, { 2, 3, 0, 1 } }
0
BinRealVul
sio_revents_18797
sio_revents
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i32, i32* %1 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = trunc i64 %2 to i32 %6 = icmp slt i32 %5, 2 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = bitcast i64* %sv_1 to %timeval* %8 = call i32 @gettimeofday(%timeval* nonnull %7, %timezone* null) br label LBL_2 LBL_2: %9 = ptrtoint i32* %arg1 to i64 %10 = add i64 %9, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i64 16, i64* %storemerge.reg2mem br i1 %13, label LBL_3, label LBL_6 LBL_3: %14 = bitcast i64* %rdi to i32* %15 = add i64 %9, 8 %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 %19 = load i32, i32* %14, align 8 %20 = icmp slt i32 %19, 2 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = trunc i64 %9 to i32 %22 = bitcast i64* %sv_0 to %timeval* %23 = call i32 @gettimeofday(%timeval* nonnull %22, %timezone* null) %24 = load i64, i64* %sv_1, align 8 %25 = add i64 %9, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = sub i64 %24, %27 %29 = trunc i64 %28 to i32 %30 = sext i32 %4 to i64 %31 = add i64 %9, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = sub i64 %30, %33 %35 = trunc i64 %34 to i32 %36 = icmp slt i64 %34, 0 %37 = icmp eq i1 %36, false %38 = add i32 %35, 1000000 %not. = icmp ne i1 %37, true %39 = sext i1 %not. to i32 %sv_2.0 = add i32 %39, %29 %sv_3.0 = select i1 %37, i32 %35, i32 %38 %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %sv_2.0, i32 %sv_3.0) %42 = load i64, i64* %sv_0, align 8 %43 = load i64, i64* %sv_1, align 8 %44 = sub i64 %42, %43 %45 = trunc i64 %44 to i32 %46 = sub i64 %3, %30 %47 = trunc i64 %46 to i32 %48 = icmp slt i64 %46, 0 %49 = icmp eq i1 %48, false %50 = add i32 %47, 1000000 %not.5 = icmp ne i1 %49, true %51 = sext i1 %not.5 to i32 %sv_2.1 = add i32 %45, %51 %sv_3.1 = select i1 %49, i32 %47, i32 %50 %52 = mul i32 %sv_2.1, 1000000 %53 = add i32 %52, %sv_3.1 %54 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %55 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %54, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i32 %21, i32 %53) br label LBL_5 LBL_5: %56 = and i64 %9, 4294967295 store i64 %56, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i1 %49, { 1, 0 } uselistorder i64 %46, { 1, 0 } uselistorder i1 %37, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64 %9, { 3, 0, 1, 2, 4, 5 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
mgt_run_cc_7562
mgt_run_cc
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %rdx.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8 %rdx.0.reg2mem = alloca i64 %.reg2mem7 = alloca i32 %.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %5 = load i32, i32* %1 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 store i64 2531918458572386094, i64* %sv_5, align 8 %6 = call i64 @FUNC(i64* nonnull %sv_5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i32* @__errno_location() %11 = load i32, i32* %10, align 4 %12 = call i8* @strerror(i32 %11) %13 = ptrtoint i8* %12 to i64 %14 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_5, i64 %13, i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_2: %15 = inttoptr i64 %arg1 to i8* %16 = call i32 @strlen(i8* %15) %17 = inttoptr i64 %arg1 to i64* %18 = call i32 @write(i32 %7, i64* %17, i32 %16) %19 = icmp eq i32 %18, %16 br i1 %19, label LBL_7, label LBL_3 LBL_3: %20 = call i32* @__errno_location() %21 = load i32, i32* %20, align 4 %22 = call i8* @strerror(i32 %21) %23 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i8* %22, i64* %17, i64 %3, i64 %2) %24 = bitcast i64* %sv_5 to i8* %25 = call i32 @unlink(i8* nonnull %24) %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 63, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_5 LBL_5: %28 = call i32 @close(i32 %7) %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_53, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_7: %31 = call i32 @close(i32 %7) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_9, label LBL_8 LBL_8: call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_9 LBL_9: %34 = bitcast i64* %sv_5 to i8* %35 = call i8* @strdup(i8* nonnull %34) %36 = icmp eq i8* %35, null %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_10 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_11 LBL_11: %38 = ptrtoint i8* %35 to i64 %39 = add i64 %38, 15 %40 = inttoptr i64 %39 to i8* store i8 111, i8* %40, align 1 %41 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_4, i64 1024, i64 0) %42 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_5, i64 %38) %43 = call i64 @FUNC(i64* nonnull %sv_3) %44 = ptrtoint i32* %sv_2 to i64 %45 = trunc i64 %44 to i32 %46 = insertvalue [2 x i32] undef, i32 %45, 0 %47 = call i32 @pipe([2 x i32] %46) %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = call i32* @__errno_location() %51 = load i32, i32* %50, align 4 %52 = call i8* @strerror(i32 %51) %53 = bitcast i8* %52 to i64* %54 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* %53, i64 %3, i64 %2) %55 = call i32 @unlink(i8* nonnull %34) %56 = bitcast i8* %35 to i64* call void @free(i64* %56) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_13: %57 = call i32 @fork() %58 = icmp slt i32 %57, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_19, label LBL_14 LBL_14: %60 = call i32* @__errno_location() %61 = load i32, i32* %60, align 4 %62 = call i8* @strerror(i32 %61) %63 = bitcast i8* %62 to i64* %64 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* %63, i64 %3, i64 %2) %65 = load i32, i32* %sv_2, align 4 %66 = call i32 @close(i32 %65) %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false br i1 %68, label LBL_16, label LBL_15 LBL_15: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_16 LBL_16: %69 = call i32 @close(i32 %5) %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false br i1 %71, label LBL_18, label LBL_17 LBL_17: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_18 LBL_18: %72 = call i32 @unlink(i8* nonnull %34) %73 = bitcast i8* %35 to i64* call void @free(i64* %73) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_19: %74 = icmp eq i32 %57, 0 %75 = icmp eq i1 %74, false br i1 %75, label LBL_31, label LBL_20 LBL_20: %76 = load i32, i32* %sv_2, align 4 %77 = call i32 @close(i32 %76) %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_22, label LBL_21 LBL_21: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_22 LBL_22: %80 = call i32 @close(i32 0) %81 = icmp eq i32 %80, 0 %82 = icmp eq i1 %81, false br i1 %82, label LBL_24, label LBL_23 LBL_23: call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_24 LBL_24: %83 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_13, i64 0, i64 0), i32 0) %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_26, label LBL_25 LBL_25: call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_14, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_26 LBL_26: %85 = call i32 @dup2(i32 %5, i32 1) %86 = icmp eq i32 %85, 1 br i1 %86, label LBL_28, label LBL_27 LBL_27: call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_15, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 89, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_28 LBL_28: %87 = call i32 @dup2(i32 %5, i32 2) %88 = icmp eq i32 %87, 2 br i1 %88, label LBL_30, label LBL_29 LBL_29: call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_16, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 90, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_30 LBL_30: %89 = call i32 (i8*, i8*, ...) @execl(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_17, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_17, i64 0, i64 0)) call void @_exit(i32 1) unreachable LBL_31: %90 = call i32 @close(i32 %5) %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false br i1 %92, label LBL_33, label LBL_32 LBL_32: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_11, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 93, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_33 LBL_33: br label LBL_34 LBL_34: %93 = load i32, i32* %sv_2, align 4 %94 = call i32 @read(i32 %93, i64* nonnull %sv_1, i32 128) store i32 %94, i32* %sv_0, align 4 %95 = icmp slt i32 %94, 1 store i32 %94, i32* %.reg2mem br i1 %95, label LBL_36, label LBL_35 LBL_35: %96 = zext i32 %94 to i64 %97 = inttoptr i64 %96 to i8* %98 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_18, i64 0, i64 0), i8* %97, i64* nonnull %sv_1, i64 %3, i64 %2) %.pre = load i32, i32* %sv_0, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_36 LBL_36: %.reload = load i32, i32* %.reg2mem %99 = icmp eq i32 %.reload, 0 %100 = icmp slt i32 %.reload, 0 %101 = icmp eq i1 %100, false %102 = icmp eq i1 %99, false %103 = icmp eq i1 %101, %102 br i1 %103, label LBL_34, label LBL_37 LBL_37: %104 = load i32, i32* %sv_2, align 4 %105 = call i32 @close(i32 %104) %106 = icmp eq i32 %105, 0 %107 = icmp eq i1 %106, false br i1 %107, label LBL_39, label LBL_38 LBL_38: call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) br label LBL_39 LBL_39: %108 = call i32 @unlink(i8* nonnull %34) %109 = call i32 @waitpid(i32 %57, i32* nonnull %sv_0, i32 0) %110 = icmp slt i32 %109, 0 %111 = icmp eq i1 %110, false br i1 %111, label LBL_41, label LBL_40 LBL_40: %112 = call i32* @__errno_location() %113 = load i32, i32* %112, align 4 %114 = call i8* @strerror(i32 %113) %115 = bitcast i8* %114 to i64* %116 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_19, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* %115, i64 %3, i64 %2) %117 = call i32 @unlink(i8* %35) %118 = bitcast i8* %35 to i64* call void @free(i64* %118) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_41: %119 = load i32, i32* %sv_0, align 4 %120 = and i32 %119, 65407 %121 = icmp eq i32 %120, 0 br i1 %121, label LBL_49, label LBL_42 LBL_42: %122 = bitcast i32* %sv_0 to i64* %123 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_20, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %122, i64 %3, i64 %2) %124 = load i32, i32* %sv_0, align 4 %125 = urem i32 %124, 128 %126 = icmp eq i32 %125, 0 %127 = icmp eq i1 %126, false store i32 %124, i32* %.reg2mem7 store i64 ptrtoint ([11 x i8]* @gv_1 to i64), i64* %rdx.0.reg2mem br i1 %127, label LBL_44, label LBL_43 LBL_43: %128 = udiv i32 %124, 256 %129 = urem i32 %128, 256 %130 = zext i32 %129 to i64 %131 = inttoptr i64 %130 to i8* %132 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_21, i64 0, i64 0), i8* %131, i64* nonnull %122, i64 %3, i64 %2) %.pre4 = load i32, i32* %sv_0, align 4 store i32 %.pre4, i32* %.reg2mem7 store i64 %130, i64* %rdx.0.reg2mem br label LBL_44 LBL_44: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %.reload8 = load i32, i32* %.reg2mem7 %133 = trunc i32 %.reload8 to i8 %134 = urem i8 %133, -128 %135 = add nuw i8 %134, 1 %136 = icmp ult i8 %135, 2 %137 = icmp slt i8 %135, 0 %138 = or i1 %136, %137 store i8 %133, i8* %.pre-phi.reg2mem store i64 %rdx.0.reload, i64* %rdx.1.reg2mem br i1 %138, label LBL_46, label LBL_45 LBL_45: %139 = urem i32 %.reload8, 128 %140 = zext i32 %139 to i64 %141 = inttoptr i64 %140 to i8* %142 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_22, i64 0, i64 0), i8* %141, i64* nonnull %122, i64 %3, i64 %2) %.pre5 = load i32, i32* %sv_0, align 4 %.pre6 = trunc i32 %.pre5 to i8 store i8 %.pre6, i8* %.pre-phi.reg2mem store i64 %140, i64* %rdx.1.reg2mem br label LBL_46 LBL_46: %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem %143 = icmp sgt i8 %.pre-phi.reload, -1 br i1 %143, label LBL_48, label LBL_47 LBL_47: %rdx.1.reload = load i64, i64* %rdx.1.reg2mem %144 = inttoptr i64 %rdx.1.reload to i8* %145 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_23, i64 0, i64 0), i8* %144, i64* nonnull %122, i64 %3, i64 %2) br label LBL_48 LBL_48: %146 = call i32 @unlink(i8* %35) %147 = bitcast i8* %35 to i64* call void @free(i64* %147) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_49: %148 = call i64* @dlopen(i8* %35, i32 2) %149 = icmp eq i64* %148, null %150 = icmp eq i1 %149, false br i1 %150, label LBL_51, label LBL_50 LBL_50: %151 = call i8* @dlerror() %152 = bitcast i8* %151 to i64* %153 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_24, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* %152, i64 %3, i64 %2) %154 = call i32 @unlink(i8* %35) %155 = bitcast i8* %35 to i64* call void @free(i64* %155) store i64 0, i64* %rax.0.reg2mem br label LBL_53 LBL_51: %156 = call i32 @dlclose(i64* %148) %157 = icmp eq i32 %156, 0 %158 = icmp eq i1 %157, false store i64 %38, i64* %rax.0.reg2mem br i1 %158, label LBL_53, label LBL_52 LBL_52: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_25, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i32 122, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0)) store i64 %38, i64* %rax.0.reg2mem br label LBL_53 LBL_53: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %135, { 1, 0 } uselistorder i32 %.reload8, { 1, 0 } uselistorder i32 %124, { 1, 0, 2 } uselistorder i64* %122, { 2, 1, 0, 3 } uselistorder i32 %.reload, { 1, 0 } uselistorder i32 %94, { 1, 0, 2, 3 } uselistorder i64 %38, { 1, 0, 2, 3 } uselistorder i8* %35, { 5, 4, 6, 8, 7, 3, 2, 1, 0, 9, 10 } uselistorder i8* %34, { 2, 1, 0, 3 } uselistorder i32 %7, { 1, 0, 2, 3 } uselistorder i32* %sv_2, { 4, 3, 2, 1, 0 } uselistorder i32* %sv_0, { 0, 1, 5, 3, 6, 4, 2, 7 } uselistorder i64 %4, { 6, 9, 8, 7, 10, 5, 4, 3, 2, 1, 0 } uselistorder i64 %3, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i8* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 9, 10, 8, 7, 6, 4, 3, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder i32 2, { 1, 0, 2 } uselistorder i32 (i32, i32)* @dup2, { 1, 0 } uselistorder i32 (i32)* @close, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @unlink, { 1, 4, 5, 6, 3, 0, 2 } uselistorder i64 (i64, i8*, i8*, i64*, i64, i64)* @vsb_printf, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder [11 x i8]* @gv_1, { 1, 0 } uselistorder i8* (i32)* @strerror, { 4, 3, 2, 1, 0 } uselistorder i32* ()* @__errno_location, { 1, 0, 2, 3, 4 } uselistorder i32 0, { 4, 5, 0, 6, 1, 7, 8, 9, 10, 11, 2, 12, 3, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_53, { 1, 0, 4, 5, 6, 7, 8, 3, 2, 9 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_33, { 1, 0 } }
1
BinRealVul
cfg_tilde_expand_19164
cfg_tilde_expand
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %sv_1.1.reg2mem = alloca i8* %sv_2.0.in.reg2mem = alloca %passwd* %sv_1.0.reg2mem = alloca i8* %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 126 %4 = icmp eq i1 %3, false br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = add i64 %arg1, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp ne i8 %7, 47 %9 = icmp eq i8 %7, 0 %10 = icmp eq i1 %9, false %or.cond = icmp eq i1 %8, %10 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %11 = call i32 @geteuid() %12 = call %passwd* @getpwuid(i32 %11) store %passwd* %12, %passwd** %sv_2.0.in.reg2mem store i8* %6, i8** %sv_1.1.reg2mem br label LBL_7 LBL_3: %13 = inttoptr i64 %arg1 to i8* %14 = call i8* @strchr(i8* %13, i32 47) %15 = icmp eq i8* %14, null %16 = icmp eq i1 %15, false store i8* %14, i8** %sv_1.0.reg2mem br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i32 @strlen(i8* %13) %18 = sext i32 %17 to i64 %19 = add i64 %18, %arg1 %20 = inttoptr i64 %19 to i8* store i8* %20, i8** %sv_1.0.reg2mem br label LBL_5 LBL_5: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %21 = ptrtoint i8* %sv_1.0.reload to i64 %22 = sub i64 %21, %arg1 %23 = trunc i64 %22 to i32 %24 = call i64* @malloc(i32 %23) %25 = icmp eq i64* %24, null %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_6, label LBL_12 LBL_6: %27 = bitcast i64* %24 to i8* %28 = xor i64 %arg1, 4294967295 %29 = add i64 %28, %21 %30 = trunc i64 %29 to i32 %31 = call i8* @strncpy(i8* %27, i8* %6, i32 %30) %32 = call %passwd* @getpwnam(i8* %27) call void @free(i64* %24) store %passwd* %32, %passwd** %sv_2.0.in.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.1.reg2mem br label LBL_7 LBL_7: %sv_2.0.in.reload = load %passwd*, %passwd** %sv_2.0.in.reg2mem %33 = icmp eq %passwd* %sv_2.0.in.reload, null br i1 %33, label LBL_10, label LBL_8 LBL_8: %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %sv_2.0 = ptrtoint %passwd* %sv_2.0.in.reload to i64 %34 = add i64 %sv_2.0, 32 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = inttoptr i64 %36 to i8* %38 = call i32 @strlen(i8* %37) %39 = call i32 @strlen(i8* %sv_1.1.reload) %40 = add i32 %38, 1 %41 = add i32 %40, %39 %42 = call i64* @malloc(i32 %41) %43 = icmp eq i64* %42, null %44 = icmp eq i1 %43, false store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_9, label LBL_12 LBL_9: %45 = bitcast i64* %42 to i8* %46 = load i64, i64* %35, align 8 %47 = inttoptr i64 %46 to i8* %48 = call i8* @strcpy(i8* %45, i8* %47) %49 = call i8* @strcat(i8* %45, i8* %sv_1.1.reload) store i8* %45, i8** %sv_0.1.reg2mem br label LBL_11 LBL_10: %50 = inttoptr i64 %arg1 to i8* %51 = call i8* @strdup(i8* %50) store i8* %51, i8** %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %52 = ptrtoint i8* %sv_0.1.reload to i64 store i64 %52, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %45, { 0, 2, 1 } uselistorder i64* %42, { 1, 0 } uselistorder i8* %sv_1.1.reload, { 1, 0 } uselistorder i8* %27, { 1, 0 } uselistorder i64* %24, { 0, 2, 1 } uselistorder i8* %6, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* null, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i64 %arg1, { 5, 1, 2, 0, 4, 3 } uselistorder label LBL_12, { 2, 0, 1 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
setup_common_14984
setup_common
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 256) %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0)) %3 = call i64 @FUNC(i64 0, i64 %arg1, i32 %0, i64 %2) ret i64 %3 }
1
BinRealVul
njs_module_path_19166
njs_module_path
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_3 = alloca i64, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64* %arg2, null store i32 0, i32* %sv_2.0.reg2mem store i64 %4, i64* %sv_1.0.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = add i64 %1, 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 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_10 LBL_2: %11 = add i64 %1, -1 %12 = add i64 %11, %8 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp eq i8 %14, 47 %16 = icmp eq i1 %15, false %17 = zext i1 %16 to i32 %18 = zext i1 %16 to i64 %spec.select = add i64 %8, %18 store i32 %17, i32* %sv_2.0.reg2mem store i64 %spec.select, i64* %sv_1.0.reg2mem br label LBL_3 LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %19 = icmp ult i64 %sv_1.0.reload, 4097 %20 = icmp ne i1 %19, true %21 = zext i1 %20 to i64 %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %24, label LBL_4, label LBL_10 LBL_4: %25 = bitcast i64* %sv_3 to i8* store i8* %25, i8** %sv_0.0.reg2mem br i1 %5, label LBL_7, label LBL_5 LBL_5: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %26 = add i64 %1, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = ptrtoint i64* %sv_3 to i64 %30 = call i64 @FUNC(i64 %29, i64 %1, i64 %28) %31 = inttoptr i64 %30 to i8* %32 = icmp eq i32 %sv_2.0.reload, 0 store i8* %31, i8** %sv_0.0.reg2mem br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = add i64 %30, 1 %34 = inttoptr i64 %33 to i8* store i8 47, i8* %31, align 1 store i8* %34, i8** %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %35 = load i64, i64* %3, align 8 %36 = ptrtoint i8* %sv_0.0.reload to i64 %37 = call i64 @FUNC(i64 %36, i64 %35, i64 %35) %38 = inttoptr i64 %37 to i8* store i8 0, i8* %38, align 1 %39 = add i64 %0, 16 %40 = inttoptr i64 %39 to i8* %41 = call i8* @realpath(i8* nonnull %25, i8* %40) %42 = icmp eq i8* %41, null %43 = icmp eq i1 %42, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %43, label LBL_8, label LBL_10 LBL_8: %44 = call i32 (i8*, i32, ...) @open(i8* %40, i32 0) %45 = add i64 %0, 4116 %46 = inttoptr i64 %45 to i32* store i32 %44, i32* %46, align 4 %47 = icmp slt i32 %44, 0 %48 = icmp eq i1 %47, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_10 LBL_9: %49 = add i64 %0, 4120 %50 = inttoptr i64 %49 to i64* store i64 %39, i64* %50, align 8 %51 = call i64 @FUNC(i64 %39) %52 = add i64 %0, 4128 %53 = inttoptr i64 %52 to i64* store i64 %51, i64* %53, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 0 } uselistorder i8* %31, { 1, 0 } uselistorder i8* %25, { 1, 0 } uselistorder i64 %1, { 2, 3, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i64, i64)* @njs_cpymem, { 1, 0 } uselistorder i8 47, { 1, 0 } uselistorder label LBL_10, { 4, 0, 1, 2, 3 } }
1
BinRealVul
kvm_log_start_1732
kvm_log_start
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 1, i64 1) ret i64 %0 uselistorder i64 1, { 1, 0 } }
0
BinRealVul
ahci_reg_init_13958
ahci_reg_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %storemerge34.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = bitcast i64* %rdi to i32* %4 = trunc i64 %1 to i32 %5 = add i32 %4, -1 %6 = or i32 %5, 8195 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = load i32, i32* %3, align 8 %10 = urem i32 %9, 32 %11 = icmp eq i32 %10, 0 %notmask = shl nsw i32 -1, %10 %12 = sub i32 0, %notmask %phitmp1 = sub i32 %12, 1 %storemerge = select i1 %11, i32 0, i32 %phitmp1 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* store i32 %storemerge, i32* %14, align 4 %15 = add i64 %2, 12 %16 = inttoptr i64 %15 to i32* store i32 65536, i32* %16, align 4 %17 = load i32, i32* %3, align 8 %18 = icmp eq i32 %17, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %18, label LBL_3, label LBL_1 LBL_1: %19 = add i64 %2, 16 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge34.reg2mem br label LBL_2 LBL_2: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %.reload = load i64, i64* %.reg2mem %20 = mul i64 %.reload, 4 %21 = add i64 %19, %20 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i32 %storemerge34.reload, 1 %24 = load i32, i32* %3, align 8 %25 = zext i32 %24 to i64 %26 = sext i32 %23 to i64 %27 = icmp slt i64 %26, %25 store i64 %26, i64* %.reg2mem store i32 %23, i32* %storemerge34.reg2mem store i64 %25, i64* %.lcssa.reg2mem br i1 %27, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %3, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge34.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 0, 2, 3, 1, 4 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ogg_read_header_17605
ogg_read_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3, i64 4096) %6 = call i64 @FUNC(i64 %3, i64 %5, i64 4096) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp slt i32 %7, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_5 LBL_1: %13 = call i64 @FUNC(i64 %3, i64 4096) %14 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1) %15 = call i64 @FUNC(i64* nonnull %sv_1) %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %1, i64 %16) %18 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) %19 = call i64 @FUNC(i64 %1, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %21, label LBL_2, label LBL_5 LBL_2: %22 = inttoptr i64 %19 to i32* %23 = call i64 @FUNC(i64 %19, i64 60, i64 1, i64 1000000) store i32 1, i32* %22, align 4 %24 = add i64 %19, 4 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 %26 = bitcast i32* %sv_0 to i64* %27 = add i64 %19, 8 %28 = inttoptr i64 %27 to i32* %29 = add i64 %19, 16 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %2 to i64* store i32 0, i32* %storemerge3.reg2mem br label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %1, i64* nonnull %26) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %34, label LBL_4, label LBL_5 LBL_4: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %35 = load i32, i32* %28, align 4 %36 = load i32, i32* %sv_0, align 4 %37 = add i32 %35, 2 %38 = add i32 %37, %36 store i32 %38, i32* %28, align 4 %39 = sext i32 %38 to i64 %40 = load i64, i64* %30, align 8 %41 = call i64 @FUNC(i64 %40, i64 %39) store i64 %41, i64* %30, align 8 %42 = load i32, i32* %28, align 4 %43 = sext i32 %42 to i64 %44 = load i32, i32* %sv_0, align 4 %45 = sext i32 %44 to i64 %46 = sub nsw i64 %43, %45 %47 = add i64 %46, %41 %48 = add i64 %47, -2 %49 = udiv i32 %44, 256 %50 = add i64 %47, -1 %51 = trunc i32 %49 to i8 %52 = inttoptr i64 %48 to i8* store i8 %51, i8* %52, align 1 %53 = load i32, i32* %sv_0, align 4 %54 = trunc i32 %53 to i8 %55 = inttoptr i64 %50 to i8* store i8 %54, i8* %55, align 1 %56 = load i32, i32* %sv_0, align 4 %57 = inttoptr i64 %47 to i64* %58 = call i64* @memcpy(i64* %57, i64* %31, i32 %56) %59 = add nuw nsw i32 %storemerge3.reload, 1 %60 = icmp ult i32 %59, 3 store i32 %59, i32* %storemerge3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %60, label LBL_3, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %7, { 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i64 4294967295, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
crcitt_string_array_4554
crcitt_string_array
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i32* %r12.1.lcssa.reg2mem = alloca i64 %r12.0.lcssa.reg2mem = alloca i64 %r12.07.reg2mem = alloca i64 %r14.08.reg2mem = alloca i64 %storemerge69.reg2mem = alloca i64 %r12.111.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32*, align 8 store i32* %arg1, i32** %sv_1, align 8 store i32 4, i32* %sv_0, align 4 %1 = trunc i64 %arg3 to i32 %2 = icmp sgt i32 %1, 0 store i64 0, i64* %storemerge12.reg2mem store i64 4294967295, i64* %r12.111.reg2mem store i64 4294967295, i64* %r12.1.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_6 LBL_1: %r12.111.reload = load i64, i64* %r12.111.reg2mem %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %sext3 = mul i64 %storemerge12.reload, 4294967296 %3 = ashr exact i64 %sext3, 28 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %8, false store i64 %r12.111.reload, i64* %r12.1.lcssa.reg2mem br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = add i64 %4, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %r12.111.reload, i64* %r12.0.lcssa.reg2mem br i1 %14, label LBL_3, label LBL_5 LBL_3: %15 = zext i32 %12 to i64 store i64 %15, i64* %storemerge69.reg2mem store i64 %6, i64* %r14.08.reg2mem store i64 %r12.111.reload, i64* %r12.07.reg2mem br label LBL_4 LBL_4: %r12.07.reload = load i64, i64* %r12.07.reg2mem %r14.08.reload = load i64, i64* %r14.08.reg2mem %storemerge69.reload = load i64, i64* %storemerge69.reg2mem %16 = inttoptr i64 %r14.08.reload to i8* %17 = load i8, i8* %16, align 1 %18 = sext i8 %17 to i64 %19 = urem i64 %18, 65536 %.masked = and i64 %r12.07.reload, 4294967295 %20 = xor i64 %19, %.masked %21 = add i64 %r14.08.reload, 1 %22 = add nuw nsw i64 %storemerge69.reload, 4294967295 %23 = and i64 %22, 4294967295 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge69.reg2mem store i64 %21, i64* %r14.08.reg2mem store i64 %20, i64* %r12.07.reg2mem store i64 %20, i64* %r12.0.lcssa.reg2mem br i1 %25, label LBL_4, label LBL_5 LBL_5: %r12.0.lcssa.reload = load i64, i64* %r12.0.lcssa.reg2mem %26 = add nuw nsw i64 %storemerge12.reload, 1 %27 = and i64 %26, 4294967295 %28 = trunc i64 %26 to i32 %29 = icmp slt i32 %28, %1 store i64 %27, i64* %storemerge12.reg2mem store i64 %r12.0.lcssa.reload, i64* %r12.111.reg2mem store i64 %r12.0.lcssa.reload, i64* %r12.1.lcssa.reg2mem br i1 %29, label LBL_1, label LBL_6 LBL_6: %r12.1.lcssa.reload = load i64, i64* %r12.1.lcssa.reg2mem %30 = urem i64 %r12.1.lcssa.reload, 65536 %31 = xor i64 %30, 65535 %32 = bitcast i32** %sv_1 to i64* %33 = call i64 @FUNC(i64* nonnull %32, i32* nonnull %sv_0, i64 %31) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, -1 %36 = icmp eq i1 %35, false br i1 %36, label LBL_8, label LBL_7 LBL_7: %37 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %38 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_1 to i64*), i32 1, i32 29, %_IO_FILE* %37) br label LBL_8 LBL_8: %39 = load i32, i32* %sv_0, align 4 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false store i32 %39, i32* %.lcssa.reg2mem br i1 %41, label LBL_9, label LBL_11 LBL_9: %.pre = load i32*, i32** %sv_1, align 8 store i32* %.pre, i32** %.reg2mem br label LBL_10 LBL_10: %.reload = load i32*, i32** %.reg2mem %42 = bitcast i32* %.reload to i8* store i8 48, i8* %42, align 1 %43 = load i32*, i32** %sv_1, align 8 %44 = ptrtoint i32* %43 to i64 %45 = add i64 %44, 1 %46 = inttoptr i64 %45 to i32* store i32* %46, i32** %sv_1, align 8 %47 = load i32, i32* %sv_0, align 4 %48 = add i32 %47, -1 store i32 %48, i32* %sv_0, align 4 %49 = icmp eq i32 %48, 0 %50 = icmp eq i1 %49, false store i32* %46, i32** %.reg2mem store i32 %48, i32* %.lcssa.reg2mem br i1 %50, label LBL_10, label LBL_11 LBL_11: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %51 = zext i32 %.lcssa.reload to i64 ret i64 %51 uselistorder i32 %12, { 1, 0 } uselistorder i64 %r12.111.reload, { 2, 1, 0 } uselistorder i32 %1, { 1, 0 } uselistorder i32** %sv_1, { 3, 2, 0, 4, 1 } uselistorder i32* %sv_0, { 2, 3, 0, 1, 4 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i64* %r12.111.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge69.reg2mem, { 1, 0, 2 } uselistorder i64* %r14.08.reg2mem, { 1, 0, 2 } uselistorder i64* %r12.07.reg2mem, { 1, 0, 2 } uselistorder i64* %r12.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0, 2 } uselistorder i1 false, { 3, 1, 4, 5, 0, 6, 2 } uselistorder i64 4294967295, { 5, 2, 3, 4, 0, 1 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
ff_h264_decode_sei_2856
ff_h264_decode_sei
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp sgt i32 %5, 16 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_19 LBL_1: %7 = urem i64 %3, 2 %8 = icmp eq i64 %7, 0 br label LBL_2.preheader LBL_2: %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = icmp sgt i32 %10, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_19 LBL_3: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %12 = call i64 @FUNC(i64 %3, i64 8) %13 = trunc i64 %12 to i32 %14 = add i32 %sv_1.0.reload, %13 %15 = call i64 @FUNC(i64 %3, i64 8) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 255 store i32 %14, i32* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br i1 %17, label LBL_2, label LBL_4 LBL_4: %18 = call i64 @FUNC(i64 %3) %19 = trunc i64 %18 to i32 %20 = icmp sgt i32 %19, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_5, label LBL_19 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = call i64 @FUNC(i64 %3, i64 8) %22 = trunc i64 %21 to i32 %23 = add i32 %sv_0.0.reload, %22 %24 = call i64 @FUNC(i64 %3, i64 8) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 255 store i32 %23, i32* %sv_0.0.reg2mem br i1 %26, label LBL_4, label LBL_6 LBL_6: br i1 %8, label LBL_6.LBL_9_crit_edge, label LBL_8 LBL_7: %.pre = zext i32 %14 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_9 LBL_8: %27 = zext i32 %23 to i64 %28 = zext i32 %14 to i64 %29 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %27, i64 %1) store i64 %28, i64* %.pre-phi.reg2mem br label LBL_9 LBL_9: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem store i64 %.pre-phi.reload, i64* @0, align 8 switch i32 %14, label LBL_16 [ i32 1, label LBL_10 i32 2, label LBL_11 i32 3, label LBL_12 i32 4, label LBL_13 i32 5, label LBL_14 i32 6, label LBL_15 ] LBL_10: %30 = call i64 @FUNC(i64 %2) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %33, label LBL_17, label LBL_19 LBL_11: %34 = zext i32 %23 to i64 %35 = call i64 @FUNC(i64 %2, i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %38, label LBL_17, label LBL_19 LBL_12: %39 = zext i32 %23 to i64 %40 = call i64 @FUNC(i64 %2, i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %43, label LBL_17, label LBL_19 LBL_13: %44 = call i64 @FUNC(i64 %2) %45 = trunc i64 %44 to i32 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %47, label LBL_17, label LBL_19 LBL_14: %48 = call i64 @FUNC(i64 %2) %49 = trunc i64 %48 to i32 %50 = icmp slt i32 %49, 0 %51 = icmp eq i1 %50, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %51, label LBL_17, label LBL_19 LBL_15: %52 = zext i32 %23 to i64 %53 = call i64 @FUNC(i64 %2, i64 %52) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %56, label LBL_16, label LBL_19 LBL_16: %57 = mul i32 %23, 8 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %3, i64 %58) br label LBL_17 LBL_17: %60 = call i64 @FUNC(i64 %3) %61 = call i64 @FUNC(i64 %3) %62 = trunc i64 %61 to i32 %63 = icmp sgt i32 %62, 16 store i64 0, i64* %rax.0.reg2mem br i1 %63, label LBL_2.preheader, label LBL_19 LBL_18: store i32 0, i32* %sv_1.0.reg2mem br label LBL_2 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %23, { 1, 4, 3, 2, 5, 0 } uselistorder i32 %14, { 1, 3, 2, 0 } uselistorder i64 %3, { 11, 3, 4, 1, 5, 6, 7, 8, 9, 10, 0, 2 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 0, 6 } uselistorder i32* %sv_1.0.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 9, 8, 10 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder i64 (i64, i64)* @show_bits, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i64 (i64)* @get_bits_left, { 1, 3, 2, 0 } uselistorder label LBL_19, { 6, 5, 4, 3, 2, 1, 0, 8, 7, 9 } uselistorder label LBL_2.preheader, { 1, 0 } uselistorder label LBL_17, { 5, 0, 1, 2, 3, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ecc_init_3126
ecc_init
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %arg3) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3, i64 0, i64 %arg2) %5 = call i64 @FUNC(i64 %3, i64 0, i64 %arg1) %6 = icmp eq i32 %arg3, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %arg1, 4096 %9 = call i64 @FUNC(i64 %3, i64 1, i64 %8) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64, i64, i64)* @sysbus_mmio_map, { 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0 } uselistorder i32 %arg3, { 1, 0 } }
0
BinRealVul
shpc_interrupt_update_16398
shpc_interrupt_update
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i32 %storemerge47.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = zext i32 %3 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge47.reg2mem store i32 0, i32* %sv_0.16.reg2mem br label LBL_2 LBL_2: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %.reload = load i64, i64* %.reg2mem %6 = add i64 %.reload, %0 %7 = inttoptr i64 %6 to i8* %8 = load i8, i8* %7, align 1 %9 = add i64 %6, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = sub i8 0, %11 %13 = sub i8 %12, 1 %14 = and i8 %8, %13 %15 = icmp eq i8 %14, 0 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = urem i32 %storemerge47.reload, 32 %17 = shl i32 1, %16 %18 = or i32 %17, %sv_0.16.reload store i32 %18, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = add i32 %storemerge47.reload, 1 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %20, %5 store i64 %20, i64* %.reg2mem store i32 %19, i32* %storemerge47.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %21, label LBL_2, label LBL_5 LBL_5: %22 = trunc i64 %0 to i32 %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %23 = urem i32 %22, 2 %24 = icmp eq i32 %23, 0 store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = and i32 %22, 2 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false %28 = or i32 %sv_0.1.lcssa.reload, 4 %spec.select = select i1 %27, i32 %sv_0.1.lcssa.reload, i32 %28 store i32 %spec.select, i32* %sv_0.2.reg2mem br label LBL_7 LBL_7: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %29 = add i64 %0, 4 %30 = inttoptr i64 %29 to i32* store i32 %sv_0.2.reload, i32* %30, align 4 %31 = and i32 %22, 8 %32 = icmp eq i32 %31, 0 %33 = icmp ne i32 %sv_0.2.reload, 0 %not.or.cond = icmp eq i1 %32, %33 %storemerge = zext i1 %not.or.cond to i32 %34 = add i64 %0, 12 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, %storemerge br i1 %37, label LBL_9, label LBL_8 LBL_8: %38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 0) br label LBL_10 LBL_9: %39 = zext i1 %not.or.cond to i64 %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %39) br label LBL_10 LBL_10: store i32 %storemerge, i32* %35, align 4 ret i64 %0 uselistorder i32 %storemerge, { 1, 0 } uselistorder i1 %not.or.cond, { 1, 0 } uselistorder i32 %sv_0.2.reload, { 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 2, 0 } uselistorder i32 %22, { 2, 1, 0 } uselistorder i32 %sv_0.16.reload, { 1, 0 } uselistorder i64 %0, { 3, 4, 1, 2, 0, 5 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 1, 2, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
xfrm_replay_verify_len_11472
xfrm_replay_verify_len
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp ne i64* %arg1, null %1 = icmp eq i64* %arg2, null %2 = icmp eq i1 %1, false %or.cond = icmp eq i1 %0, %2 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_3 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %3) %sext = mul i64 %5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = icmp sgt i64 %7, %6 store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = trunc i64 %5 to i32 %11 = call i64 @FUNC(i64 %9) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %10, %12 %spec.select = select i1 %13, i64 0, i64 4294967274 ret i64 %spec.select LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64 (i64)* @xfrm_replay_state_esn_len, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
axfm_13300
axfm
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.03.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 -1) %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_7, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %4) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 1 br i1 %8, label LBL_7, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %4, i64 4198839) %10 = inttoptr i64 %4 to i64* %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp ne i64 %13, 0 %15 = icmp eq i1 %14, false store i64 0, i64* %storemerge4.reg2mem store i64 -1, i64* %sv_0.03.reg2mem br i1 %15, label LBL_7, label LBL_6 LBL_3: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %16 = inttoptr i64 %39 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %sv_0.03.reload, %17 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %3, i64 %17) %22 = icmp eq i64 %21, 0 %storemerge2 = select i1 %22, i64 ptrtoint (i64* @gv_0 to i64), i64 %21 %23 = load i64, i64* %16, align 8 %24 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %storemerge2, i64 %23, i64 %2, i64 %1) br label LBL_5 LBL_5: %25 = add i64 %39, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %3, i64 %27) %29 = icmp eq i64 %28, 0 %storemerge1 = select i1 %29, i64 ptrtoint (i64* @gv_0 to i64), i64 %28 %30 = load i64, i64* %26, align 8 %31 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %storemerge1, i64 %30, i64 %2, i64 %1) %32 = load i64, i64* %16, align 8 %33 = add i64 %storemerge4.reload, 1 %34 = load i64, i64* %12, align 8 %35 = icmp ult i64 %33, %34 %36 = icmp eq i1 %35, false store i64 %33, i64* %storemerge4.reg2mem store i64 %32, i64* %sv_0.03.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %37 = load i64, i64* %10, align 8 %38 = mul i64 %storemerge4.reload, 16 %39 = add i64 %37, %38 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_3, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %4) ret i64 %42 uselistorder i64 %39, { 2, 1, 0 } uselistorder i64 %storemerge4.reload, { 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i64* %16, { 1, 0, 2 } uselistorder i64* %12, { 1, 0 } uselistorder i64 %4, { 3, 0, 1, 2, 4, 5 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @r_cons_printf, { 1, 0 } uselistorder i64 (i64, i64)* @axtm_name, { 1, 0 } uselistorder i1 false, { 3, 4, 1, 2, 0 } uselistorder label LBL_7, { 1, 0, 2, 3, 4 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ide_data_readw_15665
ide_data_readw
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %1, 24 %3 = inttoptr i64 %2 to i8* %4 = load i8, i8* %3, align 1 %5 = and i8 %4, 8 %6 = icmp eq i8 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_4 LBL_2: %11 = inttoptr i64 %1 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, 2 %14 = add i64 %1, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp ugt i64 %13, %16 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = inttoptr i64 %12 to i16* %19 = load i16, i16* %18, align 2 %20 = zext i16 %19 to i64 %21 = call i64 @FUNC(i64 %20) store i64 %13, i64* %11, align 8 %22 = and i64 %21, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
1
BinRealVul
ntlm_read_ntlm_v2_response_7335
ntlm_read_ntlm_v2_response
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 = icmp ult i64 %1, 16 store i64 4294967295, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 16) %5 = add i64 %3, 16 %6 = call i64 @FUNC(i64 %0, i64 %5) 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 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @Stream_Read, { 1, 0 } uselistorder i64 16, { 2, 1, 0, 3, 4 } uselistorder i64 (i64)* @Stream_GetRemainingLength, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
red_channel_create_dummy_9587
red_channel_create_dummy
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = trunc i64 %arg3 to i32 store i64 0, i64* %sv_0, align 8 %5 = trunc i64 %arg1 to i32 %6 = icmp ult i32 %5, 48 %7 = icmp ne i1 %6, true %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %sext = mul i64 %arg1, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = call i64 @FUNC(i64 %10) %12 = inttoptr i64 %11 to i32* store i32 %3, i32* %12, align 4 %13 = add i64 %11, 4 %14 = inttoptr i64 %13 to i32* store i32 %4, i32* %14, align 4 %15 = add i64 %11, 8 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 %17 = add i64 %11, 16 %18 = inttoptr i64 %17 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %18, align 8 %19 = add i64 %11, 40 %20 = call i64 @FUNC(i64 %19) store i64 4198936, i64* %sv_0, align 8 %21 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0) %22 = call i64 @FUNC(i64 %11, i64 1) %23 = call i32 @pthread_self() %24 = sext i32 %23 to i64 %25 = add i64 %11, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = load i32, i32* %14, align 4 %28 = load i32, i32* %12, align 4 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %29, i32 %27, i64 %24, i64 %2, i64 %1) %31 = add i64 %11, 32 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 ret i64 %11 uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 32, { 1, 0 } uselistorder i32 1, { 10, 9, 6, 5, 0, 4, 3, 2, 7, 8, 1 } }
0
BinRealVul
virtio_blk_load_14667
virtio_blk_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 2 store i64 4294967274, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_4 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = call i64 @FUNC(i64 %3) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* br label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %2) %12 = call i64 @FUNC(i64 %3, i64 %11, i64 48) %13 = load i64, i64* %10, align 8 %14 = add i64 %11, 48 %15 = inttoptr i64 %14 to i64* store i64 %13, i64* %15, align 8 store i64 %11, i64* %10, align 8 %16 = add i64 %11, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %11, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %11 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23, i64 %21, i32 %18, i64 1) %25 = add i64 %11, 40 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %11, 32 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %11, 24 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 %30, i32 %27, i64 0) %35 = call i64 @FUNC(i64 %3) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 0, i64* %storemerge.reg2mem br i1 %38, label LBL_3, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 2, 1, 0, 3 } uselistorder i64 (i64, i64, i32, i64)* @virtqueue_map_sg, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 48, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64)* @qemu_get_sbyte, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
smc_wr_tx_wait_no_pending_sends_13157
smc_wr_tx_wait_no_pending_sends
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = urem i64 %3, 256 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i64 %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i64 %6, i64 1000) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %. = select i1 %10, i64 4294967264, i64 0 ret i64 %. }
1
BinRealVul
port100_send_complete_4607
port100_send_complete
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i8* store i8 0, i8* %4, align 1 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = icmp eq i32 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_5, label LBL_1 LBL_1: %8 = icmp slt i32 %6, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = icmp ne i32 %6, -104 %11 = icmp eq i32 %6, -2 %12 = icmp eq i1 %11, false %or.cond = icmp eq i1 %10, %12 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i32 %6) store i64 %16, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i32 %6) store i64 %20, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i8*, i32)* @nfc_err, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
0
BinRealVul
test_qga_fstrim_14598
test_qga_fstrim
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3) %6 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %6) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %3) ret i64 %14 uselistorder i64 4294967295, { 1, 0 } }
1
BinRealVul
zip_source_read_18040
zip_source_read
define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 -1, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_11 LBL_1: %4 = ptrtoint i8* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 %8 = icmp eq i1 %7, false %9 = icmp slt i64 %arg3, 0 %or.cond = or i1 %9, %8 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %10 = icmp eq i64 %arg3, 0 %11 = icmp eq i64* %arg2, null %12 = icmp eq i1 %11, false %or.cond4 = or i1 %10, %12 br i1 %or.cond4, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %4, 4 %14 = call i64 @FUNC(i64 %13, i64 1, i64 0) store i64 -1, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %15 = add i64 %4, 1 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 0 store i64 -1, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_11 LBL_5: %19 = ptrtoint i64* %arg2 to i64 %20 = call i64 @FUNC(i64 %4) %21 = trunc i64 %20 to i8 %22 = icmp ne i8 %21, 0 %brmerge = or i1 %10, %22 store i64 0, i64* %storemerge7.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %brmerge, label LBL_11, label LBL_6 LBL_6: %storemerge7.reload = load i64, i64* %storemerge7.reg2mem %23 = sub i64 %arg3, %storemerge7.reload %24 = add i64 %storemerge7.reload, %19 %25 = call i64 @FUNC(i64 %4, i64 %24, i64 %23, i64 0) %26 = icmp slt i64 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_8, label LBL_7 LBL_7: store i8 1, i8* %16, align 1 %28 = icmp eq i64 %storemerge7.reload, 0 %29 = icmp eq i1 %28, false %storemerge. = select i1 %29, i64 %storemerge7.reload, i64 -1 store i64 %storemerge., i64* %rax.0.reg2mem br label LBL_11 LBL_8: %30 = icmp eq i64 %25, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = add i64 %4, 2 %33 = inttoptr i64 %32 to i8* store i8 1, i8* %33, align 1 store i64 %storemerge7.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %34 = add i64 %25, %storemerge7.reload %35 = icmp ult i64 %34, %arg3 store i64 %34, i64* %storemerge7.reg2mem store i64 %34, i64* %rax.0.reg2mem br i1 %35, label LBL_6, label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge7.reload, { 3, 0, 5, 4, 2, 1 } uselistorder i64 %4, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 4, 5, 7, 6 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 4 } uselistorder i8 1, { 1, 2, 0 } uselistorder i64 -1, { 3, 0, 2, 1 } uselistorder i64 %arg3, { 0, 1, 3, 2 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 0, 2, 3, 1, 4, 6, 5 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
ssi_create_slave_5108
ssi_create_slave
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = call i64 @FUNC(i64 %1) ret i64 %1 }
0
BinRealVul
nouveau_cli_destroy_18524
nouveau_cli_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 0, i64 %0, i64 0) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1) ret i64 %3 }
1
BinRealVul
kvm_arch_init_1106
kvm_arch_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64* %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 4294688768, i64* %sv_2, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %6 = bitcast i64* %sv_1 to %utsname* %7 = call i32 @uname(%utsname* nonnull %6) %8 = bitcast i64* %sv_0 to i8* %9 = call i32 @strcmp(i8* nonnull %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 store i32 %11, i32* inttoptr (i64 4210764 to i32*), align 4 %12 = call i64 @FUNC(i64 %0, i64 1) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64* inttoptr (i64 4294692864 to i64*), i64** %.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: store i64 4278173696, i64* %sv_2, align 8 %15 = call i64 @FUNC(i64 %0, i64 2, i64* nonnull %sv_2) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = load i64, i64* %sv_2, align 8 %phitmp = add i64 %.pre, 4096 %phitmp1 = inttoptr i64 %phitmp to i64* store i64* %phitmp1, i64** %.reg2mem br label LBL_6 LBL_5: %19 = and i64 %15, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %.reload = load i64*, i64** %.reg2mem %20 = call i64 @FUNC(i64 %0, i64 3, i64* %.reload) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = and i64 %20, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %25 = load i64, i64* %sv_2, align 8 %26 = call i64 @FUNC(i64 %25, i64 16384, i64 4) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_10, label LBL_9 LBL_9: %30 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %31 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_2 to i64*), i32 1, i32 31, %_IO_FILE* %30) %32 = and i64 %26, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %33 = call i64 @FUNC(i64 4198834, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_2, { 2, 0, 1, 3, 4 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64** %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i64*)* @kvm_vm_ioctl, { 1, 0 } }
0
BinRealVul
add_msghdr_10041
add_msghdr
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([10 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %5, %8 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = inttoptr i64 %rdi.0.reload to i64* %12 = trunc i64 %5 to i32 %13 = mul i32 %12, 112 %14 = call i64* @realloc(i64* %11, i32 %13) %15 = icmp eq i64* %14, null %16 = icmp eq i1 %15, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_9 LBL_4: %17 = ptrtoint i64* %14 to i64 store i64 %17, i64* %arg1, align 8 %18 = load i64, i64* %4, align 8 %19 = mul i64 %18, 2 store i64 %19, i64* %4, align 8 %.pre = load i64, i64* %7, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %20 = mul i64 %.reload, 56 %21 = add i64 %20, %rdi.0.reload %22 = inttoptr i64 %21 to i64* %23 = call i64* @memset(i64* %22, i32 0, i32 56) %24 = add i64 %0, 40 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %0, 48 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = mul i64 %29, 16 %31 = add i64 %30, %26 %32 = add i64 %21, 16 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = add i64 %0, 64 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_7, label LBL_6 LBL_6: %38 = add i64 %0, 56 store i64 %38, i64* %22, align 8 %39 = load i64, i64* %35, align 8 %40 = trunc i64 %39 to i32 %41 = add i64 %21, 8 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 br label LBL_7 LBL_7: %43 = add i64 %0, 24 %44 = inttoptr i64 %43 to i64* store i64 0, i64* %44, align 8 %45 = load i64, i64* %7, align 8 %46 = add i64 %45, 1 store i64 %46, i64* %7, align 8 %47 = add i64 %0, 32 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, 1 %51 = icmp eq i1 %50, false store i64 0, i64* %rax.0.reg2mem br i1 %51, label LBL_9, label LBL_8 LBL_8: %52 = call i64 @FUNC(i64 %0, i64 0, i64 8) store i64 %52, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %14, { 1, 0 } uselistorder i64* %7, { 2, 1, 0, 3 } uselistorder i64* %4, { 1, 0, 2 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 5, 4, 7, 6, 9, 8, 0 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 56, { 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder [10 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } }
0
BinRealVul
atusb_get_and_show_revision_12856
atusb_get_and_show_revision
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i8 %r8.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i8* %1 = ptrtoint i64* %arg1 to i64 %2 = load i8, i8* %0 %sv_0 = alloca i8, align 1 %3 = call i64 @FUNC(i64 %1, i64 0) %4 = and i64 %3, 4294967295 %5 = bitcast i8* %sv_0 to i64* %6 = call i64 @FUNC(i64 %1, i64 %4, i64 0, i64 0, i64 0, i64 0, i64* nonnull %5) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 br i1 %8, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre = add i64 %1, 8 %.pre2 = inttoptr i64 %.pre to i8* store i8* %.pre2, i8** %.pre-phi3.reg2mem store i64 0, i64* %r8.0.reg2mem br label LBL_3 LBL_2: %9 = load i8, i8* %sv_0, align 1 %10 = add i64 %1, 8 %11 = inttoptr i64 %10 to i8* store i8 %9, i8* %11, align 1 %12 = add i64 %1, 9 %13 = inttoptr i64 %12 to i8* %14 = add i64 %1, 10 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %13, align 1 %17 = zext i8 %16 to i64 %18 = load i8, i8* %11, align 1 %19 = zext i8 %18 to i64 %20 = zext i8 %2 to i64 %21 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %17, i64 %20, i64 0) store i8* %11, i8** %.pre-phi3.reg2mem store i64 %20, i64* %r8.0.reg2mem br label LBL_3 LBL_3: %.pre-phi3.reload = load i8*, i8** %.pre-phi3.reg2mem %22 = load i8, i8* %.pre-phi3.reload, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_4 LBL_4: %25 = add i64 %1, 9 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp ult i8 %27, 2 br i1 %28, label LBL_5, label LBL_6 LBL_5: %r8.0.reload = load i64, i64* %r8.0.reg2mem %29 = zext i8 %27 to i64 %30 = zext i8 %22 to i64 %31 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %29, i64 %r8.0.reload, i64 0) %32 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %29, i64 %r8.0.reload, i64 0) br label LBL_6 LBL_6: %33 = and i64 %6, 4294967295 ret i64 %33 uselistorder i64 %30, { 1, 0 } uselistorder i64 %29, { 1, 0 } uselistorder i8* %sv_0, { 1, 0 } uselistorder i64 %1, { 6, 5, 7, 1, 2, 3, 4, 0, 8, 9 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_info, { 2, 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
proc_pid_permission_5387
proc_pid_permission
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 4294967293, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = call i64 @FUNC(i64 %2, i64 %3, i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = call i64 @FUNC(i64 %3) %10 = icmp eq i1 %8, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = trunc i64 %1 to i32 %12 = icmp eq i32 %11, 2 %13 = icmp eq i1 %12, false %. = select i1 %13, i64 4294967295, i64 4294967294 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_3: %14 = and i64 %arg2, 4294967295 %15 = call i64 @FUNC(i64 %2, i64 %14) store i64 %15, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
qcow2_free_any_clusters_18038
qcow2_free_any_clusters
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg2) %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 3 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp sgt i32 %3, 1 store i64 %2, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %sext3 = mul i64 %arg4, 4294967296 %7 = ashr exact i64 %sext3, 32 switch i32 %3, label LBL_5 [ i32 0, label LBL_3 i32 1, label LBL_4 ] LBL_3: %8 = urem i64 %1, 64 %storemerge4 = lshr i64 %arg2, %8 %9 = trunc i64 %storemerge4 to i32 %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i32 %12, %9 %14 = mul i32 %13, 512 %15 = add i32 %14, 512 %16 = add i64 %6, 12 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = sext i32 %18 to i64 %20 = and i64 %arg2, -512 %21 = and i64 %20, %19 %22 = and i64 %7, 4294967295 %23 = zext i32 %15 to i64 %24 = call i64 @FUNC(i64 %6, i64 %21, i64 %23, i64 %22) store i64 %24, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %sext = mul i64 %arg3, 4294967296 %25 = ashr exact i64 %sext, 32 %26 = add i64 %6, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = and i64 %25, 4294967295 %30 = urem i32 %28, 32 %31 = icmp eq i32 %30, 0 %32 = trunc i64 %25 to i32 %33 = shl i32 %32, %30 %34 = zext i32 %33 to i64 %storemerge = select i1 %31, i64 %29, i64 %34 %35 = and i64 %arg2, -4096 %36 = and i64 %7, 4294967295 %37 = call i64 @FUNC(i64 %6, i64 %35, i64 %storemerge, i64 %36) store i64 %37, i64* %rax.0.reg2mem br label LBL_6 LBL_5: call void @abort() unreachable LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %30, { 1, 0 } uselistorder i64 %25, { 1, 0 } uselistorder i64 %6, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64, i64, i64)* @qcow2_free_clusters, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 0 } uselistorder i32 512, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_6, { 1, 2, 0 } }
1
BinRealVul
libopenjpeg_copy_packed16_15877
libopenjpeg_copy_packed16
define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge6.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.reg2mem55 = alloca i32 %.reg2mem53 = alloca i32 %storemerge313.reg2mem = alloca i32 %.reg2mem51 = alloca i32 %.reg2mem49 = alloca i64 %sv_0.014.reg2mem = alloca i32 %.reg2mem47 = alloca i32 %.reg2mem45 = alloca i32 %storemerge4.lcssa.reg2mem = alloca i32 %.reg2mem43 = alloca i32 %sv_1.010.reg2mem = alloca i32 %.reg2mem41 = alloca i64 %storemerge5.lcssa.reg2mem = alloca i32 %.reg2mem39 = alloca i32 %sv_2.08.reg2mem = alloca i32 %storemerge59.reg2mem = alloca i32 %.reg2mem37 = alloca i64 %storemerge411.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge717.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i32* %arg2 to i64 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp sgt i32 %7, 0 store i64 1, i64* %storemerge6.reg2mem br i1 %11, label LBL_1, label LBL_22 LBL_1: %12 = add i64 %3, 16 %13 = add i64 %4, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = ashr i32 %15, 31 %17 = zext i32 %15 to i64 %18 = zext i32 %16 to i64 %19 = mul i64 %18, 4294967296 %20 = or i64 %19, %17 %21 = zext i32 %7 to i64 %22 = sdiv i64 %20, %21 %23 = and i64 %22, 4294967295 store i32 0, i32* %storemerge717.reg2mem br label LBL_2 LBL_2: %storemerge717.reload = load i32, i32* %storemerge717.reg2mem %24 = sext i32 %storemerge717.reload to i64 %25 = mul i64 %24, 16 %26 = add i64 %25, %12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = icmp ult i64 %23, %29 br i1 %30, label LBL_3, label LBL_4 LBL_3: %31 = ptrtoint i32* %arg1 to i64 %32 = call i64 @FUNC(i64 %31, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %29, i64 %2, i64 %1) store i64 0, i64* %storemerge6.reg2mem br label LBL_22 LBL_4: %33 = add nuw i32 %storemerge717.reload, 1 %34 = icmp slt i32 %33, %7 store i32 %33, i32* %storemerge717.reg2mem br i1 %34, label LBL_2, label LBL_5 LBL_5: %35 = ptrtoint i32* %arg1 to i64 %36 = add i64 %35, 4 %37 = inttoptr i64 %36 to i32* %38 = bitcast i64* %rdi to i32* store i64 0, i64* %indvars.iv.reg2mem br label LBL_20 LBL_6: %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %.reload = load i32, i32* %.reg2mem %39 = load i64, i64* %123, align 8 %40 = mul i32 %storemerge411.reload, %.reload %41 = sext i32 %40 to i64 %42 = mul i64 %41, 4 %43 = add i64 %42, %39 %44 = load i32, i32* %14, align 4 %45 = load i32, i32* %38, align 8 %46 = icmp eq i32 %45, 0 store i32 %.reload, i32* %.reg2mem39 store i32 0, i32* %storemerge5.lcssa.reg2mem br i1 %46, label LBL_10, label LBL_7 LBL_7: %47 = icmp slt i32 %44, 0 %48 = zext i1 %47 to i32 %49 = add i32 %44, %48 %50 = ashr i32 %49, 1 %51 = mul i32 %50, %storemerge411.reload %52 = add i32 %51, %125 store i64 0, i64* %.reg2mem37 store i32 0, i32* %storemerge59.reg2mem store i32 %52, i32* %sv_2.08.reg2mem br label LBL_8 LBL_8: %sv_2.08.reload = load i32, i32* %sv_2.08.reg2mem %storemerge59.reload = load i32, i32* %storemerge59.reg2mem %.reload38 = load i64, i64* %.reg2mem37 %53 = sext i32 %sv_2.08.reload to i64 %54 = mul i64 %53, 2 %55 = add i64 %54, %10 %56 = inttoptr i64 %55 to i16* %57 = load i16, i16* %56, align 2 %58 = mul i64 %.reload38, 4 %59 = add i64 %58, %43 %60 = zext i16 %57 to i32 %61 = inttoptr i64 %59 to i32* store i32 %60, i32* %61, align 4 %62 = add i32 %sv_2.08.reload, %7 %63 = add i32 %storemerge59.reload, 1 %64 = load i32, i32* %38, align 8 %65 = zext i32 %64 to i64 %66 = sext i32 %63 to i64 %67 = icmp slt i64 %66, %65 store i64 %66, i64* %.reg2mem37 store i32 %63, i32* %storemerge59.reg2mem store i32 %62, i32* %sv_2.08.reg2mem br i1 %67, label LBL_8, label LBL_9 LBL_9: %.pre21 = load i32, i32* %124, align 4 store i32 %.pre21, i32* %.reg2mem39 store i32 %63, i32* %storemerge5.lcssa.reg2mem br label LBL_10 LBL_10: %storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem %.reload40 = load i32, i32* %.reg2mem39 %68 = zext i32 %.reload40 to i64 %69 = sext i32 %storemerge5.lcssa.reload to i64 %70 = icmp slt i64 %69, %68 store i64 %69, i64* %.reg2mem41 store i32 %storemerge5.lcssa.reload, i32* %sv_1.010.reg2mem store i32 %.reload40, i32* %.reg2mem43 br i1 %70, label LBL_11, label LBL_12 LBL_11: %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %.reload42 = load i64, i64* %.reg2mem41 %71 = mul i64 %.reload42, 4 %72 = add i64 %71, %43 %73 = add i64 %72, -4 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = inttoptr i64 %72 to i32* store i32 %75, i32* %76, align 4 %77 = add i32 %sv_1.010.reload, 1 %78 = load i32, i32* %124, align 4 %79 = zext i32 %78 to i64 %80 = sext i32 %77 to i64 %81 = icmp slt i64 %80, %79 store i64 %80, i64* %.reg2mem41 store i32 %77, i32* %sv_1.010.reg2mem store i32 %78, i32* %.reg2mem43 br i1 %81, label LBL_11, label LBL_12 LBL_12: %.reload44 = load i32, i32* %.reg2mem43 %82 = add i32 %storemerge411.reload, 1 %83 = load i32, i32* %37, align 4 %84 = zext i32 %83 to i64 %85 = sext i32 %82 to i64 %86 = icmp slt i64 %85, %84 store i32 %.reload44, i32* %.reg2mem store i32 %82, i32* %storemerge411.reg2mem store i32 %82, i32* %storemerge4.lcssa.reg2mem br i1 %86, label LBL_6, label LBL_13 LBL_13: %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem %87 = add i64 %.pre25, 4 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = zext i32 %89 to i64 %91 = sext i32 %storemerge4.lcssa.reload to i64 %92 = icmp slt i64 %91, %90 br i1 %92, label LBL_14, label LBL_19 LBL_14: %93 = add i64 %.pre25, 8 %94 = inttoptr i64 %93 to i64* %95 = inttoptr i64 %.pre25 to i32* %.pre22 = load i32, i32* %95, align 4 store i32 %89, i32* %.reg2mem45 store i32 %.pre22, i32* %.reg2mem47 store i32 %storemerge4.lcssa.reload, i32* %sv_0.014.reg2mem br label LBL_15 LBL_15: %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem %.reload48 = load i32, i32* %.reg2mem47 %.reload46 = load i32, i32* %.reg2mem45 %96 = load i64, i64* %94, align 8 %97 = mul i32 %sv_0.014.reload, %.reload48 %98 = sext i32 %97 to i64 %99 = mul i64 %98, 4 %100 = add i64 %99, %96 %101 = icmp eq i32 %.reload48, 0 store i64 0, i64* %.reg2mem49 store i32 %.reload48, i32* %.reg2mem51 store i32 0, i32* %storemerge313.reg2mem store i32 %.reload46, i32* %.reg2mem53 store i32 0, i32* %.reg2mem55 br i1 %101, label LBL_18, label LBL_16 LBL_16: %storemerge313.reload = load i32, i32* %storemerge313.reg2mem %.reload52 = load i32, i32* %.reg2mem51 %.reload50 = load i64, i64* %.reg2mem49 %102 = sub i32 %storemerge313.reload, %.reload52 %103 = sext i32 %102 to i64 %104 = mul i64 %103, 4 %105 = add i64 %104, %100 %106 = mul i64 %.reload50, 4 %107 = add i64 %106, %100 %108 = inttoptr i64 %105 to i32* %109 = load i32, i32* %108, align 4 %110 = inttoptr i64 %107 to i32* store i32 %109, i32* %110, align 4 %111 = add i32 %storemerge313.reload, 1 %112 = load i32, i32* %95, align 4 %113 = zext i32 %112 to i64 %114 = sext i32 %111 to i64 %115 = icmp slt i64 %114, %113 store i64 %114, i64* %.reg2mem49 store i32 %112, i32* %.reg2mem51 store i32 %111, i32* %storemerge313.reg2mem br i1 %115, label LBL_16, label LBL_17 LBL_17: %.pre23 = load i32, i32* %88, align 4 store i32 %.pre23, i32* %.reg2mem53 store i32 %112, i32* %.reg2mem55 br label LBL_18 LBL_18: %.reload56 = load i32, i32* %.reg2mem55 %.reload54 = load i32, i32* %.reg2mem53 %116 = add i32 %sv_0.014.reload, 1 %117 = zext i32 %.reload54 to i64 %118 = sext i32 %116 to i64 %119 = icmp slt i64 %118, %117 store i32 %.reload54, i32* %.reg2mem45 store i32 %.reload56, i32* %.reg2mem47 store i32 %116, i32* %sv_0.014.reg2mem br i1 %119, label LBL_15, label LBL_19 LBL_19: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %21 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 1, i64* %storemerge6.reg2mem br i1 %exitcond, label LBL_22, label LBL_20 LBL_20: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %120 = load i32, i32* %37, align 4 %121 = icmp eq i32 %120, 0 %.pre24 = mul i64 %indvars.iv.reload, 16 %.pre25 = add i64 %.pre24, %12 store i32 0, i32* %storemerge4.lcssa.reg2mem br i1 %121, label LBL_13, label LBL_6.lr.ph LBL_21: %122 = add i64 %.pre25, 8 %123 = inttoptr i64 %122 to i64* %124 = inttoptr i64 %.pre25 to i32* %.pre = load i32, i32* %124, align 4 %125 = trunc i64 %indvars.iv.reload to i32 store i32 %.pre, i32* %.reg2mem store i32 0, i32* %storemerge411.reg2mem br label LBL_6 LBL_22: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem ret i64 %storemerge6.reload uselistorder i32* %124, { 1, 0, 2 } uselistorder i64 %.pre25, { 4, 3, 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 1, 2, 0 } uselistorder i32 %.reload54, { 1, 0 } uselistorder i32* %95, { 1, 0 } uselistorder i32 %sv_2.08.reload, { 1, 0 } uselistorder i32 %storemerge411.reload, { 0, 2, 1 } uselistorder i32* %38, { 1, 0 } uselistorder i32 %7, { 0, 3, 2, 1 } uselistorder i32* %storemerge717.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge411.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem37, { 1, 0, 2 } uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.08.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem39, { 0, 2, 1 } uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem41, { 2, 0, 1 } uselistorder i32* %sv_1.010.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge4.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem45, { 1, 0, 2 } uselistorder i32* %.reg2mem47, { 1, 0, 2 } uselistorder i32* %sv_0.014.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem49, { 2, 0, 1 } uselistorder i32* %.reg2mem51, { 2, 0, 1 } uselistorder i32* %storemerge313.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge6.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 4, { 0, 1, 2, 6, 3, 4, 5, 7, 8 } uselistorder i32 0, { 5, 2, 10, 0, 1, 9, 4, 7, 3, 8, 6, 11 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder label LBL_22, { 0, 2, 1 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
alloc_channel_id_10758
alloc_channel_id
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.01.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i32 %sv_2 = alloca i32, align 4 %0 = call i64 @FUNC(i64 %arg1) %1 = trunc i64 %0 to i32 %2 = add i32 %1, 1 %3 = icmp ult i32 %2, 2 store i32 %1, i32* %sv_1.02.reg2mem store i32 -1, i32* %sv_0.01.reg2mem store i32 256, i32* %sv_0.0.lcssa.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %4 = add i32 %sv_0.01.reload, %sv_1.02.reload %5 = udiv i32 %4, 2 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %arg1, i64 %6) %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add nuw i32 %5, 256 %11 = icmp eq i32 %9, %10 %12 = icmp eq i1 %11, false %sv_0.0. = select i1 %12, i32 %sv_0.01.reload, i32 %5 %.stack_var_-16.0 = select i1 %12, i32 %5, i32 %sv_1.02.reload %13 = sub i32 %.stack_var_-16.0, %sv_0.0. %14 = icmp ult i32 %13, 2 store i32 %.stack_var_-16.0, i32* %sv_1.02.reg2mem store i32 %sv_0.0., i32* %sv_0.01.reg2mem br i1 %14, label LBL_2, label LBL_1 LBL_2: %phitmp = add i32 %sv_0.0., 257 store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem br label LBL_3 LBL_3: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_2, align 4 %15 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_2, i64 4198798) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: call void @__assert_fail(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_5: %17 = zext i32 %sv_0.0.lcssa.reload to i64 ret i64 %17 uselistorder i32 %sv_0.0., { 1, 0, 2 } uselistorder i32 %5, { 3, 2, 1, 0 } uselistorder i32* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32 256, { 1, 0 } uselistorder i32 2, { 2, 0, 1 } uselistorder i32 1, { 3, 4, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
mount_proc_if_needed_6994
mount_proc_if_needed
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = bitcast i64* %sv_1 to i8* %1 = inttoptr i64 %arg1 to i8* %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 4096, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* %1) %3 = icmp ult i32 %2, 4096 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 20) %5 = bitcast i64* %sv_0 to i8* %6 = call i32 @readlink(i8* nonnull %0, i8* nonnull %5, i32 20) %7 = call i32 @getpid() %8 = zext i32 %7 to i64 %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64* nonnull %sv_0) %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 4096, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* %1) %11 = icmp ult i32 %10, 4096 br i1 %11, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %12 = icmp slt i32 %6, 0 br i1 %12, label LBL_7, label LBL_5 LBL_5: %13 = call i32 @atoi(i8* nonnull %5) %14 = icmp eq i32 %7, %13 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_9, label LBL_6 LBL_6: %15 = call i32 @umount2(i8* nonnull %0, i32 2) br label LBL_7 LBL_7: %16 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 0, i64 %arg1) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_8, label LBL_9 LBL_8: %20 = call i32 @puts(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_5, i64 0, i64 0)) 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 i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder void (i8*)* @perror, { 1, 0 } uselistorder i32 4096, { 0, 2, 1, 3 } uselistorder label LBL_9, { 2, 0, 1, 3, 4 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
IRQ_resetbit_2280
IRQ_resetbit
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 %1 to i32 %4 = add i32 %3, -1 store i32 %4, i32* %arg1, align 4 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = and i64 %arg2, 4294967295 %9 = call i64 @FUNC(i64 %7, i64 %8) ret i64 %9 }
0
BinRealVul
setup_private_mount_5645
setup_private_mount
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg1) %1 = bitcast i64* %sv_0 to i8* %2 = call i8* @mkdtemp(i8* nonnull %1) %3 = icmp eq i8* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0)) unreachable LBL_2: %6 = call i32 @umask(i32 0) %7 = call i64 @FUNC(i64* nonnull %sv_0) %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %7) %9 = inttoptr i64 %7 to i64* call void @free(i64* %9) %10 = call i32 @mkdir(i8* nonnull %1, i32 1023) %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0)) unreachable LBL_4: %13 = call i32 @umask(i32 %6) %14 = call i8* @get_current_dir_name() %15 = ptrtoint i8* %14 to i64 %sext.mask = and i64 %15, 4294967295 %16 = icmp eq i64 %sext.mask, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0)) unreachable LBL_6: %19 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0)) %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0)) unreachable LBL_8: %22 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 0, i64 4096, i64 0) %23 = call i64 @FUNC(i64* bitcast ([5 x i8]* @gv_8 to i64*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 0, i64 262144, i64 0) %24 = call i32 @chown(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_9, i64 0, i64 0), i32 0, i32 0) %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_10, label LBL_9 LBL_9: %27 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_10, i64 0, i64 0)) unreachable LBL_10: %28 = call i32 @chdir(i8* %14) %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_12, label LBL_11 LBL_11: %30 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_11, i64 0, i64 0)) unreachable LBL_12: %31 = bitcast i8* %14 to i64* call void @free(i64* %31) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64 (i64*, i8*, i64, i64, i64)* @sc_do_mount, { 1, 0 } uselistorder i32 (i8*)* @chdir, { 1, 0 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i32 (i32)* @umask, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 5, 6, 2, 7 } uselistorder i64 (i8*)* @die, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64*, i64, i8*, i64)* @sc_must_snprintf, { 1, 0 } }
0
BinRealVul
cmd_anal_ucall_ref_7246
cmd_anal_ucall_ref
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 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 %arg2) %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = inttoptr i64 %5 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %arg2, i64 %3, i64 %2, i64 %1) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %arg2, i64 %3, i64 %2, i64 %1) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload 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 (i8*, i64, i64, i64, i64, i64)* @r_cons_printf, { 1, 0 } uselistorder i64 %arg2, { 1, 2, 0, 3 } }
0
BinRealVul
jpc_ms_dump_9090
jpc_ms_dump
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 = urem i64 %1, 65536 %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %arg2 to %_IO_FILE* %7 = trunc i64 %1 to i32 %8 = urem i32 %7, 65536 %9 = inttoptr i64 %5 to i8* %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i32 %8, i8* %9) %11 = urem i64 %1, 2 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = ptrtoint i64* %arg1 to i64 %14 = add i64 %13, 2 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = zext i16 %16 to i32 %18 = add nuw nsw i32 %17, 2 %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %18) %20 = add i64 %13, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 store i64 %13, i64* %rax.0.reg2mem br i1 %25, label LBL_2, label LBL_4 LBL_2: %26 = call i32 @fputc(i32 10, %_IO_FILE* %6) %27 = sext i32 %26 to i64 store i64 %27, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %28 = call i32 @fputc(i32 10, %_IO_FILE* %6) %29 = sext i32 %28 to i64 store i64 %29, 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 %_IO_FILE* %6, { 2, 0, 1, 3 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
get_partial_buffer_14047
get_partial_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = sub i64 %3, %0 %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 %4, i64* %sv_0.0.in.in.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %0) %9 = load i64, i64* %2, align 8 %10 = sub i64 %9, %0 store i64 %10, i64* %sv_0.0.in.in.reg2mem br label LBL_2 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = mul i64 %sv_0.0.in.in.reload, 4294967296 %sv_0.0 = ashr exact i64 %sv_0.0.in, 32 %12 = trunc i64 %sv_0.0 to i32 %13 = trunc i64 %arg3 to i32 %14 = icmp sgt i32 %12, %13 %15 = ashr exact i64 %sext, 32 %spec.select = select i1 %14, i64 %15, i64 %sv_0.0 %16 = trunc i64 %spec.select to i32 %17 = call i64* @memcpy(i64* %arg2, i64* %arg1, i32 %16) %18 = add i64 %spec.select, %11 store i64 %18, i64* %arg1, align 8 %19 = and i64 %spec.select, 4294967295 ret i64 %19 uselistorder i64 %spec.select, { 2, 0, 1 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64 32, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
irda_getname_11389
irda_getname
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge2.in.in.reg2mem = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %4 = trunc i64 %arg4 to i32 %5 = call i64 @FUNC(i64 %3) %6 = icmp eq i32 %4, 0 br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = trunc i64 %1 to i32 %8 = icmp eq i32 %7, 2 store i64 1, i64* %storemerge.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: store i32 1, i32* %sv_1, align 4 %9 = add i64 %5, 4 store i64 %5, i64* %sv_0.0.in.in.reg2mem store i64 %9, i64* %storemerge2.in.in.reg2mem br label LBL_4 LBL_3: store i32 1, i32* %sv_1, align 4 %10 = add i64 %5, 8 %11 = add i64 %5, 12 store i64 %10, i64* %sv_0.0.in.in.reg2mem store i64 %11, i64* %storemerge2.in.in.reg2mem br label LBL_4 LBL_4: %12 = trunc i64 %2 to i32 %storemerge2.in.in.reload = load i64, i64* %storemerge2.in.in.reg2mem %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem %sv_0.0.in = inttoptr i64 %sv_0.0.in.in.reload to i32* %sv_0.0 = load i32, i32* %sv_0.0.in, align 4 %storemerge2.in = inttoptr i64 %storemerge2.in.in.reload to i32* %storemerge2 = load i32, i32* %storemerge2.in, align 4 %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i32 %sv_0.0) %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge2) %15 = bitcast i64* %arg3 to i32* store i32 12, i32* %15, align 4 %16 = bitcast i32* %sv_1 to i64* %17 = call i64* @memcpy(i64* %arg2, i64* nonnull %16, i32 %12) 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, { 1, 2, 0, 3 } uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
store_icy_12859
store_icy
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sub i32 %3, %6 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false store i32 -1, i32* %rax.0.shrunk.reg2mem br i1 %9, label LBL_1, label LBL_9 LBL_1: %10 = icmp eq i32 %7, 0 %11 = icmp eq i1 %10, false store i32 %7, i32* %sv_0.0.reg2mem br i1 %11, label LBL_8, label LBL_2 LBL_2: %12 = bitcast i32* %sv_2 to i64* %13 = call i64 @FUNC(i64 %2, i64* nonnull %12, i64 1) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false store i32 %14, i32* %rax.0.shrunk.reg2mem br i1 %16, label LBL_3, label LBL_9 LBL_3: %17 = load i32, i32* %sv_2, align 4 %18 = trunc i32 %17 to i8 %19 = icmp eq i8 %18, 0 br i1 %19, label LBL_7, label LBL_4 LBL_4: %20 = mul i32 %17, 16 %21 = and i32 %20, 4080 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i32 %24, i32* %rax.0.shrunk.reg2mem br i1 %26, label LBL_5, label LBL_9 LBL_5: %27 = ptrtoint i64* %sv_3 to i64 %28 = or i32 %21, 1 %29 = zext i32 %28 to i64 %30 = add i64 %27, -4112 %31 = add i64 %30, %29 %32 = inttoptr i64 %31 to i8* store i8 0, i8* %32, align 1 %33 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 0) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %34, 0 %36 = icmp eq i1 %35, false store i32 %34, i32* %rax.0.shrunk.reg2mem br i1 %36, label LBL_6, label LBL_9 LBL_6: %37 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1) br label LBL_7 LBL_7: %38 = bitcast i64* %rdi to i32* store i32 0, i32* %5, align 4 %39 = load i32, i32* %38, align 8 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %40 = trunc i64 %arg2 to i32 %41 = sub i32 %sv_0.0.reload, %40 %42 = xor i32 %sv_0.0.reload, %40 %43 = xor i32 %41, %sv_0.0.reload %44 = and i32 %43, %42 %45 = icmp slt i32 %44, 0 %46 = icmp eq i32 %41, 0 %47 = icmp slt i32 %41, 0 %48 = icmp ne i1 %47, %45 %49 = or i1 %46, %48 %50 = select i1 %49, i32 %sv_0.0.reload, i32 %40 store i32 %50, i32* %rax.0.shrunk.reg2mem br label LBL_9 LBL_9: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %41, { 1, 2, 0 } uselistorder i32 %40, { 1, 0, 2 } uselistorder i32 %sv_0.0.reload, { 0, 3, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i64*, i64)* @http_read_stream_all, { 1, 0 } uselistorder label LBL_9, { 4, 0, 1, 2, 3 } }
1
BinRealVul
lo_release_11818
lo_release
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.reg2mem br i1 %4, label LBL_6, label LBL_1 LBL_1: %5 = add i64 %0, 16 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = urem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 %12, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_6 LBL_3: %16 = add i64 %0, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = icmp eq i32 %18, 2 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = add i64 %0, 56 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = load i64, i64* %22, align 8 %26 = call i64 @FUNC(i64 %25) br label LBL_5 LBL_5: %27 = call i64 @FUNC(i64 %5) store i64 %27, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 2, 0, 1, 4, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1
BinRealVul
skip_input_16025
skip_input
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = add i64 %0, 12 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = mul i32 %4, %1 %6 = sext i32 %5 to i64 %7 = add i64 %6, %0 store i64 %7, i64* %arg1, align 8 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = sub i32 %10, %1 store i32 %11, i32* %9, align 4 ret i64 %0 uselistorder i32 %1, { 1, 0 } uselistorder i64 %0, { 1, 2, 0, 3 } }
1
BinRealVul
ar_parse_gnu_filename_table_5134
ar_parse_gnu_filename_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem23 = alloca i64 %storemerge2.lcssa.reg2mem = alloca i8* %storemerge2.in.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i8* %.reg2mem21 = alloca i64 %storemerge2.in10.reg2mem = alloca i64 %storemerge211.reg2mem = alloca i8* %.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 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %5 to i64* %10 = load i64, i64* %9, align 8 %storemerge29 = inttoptr i64 %10 to i8* %11 = add i64 %8, -1 %12 = add i64 %10, %11 %13 = icmp ugt i64 %12, %10 store i64 %10, i64* %.reg2mem store i8* %storemerge29, i8** %storemerge211.reg2mem store i64 %10, i64* %storemerge2.in10.reg2mem store i64 %10, i64* %storemerge2.in.lcssa.reg2mem store i8* %storemerge29, i8** %storemerge2.lcssa.reg2mem store i64 %10, i64* %.reg2mem23 br i1 %13, label LBL_1, label LBL_5 LBL_1: %storemerge211.reload = load i8*, i8** %storemerge211.reg2mem %.reload = load i64, i64* %.reg2mem %14 = load i8, i8* %storemerge211.reload, align 1 %15 = icmp eq i8 %14, 47 %16 = icmp eq i1 %15, false store i64 %.reload, i64* %.reg2mem21 store i8* %storemerge211.reload, i8** %sv_0.0.reg2mem br i1 %16, label LBL_4, label LBL_2 LBL_2: %storemerge2.in10.reload = load i64, i64* %storemerge2.in10.reg2mem %17 = add i64 %storemerge2.in10.reload, 1 %18 = inttoptr i64 %17 to i8* store i8 0, i8* %storemerge211.reload, align 1 %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 10 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_3 LBL_3: store i8 0, i8* %18, align 1 %.pre = load i64, i64* %9, align 8 store i64 %.pre, i64* %.reg2mem21 store i8* %18, i8** %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload22 = load i64, i64* %.reg2mem21 %22 = ptrtoint i8* %sv_0.0.reload to i64 %23 = add i64 %22, 1 %storemerge2 = inttoptr i64 %23 to i8* %24 = add i64 %.reload22, %11 %25 = icmp ugt i64 %24, %23 store i64 %.reload22, i64* %.reg2mem store i8* %storemerge2, i8** %storemerge211.reg2mem store i64 %23, i64* %storemerge2.in10.reg2mem store i64 %23, i64* %storemerge2.in.lcssa.reg2mem store i8* %storemerge2, i8** %storemerge2.lcssa.reg2mem store i64 %.reload22, i64* %.reg2mem23 br i1 %25, label LBL_1, label LBL_5 LBL_5: %.reload24 = load i64, i64* %.reg2mem23 %storemerge2.in.lcssa.reload = load i64, i64* %storemerge2.in.lcssa.reg2mem %26 = add i64 %.reload24, %8 %27 = icmp eq i64 %26, %storemerge2.in.lcssa.reload br i1 %27, label LBL_7, label LBL_6 LBL_6: %storemerge2.lcssa.reload = load i8*, i8** %storemerge2.lcssa.reg2mem %28 = load i8, i8* %storemerge2.lcssa.reload, align 1 %29 = icmp ne i8 %28, 10 %30 = icmp eq i8 %28, 96 %31 = icmp eq i1 %30, false %or.cond = icmp eq i1 %29, %31 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %32 = add i64 %.reload24, %11 %33 = inttoptr i64 %32 to i8* store i8 0, i8* %33, align 1 store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %34 = call i64 @FUNC(i64 %0, i64 22, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) %35 = load i64, i64* %9, align 8 %36 = inttoptr i64 %35 to i64* call void @free(i64* %36) store i64 0, i64* %9, align 8 store i64 4294967295, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload24, { 1, 0 } uselistorder i64 %23, { 0, 1, 3, 2 } uselistorder i64 %.reload22, { 0, 2, 1 } uselistorder i8* %storemerge211.reload, { 1, 0, 2 } uselistorder i64 %10, { 0, 1, 2, 3, 5, 4, 6 } uselistorder i64* %9, { 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i8** %storemerge211.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge2.in10.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 10, { 1, 0 } uselistorder i8 0, { 3, 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
SFS_AddString_5572
SFS_AddString
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8* %0 = icmp eq i8* %arg2, null br i1 %0, label LBL_4, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg1 to i8* %3 = call i32 @strlen(i8* %2) %4 = sext i32 %3 to i64 %5 = call i32 @strlen(i8* nonnull %arg2) %6 = sext i32 %5 to i64 %7 = add nsw i64 %6, %4 %8 = add i64 %1, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ult i64 %7, %10 store i8* %arg2, i8** %.pre-phi.reg2mem store i64 %10, i64* %.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i32 @strlen(i8* nonnull %arg2) %13 = sext i32 %12 to i64 %14 = call i32 @strlen(i8* nonnull %arg2) %15 = sext i32 %14 to i64 %16 = add nsw i64 %13, 10 %17 = add nsw i64 %16, %15 store i64 %17, i64* %9, align 8 %18 = call i64 @FUNC(i64 %17) %19 = inttoptr i64 %18 to i8* %20 = inttoptr i64 %17 to i8* %21 = call i8* @strcpy(i8* %19, i8* %20) %22 = call i64 @FUNC(i64 %18) store i64 %18, i64* %arg1, align 8 %.pre = load i64, i64* %9, align 8 store i8* %19, i8** %.pre-phi.reg2mem store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem %23 = call i32 @strlen(i8* %.pre-phi.reload) %24 = sub i32 0, %23 %25 = sub i32 %24, 1 %26 = trunc i64 %.reload to i32 %27 = add i32 %26, %25 %28 = call i8* @strncat(i8* %.pre-phi.reload, i8* nonnull %arg2, i32 %27) %29 = ptrtoint i8* %28 to i64 store i64 %29, 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 %17, { 1, 0, 2 } uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*)* @strlen, { 4, 3, 2, 1, 0 } uselistorder i8* %arg2, { 3, 2, 1, 0, 4, 5 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
emulated_exitfn_2991
emulated_exitfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 0, i64 0, i64 0) %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 4 %4 = call i64 @FUNC(i64 %3) %5 = bitcast i64* %arg1 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %0, 12 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %6) %11 = add i64 %0, 16 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %0, 20 %14 = call i64 @FUNC(i64 %13) %15 = add i64 %0, 24 %16 = call i64 @FUNC(i64 %15) ret i64 0 uselistorder i64 (i64)* @qemu_mutex_destroy, { 2, 1, 0 } uselistorder i64 (i64)* @qemu_thread_join, { 1, 0 } }
0
BinRealVul
av_fast_padded_malloc_9680
av_fast_padded_malloc
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp ult i64 %arg3, -32 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0) %3 = ptrtoint i32* %arg2 to i64 store i32 0, i32* %arg2, align 4 store i64 %3, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %4 = add i64 %arg3, 32 %5 = ptrtoint i32* %arg2 to i64 %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %4, i64 1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = add i64 %0, %arg3 %11 = inttoptr i64 %10 to i64* %12 = call i64* @memset(i64* %11, i32 0, i32 32) %13 = ptrtoint i64* %12 to i64 store i64 %13, 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, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 1, 0 } uselistorder i32* %arg2, { 2, 1, 0 } }
0
BinRealVul
read_block_11394
read_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = bitcast i64* %arg2 to i32* store i32 0, i32* %2, align 4 %3 = call i64 @FUNC(i64 %1) %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, i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 4294967295, i64* %storemerge.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_3 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
aml_buffer_2185
aml_buffer
define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 17, i64 0) %1 = trunc i64 %arg1 to i32 %2 = icmp sgt i32 %1, 0 br i1 %2, label LBL_1, label LBL_6 LBL_1: %3 = icmp eq i32* %arg2, null %4 = icmp eq i1 %3, false %5 = inttoptr i64 %0 to i64* %6 = ptrtoint i32* %arg2 to i64 %wide.trip.count = and i64 %arg1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %7 = load i64, i64* %5, align 8 %8 = call i64 @FUNC(i64 %7, i64 0) br label LBL_5 LBL_4: %9 = add i64 %indvars.iv.reload, %6 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = load i64, i64* %5, align 8 %13 = zext i8 %11 to i64 %14 = call i64 @FUNC(i64 %12, i64 %13) br label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_2 LBL_6: ret i64 %0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @build_append_byte, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } }
0
BinRealVul
wm8750_set_bclk_in_3111
wm8750_set_bclk_in
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = bitcast i64* %arg1 to i32* store i32 %1, i32* %2, align 4 %3 = add i64 %0, 4 %4 = inttoptr i64 %3 to i32* store i32 %1, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0, i64 1) ret i64 %5 }
0
BinRealVul
get_monitor_def_16963
get_monitor_def
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = 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 store i64 %0, i64* %.reg2mem store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge3.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_10 LBL_1: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %3 = call i64 @FUNC(i64 %arg2, i64 %.reload) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_9, label LBL_2 LBL_2: %6 = add i64 %storemerge3.reload, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %sext = mul i64 %storemerge3.reload, 4294967296 %10 = ashr exact i64 %sext, 32 store i64 %10, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %11 = call i64 @FUNC() %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %13, label LBL_5, label LBL_10 LBL_5: %14 = add i64 %storemerge3.reload, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 8 %17 = sext i32 %16 to i64 %18 = add i64 %11, %17 %19 = add i64 %storemerge3.reload, 20 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 switch i32 %21, label LBL_8 [ i32 1, label LBL_6 i32 2, label LBL_7 ] LBL_6: %22 = inttoptr i64 %18 to i32* %23 = load i32, i32* %22, align 4 %24 = sext i32 %23 to i64 store i64 %24, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %25 = inttoptr i64 %18 to i64* %26 = load i64, i64* %25, align 8 store i64 %26, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_8: store i64 0, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %27 = add i64 %storemerge3.reload, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64 %29, i64* %.reg2mem store i64 %27, i64* %storemerge3.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %31, label LBL_1, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge3.reload, { 0, 3, 2, 4, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 7, 3, 2 } uselistorder i1 false, { 2, 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i64* %arg1, { 2, 1, 0, 3 } uselistorder label LBL_10, { 0, 5, 4, 3, 6, 2, 1 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
TIFFReadPhotoshopLayers_7612
TIFFReadPhotoshopLayers
define i64 @FUNC(i32* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem34 = alloca i64 %rbx.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %rbx.1.ph.reg2mem = alloca i64 %rbx.0.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32*, align 8 store i32* %arg1, i32** %sv_2, align 8 %3 = ptrtoint i32* %arg1 to i64 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %4, 1 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_19, label LBL_1 LBL_1: %7 = trunc i64 %2 to i32 %8 = icmp eq i32 %7, 1 %9 = icmp eq i1 %8, false %.pre31 = ptrtoint i32* %arg2 to i64 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %.pre31, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_19, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %.pre31, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_19, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_19, label LBL_5 LBL_5: %19 = inttoptr i64 %17 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %20, -8 %22 = icmp sgt i64 %21, 0 store i64 %21, i64* %.pre-phi.reg2mem store i64 0, i64* %rbx.1.reg2mem br i1 %22, label LBL_6, label LBL_15 LBL_6: %23 = add i64 %17, 8 %24 = inttoptr i64 %23 to i64* store i32* %arg1, i32** %.reg2mem store i64 0, i64* %storemerge14.reg2mem br label LBL_7 LBL_7: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %.reload = load i32*, i32** %.reg2mem %25 = ptrtoint i32* %.reload to i64 %26 = add i64 %25, 24 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false %. = select i1 %30, i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64 ptrtoint ([5 x i8]* @gv_3 to i64) %31 = load i64, i64* %24, align 8 %32 = add i64 %31, %storemerge14.reload %33 = call i64 @FUNC(i64 %32, i64 %., i64 4) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false store i64 %storemerge14.reload, i64* %rbx.0.reg2mem br i1 %36, label LBL_12, label LBL_8 LBL_8: %37 = add i64 %storemerge14.reload, 4 %38 = load i32*, i32** %sv_2, align 8 %39 = ptrtoint i32* %38 to i64 %40 = add i64 %39, 24 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false %.9 = select i1 %44, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 ptrtoint ([5 x i8]* @gv_5 to i64) %45 = load i64, i64* %24, align 8 %46 = add i64 %45, %37 %47 = call i64 @FUNC(i64 %46, i64 %.9, i64 4) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 store i64 %37, i64* %rbx.1.ph.reg2mem br i1 %49, label LBL_14, label LBL_9 LBL_9: %50 = load i32*, i32** %sv_2, align 8 %51 = ptrtoint i32* %50 to i64 %52 = add i64 %51, 24 %53 = inttoptr i64 %52 to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, 0 %56 = icmp eq i1 %55, false %.10 = select i1 %56, i64 ptrtoint ([5 x i8]* @gv_6 to i64), i64 ptrtoint ([5 x i8]* @gv_7 to i64) %57 = load i64, i64* %24, align 8 %58 = add i64 %57, %37 %59 = call i64 @FUNC(i64 %58, i64 %.10, i64 4) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 store i64 %37, i64* %rbx.1.ph.reg2mem br i1 %61, label LBL_14, label LBL_10 LBL_10: %62 = load i32*, i32** %sv_2, align 8 %63 = ptrtoint i32* %62 to i64 %64 = add i64 %63, 24 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 0 %68 = icmp eq i1 %67, false %.11 = select i1 %68, i64 ptrtoint ([5 x i8]* @gv_8 to i64), i64 ptrtoint ([5 x i8]* @gv_9 to i64) %69 = load i64, i64* %24, align 8 %70 = add i64 %69, %37 %71 = call i64 @FUNC(i64 %70, i64 %.11, i64 4) %72 = trunc i64 %71 to i32 %73 = icmp eq i32 %72, 0 store i64 %37, i64* %rbx.1.ph.reg2mem br i1 %73, label LBL_14, label LBL_11 LBL_11: %74 = load i32*, i32** %sv_2, align 8 %75 = ptrtoint i32* %74 to i64 %76 = add i64 %75, 24 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = icmp eq i32 %78, 0 %80 = icmp eq i1 %79, false %.12 = select i1 %80, i64 ptrtoint ([5 x i8]* @gv_10 to i64), i64 ptrtoint ([5 x i8]* @gv_11 to i64) %81 = load i64, i64* %24, align 8 %82 = add i64 %81, %37 %83 = call i64 @FUNC(i64 %82, i64 %.12, i64 4) %84 = trunc i64 %83 to i32 %85 = icmp eq i32 %84, 0 store i64 %37, i64* %rbx.0.reg2mem store i64 %37, i64* %rbx.1.ph.reg2mem br i1 %85, label LBL_14, label LBL_12 LBL_12: %rbx.0.reload = load i64, i64* %rbx.0.reg2mem %86 = add i64 %rbx.0.reload, 1 %87 = load i64, i64* %19, align 8 %88 = add i64 %87, -8 %89 = icmp slt i64 %86, %88 store i64 %86, i64* %rbx.1.ph.reg2mem br i1 %89, label LBL_12.LBL_7_crit_edge, label LBL_14 LBL_13: %.pre = load i32*, i32** %sv_2, align 8 store i32* %.pre, i32** %.reg2mem store i64 %86, i64* %storemerge14.reg2mem br label LBL_7 LBL_14: %rbx.1.ph.reload = load i64, i64* %rbx.1.ph.reg2mem %.pre32 = load i64, i64* %19, align 8 %.pre33 = add i64 %.pre32, -8 store i64 %.pre33, i64* %.pre-phi.reg2mem store i64 %rbx.1.ph.reload, i64* %rbx.1.reg2mem br label LBL_15 LBL_15: %rbx.1.reload = load i64, i64* %rbx.1.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %90 = add i64 %rbx.1.reload, 4 %91 = icmp slt i64 %90, %.pre-phi.reload store i64 %.pre-phi.reload, i64* %rax.0.reg2mem br i1 %91, label LBL_16, label LBL_19 LBL_16: %92 = trunc i64 %1 to i32 %93 = load i32*, i32** %sv_2, align 8 %94 = ptrtoint i32* %93 to i64 %95 = add i64 %94, 4 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = ptrtoint i32* %arg3 to i64 %99 = call i64 @FUNC(i64 %94, i32 %92, i32 %97, i64 1, i64 %98) store i64 %99, i64* %sv_1, align 8 %100 = call i64 @FUNC(i64 %99, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0)) %101 = load i64, i64* %19, align 8 %102 = add i64 %17, 8 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = add i64 %99, 16 %106 = inttoptr i64 %105 to i64* %107 = load i64, i64* %106, align 8 %108 = call i64 @FUNC(i64 %107, i64 %104, i64 %101) %109 = call i64 @FUNC(i64 %99, i64 %90, i64 0) store i32 1, i32* %sv_0, align 4 %110 = call i64 @FUNC(i64 %99, i64 %.pre31, i32* nonnull %sv_0, i64 0, i64 %98) %111 = call i64 @FUNC(i64* nonnull %sv_1) %112 = load i64, i64* %sv_1, align 8 %113 = icmp eq i64 %112, 0 store i64 0, i64* %rax.0.reg2mem br i1 %113, label LBL_19, label LBL_17 LBL_17: %114 = call i64 @FUNC(i64 %94, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)) %115 = load i64, i64* %sv_1, align 8 %116 = bitcast i32** %sv_2 to i64* %117 = call i64 @FUNC(i64* nonnull %116, i64 %115) %118 = load i64, i64* %sv_1, align 8 %119 = icmp eq i64 %118, 0 %120 = icmp eq i1 %119, false store i64 %118, i64* %.reg2mem34 store i64 %118, i64* %rax.0.reg2mem br i1 %120, label LBL_18, label LBL_19 LBL_18: %.reload35 = load i64, i64* %.reg2mem34 %121 = call i64 @FUNC(i64 %.reload35, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)) %122 = load i64, i64* %sv_1, align 8 %123 = add i64 %122, 16 %124 = inttoptr i64 %123 to i64* %125 = load i64, i64* %124, align 8 %126 = call i64 @FUNC(i64 %125) %127 = load i64, i64* %sv_1, align 8 %128 = call i64 @FUNC(i64 %127) store i64 %128, i64* %sv_1, align 8 %129 = icmp eq i64 %128, 0 %130 = icmp eq i1 %129, false store i64 %128, i64* %.reg2mem34 store i64 %128, i64* %rax.0.reg2mem br i1 %130, label LBL_18, label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %86, { 1, 0, 2 } uselistorder i64 %37, { 0, 4, 5, 1, 6, 2, 7, 3, 8 } uselistorder i64 %storemerge14.reload, { 1, 0, 2 } uselistorder i64* %19, { 1, 0, 3, 2 } uselistorder i32** %sv_2, { 7, 6, 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_1, { 2, 3, 4, 0, 5, 6, 1, 7 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i64* %rbx.1.ph.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rbx.1.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem34, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 6, 7, 3, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i8*)* @SetImageArtifact, { 1, 0 } uselistorder i64 (i64, i64, i64)* @LocaleNCompare, { 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64 -8, { 0, 2, 1 } uselistorder i64 4, { 6, 7, 0, 1, 2, 3, 5, 4, 8, 9 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder label LBL_19, { 0, 1, 7, 2, 3, 4, 5, 6 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_14, { 4, 0, 1, 2, 3 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
zynq_slcr_compute_pll_5805
zynq_slcr_compute_pll
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = and i64 %arg2, 1024 %1 = icmp eq i64 %0, 0 store i64 %arg1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = and i64 %arg2, 768 %3 = icmp eq i64 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_3 LBL_2: %4 = urem i64 %arg2, 256 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false %spec.select = select i1 %6, i64 %4, i64 256 %7 = udiv i64 %arg1, %spec.select store i64 %7, 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 %4, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 256, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
regmap_register_patch_4639
regmap_register_patch
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_9 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 24 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 store i8 1, i8* %8, align 1 %10 = add i64 %6, 25 %11 = inttoptr i64 %10 to i8* store i8 1, i8* %11, align 1 %12 = icmp sgt i32 %0, 0 br i1 %12, label LBL_2, label LBL_6 LBL_2: %13 = ptrtoint i64* %arg2 to i64 %sext = mul i64 %arg3, 4294967296 %14 = ashr exact i64 %sext, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %15 = mul i64 %indvars.iv.reload, 8 %16 = add i64 %15, %13 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = inttoptr i64 %16 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %6, i64 %22, i32 %19) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_5, label LBL_4 LBL_4: %26 = load i32, i32* %18, align 4 %27 = load i32, i32* %20, align 4 %28 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %29 = and i64 %23, 4294967295 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i32 %27, i32 %26, i64 %29) store i32 %24, i32* %sv_0.1.reg2mem br label LBL_8 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %31 = icmp slt i64 %indvars.iv.next, %14 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %31, label LBL_3, label LBL_6 LBL_6: %32 = add i64 %6, 40 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = add i32 %34, %0 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 8 %38 = add i64 %6, 32 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i64 %40, i64 %37, i64 0) %42 = icmp eq i64 %41, 0 store i32 -12, i32* %sv_0.1.reg2mem br i1 %42, label LBL_8, label LBL_7 LBL_7: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %43 = load i32, i32* %33, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 %44, 8 %46 = add i64 %45, %41 %47 = inttoptr i64 %46 to i64* %48 = mul i32 %0, 8 %49 = call i64* @memcpy(i64* %47, i64* %arg2, i32 %48) store i64 %41, i64* %39, align 8 %50 = load i32, i32* %33, align 4 %51 = add i32 %50, %0 store i32 %51, i32* %33, align 4 store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem store i8 0, i8* %11, align 1 store i8 %9, i8* %8, align 1 %52 = call i64 @FUNC(i64 %6) %53 = zext i32 %sv_0.1.reload to i64 store i64 %53, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %41, { 1, 0, 2 } uselistorder i32* %33, { 1, 0, 2, 3 } uselistorder i64 %6, { 2, 1, 0, 3, 4, 5 } uselistorder i32 %0, { 1, 0, 2, 3, 5, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 0, 2, 1, 3, 4 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
jpc_ppmstabtostreams_13624
jpc_ppmstabtostreams
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.be.reg2mem = alloca i64 %sv_1.0.be.reg2mem = alloca i8* %sv_2.0.be.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i8* %sv_0.2.lcssa.reg2mem = alloca i64 %sv_2.2.lcssa.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i8* %sv_2.1.reg2mem = alloca i32 %sv_2.29.reg2mem = alloca i32 %sv_0.210.reg2mem = alloca i64 %sv_3.011.reg2mem = alloca i64 %rdi.012.reg2mem = alloca i64 %sv_1.213.reg2mem = alloca i8* %sv_2.016.reg2mem = alloca i32 %sv_1.017.reg2mem = alloca i8* %sv_0.018.reg2mem = alloca i64 %0 = call i64 @FUNC() %cond = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %cond, label LBL_18, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %0, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_18 LBL_2: %7 = load i64, i64* %arg1, align 8 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ult i64 %10, 4 br i1 %11, label LBL_17, label LBL_3 LBL_3: %12 = inttoptr i64 %7 to i64* %13 = load i64, i64* %12, align 8 %14 = inttoptr i64 %13 to i8* store i64 %10, i64* %sv_0.018.reg2mem store i8* %14, i8** %sv_1.017.reg2mem store i32 0, i32* %sv_2.016.reg2mem br label LBL_4 LBL_4: %15 = call i64 @FUNC(i64 0, i64 0) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_17, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %0) %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %0, i64 %18, i64 %15) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_17, label LBL_6 LBL_6: %sv_2.016.reload = load i32, i32* %sv_2.016.reg2mem %sv_1.017.reload = load i8*, i8** %sv_1.017.reg2mem %sv_0.018.reload = load i64, i64* %sv_0.018.reg2mem %23 = load i8, i8* %sv_1.017.reload, align 1 %24 = zext i8 %23 to i32 %25 = mul i32 %24, 16777216 %26 = ptrtoint i8* %sv_1.017.reload to i64 %27 = add i64 %26, 1 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i32 %31 = mul i32 %30, 65536 %32 = or i32 %31, %25 %33 = add i64 %26, 2 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = zext i8 %35 to i32 %37 = mul i32 %36, 256 %38 = or i32 %32, %37 %39 = add i64 %26, 3 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = or i32 %38, %42 %44 = add i64 %sv_0.018.reload, -4 %45 = add i64 %26, 4 %sv_1.28 = inttoptr i64 %45 to i8* %46 = icmp eq i32 %43, 0 %47 = icmp eq i1 %46, false store i32 %sv_2.016.reload, i32* %sv_2.2.lcssa.reg2mem store i64 %44, i64* %sv_0.2.lcssa.reg2mem store i8* %sv_1.28, i8** %sv_1.2.lcssa.reg2mem br i1 %47, label LBL_7, label LBL_13 LBL_7: %48 = sext i32 %43 to i64 store i8* %sv_1.28, i8** %sv_1.213.reg2mem store i64 %0, i64* %rdi.012.reg2mem store i64 %48, i64* %sv_3.011.reg2mem store i64 %44, i64* %sv_0.210.reg2mem store i32 %sv_2.016.reload, i32* %sv_2.29.reg2mem br label LBL_8 LBL_8: %sv_2.29.reload = load i32, i32* %sv_2.29.reg2mem %sv_0.210.reload = load i64, i64* %sv_0.210.reg2mem %sv_3.011.reload = load i64, i64* %sv_3.011.reg2mem %sv_1.213.reload = load i8*, i8** %sv_1.213.reg2mem %49 = icmp eq i64 %sv_0.210.reload, 0 %50 = icmp eq i1 %49, false store i32 %sv_2.29.reload, i32* %sv_2.1.reg2mem store i8* %sv_1.213.reload, i8** %sv_1.1.reg2mem store i64 %sv_0.210.reload, i64* %sv_0.1.reg2mem br i1 %50, label LBL_11, label LBL_9 LBL_9: %51 = add i32 %sv_2.29.reload, 1 %52 = load i32, i32* %3, align 4 %53 = zext i32 %52 to i64 %54 = sext i32 %51 to i64 %55 = icmp slt i64 %54, %53 br i1 %55, label LBL_10, label LBL_17 LBL_10: %rdi.012.reload = load i64, i64* %rdi.012.reg2mem %56 = mul i64 %54, 8 %57 = add i64 %56, %rdi.012.reload %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = inttoptr i64 %61 to i8* %63 = add i64 %59, 8 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 store i32 %51, i32* %sv_2.1.reg2mem store i8* %62, i8** %sv_1.1.reg2mem store i64 %65, i64* %sv_0.1.reg2mem br label LBL_11 LBL_11: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i8*, i8** %sv_1.1.reg2mem %66 = icmp ugt i64 %sv_0.1.reload, %sv_3.011.reload %67 = select i1 %66, i64 %sv_3.011.reload, i64 %sv_0.1.reload %68 = trunc i64 %67 to i32 %sext = mul i64 %67, 4294967296 %69 = ashr exact i64 %sext, 32 %70 = ptrtoint i8* %sv_1.1.reload to i64 %71 = call i64 @FUNC(i64 %15, i64 %70, i64 %69) %72 = trunc i64 %71 to i32 %73 = icmp eq i32 %68, %72 %74 = icmp eq i1 %73, false br i1 %74, label LBL_17, label LBL_12 LBL_12: %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %75 = sub i64 %sv_3.011.reload, %69 %76 = add i64 %69, %70 %77 = sub i64 %sv_0.1.reload, %69 %sv_1.2 = inttoptr i64 %76 to i8* %78 = icmp eq i64 %75, 0 %79 = icmp eq i1 %78, false store i8* %sv_1.2, i8** %sv_1.213.reg2mem store i64 %15, i64* %rdi.012.reg2mem store i64 %75, i64* %sv_3.011.reg2mem store i64 %77, i64* %sv_0.210.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.29.reg2mem store i32 %sv_2.1.reload, i32* %sv_2.2.lcssa.reg2mem store i64 %77, i64* %sv_0.2.lcssa.reg2mem store i8* %sv_1.2, i8** %sv_1.2.lcssa.reg2mem br i1 %79, label LBL_8, label LBL_13 LBL_13: %sv_1.2.lcssa.reload = load i8*, i8** %sv_1.2.lcssa.reg2mem %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %sv_2.2.lcssa.reload = load i32, i32* %sv_2.2.lcssa.reg2mem %80 = call i64 @FUNC(i64 %15) %81 = icmp eq i64 %sv_0.2.lcssa.reload, 0 %82 = icmp eq i1 %81, false store i32 %sv_2.2.lcssa.reload, i32* %sv_2.0.be.reg2mem store i8* %sv_1.2.lcssa.reload, i8** %sv_1.0.be.reg2mem store i64 %sv_0.2.lcssa.reload, i64* %sv_0.0.be.reg2mem br i1 %82, label LBL_14, label LBL_15 LBL_14: %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem %sv_1.0.be.reload = load i8*, i8** %sv_1.0.be.reg2mem %sv_2.0.be.reload = load i32, i32* %sv_2.0.be.reg2mem %83 = icmp ult i64 %sv_0.0.be.reload, 4 store i64 %sv_0.0.be.reload, i64* %sv_0.018.reg2mem store i8* %sv_1.0.be.reload, i8** %sv_1.017.reg2mem store i32 %sv_2.0.be.reload, i32* %sv_2.016.reg2mem br i1 %83, label LBL_17, label LBL_4 LBL_15: %84 = add i32 %sv_2.2.lcssa.reload, 1 %85 = load i32, i32* %3, align 4 %86 = zext i32 %85 to i64 %87 = sext i32 %84 to i64 %88 = icmp slt i64 %87, %86 store i64 %0, i64* %rax.0.reg2mem br i1 %88, label LBL_16, label LBL_18 LBL_16: %89 = mul i64 %87, 8 %90 = add i64 %89, %15 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = inttoptr i64 %94 to i8* %96 = add i64 %92, 8 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 store i32 %84, i32* %sv_2.0.be.reg2mem store i8* %95, i8** %sv_1.0.be.reg2mem store i64 %98, i64* %sv_0.0.be.reg2mem br label LBL_14 LBL_17: %99 = call i64 @FUNC(i64 %0) 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 i64 %sv_0.0.be.reload, { 1, 0 } uselistorder i32 %sv_2.2.lcssa.reload, { 1, 0 } uselistorder i64 %69, { 1, 0, 2, 3 } uselistorder i64 %sv_0.1.reload, { 2, 0, 1 } uselistorder i64 %sv_3.011.reload, { 0, 2, 1 } uselistorder i32 %sv_2.29.reload, { 1, 0 } uselistorder i8* %sv_1.28, { 1, 0 } uselistorder i64 %44, { 1, 0 } uselistorder i32 %43, { 1, 0 } uselistorder i8* %sv_1.017.reload, { 1, 0 } uselistorder i32 %sv_2.016.reload, { 1, 0 } uselistorder i64 %15, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %0, { 6, 0, 2, 5, 4, 1, 3 } uselistorder i64* %sv_0.018.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.017.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.016.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.213.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.012.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.011.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.210.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.29.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.be.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.0.be.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.be.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 4, { 1, 2, 0 } uselistorder i1 false, { 3, 4, 1, 2, 0, 5, 6 } uselistorder i32 0, { 1, 4, 0, 5, 2, 3 } uselistorder i64 8, { 3, 0, 2, 1, 4, 5 } uselistorder label LBL_18, { 2, 0, 3, 1 } uselistorder label LBL_17, { 2, 4, 3, 0, 1, 5 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
m68020_cpu_initfn_1733
m68020_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 1) %3 = call i64 @FUNC(i64 %1, i64 2) %4 = call i64 @FUNC(i64 %1, i64 3) %5 = call i64 @FUNC(i64 %1, i64 4) %6 = call i64 @FUNC(i64 %1, i64 5) %7 = call i64 @FUNC(i64 %1, i64 6) %8 = call i64 @FUNC(i64 %1, i64 7) %9 = call i64 @FUNC(i64 %1, i64 8) %10 = call i64 @FUNC(i64 %1, i64 9) %11 = call i64 @FUNC(i64 %1, i64 10) %12 = call i64 @FUNC(i64 %1, i64 11) %13 = call i64 @FUNC(i64 %1, i64 12) %14 = call i64 @FUNC(i64 %1, i64 13) %15 = call i64 @FUNC(i64 %1, i64 14) %16 = call i64 @FUNC(i64 %1, i64 15) ret i64 %16 uselistorder i64 (i64, i64)* @m68k_set_feature, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
fuse_open_common_7238
fuse_open_common
define i64 @FUNC(i64* %arg1, i32* %arg2, i8 %arg3) local_unnamed_addr { LBL_0: call void @llvm.trap() unreachable }
0
reposvul_c_test
brcmf_deinit_priv_mem_133
brcmf_deinit_priv_mem
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) store i64 0, i64* %3, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) store i64 0, i64* %7, align 8 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) store i64 0, i64* %11, align 8 %14 = add i64 %0, 32 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) store i64 0, i64* %15, align 8 ret i64 %0 uselistorder i64 (i64)* @kfree, { 4, 3, 2, 1, 0 } }
0
BinRealVul
usb_linux_update_endp_table_61
usb_linux_update_endp_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %sv_0.2.ph11.reg2mem = alloca i32 %sv_1.1.ph12.reg2mem = alloca i8 %sv_0.2.ph.ph19.reg2mem = alloca i32 %sv_1.1.ph.ph20.reg2mem = alloca i8 %sv_2.2.ph.ph21.reg2mem = alloca i32 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_0.114.reg2mem = alloca i32 %sv_2.115.reg2mem = alloca i32 %sv_0.013.reg2mem = alloca i32 %sv_0.29.reg2mem = alloca i32 %rdi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = load i8, i8* %1 %4 = trunc i64 %2 to i32 %5 = call i32 (i32, i32, ...) @ioctl(i32 %4, i32 -1072147200) %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_2: %8 = icmp eq i8 %3, 0 %9 = icmp eq i1 %8, false store i64 1, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_26 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %10, 23 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = icmp eq i8 %13, 2 %15 = icmp eq i1 %14, false br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = add i64 %10, 27 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = icmp eq i8 %18, %3 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i32 @puts(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_6: %21 = add i64 %10, 22 %22 = add i64 %10, 260 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i32 %24, -18 %26 = inttoptr i64 %21 to i8* %27 = load i8, i8* %26, align 1 %28 = zext i8 %27 to i32 %29 = icmp sgt i32 %25, %28 store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_7, label LBL_26 LBL_7: %30 = bitcast i64* %rdi to i32* %31 = add i64 %10, 248 store i32 %28, i32* %sv_0.2.ph.ph19.reg2mem br label LBL_8.lr.ph.lr.ph LBL_8: %sv_0.29.reload = load i32, i32* %sv_0.29.reg2mem %32 = sext i32 %sv_0.29.reload to i64 %33 = add i64 %21, %32 %34 = add i64 %33, 1 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = icmp eq i8 %36, 4 %38 = icmp eq i1 %37, false br i1 %38, label LBL_10, label LBL_9 LBL_9: %39 = add i64 %33, 4 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = icmp eq i8 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = inttoptr i64 %33 to i8* %45 = load i8, i8* %44, align 1 %46 = zext i8 %45 to i32 %47 = add i32 %sv_0.29.reload, %46 %48 = icmp slt i32 %47, %25 store i32 %47, i32* %sv_0.29.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_8, label LBL_26 LBL_11: %49 = add i64 %33, 2 %50 = inttoptr i64 %49 to i8* %51 = load i8, i8* %50, align 1 %52 = load i32, i32* %30, align 8 %53 = call i32 (i32, i32, ...) @ioctl(i32 %52, i32 -1072147200) %54 = icmp slt i32 %53, 0 %55 = icmp eq i1 %54, false %spec.select = select i1 %55, i8 %sv_1.1.ph12.reload, i8 %51 %56 = add i64 %33, 3 %57 = inttoptr i64 %56 to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, %spec.select br i1 %59, label LBL_12, label LBL_13 LBL_12: %60 = icmp slt i32 %sv_0.29.reload, %25 store i32 %sv_0.29.reload, i32* %sv_0.013.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %60, label LBL_15, label LBL_26 LBL_13: %61 = inttoptr i64 %33 to i8* %62 = load i8, i8* %61, align 1 %63 = zext i8 %62 to i32 %64 = add i32 %sv_0.29.reload, %63 %65 = icmp slt i32 %64, %25 store i8 %spec.select, i8* %sv_1.1.ph12.reg2mem store i32 %64, i32* %sv_0.2.ph11.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %65, label LBL_8.lr.ph, label LBL_26 LBL_14: %66 = add i64 %21, %72 %67 = inttoptr i64 %66 to i8* %68 = load i8, i8* %67, align 1 %69 = zext i8 %68 to i32 %70 = add i32 %sv_0.013.reload, %69 %71 = icmp slt i32 %70, %25 store i32 %70, i32* %sv_0.013.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_15, label LBL_26 LBL_15: %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem %72 = sext i32 %sv_0.013.reload to i64 %73 = add i64 %11, %72 %74 = inttoptr i64 %73 to i8* %75 = load i8, i8* %74, align 1 %76 = icmp eq i8 %75, 5 %77 = icmp eq i1 %76, false br i1 %77, label LBL_14, label LBL_16 LBL_16: %78 = icmp slt i32 %sv_0.013.reload, %25 store i32 %sv_2.2.ph.ph21.reload, i32* %sv_2.115.reg2mem store i32 %sv_0.013.reload, i32* %sv_0.114.reg2mem store i32 %sv_0.013.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_2.2.ph.ph21.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %78, label LBL_17, label LBL_23 LBL_17: %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %sv_2.115.reload = load i32, i32* %sv_2.115.reg2mem %79 = sext i32 %sv_0.114.reload to i64 %80 = add i64 %21, %79 %81 = add i64 %80, 1 %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 1 %84 = icmp eq i8 %83, 5 store i32 %sv_0.114.reload, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_2.115.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %84, label LBL_18, label LBL_23 LBL_18: %85 = add i64 %80, 2 %86 = inttoptr i64 %85 to i8* %87 = load i8, i8* %86, align 1 %88 = add i64 %80, 3 %89 = inttoptr i64 %88 to i8* %90 = load i8, i8* %89, align 1 %91 = urem i8 %90, 4 store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem switch i8 %91, label LBL_22 [ i8 3, label LBL_21 i8 1, label LBL_20 i8 0, label LBL_19 ] LBL_19: store i32 2, i32* %sv_2.0.reg2mem br label LBL_22 LBL_20: store i32 0, i32* %sv_2.0.reg2mem br label LBL_22 LBL_21: store i32 1, i32* %sv_2.0.reg2mem br label LBL_22 LBL_22: %92 = zext i8 %87 to i64 %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %93 = urem i32 %sv_2.0.reload, 256 %94 = mul i64 %92, 8 %narrow = and i64 %94, 120 %95 = add i64 %31, %narrow %96 = add i64 %95, 8 %97 = inttoptr i64 %96 to i32* store i32 %93, i32* %97, align 4 %98 = add i64 %95, 12 %99 = inttoptr i64 %98 to i32* store i32 0, i32* %99, align 4 %100 = inttoptr i64 %80 to i8* %101 = load i8, i8* %100, align 1 %102 = zext i8 %101 to i32 %103 = add i32 %sv_0.114.reload, %102 %104 = icmp slt i32 %103, %25 store i32 %sv_2.0.reload, i32* %sv_2.115.reg2mem store i32 %103, i32* %sv_0.114.reg2mem store i32 %103, i32* %sv_0.1.lcssa.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.1.lcssa.reg2mem br i1 %104, label LBL_17, label LBL_23 LBL_23: %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %105 = icmp slt i32 %sv_0.1.lcssa.reload, %25 store i32 %sv_2.1.lcssa.reload, i32* %sv_2.2.ph.ph21.reg2mem store i8 %spec.select, i8* %sv_1.1.ph.ph20.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.ph.ph19.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %105, label LBL_8.lr.ph.lr.ph, label LBL_26 LBL_24: %sv_0.2.ph.ph19.reload = load i32, i32* %sv_0.2.ph.ph19.reg2mem %sv_1.1.ph.ph20.reload = load i8, i8* %sv_1.1.ph.ph20.reg2mem %sv_2.2.ph.ph21.reload = load i32, i32* %sv_2.2.ph.ph21.reg2mem store i8 %sv_1.1.ph.ph20.reload, i8* %sv_1.1.ph12.reg2mem store i32 %sv_0.2.ph.ph19.reload, i32* %sv_0.2.ph11.reg2mem br label LBL_8.lr.ph LBL_25: %sv_0.2.ph11.reload = load i32, i32* %sv_0.2.ph11.reg2mem %sv_1.1.ph12.reload = load i8, i8* %sv_1.1.ph12.reg2mem store i32 %sv_0.2.ph11.reload, i32* %sv_0.29.reg2mem br label LBL_8 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_2.0.reload, { 0, 2, 1 } uselistorder i32 %sv_2.115.reload, { 1, 0 } uselistorder i32 %sv_0.114.reload, { 2, 0, 1 } uselistorder i64 %72, { 1, 0 } uselistorder i32 %sv_0.013.reload, { 0, 1, 4, 2, 3 } uselistorder i8 %spec.select, { 1, 0, 2 } uselistorder i32 %sv_0.29.reload, { 3, 0, 4, 2, 1 } uselistorder i32 %25, { 3, 5, 1, 6, 4, 2, 7, 0 } uselistorder i64 %21, { 1, 0, 2, 3 } uselistorder i64 %10, { 0, 3, 2, 1, 4 } uselistorder i8 %3, { 1, 0 } uselistorder i32* %sv_0.29.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.013.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.115.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.114.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i32* %sv_0.2.ph.ph19.reg2mem, { 0, 2, 1 } uselistorder i8* %sv_1.1.ph12.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.ph11.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2, 5, 6, 9, 7, 8 } uselistorder i64 8, { 1, 0 } uselistorder i64 1, { 3, 4, 2, 0, 1 } uselistorder i64 0, { 0, 3, 2, 1, 4, 5, 6, 7, 8, 9, 10 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder label LBL_26, { 0, 3, 2, 1, 4, 5, 7, 6, 8 } uselistorder label LBL_8.lr.ph.lr.ph, { 1, 0 } uselistorder label LBL_23, { 1, 0, 2 } uselistorder label LBL_22, { 1, 2, 3, 0 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_15, { 1, 0 } }
1
BinRealVul
bm_set_font_12780
bm_set_font
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i64* store i64 %arg2, i64* %0, align 8 ret i64 %arg1 uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
ProcXDGACloseFramebuffer_11401
ProcXDGACloseFramebuffer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64* @malloc(i32 4) %1 = bitcast i64* %0 to i32* %2 = load i32, i32* %1, align 4 %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = icmp ult i32 %2, %3 store i64 1, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = zext i32 %2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 1001, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_2: %10 = load i32, i32* %1, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) 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* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
img_read_packet_3295
img_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %3 = trunc i64 %1 to i32 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_2, i64 1024, i64 %6, i32 %3) %8 = add i64 %2, 12 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = ptrtoint i64* %sv_2 to i64 %14 = call i64 @FUNC(i64 %13, i64* nonnull %sv_2, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %17, label LBL_1.LBL_4_crit_edge, label LBL_16 LBL_2: %.pre = add i64 %2, 8 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %13, i64* %sv_1.0.reg2mem br label LBL_4 LBL_3: %18 = add i64 %2, 8 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 store i64 %18, i64* %.pre-phi.reg2mem store i64 %18, i64* %sv_1.0.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %21, label LBL_4, label LBL_16 LBL_4: %22 = ptrtoint i64* %arg2 to i64 %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %23 = add i64 %2, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = call i64 @FUNC(i64 %22, i64 %26) %28 = bitcast i64* %arg2 to i32* store i32 0, i32* %28, align 4 %29 = inttoptr i64 %.pre-phi.reload to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 4 br i1 %31, label LBL_10, label LBL_5 LBL_5: %32 = icmp sgt i32 %30, 4 store i64 4294967291, i64* %rax.0.reg2mem br i1 %32, label LBL_16, label LBL_6 LBL_6: store i64 4294967291, i64* %rax.0.reg2mem switch i32 %30, label LBL_16 [ i32 3, label LBL_9 i32 1, label LBL_7 i32 2, label LBL_8 ] LBL_7: %33 = add i64 %22, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = add i64 %22, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %38, i32 %35, i64 1) store i64 %39, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_8: %40 = add i64 %22, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %22, 8 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %45, i32 %42, i64 0) store i64 %46, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_9: %47 = add i64 %22, 4 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = add i64 %22, 8 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2, i64 %52, i32 %49) store i64 %53, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_10: %54 = add i64 %22, 4 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = add i64 %22, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %59, i32 %56) store i64 %60, i64* %sv_0.0.in.reg2mem br label LBL_11 LBL_11: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %61 = load i32, i32* %9, align 4 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_13, label LBL_12 LBL_12: %64 = call i64 @FUNC(i64 %sv_1.0.reload) br label LBL_13 LBL_13: %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %65 = icmp slt i32 %sv_0.0, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = call i64 @FUNC(i64 %22) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %68 = add i32 %3, 1 %69 = bitcast i64* %arg1 to i32* store i32 %68, i32* %69, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 } uselistorder i64 %22, { 6, 8, 7, 5, 4, 1, 0, 3, 2, 9 } uselistorder i64* %sv_2, { 0, 1, 3, 2 } uselistorder i64 %2, { 4, 3, 1, 2, 5, 6, 0, 7, 8 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 1, 2, 3, 4 } uselistorder i64 (i64, i64, i64, i32, i64)* @pgm_read, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 8, { 1, 2, 3, 4, 5, 0, 6, 7 } uselistorder i64 4294967291, { 4, 0, 1, 2, 3 } uselistorder label LBL_16, { 4, 5, 0, 1, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
vvfat_close_17001
vvfat_close
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 = add i64 %0, 8 %4 = call i64 @FUNC(i64 %3) %5 = add i64 %0, 16 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = inttoptr i64 %9 to i64* call void @free(i64* %11) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder void (i64*)* @free, { 1, 0 } uselistorder i64 (i64)* @array_free, { 2, 1, 0 } }
1
BinRealVul
check_entry_size_and_hooks_11452
check_entry_size_and_hooks
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %rdx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg6 to i64 %3 = ptrtoint i64* %arg5 to i64 %4 = ptrtoint i64* %arg4 to i64 %5 = ptrtoint i64* %arg3 to i64 %6 = ptrtoint i32* %arg1 to i64 %7 = urem i64 %6, 4 %8 = icmp eq i64 %7, 0 %9 = add i64 %6, 16 %10 = icmp ult i64 %9, %4 %or.cond = icmp eq i1 %8, %10 store i64 %5, i64* %rdx.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %11 = and i64 %1, 4294967295 %12 = add i64 %11, %6 %13 = icmp ugt i64 %12, %4 %14 = icmp eq i1 %13, false store i64 %11, i64* %rdx.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %15 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %rdx.0.reload, i64 %4, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_17 LBL_3: %16 = trunc i64 %1 to i32 %17 = icmp ult i32 %16, 16 br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %11, i64 %4, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_17 LBL_5: %19 = call i64 @FUNC(i64 %6) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_6, label LBL_7 LBL_6: %22 = ptrtoint i64* %arg2 to i64 %23 = sub i64 %6, %5 store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_7: %24 = and i64 %19, 4294967295 store i64 %24, i64* %rax.0.reg2mem br label LBL_17 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %25 = trunc i64 %indvars.iv.reload to i32 %26 = shl i32 1, %25 %storemerge = zext i32 %26 to i64 %27 = and i64 %storemerge, %arg7 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_15, label LBL_9 LBL_9: %29 = mul i64 %indvars.iv.reload, 4 %30 = add i64 %29, %3 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = icmp eq i64 %23, %33 %35 = icmp eq i1 %34, false br i1 %35, label LBL_11, label LBL_10 LBL_10: %36 = add i64 %29, %22 %37 = inttoptr i64 %36 to i32* store i32 %32, i32* %37, align 4 br label LBL_11 LBL_11: %38 = add i64 %29, %2 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = icmp eq i64 %23, %41 %43 = icmp eq i1 %42, false br i1 %43, label LBL_15, label LBL_12 LBL_12: %44 = call i64 @FUNC(i64 %6) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %41, i64 %29, i64 %3, i64 %2) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_17 LBL_14: %49 = load i32, i32* %39, align 4 %50 = add i64 %29, %22 %51 = add i64 %50, 20 %52 = inttoptr i64 %51 to i32* store i32 %49, i32* %52, align 4 br label LBL_15 LBL_15: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %53 = icmp ult i64 %indvars.iv.next, 5 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %53, label LBL_8, label LBL_16 LBL_16: %54 = add i64 %6, 4 %55 = inttoptr i64 %54 to i32* store i32 0, i32* %55, align 4 %56 = add i64 %6, 8 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %6, 12 %59 = inttoptr i64 %58 to i32* store i32 0, i32* %59, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %29, { 3, 4, 2, 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %22, { 0, 2, 1 } uselistorder i64 %11, { 2, 0, 1 } uselistorder i64 %6, { 3, 4, 5, 6, 7, 9, 8, 10, 1, 2, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 2, 3, 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 } uselistorder i64 1, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @duprintf, { 1, 0 } uselistorder i64 4, { 2, 0, 1 } uselistorder label LBL_17, { 1, 0, 2, 3, 4 } uselistorder label LBL_15, { 1, 2, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dvdsub_init_365
dvdsub_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem16 = alloca i8* %.reg2mem14 = alloca i8* %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i8* %sv_0.16.reg2mem = alloca i32 %storemerge.in7.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i8* %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i8*, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_19, label LBL_1 LBL_1: %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_19 LBL_2: %10 = add i32 %7, 1 %11 = sext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_19 LBL_3: %15 = load i32, i32* %6, align 4 %16 = load i64, i64* %2, align 8 %17 = inttoptr i64 %12 to i64* %18 = inttoptr i64 %16 to i64* %19 = call i64* @memcpy(i64* %17, i64* %18, i32 %15) %20 = load i32, i32* %6, align 4 %21 = sext i32 %20 to i64 %22 = add i64 %12, %21 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %storemerge5 = inttoptr i64 %12 to i8* %24 = load i8, i8* %storemerge5, align 1 %25 = icmp eq i8 %24, 0 %26 = icmp eq i1 %25, false store i32 0, i32* %sv_0.2.reg2mem br i1 %26, label LBL_4, label LBL_18 LBL_4: %27 = bitcast i64* %arg1 to i32* store i8* %storemerge5, i8** %storemerge8.reg2mem store i64 %12, i64* %storemerge.in7.reg2mem store i32 0, i32* %sv_0.16.reg2mem br label LBL_5 LBL_5: %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %storemerge.in7.reload = load i64, i64* %storemerge.in7.reg2mem %storemerge8.reload = load i8*, i8** %storemerge8.reg2mem %28 = call i32 @strncmp(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* %storemerge8.reload, i32 8) %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_14, label LBL_6 LBL_6: %31 = add i64 %storemerge.in7.reload, 8 %32 = inttoptr i64 %31 to i8* store i8* %32, i8** %sv_3, align 8 store i32 1, i32* %27, align 4 store i8* %32, i8** %.reg2mem store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i8*, i8** %.reg2mem %33 = call i32 @strtoul(i8* %.reload, i8** nonnull %sv_3, i32 16) %34 = sext i32 %33 to i64 %35 = mul i64 %indvars.iv.reload, 8 %36 = add i64 %35, %1 %37 = inttoptr i64 %36 to i64* store i64 %34, i64* %37, align 8 %.pre10 = load i8*, i8** %sv_3, align 8 store i8* %.pre10, i8** %.reg2mem16 br label LBL_9 LBL_8: %.reload15 = load i8*, i8** %.reg2mem14 %38 = ptrtoint i8* %.reload15 to i64 %39 = add i64 %38, 1 %40 = inttoptr i64 %39 to i8* store i8* %40, i8** %sv_3, align 8 store i8* %40, i8** %.reg2mem16 br label LBL_9 LBL_9: %.reload17 = load i8*, i8** %.reg2mem16 %41 = load i8, i8* %.reload17, align 1 %42 = icmp eq i8 %41, 44 store i8* %.reload17, i8** %.reg2mem14 br i1 %42, label LBL_8, label LBL_10 LBL_10: %43 = sext i8 %41 to i64 %44 = and i64 %43, 4294967295 %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_10.LBL_8_crit_edge, label LBL_12 LBL_11: %.pre11 = load i8*, i8** %sv_3, align 8 store i8* %.pre11, i8** %.reg2mem14 br label LBL_8 LBL_12: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 16 store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %exitcond, label LBL_17, label LBL_12.LBL_7_crit_edge LBL_13: %.pre = load i8*, i8** %sv_3, align 8 store i8* %.pre, i8** %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br label LBL_7 LBL_14: %49 = call i32 @strncmp(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* %storemerge8.reload, i32 5) %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %51, label LBL_17, label LBL_15 LBL_15: %52 = add i64 %storemerge.in7.reload, 5 %53 = inttoptr i64 %52 to i8* %54 = call i32 (i8*, i8*, ...) @sscanf(i8* %53, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2) %55 = icmp eq i32 %54, 2 %56 = icmp eq i1 %55, false store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem br i1 %56, label LBL_17, label LBL_16 LBL_16: %57 = load i64, i64* %sv_2, align 8 %58 = and i64 %57, 4294967295 %59 = load i64, i64* %sv_1, align 8 %60 = and i64 %59, 4294967295 %61 = call i64 @FUNC(i64 %0, i64 %60, i64 %58) %62 = trunc i64 %61 to i32 %63 = icmp slt i32 %62, 0 store i32 %62, i32* %sv_0.0.reg2mem store i32 %62, i32* %sv_0.2.reg2mem br i1 %63, label LBL_18, label LBL_17 LBL_17: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %64 = call i32 @strcspn(i8* %storemerge8.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %65 = sext i32 %64 to i64 %66 = add i64 %storemerge.in7.reload, %65 %67 = inttoptr i64 %66 to i8* %68 = call i32 @strspn(i8* %67, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %69 = sext i32 %68 to i64 %70 = add i64 %66, %69 %storemerge = inttoptr i64 %70 to i8* %71 = load i8, i8* %storemerge, align 1 %72 = icmp eq i8 %71, 0 %73 = icmp eq i1 %72, false store i8* %storemerge, i8** %storemerge8.reg2mem store i64 %70, i64* %storemerge.in7.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %73, label LBL_5, label LBL_18 LBL_18: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %74 = call i64 @FUNC(i64 %12) %75 = zext i32 %sv_0.2.reload to i64 store i64 %75, i64* %rax.0.reg2mem br label LBL_19 LBL_19: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %66, { 1, 0 } uselistorder i8* %.reload17, { 1, 0 } uselistorder i64 %storemerge.in7.reload, { 2, 0, 1 } uselistorder i32 %sv_0.16.reload, { 1, 2, 0 } uselistorder i64 %12, { 3, 0, 2, 1, 4, 5 } uselistorder i8** %sv_3, { 2, 0, 4, 1, 5, 3 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i8** %storemerge8.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in7.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem14, { 2, 1, 0 } uselistorder i8** %.reg2mem16, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 } uselistorder i8 0, { 1, 0, 2 } uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6, 7 } uselistorder i32 0, { 2, 3, 4, 5, 1, 0, 6 } uselistorder label LBL_19, { 3, 0, 2, 1 } uselistorder label LBL_18, { 1, 0, 2 } uselistorder label LBL_17, { 1, 2, 3, 0 } uselistorder label LBL_5, { 1, 0 } }
0