dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
kvm_report_emulation_failure_9785
kvm_report_emulation_failure
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %sv_0 = alloca i8, align 1 %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC() %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %1, i64 0) %9 = add i64 %8, %4 %10 = bitcast i8* %sv_0 to i64* %11 = call i64 @FUNC(i64 %9, i64* nonnull %10, i64 4, i64 %1) %12 = load i8, i8* %sv_0, align 1 %13 = zext i8 %12 to i64 %14 = ptrtoint i8* %arg2 to i64 %15 = urem i32 %3, 256 %16 = zext i32 %15 to i64 %17 = urem i32 %2, 256 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %4, i64 %13, i64 %18, i64 %16) store i64 %19, 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 %4, { 1, 0 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32* %0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
scsi_execute_5399
scsi_execute
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64* %arg6, i64 %arg7, i64 %arg8, i64 %arg9) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %2 = trunc i64 %arg5 to i32 %3 = icmp eq i32 %1, 1 %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4, i64 0) %6 = icmp eq i32 %2, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %0, i64 %5, i64 %arg4, i32 %2, i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 16777216, i64* %sv_0.0.reg2mem br i1 %10, label LBL_5, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg6 to i64 %12 = add i64 %5, 8 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 %14 = inttoptr i64 %5 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i64* %17 = call i64* @memcpy(i64* %16, i64* %arg2, i32 1) %18 = add i64 %5, 16 %19 = inttoptr i64 %18 to i64* store i64 %11, i64* %19, align 8 %20 = add i64 %5, 24 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = trunc i64 %arg8 to i32 %23 = add i64 %5, 28 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = trunc i64 %arg7 to i32 %26 = add i64 %5, 32 %27 = inttoptr i64 %26 to i32* store i32 %25, i32* %27, align 4 %28 = add i64 %5, 36 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %5, 40 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = trunc i64 %arg9 to i32 %34 = or i32 %32, %33 store i32 %34, i32* %31, align 4 %35 = add i64 %5, 48 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37, i64 0, i64 %5, i64 1) %39 = add i64 %5, 44 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i32 %41, -1 %43 = icmp ult i32 %42, %2 %storemerge = zext i1 %43 to i64 %44 = call i64 @FUNC(i64 %storemerge) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_4, label LBL_3 LBL_3: %47 = load i32, i32* %40, align 4 %48 = sub i32 %2, %47 %49 = zext i32 %48 to i64 %50 = add i64 %49, %arg4 %51 = inttoptr i64 %50 to i64* %52 = call i64* @memset(i64* %51, i32 0, i32 %47) br label LBL_4 LBL_4: %53 = add i64 %5, 56 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %phitmp = zext i32 %55 to i64 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %56 = call i64 @FUNC(i64 %5) ret i64 %sv_0.0.reload uselistorder i32 %47, { 1, 0 } uselistorder i64 %5, { 0, 1, 4, 3, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13 } uselistorder i32 %2, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qemu_blockalign_2848
qemu_blockalign
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 %arg2) ret i64 %2 }
0
BinRealVul
pvpanic_fw_cfg_14660
pvpanic_fw_cfg
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 4) %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 4) ret i64 %4 }
1
BinRealVul
get_cmd_18986
get_cmd
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i8, i8* %1 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = add i64 %3, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_10, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = trunc i64 %5 to i32 %12 = trunc i64 %10 to i32 %13 = icmp ugt i32 %11, %12 br i1 %13, label LBL_2, label LBL_3 LBL_2: %14 = call i64 @FUNC(i64 %3) store i64 %14, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %15 = and i64 %5, 4294967295 store i64 %15, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %16 = trunc i64 %storemerge.reload to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_5, label LBL_19 LBL_5: %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %sext3 = mul i64 %storemerge.reload, 4294967296 %23 = ashr exact i64 %sext3, 32 %24 = add i64 %3, 24 %25 = trunc i64 %23 to i32 %26 = call i64 @FUNC(i64 %24, i64* nonnull %sv_1, i32 %25) store i64 %23, i64* %sv_0.0.reg2mem br label LBL_17 LBL_7: %27 = call i64 @FUNC(i64 %3) %28 = trunc i64 %27 to i32 %29 = icmp slt i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: %31 = add i64 %3, 24 %32 = call i64 @FUNC(i64 %31) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_19 LBL_9: %33 = call i64 @FUNC(i64 %3) %34 = add i64 %3, 24 %35 = call i64 @FUNC(i64 %34) store i64 0, i64* %rax.0.reg2mem br label LBL_19 LBL_10: %36 = add i64 %3, 288 %37 = call i64 @FUNC(i64 %36) %38 = trunc i64 %5 to i32 %39 = trunc i64 %37 to i32 %40 = icmp ugt i32 %38, %39 br i1 %40, label LBL_11, label LBL_12 LBL_11: %41 = call i64 @FUNC(i64 %36) store i64 %41, i64* %storemerge5.reg2mem br label LBL_13 LBL_12: %42 = and i64 %5, 4294967295 store i64 %42, i64* %storemerge5.reg2mem br label LBL_13 LBL_13: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %43 = trunc i64 %storemerge5.reload to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 0, i64* %rax.0.reg2mem br i1 %45, label LBL_14, label LBL_19 LBL_14: %sext4 = mul i64 %storemerge5.reload, 4294967296 %46 = ashr exact i64 %sext4, 32 %47 = trunc i64 %46 to i32 %48 = call i64 @FUNC(i64 %36, i64* nonnull %sv_1, i32 %47) %49 = trunc i64 %48 to i32 %50 = icmp ult i32 %49, 3 br i1 %50, label LBL_16, label LBL_15 LBL_15: %51 = udiv i8 %4, 32 %52 = zext i8 %51 to i64 store i64 %52, i64* %sv_1, align 8 br label LBL_16 LBL_16: %53 = add i64 %3, 24 %54 = call i64 @FUNC(i64 %53, i64* nonnull %sv_1, i32 %49) store i64 %46, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %55 = urem i64 %2, 256 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %56 = and i64 %sv_0.0.reload, 4294967295 %57 = call i64 @FUNC(i64 %56, i64 %55) %58 = call i64 @FUNC(i64 %3) %59 = trunc i64 %58 to i32 %60 = icmp slt i32 %59, 0 %61 = icmp eq i1 %60, false store i64 %56, i64* %rax.0.reg2mem br i1 %61, label LBL_19, label LBL_18 LBL_18: %62 = add i64 %3, 24 %63 = call i64 @FUNC(i64 %62) store i64 4294967295, 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 %storemerge5.reload, { 1, 0 } uselistorder i64 %storemerge.reload, { 1, 0 } uselistorder i64 %5, { 3, 2, 1, 0 } uselistorder i64* %sv_1, { 0, 3, 1, 2 } uselistorder i64 %3, { 7, 8, 9, 10, 1, 0, 2, 5, 4, 3, 6, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64)* @fifo8_num_used, { 1, 0 } uselistorder i64 (i64)* @fifo8_reset, { 2, 1, 0 } uselistorder i64 (i64)* @esp_select, { 1, 0 } uselistorder i64 (i64, i64*, i32)* @fifo8_push_all, { 1, 0 } uselistorder i64 4294967295, { 1, 4, 2, 0, 3 } uselistorder i64 (i64)* @esp_get_tc, { 1, 0 } uselistorder label LBL_19, { 3, 0, 1, 4, 5, 2 } }
1
BinRealVul
w64_read_header_2979
w64_read_header
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 16) %8 = call i32 @memcmp(i64* nonnull %sv_0, i64* nonnull @gv_0, i32 16) %9 = icmp eq i32 %8, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_12 LBL_1: %10 = call i64 @FUNC(i64 %3) %11 = icmp sgt i64 %10, 71 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_12 LBL_2: %12 = ptrtoint i64* %sv_0 to i64 %13 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 16) %14 = call i32 @memcmp(i64* nonnull %sv_0, i64* nonnull @gv_1, i32 16) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_4: %17 = call i64 @FUNC(i64 %3, i64* nonnull @gv_3) %18 = icmp slt i64 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i64 %12, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_6: %21 = call i64 @FUNC(i64 %3, i64 0) %22 = icmp eq i64 %21, 0 %23 = icmp eq i1 %22, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_12 LBL_7: %24 = add i64 %17, 4294967272 %25 = and i64 %24, 4294967295 %26 = inttoptr i64 %21 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %3, i64 %27, i64 %25) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_9, label LBL_8 LBL_8: %32 = and i64 %28, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_12 LBL_9: %sext = mul i64 %17, 4294967296 %33 = ashr exact i64 %sext, 32 %34 = add nsw i64 %33, 7 %35 = and i64 %34, -8 %36 = sub nsw i64 %35, %33 %37 = call i64 @FUNC(i64 %3, i64 %36) %38 = add i64 %21, 8 %39 = inttoptr i64 %38 to i32* store i32 1, i32* %39, align 4 %40 = load i64, i64* %26, align 8 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i64 %21, i64 64, i64 1, i64 %43) %45 = call i64 @FUNC(i64 %3, i64* nonnull @gv_5) %46 = icmp slt i64 %45, 0 %47 = icmp eq i1 %46, false br i1 %47, label LBL_11, label LBL_10 LBL_10: %48 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %43, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_12 LBL_11: %49 = call i64 @FUNC(i64 %3) %sext2 = mul i64 %45, 4294967296 %50 = ashr exact i64 %sext2, 32 %51 = add nsw i64 %50, -24 %52 = add i64 %51, %49 %53 = inttoptr i64 %6 to i64* store i64 %52, i64* %53, align 8 %54 = add i64 %6, 8 %55 = inttoptr i64 %54 to i32* store i32 1, i32* %55, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %33, { 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64* %sv_0, { 0, 1, 4, 2, 3 } uselistorder i64 %3, { 2, 1, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 1, 5, 4, 2, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64*)* @find_guid, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 } uselistorder label LBL_12, { 3, 4, 5, 0, 6, 7, 1, 2 } }
0
BinRealVul
avcodec_alloc_frame_3289
avcodec_alloc_frame
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %0) store i64 %0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_evtchn_to_irq_13390
get_evtchn_to_irq
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = call i64 @FUNC() %2 = icmp slt i64 %0, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = trunc i64 %0 to i32 %4 = ashr i32 %3, 5 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 8 %7 = add i64 %6, ptrtoint (i64* @gv_0 to i64) %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_2: %12 = mul i64 %arg1, 4 %13 = and i64 %12, 124 %14 = add i64 %9, %13 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = sext i32 %16 to i64 %18 = call i64 @FUNC(i64 %17) store i64 %18, 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 } }
0
BinRealVul
vrend_decode_set_framebuffer_state_4424
vrend_decode_set_framebuffer_state
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 %sv_1 = alloca i64, align 8 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 1 store i64 22, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_6 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 0) %4 = trunc i64 %3 to i32 %5 = call i64 @FUNC(i64 %2, i64 1) %6 = add i32 %4, 2 %7 = icmp eq i32 %6, %0 %8 = icmp ult i32 %4, 9 %or.cond = icmp eq i1 %8, %7 store i64 22, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_6 LBL_2: %9 = icmp eq i32 %4, 0 br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = ptrtoint i64* %sv_1 to i64 %11 = add i64 %10, -48 %wide.trip.count = and i64 %3, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %12 = add nuw nsw i64 %indvars.iv.reload, 2 %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %2, i64 %13) %sext = mul i64 %indvars.iv.reload, 4294967296 %15 = trunc i64 %14 to i32 %16 = ashr exact i64 %sext, 30 %17 = add i64 %11, %16 %18 = inttoptr i64 %17 to i32* store i32 %15, i32* %18, 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_5, label LBL_4 LBL_5: %19 = trunc i64 %5 to i32 %20 = call i64 @FUNC(i64 %2, i32 %4, i64* nonnull %sv_0, i32 %19) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %4, { 2, 0, 1, 3 } uselistorder i64 %2, { 0, 1, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64)* @get_buf_entry, { 2, 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
gdImageCrop_19150
gdImageCrop
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem48 = alloca i32 %.reg2mem46 = alloca i32 %.reg2mem44 = alloca i32 %.reg2mem42 = alloca i32 %storemerge13.reg2mem = alloca i32 %.reg2mem40 = alloca i32 %.reg2mem38 = alloca i64 %.reg2mem36 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem34 = alloca i64 %.reg2mem32 = alloca i32 %.reg2mem30 = alloca i32 %.reg2mem28 = alloca i32 %.reg2mem26 = alloca i32 %sv_0.05.reg2mem = alloca i32 %sv_1.06.reg2mem = alloca i32 %.reg2mem24 = alloca i64 %.reg2mem22 = alloca i32 %.reg2mem20 = alloca i32 %.reg2mem18 = alloca i32 %.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_25, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_2, label LBL_25 LBL_2: %14 = trunc i64 %1 to i32 %15 = icmp eq i32 %14, 0 %16 = zext i32 %8 to i64 %17 = and i64 %2, 4294967295 br i1 %15, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = call i64 @FUNC(i64 %18, i64 1) store i64 %18, i64* %sv_2.0.reg2mem br label LBL_5 LBL_4: %20 = call i64 @FUNC(i64 %17, i64 %16) %21 = call i64 @FUNC(i64 %20, i64 %arg1) store i64 %20, i64* %sv_2.0.reg2mem br label LBL_5 LBL_5: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %22 = icmp eq i64 %sv_2.0.reload, 0 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_25 LBL_6: %24 = add i64 %arg1, 12 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %sv_2.0.reload, 12 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = add i64 %5, 8 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp slt i32 %31, 0 store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %32, label LBL_25, label LBL_7 LBL_7: %33 = add i64 %arg1, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ugt i32 %35, %31 store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %36, label LBL_8, label LBL_25 LBL_8: %37 = add i64 %5, 12 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = icmp slt i32 %39, 0 store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %40, label LBL_25, label LBL_9 LBL_9: %41 = add i64 %arg1, 8 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp ult i32 %39, %43 store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %44, label LBL_10, label LBL_25 LBL_10: %45 = bitcast i64* %rsi to i32* %46 = load i32, i32* %45, align 8 %47 = sub i32 %35, %46 %48 = icmp ult i32 %47, %31 store i32 %39, i32* %.reg2mem store i32 %43, i32* %.reg2mem18 br i1 %48, label LBL_11, label LBL_12 LBL_11: %49 = sub i32 %35, %31 %50 = bitcast i64* %arg2 to i32* store i32 %49, i32* %50, align 4 %.pre = load i32, i32* %42, align 4 %.pre7 = load i32, i32* %38, align 4 store i32 %.pre7, i32* %.reg2mem store i32 %.pre, i32* %.reg2mem18 br label LBL_12 LBL_12: %.reload19 = load i32, i32* %.reg2mem18 %.reload = load i32, i32* %.reg2mem %51 = load i32, i32* %7, align 4 %52 = sub i32 %.reload19, %51 %53 = icmp ult i32 %52, %.reload store i32 %51, i32* %.reg2mem20 store i32 %.reload, i32* %.reg2mem22 br i1 %53, label LBL_13, label LBL_14 LBL_13: %54 = sub i32 %.reload19, %.reload store i32 %54, i32* %7, align 4 %.pre8 = load i32, i32* %38, align 4 store i32 %54, i32* %.reg2mem20 store i32 %.pre8, i32* %.reg2mem22 br label LBL_14 LBL_14: %55 = bitcast i64* %rdi to i32* %.reload23 = load i32, i32* %.reg2mem22 %.reload21 = load i32, i32* %.reg2mem20 %56 = load i32, i32* %55, align 8 %57 = icmp eq i32 %56, 0 %58 = add i32 %.reload21, -1 %59 = add i32 %58, %.reload23 %60 = zext i32 %59 to i64 %61 = sext i32 %.reload23 to i64 %62 = icmp slt i64 %61, %60 br i1 %57, label LBL_17, label LBL_15 LBL_15: store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %62, label LBL_16, label LBL_25 LBL_16: %63 = add i64 %arg1, 16 %64 = inttoptr i64 %63 to i64* %65 = add i64 %sv_2.0.reload, 16 %66 = inttoptr i64 %65 to i64* %.pre9 = load i32, i32* %45, align 8 %67 = mul i32 %.pre9, 4 store i64 %61, i64* %.reg2mem24 store i32 0, i32* %sv_1.06.reg2mem store i32 %.reload23, i32* %sv_0.05.reg2mem br label LBL_19 LBL_17: store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %62, label LBL_18, label LBL_25 LBL_18: %68 = add i64 %arg1, 24 %69 = inttoptr i64 %68 to i64* %70 = add i64 %sv_2.0.reload, 24 %71 = inttoptr i64 %70 to i64* %.pre10 = load i32, i32* %30, align 4 %.pre11 = load i32, i32* %45, align 8 store i32 %.reload21, i32* %.reg2mem26 store i32 %.reload23, i32* %.reg2mem28 store i32 %.pre11, i32* %.reg2mem30 store i32 %.pre10, i32* %.reg2mem32 store i64 %61, i64* %.reg2mem34 store i32 %.reload23, i32* %storemerge4.reg2mem br label LBL_20 LBL_19: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %.reload25 = load i64, i64* %.reg2mem24 %72 = load i64, i64* %64, align 8 %73 = add i32 %sv_0.05.reload, 1 %74 = mul i64 %.reload25, 8 %75 = add i64 %72, %74 %76 = inttoptr i64 %75 to i64* %77 = load i64, i64* %76, align 8 %78 = load i32, i32* %30, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, %77 %82 = load i64, i64* %66, align 8 %83 = add i32 %sv_1.06.reload, 1 %84 = zext i32 %sv_1.06.reload to i64 %85 = mul i64 %84, 8 %86 = add i64 %82, %85 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = inttoptr i64 %88 to i64* %90 = inttoptr i64 %81 to i64* %91 = call i64* @memcpy(i64* %89, i64* %90, i32 %67) %92 = load i32, i32* %38, align 4 %93 = load i32, i32* %7, align 4 %94 = add i32 %92, -1 %95 = add i32 %94, %93 %96 = zext i32 %95 to i64 %97 = sext i32 %73 to i64 %98 = icmp slt i64 %97, %96 store i64 %97, i64* %.reg2mem24 store i32 %83, i32* %sv_1.06.reg2mem store i32 %73, i32* %sv_0.05.reg2mem store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %98, label LBL_19, label LBL_25 LBL_20: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload33 = load i32, i32* %.reg2mem32 %.reload31 = load i32, i32* %.reg2mem30 %.reload29 = load i32, i32* %.reg2mem28 %.reload27 = load i32, i32* %.reg2mem26 %99 = add i32 %.reload31, -1 %100 = add i32 %99, %.reload33 %101 = zext i32 %100 to i64 %102 = sext i32 %.reload33 to i64 %103 = icmp slt i64 %102, %101 store i32 %.reload27, i32* %.reg2mem42 store i32 %.reload29, i32* %.reg2mem44 store i32 %.reload31, i32* %.reg2mem46 store i32 %.reload33, i32* %.reg2mem48 br i1 %103, label LBL_21, label LBL_24 LBL_21: %.reload35 = load i64, i64* %.reg2mem34 %104 = mul i64 %.reload35, 8 store i32 %.reload29, i32* %.reg2mem36 store i64 %102, i64* %.reg2mem38 store i32 %.reload33, i32* %.reg2mem40 store i32 %.reload33, i32* %storemerge13.reg2mem br label LBL_22 LBL_22: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %.reload41 = load i32, i32* %.reg2mem40 %.reload39 = load i64, i64* %.reg2mem38 %.reload37 = load i32, i32* %.reg2mem36 %105 = load i64, i64* %69, align 8 %106 = add i64 %105, %104 %107 = inttoptr i64 %106 to i64* %108 = load i64, i64* %107, align 8 %109 = add i64 %108, %.reload39 %110 = load i64, i64* %71, align 8 %111 = sub i32 %storemerge4.reload, %.reload37 %112 = sext i32 %111 to i64 %113 = mul i64 %112, 8 %114 = add i64 %110, %113 %115 = inttoptr i64 %114 to i64* %116 = load i64, i64* %115, align 8 %117 = sub i32 %storemerge13.reload, %.reload41 %118 = sext i32 %117 to i64 %119 = add i64 %116, %118 %120 = inttoptr i64 %109 to i8* %121 = load i8, i8* %120, align 1 %122 = inttoptr i64 %119 to i8* store i8 %121, i8* %122, align 1 %123 = add i32 %storemerge13.reload, 1 %124 = load i32, i32* %30, align 4 %125 = load i32, i32* %45, align 8 %126 = add i32 %124, -1 %127 = add i32 %126, %125 %128 = zext i32 %127 to i64 %129 = sext i32 %123 to i64 %130 = icmp slt i64 %129, %128 %.pre12 = load i32, i32* %38, align 4 store i32 %.pre12, i32* %.reg2mem36 store i64 %129, i64* %.reg2mem38 store i32 %124, i32* %.reg2mem40 store i32 %123, i32* %storemerge13.reg2mem br i1 %130, label LBL_22, label LBL_23 LBL_23: %.pre14 = load i32, i32* %7, align 4 store i32 %.pre14, i32* %.reg2mem42 store i32 %.pre12, i32* %.reg2mem44 store i32 %125, i32* %.reg2mem46 store i32 %124, i32* %.reg2mem48 br label LBL_24 LBL_24: %.reload49 = load i32, i32* %.reg2mem48 %.reload47 = load i32, i32* %.reg2mem46 %.reload45 = load i32, i32* %.reg2mem44 %.reload43 = load i32, i32* %.reg2mem42 %131 = add i32 %storemerge4.reload, 1 %132 = add i32 %.reload43, -1 %133 = add i32 %132, %.reload45 %134 = zext i32 %133 to i64 %135 = sext i32 %131 to i64 %136 = icmp slt i64 %135, %134 store i32 %.reload43, i32* %.reg2mem26 store i32 %.reload45, i32* %.reg2mem28 store i32 %.reload47, i32* %.reg2mem30 store i32 %.reload49, i32* %.reg2mem32 store i64 %135, i64* %.reg2mem34 store i32 %131, i32* %storemerge4.reg2mem store i64 %sv_2.0.reload, i64* %rax.0.reg2mem br i1 %136, label LBL_20, label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload43, { 1, 0 } uselistorder i32 %.reload45, { 1, 0 } uselistorder i32 %.reload29, { 1, 0 } uselistorder i32 %.reload33, { 1, 2, 0, 3, 4 } uselistorder i32 %sv_1.06.reload, { 1, 0 } uselistorder i1 %62, { 1, 0 } uselistorder i32 %.reload, { 1, 0, 2 } uselistorder i32* %45, { 2, 0, 1, 3 } uselistorder i32* %38, { 0, 3, 1, 2, 4 } uselistorder i32 %35, { 1, 2, 0 } uselistorder i32 %31, { 1, 2, 0, 3 } uselistorder i32* %30, { 2, 1, 0, 3 } uselistorder i64 %sv_2.0.reload, { 1, 0, 10, 3, 11, 2, 6, 5, 7, 4, 8, 9 } uselistorder i64 %16, { 1, 0 } uselistorder i32 %8, { 0, 2, 1 } uselistorder i32* %7, { 0, 1, 3, 2, 4 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem24, { 1, 0, 2 } uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem26, { 1, 0, 2 } uselistorder i32* %.reg2mem28, { 1, 0, 2 } uselistorder i32* %.reg2mem30, { 1, 0, 2 } uselistorder i32* %.reg2mem32, { 1, 0, 2 } uselistorder i64* %.reg2mem34, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem36, { 1, 0, 2 } uselistorder i64* %.reg2mem38, { 1, 0, 2 } uselistorder i32* %.reg2mem40, { 1, 0, 2 } uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem42, { 0, 2, 1 } uselistorder i32* %.reg2mem44, { 0, 2, 1 } uselistorder i32* %.reg2mem46, { 0, 2, 1 } uselistorder i32* %.reg2mem48, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 7, 6, 8, 5, 9, 11, 10 } uselistorder i64* %0, { 1, 0 } uselistorder i32 -1, { 3, 2, 1, 4, 0 } uselistorder i64 8, { 0, 1, 2, 3, 6, 7, 4, 8, 5, 9 } uselistorder i64 1, { 6, 4, 0, 2, 5, 1, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 0, 3, 4, 5, 6, 7, 8, 1, 9, 2 } uselistorder i64 %arg1, { 1, 0, 3, 2, 4, 5 } uselistorder label LBL_25, { 1, 0, 3, 2, 6, 5, 7, 4, 8, 10, 9 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
oidc_handle_redirect_uri_request_11087
oidc_handle_redirect_uri_request
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5, i64 %4) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %9, i64* %rax.0.reg2mem br label LBL_24 LBL_2: %10 = call i64 @FUNC(i64 %5, i64 %4) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %13, i64* %rax.0.reg2mem br label LBL_24 LBL_4: %14 = call i64 @FUNC(i64 %5, i64 %4) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %5, i64 %4) store i64 %17, i64* %rax.0.reg2mem br label LBL_24 LBL_6: %18 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %21, i64* %rax.0.reg2mem br label LBL_24 LBL_8: %22 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_10, label LBL_9 LBL_9: %25 = call i64 @FUNC(i64 %5, i64 %4) store i64 %25, i64* %rax.0.reg2mem br label LBL_24 LBL_10: %26 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_12, label LBL_11 LBL_11: %29 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %29, i64* %rax.0.reg2mem br label LBL_24 LBL_12: %30 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0)) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_14, label LBL_13 LBL_13: %33 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %33, i64* %rax.0.reg2mem br label LBL_24 LBL_14: %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0)) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 br i1 %36, label LBL_16, label LBL_15 LBL_15: %37 = call i64 @FUNC(i64 %5, i64 %4) store i64 %37, i64* %rax.0.reg2mem br label LBL_24 LBL_16: %38 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0)) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 br i1 %40, label LBL_18, label LBL_17 LBL_17: %41 = call i64 @FUNC(i64 %5, i64 %4) store i64 %41, i64* %rax.0.reg2mem br label LBL_24 LBL_18: %42 = icmp eq i64* %arg1, null br i1 %42, label LBL_20, label LBL_19 LBL_19: %43 = call i64 @FUNC(i64 %5, i64* nonnull @gv_6) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_21, label LBL_20 LBL_20: %47 = call i64 @FUNC(i64 %5, i64 %4) store i64 %47, i64* %rax.0.reg2mem br label LBL_24 LBL_21: %48 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0)) %49 = trunc i64 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_23, label LBL_22 LBL_22: %51 = call i64 @FUNC(i64 %5, i64 %4, i64 %3) store i64 %4, i64* %rcx.0.reg2mem br label LBL_23 LBL_23: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %52 = add i64 %5, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_8, i64 0, i64 0), i64 %5, i64 %rcx.0.reload, i64 %2, i64 %1) %56 = call i64 @FUNC(i64 %5, i64 ptrtoint ([64 x i8]* @gv_8 to i64), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_9, i64 0, i64 0), i64 %55, i64 500) store i64 %56, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 11, 0, 12, 10, 13, 14, 15, 9, 16, 8, 17, 7, 18, 6, 19, 5, 20, 4, 21, 3, 22, 2, 23, 1, 24 } uselistorder i64 %4, { 0, 10, 11, 9, 8, 7, 6, 5, 4, 3, 12, 2, 13, 1, 14 } uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder [64 x i8]* @gv_8, { 1, 0 } uselistorder i64 (i64, i8*)* @oidc_util_request_has_parameter, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @oidc_handle_redirect_authorization_response, { 1, 0 } }
1
BinRealVul
cpu_get_note_size_612
cpu_get_note_size
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 2 br i1 %1, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 39 br i1 %3, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %4 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_4 to i64), i64 8) to i64*), align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge26.reg2mem store i64 0, i64* %sv_0.05.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %6, label LBL_5, label LBL_6 LBL_5: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %storemerge26.reload = load i64, i64* %storemerge26.reg2mem %7 = add i64 %sv_0.05.reload, 20 %8 = inttoptr i64 %storemerge26.reload to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %7, %9 %11 = add i64 %storemerge26.reload, 16 %12 = add i64 %storemerge26.reload, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %11, i64* %storemerge26.reg2mem store i64 %10, i64* %sv_0.05.reg2mem store i64 %10, i64* %sv_0.0.lcssa.reg2mem br i1 %16, label LBL_5, label LBL_6 LBL_6: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %17 = load i64, i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_5 to i64), i64 8) to i64*), align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 ptrtoint (i64* @gv_5 to i64), i64* %storemerge4.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.13.reg2mem store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %19, label LBL_7, label LBL_8 LBL_7: %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %20 = add i64 %sv_0.13.reload, 20 %21 = inttoptr i64 %storemerge4.reload to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %20, %22 %24 = add i64 %storemerge4.reload, 16 %25 = add i64 %storemerge4.reload, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 %24, i64* %storemerge4.reg2mem store i64 %23, i64* %sv_0.13.reg2mem store i64 %23, i64* %sv_0.1.lcssa.reg2mem br i1 %29, label LBL_7, label LBL_8 LBL_8: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %30 = sext i32 %arg3 to i64 %31 = mul i64 %sv_0.1.lcssa.reload, %30 ret i64 %31 uselistorder i64 %storemerge4.reload, { 2, 1, 0 } uselistorder i64 %storemerge26.reload, { 2, 1, 0 } uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64 24, { 1, 0 } uselistorder i64 20, { 1, 0 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i64 8, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
test_function_7422
test_function
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem9 = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem7 = alloca i64 %.reg2mem = alloca i64 %1 = load i32, i32* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %2 = trunc i64 %arg2 to i32 store i64 %arg1, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %3 = zext i32 %1 to i64 %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3, i32 %2) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 %arg1, i64* %.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %10 = call i64 @FUNC(i64 %5, i64 %.reload, i32 %2, i32 %2, i64 0) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %.reload, i64* %.reg2mem7 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0)) %.pre6 = load i64, i64* %sv_1, align 8 store i64 %.pre6, i64* %.reg2mem7 br label LBL_4 LBL_4: %.reload8 = load i64, i64* %.reg2mem7 %16 = and i64 %10, 4294967295 %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 %16) %18 = call i64 @FUNC(i64 %5, i64 %.reload8, i32 %2, i32 %2, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp slt i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0)) br label LBL_6 LBL_6: %24 = and i64 %18, 4294967295 %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i64 %24) %26 = call i64 @FUNC(i64 %5) %27 = and i64 %26, 4294967295 %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_5, i64 0, i64 0), i64 %27) %29 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i32 %2) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %34 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %33, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0)) br label LBL_8 LBL_8: %35 = inttoptr i64 %5 to i32* %36 = and i64 %29, 4294967295 %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 %36) %38 = load i64, i64* %sv_0, align 8 %39 = call i64 @FUNC(i64* nonnull %sv_1, i64 %38, i32 %30) %40 = call i64 @FUNC(i64 %5) %41 = and i64 %40, 4294967295 %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_5, i64 0, i64 0), i64 %41) %43 = load i32, i32* %35, align 4 %44 = load i64, i64* %sv_0, align 8 %45 = call i64 @FUNC(i64 %5, i64 %44, i32 %43) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_10, label LBL_9 LBL_9: %49 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %49, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0)) br label LBL_10 LBL_10: %51 = call i32 @puts(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_9, i64 0, i64 0)) %52 = load i64, i64* %sv_0, align 8 %53 = call i64 @FUNC(i64* nonnull %sv_1, i64 %52, i32 %46) %54 = call i32 @putchar(i32 10) %55 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0)) %56 = load i32, i32* %35, align 4 %57 = icmp eq i32 %56, 0 store i32 0, i32* %storemerge35.reg2mem br i1 %57, label LBL_14, label LBL_11 LBL_11: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %58 = load i64, i64* %sv_0, align 8 %59 = zext i32 %storemerge35.reload to i64 %60 = call i64 @FUNC(i64 %5, i64 %58, i64 1, i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp slt i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_13, label LBL_12 LBL_12: %64 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %65 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %64, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_11, i64 0, i64 0)) br label LBL_13 LBL_13: %66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 %59) %67 = load i64, i64* %sv_0, align 8 %68 = call i64 @FUNC(i64* nonnull %sv_1, i64 %67, i32 %61) %69 = add i32 %storemerge35.reload, 1 %70 = load i32, i32* %35, align 4 %71 = zext i32 %70 to i64 %72 = sext i32 %69 to i64 %73 = icmp slt i64 %72, %71 store i32 %69, i32* %storemerge35.reg2mem br i1 %73, label LBL_11, label LBL_14 LBL_14: %74 = call i32 @putchar(i32 10) %75 = load i32, i32* %35, align 4 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %5, i64 %76) %78 = trunc i64 %77 to i32 %79 = icmp slt i32 %78, 0 %80 = icmp eq i1 %79, false br i1 %80, label LBL_16, label LBL_15 LBL_15: %81 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %82 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_13, i64 0, i64 0)) br label LBL_16 LBL_16: %83 = load i32, i32* %35, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_18, label LBL_17 LBL_17: %85 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %86 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %85, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_14, i64 0, i64 0)) br label LBL_18 LBL_18: %87 = add i64 %5, 4 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = icmp eq i32 %89, 0 store i64 0, i64* %.reg2mem9 store i32 0, i32* %storemerge4.reg2mem br i1 %90, label LBL_20, label LBL_19 LBL_19: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload10 = load i64, i64* %.reg2mem9 %91 = load i64, i64* %sv_0, align 8 %92 = mul i64 %.reload10, 8 %93 = add i64 %91, %92 %94 = call i64 @FUNC(i64 %93) %95 = add i32 %storemerge4.reload, 1 %96 = load i32, i32* %88, align 4 %97 = zext i32 %96 to i64 %98 = sext i32 %95 to i64 %99 = icmp slt i64 %98, %97 store i64 %98, i64* %.reg2mem9 store i32 %95, i32* %storemerge4.reg2mem br i1 %99, label LBL_19, label LBL_20 LBL_20: %100 = ptrtoint i64* %sv_0 to i64 %101 = call i64 @FUNC(i64 %100) %102 = call i64 @FUNC(i64 %5) ret i64 %102 uselistorder i32* %88, { 1, 0 } uselistorder i32* %35, { 1, 2, 3, 0, 4 } uselistorder i64 %5, { 1, 2, 3, 0, 4, 5, 10, 6, 7, 8, 9, 11 } uselistorder i32 %2, { 4, 3, 2, 0, 1, 5 } uselistorder i64* %sv_1, { 2, 3, 4, 0, 1, 5 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem7, { 0, 2, 1 } uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem9, { 2, 0, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i32 (i32)* @putchar, { 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i64 (i64*, i64, i32)* @print_audio_bytes, { 2, 1, 0 } uselistorder i64 (i64)* @av_audio_fifo_size, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 4, 6, 5, 3, 2, 1, 0 } uselistorder i32 0, { 0, 2, 4, 6, 5, 1, 3, 7, 8, 9, 10, 11 } uselistorder i64 (i64, i64, i32, i32, i64)* @write_samples_to_audio_fifo, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 7, 5, 6, 4, 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), { 1, 2, 0, 3, 4, 5, 6, 7 } uselistorder %_IO_FILE** @gv_0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 4294967295, { 4, 1, 5, 2, 3, 6, 7, 8, 0 } uselistorder i32 1, { 12, 13, 11, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 9 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
mp_init_size_12122
mp_init_size
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 1 %2 = select i1 %1, i32 %0, i32 1 %3 = call i64* @calloc(i32 %2, i32 4) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* %arg1, align 8 %5 = icmp eq i32 %2, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %7, 12 %11 = inttoptr i64 %10 to i32* store i32 %2, i32* %11, align 4 %12 = add i64 %7, 16 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
error_setg_16557
error_setg
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = ptrtoint i64* %arg1 to i64 store i32 16, i32* %sv_0, align 4 %22 = ptrtoint i8* %arg2 to i64 %23 = call i64 @FUNC(i64 %21, i64 0, i64 %22, i32* nonnull %sv_0) ret i64 %23 uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
nr_recvmsg_11432
nr_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %sext = mul i64 %arg5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = urem i64 %7, 2 %9 = and i64 %7, 4294967294 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64 %2, i64 %9, i64 %8, i64* nonnull %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = call i64 @FUNC(i64 %11) %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ugt i64 %20, %arg4 store i64 %20, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = add i64 %17, 24 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 2 store i32 %25, i32* %23, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = add i64 %17, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %11, i64 0, i64 %28, i64 %sv_0.0.reload) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_1, align 4 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %2, i64 %11) %34 = call i64 @FUNC(i64 %2) %35 = load i32, i32* %sv_1, align 4 %36 = zext i32 %35 to i64 store i64 %36, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %37 = icmp eq i64* %arg3, null br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = bitcast i64* %arg3 to i32* store i32 3, i32* %38, align 4 %39 = add i64 %17, 4 %40 = call i64 @FUNC(i64 %11, i64 7, i64 %39, i64 7) br label LBL_10 LBL_10: %41 = add i64 %17, 8 %42 = inttoptr i64 %41 to i64* store i64 12, i64* %42, align 8 %43 = call i64 @FUNC(i64 %2, i64 %11) %44 = call i64 @FUNC(i64 %2) store i64 %sv_0.0.reload, 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 %17, { 1, 0, 2, 3 } uselistorder i64 %11, { 2, 1, 0, 3, 5, 4, 6 } uselistorder i64 %7, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 0, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 (i64, i64)* @skb_free_datagram, { 1, 0 } uselistorder i64 (i64)* @release_sock, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
reposvul_c_test
dhcps_initialize_message_294
dhcps_initialize_message
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i8* store i8 2, i8* %1, align 1 %2 = add i64 %0, 1 %3 = inttoptr i64 %2 to i8* store i8 1, i8* %3, align 1 %4 = add i64 %0, 2 %5 = inttoptr i64 %4 to i8* store i8 6, i8* %5, align 1 %6 = add i64 %0, 3 %7 = inttoptr i64 %6 to i8* store i8 0, i8* %7, align 1 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 store i32 %13, i32* inttoptr (i64 4210761 to i32*), align 4 %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i16* store i16 0, i16* %15, align 2 %16 = call i16 @htons(i16 -32768) %17 = add i64 %0, 10 %18 = inttoptr i64 %17 to i16* store i16 %16, i16* %18, align 2 %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = load i32, i32* @gv_0, align 4 %24 = inttoptr i64 %22 to i32* store i32 %23, i32* %24, align 4 %25 = add i64 %0, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = inttoptr i64 %28 to i64* %30 = call i64* @memset(i64* %29, i32 0, i32 4) %31 = add i64 %0, 20 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = inttoptr i64 %34 to i64* %36 = call i64* @memset(i64* %35, i32 0, i32 4) %37 = add i64 %0, 24 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = zext i32 %39 to i64 %41 = inttoptr i64 %40 to i64* %42 = call i64* @memset(i64* %41, i32 0, i32 4) %43 = add i64 %0, 28 %44 = inttoptr i64 %43 to i64* %45 = call i64* @memset(i64* %44, i32 0, i32 64) %46 = add i64 %0, 92 %47 = inttoptr i64 %46 to i64* %48 = call i64* @memset(i64* %47, i32 0, i32 128) %49 = load i32, i32* @gv_1, align 4 %50 = add i64 %0, 220 %51 = inttoptr i64 %50 to i64* %52 = call i64* @memset(i64* %51, i32 0, i32 %49) %53 = load i32, i32* @gv_2, align 4 %54 = zext i32 %53 to i64 %55 = inttoptr i64 %50 to i32* store i32 %53, i32* %55, align 4 ret i64 %54 uselistorder i64* (i64*, i32, i32)* @memset, { 5, 0, 4, 3, 2, 1 } }
1
BinRealVul
is_smb_response_9701
is_smb_response
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 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = urem i64 %arg2, 256 %7 = icmp eq i64 %6, 3 br i1 %7, label LBL_7, label LBL_1 LBL_1: %8 = trunc i64 %6 to i32 %9 = icmp ugt i32 %8, 3 br i1 %9, label LBL_8, label LBL_2 LBL_2: %10 = icmp eq i32 %8, 2 br i1 %10, label LBL_6, label LBL_3 LBL_3: %11 = icmp ugt i32 %8, 2 br i1 %11, label LBL_8, label LBL_4 LBL_4: %trunc = trunc i64 %arg2 to i8 store i64 1, i64* %storemerge.reg2mem switch i8 %trunc, label LBL_8 [ i8 0, label LBL_9 i8 1, label LBL_5 ] LBL_5: %12 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_6: %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_7: %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %15 = call i64 @FUNC(i64 1000) %16 = call i64 @FUNC(i64 %5, i64 445) %17 = call i64 @FUNC(i64 %5) %18 = add i64 %5, 16 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %20 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1) %21 = call i64 @FUNC(i64 %5) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %8, { 0, 2, 1 } uselistorder i64 %5, { 0, 3, 2, 1 } uselistorder i64 %4, { 3, 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @cifs_reconnect, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cifs_dbg, { 3, 2, 1, 0 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_9, { 4, 3, 2, 1, 0 } }
0
BinRealVul
chs_filter_band_data_510
chs_filter_band_data
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge15.reg2mem = alloca i32 %.reg2mem65 = alloca i64 %.reg2mem63 = alloca i32 %storemerge216.reg2mem = alloca i32 %.reg2mem61 = alloca i64 %storemerge317.reg2mem = alloca i32 %.reg2mem59 = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem57 = alloca i32 %storemerge1028.reg2mem = alloca i32 %.reg2mem55 = alloca i32 %.reg2mem53 = alloca i32 %indvars.iv38.reg2mem = alloca i64 %storemerge625.reg2mem = alloca i32 %storemerge7.lcssa.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.021.reg2mem = alloca i64 %indvars.iv34.reg2mem = alloca i64 %storemerge918.reg2mem = alloca i32 %.reg2mem51 = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge529.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %4 = ptrtoint i64* %sv_1 to i64 %5 = sext i32 %arg3 to i64 %6 = mul nsw i64 %5, 696 %7 = add i64 %3, 32 %8 = add i64 %7, %6 %9 = add i64 %8, 8 %10 = bitcast i64* %rsi to i32* %11 = trunc i64 %2 to i32 %12 = icmp eq i32 %11, 0 store i32 0, i32* %.reg2mem57 br i1 %12, label LBL_19, label LBL_1 LBL_1: %13 = trunc i64 %1 to i32 %14 = add i64 %8, 188 %15 = add i64 %4, -128 %16 = icmp sgt i32 %13, 1 %wide.trip.count40 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge529.reg2mem br label LBL_2 LBL_2: %storemerge529.reload = load i32, i32* %storemerge529.reg2mem %.reload = load i64, i64* %.reg2mem %17 = mul i64 %.reload, 8 %18 = add i64 %17, %9 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = mul i64 %.reload, 4 %22 = add i64 %21, %9 %23 = add i64 %22, 64 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp slt i32 %25, 1 br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = mul i64 %.reload, 16 %wide.trip.count = zext i32 %25 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_4: %28 = add i64 %22, 96 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp eq i32 %30, 0 store i32 %30, i32* %.reg2mem55 store i32 0, i32* %storemerge1028.reg2mem br i1 %31, label LBL_18, label LBL_17 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %32 = add nsw i64 %indvars.iv.reload, %27 %33 = mul i64 %32, 4 %34 = add i64 %14, %33 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %37 = trunc i64 %indvars.iv.next to i32 %38 = icmp slt i32 %37, 0 %39 = zext i1 %38 to i32 %40 = add i32 %39, %37 %41 = ashr i32 %40, 1 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_8, label LBL_6 LBL_6: %43 = zext i32 %41 to i64 %44 = zext i32 %36 to i64 %45 = trunc i64 %indvars.iv.reload to i32 store i64 0, i64* %.reg2mem51 store i32 0, i32* %storemerge918.reg2mem br label LBL_7 LBL_7: %storemerge918.reload = load i32, i32* %storemerge918.reg2mem %.reload52 = load i64, i64* %.reg2mem51 %46 = mul i64 %.reload52, 4 %47 = add i64 %46, %15 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = sub i32 0, %storemerge918.reload %51 = sub i32 %50, 1 %52 = add i32 %51, %45 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 4 %55 = add i64 %54, %15 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = zext i32 %57 to i64 %59 = call i64 @FUNC(i64 %44, i64 %58) %60 = trunc i64 %59 to i32 %61 = add i32 %49, %60 store i32 %61, i32* %48, align 4 %62 = zext i32 %49 to i64 %63 = call i64 @FUNC(i64 %44, i64 %62) %64 = trunc i64 %63 to i32 %65 = add i32 %57, %64 store i32 %65, i32* %56, align 4 %66 = add i32 %storemerge918.reload, 1 %67 = sext i32 %66 to i64 %68 = icmp slt i64 %67, %43 store i64 %67, i64* %.reg2mem51 store i32 %66, i32* %storemerge918.reg2mem br i1 %68, label LBL_7, label LBL_8 LBL_8: %69 = mul i64 %indvars.iv.reload, 4 %70 = add i64 %69, %15 %71 = inttoptr i64 %70 to i32* store i32 %36, i32* %71, align 4 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_5 LBL_9: %72 = sub i32 %13, %25 %73 = icmp eq i32 %72, 0 br i1 %73, label LBL_18, label LBL_10 LBL_10: %74 = zext i32 %72 to i64 %75 = icmp sgt i32 %25, 0 store i32 0, i32* %storemerge625.reg2mem br label LBL_13 LBL_11: %sv_0.021.reload = load i64, i64* %sv_0.021.reg2mem %indvars.iv34.reload = load i64, i64* %indvars.iv34.reg2mem %76 = trunc i64 %indvars.iv34.reload to i32 %77 = add i32 %storemerge625.reload, %76 %78 = sext i32 %77 to i64 %79 = mul i64 %78, 4 %80 = add i64 %79, %20 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = sub i32 0, %76 %84 = sub i32 %83, 1 %85 = add i32 %25, %84 %86 = sext i32 %85 to i64 %87 = mul i64 %86, 4 %88 = add i64 %87, %15 %89 = inttoptr i64 %88 to i32* %90 = load i32, i32* %89, align 4 %91 = sext i32 %90 to i64 %92 = sext i32 %82 to i64 %93 = mul nsw i64 %91, %92 %94 = add i64 %93, %sv_0.021.reload %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34.reload, 1 %exitcond37 = icmp eq i64 %indvars.iv.next35, %wide.trip.count store i64 %indvars.iv.next35, i64* %indvars.iv34.reg2mem store i64 %94, i64* %sv_0.021.reg2mem store i64 %94, i64* %sv_0.0.lcssa.reg2mem store i32 %25, i32* %storemerge7.lcssa.reg2mem br i1 %exitcond37, label LBL_12, label LBL_11 LBL_12: %storemerge7.lcssa.reload = load i32, i32* %storemerge7.lcssa.reg2mem %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %95 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload) %96 = and i64 %95, 4294967295 %97 = call i64 @FUNC(i64 %96) %98 = trunc i64 %97 to i32 %99 = add i32 %storemerge7.lcssa.reload, %storemerge625.reload %100 = sext i32 %99 to i64 %101 = mul i64 %100, 4 %102 = add i64 %101, %20 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = sub i32 %104, %98 store i32 %105, i32* %103, align 4 %106 = add i32 %storemerge625.reload, 1 %107 = sext i32 %106 to i64 %108 = icmp slt i64 %107, %74 store i32 %106, i32* %storemerge625.reg2mem br i1 %108, label LBL_13, label LBL_18 LBL_13: %storemerge625.reload = load i32, i32* %storemerge625.reg2mem store i64 0, i64* %indvars.iv34.reg2mem store i64 0, i64* %sv_0.021.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem store i32 0, i32* %storemerge7.lcssa.reg2mem br i1 %75, label LBL_11, label LBL_12 LBL_14: %indvars.iv38.reload = load i64, i64* %indvars.iv38.reg2mem %109 = mul i64 %indvars.iv38.reload, 4 %110 = add i64 %109, %20 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = add i64 %110, -4 %114 = inttoptr i64 %113 to i32* %115 = load i32, i32* %114, align 4 %116 = add i32 %115, %112 store i32 %116, i32* %111, align 4 %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38.reload, 1 %exitcond41 = icmp eq i64 %indvars.iv.next39, %wide.trip.count40 store i64 %indvars.iv.next39, i64* %indvars.iv38.reg2mem br i1 %exitcond41, label LBL_15, label LBL_14 LBL_15: %.pre = load i32, i32* %29, align 4 store i32 %.pre, i32* %.reg2mem53 br label LBL_16 LBL_16: %.reload54 = load i32, i32* %.reg2mem53 %117 = add i32 %storemerge1028.reload, 1 %118 = zext i32 %.reload54 to i64 %119 = sext i32 %117 to i64 %120 = icmp slt i64 %119, %118 store i32 %.reload54, i32* %.reg2mem55 store i32 %117, i32* %storemerge1028.reg2mem br i1 %120, label LBL_17, label LBL_18 LBL_17: %storemerge1028.reload = load i32, i32* %storemerge1028.reg2mem %.reload56 = load i32, i32* %.reg2mem55 store i64 1, i64* %indvars.iv38.reg2mem store i32 %.reload56, i32* %.reg2mem53 br i1 %16, label LBL_14, label LBL_16 LBL_18: %121 = add i32 %storemerge529.reload, 1 %122 = load i32, i32* %10, align 8 %123 = zext i32 %122 to i64 %124 = sext i32 %121 to i64 %125 = icmp slt i64 %124, %123 store i64 %124, i64* %.reg2mem store i32 %121, i32* %storemerge529.reg2mem store i32 %122, i32* %.reg2mem57 br i1 %125, label LBL_2, label LBL_19 LBL_19: %.reload58 = load i32, i32* %.reg2mem57 %126 = add i64 %8, 136 %127 = inttoptr i64 %126 to i32* %128 = load i32, i32* %127, align 4 %129 = icmp eq i32 %128, 0 store i32 %.reload58, i32* %.reg2mem63 br i1 %129, label LBL_28, label LBL_20 LBL_20: %130 = icmp slt i32 %.reload58, 0 %131 = zext i1 %130 to i32 %132 = add i32 %.reload58, %131 %133 = ashr i32 %132, 1 %134 = zext i32 %133 to i64 store i32 0, i32* %storemerge4.reg2mem br label LBL_21 LBL_21: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %135 = sext i32 %storemerge4.reload to i64 %136 = icmp slt i64 %135, %134 %137 = add i32 %storemerge4.reload, 1 store i32 %137, i32* %storemerge4.reg2mem br i1 %136, label LBL_21, label LBL_22 LBL_22: %138 = icmp eq i32 %.reload58, 0 store i32 0, i32* %.reg2mem63 br i1 %138, label LBL_28, label LBL_23 LBL_23: %139 = add i64 %4, -128 store i64 0, i64* %.reg2mem59 store i32 0, i32* %storemerge317.reg2mem br label LBL_24 LBL_24: %storemerge317.reload = load i32, i32* %storemerge317.reg2mem %.reload60 = load i64, i64* %.reg2mem59 %140 = mul i64 %.reload60, 8 %141 = add i64 %140, %9 %142 = inttoptr i64 %141 to i64* %143 = load i64, i64* %142, align 8 %144 = add i64 %139, %140 %145 = inttoptr i64 %144 to i64* store i64 %143, i64* %145, align 8 %146 = add i32 %storemerge317.reload, 1 %147 = load i32, i32* %10, align 8 %148 = zext i32 %147 to i64 %149 = sext i32 %146 to i64 %150 = icmp slt i64 %149, %148 store i64 %149, i64* %.reg2mem59 store i32 %146, i32* %storemerge317.reg2mem br i1 %150, label LBL_24, label LBL_25 LBL_25: %151 = icmp eq i32 %147, 0 store i32 0, i32* %.reg2mem63 br i1 %151, label LBL_28, label LBL_26 LBL_26: %152 = add i64 %8, 156 store i64 0, i64* %.reg2mem61 store i32 0, i32* %storemerge216.reg2mem br label LBL_27 LBL_27: %storemerge216.reload = load i32, i32* %storemerge216.reg2mem %.reload62 = load i64, i64* %.reg2mem61 %153 = mul i64 %.reload62, 4 %154 = add i64 %152, %153 %155 = inttoptr i64 %154 to i32* %156 = load i32, i32* %155, align 4 %157 = mul i64 %.reload62, 8 %158 = add i64 %139, %157 %159 = inttoptr i64 %158 to i64* %160 = load i64, i64* %159, align 8 %161 = sext i32 %156 to i64 %162 = mul i64 %161, 8 %163 = add i64 %162, %9 %164 = inttoptr i64 %163 to i64* store i64 %160, i64* %164, align 8 %165 = add i32 %storemerge216.reload, 1 %166 = load i32, i32* %10, align 8 %167 = zext i32 %166 to i64 %168 = sext i32 %165 to i64 %169 = icmp slt i64 %168, %167 store i64 %168, i64* %.reg2mem61 store i32 %165, i32* %storemerge216.reg2mem store i32 %166, i32* %.reg2mem63 br i1 %169, label LBL_27, label LBL_28 LBL_28: %170 = add i64 %3, 4 %171 = inttoptr i64 %170 to i32* %172 = load i32, i32* %171, align 4 %173 = zext i32 %172 to i64 %174 = icmp eq i32 %172, 1 %175 = icmp eq i1 %174, false store i64 %173, i64* %rax.0.reg2mem br i1 %175, label LBL_32, label LBL_29 LBL_29: %.reload64 = load i32, i32* %.reg2mem63 %176 = icmp eq i32 %.reload64, 0 store i64 0, i64* %rax.0.reg2mem br i1 %176, label LBL_32, label LBL_30 LBL_30: %177 = add i64 %3, 8 %178 = ptrtoint i32* %arg1 to i64 %179 = add i64 %178, 16 store i64 0, i64* %.reg2mem65 store i32 0, i32* %storemerge15.reg2mem br label LBL_31 LBL_31: %storemerge15.reload = load i32, i32* %storemerge15.reg2mem %.reload66 = load i64, i64* %.reg2mem65 %180 = mul i64 %.reload66, 8 %181 = add i64 %180, %9 %182 = inttoptr i64 %181 to i64* %183 = load i64, i64* %182, align 8 %184 = mul i64 %.reload66, 4 %185 = add i64 %177, %184 %186 = inttoptr i64 %185 to i32* %187 = load i32, i32* %186, align 4 %188 = sext i32 %187 to i64 %189 = trunc i64 %183 to i32 %190 = mul i64 %188, 4 %191 = add i64 %179, %190 %192 = inttoptr i64 %191 to i32* store i32 %189, i32* %192, align 4 %193 = add i32 %storemerge15.reload, 1 %194 = load i32, i32* %10, align 8 %195 = zext i32 %194 to i64 %196 = sext i32 %193 to i64 %197 = icmp slt i64 %196, %195 store i64 %196, i64* %.reg2mem65 store i32 %193, i32* %storemerge15.reg2mem store i64 %195, i64* %rax.0.reg2mem br i1 %197, label LBL_31, label LBL_32 LBL_32: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload66, { 1, 0 } uselistorder i64 %.reload62, { 1, 0 } uselistorder i32 %storemerge4.reload, { 1, 0 } uselistorder i32 %.reload58, { 1, 3, 2, 0 } uselistorder i32 %storemerge625.reload, { 2, 1, 0 } uselistorder i32 %72, { 1, 0 } uselistorder i32 %49, { 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i32 %37, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 3, 1, 0, 2 } uselistorder i32 %25, { 0, 1, 3, 4, 2, 5 } uselistorder i64 %.reload, { 2, 1, 0 } uselistorder i64 %8, { 1, 2, 0, 3 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge529.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem51, { 1, 0, 2 } uselistorder i32* %storemerge918.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv34.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.021.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge7.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv38.reg2mem, { 1, 2, 0 } uselistorder i32* %.reg2mem53, { 1, 0, 2 } uselistorder i32* %.reg2mem55, { 0, 2, 1 } uselistorder i32* %storemerge1028.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem59, { 1, 0, 2 } uselistorder i32* %storemerge317.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem61, { 1, 0, 2 } uselistorder i32* %storemerge216.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem63, { 0, 1, 3, 2, 4 } uselistorder i64* %.reg2mem65, { 1, 0, 2 } uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @mul16, { 1, 0 } uselistorder i64 16, { 1, 0, 2 } uselistorder i64 4, { 0, 1, 12, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 8, { 0, 5, 1, 2, 3, 4, 6 } uselistorder i64 32, { 3, 0, 1, 2 } uselistorder label LBL_31, { 1, 0 } uselistorder label LBL_28, { 0, 2, 1, 3 } uselistorder label LBL_27, { 1, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_18, { 1, 0, 2, 3 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_dimension_14917
get_dimension
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 3) %sext = mul i64 %2, 4294967296 %3 = ashr exact i64 %sext, 30 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %sv_0.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %1) %10 = trunc i64 %9 to i32 %11 = sub i32 %10, %6 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = add i64 %13, %0 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 store i32 %16, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %17 = icmp eq i32 %sv_0.0.reload, 0 %18 = icmp eq i1 %17, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %19 = call i64 @FUNC(i64 %1, i64 8) %20 = trunc i64 %19 to i32 %21 = mul i32 %20, 4 %22 = add i32 %21, %sv_0.1.reload %23 = icmp eq i32 %20, 255 store i32 %22, i32* %sv_0.1.reg2mem store i32 %22, i32* %sv_0.2.reg2mem br i1 %23, label LBL_3, label LBL_4 LBL_4: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %24 = zext i32 %sv_0.2.reload to i64 ret i64 %24 uselistorder i32 %20, { 1, 0 } uselistorder i32 %6, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
pci_error_message_15339
pci_error_message
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0)) ret i64 %1 }
1
BinRealVul
genwqe_pin_mem_4795
genwqe_pin_mem
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 = icmp eq i64* %arg2, null store i64 4294967274, i64* %rax.0.reg2mem br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = urem i64 %3, 4096 %10 = add i64 %6, %9 %11 = call i64 @FUNC(i64 %10, i64 4096) %12 = call i64 @FUNC(i64 0, i64 0) %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_6 LBL_3: %15 = ptrtoint i64* %arg1 to i64 %16 = and i64 %3, -4096 %17 = call i64 @FUNC(i64 %12, i64 1) %18 = call i64 @FUNC(i64 %15, i64 %12, i64 %16, i64 %11, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = and i64 %18, 4294967295 %22 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 0, i64 %1) %23 = call i64 @FUNC(i64 %12) store i64 %21, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %24 = call i64 @FUNC(i64 %15, i64 %12) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %15, { 1, 0, 2 } uselistorder i64 %12, { 1, 0, 3, 2, 4 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 } uselistorder i64 4294967274, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_6, { 3, 4, 0, 2, 1 } }
0
BinRealVul
parse_audio_var_15812
parse_audio_var
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg4, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0)) %3 = icmp eq 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 %6 = call i64 @FUNC(i64 %0, i64 %5) %7 = trunc i64 %6 to i32 %8 = bitcast i64* %arg2 to i32* store i32 %7, i32* %8, align 4 store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %9, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = and i64 %1, 4294967295 %17 = call i64 @FUNC(i64 %0, i64 %16) %18 = trunc i64 %17 to i32 %19 = inttoptr i64 %15 to i32* store i32 %18, i32* %19, align 4 store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_4: %20 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = add i64 %9, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = and i64 %1, 4294967295 %27 = call i64 @FUNC(i64 %0, i64 %26) %28 = trunc i64 %27 to i32 %29 = add i64 %25, 4 %30 = inttoptr i64 %29 to i32* store i32 %28, i32* %30, align 4 store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_6: %31 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0)) %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = trunc i64 %1 to i32 %35 = ptrtoint i8* %arg3 to i64 %36 = call i64 @FUNC(i64 %0, i64 %35, i32 %34) store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_8: %37 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0)) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = add i64 %9, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = and i64 %1, 4294967295 %44 = call i64 @FUNC(i64 %0, i64 %43) %45 = trunc i64 %44 to i32 %46 = add i64 %42, 8 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = load i64, i64* %41, align 8 %49 = add i64 %48, 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = icmp eq i32 %51, 1 %53 = icmp eq i1 %52, false %. = select i1 %53, i32 2, i32 1 %54 = add i64 %48, 12 %55 = inttoptr i64 %54 to i32* store i32 %., i32* %55, align 4 store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_10: %56 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0)) %57 = icmp eq i32 %56, 0 %58 = icmp eq i1 %57, false br i1 %58, label LBL_12, label LBL_11 LBL_11: %59 = add i64 %9, 8 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = and i64 %1, 4294967295 %63 = call i64 @FUNC(i64 %0, i64 %62) %64 = trunc i64 %63 to i32 %65 = add i64 %61, 16 %66 = inttoptr i64 %65 to i32* store i32 %64, i32* %66, align 4 %67 = load i64, i64* %60, align 8 %68 = add i64 %67, 16 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = zext i32 %70 to i64 %72 = call i64 @FUNC(i64 %9, i64 33, i64 1, i64 %71) store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_12: %73 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0)) %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false store i64 4294967295, i64* %storemerge3.reg2mem br i1 %75, label LBL_14, label LBL_13 LBL_13: %76 = and i64 %1, 4294967295 %77 = call i64 @FUNC(i64 %0, i64 %76) %78 = trunc i64 %77 to i32 %79 = add i64 %9, 8 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = mul i32 %78, 8 %83 = add i64 %81, 20 %84 = inttoptr i64 %83 to i32* store i32 %82, i32* %84, align 4 store i64 0, i64* %storemerge3.reg2mem br label LBL_14 LBL_14: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %9, { 5, 3, 4, 2, 1, 0 } uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 0, 7, 8, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64)* @var_read_int, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i8* %arg3, { 1, 2, 3, 0, 4, 5, 6, 7 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_14, { 6, 7, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
super_block_uvrd_18726
super_block_uvrd
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64 %arg7, i64 %arg8) local_unnamed_addr { LBL_0: %.pre-phi.reg2mem = alloca i32* %.pre-phi7.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %r8 = alloca i64, align 8 %rdi = alloca i64, align 8 %rdx = alloca i64, align 8 %0 = ptrtoint i64* %arg6 to i64 %1 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 store i64 %0, i64* %sv_4, align 8 %2 = add i64 %1, 16 %3 = call i64 @FUNC(i64 %1, i64 %2) store i32 0, i32* %sv_3, align 4 store i32 1, i32* %sv_2, align 4 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %4 = icmp slt i64 %arg8, 0 br i1 %4, label LBL_0.LBL_8_crit_edge, label LBL_2 LBL_1: %.pre = bitcast i64* %arg3 to i32* %.pre6 = bitcast i64* %arg5 to i32* store i32* %.pre6, i32** %.pre-phi7.reg2mem store i32* %.pre, i32** %.pre-phi.reg2mem br label LBL_8 LBL_2: %sext = mul i64 %arg7, 4294967296 %5 = ashr exact i64 %sext, 32 %6 = call i64 @FUNC(i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = trunc i64 %5 to i32 store i32 1, i32* %storemerge35.reg2mem br label LBL_4 LBL_4: %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %10 = call i64 @FUNC(i64 %1, i32 %9, i32 %storemerge35.reload) %11 = add nuw nsw i32 %storemerge35.reload, 1 %exitcond = icmp eq i32 %11, 3 store i32 %11, i32* %storemerge35.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %12 = ptrtoint i64* %sv_4 to i64 %13 = bitcast i64* %arg3 to i32* store i32 0, i32* %13, align 4 store i64 0, i64* %arg4, align 8 %14 = load i64, i64* %sv_4, align 8 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = bitcast i64* %arg5 to i32* store i32 1, i32* %16, align 4 %17 = bitcast i64* %rdi to i32* %18 = add i64 %12, -8 %19 = inttoptr i64 %18 to i64* %20 = and i64 %3, 4294967295 %21 = add i64 %12, -16 %22 = inttoptr i64 %21 to i64* %23 = and i64 %5, 4294967295 %24 = add i64 %12, -24 %25 = inttoptr i64 %24 to i64* %26 = add i64 %12, -32 %27 = inttoptr i64 %26 to i64* %28 = ptrtoint i32* %sv_2 to i64 %29 = bitcast i64* %rdx to i32* %30 = bitcast i64* %r8 to i32* store i64 1, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %31 = load i32, i32* %17, align 8 %32 = zext i32 %31 to i64 store i64 %32, i64* %19, align 8 store i64 %20, i64* %22, align 8 store i64 %23, i64* %25, align 8 store i64 %indvars.iv.reload, i64* %27, align 8 %33 = call i64 @FUNC(i64 %1, i32* nonnull %sv_3, i64* nonnull %sv_1, i32* nonnull %sv_2, i64* nonnull %sv_0, i64 %arg8) %34 = load i32, i32* %sv_3, align 4 %35 = icmp eq i32 %34, 2147483647 store i32* %16, i32** %.pre-phi7.reg2mem store i32* %13, i32** %.pre-phi.reg2mem br i1 %35, label LBL_8, label LBL_7 LBL_7: %36 = load i32, i32* %29, align 8 %37 = add i32 %36, %34 store i32 %37, i32* %13, align 4 %38 = load i64, i64* %sv_1, align 8 %39 = add i64 %38, %28 store i64 %39, i64* %arg4, align 8 %40 = load i64, i64* %sv_0, align 8 %41 = add i64 %40, %arg8 %42 = load i64, i64* %sv_4, align 8 %43 = inttoptr i64 %42 to i64* store i64 %41, i64* %43, align 8 %44 = load i32, i32* %30, align 8 %45 = load i32, i32* %sv_2, align 4 %46 = and i32 %45, %44 store i32 %46, i32* %16, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %47 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %47, label LBL_6, label LBL_9 LBL_8: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem store i32 2147483647, i32* %.pre-phi.reload, align 4 store i64 9223372036854775807, i64* %arg4, align 8 %48 = load i64, i64* %sv_4, align 8 %49 = inttoptr i64 %48 to i64* store i64 9223372036854775807, i64* %49, align 8 store i32 0, i32* %.pre-phi7.reload, align 4 br label LBL_9 LBL_9: %50 = ptrtoint i64* %arg5 to i64 ret i64 %50 uselistorder i32* %16, { 1, 0, 2 } uselistorder i32* %13, { 1, 0, 2 } uselistorder i32 %storemerge35.reload, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %sv_4, { 0, 1, 2, 4, 3 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i32* %sv_2, { 1, 0, 2, 3 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %1, { 1, 0, 2, 3, 4 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 9223372036854775807, { 1, 0 } uselistorder i32 2147483647, { 1, 0 } uselistorder i64 1, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0, 4 } uselistorder i64* %arg5, { 2, 1, 0 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
fib6_walk_continue_9505
fib6_walk_continue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi.0.ph3.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_30 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 20 %4 = inttoptr i64 %3 to i32* %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i64* %7 = add i64 %2, 16 %8 = inttoptr i64 %7 to i32* %9 = add i64 %2, 32 %10 = inttoptr i64 %9 to i32* %11 = add i64 %2, 24 %12 = inttoptr i64 %11 to i32* store i64 %2, i64* %rdi.0.ph3.reg2mem br label LBL_2 LBL_2: %rdi.0.ph3.reload = load i64, i64* %rdi.0.ph3.reg2mem %13 = add i64 %rdi.0.ph3.reload, 24 %14 = inttoptr i64 %13 to i32* %15 = add i64 %rdi.0.ph3.reload, 28 %16 = inttoptr i64 %15 to i32* %17 = add i64 %rdi.0.ph3.reload, 8 %18 = inttoptr i64 %17 to i64* %19 = add i64 %rdi.0.ph3.reload, 16 %20 = inttoptr i64 %19 to i64* br label LBL_3 LBL_3: %21 = load i32, i32* %4, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label LBL_8, label LBL_4 LBL_4: %23 = load i64, i64* %6, align 8 %24 = icmp eq i64 %23, %rdi.0.ph3.reload br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = load i32, i32* %14, align 4 %26 = urem i32 %25, 2 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = load i32, i32* %8, align 4 %29 = icmp sgt i32 %28, 3 br i1 %29, label LBL_8, label LBL_7 LBL_7: store i32 4, i32* %8, align 4 %30 = load i32, i32* %16, align 4 store i32 %30, i32* %10, align 4 br label LBL_8 LBL_8: store i64 %2, i64* @0, align 8 switch i64 %2, label LBL_10 [ i64 1, label LBL_11 i64 2, label LBL_12 i64 3, label LBL_13 i64 4, label LBL_8.LBL_16_crit_edge i64 5, label LBL_22 ] LBL_9: %.pre = load i32, i32* %10, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_16 LBL_10: br label LBL_3 LBL_11: store i64 %rdi.0.ph3.reload, i64* %arg1, align 8 store i64 %rdi.0.ph3.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_12: store i64 %rdi.0.ph3.reload, i64* %arg1, align 8 store i32 0, i32* %8, align 4 store i64 %rdi.0.ph3.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_13: %31 = load i64, i64* %18, align 8 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_15, label LBL_14 LBL_14: store i64 %31, i64* %arg1, align 8 store i32 0, i32* %8, align 4 store i64 %rdi.0.ph3.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_15: store i32 4, i32* %8, align 4 %33 = load i32, i32* %16, align 4 store i32 %33, i32* %10, align 4 store i32 %33, i32* %.reg2mem br label LBL_16 LBL_16: %.reload = load i32, i32* %.reg2mem %34 = icmp eq i32 %.reload, 0 br i1 %34, label LBL_21, label LBL_17 LBL_17: %35 = load i32, i32* %14, align 4 %36 = urem i32 %35, 2 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_21, label LBL_18 LBL_18: %38 = load i32, i32* %12, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_20, label LBL_19 LBL_19: %40 = add i32 %38, -1 store i32 %40, i32* %12, align 4 store i64 %rdi.0.ph3.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_20: %41 = and i64 %2, 4294967295 store i64 %41, i64* %rax.0.reg2mem br label LBL_30 LBL_21: store i32 5, i32* %8, align 4 br label LBL_22 LBL_22: %42 = load i64, i64* %6, align 8 %43 = icmp eq i64 %42, %rdi.0.ph3.reload %44 = icmp eq i1 %43, false store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_23, label LBL_30 LBL_23: %45 = load i64, i64* %20, align 8 store i64 %45, i64* %arg1, align 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, %rdi.0.ph3.reload %49 = icmp eq i1 %48, false br i1 %49, label LBL_27, label LBL_24 LBL_24: %50 = load i32, i32* %14, align 4 %51 = and i32 %50, 2 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i64 %rdi.0.ph3.reload, i64* %rdi.1.reg2mem br i1 %53, label LBL_26, label LBL_25 LBL_25: %54 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %55 = ptrtoint %_IO_FILE* %54 to i64 %56 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %54, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 %55, i64* %rdi.1.reg2mem br label LBL_26 LBL_26: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem store i32 2, i32* %8, align 4 store i64 %rdi.1.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_27: %57 = add i64 %45, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, %rdi.0.ph3.reload %61 = icmp eq i1 %60, false br i1 %61, label LBL_10, label LBL_28 LBL_28: store i32 4, i32* %8, align 4 %62 = load i32, i32* %16, align 4 store i32 %62, i32* %10, align 4 store i64 %rdi.0.ph3.reload, i64* %rdi.2.reg2mem br label LBL_29 LBL_29: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %63 = icmp eq i64 %rdi.2.reload, 0 %64 = icmp eq i1 %63, false store i64 %rdi.2.reload, i64* %rdi.0.ph3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %64, label LBL_2, label LBL_30 LBL_30: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.2.reload, { 1, 0 } uselistorder i64 %rdi.0.ph3.reload, { 4, 14, 5, 13, 11, 3, 2, 1, 8, 0, 9, 7, 12, 15, 10, 6 } uselistorder i32* %10, { 1, 2, 0, 3 } uselistorder i32* %8, { 1, 2, 4, 5, 3, 0, 6, 7 } uselistorder i64 %2, { 4, 1, 5, 0, 3, 2, 8, 7, 6 } uselistorder i64* %rdi.0.ph3.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.2.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i32 2, { 2, 3, 0, 1 } uselistorder i64 24, { 1, 0 } uselistorder i1 false, { 5, 1, 2, 3, 4, 0 } uselistorder i64* %arg1, { 4, 3, 2, 1, 5, 0 } uselistorder label LBL_30, { 0, 1, 3, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
tw5864_handle_frame_7476
tw5864_handle_frame
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.2.in.lcssa.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i8* %.reg2mem21 = alloca i8 %sv_0.0.reg2mem = alloca i8* %.reg2mem = alloca i8 %sv_0.2.in.in9.reg2mem = alloca i64 %sv_2.0.in10.reg2mem = alloca i64 %sv_1.111.reg2mem = alloca i32 %sv_0.214.in.reg2mem = alloca i64 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_3.015.reg2mem = alloca i32 %storemerge516.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i32, align 4 %2 = load i64, i64* %0 %3 = add i64 %1, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -4 %7 = inttoptr i64 %3 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 4 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = add i64 %1, 12 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %6 to i64 %19 = call i64 @FUNC(i64 %11, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %17, %20 br i1 %21, label LBL_2, label LBL_1 LBL_1: %22 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %23 = add i64 %1, 32 %24 = call i64 @FUNC(i64 %23, i64 %2) %25 = add i64 %1, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 store i64 0, i64* %26, align 8 %28 = call i64 @FUNC(i64 %23, i64 %2) %29 = call i64 @FUNC(i64 %27) %30 = icmp eq i64 %27, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0)) store i64 %32, i64* %rax.0.reg2mem br label LBL_20 LBL_4: %33 = inttoptr i64 %9 to i32* %34 = load i32, i32* %33, align 4 %35 = mul i32 %6, 5 %36 = sdiv i32 %35, 8 %37 = icmp ult i32 %34, %36 br i1 %37, label LBL_7, label LBL_5 LBL_5: %38 = add i64 %1, 20 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp eq i32 %40, 8 store i32 0, i32* %sv_3.0.lcssa.reg2mem br i1 %41, label LBL_9, label LBL_6 LBL_6: %42 = sub i32 8, %40 %43 = zext i32 %42 to i64 store i32 0, i32* %storemerge516.reg2mem store i32 0, i32* %sv_3.015.reg2mem br label LBL_8 LBL_7: %44 = zext i32 %34 to i64 %45 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @gv_2, i64 0, i64 0), i64 %44, i64 %18) store i64 %45, i64* %rax.0.reg2mem br label LBL_20 LBL_8: %sv_3.015.reload = load i32, i32* %sv_3.015.reg2mem %storemerge516.reload = load i32, i32* %storemerge516.reg2mem %46 = urem i32 %storemerge516.reload, 32 %47 = shl i32 1, %46 %48 = or i32 %47, %sv_3.015.reload %sext = mul i32 %48, 16777216 %49 = ashr exact i32 %sext, 24 %50 = add i32 %storemerge516.reload, 1 %51 = sext i32 %50 to i64 %52 = icmp slt i64 %51, %43 store i32 %50, i32* %storemerge516.reg2mem store i32 %49, i32* %sv_3.015.reg2mem store i32 %49, i32* %sv_3.0.lcssa.reg2mem br i1 %52, label LBL_8, label LBL_9 LBL_9: %53 = inttoptr i64 %8 to i8* %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %54 = add i64 %1, 48 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = xor i32 %sv_3.0.lcssa.reload, 255 %58 = and i32 %56, %57 %59 = trunc i32 %sv_3.0.lcssa.reload to i8 %60 = and i8 %14, %59 %61 = trunc i32 %58 to i8 %62 = or i8 %60, %61 store i8 %62, i8* %53, align 1 %63 = add i32 %5, -5 %64 = load i64, i64* %10, align 8 %65 = add i64 %64, 5 %66 = sext i32 %63 to i64 %67 = add i64 %65, %66 %sv_0.2.in6 = add i64 %8, 1 %68 = icmp ugt i64 %67, %65 store i64 %sv_0.2.in6, i64* %sv_0.214.in.reg2mem store i32 0, i32* %sv_1.111.reg2mem store i64 %65, i64* %sv_2.0.in10.reg2mem store i64 %8, i64* %sv_0.2.in.in9.reg2mem store i64 %sv_0.2.in6, i64* %sv_0.2.in.lcssa.reg2mem br i1 %68, label LBL_10, label LBL_16 LBL_10: %sv_2.0.in10.reload = load i64, i64* %sv_2.0.in10.reg2mem %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %sv_0.214.in.reload = load i64, i64* %sv_0.214.in.reg2mem %sv_2.012 = inttoptr i64 %sv_2.0.in10.reload to i8* %sv_0.214 = inttoptr i64 %sv_0.214.in.reload to i8* %69 = icmp sgt i32 %sv_1.111.reload, 1 %70 = load i8, i8* %sv_2.012, align 1 br i1 %69, label LBL_12, label LBL_11 LBL_11: %71 = icmp eq i8 %70, 0 %72 = icmp eq i1 %71, false %73 = add i32 %sv_1.111.reload, 1 %spec.select = select i1 %72, i32 0, i32 %73 store i8 %70, i8* %.reg2mem21 store i8* %sv_0.214, i8** %sv_0.1.reg2mem store i32 %spec.select, i32* %sv_1.0.reg2mem br label LBL_15 LBL_12: %74 = icmp ult i8 %70, 4 %75 = icmp eq i1 %74, false store i8 %70, i8* %.reg2mem store i8* %sv_0.214, i8** %sv_0.0.reg2mem br i1 %75, label LBL_14, label LBL_13 LBL_13: %sv_0.2.in.in9.reload = load i64, i64* %sv_0.2.in.in9.reg2mem %76 = add i64 %sv_0.2.in.in9.reload, 2 %77 = inttoptr i64 %76 to i8* store i8 3, i8* %sv_0.214, align 1 %.pre = load i8, i8* %sv_2.012, align 1 store i8 %.pre, i8* %.reg2mem store i8* %77, i8** %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem %.reload = load i8, i8* %.reg2mem %78 = icmp eq i8 %.reload, 0 %79 = zext i1 %78 to i32 store i8 %.reload, i8* %.reg2mem21 store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem store i32 %79, i32* %sv_1.0.reg2mem br label LBL_15 LBL_15: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %.reload22 = load i8, i8* %.reg2mem21 %80 = ptrtoint i8* %sv_0.1.reload to i64 store i8 %.reload22, i8* %sv_0.1.reload, align 1 %81 = add i64 %sv_2.0.in10.reload, 1 %sv_0.2.in = add i64 %80, 1 %exitcond = icmp eq i64 %81, %67 store i64 %sv_0.2.in, i64* %sv_0.214.in.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem store i64 %81, i64* %sv_2.0.in10.reg2mem store i64 %80, i64* %sv_0.2.in.in9.reg2mem store i64 %sv_0.2.in, i64* %sv_0.2.in.lcssa.reg2mem br i1 %exitcond, label LBL_16, label LBL_10 LBL_16: %82 = inttoptr i64 %29 to i32* %sv_0.2.in.lcssa.reload = load i64, i64* %sv_0.2.in.lcssa.reg2mem %83 = call i64 @FUNC(i64 %27, i64 0) %84 = sub i64 %sv_0.2.in.lcssa.reload, %83 %85 = and i64 %84, 4294967295 %86 = call i64 @FUNC(i64 %27, i64 0, i64 %85) %87 = inttoptr i64 %25 to i32* %88 = load i32, i32* %87, align 4 %89 = add i64 %27, 8 %90 = inttoptr i64 %89 to i32* store i32 %88, i32* %90, align 4 store i32 1, i32* %82, align 4 %91 = add i64 %1, 28 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = add i64 %29, 4 %95 = inttoptr i64 %94 to i32* store i32 %93, i32* %95, align 4 %96 = inttoptr i64 %23 to i32* %97 = load i32, i32* %96, align 4 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_19, label LBL_17 LBL_17: %99 = call i64 @FUNC(i64 %1) %100 = trunc i64 %99 to i32 %101 = icmp eq i32 %100, 0 br i1 %101, label LBL_19, label LBL_18 LBL_18: store i32 1, i32* %sv_4, align 4 %102 = add i64 %1, 40 %103 = call i64 @FUNC(i64 %102, i32* nonnull %sv_4) br label LBL_19 LBL_19: %104 = call i64 @FUNC(i64 %27, i64 0) store i64 %104, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %70, { 1, 3, 0, 2 } uselistorder i8* %sv_0.214, { 2, 1, 0 } uselistorder i32 %sv_1.111.reload, { 1, 0 } uselistorder i64 %65, { 0, 2, 1 } uselistorder i32 %sv_3.0.lcssa.reload, { 1, 0 } uselistorder i64 %27, { 1, 2, 4, 3, 5, 0, 7, 6 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %1, { 0, 1, 2, 4, 3, 6, 5, 7, 8, 9 } uselistorder i32* %storemerge516.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_3.015.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.214.in.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.111.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.0.in10.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.2.in.in9.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem21, { 0, 2, 1 } uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 1, { 2, 3, 1, 0 } uselistorder i32 0, { 5, 6, 4, 0, 2, 3, 1 } uselistorder i32 8, { 2, 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
get_float64_2737
get_float64
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = load i128, i128* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i128 %1) store i64 %5, i64* %arg2, align 8 ret i64 0 }
0
BinRealVul
hbitmap_alloc_15426
hbitmap_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.03.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64 528) %3 = icmp sgt i32 %0, -1 %4 = trunc i64 %1 to i32 %5 = icmp slt i32 %4, 64 %or.cond = icmp eq i1 %3, %5 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %6 = urem i64 %1, 64 %7 = shl i64 1, %6 %8 = add i64 %arg1, -1 %9 = add i64 %8, %7 %10 = lshr i64 %9, %6 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %12 = inttoptr i64 %2 to i64* store i64 %10, i64* %12, align 8 %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i32* store i32 %4, i32* %14, align 4 %15 = add i64 %2, 16 store i64 63, i64* %indvars.iv.reg2mem store i64 %10, i64* %sv_0.03.reg2mem br label LBL_5 LBL_5: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = add i64 %sv_0.03.reload, 63 %17 = udiv i64 %16, 2 %18 = icmp ult i64 %16, 2 %19 = select i1 %18, i64 1, i64 %17 %20 = mul i64 %19, 8 %21 = call i64 @FUNC(i64 %20) %22 = mul i64 %indvars.iv.reload, 8 %23 = add i64 %22, %15 %24 = inttoptr i64 %23 to i64* store i64 %21, i64* %24, align 8 %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1 %25 = icmp eq i64 %indvars.iv.reload, 0 %26 = icmp eq i1 %25, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 %19, i64* %sv_0.03.reg2mem br i1 %26, label LBL_5, label LBL_6 LBL_6: %27 = icmp eq i64 %19, 1 br i1 %27, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %28 = inttoptr i64 %15 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = or i64 %31, -9223372036854775808 store i64 %32, i64* %30, align 8 ret i64 %2 uselistorder i64 %19, { 2, 0, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64 63, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tcp_parse_option_mss_7163
tcp_parse_option_mss
define i64 @FUNC(i32* %arg1, i8 %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg4 to i64 %3 = zext i8 %arg2 to i64 %4 = call i64 @FUNC(i64 %2, i64 %3, i64 4) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = trunc i64 %1 to i32 %8 = add i32 %7, 4 %9 = zext i8 %arg2 to i32 %10 = icmp ugt i32 %8, %9 store i64 %3, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: store i32 1, i32* %arg1, align 4 %11 = and i64 %1, 4294967295 %12 = ptrtoint i32* %arg3 to i64 %13 = add i64 %11, %12 %14 = call i64 @FUNC(i64 %13) %15 = add i32 %7, 2 store i32 %15, i32* %arg4, align 4 %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i16* %19 = load i16, i16* %18, align 2 %20 = urem i64 %14, 65536 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i16 %23 = icmp ugt i16 %19, %22 store i64 %21, i64* %rax.0.reg2mem br i1 %23, label LBL_3, label LBL_4 LBL_3: %24 = call i64 @FUNC(i64 %20) %25 = trunc i64 %24 to i16 store i16 %25, i16* %18, align 2 store i64 %24, 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 %20, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64)* @short_be, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_4, { 3, 2, 0, 1 } }
0
BinRealVul
nist_read_header_65
nist_read_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.be.reg2mem = alloca i32 %rdi.0.be.reg2mem = alloca i64 %rdi.03.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %sv_7 = alloca i64, align 8 store i64 7168880, i64* %sv_7, align 8 store i64 12592, i64* %sv_6, align 8 store i32 0, i32* %sv_5, align 4 %4 = call i64 @FUNC(i64 %3, i64 0) %sext = mul i64 %4, 4294967296 %5 = icmp eq i64 %sext, 0 %6 = icmp eq i1 %5, false store i64 4294967292, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_39 LBL_1: %7 = ashr exact i64 %sext, 32 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* store i32 1, i32* %10, align 4 %11 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4, i64 32) %12 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4, i64 32) %13 = bitcast i64* %sv_4 to i8* %14 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_3) %15 = load i64, i64* %sv_3, align 8 %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp slt i32 %16, 0 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %17, false %21 = icmp eq i1 %19, %20 store i64 4294967294, i64* %rax.0.reg2mem br i1 %21, label LBL_2, label LBL_39 LBL_2: %22 = ptrtoint i64* %sv_4 to i64 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_39 LBL_3: %26 = inttoptr i64 %2 to i64* %27 = inttoptr i64 %1 to i8** %28 = ptrtoint i64* %sv_6 to i64 %29 = add nsw i64 %7, 8 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %2 to i8** %32 = add i64 %3, 8 store i32 0, i32* %sv_0.04.reg2mem store i64 %22, i64* %rdi.03.reg2mem br label LBL_4 LBL_4: %rdi.03.reload = load i64, i64* %rdi.03.reg2mem %33 = call i64 @FUNC(i64 %rdi.03.reload, i64* nonnull %sv_4, i64 32) %34 = call i64 @FUNC(i64 %rdi.03.reload) %35 = load i64, i64* %sv_3, align 8 %36 = and i64 %35, 4294967295 %37 = icmp slt i64 %34, %36 store i64 4294967294, i64* %rax.0.reg2mem br i1 %37, label LBL_5, label LBL_39 LBL_5: %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem %38 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([9 x i8]* @gv_1 to i64*), i32 8) %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_18, label LBL_6 LBL_6: %41 = load i64, i64* %8, align 8 %42 = add i64 %41, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = load i32, i32* %sv_5, align 4 %48 = mul i32 %47, 8 store i32 %48, i32* %43, align 4 br label LBL_8 LBL_8: %49 = call i64 @FUNC(i64* nonnull %sv_7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_10, label LBL_9 LBL_9: %53 = load i64, i64* %8, align 8 %54 = add i64 %53, 4 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 0, i32 %sv_0.04.reload, i64 65535) %59 = trunc i64 %58 to i32 %60 = add i64 %53, 20 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 br label LBL_16 LBL_10: %62 = call i64 @FUNC(i64* nonnull %sv_7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0)) %63 = trunc i64 %62 to i32 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false br i1 %65, label LBL_12, label LBL_11 LBL_11: %66 = load i64, i64* %8, align 8 %67 = add i64 %66, 20 %68 = inttoptr i64 %67 to i32* store i32 2, i32* %68, align 4 br label LBL_16 LBL_12: %69 = call i64 @FUNC(i64* nonnull %sv_7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)) %70 = trunc i64 %69 to i32 %71 = icmp eq i32 %70, 0 br i1 %71, label LBL_14, label LBL_13 LBL_13: %72 = call i64 @FUNC(i64* nonnull %sv_7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) %73 = trunc i64 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false br i1 %75, label LBL_15, label LBL_14 LBL_14: %76 = load i64, i64* %8, align 8 %77 = add i64 %76, 20 %78 = inttoptr i64 %77 to i32* store i32 3, i32* %78, align 4 br label LBL_16 LBL_15: %79 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_7, i64 %22, i64 %2, i64 %1) br label LBL_16 LBL_16: %80 = load i64, i64* %8, align 8 %81 = add i64 %80, 12 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = zext i32 %83 to i64 %85 = call i64 @FUNC(i64 %7, i64 64, i64 1, i64 %84) %86 = load i64, i64* %8, align 8 %87 = add i64 %86, 4 %88 = inttoptr i64 %87 to i32* %89 = load i32, i32* %88, align 4 %90 = add i64 %86, 8 %91 = inttoptr i64 %90 to i32* %92 = load i32, i32* %91, align 4 %93 = mul i32 %92, %89 %94 = sdiv i32 %93, 128 %95 = add i64 %86, 16 %96 = inttoptr i64 %95 to i32* store i32 %94, i32* %96, align 4 %97 = call i64 @FUNC(i64 %7) %98 = load i64, i64* %sv_3, align 8 %99 = and i64 %98, 4294967295 %100 = icmp sgt i64 %97, %99 store i64 4294967294, i64* %rax.0.reg2mem br i1 %100, label LBL_39, label LBL_17 LBL_17: %101 = call i64 @FUNC(i64 %7) %102 = sub i64 %98, %101 %103 = and i64 %102, 4294967295 %104 = call i64 @FUNC(i64 %7, i64 %103) store i64 0, i64* %rax.0.reg2mem br label LBL_39 LBL_18: %105 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([14 x i8]* @gv_7 to i64*), i32 13) %106 = icmp eq i32 %105, 0 %107 = icmp eq i1 %106, false br i1 %107, label LBL_21, label LBL_19 LBL_19: %108 = load i64, i64* %8, align 8 %109 = add i64 %108, 8 %110 = inttoptr i64 %109 to i64* %111 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0), i64* %110, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_20: %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem %rdi.0.be.reload = load i64, i64* %rdi.0.be.reg2mem %112 = call i64 @FUNC(i64 %rdi.0.be.reload) %113 = trunc i64 %112 to i32 %114 = icmp eq i32 %113, 0 store i32 %sv_0.0.be.reload, i32* %sv_0.04.reg2mem store i64 %rdi.0.be.reload, i64* %rdi.03.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %114, label LBL_4, label LBL_39 LBL_21: %115 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([19 x i8]* @gv_9 to i64*), i32 18) %116 = icmp eq i32 %115, 0 %117 = icmp eq i1 %116, false br i1 %117, label LBL_26, label LBL_22 LBL_22: %118 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_6, i64* nonnull %sv_4, i64* %26, i8** %27) %119 = call i64 @FUNC(i64* nonnull %sv_6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_11, i64 0, i64 0)) %120 = trunc i64 %119 to i32 %121 = icmp eq i32 %120, 0 %122 = icmp eq i1 %121, false store i64 %28, i64* %rdi.0.be.reg2mem store i32 0, i32* %sv_0.0.be.reg2mem br i1 %122, label LBL_23, label LBL_20 LBL_23: %123 = call i64 @FUNC(i64* nonnull %sv_6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0)) %124 = trunc i64 %123 to i32 %125 = icmp eq i32 %124, 0 %126 = icmp eq i1 %125, false store i64 %28, i64* %rdi.0.be.reg2mem store i32 1, i32* %sv_0.0.be.reg2mem br i1 %126, label LBL_24, label LBL_20 LBL_24: %127 = call i64 @FUNC(i64* nonnull %sv_6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_13, i64 0, i64 0)) %128 = trunc i64 %127 to i32 %129 = icmp eq i32 %128, 0 store i64 %28, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br i1 %129, label LBL_20, label LBL_25 LBL_25: %130 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_14, i64 0, i64 0), i64* nonnull %sv_6, i64 %22, i64 %2, i64 %1) store i64 4294967293, i64* %rax.0.reg2mem br label LBL_39 LBL_26: %131 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([14 x i8]* @gv_15 to i64*), i32 13) %132 = icmp eq i32 %131, 0 %133 = icmp eq i1 %132, false br i1 %133, label LBL_28, label LBL_27 LBL_27: %134 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_7, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_28: %135 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([13 x i8]* @gv_16 to i64*), i32 12) %136 = icmp eq i32 %135, 0 %137 = icmp eq i1 %136, false br i1 %137, label LBL_30, label LBL_29 LBL_29: %138 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_17, i64 0, i64 0), i64* %30, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_30: %139 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([15 x i8]* @gv_18 to i64*), i32 14) %140 = icmp eq i32 %139, 0 %141 = icmp eq i1 %140, false br i1 %141, label LBL_32, label LBL_31 LBL_31: %142 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0), i32* nonnull %sv_5, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_32: %143 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([12 x i8]* @gv_19 to i64*), i32 11) %144 = icmp eq i32 %143, 0 %145 = icmp eq i1 %144, false br i1 %145, label LBL_34, label LBL_33 LBL_33: %146 = load i64, i64* %8, align 8 %147 = add i64 %146, 12 %148 = inttoptr i64 %147 to i64* %149 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0), i64* %148, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_34: %150 = call i32 @memcmp(i64* nonnull %sv_4, i64* bitcast ([16 x i8]* @gv_20 to i64*), i32 15) %151 = icmp eq i32 %150, 0 %152 = icmp eq i1 %151, false br i1 %152, label LBL_36, label LBL_35 LBL_35: %153 = load i64, i64* %8, align 8 %154 = add i64 %153, 4 %155 = inttoptr i64 %154 to i64* %156 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0), i64* %155, i64* nonnull %sv_4, i64* %26, i8** %27) store i64 %22, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_36: %157 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_21, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i8** %31, i8** %27) %158 = icmp eq i32 %157, 3 %159 = icmp eq i1 %158, false br i1 %159, label LBL_38, label LBL_37 LBL_37: %160 = call i64 @FUNC(i64 %32, i64* nonnull %sv_1, i64* nonnull %sv_2, i64 0) store i64 %32, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_38: %161 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_22, i64 0, i64 0), i64* nonnull %sv_4, i64 %2, i64 %1) store i64 %3, i64* %rdi.0.be.reg2mem store i32 %sv_0.04.reload, i32* %sv_0.0.be.reg2mem br label LBL_20 LBL_39: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.0.be.reload, { 1, 0 } uselistorder i64 %86, { 1, 0, 2 } uselistorder i32 %sv_0.04.reload, { 8, 7, 6, 5, 4, 3, 2, 1, 0, 9 } uselistorder i64 %rdi.03.reload, { 1, 0 } uselistorder i64 %28, { 2, 0, 1 } uselistorder i64 %22, { 5, 4, 3, 2, 1, 9, 0, 8, 6, 7 } uselistorder i32 %16, { 1, 0 } uselistorder i8* %13, { 7, 6, 5, 4, 3, 2, 1, 0, 8 } uselistorder i64* %8, { 8, 7, 6, 2, 1, 4, 3, 0, 5, 9 } uselistorder i64 %7, { 1, 0, 2, 3, 4, 5 } uselistorder i64* %sv_4, { 7, 0, 8, 1, 9, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 15, 16, 20, 17, 18, 19 } uselistorder i64* %sv_3, { 1, 2, 3, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %3, { 0, 3, 2, 1, 4, 6, 5, 7 } uselistorder i64 %2, { 2, 1, 0, 4, 3 } uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.03.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.be.reg2mem, { 11, 10, 9, 8, 7, 6, 5, 4, 1, 2, 0, 3 } uselistorder i32* %sv_0.0.be.reg2mem, { 11, 10, 9, 8, 7, 6, 5, 4, 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 8, 2, 7, 4, 1, 3, 5, 6 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @avpriv_request_sample, { 1, 0 } uselistorder i64 (i64*, i8*)* @av_strcasecmp, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i64*, i64*, i32)* @memcmp, { 0, 1, 7, 6, 5, 4, 3, 2 } uselistorder i64 (i64)* @avio_tell, { 2, 1, 0 } uselistorder i64 8, { 2, 3, 0, 1, 4 } uselistorder i64 (i64)* @url_feof, { 1, 0 } uselistorder i64 4294967294, { 1, 0, 2 } uselistorder i32 (i8*, i8*, ...)* @sscanf, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64*, i64)* @ff_get_line, { 2, 1, 0 } uselistorder i64 32, { 1, 2, 3, 0 } uselistorder label LBL_39, { 6, 1, 7, 3, 0, 2, 4, 5 } uselistorder label LBL_20, { 8, 7, 6, 5, 4, 3, 2, 1, 10, 9, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
virtio_pci_start_ioeventfd_1512
virtio_pci_start_ioeventfd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdx.0.lcssa.reg2mem = alloca i64 %rcx.0.ph.lcssa.reg2mem = alloca i64 %rcx.0.ph9.reg2mem = alloca i64 %.reg2mem33 = alloca i32 %rdx.0.ph.be.reg2mem = alloca i64 %rcx.0.ph.be.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = urem i64 %3, 2 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_17, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp eq i32 %9, 0 %12 = icmp eq i1 %11, false store i64 %10, i64* %rax.0.reg2mem br i1 %12, label LBL_17, label LBL_2 LBL_2: %13 = add i64 %6, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = icmp eq i32 %15, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_17, label LBL_3 LBL_3: %19 = add i64 %6, 16 %20 = inttoptr i64 %19 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 %indvars.iv.reload) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_8, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %6, i64 %indvars.iv.reload, i64 1) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 br i1 %27, label LBL_6, label LBL_7 LBL_6: %28 = trunc i64 %indvars.iv.reload to i32 %29 = add i32 %28, -1 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false store i32 %29, i32* %.reg2mem33 store i64 %indvars.iv.reload, i64* %rcx.0.ph9.reg2mem store i64 %indvars.iv.reload, i64* %rcx.0.ph.lcssa.reg2mem store i64 1, i64* %rdx.0.lcssa.reg2mem br i1 %31, label LBL_10.lr.ph, label LBL_16 LBL_7: %32 = call i64 @FUNC(i64 %6, i64 %indvars.iv.reload, i64 1) br label LBL_8 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %33 = icmp ult i64 %indvars.iv.next, 16 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %33, label LBL_4, label LBL_9 LBL_9: store i32 1, i32* %14, align 4 store i64 %6, i64* %rax.0.reg2mem br label LBL_17 LBL_10: %.reload = load i32, i32* %.reg2mem %34 = load i64, i64* %20, align 8 %35 = zext i32 %.reload to i64 %36 = call i64 @FUNC(i64 %34, i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_11, label LBL_15 LBL_11: %40 = call i64 @FUNC(i64 %6, i64 %35, i64 0) %41 = call i64 @FUNC(i64 %6, i64 %35, i64 0) %42 = trunc i64 %41 to i32 %43 = icmp slt i32 %42, 0 %44 = icmp eq i1 %43, false store i64 %35, i64* %rcx.0.ph.be.reg2mem store i64 0, i64* %rdx.0.ph.be.reg2mem br i1 %44, label LBL_12, label LBL_13 LBL_12: %rdx.0.ph.be.reload = load i64, i64* %rdx.0.ph.be.reg2mem %rcx.0.ph.be.reload = load i64, i64* %rcx.0.ph.be.reg2mem %45 = add i32 %.reload, -1 %46 = icmp slt i32 %45, 0 %47 = icmp eq i1 %46, false store i32 %45, i32* %.reg2mem33 store i64 %rcx.0.ph.be.reload, i64* %rcx.0.ph9.reg2mem store i64 %rcx.0.ph.be.reload, i64* %rcx.0.ph.lcssa.reg2mem store i64 %rdx.0.ph.be.reload, i64* %rdx.0.lcssa.reg2mem br i1 %47, label LBL_10.lr.ph, label LBL_16 LBL_13: call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([27 x i8]* @gv_2 to i64), i64* %rcx.0.ph.be.reg2mem store i64 43, i64* %rdx.0.ph.be.reg2mem br label LBL_12 LBL_14: %rcx.0.ph9.reload = load i64, i64* %rcx.0.ph9.reg2mem %.reload34 = load i32, i32* %.reg2mem33 store i32 %.reload34, i32* %.reg2mem br label LBL_10 LBL_15: %48 = add i32 %.reload, -1 %49 = icmp slt i32 %48, 0 %50 = icmp eq i1 %49, false store i32 %48, i32* %.reg2mem store i64 %rcx.0.ph9.reload, i64* %rcx.0.ph.lcssa.reg2mem store i64 %35, i64* %rdx.0.lcssa.reg2mem br i1 %50, label LBL_10, label LBL_16 LBL_16: %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem %rcx.0.ph.lcssa.reload = load i64, i64* %rcx.0.ph.lcssa.reg2mem store i32 0, i32* %14, align 4 %51 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %rdx.0.lcssa.reload, i64 %rcx.0.ph.lcssa.reload, i64 %2, i64 %1) store i64 %51, 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 %35, { 0, 1, 3, 2, 4 } uselistorder i32 %.reload, { 1, 2, 0 } uselistorder i64 %indvars.iv.reload, { 2, 3, 0, 1, 6, 4, 5 } uselistorder i32* %14, { 1, 0, 2 } uselistorder i64 %6, { 3, 2, 0, 1, 4, 5, 6, 7 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 2, 0 } uselistorder i64* %rcx.0.ph.be.reg2mem, { 2, 0, 1 } uselistorder i64* %rdx.0.ph.be.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem33, { 0, 2, 1 } uselistorder i64* %rcx.0.ph9.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.0.ph.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rdx.0.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %0, { 2, 1, 0 } uselistorder [27 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @virtio_pci_set_host_notifier_fd_handler, { 1, 0 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @virtio_pci_set_host_notifier_internal, { 1, 0 } uselistorder i64 (i64, i64)* @virtio_queue_get_num, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0, 5, 6 } uselistorder i32 0, { 4, 5, 1, 2, 3, 0, 6, 7, 8, 9 } uselistorder label LBL_17, { 3, 4, 2, 1, 0 } uselistorder label LBL_16, { 1, 0, 2 } uselistorder label LBL_10.lr.ph, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
pv_shim_inject_evtchn_13228
pv_shim_inject_evtchn
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load i64, i64* @gv_0, align 8 %6 = call i64 @FUNC(i64 %5, i64 %1) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = load i64, i64* @gv_0, align 8 %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10, i64 %6) store i64 %11, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
virtio_host_initfn_2586
virtio_host_initfn
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 4, i64 1) ret i64 %1 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
sdhci_write_dataport_16728
sdhci_write_dataport
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = trunc i64 %arg3 to i32 %6 = icmp eq i32 %5, 0 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_9, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = bitcast i64* %rdi to i32* %10 = add i64 %7, 8 %11 = inttoptr i64 %10 to i32* %12 = add i64 %7, 12 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* %15 = bitcast i64* %arg1 to i32* store i32 0, i32* %storemerge4.reg2mem store i64 %8, i64* %sv_0.03.reg2mem br label LBL_4 LBL_3: %16 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0)) store i64 %16, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %17 = load i32, i32* %11, align 4 %18 = zext i32 %17 to i64 %19 = trunc i64 %sv_0.03.reload to i8 %20 = add i64 %12, %18 %21 = inttoptr i64 %20 to i8* store i8 %19, i8* %21, align 1 %22 = load i32, i32* %11, align 4 %23 = add i32 %22, 1 store i32 %23, i32* %11, align 4 %24 = load i32, i32* %14, align 4 %25 = urem i32 %24, 4096 %26 = icmp ult i32 %23, %25 br i1 %26, label LBL_7, label LBL_5 LBL_5: %27 = zext i32 %23 to i64 %28 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %27) store i32 0, i32* %11, align 4 %29 = load i32, i32* %9, align 8 %30 = and i32 %29, -2 store i32 %30, i32* %15, align 4 %31 = and i32 %29, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 %7) br label LBL_7 LBL_7: %34 = udiv i64 %sv_0.03.reload, 256 %35 = urem i64 %34, 16777216 %36 = add nuw i32 %storemerge4.reload, 1 %exitcond = icmp eq i32 %36, %5 store i32 %36, i32* %storemerge4.reg2mem store i64 %35, i64* %sv_0.03.reg2mem br i1 %exitcond, label LBL_8, label LBL_4 LBL_8: %37 = and i64 %arg3, 4294967295 store i64 %37, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %23, { 1, 0, 2 } uselistorder i64 %sv_0.03.reload, { 1, 0 } uselistorder i32* %11, { 0, 2, 1, 3 } uselistorder i64 %7, { 0, 1, 3, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_9, { 0, 2, 1 } }
1
BinRealVul
ff_h263_decode_picture_header_102
ff_h263_decode_picture_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %storemerge115.reg2mem = alloca i32 %storemerge214.reg2mem = alloca i32 %storemerge316.reg2mem = alloca i32 %rcx.2.reg2mem = alloca i64 %.pre-phi26.reg2mem = alloca i32* %.pre-phi30.reg2mem = alloca i32* %.pre-phi34.reg2mem = alloca i32* %rcx.1.reg2mem = alloca i64 %.pre-phi38.reg2mem = alloca i32* %rcx.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i32 %sv_3.017.reg2mem = alloca i32 %storemerge618.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 96 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %6, i64 14) %9 = trunc i64 %8 to i32 %10 = call i64 @FUNC(i64 %6) %11 = trunc i64 %10 to i32 %12 = icmp sgt i32 %11, 24 store i32 %11, i32* %storemerge618.reg2mem store i32 %9, i32* %sv_3.017.reg2mem store i32 %9, i32* %sv_3.0.lcssa.reg2mem br i1 %12, label LBL_1, label LBL_3 LBL_1: %sv_3.017.reload = load i32, i32* %sv_3.017.reg2mem %13 = mul i32 %sv_3.017.reload, 256 %14 = call i64 @FUNC(i64 %6, i64 8) %15 = trunc i64 %14 to i32 %16 = or i32 %13, %15 %17 = urem i32 %16, 4194304 %18 = icmp eq i32 %17, 32 br i1 %18, label LBL_5, label LBL_2 LBL_2: %storemerge618.reload = load i32, i32* %storemerge618.reg2mem %19 = add nsw i32 %storemerge618.reload, -8 %20 = icmp sgt i32 %19, 24 store i32 %19, i32* %storemerge618.reg2mem store i32 %17, i32* %sv_3.017.reg2mem store i32 %17, i32* %sv_3.0.lcssa.reg2mem br i1 %20, label LBL_1, label LBL_3 LBL_3: %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem %21 = icmp eq i32 %sv_3.0.lcssa.reload, 32 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %5, 80 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_5: %26 = trunc i64 %3 to i32 %27 = call i64 @FUNC(i64 %6, i64 8) %28 = trunc i64 %27 to i32 %29 = and i32 %26, -256 %30 = add i32 %29, %28 %31 = icmp ult i32 %30, %26 %32 = add i32 %28, 256 %spec.select10 = select i1 %31, i32 %32, i32 %28 %33 = add i32 %spec.select10, %29 %34 = bitcast i64* %arg1 to i32* store i32 %33, i32* %34, align 4 %35 = add i64 %5, 88 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = inttoptr i64 %37 to i32* store i32 %26, i32* %38, align 4 %39 = call i64 @FUNC(i64 %6) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 1 br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = add i64 %5, 80 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = call i64 @FUNC(i64 %44, i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_7: %46 = call i64 @FUNC(i64 %6) %47 = trunc i64 %46 to i32 %48 = icmp eq i32 %47, 0 br i1 %48, label LBL_9, label LBL_8 LBL_8: %49 = add i64 %5, 80 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %51, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_9: %53 = call i64 @FUNC(i64 %6) %54 = call i64 @FUNC(i64 %6) %55 = call i64 @FUNC(i64 %6) %56 = call i64 @FUNC(i64 %6, i64 3) %57 = trunc i64 %56 to i32 %58 = or i32 %57, 1 %59 = icmp eq i32 %58, 7 %60 = add i64 %5, 32 %61 = inttoptr i64 %60 to i32* br i1 %59, label LBL_14, label LBL_10 LBL_10: store i32 0, i32* %61, align 4 %sext = mul i64 %56, 4294967296 %62 = ashr exact i64 %sext, 29 %63 = add i64 %62, ptrtoint (i32** @gv_3 to i64) %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 8 %66 = add i64 %62, ptrtoint (i32** @gv_4 to i64) %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 8 %69 = icmp eq i32 %65, 0 %70 = icmp eq i1 %69, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %70, label LBL_11, label LBL_83 LBL_11: %71 = call i64 @FUNC(i64 %6) %72 = trunc i64 %71 to i32 %73 = add i64 %5, 24 %74 = inttoptr i64 %73 to i32* store i32 %72, i32* %74, align 4 %75 = call i64 @FUNC(i64 %6) %76 = trunc i64 %75 to i32 %77 = add i64 %5, 36 %78 = inttoptr i64 %77 to i32* store i32 %76, i32* %78, align 4 %79 = call i64 @FUNC(i64 %6) %80 = trunc i64 %79 to i32 %81 = icmp eq i32 %80, 0 br i1 %81, label LBL_13, label LBL_12 LBL_12: %82 = add i64 %5, 80 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = call i64 @FUNC(i64 %84, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_13: %86 = call i64 @FUNC(i64 %6) %87 = trunc i64 %86 to i32 %88 = add i64 %5, 40 %89 = inttoptr i64 %88 to i32* store i32 %87, i32* %89, align 4 %90 = load i32, i32* %78, align 4 %91 = icmp eq i32 %90, 0 %92 = icmp eq i1 %91, false %93 = icmp ne i32 %87, 0 %narrow = or i1 %93, %92 %storemerge4 = zext i1 %narrow to i32 %94 = add i64 %5, 44 %95 = inttoptr i64 %94 to i32* store i32 %storemerge4, i32* %95, align 4 %96 = call i64 @FUNC(i64 %6) %97 = trunc i64 %96 to i32 %98 = add i64 %5, 28 %99 = inttoptr i64 %98 to i32* store i32 %97, i32* %99, align 4 %100 = call i64 @FUNC(i64 %6, i64 5) %101 = trunc i64 %100 to i32 %102 = add i64 %5, 68 %103 = inttoptr i64 %102 to i32* store i32 %101, i32* %103, align 4 %104 = add i64 %5, 104 %105 = inttoptr i64 %104 to i32* store i32 %101, i32* %105, align 4 %106 = call i64 @FUNC(i64 %6) %107 = add i64 %5, 4 %108 = inttoptr i64 %107 to i32* store i32 %65, i32* %108, align 4 %109 = add i64 %5, 8 %110 = inttoptr i64 %109 to i32* store i32 %68, i32* %110, align 4 %111 = add i64 %5, 80 %112 = inttoptr i64 %111 to i64* %113 = load i64, i64* %112, align 8 %114 = inttoptr i64 %113 to i32* store i32 12, i32* %114, align 4 %115 = add i64 %113, 4 %116 = inttoptr i64 %115 to i32* store i32 11, i32* %116, align 4 %117 = load i64, i64* %112, align 8 %118 = add i64 %117, 8 %119 = inttoptr i64 %118 to i32* store i32 1001, i32* %119, align 4 %120 = add i64 %117, 12 %121 = inttoptr i64 %120 to i32* store i32 30000, i32* %121, align 4 store i32* %99, i32** %.pre-phi34.reg2mem store i32* %110, i32** %.pre-phi30.reg2mem store i32* %108, i32** %.pre-phi26.reg2mem br label LBL_60 LBL_14: store i32 1, i32* %61, align 4 %122 = call i64 @FUNC(i64 %6, i64 3) %123 = trunc i64 %122 to i32 %124 = icmp eq i32 %123, 1 %125 = icmp eq i1 %124, false br i1 %125, label LBL_27, label LBL_15 LBL_15: %126 = call i64 @FUNC(i64 %6, i64 3) %127 = trunc i64 %126 to i32 %128 = add i64 %5, 80 %129 = inttoptr i64 %128 to i64* %130 = load i64, i64* %129, align 8 %131 = call i64 @FUNC(i64 %130, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_6, i64 0, i64 0), i32 %127, i64 %4, i64 %2, i64 %1) %132 = call i64 @FUNC(i64 %6) %133 = trunc i64 %132 to i32 %134 = add i64 %5, 48 %135 = inttoptr i64 %134 to i32* store i32 %133, i32* %135, align 4 %136 = call i64 @FUNC(i64 %6) %137 = trunc i64 %136 to i32 %138 = add i64 %5, 52 %139 = inttoptr i64 %138 to i32* store i32 %137, i32* %139, align 4 %140 = call i64 @FUNC(i64 %6) %141 = trunc i64 %140 to i32 %142 = icmp eq i32 %141, 0 br i1 %142, label LBL_17, label LBL_16 LBL_16: %143 = load i64, i64* %129, align 8 %144 = call i64 @FUNC(i64 %143, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_7, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_17 LBL_17: %145 = call i64 @FUNC(i64 %6) %146 = trunc i64 %145 to i32 %147 = add i64 %5, 40 %148 = inttoptr i64 %147 to i32* store i32 %146, i32* %148, align 4 %149 = call i64 @FUNC(i64 %6) %150 = trunc i64 %149 to i32 %151 = add i64 %5, 56 %152 = inttoptr i64 %151 to i32* store i32 %150, i32* %152, align 4 %153 = call i64 @FUNC(i64 %6) %154 = trunc i64 %153 to i32 %155 = add i64 %5, 60 %156 = inttoptr i64 %155 to i32* store i32 %154, i32* %156, align 4 %157 = load i32, i32* %139, align 4 %158 = icmp eq i32 %157, 0 %159 = icmp eq i1 %158, false store i32 1, i32* %storemerge5.reg2mem br i1 %159, label LBL_20, label LBL_18 LBL_18: %160 = load i32, i32* %148, align 4 %161 = icmp eq i32 %160, 0 %162 = icmp eq i1 %161, false store i32 1, i32* %storemerge5.reg2mem br i1 %162, label LBL_20, label LBL_19 LBL_19: %163 = icmp ne i32 %154, 0 %spec.select8 = zext i1 %163 to i32 store i32 %spec.select8, i32* %storemerge5.reg2mem br label LBL_20 LBL_20: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %164 = add i64 %5, 44 %165 = inttoptr i64 %164 to i32* store i32 %storemerge5.reload, i32* %165, align 4 %166 = call i64 @FUNC(i64 %6) %167 = trunc i64 %166 to i32 %168 = add i64 %5, 64 %169 = inttoptr i64 %168 to i32* store i32 %167, i32* %169, align 4 %170 = call i64 @FUNC(i64 %6) %171 = trunc i64 %170 to i32 %172 = icmp eq i32 %171, 0 br i1 %172, label LBL_22, label LBL_21 LBL_21: %173 = load i64, i64* %129, align 8 %174 = call i64 @FUNC(i64 %173, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_8, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_22 LBL_22: %175 = call i64 @FUNC(i64 %6) %176 = trunc i64 %175 to i32 %177 = icmp eq i32 %176, 0 br i1 %177, label LBL_24, label LBL_23 LBL_23: %178 = load i64, i64* %129, align 8 %179 = call i64 @FUNC(i64 %178, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_9, i64 0, i64 0), i64 %4, i64 %2, i64 %1) br label LBL_24 LBL_24: %180 = call i64 @FUNC(i64 %6) %181 = trunc i64 %180 to i32 %182 = add i64 %5, 112 %183 = inttoptr i64 %182 to i32* store i32 %181, i32* %183, align 4 %184 = call i64 @FUNC(i64 %6) %185 = trunc i64 %184 to i32 %186 = add i64 %5, 116 %187 = inttoptr i64 %186 to i32* store i32 %185, i32* %187, align 4 %188 = icmp eq i32 %185, 0 br i1 %188, label LBL_26, label LBL_25 LBL_25: %189 = add i64 %5, 120 %190 = inttoptr i64 %189 to i64* store i64 ptrtoint (i64* @gv_10 to i64), i64* %190, align 8 br label LBL_26 LBL_26: %191 = call i64 @FUNC(i64 %6, i64 1) %192 = call i64 @FUNC(i64 %6, i64 3) store i32 %127, i32* %sv_2.0.reg2mem br label LBL_29 LBL_27: %193 = icmp eq i32 %123, 0 store i32 %57, i32* %sv_2.0.reg2mem br i1 %193, label LBL_29, label LBL_28 LBL_28: %194 = add i64 %5, 80 %195 = inttoptr i64 %194 to i64* %196 = load i64, i64* %195, align 8 %197 = and i64 %122, 4294967295 %198 = call i64 @FUNC(i64 %196, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_11, i64 0, i64 0), i64 %197, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_29: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %199 = call i64 @FUNC(i64 %6, i64 3) %200 = trunc i64 %199 to i32 %201 = add i64 %5, 24 %202 = inttoptr i64 %201 to i32* store i32 %200, i32* %202, align 4 store i64 %5, i64* @0, align 8 store i64 4294967295, i64* %rax.0.reg2mem switch i64 %5, label LBL_83 [ i64 0, label LBL_30 i64 1, label LBL_31 i64 2, label LBL_32 i64 3, label LBL_33 i64 7, label LBL_34 ] LBL_30: store i32 0, i32* %202, align 4 br label LBL_35 LBL_31: store i32 1, i32* %202, align 4 br label LBL_35 LBL_32: store i32 1, i32* %202, align 4 store i32 3, i32* inttoptr (i64 30 to i32*), align 4 br label LBL_35 LBL_33: store i32 2, i32* %202, align 4 br label LBL_35 LBL_34: store i32 0, i32* %202, align 4 br label LBL_35 LBL_35: %203 = call i64 @FUNC(i64 %6, i64 2) %204 = call i64 @FUNC(i64 %6) %205 = trunc i64 %204 to i32 %206 = add i64 %5, 108 %207 = inttoptr i64 %206 to i32* store i32 %205, i32* %207, align 4 %208 = call i64 @FUNC(i64 %6, i64 4) %209 = icmp eq i32 %123, 0 br i1 %209, label LBL_35.LBL_48_crit_edge, label LBL_37 LBL_36: %.pre35 = add i64 %5, 48 %.pre37 = inttoptr i64 %.pre35 to i32* store i32* %.pre37, i32** %.pre-phi38.reg2mem br label LBL_48 LBL_37: %210 = icmp eq i32 %sv_2.0.reload, 6 %211 = icmp eq i1 %210, false br i1 %211, label LBL_41, label LBL_38 LBL_38: %212 = call i64 @FUNC(i64 %6, i64 4) %213 = trunc i64 %212 to i32 %214 = add i64 %5, 76 %215 = inttoptr i64 %214 to i32* store i32 %213, i32* %215, align 4 %216 = add i64 %5, 80 %217 = inttoptr i64 %216 to i64* %218 = load i64, i64* %217, align 8 %219 = call i64 @FUNC(i64 %218, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_12, i64 0, i64 0), i32 %213, i64 %4, i64 %2, i64 %1) %220 = call i64 @FUNC(i64 %6, i64 9) %221 = trunc i64 %220 to i32 %222 = mul i32 %221, 4 %223 = add i32 %222, 4 %224 = call i64 @FUNC(i64 %6) %225 = call i64 @FUNC(i64 %6, i64 9) %226 = trunc i64 %225 to i32 %227 = mul i32 %226, 4 %228 = load i64, i64* %217, align 8 %229 = zext i32 %227 to i64 %230 = call i64 @FUNC(i64 %228, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_13, i64 0, i64 0), i32 %223, i64 %229, i64 %2, i64 %1) %231 = load i32, i32* %215, align 4 %232 = icmp eq i32 %231, 0 %233 = icmp eq i1 %232, false br i1 %233, label LBL_40, label LBL_39 LBL_39: %234 = call i64 @FUNC(i64 %6, i64 8) %235 = trunc i64 %234 to i32 %236 = load i64, i64* %217, align 8 %237 = inttoptr i64 %236 to i32* store i32 %235, i32* %237, align 4 %238 = call i64 @FUNC(i64 %6, i64 8) %239 = trunc i64 %238 to i32 %240 = load i64, i64* %217, align 8 %241 = add i64 %240, 4 %242 = inttoptr i64 %241 to i32* store i32 %239, i32* %242, align 4 store i32 %223, i32* %sv_1.0.reg2mem store i32 %227, i32* %sv_0.0.reg2mem store i64 %229, i64* %rcx.0.reg2mem br label LBL_42 LBL_40: %243 = load i64, i64* %217, align 8 %244 = sext i32 %231 to i64 %245 = mul i64 %244, 8 %246 = add i64 %245, ptrtoint (i64* @gv_14 to i64) %247 = inttoptr i64 %246 to i64* %248 = load i64, i64* %247, align 8 %249 = inttoptr i64 %243 to i64* store i64 %248, i64* %249, align 8 store i32 %223, i32* %sv_1.0.reg2mem store i32 %227, i32* %sv_0.0.reg2mem store i64 %229, i64* %rcx.0.reg2mem br label LBL_42 LBL_41: %250 = sext i32 %sv_2.0.reload to i64 %251 = mul i64 %250, 8 %252 = add i64 %251, ptrtoint (i32** @gv_3 to i64) %253 = inttoptr i64 %252 to i32* %254 = load i32, i32* %253, align 8 %255 = add i64 %251, ptrtoint (i32** @gv_4 to i64) %256 = inttoptr i64 %255 to i32* %257 = load i32, i32* %256, align 8 %258 = add i64 %5, 80 %259 = inttoptr i64 %258 to i64* %260 = load i64, i64* %259, align 8 %261 = inttoptr i64 %260 to i32* store i32 12, i32* %261, align 4 %262 = add i64 %260, 4 %263 = inttoptr i64 %262 to i32* store i32 11, i32* %263, align 4 store i32 %254, i32* %sv_1.0.reg2mem store i32 %257, i32* %sv_0.0.reg2mem br label LBL_42 LBL_42: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %264 = icmp ne i32 %sv_1.0.reload, 0 %265 = icmp eq i32 %sv_0.0.reload, 0 %266 = icmp eq i1 %265, false %or.cond = icmp eq i1 %264, %266 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_43, label LBL_83 LBL_43: %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %267 = add i64 %5, 4 %268 = inttoptr i64 %267 to i32* store i32 %sv_1.0.reload, i32* %268, align 4 %269 = add i64 %5, 8 %270 = inttoptr i64 %269 to i32* store i32 %sv_0.0.reload, i32* %270, align 4 %271 = add i64 %5, 48 %272 = inttoptr i64 %271 to i32* %273 = load i32, i32* %272, align 4 %274 = icmp eq i32 %273, 0 %275 = add i64 %5, 80 %276 = inttoptr i64 %275 to i64* %277 = load i64, i64* %276, align 8 br i1 %274, label LBL_47, label LBL_44 LBL_44: %278 = add i64 %277, 12 %279 = inttoptr i64 %278 to i32* store i32 1800000, i32* %279, align 4 %280 = call i64 @FUNC(i64 %6) %281 = trunc i64 %280 to i32 %282 = load i64, i64* %276, align 8 %283 = add i32 %281, 1000 %284 = add i64 %282, 8 %285 = inttoptr i64 %284 to i32* store i32 %283, i32* %285, align 4 %286 = call i64 @FUNC(i64 %6, i64 7) %287 = load i64, i64* %276, align 8 %288 = add i64 %287, 8 %289 = inttoptr i64 %288 to i32* %290 = load i32, i32* %289, align 4 %291 = trunc i64 %286 to i32 %292 = mul i32 %290, %291 store i32 %292, i32* %289, align 4 %293 = load i64, i64* %276, align 8 %294 = add i64 %293, 8 %295 = inttoptr i64 %294 to i32* %296 = load i32, i32* %295, align 4 %297 = icmp eq i32 %296, 0 %298 = icmp eq i1 %297, false br i1 %298, label LBL_46, label LBL_45 LBL_45: %299 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_15, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_46: %300 = add i64 %293, 12 %301 = inttoptr i64 %300 to i32* %302 = load i32, i32* %301, align 4 %303 = zext i32 %296 to i64 %304 = zext i32 %302 to i64 %305 = call i64 @FUNC(i64 %304, i64 %303) %306 = load i64, i64* %276, align 8 %307 = add i64 %306, 12 %308 = inttoptr i64 %307 to i32* %309 = load i32, i32* %308, align 4 %310 = ashr i32 %309, 31 %311 = zext i32 %309 to i64 %312 = zext i32 %310 to i64 %313 = mul i64 %312, 4294967296 %314 = or i64 %313, %311 %315 = and i64 %305, 4294967295 %316 = sdiv i64 %314, %315 %317 = trunc i64 %316 to i32 store i32 %317, i32* %308, align 4 %318 = load i64, i64* %276, align 8 %319 = add i64 %318, 8 %320 = inttoptr i64 %319 to i32* %321 = load i32, i32* %320, align 4 %322 = ashr i32 %321, 31 %323 = zext i32 %321 to i64 %324 = zext i32 %322 to i64 %325 = mul i64 %324, 4294967296 %326 = or i64 %325, %323 %327 = sdiv i64 %326, %315 %328 = trunc i64 %327 to i32 store i32 %328, i32* %320, align 4 store i32* %272, i32** %.pre-phi38.reg2mem store i64 %318, i64* %rcx.1.reg2mem br label LBL_48 LBL_47: %329 = add i64 %277, 8 %330 = inttoptr i64 %329 to i32* store i32 1001, i32* %330, align 4 %331 = add i64 %277, 12 %332 = inttoptr i64 %331 to i32* store i32 30000, i32* %332, align 4 store i32* %272, i32** %.pre-phi38.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.reg2mem br label LBL_48 LBL_48: %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %.pre-phi38.reload = load i32*, i32** %.pre-phi38.reg2mem %333 = load i32, i32* %.pre-phi38.reload, align 4 %334 = icmp eq i32 %333, 0 br i1 %334, label LBL_50, label LBL_49 LBL_49: %335 = call i64 @FUNC(i64 %6, i64 2) br label LBL_50 LBL_50: br i1 %209, label LBL_59, label LBL_51 LBL_51: %336 = add i64 %5, 52 %337 = inttoptr i64 %336 to i32* %338 = load i32, i32* %337, align 4 %339 = icmp eq i32 %338, 0 br i1 %339, label LBL_54, label LBL_52 LBL_52: %340 = call i64 @FUNC(i64 %6) %341 = trunc i64 %340 to i32 %342 = icmp eq i32 %341, 0 %343 = icmp eq i1 %342, false br i1 %343, label LBL_54, label LBL_53 LBL_53: %344 = call i64 @FUNC(i64 %6) br label LBL_54 LBL_54: %345 = add i64 %5, 64 %346 = inttoptr i64 %345 to i32* %347 = load i32, i32* %346, align 4 %348 = icmp eq i32 %347, 0 br i1 %348, label LBL_59, label LBL_55 LBL_55: %349 = call i64 @FUNC(i64 %6) %350 = trunc i64 %349 to i32 %351 = icmp eq i32 %350, 0 br i1 %351, label LBL_57, label LBL_56 LBL_56: %352 = add i64 %5, 80 %353 = inttoptr i64 %352 to i64* %354 = load i64, i64* %353, align 8 %355 = call i64 @FUNC(i64 %354, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_16, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) br label LBL_57 LBL_57: %356 = call i64 @FUNC(i64 %6) %357 = trunc i64 %356 to i32 %358 = icmp eq i32 %357, 0 br i1 %358, label LBL_59, label LBL_58 LBL_58: %359 = add i64 %5, 80 %360 = inttoptr i64 %359 to i64* %361 = load i64, i64* %360, align 8 %362 = call i64 @FUNC(i64 %361, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_17, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) br label LBL_59 LBL_59: %363 = call i64 @FUNC(i64 %6, i64 5) %364 = trunc i64 %363 to i32 %365 = add i64 %5, 68 %366 = inttoptr i64 %365 to i32* store i32 %364, i32* %366, align 4 %.pre = add i64 %5, 4 %.pre25 = inttoptr i64 %.pre to i32* %.pre27 = add i64 %5, 8 %.pre29 = inttoptr i64 %.pre27 to i32* %.pre31 = add i64 %5, 28 %.pre33 = inttoptr i64 %.pre31 to i32* store i32* %.pre33, i32** %.pre-phi34.reg2mem store i32* %.pre29, i32** %.pre-phi30.reg2mem store i32* %.pre25, i32** %.pre-phi26.reg2mem store i64 %rcx.1.reload, i64* %rcx.2.reg2mem br label LBL_60 LBL_60: %rcx.2.reload = load i64, i64* %rcx.2.reg2mem %.pre-phi26.reload = load i32*, i32** %.pre-phi26.reg2mem %.pre-phi30.reload = load i32*, i32** %.pre-phi30.reg2mem %.pre-phi34.reload = load i32*, i32** %.pre-phi34.reg2mem %367 = load i32, i32* %.pre-phi26.reload, align 4 %368 = sdiv i32 %367, 1073741824 %369 = add i64 %5, 12 %370 = inttoptr i64 %369 to i32* store i32 %368, i32* %370, align 4 %371 = load i32, i32* %.pre-phi30.reload, align 4 %372 = sdiv i32 %371, 1073741824 %373 = add i64 %5, 16 %374 = inttoptr i64 %373 to i32* store i32 %372, i32* %374, align 4 %375 = load i32, i32* %370, align 4 %376 = mul i32 %372, %375 %377 = add i64 %5, 20 %378 = inttoptr i64 %377 to i32* store i32 %376, i32* %378, align 4 %379 = load i32, i32* %.pre-phi34.reload, align 4 %380 = icmp eq i32 %379, 0 br i1 %380, label LBL_64, label LBL_61 LBL_61: %381 = call i64 @FUNC(i64 %6, i64 3) %382 = add i64 %5, 48 %383 = inttoptr i64 %382 to i32* %384 = load i32, i32* %383, align 4 %385 = icmp eq i32 %384, 0 br i1 %385, label LBL_63, label LBL_62 LBL_62: %386 = call i64 @FUNC(i64 %6, i64 2) br label LBL_63 LBL_63: %387 = call i64 @FUNC(i64 %6, i64 2) br label LBL_64 LBL_64: %388 = call i64 @FUNC(i64 %6) %389 = trunc i64 %388 to i32 %390 = icmp eq i32 %389, 0 %391 = icmp eq i1 %390, false br i1 %391, label LBL_65, label LBL_66 LBL_65: %392 = call i64 @FUNC(i64 %6, i64 8) %393 = call i64 @FUNC(i64 %6) %394 = trunc i64 %393 to i32 %395 = icmp eq i32 %394, 0 %396 = icmp eq i1 %395, false br i1 %396, label LBL_65, label LBL_66 LBL_66: %397 = add i64 %5, 64 %398 = inttoptr i64 %397 to i32* %399 = load i32, i32* %398, align 4 %400 = icmp eq i32 %399, 0 br i1 %400, label LBL_71, label LBL_67 LBL_67: %401 = call i64 @FUNC(i64 %6) %402 = trunc i64 %401 to i32 %403 = icmp eq i32 %402, 1 br i1 %403, label LBL_69, label LBL_68 LBL_68: %404 = add i64 %5, 80 %405 = inttoptr i64 %404 to i64* %406 = load i64, i64* %405, align 8 %407 = call i64 @FUNC(i64 %406, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_18, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_69: %408 = call i64 @FUNC(i64 %5) %409 = call i64 @FUNC(i64 %6) %410 = trunc i64 %409 to i32 %411 = icmp eq i32 %410, 1 br i1 %411, label LBL_71, label LBL_70 LBL_70: %412 = add i64 %5, 80 %413 = inttoptr i64 %412 to i64* %414 = load i64, i64* %413, align 8 %415 = call i64 @FUNC(i64 %414, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_19, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_83 LBL_71: %416 = add i64 %5, 72 %417 = inttoptr i64 %416 to i32* store i32 1, i32* %417, align 4 %418 = add i64 %5, 56 %419 = inttoptr i64 %418 to i32* %420 = load i32, i32* %419, align 4 %421 = icmp eq i32 %420, 0 %422 = add i64 %5, 136 %423 = inttoptr i64 %422 to i64* br i1 %421, label LBL_73, label LBL_72 LBL_72: store i64 ptrtoint (i64* @gv_20 to i64), i64* %423, align 8 %424 = add i64 %5, 128 %425 = inttoptr i64 %424 to i64* store i64 ptrtoint (i64* @gv_20 to i64), i64* %425, align 8 br label LBL_74 LBL_73: store i64 ptrtoint (i64* @gv_21 to i64), i64* %423, align 8 %426 = add i64 %5, 128 %427 = inttoptr i64 %426 to i64* store i64 ptrtoint (i64* @gv_21 to i64), i64* %427, align 8 br label LBL_74 LBL_74: %428 = call i64 @FUNC(i64 %5) %429 = add i64 %5, 24 %430 = inttoptr i64 %429 to i32* %431 = load i32, i32* %430, align 4 %432 = icmp eq i32 %431, 0 %433 = icmp eq i1 %432, false store i64 0, i64* %rax.0.reg2mem br i1 %433, label LBL_83, label LBL_75 LBL_75: %434 = add i64 %5, 144 %435 = inttoptr i64 %434 to i32* %436 = load i32, i32* %435, align 4 %437 = icmp eq i32 %436, 0 %438 = icmp eq i1 %437, false store i64 0, i64* %rax.0.reg2mem br i1 %438, label LBL_83, label LBL_76 LBL_76: %439 = add i64 %5, 80 %440 = inttoptr i64 %439 to i64* store i32 0, i32* %storemerge316.reg2mem br label LBL_77 LBL_77: %storemerge316.reload = load i32, i32* %storemerge316.reg2mem %441 = call i64 @FUNC(i64 %6) %442 = load i64, i64* %440, align 8 %443 = and i64 %441, 4294967295 %444 = call i64 @FUNC(i64 %442, i64 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_22, i64 0, i64 0), i64 %443, i64 %2, i64 %1) %445 = add nuw nsw i32 %storemerge316.reload, 1 %exitcond24 = icmp eq i32 %445, 85 store i32 %445, i32* %storemerge316.reg2mem br i1 %exitcond24, label LBL_78, label LBL_77 LBL_78: %446 = load i64, i64* %440, align 8 %447 = call i64 @FUNC(i64 %446, i64 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_23, i64 0, i64 0), i64 %443, i64 %2, i64 %1) store i32 0, i32* %storemerge115.reg2mem br label LBL_81 LBL_79: %storemerge214.reload = load i32, i32* %storemerge214.reg2mem %448 = call i64 @FUNC(i64 %6, i64 8) %449 = call i64 @FUNC(i64 %6, i64 8) %450 = mul i64 %449, 256 %451 = or i64 %450, %448 %452 = load i64, i64* %440, align 8 %453 = and i64 %451, 4294967295 %454 = call i64 @FUNC(i64 %452, i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_24, i64 0, i64 0), i64 %453, i64 %2, i64 %1) %455 = add nuw nsw i32 %storemerge214.reload, 1 %exitcond22 = icmp eq i32 %455, 3 store i32 %455, i32* %storemerge214.reg2mem br i1 %exitcond22, label LBL_80, label LBL_79 LBL_80: %456 = load i64, i64* %440, align 8 %457 = call i64 @FUNC(i64 %456, i64 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_23, i64 0, i64 0), i64 %453, i64 %2, i64 %1) %458 = add nuw nsw i32 %storemerge115.reload, 1 %exitcond23 = icmp eq i32 %458, 13 store i32 %458, i32* %storemerge115.reg2mem store i32 0, i32* %storemerge13.reg2mem br i1 %exitcond23, label LBL_82, label LBL_81 LBL_81: %storemerge115.reload = load i32, i32* %storemerge115.reg2mem store i32 0, i32* %storemerge214.reg2mem br label LBL_79 LBL_82: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %459 = call i64 @FUNC(i64 %6) %460 = load i64, i64* %440, align 8 %461 = and i64 %459, 4294967295 %462 = call i64 @FUNC(i64 %460, i64 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_22, i64 0, i64 0), i64 %461, i64 %2, i64 %1) %463 = add nuw nsw i32 %storemerge13.reload, 1 %exitcond = icmp eq i32 %463, 50 store i32 %463, i32* %storemerge13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_83, label LBL_82 LBL_83: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %440, { 3, 2, 1, 0, 4 } uselistorder i64* %423, { 1, 0 } uselistorder i32 %372, { 1, 0 } uselistorder i64 %277, { 2, 1, 0 } uselistorder i32* %272, { 1, 0, 2 } uselistorder i64 %260, { 1, 0 } uselistorder i64 %251, { 1, 0 } uselistorder i64 %229, { 1, 0, 2 } uselistorder i32 %227, { 1, 0, 2 } uselistorder i32 %223, { 1, 0, 2 } uselistorder i64* %217, { 2, 0, 1, 3, 4 } uselistorder i64* %129, { 2, 1, 0, 3 } uselistorder i64 %117, { 1, 0 } uselistorder i64 %113, { 1, 0 } uselistorder i32* %61, { 1, 0 } uselistorder i32 %29, { 1, 0 } uselistorder i32 %28, { 1, 2, 0 } uselistorder i32 %26, { 0, 2, 1 } uselistorder i64 %6, { 13, 14, 15, 16, 11, 12, 18, 17, 0, 8, 10, 9, 46, 44, 45, 43, 42, 41, 39, 40, 33, 34, 35, 36, 37, 38, 47, 48, 49, 50, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 51, 1, 2, 3, 4, 5, 6, 7, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62 } uselistorder i64 %5, { 45, 47, 46, 48, 49, 44, 51, 50, 52, 41, 42, 43, 53, 40, 54, 55, 56, 1, 2, 3, 57, 37, 36, 38, 39, 30, 32, 31, 33, 34, 35, 28, 29, 0, 58, 4, 59, 60, 27, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 61, 62, 63, 64, 65, 66 } uselistorder i64 %4, { 0, 2, 3, 4, 1, 5, 6, 7, 8 } uselistorder i64 %2, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 2, 1, 10, 9, 8, 7, 0, 6, 5, 4, 3 } uselistorder i64 %1, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 2, 1, 10, 9, 8, 7, 0, 6, 5, 4, 3 } uselistorder i32* %storemerge618.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.017.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi38.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi34.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi30.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi26.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge316.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge214.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 14, 13, 12, 4, 5, 11, 10, 6, 9, 8, 7 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_22, i64 0, i64 0), { 1, 0 } uselistorder i32 4, { 0, 2, 1 } uselistorder i64 (i64, i64)* @skip_bits, { 5, 4, 3, 2, 8, 7, 6, 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 5, 7, 6, 0 } uselistorder i64 64, { 1, 0, 2 } uselistorder i64 48, { 2, 1, 0, 3 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @av_dlog, { 2, 1, 0 } uselistorder i64 12, { 4, 0, 1, 2, 3, 5 } uselistorder i64 4, { 0, 3, 4, 5, 1, 2, 6, 7 } uselistorder i1 false, { 6, 7, 8, 0, 2, 3, 1, 4, 5, 9, 10, 11, 12, 13 } uselistorder i64 3, { 0, 6, 1, 2, 3, 4, 5 } uselistorder i64 (i64)* @skip_bits1, { 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 2, 0, 1, 3, 19, 20, 21, 22, 23, 4, 24, 25, 7, 8, 9, 10, 11, 12, 13, 14, 5, 15, 16, 17, 6, 18, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 } uselistorder i64 (i64)* @get_bits1, { 23, 22, 21, 20, 19, 0, 28, 27, 26, 25, 24, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 14, 12, 13, 10, 11, 9, 8, 17, 16, 15, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 80, { 5, 6, 7, 0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14 } uselistorder i32 32, { 1, 0 } uselistorder i64 8, { 3, 4, 5, 2, 10, 11, 12, 13, 14, 15, 0, 1, 6, 7, 16, 17, 8, 9 } uselistorder i32 256, { 1, 0 } uselistorder i32 24, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 8, 15, 14, 13, 12, 11, 10, 9, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_83, { 0, 2, 1, 7, 8, 6, 3, 4, 9, 10, 5, 11, 12, 13 } uselistorder label LBL_82, { 1, 0 } uselistorder label LBL_79, { 1, 0 } uselistorder label LBL_65, { 1, 0 } uselistorder label LBL_64, { 1, 0 } uselistorder label LBL_48, { 1, 2, 0 } uselistorder label LBL_20, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
memory_region_transaction_commit_3435
memory_region_transaction_commit
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %3 = call i64 @FUNC() %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %7 = load i32, i32* @gv_4, align 4 %8 = add i32 %7, -1 store i32 %8, i32* @gv_4, align 4 %9 = zext i32 %8 to i64 %10 = icmp eq i32 %8, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_12, label LBL_5 LBL_5: %12 = load i32, i32* @gv_5, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_9, label LBL_6 LBL_6: %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0)) store i64 ptrtoint (i64* @gv_9 to i64), i64* %storemerge3.reg2mem br label LBL_7 LBL_7: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %15 = call i64 @FUNC(i64 %storemerge3.reload) %16 = inttoptr i64 %storemerge3.reload to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %storemerge3.reg2mem br i1 %19, label LBL_7, label LBL_8 LBL_8: %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0)) br label LBL_11 LBL_9: %21 = load i32, i32* @gv_11, align 4 %22 = icmp eq i32 %21, 0 store i64 ptrtoint (i64* @gv_9 to i64), i64* %storemerge12.reg2mem br i1 %22, label LBL_11, label LBL_10 LBL_10: %storemerge12.reload = load i64, i64* %storemerge12.reg2mem %23 = call i64 @FUNC(i64 %storemerge12.reload) %24 = inttoptr i64 %storemerge12.reload to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 %25, i64* %storemerge12.reg2mem br i1 %27, label LBL_10, label LBL_11 LBL_11: %28 = call i64 @FUNC() store i64 %28, 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 %storemerge12.reload, { 1, 0 } uselistorder i64 %storemerge3.reload, { 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 } uselistorder i32* @gv_4, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0, 6 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
0
BinRealVul
drop_privileges_8628
drop_privileges
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %0 = inttoptr i64 %arg1 to i8* %1 = call %passwd* @getpwnam(i8* %0) %2 = icmp eq %passwd* %1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_1, i64 0, i64 0), i8* %0) call void @exit(i32 1) unreachable LBL_2: %6 = call i32 @getuid() %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %rax.0.in.reg2mem br i1 %8, label LBL_9, label LBL_3 LBL_3: %9 = ptrtoint %passwd* %1 to i64 %10 = add i64 %9, 20 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = call i32 @setgid(i32 %12) %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %16 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_2 to i64*), i32 1, i32 40, %_IO_FILE* %15) call void @exit(i32 1) unreachable LBL_5: %17 = add i64 %9, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i32 @setuid(i32 %19) %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %23 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_3 to i64*), i32 1, i32 39, %_IO_FILE* %22) call void @exit(i32 1) unreachable LBL_7: %24 = call i32 @setuid(i32 0) %25 = icmp eq i32 %24, -1 store i32 -1, i32* %rax.0.in.reg2mem br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %27 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_4 to i64*), i32 1, i32 26, %_IO_FILE* %26) call void @exit(i32 1) unreachable LBL_9: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = sext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder %passwd* %1, { 1, 0 } uselistorder i32 (i32)* @setuid, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder void (i32)* @exit, { 3, 2, 1, 0 } }
0
BinRealVul
opfxrstor_9985
opfxrstor
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg3 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = bitcast i64* %arg2 to i8* store i8 15, i8* %12, align 1 %13 = add i64 %11, 1 %14 = inttoptr i64 %13 to i8* store i8 -82, i8* %14, align 1 %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %11, 2 %19 = trunc i32 %17 to i8 %20 = or i8 %19, 8 %21 = inttoptr i64 %18 to i8* store i8 %20, i8* %21, align 1 store i64 3, 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, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
0
BinRealVul
modify_exif_orientation_tag_if_it_exists_7044
modify_exif_orientation_tag_if_it_exists
define i64 @FUNC(i64* %arg1, i64 %arg2, i16 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = zext i16 %arg3 to i64 %3 = call i64 @FUNC(i64 %0, i32 %1, i64 274, i64 %2) ret i64 %3 }
0
BinRealVul
ext4_fiemap_18399
ext4_fiemap
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge5.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: store i32 1, i32* %sv_0, align 4 %6 = ptrtoint i32* %arg2 to i64 %7 = call i64 @FUNC(i64 %2, i64 %6, i32* nonnull %sv_0) %8 = load i32, i32* %sv_0, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %7, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %11 = trunc i64 %1 to i32 %12 = urem i32 %11, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_6, label LBL_4 LBL_4: %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = and i64 %14, 4294967295 store i64 %17, i64* %rax.0.reg2mem br label LBL_13 LBL_6: %18 = call i64 @FUNC(i64 %2, i64 1) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false %22 = ptrtoint i32* %arg2 to i64 br i1 %21, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %2, i64 %22, i64 %arg3, i64 %arg4, i64 4198858) store i64 %23, i64* %rax.0.reg2mem br label LBL_13 LBL_8: %24 = call i64 @FUNC(i64 %22, i64 4) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 store i64 1, i64* %rax.0.reg2mem br i1 %26, label LBL_9, label LBL_13 LBL_9: %27 = and i32 %11, 2 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_11, label LBL_10 LBL_10: %29 = call i64 @FUNC(i64 %2, i64 %22) store i64 %29, i64* %storemerge5.in.reg2mem br label LBL_12 LBL_11: %30 = urem i64 %22, 64 %storemerge = lshr i64 %arg3, %30 %31 = add i64 %arg3, -1 %32 = add i64 %31, %arg4 %rdx.0 = lshr i64 %32, %30 %33 = trunc i64 %rdx.0 to i32 %34 = icmp ult i64 %rdx.0, 4294967295 %spec.select = select i1 %34, i32 %33, i32 -2 %35 = trunc i64 %storemerge to i32 %36 = sub i32 1, %35 %37 = add i32 %36, %spec.select %38 = call i64 @FUNC(i64 %2, i32 %35, i32 %37, i64 %22) store i64 %38, i64* %storemerge5.in.reg2mem br label LBL_12 LBL_12: %storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem %39 = and i64 %storemerge5.in.reload, 4294967295 store i64 %39, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %35, { 1, 0 } uselistorder i64 %rdx.0, { 1, 0 } uselistorder i64 %22, { 2, 0, 1, 4, 3 } uselistorder i32 %11, { 1, 0 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i64 %2, { 4, 3, 2, 5, 1, 0, 6 } uselistorder i64* %storemerge5.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 } uselistorder i64 1, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_13, { 1, 0, 2, 3, 4 } }
1
BinRealVul
mg_coap_compose_18349
mg_coap_compose
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.29.reg2mem = alloca i64 %sv_1.010.reg2mem = alloca i32 %sv_2.013.in.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %sv_5 = alloca i32, align 4 %sv_6 = alloca i32, align 4 %sv_7 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_7) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %3, 4294967295 store i64 %6, i64* %storemerge.reg2mem br label LBL_11 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = trunc i64 %1 to i8 %9 = ptrtoint i64* %sv_7 to i64 %10 = load i64, i64* %sv_7, align 8 %11 = call i64 @FUNC(i64 %7, i64 0, i64 %10) %12 = add i64 %7, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %14, %9 %16 = mul i8 %8, 16 %17 = add i64 %2, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = trunc i64 %19 to i8 %21 = or i8 %16, %20 %22 = or i8 %21, 64 %23 = inttoptr i64 %15 to i8* store i8 %22, i8* %23, align 1 %24 = add i64 %15, 1 %25 = add i64 %2, 1 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = mul i8 %27, 32 %29 = add i64 %2, 2 %30 = inttoptr i64 %29 to i8* %31 = load i8, i8* %30, align 1 %32 = or i8 %28, %31 %33 = inttoptr i64 %24 to i8* store i8 %32, i8* %33, align 1 %34 = add i64 %15, 2 %35 = add i64 %2, 24 %36 = inttoptr i64 %35 to i16* %37 = load i16, i16* %36, align 2 %38 = zext i16 %37 to i64 %39 = call i64 @FUNC(i64 %34, i64 %38) %40 = load i64, i64* %18, align 8 %41 = icmp eq i64 %40, 0 store i64 %39, i64* %sv_0.0.reg2mem br i1 %41, label LBL_4, label LBL_3 LBL_3: %42 = add i64 %2, 16 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = inttoptr i64 %39 to i64* %46 = inttoptr i64 %44 to i64* %47 = trunc i64 %40 to i32 %48 = call i64* @memcpy(i64* %45, i64* %46, i32 %47) %49 = load i64, i64* %18, align 8 %50 = add i64 %49, %39 store i64 %50, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %51 = add i64 %2, 32 %sv_2.0.in.in6 = inttoptr i64 %51 to i64* %sv_2.0.in7 = load i64, i64* %sv_2.0.in.in6, align 8 %52 = icmp eq i64 %sv_2.0.in7, 0 %53 = icmp eq i1 %52, false store i64 %sv_0.0.reload, i64* %sv_0.2.lcssa.reg2mem br i1 %53, label LBL_5, label LBL_9 LBL_5: %54 = bitcast i32* %sv_4 to i16* %55 = bitcast i32* %sv_6 to i8* %56 = bitcast i32* %sv_3 to i16* %57 = bitcast i32* %sv_5 to i8* store i64 %sv_2.0.in7, i64* %sv_2.013.in.reg2mem store i32 0, i32* %sv_1.010.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.29.reg2mem br label LBL_6 LBL_6: %sv_0.29.reload = load i64, i64* %sv_0.29.reg2mem %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem %sv_2.013.in.reload = load i64, i64* %sv_2.013.in.reg2mem %sv_2.013 = inttoptr i64 %sv_2.013.in.reload to i32* store i32 0, i32* %sv_6, align 4 store i32 0, i32* %sv_5, align 4 store i32 0, i32* %sv_4, align 4 store i32 0, i32* %sv_3, align 4 %58 = load i32, i32* %sv_2.013, align 4 %59 = sub i32 %58, %sv_1.010.reload %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60, i8* nonnull %55, i16* nonnull %54) %62 = add i64 %sv_2.013.in.reload, 8 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = and i64 %64, 4294967295 %66 = call i64 @FUNC(i64 %65, i8* nonnull %57, i16* nonnull %56) %67 = load i32, i32* %sv_6, align 4 %68 = mul i32 %67, 16 %69 = load i32, i32* %sv_5, align 4 %70 = or i32 %68, %69 %71 = trunc i32 %70 to i8 %72 = inttoptr i64 %sv_0.29.reload to i8* store i8 %71, i8* %72, align 1 %73 = add i64 %sv_0.29.reload, 1 %74 = load i32, i32* %sv_4, align 4 %75 = urem i32 %74, 65536 %76 = zext i32 %75 to i64 %77 = call i64 @FUNC(i64 %73, i64 %76, i64 %61) %78 = load i32, i32* %sv_3, align 4 %79 = urem i32 %78, 65536 %80 = zext i32 %79 to i64 %81 = call i64 @FUNC(i64 %77, i64 %80, i64 %66) %82 = load i64, i64* %63, align 8 %83 = icmp eq i64 %82, 0 store i64 %81, i64* %sv_0.1.reg2mem br i1 %83, label LBL_8, label LBL_7 LBL_7: %84 = add i64 %sv_2.013.in.reload, 16 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = inttoptr i64 %81 to i64* %88 = inttoptr i64 %86 to i64* %89 = trunc i64 %82 to i32 %90 = call i64* @memcpy(i64* %87, i64* %88, i32 %89) %91 = load i64, i64* %63, align 8 %92 = add i64 %91, %81 store i64 %92, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %93 = load i32, i32* %sv_2.013, align 4 %94 = add i64 %sv_2.013.in.reload, 24 %sv_2.0.in.in = inttoptr i64 %94 to i64* %sv_2.0.in = load i64, i64* %sv_2.0.in.in, align 8 %95 = icmp eq i64 %sv_2.0.in, 0 %96 = icmp eq i1 %95, false store i64 %sv_2.0.in, i64* %sv_2.013.in.reg2mem store i32 %93, i32* %sv_1.010.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.29.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.2.lcssa.reg2mem br i1 %96, label LBL_6, label LBL_9 LBL_9: %97 = add i64 %2, 40 %98 = inttoptr i64 %97 to i64* %99 = load i64, i64* %98, align 8 %100 = icmp eq i64 %99, 0 store i64 0, i64* %storemerge.reg2mem br i1 %100, label LBL_11, label LBL_10 LBL_10: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %101 = inttoptr i64 %sv_0.2.lcssa.reload to i8* store i8 -1, i8* %101, align 1 %102 = add i64 %sv_0.2.lcssa.reload, 1 %103 = load i64, i64* %98, align 8 %104 = add i64 %2, 48 %105 = inttoptr i64 %104 to i64* %106 = load i64, i64* %105, align 8 %107 = inttoptr i64 %102 to i64* %108 = inttoptr i64 %106 to i64* %109 = trunc i64 %103 to i32 %110 = call i64* @memcpy(i64* %107, i64* %108, i32 %109) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %81, { 1, 2, 0 } uselistorder i32* %sv_2.013, { 1, 0 } uselistorder i64 %sv_2.013.in.reload, { 1, 2, 3, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %39, { 1, 2, 0 } uselistorder i64 %15, { 0, 2, 1 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %sv_7, { 1, 2, 0 } uselistorder i32* %sv_6, { 1, 0, 2 } uselistorder i32* %sv_5, { 1, 0, 2 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64 %2, { 0, 1, 2, 3, 4, 6, 5, 7, 8 } uselistorder i64* %sv_2.013.in.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.29.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @coap_add_opt_info, { 1, 0 } uselistorder i64 (i64, i8*, i16*)* @coap_split_opt, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 2, 0 } uselistorder i64 2, { 0, 2, 1 } uselistorder i64 1, { 2, 1, 3, 4, 5, 0, 6 } uselistorder i64 4294967295, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0, 5 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
put_chars_11846
put_chars
define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i32 %arg3) ret i64 %1 }
1
BinRealVul
helper_rdhwr_synci_step_2573
helper_rdhwr_synci_step
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0, i64 1, i64 %1) ret i64 %0 uselistorder i64 %0, { 1, 0 } }
0
BinRealVul
tight_detect_smooth_image24_4597
tight_detect_smooth_image24
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.114.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.015.reg2mem = alloca i32 %indvars.iv49.reg2mem = alloca i64 %sv_1.226.reg2mem = alloca i32 %sv_2.027.reg2mem = alloca i32 %sv_3.029.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_1.122.reg2mem = alloca i32 %storemerge323.reg2mem = alloca i32 %storemerge420.reg2mem = alloca i32 %indvars.iv39.reg2mem = alloca i64 %indvars.iv36.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 1024) %5 = trunc i64 %arg3 to i32 %6 = icmp sgt i32 %5, 0 %7 = trunc i64 %arg2 to i32 %8 = icmp sgt i32 %7, 0 %or.cond25 = icmp eq i1 %8, %6 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond25, label LBL_1, label LBL_17 LBL_1: %9 = ptrtoint i64* %sv_5 to i64 %10 = add i32 %7, -5 %11 = add i64 %9, -1084 %12 = add i64 %9, -1072 %13 = icmp sgt i32 %7, %5 store i32 0, i32* %sv_3.029.reg2mem store i32 0, i32* %sv_2.027.reg2mem store i32 0, i32* %sv_1.226.reg2mem br label LBL_9 LBL_2: %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem %14 = trunc i64 %indvars.iv36.reload to i32 %15 = add i32 %60, %14 %16 = zext i32 %15 to i64 %17 = add i64 %16, %0 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = mul i64 %indvars.iv36.reload, 4 %22 = add i64 %21, %11 %23 = inttoptr i64 %22 to i32* store i32 %20, i32* %23, align 4 %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1 %exitcond38 = icmp eq i64 %indvars.iv.next37, 3 store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem store i32 1, i32* %storemerge420.reg2mem br i1 %exitcond38, label LBL_5, label LBL_2 LBL_3: %indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem %24 = trunc i64 %indvars.iv39.reload to i32 %25 = add i32 %49, %24 %26 = zext i32 %25 to i64 %27 = add i64 %26, %0 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i32 %31 = mul i64 %indvars.iv39.reload, 4 %32 = add i64 %31, %11 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = sub i32 %30, %34 %36 = sub i32 0, %35 %37 = icmp slt i32 %36, 0 %38 = icmp eq i1 %37, false %39 = select i1 %38, i32 %36, i32 %35 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 4 %42 = add i64 %41, %12 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i32 %44, 1 store i32 %45, i32* %43, align 4 store i32 %30, i32* %33, align 4 %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1 %exitcond41 = icmp eq i64 %indvars.iv.next40, 3 store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem br i1 %exitcond41, label LBL_4, label LBL_3 LBL_4: %46 = add nuw nsw i32 %storemerge420.reload, 1 %exitcond42 = icmp eq i32 %46, 6 store i32 %46, i32* %storemerge420.reg2mem br i1 %exitcond42, label LBL_6, label LBL_5 LBL_5: %storemerge420.reload = load i32, i32* %storemerge420.reg2mem %47 = add i32 %storemerge420.reload, %58 %48 = mul i32 %47, 4 %49 = add i32 %48, %3 store i64 0, i64* %indvars.iv39.reg2mem br label LBL_3 LBL_6: %50 = add i32 %sv_1.122.reload, 5 %51 = add i32 %storemerge323.reload, 1 %52 = sext i32 %51 to i64 %53 = icmp slt i64 %52, %68 %54 = icmp slt i64 %52, %66 %or.cond10 = icmp eq i1 %53, %54 store i32 %51, i32* %storemerge323.reg2mem store i32 %50, i32* %sv_1.122.reg2mem store i32 %50, i32* %sv_1.1.lcssa.reg2mem br i1 %or.cond10, label LBL_7, label LBL_8 LBL_7: %sv_1.122.reload = load i32, i32* %sv_1.122.reg2mem %storemerge323.reload = load i32, i32* %storemerge323.reg2mem %55 = add i32 %storemerge323.reload, %sv_2.027.reload %56 = mul i32 %55, %7 %57 = add i32 %storemerge323.reload, %sv_3.029.reload %58 = add i32 %57, %56 %59 = mul i32 %58, 4 %60 = add i32 %59, %3 store i64 0, i64* %indvars.iv36.reg2mem br label LBL_2 LBL_8: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %61 = add i32 %sv_3.029.reload, %5 %62 = add i32 %sv_2.027.reload, %7 %sv_2.0.be = select i1 %13, i32 0, i32 %62 %sv_3.0.be = select i1 %13, i32 %61, i32 0 %63 = icmp slt i32 %sv_2.0.be, %5 %64 = icmp slt i32 %sv_3.0.be, %7 %or.cond = icmp eq i1 %64, %63 store i32 %sv_3.0.be, i32* %sv_3.029.reg2mem store i32 %sv_2.0.be, i32* %sv_2.027.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.226.reg2mem br i1 %or.cond, label LBL_9, label LBL_10 LBL_9: %sv_1.226.reload = load i32, i32* %sv_1.226.reg2mem %sv_2.027.reload = load i32, i32* %sv_2.027.reg2mem %sv_3.029.reload = load i32, i32* %sv_3.029.reg2mem %65 = sub i32 %10, %sv_3.029.reload %66 = zext i32 %65 to i64 %67 = sub i32 %5, %sv_2.027.reload %68 = zext i32 %67 to i64 %69 = icmp ne i32 %67, 0 %70 = icmp ne i32 %65, 0 %or.cond1021 = icmp eq i1 %70, %69 store i32 0, i32* %storemerge323.reg2mem store i32 %sv_1.226.reload, i32* %sv_1.122.reg2mem store i32 %sv_1.226.reload, i32* %sv_1.1.lcssa.reg2mem br i1 %or.cond1021, label LBL_7, label LBL_8 LBL_10: %71 = icmp eq i32 %sv_1.1.lcssa.reload, 0 %72 = icmp eq i1 %71, false store i64 0, i64* %rax.0.reg2mem br i1 %72, label LBL_11, label LBL_17 LBL_11: %73 = load i64, i64* %sv_4, align 8 %74 = trunc i64 %73 to i32 %.lhs.trunc = mul i32 %74, 33 %75 = udiv i32 %.lhs.trunc, %sv_1.1.lcssa.reload %76 = icmp ult i32 %75, 95 store i64 1, i64* %indvars.iv49.reg2mem store i32 0, i32* %sv_0.015.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %76, label LBL_12, label LBL_17 LBL_12: %indvars.iv49.reload = load i64, i64* %indvars.iv49.reg2mem %77 = mul i64 %indvars.iv49.reload, 4 %78 = add i64 %77, %12 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = icmp eq i32 %80, 0 store i64 0, i64* %rax.0.reg2mem br i1 %81, label LBL_17, label LBL_13 LBL_13: %82 = mul i64 %indvars.iv49.reload, 4 %83 = add i64 %82, -4 %84 = add i64 %83, %12 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = mul i32 %86, 2 %88 = icmp ugt i32 %80, %87 store i64 0, i64* %rax.0.reg2mem br i1 %88, label LBL_17, label LBL_14 LBL_14: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %89 = trunc i64 %indvars.iv49.reload to i32 %90 = mul i32 %89, %89 %91 = mul i32 %90, %80 %92 = add i32 %91, %sv_0.015.reload %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49.reload, 1 %93 = icmp ult i64 %indvars.iv.next50, 8 store i64 %indvars.iv.next50, i64* %indvars.iv49.reg2mem store i32 %92, i32* %sv_0.015.reg2mem store i64 8, i64* %indvars.iv.reg2mem store i32 %92, i32* %sv_0.114.reg2mem br i1 %93, label LBL_12, label LBL_15 LBL_15: %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %94 = mul i64 %indvars.iv.reload, 4 %95 = add i64 %94, %12 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = trunc i64 %indvars.iv.reload to i32 %99 = mul i32 %98, %98 %100 = mul i32 %99, %97 %101 = add i32 %100, %sv_0.114.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %101, i32* %sv_0.114.reg2mem br i1 %exitcond, label LBL_16, label LBL_15 LBL_16: %102 = mul i32 %sv_1.1.lcssa.reload, 3 %103 = sub i32 %102, %74 %104 = udiv i32 %101, %103 %105 = zext i32 %104 to i64 store i64 %105, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %101, { 1, 0 } uselistorder i32 %80, { 2, 0, 1 } uselistorder i64 %indvars.iv49.reload, { 0, 1, 3, 2 } uselistorder i32 %sv_3.029.reload, { 2, 0, 1 } uselistorder i32 %sv_1.226.reload, { 1, 0 } uselistorder i32 %sv_1.1.lcssa.reload, { 1, 2, 3, 0 } uselistorder i32 %storemerge323.reload, { 2, 1, 0 } uselistorder i32 %storemerge420.reload, { 1, 0 } uselistorder i64 %indvars.iv39.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv36.reload, { 0, 2, 1 } uselistorder i32 %7, { 5, 0, 1, 4, 3, 2 } uselistorder i32 %5, { 3, 4, 0, 2, 1 } uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64* %indvars.iv36.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv39.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge420.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge323.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.122.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv49.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.114.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 4, 5, 3 } uselistorder i32 0, { 12, 0, 15, 4, 7, 8, 5, 6, 13, 14, 1, 2, 3, 9, 10, 11 } uselistorder label LBL_17, { 5, 1, 0, 3, 4, 2 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
kvm_arch_vcpu_ioctl_set_sregs_7595
kvm_arch_vcpu_ioctl_set_sregs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %3, 32 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %4, 8 %9 = inttoptr i64 %8 to i64* store i64 %7, i64* %9, align 8 %10 = call i64 @FUNC(i64 %4) %sext = mul i64 %10, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = add i64 %3, 40 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %11, %14 %16 = add i64 %4, 16 %17 = inttoptr i64 %16 to i64* store i64 %14, i64* %17, align 8 %18 = add i64 %4, 48 %19 = call i64 @FUNC(i64 0, i64 %18) %20 = add i64 %3, 48 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %4, i64 %22) %24 = add i64 %4, 32 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add i64 %3, 56 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %26, %29 %31 = icmp eq i1 %15, %30 %32 = add i64 %3, 64 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %4, i64 %34) %36 = call i64 @FUNC(i64 %4) %sext1 = mul i64 %36, 4294967296 %37 = ashr exact i64 %sext1, 32 %38 = add i64 %3, 72 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %37, %40 store i64 %40, i64* %arg1, align 8 %42 = call i64 @FUNC(i64 %4) %sext2 = mul i64 %42, 4294967296 %43 = ashr exact i64 %sext2, 32 %44 = add i64 %3, 80 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %43, %46 %48 = icmp eq i1 %41, %47 %49 = icmp eq i1 %31, %48 %50 = icmp ne i1 %49, true %51 = zext i1 %50 to i32 %52 = add i64 %4, 64 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54) %56 = call i64 @FUNC(i64 %4) %57 = trunc i64 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false store i32 %51, i32* %sv_0.0.reg2mem br i1 %59, label LBL_3, label LBL_1 LBL_1: %60 = call i64 @FUNC(i64 %4) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 store i32 %51, i32* %sv_0.0.reg2mem br i1 %62, label LBL_3, label LBL_2 LBL_2: %63 = call i64 @FUNC(i64 %4) %64 = and i64 %63, 4294967295 %65 = add i64 %4, 56 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 %68 = call i64 @FUNC(i64 %4, i64 %67, i64 %64) store i32 1, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %69 = load i64, i64* %53, align 8 %70 = and i64 %55, 4294967295 %71 = call i64 @FUNC(i64 %69, i64 %70) %72 = icmp eq i32 %sv_0.0.reload, 0 br i1 %72, label LBL_5, label LBL_4 LBL_4: %73 = call i64 @FUNC(i64 %4) br label LBL_5 LBL_5: %74 = add i64 %3, 88 %75 = call i64 @FUNC(i64 %74, i64 256) %76 = trunc i64 %75 to i32 %77 = icmp sgt i32 %76, 255 br i1 %77, label LBL_7, label LBL_6 LBL_6: %78 = and i64 %75, 4294967295 %79 = call i64 @FUNC(i64 %4, i64 %78, i64 0) %80 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %78, i64 0, i64 %78, i64 %2, i64 %1) br label LBL_7 LBL_7: %81 = add i64 %3, 96 %82 = call i64 @FUNC(i64 %4, i64 %81, i64 0) %83 = add i64 %3, 112 %84 = call i64 @FUNC(i64 %4, i64 %83, i64 1) %85 = add i64 %3, 128 %86 = call i64 @FUNC(i64 %4, i64 %85, i64 2) %87 = add i64 %3, 144 %88 = call i64 @FUNC(i64 %4, i64 %87, i64 3) %89 = add i64 %3, 160 %90 = call i64 @FUNC(i64 %4, i64 %89, i64 4) %91 = add i64 %3, 176 %92 = call i64 @FUNC(i64 %4, i64 %91, i64 5) %93 = add i64 %3, 192 %94 = call i64 @FUNC(i64 %4, i64 %93, i64 6) %95 = add i64 %3, 208 %96 = call i64 @FUNC(i64 %4, i64 %95, i64 7) %97 = call i64 @FUNC(i64 %4) %98 = call i64 @FUNC(i64 %4) %99 = trunc i64 %98 to i32 %100 = icmp eq i32 %99, 0 br i1 %100, label LBL_13, label LBL_8 LBL_8: %101 = call i64 @FUNC(i64 %4) %102 = icmp eq i64 %101, 65520 %103 = icmp eq i1 %102, false br i1 %103, label LBL_13, label LBL_9 LBL_9: %104 = inttoptr i64 %81 to i64* %105 = load i64, i64* %104, align 8 %106 = icmp eq i64 %105, 61440 %107 = icmp eq i1 %106, false br i1 %107, label LBL_13, label LBL_10 LBL_10: %108 = add i64 %3, 104 %109 = inttoptr i64 %108 to i64* %110 = load i64, i64* %109, align 8 %111 = icmp eq i64 %110, 4294901760 %112 = icmp eq i1 %111, false br i1 %112, label LBL_13, label LBL_11 LBL_11: %113 = call i64 @FUNC(i64 %4) %114 = trunc i64 %113 to i32 %115 = icmp eq i32 %114, 0 %116 = icmp eq i1 %115, false br i1 %116, label LBL_13, label LBL_12 LBL_12: %117 = add i64 %4, 40 %118 = inttoptr i64 %117 to i64* store i64 0, i64* %118, align 8 br label LBL_13 LBL_13: %119 = call i64 @FUNC(i64 0, i64 %4) ret i64 0 uselistorder i64 %78, { 0, 2, 1 } uselistorder i64 %4, { 9, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 5, 4, 1, 0, 2, 3, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 } uselistorder i64 %3, { 0, 2, 1, 4, 3, 6, 5, 8, 7, 9, 10, 11, 13, 12, 14, 15, 16 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @kvm_set_segment, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 64, { 1, 2, 0 } uselistorder i64 (i64)* @kvm_read_cr3, { 1, 0 } uselistorder i64 32, { 0, 1, 3, 2, 4 } }
1
BinRealVul
release_drive_14373
release_drive
define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %4, i64 %1) %7 = load i64, i64* %3, align 8 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
b43err_10722
b43err
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i8*, align 8 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: %21 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %22 = zext i32 %21 to i64 %23 = icmp slt i32 %21, 1 store i64 %22, i64* %rax.0.reg2mem br i1 %23, label LBL_7, label LBL_3 LBL_3: %24 = ptrtoint i64* %arg1 to i64 %25 = call i64 @FUNC(i64 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 store i64 %25, i64* %rax.0.reg2mem br i1 %27, label LBL_7, label LBL_4 LBL_4: %28 = ptrtoint i8* %arg2 to i64 %29 = bitcast i8** %sv_0 to i64* store i64 %28, i64* %29, align 8 %30 = icmp eq i64* %arg1, null store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem br i1 %30, label LBL_6, label LBL_5 LBL_5: %31 = call i64 @FUNC(i64 %24) store i64 %31, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem %32 = inttoptr i64 %storemerge.reload to i8* %33 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge.reload, i64* nonnull %29, i8* %32, i64 %arg5, i64 %arg6) store i64 %33, 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 %storemerge.reload, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
anon_vma_alloc_12045
anon_vma_alloc
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %1, i64 1) %4 = add i64 %1, 4 %5 = inttoptr i64 %4 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* store i64 %1, i64* %7, align 8 %8 = add i64 %1, 16 %9 = inttoptr i64 %8 to i64* store i64 %1, i64* %9, align 8 br label LBL_2 LBL_2: ret i64 %1 uselistorder i64 %1, { 4, 1, 0, 3, 2, 6, 5, 7 } }
1
BinRealVul
cpu_cgroup_css_alloc_9724
cpu_cgroup_css_alloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4210733, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 4294967284) 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* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
exynos4210_init_board_irqs_954
exynos4210_init_board_irqs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.2.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 320 %2 = add i64 %0, 128 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_1 LBL_1: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %3 = icmp eq i64 %indvars.iv8.reload, 14 %sv_0.0 = select i1 %3, i32 32, i32 0 %4 = icmp eq i64 %indvars.iv8.reload, 15 %sv_0.1 = select i1 %4, i32 33, i32 %sv_0.0 %5 = icmp eq i32 %sv_0.1, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = add nsw i32 %sv_0.1, -32 %7 = zext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = add i64 %8, %1 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = mul i64 %indvars.iv8.reload, 4 %13 = add i64 %12, %2 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %11 to i64 %17 = zext i32 %15 to i64 %18 = call i64 @FUNC(i64 %17, i64 %16) %19 = trunc i64 %18 to i32 %20 = add i64 %12, %0 %21 = inttoptr i64 %20 to i32* store i32 %19, i32* %21, align 4 br label LBL_4 LBL_3: %22 = mul i64 %indvars.iv8.reload, 4 %23 = add i64 %22, %0 %24 = add i64 %23, 256 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %22, %2 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %26 to i64 %31 = zext i32 %29 to i64 %32 = call i64 @FUNC(i64 %31, i64 %30) %33 = trunc i64 %32 to i32 %34 = inttoptr i64 %23 to i32* store i32 %33, i32* %34, align 4 br label LBL_4 LBL_4: %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond10 = icmp eq i64 %indvars.iv.next9, 16 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem store i64 16, i64* %indvars.iv.reg2mem br i1 %exitcond10, label LBL_5, label LBL_1 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %35 = trunc i64 %indvars.iv.reload to i32 %36 = udiv i32 %35, 8 %37 = urem i64 %indvars.iv.reload, 8 %38 = add nsw i32 %36, -8 %39 = zext i32 %38 to i64 %40 = mul i64 %39, 8 %41 = or i64 %40, %37 %42 = mul i64 %41, 4 %43 = add i64 %42, ptrtoint (i32** @gv_0 to i64) %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = icmp eq i32 %45, 0 store i64 0, i64* %rax.2.reg2mem br i1 %46, label LBL_7, label LBL_6 LBL_6: %47 = add i32 %45, -32 %48 = zext i32 %47 to i64 %49 = mul i64 %48, 4 %50 = add i64 %49, %1 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = mul i64 %indvars.iv.reload, 4 %54 = add i64 %53, %2 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = zext i32 %52 to i64 %58 = zext i32 %56 to i64 %59 = call i64 @FUNC(i64 %58, i64 %57) %60 = trunc i64 %59 to i32 %61 = add i64 %53, %0 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 store i64 %59, i64* %rax.2.reg2mem br label LBL_7 LBL_7: %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_8, label LBL_5 LBL_8: %rax.2.reload = load i64, i64* %rax.2.reg2mem ret i64 %rax.2.reload uselistorder i64 %53, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %indvars.iv8.reload, { 0, 4, 3, 1, 2 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64)* @qemu_irq_split, { 2, 1, 0 } uselistorder i32 -32, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
iothread_stop_all_16045
iothread_stop_all
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64* nonnull %sv_0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %storemerge1.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %4 = call i64 @FUNC(i64 %storemerge1.reload) store i64 %4, i64* %sv_0, align 8 %5 = call i64 @FUNC() %6 = load i64, i64* %sv_0, align 8 %7 = icmp eq i64 %6, %5 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %6) %9 = call i64 @FUNC() %10 = call i64 @FUNC(i64 %storemerge1.reload, i64 %9) %11 = load i64, i64* %sv_0, align 8 %12 = call i64 @FUNC(i64 %11) br label LBL_3 LBL_3: %13 = call i64 @FUNC(i64* nonnull %sv_0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge1.reg2mem br i1 %15, label LBL_1, label LBL_4 LBL_4: %16 = call i64 @FUNC(i64 %0, i64 4198785, i64 0) ret i64 %16 uselistorder i64* %sv_0, { 0, 2, 3, 4, 1 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64 ()* @qemu_get_aio_context, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
unix_find_socket_byinode_9389
unix_find_socket_byinode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0) store i64 0, i64* %sv_0.0.reg2mem br i1 icmp ne (i64 add (i64 shl (i64 zext (i8 ptrtoint (i64* @gv_0 to i8) to i64), i64 3), i64 ptrtoint (i64* @gv_1 to i64)), i64 0), label LBL_1, label LBL_4 LBL_1: %1 = call i64 @FUNC(i64 add (i64 shl (i64 zext (i8 ptrtoint (i64* @gv_0 to i8) to i64), i64 3), i64 ptrtoint (i64* @gv_1 to i64))) %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = inttoptr i64 %3 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, %arg1 %8 = icmp eq i1 %7, false store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 add (i64 shl (i64 zext (i8 ptrtoint (i64* @gv_0 to i8) to i64), i64 3), i64 ptrtoint (i64* @gv_1 to i64))) store i64 add (i64 shl (i64 zext (i8 ptrtoint (i64* @gv_0 to i8) to i64), i64 3), i64 ptrtoint (i64* @gv_1 to i64)), i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %10 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %sv_0.0.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 add (i64 shl (i64 zext (i8 ptrtoint (i64* @gv_0 to i8) to i64), i64 3), i64 ptrtoint (i64* @gv_1 to i64)), { 0, 2, 1, 3 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_4, { 3, 2, 1, 0 } }
0
BinRealVul
create_reference_11146
create_reference
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = inttoptr i64 %0 to i64* %4 = inttoptr i64 %arg1 to i64* %5 = call i64* @memcpy(i64* %3, i64* %4, i32 32) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = or i32 %10, 32 store i32 %11, i32* %9, align 4 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 store i64 0, i64* %3, 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 %0, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 32, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
pcan_usb_pro_send_req_4814
pcan_usb_pro_send_req
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i64 %arg4, i64 %arg5) 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 i8 %1 = load i64, i64* %0 %2 = urem i64 %1, 2 %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_6 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = icmp eq i32 %arg2, 1 %7 = icmp eq i1 %6, false %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 br i1 %7, label LBL_3, label LBL_2 LBL_2: %11 = call i64 @FUNC(i64 %10, i64 0) store i8 64, i8* %sv_1.0.reg2mem store i64 %11, i64* %sv_0.0.in.reg2mem br label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %10, i64 0) %13 = trunc i64 %arg5 to i32 %14 = inttoptr i64 %arg4 to i64* %15 = call i64* @memset(i64* %14, i32 0, i32 %13) store i8 -64, i8* %sv_1.0.reg2mem store i64 %12, i64* %sv_0.0.in.reg2mem br label LBL_4 LBL_4: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %16 = load i64, i64* %9, align 8 %17 = call i64 @FUNC(i64 %16, i32 %sv_0.0, i32 %arg2, i8 %sv_1.0.reload, i32 %arg3, i64 0) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %5, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = and i64 %17, 4294967295 %25 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i32 %arg2, i32 %arg3, i64 %24, i64 0) store i64 %24, 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 %10, { 1, 0 } uselistorder i8* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } }
0
BinRealVul
gc_attach_4882
gc_attach
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rcx.1.lcssa26.reg2mem = alloca i64 %rdx.4.lcssa27.reg2mem = alloca i64 %rsi.1.lcssa28.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %rsi.0.reg2mem = alloca i64 %rdx.3.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rcx.112.reg2mem = alloca i64 %rsi.113.reg2mem = alloca i64 %sv_0.114.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge210.reg2mem = alloca i32 %rdx.0.reg2mem = alloca i64 %indvars.iv24.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %5 = bitcast i64* %rdi to i32* %6 = trunc i64 %3 to i32 store i64 0, i64* %indvars.iv24.reg2mem br label LBL_1 LBL_1: %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem %7 = mul nuw nsw i64 %indvars.iv24.reload, 24 %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64) %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 8 %11 = icmp eq i32 %10, 0 store i64 %indvars.iv24.reload, i64* %rdx.0.reg2mem br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = add i64 %7, ptrtoint (i32** @gv_1 to i64) %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 8 %15 = icmp slt i32 %14, 0 store i64 %indvars.iv24.reload, i64* %rdx.0.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = zext i32 %14 to i64 %17 = icmp eq i32 %14, %6 store i64 %16, i64* %rdx.0.reg2mem br i1 %17, label LBL_7, label LBL_4 LBL_4: %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1 %18 = icmp ult i64 %indvars.iv.next25, 4 store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem br i1 %18, label LBL_1, label LBL_5 LBL_5: %19 = trunc i64 %indvars.iv.next25 to i32 %20 = icmp eq i32 %19, 4 %21 = icmp eq i1 %20, false store i32 4, i32* %storemerge210.reg2mem br i1 %21, label LBL_8, label LBL_6 LBL_6: %rdx.0.reload = load i64, i64* %rdx.0.reg2mem %22 = and i64 %3, 4294967295 %23 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %22, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1) store i64 %23, i64* %rax.0.reg2mem br label LBL_28 LBL_7: %24 = trunc i64 %indvars.iv24.reload to i32 store i32 %24, i32* %storemerge210.reg2mem br label LBL_8 LBL_8: %storemerge210.reload = load i32, i32* %storemerge210.reg2mem %25 = sext i32 %storemerge210.reload to i64 %26 = mul nsw i64 %25, 24 %27 = add i64 %26, ptrtoint (i32** @gv_0 to i64) %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 8 %30 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 4) store i64 1, i64* %sv_1, align 8 %31 = zext i32 %storemerge210.reload to i64 %32 = ptrtoint i64* %sv_1 to i64 %33 = ptrtoint i32* %arg1 to i64 %34 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i32 %storemerge210.reload) %35 = icmp eq i64 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64 %32, i64 %31, i64 %2, i64 %1) store i64 %37, i64* %rax.0.reg2mem br label LBL_28 LBL_10: %38 = call i64 @FUNC(i64 56, i64 0) %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 %32, i64 %31, i64 %2, i64 %1) br label LBL_27 LBL_12: %42 = add i32 %29, -1 %43 = add i64 %38, 48 %44 = call i64 @FUNC(i64 %43) %45 = inttoptr i64 %38 to i64* store i64 %34, i64* %45, align 8 %46 = load i32, i32* %5, align 8 %47 = add i64 %38, 8 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = add i64 %38, 52 %50 = call i64 @FUNC(i64 %49, i64 4199279, i64 %38) %51 = icmp sgt i32 %42, 0 store i64 4199279, i64* %rsi.1.lcssa28.reg2mem store i64 %38, i64* %rdx.4.lcssa27.reg2mem store i64 %49, i64* %rcx.1.lcssa26.reg2mem br i1 %51, label LBL_13, label LBL_21 LBL_13: %52 = add i64 %26, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8) %53 = sext i32 %42 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.114.reg2mem store i64 4199279, i64* %rsi.113.reg2mem store i64 %49, i64* %rcx.112.reg2mem br label LBL_14 LBL_14: %rcx.112.reload = load i64, i64* %rcx.112.reg2mem %rsi.113.reload = load i64, i64* %rsi.113.reg2mem %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = mul i64 %indvars.iv.reload, 4 %55 = add i64 %52, %54 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = icmp eq i32 %57, 0 store i64 %rcx.112.reload, i64* %rcx.0.reg2mem store i64 %54, i64* %rdx.3.reg2mem store i64 %rsi.113.reload, i64* %rsi.0.reg2mem store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem br i1 %58, label LBL_19, label LBL_15 LBL_15: %59 = call i64 @FUNC(i64 %38, i64 %indvars.iv.reload, i32 %57) %60 = trunc i64 %59 to i32 %61 = icmp eq i32 %60, 0 %62 = icmp eq i1 %61, false br i1 %62, label LBL_16, label LBL_18 LBL_16: %63 = trunc i64 %indvars.iv.reload to i32 %64 = add i32 %63, -1 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_17, label LBL_26 LBL_17: %67 = add i64 %38, 16 store i32 %64, i32* %.reg2mem br label LBL_23 LBL_18: %68 = zext i32 %57 to i64 %69 = add i32 %sv_0.114.reload, 1 store i64 %indvars.iv.reload, i64* %rcx.0.reg2mem store i64 %68, i64* %rdx.3.reg2mem store i64 %indvars.iv.reload, i64* %rsi.0.reg2mem store i32 %69, i32* %sv_0.0.reg2mem br label LBL_19 LBL_19: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %70 = icmp slt i64 %indvars.iv.next, %53 %71 = icmp ult i64 %indvars.iv.next, 4 %or.cond = icmp eq i1 %70, %71 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem store i64 %rsi.0.reload, i64* %rsi.113.reg2mem store i64 %rcx.0.reload, i64* %rcx.112.reg2mem br i1 %or.cond, label LBL_14, label LBL_20 LBL_20: %rdx.3.reload = load i64, i64* %rdx.3.reg2mem %72 = icmp eq i32 %sv_0.0.reload, 0 %73 = icmp eq i1 %72, false store i64 %rsi.0.reload, i64* %rsi.1.lcssa28.reg2mem store i64 %rdx.3.reload, i64* %rdx.4.lcssa27.reg2mem store i64 %rcx.0.reload, i64* %rcx.1.lcssa26.reg2mem br i1 %73, label LBL_22, label LBL_21 LBL_21: %rcx.1.lcssa26.reload = load i64, i64* %rcx.1.lcssa26.reg2mem %rdx.4.lcssa27.reload = load i64, i64* %rdx.4.lcssa27.reg2mem %rsi.1.lcssa28.reload = load i64, i64* %rsi.1.lcssa28.reg2mem %74 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 %rsi.1.lcssa28.reload, i64 %rdx.4.lcssa27.reload, i64 %rcx.1.lcssa26.reload, i64 %2, i64 %1) br label LBL_26 LBL_22: %75 = mul i64 %25, 8 %76 = add i64 %75, ptrtoint (i64* @gv_7 to i64) %77 = inttoptr i64 %76 to i64* store i64 %38, i64* %77, align 8 store i64 %25, i64* %rax.0.reg2mem br label LBL_28 LBL_23: %.reload = load i32, i32* %.reg2mem %78 = sext i32 %.reload to i64 %79 = mul i64 %78, 8 %80 = add i64 %67, %79 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 %83 = icmp eq i64 %82, 0 br i1 %83, label LBL_24, label LBL_25 LBL_24: %84 = add i32 %.reload, -1 %85 = icmp slt i32 %84, 0 %86 = icmp eq i1 %85, false store i32 %84, i32* %.reg2mem br i1 %86, label LBL_23, label LBL_26 LBL_25: %87 = call i64 @FUNC(i64 %82) br label LBL_24 LBL_26: %88 = call i64 @FUNC(i64 %38) br label LBL_27 LBL_27: %89 = call i64 @FUNC(i64 %34) store i64 %89, i64* %rax.0.reg2mem br label LBL_28 LBL_28: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload, { 1, 0 } uselistorder i64 %indvars.iv.next, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 4, 3, 5 } uselistorder i32 %sv_0.114.reload, { 1, 0 } uselistorder i64 %49, { 1, 0, 2 } uselistorder i64 %38, { 3, 2, 1, 4, 0, 5, 6, 7, 9, 8, 10 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %31, { 1, 0 } uselistorder i64 %26, { 1, 0 } uselistorder i32 %storemerge210.reload, { 1, 0, 2 } uselistorder i64 %indvars.iv.next25, { 1, 0, 2 } uselistorder i32 %14, { 1, 0, 2 } uselistorder i64 %indvars.iv24.reload, { 4, 2, 0, 1, 3 } uselistorder i64* %sv_1, { 0, 2, 3, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge210.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.113.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.112.reg2mem, { 1, 0, 2 } uselistorder i64* %rsi.1.lcssa28.reg2mem, { 0, 2, 1 } uselistorder i64* %rdx.4.lcssa27.reg2mem, { 0, 2, 1 } uselistorder i64* %rcx.1.lcssa26.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 4199279, { 1, 0, 2 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_err, { 2, 1, 0 } uselistorder [8 x i8]* @gv_3, { 1, 0 } uselistorder i1 false, { 1, 3, 0, 2, 4, 5, 6 } uselistorder i32 4, { 2, 0, 1 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 0, 2, 1 } uselistorder i64 24, { 1, 0 } uselistorder label LBL_26, { 0, 2, 1 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_23, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
aspath_put_11487
aspath_put
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.017.reg2mem = alloca i64 %sv_1.118.reg2mem = alloca i64 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_3.0.lcssa.reg2mem = alloca i64 %sv_3.09.reg2mem = alloca i64 %sv_2.010.reg2mem = alloca i32 %.lcssa.reg2mem = alloca i32 %sv_4.0.neg.lcssa.reg2mem = alloca i32 %sv_4.0.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i64 %sv_4.04.reg2mem = alloca i32 %0 = icmp eq i64* %arg2, null store i64 0, i64* %storemerge.reg2mem br i1 %0, label LBL_11, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg2 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* %storemerge.reg2mem br i1 %6, label LBL_2, label LBL_11 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg3, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = and i64 %8, 4294967295 %10 = trunc i64 %8 to i32 store i64 0, i64* %sv_1.118.reg2mem store i64 %1, i64* %sv_0.017.reg2mem br label LBL_10 LBL_3: %11 = inttoptr i64 %sv_0.017.reload to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %sv_0.017.reload, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = load i32, i32* @gv_0, align 4 %17 = icmp ugt i32 %15, %16 %18 = add i64 %sv_0.017.reload, 12 %19 = inttoptr i64 %18 to i32* %20 = add i64 %sv_0.017.reload, 16 %21 = inttoptr i64 %20 to i64* store i32 0, i32* %sv_4.04.reg2mem store i64 %sv_1.118.reload, i64* %sv_1.03.reg2mem store i64 %sv_1.118.reload, i64* %sv_1.0.lcssa.reg2mem store i32 0, i32* %sv_4.0.lcssa.reg2mem store i32 0, i32* %sv_4.0.neg.lcssa.reg2mem store i32 %15, i32* %.lcssa.reg2mem br i1 %17, label LBL_4, label LBL_6 LBL_4: %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem %sv_4.04.reload = load i32, i32* %sv_4.04.reg2mem %22 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %23 = load i32, i32* %19, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %7, i64 %24, i32 %22) %26 = load i32, i32* @gv_0, align 4 %27 = load i64, i64* %21, align 8 %28 = call i64 @FUNC(i64 %7, i64 %27, i32 %26, i32 %10) %29 = load i32, i32* @gv_0, align 4 %30 = add i32 %29, %sv_4.04.reload %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 %31, i64 %9) %33 = add i64 %32, %sv_1.03.reload %34 = load i32, i32* %14, align 4 %35 = sub i32 %34, %30 %36 = load i32, i32* @gv_0, align 4 %37 = icmp ugt i32 %35, %36 store i32 %30, i32* %sv_4.04.reg2mem store i64 %33, i64* %sv_1.03.reg2mem br i1 %37, label LBL_4, label LBL_5 LBL_5: %sv_4.0.neg.le = sub i32 0, %30 store i64 %33, i64* %sv_1.0.lcssa.reg2mem store i32 %30, i32* %sv_4.0.lcssa.reg2mem store i32 %sv_4.0.neg.le, i32* %sv_4.0.neg.lcssa.reg2mem store i32 %35, i32* %.lcssa.reg2mem br label LBL_6 LBL_6: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_4.0.neg.lcssa.reload = load i32, i32* %sv_4.0.neg.lcssa.reg2mem %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %38 = load i32, i32* %19, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %7, i64 %39, i32 %.lcssa.reload) %41 = load i32, i32* %14, align 4 %42 = sub i32 %41, %sv_4.0.lcssa.reload %43 = load i64, i64* %21, align 8 %44 = sext i32 %sv_4.0.lcssa.reload to i64 %45 = mul i64 %44, 4 %46 = add i64 %43, %45 %47 = call i64 @FUNC(i64 %7, i64 %46, i32 %42, i32 %10) %48 = icmp eq i64 %12, 0 store i32 0, i32* %sv_2.010.reg2mem store i64 %12, i64* %sv_3.09.reg2mem store i64 0, i64* %sv_3.0.lcssa.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %48, label LBL_9, label LBL_8 LBL_7: %49 = add i64 %sv_3.09.reload, 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = add i64 %sv_3.09.reload, 16 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %7, i64 %54, i32 %51, i32 %10) %56 = load i32, i32* %14, align 4 %57 = add i32 %56, %sv_4.0.neg.lcssa.reload %58 = load i32, i32* %50, align 4 %59 = add i32 %57, %58 %60 = call i64 @FUNC(i64 %7, i64 %40, i32 %59) %61 = load i32, i32* %50, align 4 %62 = add i32 %61, %sv_2.010.reload %63 = inttoptr i64 %sv_3.09.reload to i64* %64 = load i64, i64* %63, align 8 %65 = icmp eq i64 %64, 0 store i32 %62, i32* %sv_2.010.reg2mem store i64 %64, i64* %sv_3.09.reg2mem store i64 0, i64* %sv_3.0.lcssa.reg2mem store i32 %62, i32* %sv_2.0.lcssa.reg2mem br i1 %65, label LBL_9, label LBL_8 LBL_8: %sv_3.09.reload = load i64, i64* %sv_3.09.reg2mem %sv_2.010.reload = load i32, i32* %sv_2.010.reg2mem %66 = call i64 @FUNC(i64 %sv_0.017.reload, i64 %sv_3.09.reload) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false store i64 %sv_3.09.reload, i64* %sv_3.0.lcssa.reg2mem store i32 %sv_2.010.reload, i32* %sv_2.0.lcssa.reg2mem br i1 %69, label LBL_7, label LBL_9 LBL_9: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem %sv_3.0.lcssa.reload = load i64, i64* %sv_3.0.lcssa.reg2mem %70 = load i32, i32* %14, align 4 %71 = add i32 %sv_2.0.lcssa.reload, %sv_4.0.neg.lcssa.reload %72 = add i32 %71, %70 %73 = zext i32 %72 to i64 %74 = call i64 @FUNC(i64 %73, i64 %9) %75 = add i64 %74, %sv_1.0.lcssa.reload %76 = icmp eq i64 %sv_3.0.lcssa.reload, 0 store i64 %75, i64* %sv_1.118.reg2mem store i64 %sv_3.0.lcssa.reload, i64* %sv_0.017.reg2mem store i64 %75, i64* %storemerge.reg2mem br i1 %76, label LBL_11, label LBL_10 LBL_10: %sv_0.017.reload = load i64, i64* %sv_0.017.reg2mem %sv_1.118.reload = load i64, i64* %sv_1.118.reg2mem %77 = call i64 @FUNC(i64 %sv_0.017.reload, i64 %9) %78 = call i64 @FUNC(i64 %7) %79 = icmp ugt i64 %77, %78 store i64 %sv_1.118.reload, i64* %storemerge.reg2mem br i1 %79, label LBL_11, label LBL_3 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.017.reload, { 5, 4, 2, 3, 1, 0 } uselistorder i64 %sv_3.09.reload, { 0, 4, 2, 3, 1 } uselistorder i32 %sv_4.0.lcssa.reload, { 1, 0 } uselistorder i32 %sv_4.0.neg.lcssa.reload, { 1, 0 } uselistorder i32 %30, { 0, 2, 1, 3, 4 } uselistorder i32* %14, { 0, 1, 2, 4, 3 } uselistorder i32 %10, { 1, 0, 2 } uselistorder i64 %9, { 2, 0, 1 } uselistorder i64 %7, { 6, 0, 1, 2, 3, 4, 5 } uselistorder i32* %sv_4.04.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_4.0.neg.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_2.010.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_3.09.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64 (i64, i64)* @ASSEGMENT_SIZE, { 1, 0 } uselistorder i64 (i64, i64, i32, i32)* @assegment_data_put, { 2, 0, 1 } uselistorder i32* @gv_0, { 3, 2, 1, 0 } uselistorder i32 0, { 6, 0, 1, 5, 2, 3, 4, 7 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_11, { 0, 1, 3, 2 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
imcb_file_send_start_5502
imcb_file_send_start
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0, i64 %arg2) %2 = icmp eq i64* %arg1, null %3 = icmp eq i64 %1, 0 %or.cond = or i1 %2, %3 %storemerge = select i1 %or.cond, i64 0, i64 %0 ret i64 %storemerge uselistorder i64 %0, { 0, 2, 1 } }
0
BinRealVul
cli_set_mntpoint_8826
cli_set_mntpoint
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = ptrtoint i8* %arg2 to i64 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %6, i64 %2) store i64 %8, i64* %arg1, align 8 %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 2, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
TIFFReadEncodedStrip_11056
TIFFReadEncodedStrip
define i64 @FUNC(i64* %arg1, i32 %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* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_13 LBL_1: %8 = trunc i64 %2 to i32 %9 = icmp ugt i32 %8, %arg2 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %2, 4294967295 %11 = zext i32 %arg2 to i64 %12 = add i64 %3, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %10, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %16 = add i64 %3, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %3, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp ugt i32 %18, %21 %spec.select5 = select i1 %22, i32 %21, i32 %18 %23 = add i32 %21, -1 %24 = add i32 %23, %spec.select5 %25 = udiv i32 %24, %spec.select5 %26 = urem i32 %arg2, %25 %27 = mul i32 %26, %spec.select5 %28 = sub i32 %21, %27 %29 = icmp ugt i32 %28, %spec.select5 %spec.select = select i1 %29, i32 %spec.select5, i32 %28 %30 = zext i32 %spec.select to i64 %31 = call i64 @FUNC(i64 %3, i64 %30) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %33, label LBL_4, label LBL_13 LBL_4: %34 = add i64 %3, 14 %35 = inttoptr i64 %34 to i16* %36 = load i16, i16* %35, align 2 %37 = icmp eq i16 %36, 1 %38 = icmp eq i1 %37, false %39 = icmp eq i64 %arg4, -1 %or.cond = or i1 %39, %38 %40 = icmp ugt i64 %31, %arg4 %or.cond2 = or i1 %40, %or.cond br i1 %or.cond2, label LBL_11, label LBL_5 LBL_5: %41 = call i64 @FUNC(i64 %3) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_11, label LBL_6 LBL_6: %45 = add i64 %3, 24 %46 = inttoptr i64 %45 to i16* %47 = load i16, i16* %46, align 2 %48 = and i16 %47, 2 %49 = icmp eq i16 %48, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_11, label LBL_7 LBL_7: %51 = call i64 @FUNC(i64 %3, i32 %arg2, i64 %arg3, i64 %31, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) %sext = mul i64 %51, 4294967296 %52 = ashr exact i64 %sext, 32 %53 = icmp eq i64 %31, %52 store i64 4294967295, i64* %rax.0.reg2mem br i1 %53, label LBL_8, label LBL_13 LBL_8: %54 = add i64 %3, 12 %55 = inttoptr i64 %54 to i16* %56 = load i16, i16* %55, align 2 %57 = zext i16 %56 to i64 %58 = call i64 @FUNC(i64 %3, i64 %57) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 %61 = icmp eq i1 %60, false store i64 %31, i64* %rax.0.reg2mem br i1 %61, label LBL_13, label LBL_9 LBL_9: %62 = load i16, i16* %46, align 2 %63 = and i16 %62, 4 %64 = icmp eq i16 %63, 0 %65 = icmp eq i1 %64, false store i64 %31, i64* %rax.0.reg2mem br i1 %65, label LBL_13, label LBL_10 LBL_10: %66 = call i64 @FUNC(i64 %arg3, i64 %31) store i64 %31, i64* %rax.0.reg2mem br label LBL_13 LBL_11: %67 = zext i32 %arg2 to i64 %68 = call i64 @FUNC(i64 %3, i64 %67) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %71, label LBL_12, label LBL_13 LBL_12: %72 = icmp eq i1 %40, false %or.cond4 = or i1 %39, %72 %sv_0.0 = select i1 %or.cond4, i64 %31, i64 %arg4 %73 = icmp eq i64* %arg1, null %74 = icmp eq i1 %73, false %sv_0.0. = select i1 %74, i64 %sv_0.0, i64 4294967295 store i64 %sv_0.0., i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %40, { 1, 0 } uselistorder i1 %39, { 1, 0 } uselistorder i64 %31, { 3, 2, 5, 1, 0, 6, 7, 4, 8 } uselistorder i32 %spec.select5, { 4, 2, 1, 3, 0 } uselistorder i32 %21, { 1, 0, 2, 3 } uselistorder i64 %3, { 6, 1, 2, 4, 3, 5, 7, 8, 10, 9, 0, 11 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 3, 6, 7, 9, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 } uselistorder i32 %arg2, { 2, 1, 3, 4, 0 } uselistorder label LBL_13, { 0, 1, 4, 3, 2, 5, 6, 8, 7 } }
1
BinRealVul
spapr_vio_send_crq_2231
spapr_vio_send_crq
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i8, align 1 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_1 to i64*), i32 1, i32 43, %_IO_FILE* %5) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = add i64 %7, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, %10 %15 = zext i32 %14 to i64 %16 = bitcast i8* %sv_0 to i64* %17 = call i64 @FUNC(i64 %7, i64 %15, i64* nonnull %16, i64 1) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i64 %17, i64* %rax.0.shrunk.reg2mem br i1 %19, label LBL_3, label LBL_8 LBL_3: %20 = load i8, i8* %sv_0, align 1 %21 = icmp eq i8 %20, 0 store i64 1, i64* %rax.0.shrunk.reg2mem br i1 %21, label LBL_4, label LBL_8 LBL_4: %22 = ptrtoint i64* %arg2 to i64 %23 = add i64 %22, 8 %24 = load i32, i32* %9, align 4 %25 = load i32, i32* %12, align 4 %26 = add i32 %24, 8 %27 = add i32 %26, %25 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %7, i64 %28, i64 %23, i64 8) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 store i64 %29, i64* %rax.0.shrunk.reg2mem br i1 %31, label LBL_5, label LBL_8 LBL_5: %32 = call i64 @FUNC() %33 = load i32, i32* %9, align 4 %34 = load i32, i32* %12, align 4 %35 = add i32 %34, %33 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 %7, i64 %36, i64 %22, i64 8) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 %37, i64* %rax.0.shrunk.reg2mem br i1 %39, label LBL_6, label LBL_8 LBL_6: %40 = load i32, i32* %12, align 4 %41 = add i32 %40, 16 %42 = urem i32 %41, %2 store i32 %42, i32* %12, align 4 %43 = add i64 %7, 12 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = urem i32 %45, 2 %47 = icmp eq i32 %46, 0 store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %47, label LBL_8, label LBL_7 LBL_7: %48 = add i64 %7, 16 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_8: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32* %12, { 1, 0, 2, 3, 4 } uselistorder i64 %7, { 1, 0, 2, 3, 6, 5, 4 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i64 (i64, i64, i64, i64)* @spapr_vio_dma_write, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2, 3, 4, 5, 6 } }
0
BinRealVul
user_update_6051
user_update
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_1, label LBL_5 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = bitcast i64* %arg1 to i32* store i32 %11, i32* %12, align 4 %13 = call i64 @FUNC(i64 %2) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i64 %2) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %17 = add i64 %8, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %2, i64 %19) store i64 0, i64* %18, align 8 %21 = icmp eq i64 %sv_0.0.reload, 0 br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %sv_0.0.reload, i64 4198830) br label LBL_5 LBL_5: %storemerge = and i64 %4, 4294967295 ret i64 %storemerge uselistorder i64 %2, { 1, 0, 2, 3 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
mp4s_Read_8254
mp4s_Read
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 eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %2, 4294967295 store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %1, i64 8) %7 = call i64 @FUNC(i64 %1, i64 %0, i64 4198718) 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
fdtv_ca_pmt_6943
fdtv_ca_pmt
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i32 %sv_0.03.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = add i64 %0, 3 %2 = inttoptr i64 %1 to i8* %3 = load i8, i8* %2, align 1 %4 = icmp slt i8 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_1 LBL_1: %6 = urem i8 %3, -128 %7 = icmp eq i8 %6, 0 store i64 4, i64* %sv_1.1.reg2mem store i32 0, i32* %sv_0.1.reg2mem br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = zext i8 %6 to i64 store i32 0, i32* %storemerge14.reg2mem store i32 0, i32* %sv_0.03.reg2mem store i32 4, i32* %sv_1.02.reg2mem br label LBL_3 LBL_3: %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %9 = mul i32 %sv_0.03.reload, 256 %10 = add i32 %sv_1.02.reload, 1 %11 = sext i32 %sv_1.02.reload to i64 %12 = add i64 %11, %0 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = zext i8 %14 to i32 %16 = or i32 %9, %15 %17 = add i32 %storemerge14.reload, 1 %18 = sext i32 %17 to i64 %19 = icmp slt i64 %18, %8 store i32 %17, i32* %storemerge14.reg2mem store i32 %16, i32* %sv_0.03.reg2mem store i32 %10, i32* %sv_1.02.reg2mem br i1 %19, label LBL_3, label LBL_5 LBL_4: %20 = zext i8 %3 to i32 store i64 4, i64* %sv_1.1.reg2mem store i32 %20, i32* %sv_0.1.reg2mem br label LBL_6 LBL_5: %phitmp = sext i32 %10 to i64 store i64 %phitmp, i64* %sv_1.1.reg2mem store i32 %16, i32* %sv_0.1.reg2mem br label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %21 = sext i32 %sv_0.1.reload to i64 %22 = sub nsw i64 256, %sv_1.1.reload %23 = icmp ult i64 %22, %21 store i64 4294967274, i64* %storemerge.reg2mem br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = ptrtoint i64* %arg1 to i64 %25 = add i64 %sv_1.1.reload, %0 %26 = call i64 @FUNC(i64 %24, i64 %25, i32 %sv_0.1.reload) store i64 %26, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %10, { 1, 0 } uselistorder i32 %sv_1.02.reload, { 1, 0 } uselistorder i8 %3, { 1, 0, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 1, 3, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 4, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
init_die_13016
init_die
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = trunc i64 %arg3 to i32 %3 = call i64* @calloc(i32 0, i32 %2) %4 = ptrtoint i64* %3 to i64 store i64 %4, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 4294967295 uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gen_check_privilege_890
gen_check_privilege
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 0) %6 = add i64 %4, 4 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
get_v4lctrl_4681
get_v4lctrl
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 store i64 %5, i64* @0, align 8 store i64 4294967274, i64* %rax.0.reg2mem switch i32 %4, label LBL_7 [ i32 1, label LBL_1 i32 2, label LBL_2 i32 3, label LBL_3 i32 4, label LBL_4 i32 5, label LBL_5 i32 6, label LBL_6 i32 7, label LBL_6 i32 8, label LBL_6 i32 9, label LBL_6 i32 10, label LBL_6 ] LBL_1: %6 = inttoptr i64 %3 to i32* %7 = load i32, i32* %6, align 4 %8 = ptrtoint i32* %arg2 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i32* store i32 %7, i32* %10, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %11 = call i64 @FUNC(i64 %2, i64 1044) %12 = trunc i64 %11 to i32 %13 = add i32 %12, 128 %14 = ptrtoint i32* %arg2 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* store i32 %13, i32* %16, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %17 = call i64 @FUNC(i64 %2, i64 1045) %18 = trunc i64 %17 to i32 %19 = ashr i32 %18, 1 %20 = ptrtoint i32* %arg2 to i64 %21 = add i64 %20, 4 %22 = inttoptr i64 %21 to i32* store i32 %19, i32* %22, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %23 = call i64 @FUNC(i64 %2, i64 1056) %24 = trunc i64 %23 to i32 %25 = ashr i32 %24, 1 %26 = ptrtoint i32* %arg2 to i64 %27 = add i64 %26, 4 %28 = inttoptr i64 %27 to i32* store i32 %25, i32* %28, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %29 = call i64 @FUNC(i64 %2, i64 1058) %30 = trunc i64 %29 to i32 %31 = ptrtoint i32* %arg2 to i64 %sext = mul i32 %30, 16777216 %32 = ashr exact i32 %sext, 24 %33 = add i64 %31, 4 %34 = inttoptr i64 %33 to i32* store i32 %32, i32* %34, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %35 = ptrtoint i32* %arg2 to i64 %36 = call i64 @FUNC(i64 %2, i64 11, i64 %35) store i64 %36, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 5, 4, 3, 2, 1, 6 } uselistorder i64 (i64, i64)* @cx25840_read, { 3, 2, 1, 0 } uselistorder i32* %arg2, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_7, { 6, 4, 3, 2, 1, 0, 5 } }
0
BinRealVul
acpi_bus_start_4772
acpi_bus_start
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false store i64 4294967274, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 4) store i64 1, i64* %sv_0, align 8 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gnra_box_dump_6006
gnra_box_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %.pre = bitcast i64* %arg1 to i32* br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = icmp ne i32 %2, 1 %5 = icmp eq i32 %2, 2 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 %spec.store.select = select i1 %or.cond, i32 %2, i32 2003725173 store i32 %spec.store.select, i32* %.pre, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %9 = add i64 %7, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %7, 12 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %7, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %7, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = zext i32 %14 to i64 %22 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([116 x i8], [116 x i8]* @gv_1, i64 0, i64 0), i32 %20, i32 %17, i64 %21, i32 %11) store i32 3, i32* %.pre, align 4 %23 = add i64 %7, 40 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = add i64 %7, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %28, i64 %25, i64 %arg2) %30 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %arg2) ret i64 0 uselistorder i64 %7, { 0, 2, 1, 5, 6, 4, 3, 7 } uselistorder i32 %2, { 3, 0, 1, 2 } uselistorder i64 %arg2, { 1, 0, 2, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
eval_refl_15837
eval_refl
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %storemerge37.reg2mem = alloca i32 %indvars.iv12.reg2mem = alloca i64 %indvars.iv14.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_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %5 = ptrtoint i64* %sv_2 to i64 %6 = add i64 %5, -128 store i64 0, i64* %indvars.iv14.reg2mem br label LBL_1 LBL_1: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %7 = mul i64 %indvars.iv14.reload, 2 %8 = add i64 %7, %4 %9 = inttoptr i64 %8 to i16* %10 = load i16, i16* %9, align 2 %11 = sext i16 %10 to i32 %12 = mul i64 %indvars.iv14.reload, 4 %13 = add i64 %6, %12 %14 = inttoptr i64 %13 to i32* store i32 %11, i32* %14, align 4 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %exitcond16 = icmp eq i64 %indvars.iv.next15, 10 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem br i1 %exitcond16, label LBL_2, label LBL_1 LBL_2: %15 = ptrtoint i64* %arg1 to i64 %16 = add i64 %15, 36 %17 = ptrtoint i64* %sv_0 to i64 %18 = add i64 %17, 36 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = inttoptr i64 %16 to i32* store i32 %20, i32* %21, align 4 %22 = load i32, i32* %19, align 4 %23 = add i32 %22, 4096 %24 = icmp ult i32 %23, 8192 br i1 %24, label LBL_3, label LBL_4 LBL_3: %25 = bitcast i64* %sv_1 to i32* %26 = bitcast i64* %sv_0 to i32* %27 = ptrtoint i64* %sv_1 to i64 store i64 9, i64* %indvars.iv12.reg2mem store i32 8, i32* %storemerge37.reg2mem br label LBL_5 LBL_4: %28 = ptrtoint i64* %arg3 to i64 %29 = call i64 @FUNC(i64 %28, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i64 1, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %storemerge37.reload = load i32, i32* %storemerge37.reg2mem %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem %30 = sext i32 %storemerge37.reload to i64 %31 = mul i64 %30, 4 %32 = add nsw i64 %31, 4 %33 = add i64 %32, %17 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = mul i32 %35, %35 %37 = ashr i32 %36, 12 %38 = sub nsw i32 4096, %37 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false %spec.select = select i1 %40, i32 %38, i32 -2 %41 = add i64 %32, %15 %42 = inttoptr i64 %41 to i32* %43 = udiv i32 16777216, %spec.select store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %44 = mul i64 %indvars.iv.reload, 4 %45 = add i64 %44, %17 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = load i32, i32* %42, align 4 %49 = sub nsw i64 %30, %indvars.iv.reload %50 = mul i64 %49, 4 %51 = add i64 %50, %17 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = mul i32 %53, %48 %55 = ashr i32 %54, 12 %56 = sub i32 %47, %55 %57 = mul i32 %56, %43 %58 = add i64 %44, %27 %59 = ashr i32 %57, 12 %60 = inttoptr i64 %58 to i32* store i32 %59, i32* %60, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %indvars.iv12.reload store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %61 = add i64 %31, %27 %62 = add i64 %31, %15 %63 = inttoptr i64 %61 to i32* %64 = load i32, i32* %63, align 4 %65 = inttoptr i64 %62 to i32* store i32 %64, i32* %65, align 4 %66 = load i32, i32* %63, align 4 %67 = add i32 %66, 4096 %68 = icmp ult i32 %67, 8192 store i64 1, i64* %rax.0.reg2mem br i1 %68, label LBL_8, label LBL_9 LBL_8: %69 = load i32, i32* %25, align 8 %70 = load i32, i32* %26, align 8 store i32 %70, i32* %25, align 8 store i32 %69, i32* %26, align 8 %71 = add i32 %storemerge37.reload, -1 %72 = icmp slt i32 %71, 0 %73 = icmp eq i1 %72, false %indvars.iv.next13 = add nsw i64 %indvars.iv12.reload, -1 store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem store i32 %71, i32* %storemerge37.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %73, label LBL_5, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %44, { 1, 0 } uselistorder i32 %35, { 1, 0 } uselistorder i64 %31, { 2, 1, 0 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %storemerge37.reload, { 1, 0 } uselistorder i32* %26, { 1, 0 } uselistorder i64 %indvars.iv14.reload, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge37.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 4096, { 1, 0, 2 } uselistorder i64 1, { 0, 3, 1, 2 } uselistorder i64 4, { 0, 1, 4, 2, 3 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
load_segment_descriptor_5414
load_segment_descriptor
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i16 %2 = trunc i64 %0 to i8 %3 = zext i32 %arg3 to i64 %4 = call i64 @FUNC(i64 %0, i16 %1, i64 %3, i8 %2, i64 0, i64 0) ret i64 %4 }
0
BinRealVul
ASN1_TYPE_cmp_5466
ASN1_TYPE_cmp
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp ne i32* %arg1, null %4 = icmp ne i64* %arg2, null %5 = trunc i64 %1 to i32 %or.cond.not = icmp eq i1 %3, %4 %6 = trunc i64 %2 to i32 %7 = icmp eq i32 %5, %6 %or.cond4 = icmp eq i1 %or.cond.not, %7 store i64 4294967295, i64* %storemerge.reg2mem br i1 %or.cond4, label LBL_1, label LBL_8 LBL_1: %8 = icmp eq i32 %5, 2 store i32 0, i32* %sv_0.0.reg2mem br i1 %8, label LBL_7, label LBL_2 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = icmp sgt i32 %5, 2 br i1 %10, label LBL_6, label LBL_3 LBL_3: switch i32 %5, label LBL_6 [ i32 0, label LBL_4 i32 1, label LBL_5 ] LBL_4: %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = ptrtoint i32* %arg1 to i64 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64 %13) %19 = trunc i64 %18 to i32 store i32 %19, i32* %sv_0.0.reg2mem br label LBL_7 LBL_5: %20 = ptrtoint i32* %arg1 to i64 %21 = add i64 %20, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i64 %9, 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = sub i32 %23, %26 store i32 %27, i32* %sv_0.0.reg2mem br label LBL_7 LBL_6: %28 = add i64 %9, 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = ptrtoint i32* %arg1 to i64 %32 = add i64 %31, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = call i64 @FUNC(i64 %34, i64 %30) %36 = trunc i64 %35 to i32 store i32 %36, i32* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %37 = zext i32 %sv_0.0.reload to i64 store i64 %37, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %9, { 2, 0, 1 } uselistorder i32 %5, { 3, 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i32* %arg1, { 2, 0, 1, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
0
BinRealVul
pci_data_read_543
pci_data_read
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = urem i32 %5, 256 %7 = zext i32 %arg3 to i64 %8 = call i64 @FUNC(i64 %2, i32 %6, i64 256, i64 %7) %9 = trunc i64 %8 to i32 %10 = inttoptr i64 %2 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i8* %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* %12, i32 %6, i32 %9, i64 %7) %14 = and i64 %8, 4294967295 store i64 %14, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
hash_literally_3750
hash_literally
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = zext i32 %arg2 to i64 %1 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 4096) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* %sv_0, align 8 %7 = zext i32 %arg4 to i64 %8 = call i64 @FUNC(i64 %6, i64 0, i64 %arg3, i64 %5, i64 %7) %phitmp = and i64 %8, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem %9 = call i64 @FUNC(i64* nonnull %sv_0) ret i64 %storemerge.reload uselistorder i64* %sv_0, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4294967295, { 3, 0, 2, 4, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
install_thread_keyring_6654
install_thread_keyring
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = and i64 %3, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %0) store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
_ewk_view_repaint_add_8724
_ewk_view_repaint_add
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 8 %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_3, label LBL_1 LBL_1: %11 = icmp eq i64 %5, 0 %12 = icmp eq i1 %11, false %13 = add i64 %5, 5 %spec.select = select i1 %12, i64 %13, i64 10 %14 = call i64 @FUNC(i64 %2, i64 %spec.select) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 store i64 %14, i64* %rax.0.reg2mem br i1 %16, label LBL_4, label LBL_1.LBL_3_crit_edge LBL_2: %.pre = load i64, i64* %7, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %sext = mul i64 %arg2, 4294967296 %17 = ashr exact i64 %sext, 32 %sext7 = mul i64 %arg5, 4294967296 %18 = ashr exact i64 %sext7, 32 %.reload = load i64, i64* %.reg2mem %19 = mul i64 %.reload, 16 %20 = add i64 %19, %2 %21 = add i64 %.reload, 1 store i64 %21, i64* %7, align 8 %22 = trunc i64 %17 to i32 %23 = inttoptr i64 %20 to i32* store i32 %22, i32* %23, align 4 %24 = trunc i64 %arg3 to i32 %25 = add i64 %20, 4 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = trunc i64 %arg4 to i32 %28 = add i64 %20, 8 %29 = inttoptr i64 %28 to i32* store i32 %27, i32* %29, align 4 %30 = trunc i64 %18 to i32 %31 = add i64 %20, 12 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = and i64 %18, 4294967295 %34 = and i64 %17, 4294967295 %35 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %34, i32 %24, i32 %27, i64 %33, i64 %1) store i64 %35, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %7, { 1, 0, 2 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
nump_dump_9641
nump_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %2 = inttoptr i64 %arg2 to %_IO_FILE* %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %0) %4 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %arg2) ret i64 0 uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 } }
0
BinRealVul
regsafe_11010
regsafe
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: ret i64 1 }
1
BinRealVul
objc_build_refs_12535
objc_build_refs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %.reg2mem7 = alloca i64 %storemerge16.reg2mem = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64* %arg1, null store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_16, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_16 LBL_2: %10 = inttoptr i64 %7 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %7, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp ult i64 %14, %7 %16 = icmp eq i1 %15, false %17 = select i1 %16, i64 %14, i64 %7 %18 = add i64 %4, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ugt i64 %17, %20 %22 = select i1 %21, i64 %20, i64 %17 %23 = trunc i64 %22 to i32 %24 = call i64* @calloc(i32 1, 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_3, label LBL_16 LBL_3: %27 = ptrtoint i64* %24 to i64 %28 = add i64 %4, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %4, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %35, i64 1, i64 %27, i64 %7) %37 = trunc i64 %36 to i8 %38 = icmp eq i8 %37, 1 br i1 %38, label LBL_4, label LBL_5 LBL_4: %39 = icmp ugt i64 %7, %30 %40 = icmp ugt i64 %22, %30 %or.cond5 = icmp eq i1 %39, %40 store i64 %30, i64* %.reg2mem store i64 0, i64* %storemerge16.reg2mem br i1 %or.cond5, label LBL_6, label LBL_9 LBL_5: %41 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %27, i64 %7, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %.reload = load i64, i64* %.reg2mem %42 = add i64 %storemerge16.reload, %27 %43 = call i64 @FUNC(i64 %42) %44 = call i64 @FUNC(i64 %43) %45 = trunc i64 %44 to i8 %46 = icmp eq i8 %45, 0 br i1 %46, label LBL_8, label LBL_7 LBL_7: %47 = add i64 %storemerge16.reload, %4 %48 = call i64 @FUNC(i64 %4, i64 %47, i64 %43) br label LBL_8 LBL_8: %49 = add i64 %.reload, %30 %50 = icmp ugt i64 %7, %49 %51 = icmp ugt i64 %22, %49 %or.cond = icmp eq i1 %50, %51 store i64 %49, i64* %.reg2mem store i64 %.reload, i64* %storemerge16.reg2mem br i1 %or.cond, label LBL_6, label LBL_9 LBL_9: %52 = load i64, i64* %32, align 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54, i64 %11, i64 %27, i64 %14) %56 = trunc i64 %55 to i8 %57 = icmp eq i8 %56, 1 br i1 %57, label LBL_10, label LBL_11 LBL_10: %58 = icmp ugt i64 %14, %30 %or.cond23 = icmp eq i1 %58, %40 store i64 %30, i64* %.reg2mem7 store i64 0, i64* %storemerge4.reg2mem br i1 %or.cond23, label LBL_12, label LBL_15 LBL_11: %59 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %27, i64 %14, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_12: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %.reload8 = load i64, i64* %.reg2mem7 %60 = add i64 %storemerge4.reload, %27 %61 = call i64 @FUNC(i64 %60) %62 = call i64 @FUNC(i64 %61) %63 = trunc i64 %62 to i8 %64 = icmp eq i8 %63, 0 br i1 %64, label LBL_14, label LBL_13 LBL_13: %65 = add i64 %storemerge4.reload, %11 %66 = call i64 @FUNC(i64 %4, i64 %61, i64 %65) br label LBL_14 LBL_14: %67 = add i64 %.reload8, %30 %68 = icmp ugt i64 %14, %67 %69 = icmp ugt i64 %22, %67 %or.cond2 = icmp eq i1 %68, %69 store i64 %67, i64* %.reg2mem7 store i64 %.reload8, i64* %storemerge4.reg2mem br i1 %or.cond2, label LBL_12, label LBL_15 LBL_15: call void @free(i64* %24) store i64 1, 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 %storemerge4.reload, { 1, 0 } uselistorder i64 %storemerge16.reload, { 1, 0 } uselistorder i64 %30, { 2, 0, 6, 3, 1, 4, 5 } uselistorder i64 %27, { 0, 3, 4, 1, 2, 5 } uselistorder i64* %24, { 0, 2, 1 } uselistorder i64 %22, { 1, 2, 0, 3 } uselistorder i64 %14, { 2, 1, 0, 3, 5, 4 } uselistorder i64 %7, { 6, 8, 7, 0, 5, 3, 4, 1, 2, 9 } uselistorder i64 %4, { 1, 2, 0, 4, 3, 5, 6 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem7, { 2, 0, 1 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i64)* @array_add, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 (i64)* @isValid, { 1, 0 } uselistorder i64 (i64)* @r_read_le64, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eprintf, { 1, 0 } uselistorder i64 (i64, i64, i64, i64)* @r_io_read_at, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_16, { 3, 4, 5, 0, 2, 1 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
helper_sublv_15992
helper_sublv
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = sub i64 %arg2, %arg3 %1 = xor i64 %arg3, %arg2 %2 = xor i64 %0, %arg2 %3 = and i64 %2, %1 %4 = trunc i64 %3 to i32 %5 = icmp sgt i32 %4, -1 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = call i64 @FUNC() %10 = call i64 @FUNC(i64 %8, i64 %9, i64 1, i64 0) br label LBL_2 LBL_2: %11 = and i64 %0, 4294967295 ret i64 %11 uselistorder i64 %0, { 1, 0 } }
1
BinRealVul
seq_buf_alloc_19193
seq_buf_alloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i64 0) ret i64 %0 }
1
BinRealVul
rpc_init_task_11292
rpc_init_task
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64* @memset(i64* %arg1, i32 0, i32 80) %8 = call i64 @FUNC(i64 %6, i64 1) %9 = trunc i64 %3 to i32 %10 = add i64 %6, 4 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %5, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %6, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = add i64 %5, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = add i64 %6, 16 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = add i64 %6, 24 %23 = call i64 @FUNC(i64 %22) %24 = add i64 %6, 40 %25 = inttoptr i64 %24 to i32* store i32 2, i32* %25, align 4 %26 = add i64 %6, 44 %27 = inttoptr i64 %26 to i32* store i32 2, i32* %27, align 4 %28 = add i64 %5, 24 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %6, 48 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = load i32*, i32** @gv_0, align 8 %34 = load i32, i32* %33, align 4 %35 = add i64 %6, 52 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = add i64 %5, 32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = add i64 %6, 56 %41 = inttoptr i64 %40 to i64* store i64 %39, i64* %41, align 8 %42 = load i64, i64* %16, align 8 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label LBL_2, label LBL_1 LBL_1: %46 = add i64 %6, 72 %47 = inttoptr i64 %46 to i64* store i64 4198878, i64* %47, align 8 br label LBL_2 LBL_2: %48 = call i64 @FUNC() %49 = add i64 %6, 64 %50 = inttoptr i64 %49 to i64* store i64 %48, i64* %50, align 8 %51 = load i32*, i32** @gv_0, align 8 %52 = ptrtoint i32* %51 to i64 %53 = call i64 @FUNC(i64 %52) %54 = and i64 %53, 4294967295 %55 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %54, i64 %6, i64 %4, i64 %2, i64 %1) ret i64 %55 uselistorder i64 %6, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64 %5, { 3, 2, 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 4294967295, { 1, 0 } }
1
BinRealVul
ProcPolyPoint_8030
ProcPolyPoint
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp ult i32 %3, 12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = sext i32 %3 to i64 %6 = add nsw i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %switch = icmp ult i32 %8, 2 br i1 %switch, label LBL_3, label LBL_2 LBL_2: store i32 %8, i32* %arg1, align 4 store i64 4294967295, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = call i64* @malloc(i32 4) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %8, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
qobject_input_visitor_new_keyval_18600
qobject_input_visitor_new_keyval
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = load i64, i64* @gv_1, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = load i64, i64* @gv_2, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = load i64, i64* @gv_3, align 8 %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = load i64, i64* @gv_4, align 8 %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = load i64, i64* @gv_5, align 8 %16 = add i64 %0, 40 %17 = inttoptr i64 %16 to i64* store i64 %15, i64* %17, align 8 %18 = load i64, i64* @gv_6, align 8 %19 = add i64 %0, 48 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = load i64, i64* @gv_7, align 8 %22 = add i64 %0, 56 %23 = inttoptr i64 %22 to i64* store i64 %21, i64* %23, align 8 ret i64 %0 }
1
BinRealVul
piix4_pm_class_init_15962
piix4_pm_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198662, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i32* store i32 32902, i32* %6, align 4 %7 = add i64 %0, 28 %8 = inttoptr i64 %7 to i32* store i32 28947, i32* %8, align 4 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i32* store i32 3, i32* %10, align 4 %11 = add i64 %0, 36 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %arg1, align 8 %13 = inttoptr i64 %1 to i32* store i32 1, i32* %13, align 4 store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8 %14 = load i64, i64* @gv_2, align 8 %15 = inttoptr i64 %5 to i64* store i64 %14, i64* %15, align 8 ret i64 %0 }
1
BinRealVul
io_add_buffers_19114
io_add_buffers
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i32 %storemerge1.lcssa.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i64 %sv_1.03.reg2mem = alloca i32 %storemerge14.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_4.thread, label LBL_1 LBL_1: %5 = add i64 %0, 12 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* store i32 0, i32* %storemerge14.reg2mem store i32 %7, i32* %sv_1.03.reg2mem store i64 %0, i64* %sv_0.02.reg2mem br label LBL_2 LBL_2: %storemerge14.reload = load i32, i32* %storemerge14.reg2mem %10 = call i64 @FUNC(i64 32, i64 0) %11 = icmp eq i64 %10, 0 store i32 %storemerge14.reload, i32* %storemerge1.lcssa.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem %12 = inttoptr i64 %10 to i64* store i64 %sv_0.02.reload, i64* %12, align 8 %13 = load i32, i32* %9, align 4 %14 = add i64 %10, 8 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %10, 12 %17 = inttoptr i64 %16 to i32* store i32 %sv_1.03.reload, i32* %17, align 4 %18 = load i32, i32* %9, align 4 %19 = sext i32 %18 to i64 %20 = add i64 %sv_0.02.reload, %19 %21 = add i32 %sv_1.03.reload, 1 %22 = add i64 %10, 16 %23 = call i64 @FUNC(i64 %22) store i64 %10, i64* %arg2, align 8 %24 = add i32 %storemerge14.reload, 1 %25 = load i32, i32* %2, align 4 %26 = zext i32 %25 to i64 %27 = sext i32 %24 to i64 %28 = icmp slt i64 %27, %26 store i32 %24, i32* %storemerge14.reg2mem store i32 %21, i32* %sv_1.03.reg2mem store i64 %20, i64* %sv_0.02.reg2mem store i32 %24, i32* %storemerge1.lcssa.reg2mem br i1 %28, label LBL_2, label LBL_4 LBL_4: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %29 = icmp eq i32 %storemerge1.lcssa.reload, 0 store i32 %storemerge1.lcssa.reload, i32* %.reg2mem br i1 %29, label LBL_4.thread, label %30 LBL_5: store i32 -12, i32* %.reg2mem br label %30 uselistorder i64 %sv_0.02.reload, { 1, 0 } uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 } uselistorder i32 %storemerge14.reload, { 1, 0 } uselistorder i32* %2, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2 } uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder label %30, { 1, 0 } uselistorder label LBL_4.thread, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
gf_isom_get_track_switch_parameter_6431
gf_isom_get_track_switch_parameter
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = zext i32 %arg2 to i64 %1 = call i64 @FUNC(i64 %arg1, i64 %0) %2 = icmp eq i32 %arg3, 0 %3 = icmp eq i64 %1, 0 %or.cond = or i1 %2, %3 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_5, label LBL_1 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_5 LBL_2: %8 = call i64 @FUNC(i64 %5, i64 1, i64 0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_5 LBL_3: %11 = add i32 %arg3, -1 %12 = inttoptr i64 %8 to i64* %13 = load i64, i64* %12, align 8 %14 = zext i32 %11 to i64 %15 = call i64 @FUNC(i64 %13, i64 %14) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_5 LBL_4: %18 = inttoptr i64 %15 to i32* %19 = load i32, i32* %18, align 4 %20 = bitcast i64* %arg4 to i32* store i32 %19, i32* %20, align 4 %21 = add i64 %15, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = bitcast i64* %arg5 to i32* store i32 %23, i32* %24, align 4 %25 = add i64 %15, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 store i64 %27, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 } uselistorder label LBL_5, { 4, 0, 1, 3, 2 } }
0
BinRealVul
ohci_put_hcca_18626
ohci_put_hcca
define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg3 to i64 %3 = add i64 %1, %arg2 %4 = and i64 %3, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %2, i64 0) ret i64 1 }
1
BinRealVul
ff_h264_flush_change_16874
ff_h264_flush_change
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem8 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.02.reg2mem = alloca i32 %sv_0.13.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 96 %2 = inttoptr i64 %1 to i32* store i32 -2147483648, i32* %2, align 4 %3 = add i64 %0, 100 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = call i64 @FUNC(i64 %0) %6 = add i64 %0, 168 %7 = inttoptr i64 %6 to i32* store i32 -1, i32* %7, align 4 %8 = icmp eq i64* %arg1, null br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = bitcast i64* %arg1 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false store i64 %12, i64* %.reg2mem store i32 0, i32* %sv_0.13.reg2mem store i32 0, i32* %sv_1.02.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_5 LBL_2: %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %.reload = load i64, i64* %.reg2mem %15 = icmp eq i64 %.reload, %0 store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = add i32 %sv_0.13.reload, 1 %17 = sext i32 %sv_0.13.reload to i64 %18 = mul i64 %17, 8 %19 = add i64 %18, %10 %20 = inttoptr i64 %19 to i64* store i64 %.reload, i64* %20, align 8 store i32 %16, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %21 = add i32 %sv_1.02.reload, 1 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, %10 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 %26, i64* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem store i32 %21, i32* %sv_1.02.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %28, label LBL_2, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %29 = sext i32 %sv_0.1.lcssa.reload to i64 %30 = mul i64 %29, 8 %31 = add i64 %30, %10 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 br label LBL_6 LBL_6: %33 = add i64 %0, 8 %34 = call i64 @FUNC(i64 %0, i64 %33) %35 = add i64 %0, 104 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 %37 = call i64 @FUNC(i64 %6) %38 = add i64 %0, 108 %39 = inttoptr i64 %38 to i32* store i32 -1, i32* %39, align 4 %40 = add i64 %0, 112 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = add i64 %0, 116 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 %44 = add i64 %0, 120 %45 = inttoptr i64 %44 to i32* store i32 1, i32* %45, align 4 %46 = add i64 %0, 124 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 0 store i64 0, i64* %.lcssa.reg2mem br i1 %49, label LBL_9, label LBL_7 LBL_7: %50 = add i64 %0, 128 store i64 0, i64* %.reg2mem8 store i32 0, i32* %storemerge1.reg2mem br label LBL_8 LBL_8: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %51 = mul i64 %.reload9, 4 %52 = add i64 %50, %51 %53 = inttoptr i64 %52 to i32* store i32 0, i32* %53, align 4 %54 = add i32 %storemerge1.reload, 1 %55 = load i32, i32* %47, align 4 %56 = zext i32 %55 to i64 %57 = sext i32 %54 to i64 %58 = icmp slt i64 %57, %56 store i64 %57, i64* %.reg2mem8 store i32 %54, i32* %storemerge1.reg2mem store i64 %56, i64* %.lcssa.reg2mem br i1 %58, label LBL_8, label LBL_9 LBL_9: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i32* %47, { 1, 0 } uselistorder i32 %sv_0.13.reload, { 2, 1, 0 } uselistorder i64 %0, { 0, 3, 4, 5, 6, 7, 10, 9, 8, 2, 1, 12, 11, 13, 14 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 8, { 3, 0, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
udf_expand_file_adinicb_11988
udf_expand_file_adinicb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi10.reg2mem = alloca i64* %.pre-phi14.reg2mem = alloca i32* %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 = inttoptr i64 %3 to i32* %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i64 %9 = call i64 @FUNC(i64 %8) %10 = load i32, i32* %4, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i64 %3, 8 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %15 = add i64 %3, 12 %16 = call i64 @FUNC(i64 %15) %17 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %18 = add i64 %3, 12 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22, i64 0, i64 0) %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_9 LBL_3: %sext = mul i64 %23, 4294967296 %26 = ashr exact i64 %sext, 32 %27 = call i64 @FUNC(i64 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_3.LBL_6_crit_edge, label LBL_5 LBL_4: %.pre = add i64 %3, 16 %.pre9 = inttoptr i64 %.pre to i64* %.pre11 = add i64 %3, 4 %.pre13 = inttoptr i64 %.pre11 to i32* store i32* %.pre13, i32** %.pre-phi14.reg2mem store i64* %.pre9, i64** %.pre-phi10.reg2mem br label LBL_6 LBL_5: %31 = call i64 @FUNC(i64 %26) %32 = load i32, i32* %4, align 4 %33 = sub i32 4096, %32 %34 = sext i32 %32 to i64 %35 = add i64 %31, %34 %36 = inttoptr i64 %35 to i64* %37 = call i64* @memset(i64* %36, i32 0, i32 %33) %38 = load i32, i32* %4, align 4 %39 = add i64 %3, 16 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %3, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = sext i32 %44 to i64 %46 = add i64 %41, %45 %47 = inttoptr i64 %31 to i64* %48 = inttoptr i64 %46 to i64* %49 = call i64* @memcpy(i64* %47, i64* %48, i32 %38) %50 = call i64 @FUNC(i64 %26) %51 = call i64 @FUNC(i64 %26) %52 = call i64 @FUNC(i64 %31) store i32* %43, i32** %.pre-phi14.reg2mem store i64* %40, i64** %.pre-phi10.reg2mem br label LBL_6 LBL_6: %53 = trunc i64 %23 to i32 %.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem %.pre-phi14.reload = load i32*, i32** %.pre-phi14.reg2mem %54 = call i64 @FUNC(i64 %18) %55 = load i32, i32* %4, align 4 %56 = load i64, i64* %.pre-phi10.reload, align 8 %57 = load i32, i32* %.pre-phi14.reload, align 4 %58 = sext i32 %57 to i64 %59 = add i64 %56, %58 %60 = inttoptr i64 %59 to i64* %61 = call i64* @memset(i64* %60, i32 0, i32 %55) store i32 0, i32* %4, align 4 %62 = add i64 %3, 8 %63 = inttoptr i64 %62 to i32* store i32 1, i32* %63, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %64 = call i64 @FUNC(i64 %18) %65 = icmp eq i32 %53, 0 br i1 %65, label LBL_8, label LBL_7 LBL_7: %66 = call i64 @FUNC(i64 %26) %67 = call i64 @FUNC(i64 %18) %68 = call i64 @FUNC(i64 %26) %69 = add i64 %0, 24 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = load i64, i64* %.pre-phi10.reload, align 8 %73 = load i32, i32* %.pre-phi14.reload, align 4 %74 = sext i32 %73 to i64 %75 = add i64 %72, %74 %76 = inttoptr i64 %75 to i64* %77 = inttoptr i64 %68 to i64* %78 = call i64* @memcpy(i64* %76, i64* %77, i32 %71) %79 = call i64 @FUNC(i64 %68) %80 = call i64 @FUNC(i64 %26) store i32 3, i32* %63, align 4 store i64 ptrtoint (i64* @gv_1 to i64), i64* %arg1, align 8 %81 = call i64 @FUNC(i64 %18) br label LBL_8 LBL_8: %82 = call i64 @FUNC(i64 %26) %83 = call i64 @FUNC(i64 %0) %84 = and i64 %23, 4294967295 store i64 %84, 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 %31, { 1, 2, 0 } uselistorder i64 %26, { 5, 2, 3, 4, 0, 1, 6, 7 } uselistorder i64 %23, { 1, 2, 0, 3 } uselistorder i32* %4, { 2, 3, 0, 1, 4 } uselistorder i64 %3, { 2, 3, 4, 0, 1, 7, 5, 6, 8 } uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @down_write, { 1, 0 } uselistorder i64 (i64)* @kunmap_atomic, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i64 (i64)* @kmap_atomic, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @mark_inode_dirty, { 1, 0 } uselistorder i64 (i64)* @up_write, { 3, 2, 1, 0 } uselistorder i32 0, { 3, 4, 0, 1, 5, 6, 7, 2 } uselistorder i64 16, { 1, 0, 2 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
discover_upi_topology_13149
discover_upi_topology
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.5.reg2mem = alloca i32 %sv_1.4.reg2mem = alloca i64 %sv_2.1.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %.reg2mem76 = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.121.reg2mem = alloca i32 %storemerge522.reg2mem = alloca i32 %.reg2mem74 = alloca i32 %sv_1.225.reg2mem = alloca i64 %sv_0.326.reg2mem = alloca i32 %storemerge27.reg2mem = alloca i32 %.reg2mem72 = alloca i32 %sv_1.328.reg2mem = alloca i64 %.reg2mem70 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_3 = alloca i32, align 4 %sv_4 = alloca i32, align 4 %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 8 store i64 0, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.4.reg2mem store i32 -1, i32* %sv_0.5.reg2mem br i1 %4, label LBL_14, label LBL_1 LBL_1: %5 = and i64 %arg2, 4294967295 %6 = call i64 @FUNC(i64 32902, i64 %5, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %sv_2.1.reg2mem store i64 0, i64* %sv_1.4.reg2mem store i32 -1, i32* %sv_0.5.reg2mem br i1 %8, label LBL_2, label LBL_14 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = trunc i64 %1 to i32 %11 = bitcast i32* %sv_3 to i64* %12 = bitcast i32* %sv_4 to i64* %13 = add i64 %9, 8 %14 = trunc i64 %arg3 to i32 %15 = and i64 %1, 4294967295 store i32 %10, i32* %.reg2mem store i64 %6, i64* %.reg2mem70 store i64 0, i64* %sv_1.328.reg2mem br label LBL_3 LBL_3: %sv_1.328.reload = load i64, i64* %sv_1.328.reg2mem %.reload71 = load i64, i64* %.reg2mem70 %16 = call i64 @FUNC(i64 %.reload71, i64 0, i64 0, i64* nonnull %11, i64* nonnull %12) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_5 LBL_4: %.reload = load i32, i32* %.reg2mem %19 = inttoptr i64 %.reload71 to i64* store i32 %.reload, i32* %.reg2mem72 store i32 0, i32* %storemerge27.reg2mem store i32 0, i32* %sv_0.326.reg2mem store i64 %sv_1.328.reload, i64* %sv_1.225.reg2mem br label LBL_6 LBL_5: %20 = and i64 %16, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = trunc i64 %21 to i32 store i64 %.reload71, i64* %sv_2.1.reg2mem store i64 %sv_1.328.reload, i64* %sv_1.4.reg2mem store i32 %22, i32* %sv_0.5.reg2mem br label LBL_14 LBL_6: %sv_1.225.reload = load i64, i64* %sv_1.225.reg2mem %sv_0.326.reload = load i32, i32* %sv_0.326.reg2mem %storemerge27.reload = load i32, i32* %storemerge27.reg2mem %.reload73 = load i32, i32* %.reg2mem72 %23 = load i32, i32* %sv_3, align 4 %24 = load i32, i32* %sv_4, align 4 %25 = icmp eq i32 %23, %24 %26 = icmp eq i1 %25, false store i32 %.reload73, i32* %.reg2mem76 store i64 %sv_1.225.reload, i64* %sv_1.1.reg2mem store i32 %sv_0.326.reload, i32* %sv_0.2.reg2mem br i1 %26, label LBL_12, label LBL_7 LBL_7: %27 = icmp eq i32 %.reload73, 0 store i32 %23, i32* %.reg2mem74 store i32 0, i32* %storemerge522.reg2mem store i32 %sv_0.326.reload, i32* %sv_0.121.reg2mem store i32 0, i32* %.reg2mem76 store i64 %sv_1.225.reload, i64* %sv_1.1.reg2mem store i32 %sv_0.326.reload, i32* %sv_0.2.reg2mem br i1 %27, label LBL_12, label LBL_8 LBL_8: %sv_0.121.reload = load i32, i32* %sv_0.121.reg2mem %storemerge522.reload = load i32, i32* %storemerge522.reg2mem %.reload75 = load i32, i32* %.reg2mem74 %28 = zext i32 %.reload75 to i64 %29 = mul i64 %28, 8 %30 = add i64 %13, %29 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i32 %storemerge522.reload, %14 %34 = mul i32 %33, 8 %35 = and i32 %34, 248 %36 = load i64, i64* %19, align 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = call i64 @FUNC(i64 %36) %40 = zext i32 %35 to i64 %41 = zext i32 %38 to i64 %42 = and i64 %39, 4294967295 %43 = call i64 @FUNC(i64 %42, i64 %41, i64 %40) %44 = icmp eq i64 %43, 0 store i32 %sv_0.121.reload, i32* %sv_0.0.reg2mem br i1 %44, label LBL_10, label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 %43, i64 %32, i32 %storemerge522.reload) %46 = trunc i64 %45 to i32 %47 = icmp eq i32 %46, 0 %48 = icmp eq i1 %47, false store i32 %46, i32* %sv_0.0.reg2mem store i64 %.reload71, i64* %sv_2.1.reg2mem store i64 %43, i64* %sv_1.4.reg2mem store i32 %46, i32* %sv_0.5.reg2mem br i1 %48, label LBL_14, label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %49 = add i32 %storemerge522.reload, 1 %50 = sext i32 %49 to i64 %51 = icmp sgt i64 %15, %50 store i32 %10, i32* %.reg2mem76 store i64 %43, i64* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %51, label LBL_10.LBL_8_crit_edge, label LBL_12 LBL_11: %.pre = load i32, i32* %sv_3, align 4 store i32 %.pre, i32* %.reg2mem74 store i32 %49, i32* %storemerge522.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.121.reg2mem br label LBL_8 LBL_12: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %.reload77 = load i32, i32* %.reg2mem76 %52 = add nuw nsw i32 %storemerge27.reload, 1 %53 = icmp ult i32 %52, 8 store i32 %.reload77, i32* %.reg2mem72 store i32 %52, i32* %storemerge27.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.326.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.225.reg2mem br i1 %53, label LBL_6, label LBL_13 LBL_13: %54 = call i64 @FUNC(i64 32902, i64 %5, i64 %.reload71) %55 = icmp eq i64 %54, 0 %56 = icmp eq i1 %55, false store i32 %.reload77, i32* %.reg2mem store i64 %54, i64* %.reg2mem70 store i64 %sv_1.1.reload, i64* %sv_1.328.reg2mem store i64 %54, i64* %sv_2.1.reg2mem store i64 %sv_1.1.reload, i64* %sv_1.4.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.5.reg2mem br i1 %56, label LBL_3, label LBL_14 LBL_14: %sv_0.5.reload = load i32, i32* %sv_0.5.reg2mem %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem %57 = call i64 @FUNC(i64 %sv_2.1.reload) %58 = call i64 @FUNC(i64 %sv_1.4.reload) %59 = zext i32 %sv_0.5.reload to i64 ret i64 %59 uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %43, { 1, 0, 2, 3 } uselistorder i32 %storemerge522.reload, { 1, 0, 2 } uselistorder i32 %.reload73, { 1, 0 } uselistorder i32 %sv_0.326.reload, { 0, 2, 1 } uselistorder i64 %.reload71, { 4, 0, 1, 2, 3 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem70, { 1, 0, 2 } uselistorder i64* %sv_1.328.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem72, { 1, 0, 2 } uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.326.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.225.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem74, { 2, 0, 1 } uselistorder i32* %storemerge522.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.121.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.1.reg2mem, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %sv_1.4.reg2mem, { 0, 1, 2, 4, 3, 5 } uselistorder i32* %sv_0.5.reg2mem, { 0, 1, 2, 4, 3, 5 } uselistorder i64 (i64)* @pci_dev_put, { 1, 0 } uselistorder i32 0, { 5, 0, 1, 4, 2, 3, 6, 7, 8 } uselistorder i64 8, { 0, 2, 1 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64 (i64, i64, i64)* @pci_get_device, { 1, 0 } uselistorder i64 32902, { 1, 0 } uselistorder i32 8, { 1, 0, 2 } uselistorder label LBL_14, { 0, 1, 4, 2, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
apic_init_common_16201
apic_init_common
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = load i32, i32* @gv_0, align 4 %3 = icmp slt i32 %2, 256 br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = inttoptr i64 %1 to i32* store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_0, align 4 store i32 %2, i32* %4, align 4 %5 = call i64 @FUNC(i64 %1) %6 = add i64 %1, 8 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = load i64, i64* @gv_2, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = add i64 %1, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 2 %15 = icmp eq i32 %14, 0 store i64 %8, i64* %.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 4294967295, i64 0) store i64 %16, i64* @gv_2, align 8 store i64 %16, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %17 = add i64 %1, 16 %18 = inttoptr i64 %17 to i64* store i64 %.reload, i64* %18, align 8 ret i64 0 LBL_5: ret i64 4294967295 uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 0, 3, 2, 1 } uselistorder i32 0, { 2, 0, 1 } uselistorder i32* @gv_0, { 1, 0 } }
1
BinRealVul
decode_14064
decode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 3) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7) br label LBL_2 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %10 = ashr exact i64 %sext, 32 %11 = trunc i64 %10 to i32 %12 = add i64 %9, 4 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %11) %15 = load i32, i32* %13, align 4 %16 = icmp eq i32 %15, 0 %17 = add i64 %9, 8 %18 = inttoptr i64 %17 to i32* br i1 %16, label LBL_4, label LBL_3 LBL_3: store i32 0, i32* %18, align 4 br label LBL_6 LBL_4: %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 %20) %22 = load i32, i32* %18, align 4 %23 = add i32 %22, 1 store i32 %23, i32* %18, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = add i64 %9, 48 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_6: %29 = udiv i64 %10, 67108864 %30 = trunc i64 %29 to i32 %31 = urem i32 %30, 64 %32 = add i64 %9, 12 %33 = inttoptr i64 %32 to i32* store i32 %31, i32* %33, align 4 %34 = urem i32 %11, 32 %35 = add i64 %9, 16 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 4 %37 = urem i32 %11, 65536 %38 = add i64 %9, 20 %39 = inttoptr i64 %38 to i32* store i32 %37, i32* %39, align 4 %40 = urem i32 %11, 67108864 %41 = add i64 %9, 24 %42 = inttoptr i64 %41 to i32* store i32 %40, i32* %42, align 4 %43 = udiv i64 %10, 2097152 %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 32 %46 = add i64 %9, 28 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = add i64 %9, 32 %49 = inttoptr i64 %48 to i32* store i32 %45, i32* %49, align 4 %50 = udiv i64 %10, 65536 %51 = trunc i64 %50 to i32 %52 = urem i32 %51, 32 %53 = add i64 %9, 36 %54 = inttoptr i64 %53 to i32* store i32 %52, i32* %54, align 4 %55 = udiv i64 %10, 2048 %56 = trunc i64 %55 to i32 %57 = urem i32 %56, 32 %58 = add i64 %9, 40 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = icmp slt i32 %11, 0 %61 = icmp eq i1 %60, false %62 = add i64 %9, 44 %63 = inttoptr i64 %62 to i32* %. = zext i1 %61 to i32 store i32 %., i32* %63, align 4 %64 = load i32, i32* %33, align 4 %65 = icmp ult i32 %64, 64 br i1 %65, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_4, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) br label LBL_8 LBL_8: ret i64 %9 uselistorder i32 %45, { 1, 0 } uselistorder i32* %18, { 1, 0, 3, 2 } uselistorder i32 %11, { 3, 0, 1, 2, 4, 5 } uselistorder i32 64, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } }
1
BinRealVul
meson_efuse_read_5369
meson_efuse_read
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %arg4, i64 0, i64 %1, i64 %arg4, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false %6 = and i64 %2, 4294967295 %storemerge = select i1 %5, i64 0, i64 %6 ret i64 %storemerge uselistorder i64 %arg4, { 1, 0 } }
0
BinRealVul
i40e_vc_isvalid_vsi_id_18222
i40e_vc_isvalid_vsi_id
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = mul i64 %arg2, 8 %2 = and i64 %1, 2040 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = add i64 %0, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %7, %10 %12 = zext i1 %11 to i64 %13 = and i32 %10, -256 %14 = zext i32 %13 to i64 %15 = or i64 %14, %12 ret i64 %15 uselistorder i64 %0, { 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
vfio_start_irqfd_injection_15539
vfio_start_irqfd_injection
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge5.in7.reg2mem = alloca i64 %storemerge5.in.lcssa.reg2mem = alloca i64 %storemerge5.in8.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i32* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = call i64 @FUNC(i64 %3) %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_12, label LBL_1 LBL_1: %9 = call i64 @FUNC() %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_12, label LBL_2 LBL_2: %12 = inttoptr i64 %5 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_12, label LBL_3 LBL_3: %15 = add i64 %5, 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false %18 = trunc i64 %4 to i32 store i64 %15, i64* %storemerge5.in8.reg2mem store i64 %15, i64* %storemerge5.in.lcssa.reg2mem br i1 %17, label LBL_4, label LBL_6 LBL_4: %storemerge5.in8.reload = load i64, i64* %storemerge5.in8.reg2mem %storemerge5 = inttoptr i64 %storemerge5.in8.reload to i32* %19 = load i32, i32* %storemerge5, align 4 %20 = icmp eq i32 %19, %18 store i64 %storemerge5.in8.reload, i64* %storemerge5.in7.reg2mem br i1 %20, label LBL_7, label LBL_5 LBL_5: %21 = add i64 %storemerge5.in8.reload, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 %23, i64* %storemerge5.in8.reg2mem store i64 %23, i64* %storemerge5.in.lcssa.reg2mem br i1 %25, label LBL_4, label LBL_6 LBL_6: %storemerge5.in.lcssa.reload = load i64, i64* %storemerge5.in.lcssa.reg2mem call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0)) store i64 %storemerge5.in.lcssa.reload, i64* %storemerge5.in7.reg2mem br label LBL_7 LBL_7: %storemerge5.in7.reload = load i64, i64* %storemerge5.in7.reg2mem %26 = add i64 %storemerge5.in7.reload, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = add i64 %storemerge5.in7.reload, 8 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = load i64, i64* @gv_3, align 8 %33 = call i64 @FUNC(i64 %32, i64 %31, i64 %28, i32 %18) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %34, 0 br i1 %35, label LBL_12, label LBL_8 LBL_8: %36 = call i64 @FUNC(i64 %storemerge5.in7.reload, i64 0) %37 = trunc i64 %36 to i32 %38 = icmp slt i32 %37, 0 br i1 %38, label LBL_11, label LBL_9 LBL_9: %39 = call i64 @FUNC(i64 %storemerge5.in7.reload) %40 = trunc i64 %39 to i32 %41 = icmp slt i32 %40, 0 br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = add i64 %storemerge5.in7.reload, 24 %43 = inttoptr i64 %42 to i32* store i32 1, i32* %43, align 4 %44 = load i64, i64* %27, align 8 %45 = call i64 @FUNC(i64 %44) %46 = load i64, i64* %30, align 8 %47 = call i64 @FUNC(i64 %46) %48 = add i64 %storemerge5.in7.reload, 4 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = and i64 %45, 4294967295 %52 = and i64 %47, 4294967295 %53 = zext i32 %50 to i64 %54 = call i64 @FUNC(i64 %53, i64 %52, i64 %51) store i64 %54, i64* %storemerge.reg2mem br label LBL_13 LBL_11: %55 = load i64, i64* %30, align 8 %56 = load i64, i64* @gv_3, align 8 %57 = and i64 %4, 4294967295 %58 = call i64 @FUNC(i64 %56, i64 %55, i32 %18) %59 = add i64 %storemerge5.in7.reload, 4 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0), i64 %62, i64 %57, i64 %55, i64 %2, i64 %1) %64 = call i64 @FUNC() unreachable LBL_12: %65 = and i64 %4, 4294967295 %66 = call i64 @FUNC(i64 %3, i64 %65) store i64 %66, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %55, { 1, 0 } uselistorder i64* %30, { 1, 0, 2 } uselistorder i64 %storemerge5.in8.reload, { 1, 0, 2 } uselistorder i64 %4, { 2, 0, 1 } uselistorder i64* %storemerge5.in8.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge5.in7.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @event_notifier_get_fd, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder label LBL_12, { 0, 3, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
register_proc_table_17938
register_proc_table
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.in.reg2mem = alloca i32 %.reg2mem25 = alloca i32 %.reg2mem23 = alloca i32 %.reg2mem21 = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_1.01.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %sv_2.06.reg2mem = alloca i64 %.reg2mem = alloca i32* %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_31, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i32* %2 = load i32, i32* %1, align 4 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i32 %2, i32* %.lcssa.in.reg2mem br i1 %4, label LBL_2, label LBL_30 LBL_2: %5 = add i64 %arg2, 24 %storemerge.in2 = inttoptr i64 %5 to i64* store i32* %1, i32** %.reg2mem store i64 %arg1, i64* %sv_2.06.reg2mem br label LBL_3 LBL_3: %sv_2.06.reload = load i64, i64* %sv_2.06.reg2mem %6 = add i64 %sv_2.06.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_29, label LBL_4 LBL_4: %.reload = load i32*, i32** %.reg2mem %10 = add i64 %sv_2.06.reload, 32 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false %.pre16 = add i64 %sv_2.06.reload, 24 %.pre17 = inttoptr i64 %.pre16 to i64* br i1 %14, label LBL_7, label LBL_5 LBL_5: %15 = load i64, i64* %.pre17, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %8) br label LBL_29 LBL_7: %19 = inttoptr i64 %8 to i8* %20 = call i32 @strlen(i8* %19) %21 = add i64 %sv_2.06.reload, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = load i64, i64* %.pre17, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_9, label LBL_8 LBL_8: %27 = or i32 %23, 32768 store i32 %27, i32* %sv_1.01.reg2mem br label LBL_14 LBL_9: %storemerge3 = load i64, i64* %storemerge.in2, align 8 %28 = icmp eq i64 %storemerge3, 0 %29 = icmp eq i1 %28, false store i64 %storemerge3, i64* %storemerge.lcssa.reg2mem br i1 %29, label LBL_10, label LBL_13 LBL_10: %30 = zext i32 %20 to i64 store i64 %storemerge3, i64* %storemerge4.reg2mem br label LBL_11 LBL_11: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %31 = load i64, i64* %7, align 8 %32 = call i64 @FUNC(i64 %30, i64 %31, i64 %storemerge4.reload) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 %storemerge4.reload, i64* %storemerge.lcssa.reg2mem br i1 %35, label LBL_13, label LBL_12 LBL_12: %36 = add i64 %storemerge4.reload, 32 %storemerge.in = inttoptr i64 %36 to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %37 = icmp eq i64 %storemerge, 0 %38 = icmp eq i1 %37, false store i64 %storemerge, i64* %storemerge4.reg2mem store i64 %storemerge, i64* %storemerge.lcssa.reg2mem br i1 %38, label LBL_11, label LBL_13 LBL_13: %39 = or i32 %23, 16384 %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem %40 = icmp eq i64 %storemerge.lcssa.reload, 0 %41 = icmp eq i1 %40, false store i32 %39, i32* %sv_1.01.reg2mem store i64 %storemerge.lcssa.reload, i64* %sv_0.1.reg2mem br i1 %41, label LBL_19, label LBL_14 LBL_14: %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem %42 = load i64, i64* %7, align 8 %43 = zext i32 %sv_1.01.reload to i64 %44 = call i64 @FUNC(i64 %42, i64 %43, i64 %arg2) %45 = icmp eq i64 %44, 0 br i1 %45, label LBL_29, label LBL_15 LBL_15: %46 = add i64 %44, 16 %47 = inttoptr i64 %46 to i64* store i64 %sv_2.06.reload, i64* %47, align 8 %48 = load i64, i64* %.pre17, align 8 %49 = icmp eq i64 %48, 0 %50 = icmp eq i1 %49, false store i64 %44, i64* %sv_0.1.reg2mem br i1 %50, label LBL_19, label LBL_16 LBL_16: %51 = add i64 %44, 48 %52 = inttoptr i64 %51 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %52, align 8 %53 = load i64, i64* %11, align 8 %54 = icmp eq i64 %53, 0 %55 = add i64 %44, 40 %56 = inttoptr i64 %55 to i64* br i1 %54, label LBL_18, label LBL_17 LBL_17: store i64 %53, i64* %56, align 8 store i64 %44, i64* %sv_0.1.reg2mem br label LBL_19 LBL_18: store i64 ptrtoint (i64* @gv_2 to i64), i64* %56, align 8 store i64 %44, i64* %sv_0.1.reg2mem br label LBL_19 LBL_19: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %57 = add i64 %sv_2.06.reload, 40 %58 = inttoptr i64 %57 to i64* store i64 %sv_0.1.reload, i64* %58, align 8 %59 = add i64 %sv_0.1.reload, 8 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = and i32 %61, 16384 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_21, label LBL_20 LBL_20: %64 = load i64, i64* %.pre17, align 8 %65 = call i64 @FUNC(i64 %64, i64 %sv_0.1.reload) br label LBL_21 LBL_21: %66 = load i32, i32* %.reload, align 4 %67 = icmp eq i32 %66, 1 %68 = icmp eq i1 %67, false store i32 %66, i32* %.reg2mem21 br i1 %68, label LBL_23, label LBL_22 LBL_22: store i64 %sv_0.1.reload, i64* @gv_3, align 8 %.pre = load i32, i32* %.reload, align 4 store i32 %.pre, i32* %.reg2mem21 br label LBL_23 LBL_23: %.reload22 = load i32, i32* %.reg2mem21 %69 = icmp eq i32 %.reload22, 2 %70 = icmp eq i1 %69, false store i32 %.reload22, i32* %.reg2mem23 br i1 %70, label LBL_25, label LBL_24 LBL_24: store i64 %sv_0.1.reload, i64* @gv_4, align 8 %.pre14 = load i32, i32* %.reload, align 4 store i32 %.pre14, i32* %.reg2mem23 br label LBL_25 LBL_25: %.reload24 = load i32, i32* %.reg2mem23 %71 = icmp eq i32 %.reload24, 3 %72 = icmp eq i1 %71, false store i32 %.reload24, i32* %.reg2mem25 br i1 %72, label LBL_27, label LBL_26 LBL_26: store i64 %sv_0.1.reload, i64* @gv_5, align 8 %.pre15 = load i32, i32* %.reload, align 4 store i32 %.pre15, i32* %.reg2mem25 br label LBL_27 LBL_27: %.reload26 = load i32, i32* %.reg2mem25 %73 = icmp eq i32 %.reload26, 4 %74 = icmp eq i1 %73, false br i1 %74, label LBL_29, label LBL_28 LBL_28: store i64 %sv_0.1.reload, i64* @gv_6, align 8 br label LBL_29 LBL_29: %75 = add i64 %sv_2.06.reload, 48 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false store i32* %76, i32** %.reg2mem store i64 %75, i64* %sv_2.06.reg2mem store i32 %77, i32* %.lcssa.in.reg2mem br i1 %79, label LBL_3, label LBL_30 LBL_30: %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem %.lcssa = zext i32 %.lcssa.in.reload to i64 store i64 %.lcssa, i64* %rax.0.reg2mem br label LBL_31 LBL_31: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_0.1.reload, { 3, 4, 5, 6, 1, 2, 0 } uselistorder i64* %56, { 1, 0 } uselistorder i64 %44, { 1, 0, 3, 4, 2, 5, 6 } uselistorder i64 %storemerge4.reload, { 1, 0, 2 } uselistorder i64 %storemerge3, { 1, 0, 2 } uselistorder i64* %.pre17, { 1, 0, 2, 3 } uselistorder i32* %.reload, { 3, 2, 1, 0 } uselistorder i64 %sv_2.06.reload, { 5, 4, 0, 1, 6, 3, 2 } uselistorder i32** %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.06.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i32* %.reg2mem21, { 0, 2, 1 } uselistorder i32* %.reg2mem23, { 0, 2, 1 } uselistorder i32* %.reg2mem25, { 0, 2, 1 } uselistorder i1 false, { 13, 2, 3, 4, 5, 6, 7, 9, 8, 1, 10, 11, 12, 0 } uselistorder i32 0, { 3, 1, 2, 0, 4 } uselistorder label LBL_29, { 2, 3, 0, 4, 1 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
virtio_queue_notify_14489
virtio_queue_notify
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp sgt i32 %0, 15 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) store i64 %3, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
kvm_mmu_slot_remove_write_access_10732
kvm_mmu_slot_remove_write_access
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %0, i64 %1) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = sext i32 %7 to i64 %9 = add i64 %4, -1 %10 = add i64 %9, %8 %11 = add i64 %0, 8 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %2, 16 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %14 = mul i64 %indvars.iv.reload, 8 %15 = add i64 %13, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = load i64, i64* %3, align 8 %19 = trunc i64 %indvars.iv.reload to i32 %20 = call i64 @FUNC(i64 %10, i64 %18, i32 %19) store i64 0, i64* %sv_1.02.reg2mem store i64 %17, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %21 = inttoptr i64 %sv_0.01.reload to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload, i64 0) br label LBL_4 LBL_4: %25 = call i64 @FUNC() %26 = trunc i64 %25 to i8 %27 = icmp eq i8 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %11) %30 = trunc i64 %29 to i8 %31 = icmp eq i8 %30, 0 br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %0) %33 = call i64 @FUNC(i64 %11) br label LBL_7 LBL_7: %34 = add i64 %sv_1.02.reload, 1 %35 = add i64 %sv_0.01.reload, 8 %36 = icmp ugt i64 %34, %20 store i64 %34, i64* %sv_1.02.reg2mem store i64 %35, i64* %sv_0.01.reg2mem br i1 %36, label LBL_8, label LBL_2 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_9, label LBL_1 LBL_9: %37 = call i64 @FUNC(i64 %0) %38 = call i64 @FUNC(i64 %11) ret i64 %38 uselistorder i64 %sv_0.01.reload, { 0, 2, 1 } uselistorder i64 %11, { 0, 2, 1, 3 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
crypto_wait_for_test_8649
crypto_wait_for_test
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 1, i64 %4) %6 = trunc i64 %5 to i32 switch i32 %6, label LBL_1 [ i32 0, label LBL_3 i32 1, label LBL_2 ] LBL_1: %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_5 LBL_2: %9 = call i64 @FUNC(i64 1, i64 0) br label LBL_3 LBL_3: %10 = add i64 %0, 12 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0)) br label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %0) ret i64 %16 uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_5, { 1, 2, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
__ptrace_unlink_8260
__ptrace_unlink
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @exit(i32 1) unreachable LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %arg1 to i32* store i32 0, i32* %6, align 4 %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = add i64 %5, 16 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %5, 56 %13 = call i64 @FUNC(i64 %12) %14 = add i64 %5, 48 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 %5, i64 1) %19 = call i64 @FUNC(i64 %5) %20 = add i64 %5, 24 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = and i32 %22, 16 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_3 LBL_3: %26 = add i64 %5, 32 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = and i32 %30, 32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = add i64 %28, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_7, label LBL_5 LBL_5: %38 = add i64 %5, 40 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = or i32 %40, 2 store i32 %41, i32* %39, align 4 %42 = and i32 %40, 4 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_7, label LBL_6 LBL_6: %45 = or i32 %40, 10 store i32 %45, i32* %39, align 4 br label LBL_7 LBL_7: %46 = add i64 %5, 40 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = and i32 %48, 2 %50 = icmp eq i32 %49, 0 %51 = icmp eq i1 %50, false br i1 %51, label LBL_9, label LBL_8 LBL_8: %52 = call i64 @FUNC(i64 %5) %53 = trunc i64 %52 to i32 %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_10, label LBL_9 LBL_9: %55 = call i64 @FUNC(i64 %5, i64 1) br label LBL_10 LBL_10: %56 = load i64, i64* %15, align 8 %57 = call i64 @FUNC(i64 %56) ret i64 %57 uselistorder i64 %5, { 2, 4, 3, 0, 1, 7, 6, 5, 9, 8, 11, 10 } }
0