dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
ahci_irq_lower_17225
ahci_irq_lower
define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %2) %5 = and i64 %4, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 %6, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = and i64 %1, 4294967295 %11 = call i64 @FUNC(i64 %10) 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
mips_cpu_initfn_14006
mips_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64 4198723) %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() 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
prepare_packet_3034
prepare_packet
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) 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 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %0, i64 0) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i64* store i64 %arg3, i64* %6, align 8 store i64 %arg3, i64* %arg1, align 8 %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 %9 = and i64 %4, 4294967295 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
driver_pgsql_close_3995
driver_pgsql_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 0, i32* %1, align 4 %2 = add i64 %0, 4 %3 = inttoptr i64 %2 to i32* store i32 0, i32* %3, align 4 %4 = call i64 @FUNC(i64 %0) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) store i64 0, i64* %6, align 8 %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 %9) br label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %0, i64 0) %15 = add i64 %0, 24 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %17) store i64 %19, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2, 4, 3, 5 } }
0
BinRealVul
add_post_vars_12724
add_post_vars
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* @gv_0, align 4 %3 = add i64 %0, 24 %4 = inttoptr i64 %3 to i64* store i64 %0, i64* %4, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %7, %0 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = trunc i64 %arg3 to i32 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i64* %14 = sext i32 %2 to i64 br label LBL_3 LBL_1: %15 = load i64, i64* %13, align 8 %16 = add i64 %15, 1 store i64 %16, i64* %13, align 8 %17 = icmp ugt i64 %16, %14 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_2, i64 0, i64 0), i32 %2) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_6 LBL_3: %21 = call i64 @FUNC(i64 %1, i64 %0, i32 %11) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_1, label LBL_4 LBL_4: %25 = icmp eq i32 %11, 0 %26 = icmp eq i1 %25, false store i64 0, i64* %storemerge.reg2mem br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = load i64, i64* %10, align 8 %28 = load i64, i64* %4, align 8 %29 = sub i64 %27, %28 store i64 %29, i64* %6, align 8 %30 = load i64, i64* %4, align 8 %31 = inttoptr i64 %30 to i64* %32 = trunc i64 %29 to i32 %33 = call i64* @memmove(i64* %arg2, i64* %31, i32 %32) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %2, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 0, 4, 6, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_6, { 1, 0, 2 } }
1
BinRealVul
qemu_recvv_15180
qemu_recvv
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0, i32 %arg3, i32 %arg4, i64 0) ret i64 %2 }
1
BinRealVul
usb_serial_init_1742
usb_serial_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa5.reg2mem = alloca i8 %sv_0.1.lcssa.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i32 %rsi.1.lcssa.reg2mem = alloca i64 %rdx.1.lcssa.reg2mem = alloca i64 %rcx.1.lcssa.reg2mem = alloca i64 %sv_2.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %sv_0.0.ph.in.reg2mem = alloca i8* %sv_2.0.ph.reg2mem = alloca i32 %.lcssa62.reg2mem = alloca i8* %.lcssa60.reg2mem = alloca i8* %sv_2.130.reg2mem = alloca i32 %rcx.131.reg2mem = alloca i64 %sv_1.132.reg2mem = alloca i32 %sv_0.133.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i8*, align 8 %sv_5 = alloca i8*, align 8 %3 = inttoptr i64 %arg1 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp ne i8 %4, 0 %6 = icmp eq i8 %4, 58 %7 = icmp eq i1 %6, false %or.cond29 = icmp eq i1 %5, %7 store i32 0, i32* %sv_2.1.lcssa.reg2mem store i32 0, i32* %sv_1.1.lcssa.reg2mem store i64 %arg1, i64* %sv_0.1.lcssa.reg2mem store i8 %4, i8* %.lcssa5.reg2mem br i1 %or.cond29, label LBL_1, label LBL_14 LBL_1: %8 = bitcast i8** %sv_5 to i64* %9 = ptrtoint i8** %sv_4 to i64 store i64 %arg1, i64* %sv_0.133.reg2mem store i32 0, i32* %sv_1.132.reg2mem store i32 0, i32* %sv_2.130.reg2mem br label LBL_2 LBL_2: %sv_0.133.reload = load i64, i64* %sv_0.133.reg2mem %10 = call i64 @FUNC(i64 %sv_0.133.reload, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %8) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = load i8*, i8** %sv_5, align 8 %14 = call i32 @strtol(i8* %13, i8** nonnull %sv_4, i32 16) %15 = load i8*, i8** %sv_4, align 8 %16 = load i8*, i8** %sv_5, align 8 %17 = icmp eq i8* %15, %16 store i8* %15, i8** %.lcssa60.reg2mem br i1 %17, label LBL_5, label LBL_4 LBL_4: %sv_2.130.reload = load i32, i32* %sv_2.130.reg2mem %18 = load i8, i8* %15, align 1 store i8* %16, i8** %.lcssa60.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i32 %sv_2.130.reload, i32* %sv_2.0.ph.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem store i8* %15, i8** %sv_0.0.ph.in.reg2mem store i32 %14, i32* %sv_1.0.ph.reg2mem store i32 %14, i32* %sv_1.0.ph.reg2mem store i32 %14, i32* %sv_1.0.ph.reg2mem switch i8 %18, label LBL_5 [ i8 0, label LBL_10 i8 44, label LBL_10 i8 58, label LBL_10 ] LBL_5: %.lcssa60.reload = load i8*, i8** %.lcssa60.reg2mem %19 = ptrtoint i8* %15 to i64 %20 = ptrtoint i8* %.lcssa60.reload to i64 %21 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %19, i64 %9, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_6: %22 = call i64 @FUNC(i64 %sv_0.133.reload, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %8) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_11, label LBL_7 LBL_7: %25 = load i8*, i8** %sv_5, align 8 %26 = call i32 @strtol(i8* %25, i8** nonnull %sv_4, i32 16) %27 = load i8*, i8** %sv_4, align 8 %28 = load i8*, i8** %sv_5, align 8 %29 = icmp eq i8* %27, %28 store i8* %27, i8** %.lcssa62.reg2mem br i1 %29, label LBL_9, label LBL_8 LBL_8: %sv_1.132.reload = load i32, i32* %sv_1.132.reg2mem %30 = load i8, i8* %27, align 1 store i8* %28, i8** %.lcssa62.reg2mem store i32 %26, i32* %sv_2.0.ph.reg2mem store i32 %26, i32* %sv_2.0.ph.reg2mem store i32 %26, i32* %sv_2.0.ph.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem store i8* %27, i8** %sv_0.0.ph.in.reg2mem store i32 %sv_1.132.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_1.132.reload, i32* %sv_1.0.ph.reg2mem store i32 %sv_1.132.reload, i32* %sv_1.0.ph.reg2mem switch i8 %30, label LBL_9 [ i8 0, label LBL_10 i8 44, label LBL_10 i8 58, label LBL_10 ] LBL_9: %.lcssa62.reload = load i8*, i8** %.lcssa62.reg2mem %31 = ptrtoint i8* %27 to i64 %32 = ptrtoint i8* %.lcssa62.reload to i64 %33 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %32, i64 %31, i64 %9, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_10: %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %sv_0.0.ph.in.reload = load i8*, i8** %sv_0.0.ph.in.reg2mem %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem %sv_0.0.ph = ptrtoint i8* %sv_0.0.ph.in.reload to i64 store i64 %sv_0.0.ph, i64* %sv_0.0.reg2mem br label LBL_12 LBL_11: %rcx.131.reload = load i64, i64* %rcx.131.reg2mem %34 = ptrtoint i8** %sv_5 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %sv_0.133.reload, i64 %34, i64 %rcx.131.reload, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_12: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = inttoptr i64 %sv_0.0.reload to i8* %37 = load i8, i8* %36, align 1 %38 = icmp eq i8 %37, 44 %39 = add i64 %sv_0.0.reload, 1 store i64 %39, i64* %sv_0.0.reg2mem br i1 %38, label LBL_12, label LBL_13 LBL_13: %40 = icmp ne i8 %37, 0 %41 = icmp eq i8 %37, 58 %42 = icmp eq i1 %41, false %or.cond = icmp eq i1 %40, %42 store i64 %sv_0.0.reload, i64* %sv_0.133.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.132.reg2mem store i64 %9, i64* %rcx.131.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.130.reg2mem store i32 %sv_2.0.ph.reload, i32* %sv_2.1.lcssa.reg2mem store i64 %9, i64* %rcx.1.lcssa.reg2mem store i64 %sv_0.0.ph, i64* %rdx.1.lcssa.reg2mem store i64 %9, i64* %rsi.1.lcssa.reg2mem store i32 %sv_1.0.ph.reload, i32* %sv_1.1.lcssa.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem store i8 %37, i8* %.lcssa5.reg2mem br i1 %or.cond, label LBL_2, label LBL_14 LBL_14: %.lcssa5.reload = load i8, i8* %.lcssa5.reg2mem %43 = icmp eq i8 %.lcssa5.reload, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_16, label LBL_15 LBL_15: %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem %45 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_5, i64 0, i64 0), i64 %rsi.1.lcssa.reload, i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_16: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %46 = add i64 %sv_0.1.lcssa.reload, 1 %47 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4 %48 = add i32 %47, 1 store i32 %48, i32* bitcast (i64* @gv_6 to i32*), align 8 %49 = zext i32 %47 to i64 %50 = bitcast i64* %sv_3 to i8* %51 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %50, i32 32, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_7, i64 0, i64 0), i64 %49) %52 = call i64 @FUNC(i64* nonnull %sv_3, i64 %46, i64 0) %53 = icmp eq i64 %52, 0 %54 = icmp eq i1 %53, false store i64 0, i64* %rax.0.reg2mem br i1 %54, label LBL_17, label LBL_23 LBL_17: %55 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_8, i64 0, i64 0)) %56 = icmp eq i64 %55, 0 %57 = icmp eq i1 %56, false store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_18, label LBL_23 LBL_18: %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem %58 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0), i64 %52) %59 = icmp eq i32 %sv_1.1.lcssa.reload, 0 br i1 %59, label LBL_20, label LBL_19 LBL_19: %60 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0), i32 %sv_1.1.lcssa.reload) br label LBL_20 LBL_20: %61 = icmp eq i32 %sv_2.1.lcssa.reload, 0 br i1 %61, label LBL_22, label LBL_21 LBL_21: %62 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i32 %sv_2.1.lcssa.reload) br label LBL_22 LBL_22: %63 = call i64 @FUNC(i64 %55) store i64 %55, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_2.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i64 %55, { 0, 3, 2, 1, 4, 5 } uselistorder i8 %37, { 0, 2, 1, 3 } uselistorder i64 %sv_0.0.reload, { 0, 3, 1, 2 } uselistorder i8* %27, { 4, 0, 1, 2, 5, 3, 6 } uselistorder i8* %15, { 4, 0, 1, 2, 5, 3, 6 } uselistorder i64 %sv_0.133.reload, { 2, 0, 1 } uselistorder i8** %sv_5, { 2, 4, 3, 1, 0, 5 } uselistorder i8** %sv_4, { 2, 4, 1, 3, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %sv_0.133.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.132.reg2mem, { 1, 0, 2 } uselistorder i64* %rcx.131.reg2mem, { 1, 0 } uselistorder i32* %sv_2.130.reg2mem, { 1, 0, 2 } uselistorder i8** %.lcssa60.reg2mem, { 0, 2, 1 } uselistorder i8** %.lcssa62.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 6, 5, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i32)* @qdev_prop_set_uint16, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qemu_error, { 0, 3, 2, 1 } uselistorder i8 44, { 2, 0, 1 } uselistorder i64 (i64, i8*, i64*)* @strstart, { 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 2, 3, 0, 1, 8 } uselistorder i8 58, { 1, 2, 3, 0 } uselistorder i8 0, { 4, 5, 1, 2, 0, 6, 3 } uselistorder i64 %arg1, { 1, 0, 2 } uselistorder label LBL_23, { 2, 0, 1, 6, 3, 4, 5 } uselistorder label LBL_10, { 2, 1, 0, 5, 4, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
jpeg_skip_variable2_9489
jpeg_skip_variable2
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = mul i32 %2, 256 %10 = and i32 %9, 65280 %11 = urem i32 %6, 256 %12 = or i32 %11, %10 %13 = add nsw i32 %12, -2 store i32 %13, i32* %sv_0.0.reg2mem br label LBL_4 LBL_3: %14 = add i32 %sv_0.0.reload, -1 %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false store i32 %14, i32* %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_5 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %19 = icmp eq i32 %sv_0.0.reload, 0 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 256, { 1, 0 } uselistorder i64 (i64)* @ReadBlobByte, { 2, 1, 0 } }
0
BinRealVul
tg3_test_link_8478
tg3_test_link
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = urem i32 %7, 2 %9 = icmp eq i32 %8, 0 %. = select i1 %9, i32 5, i32 10 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 0 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_4 LBL_3: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %14 = call i64 @FUNC(i64 1000) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = add nuw nsw i32 %storemerge2.reload, 1 %18 = icmp ult i32 %17, %. %or.cond = icmp eq i1 %18, %16 store i32 %17, i32* %storemerge2.reg2mem store i64 4294967291, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_2, label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 0, 3, 4 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
fbcon_get_font_7182
fbcon_get_font
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.49.reg2mem = alloca i64 %sv_1.410.reg2mem = alloca i64 %storemerge411.reg2mem = alloca i32 %sv_0.317.reg2mem = alloca i64 %sv_1.318.reg2mem = alloca i64 %storemerge219.reg2mem = alloca i32 %.reg2mem = alloca i32 %storemerge3.lcssa.reg2mem = alloca i32 %sv_1.2.lcssa.reg2mem = alloca i64 %sv_0.2.lcssa.reg2mem = alloca i64 %sv_0.212.reg2mem = alloca i64 %sv_1.213.reg2mem = alloca i64 %storemerge314.reg2mem = alloca i32 %sv_0.120.reg2mem = alloca i64 %sv_1.121.reg2mem = alloca i64 %storemerge122.reg2mem = alloca i32 %sv_0.023.reg2mem = alloca i64 %sv_1.024.reg2mem = alloca i64 %storemerge25.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = add i64 %1, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %0, 12 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %1, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %. = select i1 %15, i32 256, i32 512 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i32* store i32 %., i32* %17, align 4 %18 = icmp eq i64* %arg2, null %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_1, label LBL_18 LBL_1: %20 = load i32, i32* %6, align 4 %21 = icmp sgt i32 %20, 8 br i1 %21, label LBL_5, label LBL_2 LBL_2: %22 = load i32, i32* %8, align 4 %23 = mul i32 %22, %. %24 = icmp eq i32 %23, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %24, label LBL_3, label LBL_18 LBL_3: %25 = sub i32 32, %22 %26 = sext i32 %22 to i64 store i32 0, i32* %storemerge25.reg2mem store i64 %0, i64* %sv_1.024.reg2mem store i64 %1, i64* %sv_0.023.reg2mem br label LBL_4 LBL_4: %sv_0.023.reload = load i64, i64* %sv_0.023.reg2mem %sv_1.024.reload = load i64, i64* %sv_1.024.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %27 = inttoptr i64 %sv_1.024.reload to i64* %28 = inttoptr i64 %sv_0.023.reload to i64* %29 = call i64* @memcpy(i64* %27, i64* %28, i32 %22) %30 = add i64 %sv_1.024.reload, %26 %31 = inttoptr i64 %30 to i64* %32 = call i64* @memset(i64* %31, i32 0, i32 %25) %33 = add i64 %sv_1.024.reload, 32 %34 = add i64 %sv_0.023.reload, %26 %35 = add i32 %storemerge25.reload, 1 %36 = load i32, i32* %17, align 4 %37 = zext i32 %36 to i64 %38 = sext i32 %35 to i64 %39 = icmp slt i64 %38, %37 store i32 %35, i32* %storemerge25.reg2mem store i64 %33, i64* %sv_1.024.reg2mem store i64 %34, i64* %sv_0.023.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %39, label LBL_4, label LBL_18 LBL_5: %40 = icmp sgt i32 %20, 16 br i1 %40, label LBL_9, label LBL_6 LBL_6: %41 = load i32, i32* %8, align 4 %42 = mul i32 %41, 2 %43 = mul i32 %42, %. %44 = icmp eq i32 %43, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %44, label LBL_7, label LBL_18 LBL_7: %45 = sub i32 64, %42 %46 = sext i32 %42 to i64 store i32 0, i32* %storemerge122.reg2mem store i64 %0, i64* %sv_1.121.reg2mem store i64 %1, i64* %sv_0.120.reg2mem br label LBL_8 LBL_8: %sv_0.120.reload = load i64, i64* %sv_0.120.reg2mem %sv_1.121.reload = load i64, i64* %sv_1.121.reg2mem %storemerge122.reload = load i32, i32* %storemerge122.reg2mem %47 = inttoptr i64 %sv_1.121.reload to i64* %48 = inttoptr i64 %sv_0.120.reload to i64* %49 = call i64* @memcpy(i64* %47, i64* %48, i32 %42) %50 = add i64 %sv_1.121.reload, %46 %51 = inttoptr i64 %50 to i64* %52 = call i64* @memset(i64* %51, i32 0, i32 %45) %53 = add i64 %sv_1.121.reload, 64 %54 = add i64 %sv_0.120.reload, %46 %55 = add i32 %storemerge122.reload, 1 %56 = load i32, i32* %17, align 4 %57 = zext i32 %56 to i64 %58 = sext i32 %55 to i64 %59 = icmp slt i64 %58, %57 store i32 %55, i32* %storemerge122.reg2mem store i64 %53, i64* %sv_1.121.reg2mem store i64 %54, i64* %sv_0.120.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %59, label LBL_8, label LBL_18 LBL_9: %60 = icmp sgt i32 %20, 24 %61 = load i32, i32* %8, align 4 br i1 %60, label LBL_15, label LBL_10 LBL_10: %62 = zext i32 %. to i64 %63 = sext i32 %61 to i64 %64 = mul nsw i64 %63, %62 %65 = icmp eq i64 %64, 0 store i32 %61, i32* %.reg2mem store i32 0, i32* %storemerge219.reg2mem store i64 %0, i64* %sv_1.318.reg2mem store i64 %1, i64* %sv_0.317.reg2mem store i64 4294967274, i64* %rax.0.reg2mem br i1 %65, label LBL_14, label LBL_18 LBL_11: %sv_0.212.reload = load i64, i64* %sv_0.212.reg2mem %sv_1.213.reload = load i64, i64* %sv_1.213.reg2mem %storemerge314.reload = load i32, i32* %storemerge314.reg2mem %66 = add i64 %sv_1.213.reload, 1 %67 = inttoptr i64 %sv_0.212.reload to i8* %68 = load i8, i8* %67, align 1 %69 = inttoptr i64 %sv_1.213.reload to i8* store i8 %68, i8* %69, align 1 %70 = add i64 %sv_1.213.reload, 2 %71 = add i64 %sv_0.212.reload, 1 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = inttoptr i64 %66 to i8* store i8 %73, i8* %74, align 1 %75 = add i64 %sv_1.213.reload, 3 %76 = add i64 %sv_0.212.reload, 2 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = inttoptr i64 %70 to i8* store i8 %78, i8* %79, align 1 %80 = add i64 %sv_0.212.reload, 4 %81 = add i32 %storemerge314.reload, 1 %82 = load i32, i32* %8, align 4 %83 = zext i32 %82 to i64 %84 = sext i32 %81 to i64 %85 = icmp slt i64 %84, %83 store i32 %81, i32* %storemerge314.reg2mem store i64 %75, i64* %sv_1.213.reg2mem store i64 %80, i64* %sv_0.212.reg2mem store i64 %80, i64* %sv_0.2.lcssa.reg2mem store i64 %75, i64* %sv_1.2.lcssa.reg2mem store i32 %81, i32* %storemerge3.lcssa.reg2mem br i1 %85, label LBL_11, label LBL_12 LBL_12: %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem %sv_1.2.lcssa.reload = load i64, i64* %sv_1.2.lcssa.reg2mem %86 = sub i32 32, %storemerge3.lcssa.reload %87 = mul i32 %86, 3 %88 = inttoptr i64 %sv_1.2.lcssa.reload to i64* %89 = call i64* @memset(i64* %88, i32 0, i32 %87) %90 = add i32 %storemerge219.reload, 1 %91 = load i32, i32* %17, align 4 %92 = zext i32 %91 to i64 %93 = sext i32 %90 to i64 %94 = icmp slt i64 %93, %92 store i64 0, i64* %rax.0.reg2mem br i1 %94, label LBL_12.LBL_14_crit_edge, label LBL_18 LBL_13: %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem %95 = sext i32 %87 to i64 %96 = add i64 %sv_1.2.lcssa.reload, %95 %.pre = load i32, i32* %8, align 4 store i32 %.pre, i32* %.reg2mem store i32 %90, i32* %storemerge219.reg2mem store i64 %96, i64* %sv_1.318.reg2mem store i64 %sv_0.2.lcssa.reload, i64* %sv_0.317.reg2mem br label LBL_14 LBL_14: %sv_0.317.reload = load i64, i64* %sv_0.317.reg2mem %sv_1.318.reload = load i64, i64* %sv_1.318.reg2mem %storemerge219.reload = load i32, i32* %storemerge219.reg2mem %.reload = load i32, i32* %.reg2mem %97 = icmp eq i32 %.reload, 0 store i32 0, i32* %storemerge314.reg2mem store i64 %sv_1.318.reload, i64* %sv_1.213.reg2mem store i64 %sv_0.317.reload, i64* %sv_0.212.reg2mem store i64 %sv_0.317.reload, i64* %sv_0.2.lcssa.reg2mem store i64 %sv_1.318.reload, i64* %sv_1.2.lcssa.reg2mem store i32 0, i32* %storemerge3.lcssa.reg2mem br i1 %97, label LBL_12, label LBL_11 LBL_15: %98 = mul i32 %61, 4 %99 = mul i32 %98, %. %100 = icmp eq i32 %99, 0 store i64 4294967274, i64* %rax.0.reg2mem br i1 %100, label LBL_16, label LBL_18 LBL_16: %101 = sub i32 128, %98 %102 = sext i32 %98 to i64 store i32 0, i32* %storemerge411.reg2mem store i64 %0, i64* %sv_1.410.reg2mem store i64 %1, i64* %sv_0.49.reg2mem br label LBL_17 LBL_17: %sv_0.49.reload = load i64, i64* %sv_0.49.reg2mem %sv_1.410.reload = load i64, i64* %sv_1.410.reg2mem %storemerge411.reload = load i32, i32* %storemerge411.reg2mem %103 = inttoptr i64 %sv_1.410.reload to i64* %104 = inttoptr i64 %sv_0.49.reload to i64* %105 = call i64* @memcpy(i64* %103, i64* %104, i32 %98) %106 = add i64 %sv_1.410.reload, %102 %107 = inttoptr i64 %106 to i64* %108 = call i64* @memset(i64* %107, i32 0, i32 %101) %109 = add i64 %sv_1.410.reload, 128 %110 = add i64 %sv_0.49.reload, %102 %111 = add i32 %storemerge411.reload, 1 %112 = load i32, i32* %17, align 4 %113 = zext i32 %112 to i64 %114 = sext i32 %111 to i64 %115 = icmp slt i64 %114, %113 store i32 %111, i32* %storemerge411.reg2mem store i64 %109, i64* %sv_1.410.reg2mem store i64 %110, i64* %sv_0.49.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %115, label LBL_17, label LBL_18 LBL_18: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.410.reload, { 0, 2, 1 } uselistorder i64 %sv_0.49.reload, { 1, 0 } uselistorder i32 %98, { 1, 2, 0, 3 } uselistorder i64 %sv_1.318.reload, { 1, 0 } uselistorder i64 %sv_0.317.reload, { 1, 0 } uselistorder i64 %sv_1.2.lcssa.reload, { 1, 0 } uselistorder i64 %sv_1.213.reload, { 3, 2, 0, 1 } uselistorder i32 %61, { 1, 0, 2 } uselistorder i64 %sv_1.121.reload, { 1, 2, 0 } uselistorder i64 %sv_0.120.reload, { 1, 0 } uselistorder i32 %42, { 2, 0, 1, 3 } uselistorder i64 %sv_1.024.reload, { 1, 2, 0 } uselistorder i64 %sv_0.023.reload, { 1, 0 } uselistorder i32 %22, { 1, 2, 3, 0 } uselistorder i32* %17, { 3, 2, 1, 0, 4 } uselistorder i32 %., { 0, 3, 1, 2, 4 } uselistorder i32* %8, { 0, 3, 4, 2, 1, 5 } uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.024.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.023.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge122.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.121.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.120.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge314.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_1.213.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.212.reg2mem, { 1, 2, 0 } uselistorder i64* %sv_0.2.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.2.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge3.lcssa.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge219.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_1.318.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.317.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.410.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.49.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 6, 2, 7, 1, 8, 9 } uselistorder i64 2, { 1, 0 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 2, 0, 3 } uselistorder i32 0, { 10, 0, 7, 2, 3, 6, 11, 1, 12, 4, 8, 13, 5, 9, 14 } uselistorder label LBL_18, { 3, 4, 2, 5, 1, 6, 0, 7, 8 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
fifo_deinit_17263
fifo_deinit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i64* %10 = call i32 @pthread_mutex_destroy(i64* %9) %11 = sext i32 %10 to i64 ret i64 %11 }
1
BinRealVul
get_slice_offset_15149
get_slice_offset
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i32* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = sext i32 %arg3 to i64 %9 = mul i64 %8, 4 %10 = add i64 %7, %9 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 store i64 %13, i64* %storemerge2.reg2mem br label LBL_5 LBL_2: %14 = ptrtoint i64* %arg2 to i64 %15 = mul i32 %arg3, 8 %16 = sext i32 %15 to i64 %17 = add i64 %16, %14 %18 = add i64 %17, -4 %19 = call i64 @FUNC(i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = call i64 @FUNC(i64 %17) store i64 %23, i64* %storemerge2.reg2mem br label LBL_5 LBL_4: %24 = call i64 @FUNC(i64 %17) store i64 %24, i64* %storemerge2.reg2mem br label LBL_5 LBL_5: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem ret i64 %storemerge2.reload uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @AV_RL32, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
sdhci_send_command_3237
sdhci_send_command
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = load i32, i32* %0 %4 = load i32, i32* %0 %5 = load i32, i32* %0 %6 = load i32, i32* %0 %7 = load i32, i32* %0 %8 = load i32, i32* %0 %9 = load i32, i32* %0 %10 = load i32, i32* %0 %11 = load i32, i32* %0 %12 = load i32, i32* %0 %13 = load i32, i32* %0 %14 = load i32, i32* %0 %15 = load i32, i32* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %16 = add i64 %1, 24 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %1, 28 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = bitcast i64* %rdi to i32* %21 = load i32, i32* %20, align 8 %22 = udiv i32 %21, 256 store i32 %22, i32* %sv_1, align 4 %23 = add i64 %1, 4 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = zext i32 %25 to i64 %27 = zext i32 %22 to i64 %28 = call i64 @FUNC(i64 %27, i64 %26) %29 = add i64 %1, 56 %30 = bitcast i32* %sv_0 to i64* %31 = call i64 @FUNC(i64 %29, i32* nonnull %sv_1, i64* nonnull %30) %32 = urem i32 %21, 2 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_7, label LBL_1 LBL_1: %34 = trunc i64 %31 to i32 %35 = icmp eq i32 %34, 4 %36 = icmp eq i1 %35, false br i1 %36, label LBL_3, label LBL_2 LBL_2: %37 = load i32, i32* %sv_0, align 4 %38 = mul i32 %37, 16777216 %39 = mul i32 %15, 65536 %40 = and i32 %39, 16711680 %41 = mul i32 %14, 256 %42 = and i32 %41, 65280 %43 = urem i32 %13, 256 %44 = or i32 %42, %43 %45 = or i32 %44, %40 %46 = or i32 %45, %38 %47 = add i64 %1, 8 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = add i64 %1, 20 %50 = inttoptr i64 %49 to i32* store i32 0, i32* %50, align 4 %51 = add i64 %1, 16 %52 = inttoptr i64 %51 to i32* store i32 0, i32* %52, align 4 %53 = add i64 %1, 12 %54 = inttoptr i64 %53 to i32* store i32 0, i32* %54, align 4 %55 = load i32, i32* %48, align 4 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %56) br label LBL_7 LBL_3: %58 = icmp eq i32 %34, 16 %59 = icmp eq i1 %58, false br i1 %59, label LBL_5, label LBL_4 LBL_4: %60 = mul i32 %12, 16777216 %61 = mul i32 %11, 65536 %62 = and i32 %61, 16711680 %63 = mul i32 %10, 256 %64 = and i32 %63, 65280 %65 = urem i32 %9, 256 %66 = or i32 %64, %65 %67 = or i32 %66, %62 %68 = or i32 %67, %60 %69 = add i64 %1, 8 %70 = inttoptr i64 %69 to i32* store i32 %68, i32* %70, align 4 %71 = mul i32 %8, 16777216 %72 = mul i32 %7, 65536 %73 = and i32 %72, 16711680 %74 = mul i32 %6, 256 %75 = and i32 %74, 65280 %76 = urem i32 %5, 256 %77 = or i32 %75, %76 %78 = or i32 %77, %73 %79 = or i32 %78, %71 %80 = add i64 %1, 12 %81 = inttoptr i64 %80 to i32* store i32 %79, i32* %81, align 4 %82 = mul i32 %13, 16777216 %83 = mul i32 %4, 65536 %84 = and i32 %83, 16711680 %85 = mul i32 %3, 256 %86 = and i32 %85, 65280 %87 = urem i32 %2, 256 %88 = or i32 %86, %87 %89 = or i32 %88, %84 %90 = or i32 %89, %82 %91 = add i64 %1, 16 %92 = inttoptr i64 %91 to i32* store i32 %90, i32* %92, align 4 %93 = load i32, i32* %sv_0, align 4 %94 = mul i32 %93, 65536 %95 = and i32 %94, 16711680 %96 = mul i32 %15, 256 %97 = and i32 %96, 65280 %98 = urem i32 %14, 256 %99 = or i32 %97, %98 %100 = or i32 %99, %95 %101 = add i64 %1, 20 %102 = inttoptr i64 %101 to i32* store i32 %100, i32* %102, align 4 %103 = load i32, i32* %70, align 4 %104 = load i32, i32* %81, align 4 %105 = load i32, i32* %92, align 4 %106 = zext i32 %100 to i64 %107 = call i64 @FUNC(i64 %106, i32 %105, i32 %104, i32 %103) br label LBL_7 LBL_5: %108 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) %109 = add i64 %1, 40 %110 = inttoptr i64 %109 to i32* %111 = load i32, i32* %110, align 4 %112 = and i32 %111, 4 %113 = icmp eq i32 %112, 0 br i1 %113, label LBL_7, label LBL_6 LBL_6: %114 = load i32, i32* %17, align 4 %115 = or i32 %114, 32 store i32 %115, i32* %17, align 4 %116 = add i64 %1, 32 %117 = inttoptr i64 %116 to i32* %118 = load i32, i32* %117, align 4 %119 = or i32 %118, 64 store i32 %119, i32* %117, align 4 br label LBL_7 LBL_7: %120 = add i64 %1, 36 %121 = inttoptr i64 %120 to i32* %122 = load i32, i32* %121, align 4 %123 = and i32 %122, 16 %124 = icmp eq i32 %123, 0 br i1 %124, label LBL_9, label LBL_8 LBL_8: %125 = add i64 %1, 32 %126 = inttoptr i64 %125 to i32* %127 = load i32, i32* %126, align 4 %128 = or i32 %127, 256 store i32 %128, i32* %126, align 4 br label LBL_9 LBL_9: %129 = call i64 @FUNC(i64 %1) %130 = add i64 %1, 44 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = icmp eq i32 %132, 0 store i64 0, i64* %rax.0.reg2mem br i1 %133, label LBL_12, label LBL_10 LBL_10: %134 = load i32, i32* %20, align 8 %135 = and i32 %134, 512 %136 = icmp eq i32 %135, 0 store i64 0, i64* %rax.0.reg2mem br i1 %136, label LBL_12, label LBL_11 LBL_11: %137 = add i64 %1, 48 %138 = inttoptr i64 %137 to i32* store i32 0, i32* %138, align 4 %139 = call i64 @FUNC(i64 %1) store i64 %139, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 1, 0 } uselistorder i32 %21, { 1, 0 } uselistorder i32* %17, { 1, 0, 2 } uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i32 %15, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %1, { 10, 11, 12, 13, 15, 14, 8, 9, 4, 5, 6, 7, 0, 1, 2, 3, 16, 17, 18, 19 } uselistorder i32* %0, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 4, { 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i32 256, { 11, 5, 0, 6, 1, 7, 2, 8, 3, 9, 4, 10 } uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1, 7, 8, 9, 10 } }
0
BinRealVul
hci_uart_tty_close_9622
hci_uart_tty_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %0) store i64 0, i64* %arg1, align 8 %2 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_6, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_0 to i64)) %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 0, i64 %4) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 0 %.pre = add i64 %0, 24 br i1 %7, label LBL_5, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %.pre) %9 = call i64 @FUNC(i64 0, i64 %4) %10 = call i64 @FUNC(i64 %.pre) %11 = add i64 %0, 32 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 1, i64 %4) %14 = trunc i64 %13 to i8 %15 = icmp eq i8 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_0 to i64)) br label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_0 to i64)) br label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 2, i64 %4) %19 = call i64 @FUNC(i64 %.pre) %20 = call i64 @FUNC(i64 %0) store i64 %20, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pre, { 0, 2, 1 } uselistorder i64 %4, { 2, 0, 1, 3 } uselistorder i64 %0, { 3, 2, 1, 4, 0, 5 } uselistorder i64 (i64, i64)* @clear_bit, { 1, 0 } uselistorder i64 (i64, i64)* @test_bit, { 1, 0 } uselistorder [7 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
sctp_assoc_sync_pmtu_8776
sctp_assoc_sync_pmtu
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi18.reg2mem = alloca i32* %.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %rdi.14.reg2mem = alloca i64 %storemerge7.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_10, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 16 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %storemerge7.in.reg2mem store i64 %3, i64* %rdi.14.reg2mem store i32 0, i32* %sv_0.13.reg2mem br i1 %6, label LBL_2, label LBL_6.LBL_9_crit_edge LBL_2: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %rdi.14.reload = load i64, i64* %rdi.14.reg2mem %storemerge7.in.reload = load i64, i64* %storemerge7.in.reg2mem %storemerge7 = inttoptr i64 %storemerge7.in.reload to i32* %7 = load i32, i32* %storemerge7, align 4 %8 = icmp eq i32 %7, 0 store i64 %rdi.14.reload, i64* %rdi.0.reg2mem br i1 %8, label LBL_5, label LBL_3 LBL_3: %9 = add i64 %storemerge7.in.reload, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 store i64 %rdi.14.reload, i64* %rdi.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %11) %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %storemerge7.in.reload, i64 %14) store i32 0, i32* %storemerge7, align 4 store i64 %storemerge7.in.reload, i64* %rdi.0.reg2mem br label LBL_5 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.pre = add i64 %storemerge7.in.reload, 16 %.pre9 = inttoptr i64 %.pre to i32* %.pre19 = load i32, i32* %.pre9, align 4 %16 = add i32 %sv_0.13.reload, -1 %17 = icmp ult i32 %16, %.pre19 %sv_0.0 = select i1 %17, i32 %sv_0.13.reload, i32 %.pre19 %18 = add i64 %storemerge7.in.reload, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false store i64 %20, i64* %storemerge7.in.reg2mem store i64 %rdi.0.reload, i64* %rdi.14.reg2mem store i32 %sv_0.0, i32* %sv_0.13.reg2mem br i1 %22, label LBL_2, label LBL_6 LBL_6: %23 = icmp eq i32 %sv_0.0, 0 br i1 %23, label LBL_6.LBL_9_crit_edge, label LBL_8 LBL_7: %.pre11 = add i64 %3, 12 %.pre13 = inttoptr i64 %.pre11 to i32* %.pre15 = add i64 %3, 8 %.pre17 = inttoptr i64 %.pre15 to i32* %.pre20 = load i32, i32* %.pre13, align 4 store i32 %.pre20, i32* %.reg2mem store i32* %.pre17, i32** %.pre-phi18.reg2mem br label LBL_9 LBL_8: %24 = call i64 @FUNC(i64 %rdi.0.reload) %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i32* store i32 %sv_0.0, i32* %26, align 4 %27 = zext i32 %sv_0.0 to i64 %28 = call i64 @FUNC(i64 %24, i64 %27) %29 = trunc i64 %28 to i32 %30 = add i64 %3, 12 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 store i32 %29, i32* %.reg2mem store i32* %26, i32** %.pre-phi18.reg2mem br label LBL_9 LBL_9: %.pre-phi18.reload = load i32*, i32** %.pre-phi18.reg2mem %.reload = load i32, i32* %.reg2mem %32 = load i32, i32* %.pre-phi18.reload, align 4 %33 = zext i32 %.reload to i64 %34 = zext i32 %32 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %34, i64 %33, i64 %1) store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0, { 2, 1, 3, 0 } uselistorder i64 %storemerge7.in.reload, { 3, 2, 0, 5, 4, 1 } uselistorder i32 %sv_0.13.reload, { 1, 0 } uselistorder i64 %3, { 5, 3, 4, 1, 2, 0, 6 } uselistorder i64* %storemerge7.in.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.14.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64 12, { 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i32 0, { 3, 1, 2, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6.LBL_9_crit_edge, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_h264_build_ref_list_12
ff_h264_build_ref_list
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.1240.reg2mem = alloca i64 %storemerge41.reg2mem = alloca i32 %.reg2mem148 = alloca i64 %.reg2mem146 = alloca i32 %rdi.11.lcssa.reg2mem = alloca i64 %.reg2mem144 = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi.10.reg2mem = alloca i64 %rdi.1138.reg2mem = alloca i64 %storemerge339.reg2mem = alloca i32 %.reg2mem142 = alloca i64 %rdi.8.lcssa.reg2mem = alloca i64 %sv_0.3.lcssa.reg2mem = alloca i32 %.reg2mem140 = alloca i32 %.reg2mem138 = alloca i32 %.reg2mem136 = alloca i32 %rdi.7.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_1.012.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %indvars.iv87.reg2mem = alloca i64 %storemerge7.lcssa.reg2mem = alloca i32 %storemerge750.reg2mem = alloca i32 %.reg2mem134 = alloca i32 %sv_1.013.reg2mem = alloca i32 %sv_0.015.reg2mem = alloca i32 %rcx.616.reg2mem = alloca i64 %rdi.617.reg2mem = alloca i64 %sv_1.092.reg2mem = alloca i32 %sv_2.293.reg2mem = alloca i32* %rdi.6.reg2mem = alloca i64 %rcx.6.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32* %sv_1.0.reg2mem = alloca i32 %rdi.4.ph.reg2mem = alloca i64 %rcx.4.ph.reg2mem = alloca i64 %.reg2mem132 = alloca i32 %rdi.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %rcx.243.reg2mem = alloca i64 %rdi.244.reg2mem = alloca i64 %storemerge845.reg2mem = alloca i32 %sv_1.155.reg2mem = alloca i32 %sv_0.356.reg2mem = alloca i32 %rdi.857.reg2mem = alloca i64 %storemerge658.reg2mem = alloca i32 %.reg2mem130 = alloca i64 %sv_0.463.reg2mem = alloca i32 %rdi.964.reg2mem = alloca i64 %storemerge565.reg2mem = alloca i32 %.reg2mem128 = alloca i64 %.reg2mem126 = alloca i32 %.reg2mem124 = alloca i32 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i32, align 4 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5) %8 = call i64 @FUNC(i64 %5, i64 %4) %9 = trunc i64 %3 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_59, label LBL_1 LBL_1: %11 = bitcast i64* %rsi to i32* %12 = add i64 %4, 4 %13 = inttoptr i64 %12 to i32* %14 = bitcast i32* %sv_3 to i64* %15 = add i64 %5, 32 %16 = add i64 %4, 216 %17 = inttoptr i64 %16 to i32* %18 = add i64 %5, 8 %19 = inttoptr i64 %18 to i32* %20 = add i64 %5, 16 %21 = add i64 %4, 208 %22 = add i64 %4, 8 store i32 %9, i32* %.reg2mem store i32 %9, i32* %.reg2mem124 store i32 %9, i32* %.reg2mem126 store i64 0, i64* %.reg2mem128 store i32 0, i32* %storemerge565.reg2mem store i64 %5, i64* %rdi.964.reg2mem br label LBL_2 LBL_2: %sv_0.463.reload = load i32, i32* %sv_0.463.reg2mem %rdi.964.reload = load i64, i64* %rdi.964.reg2mem %storemerge565.reload = load i32, i32* %storemerge565.reg2mem %.reload129 = load i64, i64* %.reg2mem128 %.reload127 = load i32, i32* %.reg2mem126 %.reload125 = load i32, i32* %.reg2mem124 %.reload = load i32, i32* %.reg2mem %23 = mul i64 %.reload129, 4 %24 = add i64 %22, %23 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 store i32 %.reload, i32* %.reg2mem136 store i32 %.reload125, i32* %.reg2mem138 store i32 %.reload127, i32* %.reg2mem140 store i32 %sv_0.463.reload, i32* %sv_0.3.lcssa.reg2mem store i64 %rdi.964.reload, i64* %rdi.8.lcssa.reg2mem br i1 %27, label LBL_42, label LBL_3 LBL_3: %28 = load i32, i32* %13, align 4 %29 = mul i64 %.reload129, 2 %30 = mul nsw i64 %.reload129, 80 %31 = add i64 %30, %4 %32 = add i64 %31, 48 %33 = add i64 %23, %21 %34 = inttoptr i64 %33 to i32* store i64 0, i64* %.reg2mem130 store i32 0, i32* %storemerge658.reg2mem store i64 %rdi.964.reload, i64* %rdi.857.reg2mem store i32 %sv_0.463.reload, i32* %sv_0.356.reg2mem store i32 %28, i32* %sv_1.155.reg2mem br label LBL_4 LBL_4: %sv_1.155.reload = load i32, i32* %sv_1.155.reg2mem %storemerge658.reload = load i32, i32* %storemerge658.reg2mem %.reload131 = load i64, i64* %.reg2mem130 %35 = add nsw i64 %.reload131, %29 %36 = mul i64 %35, 8 %37 = add i64 %36, %4 %38 = add i64 %37, 16 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = add i64 %37, 20 %42 = inttoptr i64 %41 to i32* %43 = load i32, i32* %42, align 4 %44 = icmp ult i32 %40, 2 br i1 %44, label LBL_6, label LBL_5 LBL_5: %45 = icmp eq i32 %40, 2 br i1 %45, label LBL_17, label LBL_25 LBL_6: %46 = add i32 %43, 1 %47 = load i32, i32* %17, align 4 %48 = icmp ugt i32 %46, %47 br i1 %48, label LBL_7, label LBL_8 LBL_7: %rdi.857.reload = load i64, i64* %rdi.857.reg2mem %49 = call i64 @FUNC(i64 %rdi.857.reload, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %.reload131, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_61 LBL_8: %50 = icmp eq i32 %40, 0 %51 = icmp eq i1 %50, false %52 = sub i32 0, %43 %53 = sub i32 %52, 1 %storemerge9.p = select i1 %51, i32 %46, i32 %53 %storemerge9 = add i32 %storemerge9.p, %sv_1.155.reload %54 = add i32 %47, -1 %55 = and i32 %54, %storemerge9 %56 = zext i32 %55 to i64 %57 = call i64 @FUNC(i64 %5, i64 %56, i64* nonnull %14) %58 = trunc i64 %57 to i32 %59 = load i32, i32* %19, align 4 %storemerge842 = add i32 %59, -1 %60 = icmp slt i32 %storemerge842, 0 %61 = icmp eq i1 %60, false store i32 %storemerge842, i32* %storemerge845.reg2mem store i64 %5, i64* %rdi.244.reg2mem store i64 %56, i64* %rcx.243.reg2mem store i32 %55, i32* %sv_1.0.reg2mem store i32* null, i32** %sv_2.2.reg2mem store i32 %storemerge842, i32* %sv_0.0.reg2mem store i64 %56, i64* %rcx.6.reg2mem store i64 %5, i64* %rdi.6.reg2mem br i1 %61, label LBL_9, label LBL_26 LBL_9: %rcx.243.reload = load i64, i64* %rcx.243.reg2mem %rdi.244.reload = load i64, i64* %rdi.244.reg2mem %storemerge845.reload = load i32, i32* %storemerge845.reg2mem %62 = sext i32 %storemerge845.reload to i64 %63 = mul i64 %62, 8 %64 = add i64 %20, %63 %65 = inttoptr i64 %64 to i64* %66 = load i64, i64* %65, align 8 %67 = inttoptr i64 %66 to i32* %68 = load i32, i32* %67, align 4 %69 = icmp eq i32 %68, 0 %70 = icmp eq i1 %69, false store i64 %rcx.243.reload, i64* %rcx.0.reg2mem store i64 %rdi.244.reload, i64* %rdi.0.reg2mem br i1 %70, label LBL_11, label LBL_10 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 91, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0)) store i64 ptrtoint ([23 x i8]* @gv_3 to i64), i64* %rcx.0.reg2mem store i64 ptrtoint ([15 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem br label LBL_11 LBL_11: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %71 = add i64 %66, 4 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 0 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %74, label LBL_13, label LBL_12 LBL_12: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 92, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0)) store i64 ptrtoint ([23 x i8]* @gv_3 to i64), i64* %rcx.1.reg2mem store i64 ptrtoint ([15 x i8]* @gv_4 to i64), i64* %rdi.1.reg2mem br label LBL_13 LBL_13: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %75 = add i64 %66, 8 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, %58 %79 = icmp eq i1 %78, false br i1 %79, label LBL_15, label LBL_14 LBL_14: %80 = load i32, i32* %67, align 4 %81 = load i32, i32* %sv_3, align 4 %82 = and i32 %81, %80 %83 = icmp eq i32 %82, 0 %84 = icmp eq i1 %83, false br i1 %84, label LBL_16, label LBL_15 LBL_15: %storemerge8 = add i32 %storemerge845.reload, -1 %85 = icmp slt i32 %storemerge8, 0 %86 = icmp eq i1 %85, false store i32 %storemerge8, i32* %storemerge845.reg2mem store i64 %rdi.1.reload, i64* %rdi.244.reg2mem store i64 %rcx.1.reload, i64* %rcx.243.reg2mem store i32 %55, i32* %sv_1.0.reg2mem store i32* %67, i32** %sv_2.2.reg2mem store i32 %storemerge8, i32* %sv_0.0.reg2mem store i64 %rcx.1.reload, i64* %rcx.6.reg2mem store i64 %rdi.1.reload, i64* %rdi.6.reg2mem br i1 %86, label LBL_9, label LBL_26 LBL_16: %87 = add i64 %66, 12 %88 = inttoptr i64 %87 to i32* store i32 %55, i32* %88, align 4 store i32 %55, i32* %sv_1.0.reg2mem store i32* %67, i32** %sv_2.2.reg2mem store i32 %storemerge845.reload, i32* %sv_0.0.reg2mem store i64 %rcx.1.reload, i64* %rcx.6.reg2mem store i64 %rdi.1.reload, i64* %rdi.6.reg2mem br label LBL_26 LBL_17: %89 = zext i32 %43 to i64 %90 = call i64 @FUNC(i64 %5, i64 %89, i64* nonnull %14) %91 = trunc i64 %90 to i32 %92 = icmp ult i32 %91, 32 br i1 %92, label LBL_19, label LBL_18 LBL_18: %93 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 %89, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_61 LBL_19: %sext = mul i64 %90, 4294967296 %94 = ashr exact i64 %sext, 29 %95 = add i64 %15, %94 %96 = inttoptr i64 %95 to i64* %97 = load i64, i64* %96, align 8 %98 = icmp eq i64 %97, 0 store i64 %5, i64* %rdi.617.reg2mem store i64 %89, i64* %rcx.616.reg2mem store i32 -1, i32* %sv_0.015.reg2mem store i32 %sv_1.155.reload, i32* %sv_1.013.reg2mem br i1 %98, label LBL_29, label LBL_20 LBL_20: %99 = inttoptr i64 %97 to i32* %100 = load i32, i32* %99, align 4 %101 = icmp eq i32 %100, 0 %102 = icmp eq i1 %101, false store i32 %100, i32* %.reg2mem132 store i64 %89, i64* %rcx.4.ph.reg2mem store i64 %5, i64* %rdi.4.ph.reg2mem br i1 %102, label LBL_22, label LBL_21 LBL_21: call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 108, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0)) %.pre = load i32, i32* %99, align 4 store i32 %.pre, i32* %.reg2mem132 store i64 ptrtoint ([23 x i8]* @gv_3 to i64), i64* %rcx.4.ph.reg2mem store i64 ptrtoint ([26 x i8]* @gv_6 to i64), i64* %rdi.4.ph.reg2mem br label LBL_22 LBL_22: %rdi.4.ph.reload = load i64, i64* %rdi.4.ph.reg2mem %rcx.4.ph.reload = load i64, i64* %rcx.4.ph.reg2mem %.reload133 = load i32, i32* %.reg2mem132 %103 = load i32, i32* %sv_3, align 4 %104 = and i32 %103, %.reload133 %105 = icmp eq i32 %104, 0 store i64 %rdi.4.ph.reload, i64* %rdi.617.reg2mem store i64 %rcx.4.ph.reload, i64* %rcx.616.reg2mem store i32 -1, i32* %sv_0.015.reg2mem store i32 %sv_1.155.reload, i32* %sv_1.013.reg2mem br i1 %105, label LBL_29, label LBL_23 LBL_23: %106 = add i64 %97, 12 %107 = inttoptr i64 %106 to i32* store i32 %43, i32* %107, align 4 %108 = add i64 %97, 4 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = icmp eq i32 %110, 0 %112 = icmp eq i1 %111, false store i32* %99, i32** %sv_2.293.reg2mem store i32 %sv_1.155.reload, i32* %sv_1.092.reg2mem br i1 %112, label LBL_27, label LBL_24 LBL_24: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 111, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0)) store i32* %99, i32** %sv_2.293.reg2mem store i32 %sv_1.155.reload, i32* %sv_1.092.reg2mem br label LBL_27 LBL_25: %sv_0.356.reload = load i32, i32* %sv_0.356.reg2mem %113 = call i64 @FUNC(i64 0) store i32 %sv_1.155.reload, i32* %sv_1.0.reg2mem store i32* null, i32** %sv_2.2.reg2mem store i32 %sv_0.356.reload, i32* %sv_0.0.reg2mem store i64 %.reload131, i64* %rcx.6.reg2mem store i64 0, i64* %rdi.6.reg2mem br label LBL_26 LBL_26: %rdi.6.reload = load i64, i64* %rdi.6.reg2mem %rcx.6.reload = load i64, i64* %rcx.6.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.2.reload = load i32*, i32** %sv_2.2.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %114 = icmp slt i32 %sv_0.0.reload, 0 %115 = icmp eq i1 %114, false store i32* %sv_2.2.reload, i32** %sv_2.293.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.092.reg2mem store i64 %rdi.6.reload, i64* %rdi.617.reg2mem store i64 %rcx.6.reload, i64* %rcx.616.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.015.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.013.reg2mem br i1 %115, label LBL_27, label LBL_29 LBL_27: %sv_1.092.reload = load i32, i32* %sv_1.092.reg2mem %sv_2.293.reload = load i32*, i32** %sv_2.293.reg2mem %116 = ptrtoint i32* %sv_2.293.reload to i64 %117 = add i32 %storemerge658.reload, 1 %118 = load i32, i32* %34, align 4 %119 = icmp ult i32 %117, %118 store i32 %storemerge658.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %119, label LBL_28, label LBL_38 LBL_28: %120 = add i64 %116, 12 %121 = inttoptr i64 %120 to i32* %122 = add i64 %116, 4 %123 = inttoptr i64 %122 to i32* store i32 %117, i32* %.reg2mem134 store i32 %storemerge658.reload, i32* %storemerge750.reg2mem br label LBL_30 LBL_29: %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %rcx.616.reload = load i64, i64* %rcx.616.reg2mem %rdi.617.reload = load i64, i64* %rdi.617.reg2mem %124 = call i64 @FUNC(i64 %rdi.617.reload, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_8, i64 0, i64 0), i64 %rcx.616.reload, i64 %2, i64 %1) %125 = mul nsw i64 %.reload131, 40 %126 = add i64 %125, %32 %127 = inttoptr i64 %126 to i64* %128 = call i64* @memset(i64* %127, i32 0, i32 40) %.pre91 = add i32 %storemerge658.reload, 1 store i32 %.pre91, i32* %.pre-phi.reg2mem store i32 %sv_1.013.reload, i32* %sv_1.012.reg2mem store i32 %sv_0.015.reload, i32* %sv_0.2.reg2mem store i64 %126, i64* %rdi.7.reg2mem br label LBL_40 LBL_30: %storemerge750.reload = load i32, i32* %storemerge750.reg2mem %.reload135 = load i32, i32* %.reg2mem134 %129 = sext i32 %storemerge750.reload to i64 %130 = mul nsw i64 %129, 40 %131 = add i64 %130, %31 %132 = add i64 %131, 64 %133 = inttoptr i64 %132 to i64* %134 = load i64, i64* %133, align 8 %135 = icmp eq i64 %134, 0 br i1 %135, label LBL_33, label LBL_31 LBL_31: %136 = load i32, i32* %123, align 4 %137 = add i64 %134, 4 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = icmp eq i32 %136, %139 %141 = icmp eq i1 %140, false br i1 %141, label LBL_33, label LBL_32 LBL_32: %142 = load i32, i32* %121, align 4 %143 = add i64 %131, 60 %144 = inttoptr i64 %143 to i32* %145 = load i32, i32* %144, align 4 %146 = icmp eq i32 %142, %145 store i32 %storemerge750.reload, i32* %storemerge7.lcssa.reg2mem br i1 %146, label LBL_34, label LBL_33 LBL_33: %147 = add i32 %.reload135, 1 %148 = icmp ult i32 %147, %118 store i32 %147, i32* %.reg2mem134 store i32 %.reload135, i32* %storemerge750.reg2mem store i32 %.reload135, i32* %storemerge7.lcssa.reg2mem br i1 %148, label LBL_30, label LBL_34 LBL_34: %storemerge7.lcssa.reload = load i32, i32* %storemerge7.lcssa.reg2mem %149 = icmp sgt i32 %storemerge7.lcssa.reload, %storemerge658.reload store i32 %storemerge7.lcssa.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %149, label LBL_35, label LBL_38 LBL_35: %150 = sext i32 %storemerge7.lcssa.reload to i64 %151 = sext i32 %storemerge658.reload to i64 store i64 %150, i64* %indvars.iv87.reg2mem br label LBL_36 LBL_36: %indvars.iv87.reload = load i64, i64* %indvars.iv87.reg2mem %indvars.iv.next88 = add nsw i64 %indvars.iv87.reload, -1 %152 = mul nsw i64 %indvars.iv87.reload, 40 %153 = add i64 %152, %31 %154 = add i64 %153, 48 %155 = mul nsw i64 %indvars.iv.next88, 40 %156 = add i64 %155, %31 %157 = add i64 %156, 48 %158 = inttoptr i64 %157 to i64* %159 = load i64, i64* %158, align 8 %160 = add i64 %156, 56 %161 = inttoptr i64 %160 to i64* %162 = load i64, i64* %161, align 8 %163 = inttoptr i64 %154 to i64* store i64 %159, i64* %163, align 8 %164 = add i64 %153, 56 %165 = inttoptr i64 %164 to i64* store i64 %162, i64* %165, align 8 %166 = add i64 %156, 64 %167 = inttoptr i64 %166 to i64* %168 = load i64, i64* %167, align 8 %169 = add i64 %156, 72 %170 = inttoptr i64 %169 to i64* %171 = load i64, i64* %170, align 8 %172 = add i64 %153, 64 %173 = inttoptr i64 %172 to i64* store i64 %168, i64* %173, align 8 %174 = add i64 %153, 72 %175 = inttoptr i64 %174 to i64* store i64 %171, i64* %175, align 8 %176 = add i64 %156, 80 %177 = inttoptr i64 %176 to i64* %178 = load i64, i64* %177, align 8 %179 = add i64 %153, 80 %180 = inttoptr i64 %179 to i64* store i64 %178, i64* %180, align 8 %181 = icmp sgt i64 %indvars.iv.next88, %151 store i64 %indvars.iv.next88, i64* %indvars.iv87.reg2mem br i1 %181, label LBL_36, label LBL_37 LBL_37: %182 = trunc i64 %indvars.iv.next88 to i32 store i32 %182, i32* %sv_0.1.lcssa.reg2mem br label LBL_38 LBL_38: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %183 = mul nsw i64 %.reload131, 40 %184 = add i64 %183, %32 %185 = call i64 @FUNC(i64 %184, i64 %116) %186 = call i64 @FUNC(i64 %5) %187 = trunc i64 %186 to i32 %188 = icmp eq i32 %187, 0 store i32 %117, i32* %.pre-phi.reg2mem store i32 %sv_1.092.reload, i32* %sv_1.012.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem store i64 %5, i64* %rdi.7.reg2mem br i1 %188, label LBL_40, label LBL_39 LBL_39: %189 = load i32, i32* %sv_3, align 4 %190 = zext i32 %189 to i64 %191 = call i64 @FUNC(i64 %184, i64 %190) store i32 %117, i32* %.pre-phi.reg2mem store i32 %sv_1.092.reload, i32* %sv_1.012.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem store i64 %184, i64* %rdi.7.reg2mem br label LBL_40 LBL_40: %rdi.7.reload = load i64, i64* %rdi.7.reg2mem %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %192 = load i32, i32* %25, align 4 %193 = zext i32 %192 to i64 %194 = sext i32 %.pre-phi.reload to i64 %195 = icmp slt i64 %194, %193 store i64 %194, i64* %.reg2mem130 store i32 %.pre-phi.reload, i32* %storemerge658.reg2mem store i64 %rdi.7.reload, i64* %rdi.857.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.356.reg2mem store i32 %sv_1.012.reload, i32* %sv_1.155.reg2mem br i1 %195, label LBL_4, label LBL_41 LBL_41: %.pre89 = load i32, i32* %11, align 8 store i32 %.pre89, i32* %.reg2mem136 store i32 %.pre89, i32* %.reg2mem138 store i32 %.pre89, i32* %.reg2mem140 store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem store i64 %rdi.7.reload, i64* %rdi.8.lcssa.reg2mem br label LBL_42 LBL_42: %rdi.8.lcssa.reload = load i64, i64* %rdi.8.lcssa.reg2mem %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem %.reload141 = load i32, i32* %.reg2mem140 %.reload139 = load i32, i32* %.reg2mem138 %.reload137 = load i32, i32* %.reg2mem136 %196 = add i32 %storemerge565.reload, 1 %197 = zext i32 %.reload141 to i64 %198 = sext i32 %196 to i64 %199 = icmp slt i64 %198, %197 store i32 %.reload137, i32* %.reg2mem store i32 %.reload139, i32* %.reg2mem124 store i32 %.reload141, i32* %.reg2mem126 store i64 %198, i64* %.reg2mem128 store i32 %196, i32* %storemerge565.reg2mem store i64 %rdi.8.lcssa.reload, i64* %rdi.964.reg2mem store i32 %sv_0.3.lcssa.reload, i32* %sv_0.463.reg2mem br i1 %199, label LBL_2, label LBL_43 LBL_43: %200 = icmp eq i32 %.reload139, 0 br i1 %200, label LBL_59, label LBL_44 LBL_44: %201 = add i64 %5, 368 store i32 %.reload137, i32* %.reg2mem146 store i64 0, i64* %.reg2mem148 store i32 0, i32* %storemerge41.reg2mem store i64 %rdi.8.lcssa.reload, i64* %rdi.1240.reg2mem br label LBL_57 LBL_45: %rdi.1138.reload = load i64, i64* %rdi.1138.reg2mem %storemerge339.reload = load i32, i32* %storemerge339.reg2mem %.reload143 = load i64, i64* %.reg2mem142 %202 = mul nsw i64 %.reload143, 40 %203 = add i64 %276, %202 %204 = add i64 %203, 64 %205 = inttoptr i64 %204 to i64* %206 = load i64, i64* %205, align 8 %207 = icmp eq i64 %206, 0 store i64 %rdi.1138.reload, i64* %rdi.10.reg2mem br i1 %207, label LBL_48, label LBL_46 LBL_46: %208 = call i64 @FUNC(i64 %5) %209 = trunc i64 %208 to i32 %210 = icmp eq i32 %209, 0 %211 = icmp eq i1 %210, false br i1 %211, label LBL_54, label LBL_47 LBL_47: %212 = add i64 %203, 48 %213 = inttoptr i64 %212 to i32* %214 = load i32, i32* %213, align 4 %215 = urem i32 %214, 4 %216 = icmp eq i32 %215, 3 store i64 %5, i64* %rdi.10.reg2mem br i1 %216, label LBL_54, label LBL_48 LBL_48: %rdi.10.reload = load i64, i64* %rdi.10.reg2mem %217 = load i32, i32* %280, align 4 %218 = zext i32 %217 to i64 %219 = call i64 @FUNC(i64 %rdi.10.reload, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_9, i64 0, i64 0), i64 %218, i64 %2, i64 %1) store i64 0, i64* %indvars.iv.reg2mem br label LBL_49 LBL_49: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %220 = mul i64 %indvars.iv.reload, 4 %221 = add i64 %201, %220 %222 = inttoptr i64 %221 to i32* store i32 -2147483648, i32* %222, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_50, label LBL_49 LBL_50: %223 = load i64, i64* %282, align 8 %224 = icmp eq i64 %223, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %224, label LBL_61, label LBL_51 LBL_51: %225 = call i64 @FUNC(i64 %5) %226 = trunc i64 %225 to i32 %227 = icmp eq i32 %226, 0 %228 = icmp eq i1 %227, false br i1 %228, label LBL_53, label LBL_52 LBL_52: %229 = load i32, i32* %284, align 4 %230 = urem i32 %229, 4 %231 = icmp eq i32 %230, 3 %232 = icmp eq i1 %231, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %232, label LBL_61, label LBL_53 LBL_53: %233 = add i64 %203, 48 %234 = load i64, i64* %285, align 8 %235 = load i64, i64* %287, align 8 %236 = inttoptr i64 %233 to i64* store i64 %234, i64* %236, align 8 %237 = add i64 %203, 56 %238 = inttoptr i64 %237 to i64* store i64 %235, i64* %238, align 8 %239 = load i64, i64* %282, align 8 %240 = load i64, i64* %289, align 8 store i64 %239, i64* %205, align 8 %241 = add i64 %203, 72 %242 = inttoptr i64 %241 to i64* store i64 %240, i64* %242, align 8 %243 = load i64, i64* %290, align 8 %244 = add i64 %203, 80 %245 = inttoptr i64 %244 to i64* store i64 %243, i64* %245, align 8 br label LBL_54 LBL_54: %246 = load i64, i64* %205, align 8 %247 = add i64 %246, 24 %248 = inttoptr i64 %247 to i64* %249 = load i64, i64* %248, align 8 %250 = inttoptr i64 %249 to i64* %251 = load i64, i64* %250, align 8 %252 = call i64 @FUNC(i64 %251) %253 = trunc i64 %252 to i32 %254 = icmp eq i32 %253, 0 %255 = icmp slt i32 %253, 0 %256 = icmp eq i1 %255, false %257 = icmp eq i1 %254, false %258 = icmp eq i1 %256, %257 %259 = zext i1 %258 to i64 %260 = call i64 @FUNC(i64 %259) %261 = add i32 %storemerge339.reload, 1 %262 = load i32, i32* %272, align 4 %263 = zext i32 %262 to i64 %264 = sext i32 %261 to i64 %265 = icmp slt i64 %264, %263 store i64 %264, i64* %.reg2mem142 store i32 %261, i32* %storemerge339.reg2mem store i64 %259, i64* %rdi.1138.reg2mem br i1 %265, label LBL_45, label LBL_55 LBL_55: %.pre90 = load i32, i32* %11, align 8 store i32 %.pre90, i32* %.reg2mem144 store i64 %259, i64* %rdi.11.lcssa.reg2mem br label LBL_56 LBL_56: %rdi.11.lcssa.reload = load i64, i64* %rdi.11.lcssa.reg2mem %.reload145 = load i32, i32* %.reg2mem144 %266 = add i32 %storemerge41.reload, 1 %267 = zext i32 %.reload145 to i64 %268 = sext i32 %266 to i64 %269 = icmp slt i64 %268, %267 store i32 %.reload145, i32* %.reg2mem146 store i64 %268, i64* %.reg2mem148 store i32 %266, i32* %storemerge41.reg2mem store i64 %rdi.11.lcssa.reload, i64* %rdi.1240.reg2mem br i1 %269, label LBL_57, label LBL_59 LBL_57: %rdi.1240.reload = load i64, i64* %rdi.1240.reg2mem %storemerge41.reload = load i32, i32* %storemerge41.reg2mem %.reload149 = load i64, i64* %.reg2mem148 %.reload147 = load i32, i32* %.reg2mem146 %270 = mul i64 %.reload149, 4 %271 = add i64 %270, %21 %272 = inttoptr i64 %271 to i32* %273 = load i32, i32* %272, align 4 %274 = icmp eq i32 %273, 0 store i32 %.reload147, i32* %.reg2mem144 store i64 %rdi.1240.reload, i64* %rdi.11.lcssa.reg2mem br i1 %274, label LBL_56, label LBL_45.lr.ph LBL_58: %275 = mul nsw i64 %.reload149, 80 %276 = add i64 %275, %4 %277 = mul nsw i64 %.reload149, 40 %278 = add i64 %277, %5 %279 = add i64 %278, 320 %280 = inttoptr i64 %279 to i32* %281 = add i64 %278, 304 %282 = inttoptr i64 %281 to i64* %283 = add i64 %278, 288 %284 = inttoptr i64 %283 to i32* %285 = inttoptr i64 %283 to i64* %286 = add i64 %278, 296 %287 = inttoptr i64 %286 to i64* %288 = add i64 %278, 312 %289 = inttoptr i64 %288 to i64* %290 = inttoptr i64 %279 to i64* store i64 0, i64* %.reg2mem142 store i32 0, i32* %storemerge339.reg2mem store i64 %rdi.1240.reload, i64* %rdi.1138.reg2mem br label LBL_45 LBL_59: %291 = call i64 @FUNC(i64 %5) %292 = trunc i64 %291 to i32 %293 = icmp eq i32 %292, 0 store i64 0, i64* %rax.0.reg2mem br i1 %293, label LBL_61, label LBL_60 LBL_60: %294 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_61 LBL_61: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %282, { 1, 0 } uselistorder i64 %278, { 2, 1, 0, 3, 4 } uselistorder i32 %253, { 1, 0 } uselistorder i64 %203, { 4, 3, 2, 1, 0, 5 } uselistorder i32 %.reload141, { 1, 0 } uselistorder i32 %.pre-phi.reload, { 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i64 %indvars.iv.next88, { 1, 0, 2, 3 } uselistorder i64 %indvars.iv87.reload, { 1, 0 } uselistorder i32 %storemerge7.lcssa.reload, { 2, 0, 1 } uselistorder i32 %117, { 1, 0, 2, 3 } uselistorder i64 %116, { 0, 2, 1 } uselistorder i32 %sv_1.092.reload, { 1, 0 } uselistorder i32* %99, { 1, 0, 2, 3 } uselistorder i64 %89, { 1, 0, 2, 3 } uselistorder i64 %rcx.1.reload, { 1, 0, 2 } uselistorder i64 %rdi.1.reload, { 1, 0, 2 } uselistorder i32* %67, { 1, 0, 2, 3 } uselistorder i32 %storemerge845.reload, { 0, 2, 1 } uselistorder i32 %55, { 2, 3, 0, 1, 4 } uselistorder i32 %43, { 1, 2, 0, 3 } uselistorder i32 %40, { 1, 0, 2 } uselistorder i64 %.reload131, { 1, 2, 0, 4, 3 } uselistorder i32 %storemerge658.reload, { 4, 2, 5, 1, 0, 3 } uselistorder i32 %sv_1.155.reload, { 4, 3, 2, 0, 1, 5 } uselistorder i64 %31, { 2, 1, 0, 3 } uselistorder i32* %25, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %.reload129, { 0, 2, 1 } uselistorder i64 %rdi.964.reload, { 1, 0 } uselistorder i32 %sv_0.463.reload, { 1, 0 } uselistorder i64* %14, { 1, 0 } uselistorder i32* %sv_3, { 2, 1, 0, 3 } uselistorder i64 %5, { 11, 7, 13, 0, 12, 10, 1, 16, 4, 2, 14, 15, 3, 5, 18, 6, 8, 17, 9, 19, 20, 21 } uselistorder i64 %4, { 5, 0, 1, 2, 3, 4, 6, 7, 8 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem124, { 1, 0, 2 } uselistorder i32* %.reg2mem126, { 1, 0, 2 } uselistorder i64* %.reg2mem128, { 1, 0, 2 } uselistorder i32* %storemerge565.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.964.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.463.reg2mem, { 1, 0 } uselistorder i64* %.reg2mem130, { 1, 0, 2 } uselistorder i32* %storemerge658.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.857.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.356.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.155.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge845.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.244.reg2mem, { 2, 0, 1 } uselistorder i64* %rcx.243.reg2mem, { 2, 0, 1 } uselistorder i32* %.reg2mem132, { 0, 2, 1 } uselistorder i64* %rcx.4.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.4.ph.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32** %sv_2.2.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rcx.6.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %rdi.6.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32** %sv_2.293.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.092.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdi.617.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rcx.616.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.015.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_1.013.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %.reg2mem134, { 1, 0, 2 } uselistorder i32* %storemerge750.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge7.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv87.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.pre-phi.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_1.012.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rdi.7.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %.reg2mem136, { 0, 2, 1 } uselistorder i32* %.reg2mem138, { 0, 2, 1 } uselistorder i32* %.reg2mem140, { 0, 2, 1 } uselistorder i32* %sv_0.3.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.8.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem142, { 2, 1, 0 } uselistorder i32* %storemerge339.reg2mem, { 2, 1, 0 } uselistorder i64* %rdi.1138.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem144, { 1, 0, 2 } uselistorder i64* %rdi.11.lcssa.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1, 5, 6 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i64)* @FIELD_PICTURE, { 2, 1, 0 } uselistorder i64 64, { 2, 0, 1, 3 } uselistorder i64 40, { 5, 6, 3, 1, 2, 0, 4 } uselistorder [26 x i8]* @gv_6, { 1, 0 } uselistorder [15 x i8]* @gv_4, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 4, 5, 3, 2, 1, 0 } uselistorder [23 x i8]* @gv_3, { 1, 0 } uselistorder i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), { 2, 3, 0, 1 } uselistorder i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), { 2, 3, 0, 1, 4, 5 } uselistorder [15 x i8]* @gv_1, { 1, 0 } uselistorder i32* null, { 1, 0 } uselistorder i64 (i64, i64, i64*)* @pic_num_extract, { 1, 0 } uselistorder i32 -1, { 0, 1, 3, 2, 4 } uselistorder i1 false, { 2, 1, 3, 4, 5, 6, 7, 8, 9, 13, 10, 11, 12, 0, 14, 15, 16 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 } uselistorder i64 48, { 1, 2, 3, 4, 0 } uselistorder i64 80, { 1, 2, 3, 4, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 8, { 3, 0, 1, 2, 4 } uselistorder i64 4, { 0, 1, 3, 4, 5, 6, 2, 7 } uselistorder i32 0, { 15, 1, 6, 11, 12, 13, 14, 0, 7, 16, 10, 17, 18, 19, 20, 24, 21, 22, 23, 9, 4, 25, 2, 5, 3, 8, 26, 27 } uselistorder label LBL_61, { 3, 2, 1, 0, 4, 5 } uselistorder label LBL_59, { 0, 2, 1 } uselistorder label LBL_57, { 1, 0 } uselistorder label LBL_42, { 1, 0 } uselistorder label LBL_38, { 1, 2, 0 } uselistorder label LBL_36, { 1, 0 } uselistorder label LBL_34, { 1, 0 } uselistorder label LBL_30, { 1, 0 } uselistorder label LBL_29, { 2, 1, 0 } uselistorder label LBL_27, { 2, 1, 0 } uselistorder label LBL_26, { 3, 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
codec_vdbe_return_string_9104
codec_vdbe_return_string
define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg3 to i64 %1 = ptrtoint i8* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = call i64 @FUNC(i64 %3, i64 1) %5 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %1, i64 0) %6 = call i64 @FUNC(i64 %3, i64 1, i64 0, i64 1, i64 0, i64 %0) %7 = call i64 @FUNC(i64 %3, i64 2, i64 1, i64 1) ret i64 %7 uselistorder i64 1, { 1, 0, 3, 2, 4 } }
0
BinRealVul
load_images_4061
load_images
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.ph2.reg2mem = alloca i32 %.reg2mem9 = alloca %dirent* %.reg2mem = alloca %dirent* %0 = inttoptr i64 %arg2 to i8* %1 = call %__dirstream* @opendir(i8* %0) %2 = icmp eq %__dirstream* %1, null %3 = icmp eq i1 %2, false %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 br i1 %3, label LBL_2, label LBL_1 LBL_1: %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0) store i64 1, i64* %storemerge.reg2mem br label LBL_9 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_2 to i64*), i32 1, i32 27, %_IO_FILE* %4) %8 = call %dirent* @readdir(%__dirstream* %1) %9 = icmp eq %dirent* %8, null %10 = icmp eq i1 %9, false store %dirent* %8, %dirent** %.reg2mem9 store i32 0, i32* %sv_0.0.ph2.reg2mem br i1 %10, label LBL_3.lr.ph, label LBL_8 LBL_3: %.reload = load %dirent*, %dirent** %.reg2mem %11 = ptrtoint %dirent* %.reload to i64 %12 = add i64 %11, 19 %13 = inttoptr i64 %12 to i8* %14 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* %13) %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_5 LBL_4: %16 = call %dirent* @readdir(%__dirstream* %1) %17 = icmp eq %dirent* %16, null %18 = icmp eq i1 %17, false store %dirent* %16, %dirent** %.reg2mem br i1 %18, label LBL_3, label LBL_8 LBL_5: %19 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i8* %13) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_4 LBL_6: %22 = sext i32 %sv_0.0.ph2.reload to i64 %23 = mul i64 %22, 256 %24 = add i64 %23, %6 %25 = inttoptr i64 %24 to i8* %26 = call i8* @strcpy(i8* %25, i8* %13) %27 = add i32 %sv_0.0.ph2.reload, 1 %28 = call %dirent* @readdir(%__dirstream* %1) %29 = icmp eq %dirent* %28, null %30 = icmp eq i1 %29, false store %dirent* %28, %dirent** %.reg2mem9 store i32 %27, i32* %sv_0.0.ph2.reg2mem br i1 %30, label LBL_3.lr.ph, label LBL_8 LBL_7: %sv_0.0.ph2.reload = load i32, i32* %sv_0.0.ph2.reg2mem %.reload10 = load %dirent*, %dirent** %.reg2mem9 store %dirent* %.reload10, %dirent** %.reg2mem br label LBL_3 LBL_8: %31 = call i32 @closedir(%__dirstream* %1) store i64 0, i64* %storemerge.reg2mem br label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder %_IO_FILE* %4, { 1, 0 } uselistorder %__dirstream* %1, { 2, 1, 3, 0, 4 } uselistorder %dirent** %.reg2mem, { 2, 1, 0 } uselistorder %dirent** %.reg2mem9, { 0, 2, 1 } uselistorder i32* %sv_0.0.ph2.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder %dirent* null, { 1, 2, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 2, 0 } uselistorder label LBL_3.lr.ph, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
json_print_int_14424
json_print_int
define i64 @FUNC(i32* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i8* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) br label LBL_2 LBL_2: %7 = and i64 %arg3, 4294967295 %8 = icmp eq i64 %3, 0 %storemerge = select i1 %8, i64 ptrtoint (i8** @gv_1 to i64), i64 %3 %9 = inttoptr i64 %storemerge to i8* %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i8* %9, i64 %7) %11 = call i64 @FUNC(i64 %3) ret i64 %11 uselistorder i64 %3, { 0, 2, 1 } }
1
BinRealVul
readlink_and_make_absolute_root_10328
readlink_and_make_absolute_root
define i64 @FUNC(i8* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rbx.0.reg2mem = alloca i64 %0 = ptrtoint i8* %arg2 to i64 %1 = ptrtoint i8* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %3, 4294967295 store i64 %7, i64* %rbx.0.reg2mem br label LBL_4 LBL_2: %8 = load i64, i64* %sv_1, align 8 %9 = call i64 @FUNC(i64 %0, i64 %8) store i64 %9, i64* %sv_0, align 8 %10 = icmp eq i64 %9, 0 %11 = icmp eq i1 %10, false store i64 4294967284, i64* %rbx.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: store i64 %9, i64* %arg3, align 8 store i64 0, i64* %sv_0, align 8 store i64 0, i64* %rbx.0.reg2mem br label LBL_4 LBL_4: %rbx.0.reload = load i64, i64* %rbx.0.reg2mem %12 = call i64 @FUNC(i64* nonnull %sv_0) %13 = call i64 @FUNC(i64* nonnull %sv_1) ret i64 %rbx.0.reload uselistorder i64* %sv_1, { 0, 2, 1, 3 } uselistorder i64* %rbx.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64*)* @free_cleanup, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
security_get_classes_8342
security_get_classes
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdi.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = load i32, i32* @gv_1, align 4 %4 = bitcast i64* %arg2 to i32* store i32 %3, i32* %4, align 4 %5 = trunc i64 %1 to i32 %sext = mul i64 %1, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = call i64 @FUNC(i64 %6, i64 8, i64 0) store i64 %7, i64* %arg1, align 8 %8 = icmp eq i32 %5, 0 store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %8, label LBL_5, label LBL_1 LBL_1: %9 = load i64, i64* @gv_2, align 8 %10 = call i64 @FUNC(i64 %9, i64 4198838, i64 %6) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 store i64 %10, i64* %sv_0.0.reg2mem br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 %9, i64* %rdi.01.reg2mem br label LBL_3 LBL_3: %rdi.01.reload = load i64, i64* %rdi.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %14 = mul i64 %.reload, 8 %15 = add i64 %rdi.01.reload, %14 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = add i32 %storemerge2.reload, 1 %20 = sext i32 %19 to i64 %21 = icmp sgt i64 %13, %20 store i64 %20, i64* %.reg2mem store i32 %19, i32* %storemerge2.reg2mem store i64 %17, i64* %rdi.01.reg2mem br i1 %21, label LBL_3, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %17) store i64 %10, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %23 = call i64 @FUNC(i64* nonnull @gv_0) %24 = and i64 %sv_0.0.reload, 4294967295 ret i64 %24 uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %1, { 1, 2, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 0, 3, 1, 2 } uselistorder label LBL_5, { 2, 0, 1 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
parse_audio_15178
parse_audio
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.shrunk.reg2mem = alloca i64 %storemerge.in15.reg2mem = alloca i64 %storemerge16.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %sext5 = mul i64 %arg2, 4294967296 %storemerge14 = ashr exact i64 %sext5, 32 %2 = trunc i64 %arg3 to i32 %3 = trunc i64 %storemerge14 to i32 %4 = icmp slt i32 %3, %2 br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = trunc i64 %1 to i32 %sext4 = mul i64 %arg4, 4294967296 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* %8 = ashr exact i64 %sext4, 29 %9 = trunc i64 %arg4 to i32 %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* store i64 %storemerge14, i64* %storemerge16.reg2mem store i64 %sext5, i64* %storemerge.in15.reg2mem br label LBL_2 LBL_2: %storemerge.in15.reload = load i64, i64* %storemerge.in15.reg2mem %12 = ashr exact i64 %storemerge.in15.reload, 30 %13 = add i64 %12, %0 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = load i64, i64* %7, align 8 %19 = add i64 %18, %8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %21, %12 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 br label LBL_9 LBL_4: %24 = zext i32 %15 to i64 %25 = call i64 @FUNC(i64 %0, i64 %24, i32 %5) %26 = trunc i64 %25 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false store i64 %25, i64* %rax.0.shrunk.reg2mem br i1 %28, label LBL_5, label LBL_11 LBL_5: %storemerge16.reload = load i64, i64* %storemerge16.reg2mem %29 = and i64 %storemerge16.reload, 4294967295 %30 = call i64 @FUNC(i64 %0, i64 %29, i32 %9) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_8, label LBL_6 LBL_6: %34 = load i64, i64* %11, align 8 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = urem i32 %36, 2 %38 = icmp eq i32 %37, 0 store i64 %30, i64* %rax.0.shrunk.reg2mem br i1 %38, label LBL_7, label LBL_11 LBL_7: %39 = load i64, i64* %7, align 8 %40 = add i64 %39, %8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = add i64 %42, %12 %44 = inttoptr i64 %43 to i32* store i32 0, i32* %44, align 4 br label LBL_8 LBL_8: %45 = load i32, i32* %14, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %0, i64 %46) br label LBL_9 LBL_9: %sext9 = add i64 %storemerge.in15.reload, 4294967296 %storemerge = ashr exact i64 %sext9, 32 %48 = trunc i64 %storemerge to i32 %49 = icmp slt i32 %48, %2 store i64 %storemerge, i64* %storemerge16.reg2mem store i64 %sext9, i64* %storemerge.in15.reg2mem br i1 %49, label LBL_2, label LBL_10 LBL_10: %50 = call i64 @FUNC(i64 %0, i64 1) store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_11 LBL_11: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %2, { 1, 0 } uselistorder i64 %0, { 1, 4, 5, 6, 0, 3, 2, 7 } uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.in15.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i64 32, { 1, 0 } uselistorder i64 4294967296, { 2, 0, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
btif_dm_ble_sec_req_evt_13206
btif_dm_ble_sec_req_evt
define i64 @FUNC(i64* %arg1) 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 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %6 = load i32, i32* @gv_2, align 4 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %10, 6 %12 = call i64 @FUNC(i64 %10, i64 %11, i64 0, i64 1) %13 = call i64 @FUNC(i64* nonnull %sv_1, i64 %10) %14 = inttoptr i64 %11 to i64* %15 = load i64, i64* %14, align 8 store i64 %15, i64* %sv_0, align 8 %16 = call i64 @FUNC(i64 0, i64* nonnull %sv_1, i64 1) store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_5 to i32*), align 8 store i32 1, i32* bitcast (i64* @gv_6 to i32*), align 8 %17 = load i64, i64* @gv_7, align 8 %18 = call i64 @FUNC(i64 %17, i64 4199001, i64* nonnull %sv_1, i64* nonnull %sv_0, i64 0, i64 0) store i64 %18, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 2, 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @BTIF_TRACE_DEBUG, { 1, 0 } }
1
BinRealVul
gdb_set_avr_reg_16651
gdb_set_avr_reg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = icmp sgt i32 %2, 31 br i1 %3, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %4 = call i64 @FUNC(i64 %0) %5 = ashr exact i64 %sext, 28 %6 = add i64 %5, %1 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* store i64 %4, i64* %8, align 8 %9 = add i64 %0, 8 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %6 to i64* store i64 %10, i64* %11, align 8 store i64 16, i64* %rax.0.reg2mem br label LBL_6 LBL_2: %12 = icmp eq i32 %2, 33 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = add i64 %1, 560 %17 = inttoptr i64 %16 to i32* store i32 %15, i32* %17, align 4 store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %18 = icmp eq i32 %2, 34 %19 = icmp eq i1 %18, false store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %0) %21 = trunc i64 %20 to i32 %22 = add i64 %1, 564 %23 = inttoptr i64 %22 to i32* store i32 %21, i32* %23, align 4 store i64 4, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 1, 0, 2 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64 %0, { 3, 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @ldl_p, { 1, 0 } uselistorder i64 (i64)* @ldq_p, { 1, 0 } uselistorder label LBL_6, { 1, 0, 2, 3 } }
1
BinRealVul
analyze_chunk_7638
analyze_chunk
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_4.0.reg2mem = alloca i32 %sv_4.18.reg2mem = alloca i32 %sv_3.19.reg2mem = alloca i32 %sv_2.110.reg2mem = alloca i32 %sv_1.111.reg2mem = alloca i32 %indvars.iv20.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_36 LBL_1: %10 = trunc i64 %3 to i8 %11 = icmp ugt i8 %10, 4 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_2, label LBL_36 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = trunc i64 %3 to i32 %14 = urem i32 %13, 256 %15 = add i64 %5, 4 %16 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i32 %14, i64 %4, i64 %2, i64 %1) %17 = urem i64 %3, 256 %18 = call i64 @FUNC(i64 %15, i64 %17) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_36 LBL_3: %wide.trip.count = zext i32 %14 to i64 store i64 0, i64* %indvars.iv20.reg2mem store i32 0, i32* %sv_1.111.reg2mem store i32 0, i32* %sv_2.110.reg2mem store i32 0, i32* %sv_3.19.reg2mem store i32 0, i32* %sv_4.18.reg2mem br label LBL_4 LBL_4: %sv_4.18.reload = load i32, i32* %sv_4.18.reg2mem %sv_3.19.reload = load i32, i32* %sv_3.19.reg2mem %sv_2.110.reload = load i32, i32* %sv_2.110.reg2mem %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem %21 = mul i64 %indvars.iv20.reload, 8 %22 = add i64 %21, %18 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i64 %26 = mul i64 %25, 256 %27 = add i64 %22, 1 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 1 %30 = zext i8 %29 to i64 %31 = or i64 %26, %30 %32 = icmp eq i64 %31, 3040 br i1 %32, label LBL_10, label LBL_5 LBL_5: %33 = trunc i64 %31 to i32 %34 = icmp ugt i32 %33, 3040 store i32 %sv_4.18.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.19.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br i1 %34, label LBL_13, label LBL_6 LBL_6: %35 = icmp eq i32 %33, 2496 br i1 %35, label LBL_12, label LBL_7 LBL_7: %36 = icmp ugt i32 %33, 2496 store i32 %sv_4.18.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.19.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br i1 %36, label LBL_13, label LBL_8 LBL_8: %37 = icmp eq i32 %33, 960 br i1 %37, label LBL_11, label LBL_9 LBL_9: %38 = icmp eq i32 %33, 1760 %39 = zext i1 %38 to i32 %spec.select = add i32 %sv_1.111.reload, %39 store i32 %sv_4.18.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.19.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem store i32 %spec.select, i32* %sv_1.0.reg2mem br label LBL_13 LBL_10: %40 = add i32 %sv_2.110.reload, 1 store i32 %sv_4.18.reload, i32* %sv_4.0.reg2mem store i32 %sv_3.19.reload, i32* %sv_3.0.reg2mem store i32 %40, i32* %sv_2.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br label LBL_13 LBL_11: %41 = add i32 %sv_4.18.reload, 1 store i32 %41, i32* %sv_4.0.reg2mem store i32 %sv_3.19.reload, i32* %sv_3.0.reg2mem store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br label LBL_13 LBL_12: %42 = add i32 %sv_3.19.reload, 1 store i32 %sv_4.18.reload, i32* %sv_4.0.reg2mem store i32 %42, i32* %sv_3.0.reg2mem store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem br label LBL_13 LBL_13: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next21, %wide.trip.count store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.110.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.19.reg2mem store i32 %sv_4.0.reload, i32* %sv_4.18.reg2mem br i1 %exitcond, label LBL_14, label LBL_4 LBL_14: %43 = zext i32 %sv_2.0.reload to i64 %44 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 %sv_1.0.reload, i64 %43, i64 %2, i64 %1) %45 = icmp slt i32 %sv_1.0.reload, 1 br i1 %45, label LBL_16, label LBL_15 LBL_15: %46 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i32 %sv_1.0.reload, i64 %43, i64 %2, i64 %1) %47 = bitcast i64* %arg1 to i32* store i32 1, i32* %47, align 4 %48 = add i64 %12, 4 %49 = inttoptr i64 %48 to i32* store i32 0, i32* %49, align 4 br label LBL_18 LBL_16: %50 = icmp slt i32 %sv_2.0.reload, 1 br i1 %50, label LBL_18, label LBL_17 LBL_17: %51 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i32 %sv_1.0.reload, i64 %43, i64 %2, i64 %1) %52 = bitcast i64* %arg1 to i32* store i32 2, i32* %52, align 4 %53 = add i64 %12, 4 %54 = inttoptr i64 %53 to i32* store i32 1, i32* %54, align 4 br label LBL_18 LBL_18: %55 = icmp slt i32 %sv_3.0.reload, 1 br i1 %55, label LBL_20, label LBL_19 LBL_19: %56 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i32 %sv_1.0.reload, i64 %43, i64 %2, i64 %1) %57 = add i64 %12, 8 %58 = inttoptr i64 %57 to i32* store i32 1, i32* %58, align 4 %59 = add i64 %12, 12 %60 = inttoptr i64 %59 to i32* store i32 4, i32* %60, align 4 %61 = add i64 %12, 16 %62 = inttoptr i64 %61 to i32* store i32 0, i32* %62, align 4 %63 = add i64 %12, 4 %64 = inttoptr i64 %63 to i32* store i32 2, i32* %64, align 4 br label LBL_22 LBL_20: %65 = icmp slt i32 %sv_4.0.reload, 1 br i1 %65, label LBL_22, label LBL_21 LBL_21: %66 = add i64 %12, 8 %67 = inttoptr i64 %66 to i32* store i32 2, i32* %67, align 4 %68 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i32 %sv_1.0.reload, i64 %43, i64 %2, i64 %1) br label LBL_22 LBL_22: %69 = add i64 %12, 12 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = icmp eq i32 %71, 0 %73 = icmp eq i1 %72, false br i1 %73, label LBL_35, label LBL_23 LBL_23: %74 = mul i32 %14, 16 store i64 0, i64* %indvars.iv.reg2mem store i32 %74, i32* %sv_0.05.reg2mem br label LBL_24 LBL_24: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %75 = mul i64 %indvars.iv.reload, 8 %76 = add i64 %75, %18 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = zext i8 %78 to i32 %80 = mul i32 %79, 256 %81 = add i64 %76, 1 %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 1 %84 = zext i8 %83 to i32 %85 = or i32 %80, %84 %86 = icmp eq i32 %85, 960 %87 = icmp eq i1 %86, false %.pre = add i64 %76, 4 %.pre22 = inttoptr i64 %.pre to i32* br i1 %87, label LBL_34, label LBL_25 LBL_25: %88 = load i32, i32* %.pre22, align 4 %89 = icmp slt i32 %88, 16 br i1 %89, label LBL_34, label LBL_26 LBL_26: %90 = zext i32 %sv_0.05.reload to i64 %91 = add i64 %15, %90 %92 = call i64 @FUNC(i64 0, i64 %91, i64 5) %93 = trunc i64 %92 to i32 %94 = icmp slt i32 %93, 0 br i1 %94, label LBL_34, label LBL_27 LBL_27: %95 = add i32 %sv_0.05.reload, 6 %96 = add i32 %95, %93 %97 = zext i32 %96 to i64 %98 = add i64 %15, %97 %99 = inttoptr i64 %98 to i8* %100 = load i8, i8* %99, align 1 %101 = icmp slt i8 %100, 0 %102 = icmp eq i1 %101, false %103 = bitcast i64* %rdi to i32* %104 = load i32, i32* %103, align 8 %105 = icmp eq i32 %104, 1 %106 = icmp eq i1 %105, false br i1 %102, label LBL_31, label LBL_28 LBL_28: br i1 %106, label LBL_30, label LBL_29 LBL_29: %107 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i32 %96, i64 %75, i64 %2, i64 %1) br label LBL_30 LBL_30: store i32 3, i32* %70, align 4 %108 = add i64 %12, 16 %109 = inttoptr i64 %108 to i32* store i32 1, i32* %109, align 4 br label LBL_35 LBL_31: br i1 %106, label LBL_33, label LBL_32 LBL_32: %110 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0), i32 %96, i64 %75, i64 %2, i64 %1) br label LBL_33 LBL_33: store i32 4, i32* %70, align 4 %111 = add i64 %12, 16 %112 = inttoptr i64 %111 to i32* store i32 2, i32* %112, align 4 br label LBL_35 LBL_34: %113 = load i32, i32* %.pre22, align 4 %114 = add i32 %113, %sv_0.05.reload %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %115 = icmp ult i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %114, i32* %sv_0.05.reg2mem br i1 %115, label LBL_24, label LBL_35 LBL_35: %116 = call i64 @FUNC(i64 %18) store i64 0, i64* %rax.0.reg2mem br label LBL_36 LBL_36: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %106, { 1, 0 } uselistorder i32 %96, { 1, 0, 2 } uselistorder i64 %75, { 1, 2, 0 } uselistorder i32 %sv_0.05.reload, { 1, 2, 0 } uselistorder i32* %70, { 1, 0, 2 } uselistorder i64 %43, { 3, 2, 1, 0, 4 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 4, 5, 3, 2, 1, 0, 6 } uselistorder i32 %33, { 2, 3, 0, 4, 1 } uselistorder i32 %sv_1.111.reload, { 2, 0, 4, 5, 1, 3 } uselistorder i32 %sv_2.110.reload, { 3, 1, 5, 0, 2, 4 } uselistorder i32 %sv_3.19.reload, { 5, 1, 4, 0, 2, 3 } uselistorder i32 %sv_4.18.reload, { 2, 5, 4, 0, 1, 3 } uselistorder i64 %18, { 2, 0, 1, 3 } uselistorder i64 %12, { 14, 13, 12, 11, 15, 9, 10, 4, 5, 6, 7, 8, 2, 3, 0, 1, 16, 17 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64* %indvars.iv20.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.111.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.110.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.19.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.18.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_4.0.reg2mem, { 0, 4, 2, 6, 1, 3, 5 } uselistorder i32* %sv_3.0.reg2mem, { 0, 4, 2, 6, 1, 3, 5 } uselistorder i32* %sv_2.0.reg2mem, { 0, 4, 2, 6, 1, 3, 5 } uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 2, 6, 1, 3, 5 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 16, { 1, 0, 2 } uselistorder i32 960, { 1, 0 } uselistorder i64 1, { 1, 2, 0, 3, 4 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i64 256, { 0, 2, 1 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @ff_dlog, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 4, 5, 6, 7, 0, 1, 2, 3, 8 } uselistorder label LBL_36, { 3, 0, 1, 2 } uselistorder label LBL_34, { 1, 2, 0 } uselistorder label LBL_24, { 1, 0 } uselistorder label LBL_13, { 1, 2, 3, 0, 4, 5 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
avpicture_get_size_14561
avpicture_get_size
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg3 to i32 %1 = and i64 %arg2, 4294967295 %2 = call i64 @FUNC(i64 %1, i32 %0, i64 0, i64 0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_4 LBL_1: %5 = trunc i64 %arg1 to i32 %6 = icmp ult i32 %5, 5 br i1 %6, label LBL_2, label LBL_3 LBL_2: %sext4 = mul i64 %arg2, 4294967296 %sext5 = mul i64 %arg3, 4294967296 %7 = ashr exact i64 %sext4, 32 %8 = ashr exact i64 %sext5, 32 %9 = mul nsw i64 %8, %7 %10 = and i64 %9, 4294967295 store i64 %10, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %11 = and i64 %arg3, 4294967295 %12 = trunc i64 %arg2 to i32 %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i32 %5, i32 %12, i64 %11) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 1, { 2, 0, 1 } uselistorder i64 %arg3, { 1, 0, 2 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
ip_tunnel_encap_del_ops_4628
ip_tunnel_encap_del_ops
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp ult i32 %0, 10 store i64 4294967262, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = mul i64 %arg2, 8 %4 = and i64 %3, 34359738360 %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = call i64 @FUNC(i64 %5, i64 %2, i64 0) %sext2 = mul i64 %6, 4294967296 %7 = ashr exact i64 %sext2, 32 %8 = icmp eq i64 %7, %2 %9 = icmp eq i1 %8, false %. = select i1 %9, i64 4294967295, i64 0 %10 = call i64 @FUNC() store i64 %., 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
ac3_probe_14773
ac3_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.0.lcssa.reg2mem = alloca i32 %sv_1.08.reg2mem = alloca i32 %sv_2.09.reg2mem = alloca i64 %sv_0.111.reg2mem = alloca i32 %storemerge.lcssa.reg2mem = alloca i32 %sv_3.03.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp sgt i32 %3, 6 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_10 LBL_1: %5 = icmp sgt i32 %3, 4103 %6 = add i32 %3, -7 %narrow = select i1 %5, i32 4096, i32 %6 %storemerge2 = sext i32 %narrow to i64 %7 = add i64 %storemerge2, %0 %8 = icmp ugt i64 %7, %0 store i32 0, i32* %sv_1.0.lcssa.reg2mem br i1 %8, label LBL_2, label LBL_7 LBL_2: %9 = bitcast i32* %sv_4 to i64* store i64 %0, i64* %sv_2.09.reg2mem store i32 0, i32* %sv_1.08.reg2mem br label LBL_3.lr.ph LBL_3: %sv_3.03.reload = load i64, i64* %sv_3.03.reg2mem %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %10 = call i64 @FUNC(i64 %sv_3.03.reload, i64* nonnull %9) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 store i32 %storemerge4.reload, i32* %storemerge.lcssa.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = load i32, i32* %sv_4, align 4 %14 = sext i32 %13 to i64 %15 = add i64 %sv_3.03.reload, %14 %16 = add i32 %storemerge4.reload, 1 %17 = icmp ult i64 %15, %7 store i32 %16, i32* %storemerge4.reg2mem store i64 %15, i64* %sv_3.03.reg2mem store i32 %16, i32* %storemerge.lcssa.reg2mem br i1 %17, label LBL_3, label LBL_5 LBL_5: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %18 = sub i32 %sv_1.08.reload, %storemerge.lcssa.reload %19 = xor i32 %storemerge.lcssa.reload, %sv_1.08.reload %20 = xor i32 %18, %sv_1.08.reload %21 = and i32 %20, %19 %22 = icmp slt i32 %21, 0 %23 = icmp slt i32 %18, 0 %24 = icmp eq i1 %23, %22 %25 = select i1 %24, i32 %sv_1.08.reload, i32 %storemerge.lcssa.reload %26 = icmp eq i64 %sv_2.09.reload, %sv_3.03.reload %27 = icmp eq i1 %26, false %spec.select = select i1 %27, i32 %sv_0.111.reload, i32 %storemerge.lcssa.reload %28 = add nuw i64 %sv_2.09.reload, 1 %29 = icmp ult i64 %28, %7 store i32 %spec.select, i32* %sv_0.111.reg2mem store i64 %28, i64* %sv_2.09.reg2mem store i32 %25, i32* %sv_1.08.reg2mem store i32 %25, i32* %sv_1.0.lcssa.reg2mem store i32 %spec.select, i32* %sv_0.1.lcssa.reg2mem br i1 %29, label LBL_3.lr.ph, label LBL_7 LBL_6: %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem %sv_0.111.reload = load i32, i32* %sv_0.111.reg2mem store i32 0, i32* %storemerge4.reg2mem store i64 %sv_2.09.reload, i64* %sv_3.03.reg2mem br label LBL_3 LBL_7: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %30 = icmp slt i32 %sv_0.1.lcssa.reload, 3 store i64 75, i64* %rax.0.reg2mem br i1 %30, label LBL_8, label LBL_10 LBL_8: %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem %31 = icmp slt i32 %sv_1.0.lcssa.reload, 3 store i64 50, i64* %rax.0.reg2mem br i1 %31, label LBL_9, label LBL_10 LBL_9: %32 = icmp sgt i32 %sv_1.0.lcssa.reload, 0 %. = zext i1 %32 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.09.reload, { 2, 0, 1 } uselistorder i32 %sv_1.08.reload, { 0, 2, 3, 1 } uselistorder i32 %18, { 1, 0 } uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 3, 1 } uselistorder i32 %storemerge4.reload, { 1, 0 } uselistorder i64 %sv_3.03.reload, { 2, 1, 0 } uselistorder i64 %7, { 2, 1, 0 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i32* %storemerge4.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_3.03.reg2mem, { 2, 1, 0 } uselistorder i32 0, { 3, 2, 4, 5, 6, 1, 0 } }
1
BinRealVul
avutil_version_1648
avutil_version
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 1) %1 = call i64 @FUNC(i64 1) %2 = call i64 @FUNC(i64 1) %3 = call i64 @FUNC(i64 1) %4 = call i64 @FUNC(i64 1) %5 = call i64 @FUNC(i64 1) %6 = call i64 @FUNC(i64 1, i64 2) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 5 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_0, i64 0, i64 0)) call void @abort() unreachable LBL_2: ret i64 1000000 uselistorder void ()* @abort, { 1, 0 } uselistorder i64 (i64)* @av_assert0, { 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
onenand_erase_949
onenand_erase
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.in8.reg2mem = alloca i64 %sv_1.0.in9.reg2mem = alloca i64 %rdi.111.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 512) %1 = call i64 @FUNC(i64 512) %2 = inttoptr i64 %0 to i64* %3 = call i64* @memset(i64* %2, i32 255, i32 512) %4 = trunc i64 %arg3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp slt i32 %4, 0 %7 = icmp eq i1 %6, false %8 = icmp eq i1 %5, false %9 = icmp eq i1 %7, %8 br i1 %9, label LBL_1, label LBL_9 LBL_1: %10 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg3, 4294967296 %sext = mul i64 %arg2, 4294967296 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = add i64 %10, 16 %16 = inttoptr i64 %15 to i64* store i64 %0, i64* %rdi.111.reg2mem store i64 %sext, i64* %sv_1.0.in9.reg2mem store i64 %sext2, i64* %sv_0.0.in8.reg2mem br label LBL_2 LBL_2: %sv_0.0.in8.reload = load i64, i64* %sv_0.0.in8.reg2mem %sv_1.0.in9.reload = load i64, i64* %sv_1.0.in9.reg2mem %rdi.111.reload = load i64, i64* %rdi.111.reg2mem %17 = icmp eq i64 %rdi.111.reload, 0 %18 = load i32, i32* %12, align 4 br i1 %17, label LBL_6, label LBL_3 LBL_3: %19 = udiv i64 %sv_1.0.in9.reload, 8388608 %20 = and i64 %19, 4294966784 %21 = call i64 @FUNC(i64 %rdi.111.reload, i64 %20, i64 %0, i64 512, i64 0) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 br i1 %23, label LBL_10, label LBL_4 LBL_4: %24 = udiv i64 %sv_1.0.in9.reload, 137438953472 %25 = trunc i64 %24 to i32 %26 = add i32 %18, %25 %27 = mul i32 %26, 512 %28 = zext i32 %27 to i64 %29 = call i64 @FUNC(i64 %rdi.111.reload, i64 %28, i64 %1, i64 512) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 br i1 %31, label LBL_10, label LBL_5 LBL_5: %32 = udiv i64 %sv_1.0.in9.reload, 268435456 %33 = and i64 %32, 496 %34 = add i64 %33, %1 %35 = load i64, i64* %14, align 8 %36 = load i64, i64* %2, align 8 %37 = inttoptr i64 %34 to i64* store i64 %36, i64* %37, align 8 %38 = add i64 %34, 8 %39 = inttoptr i64 %38 to i64* store i64 %35, i64* %39, align 8 %40 = call i64 @FUNC(i64 %rdi.111.reload, i64 %28, i64 %1, i64 512, i64 0) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false store i64 %rdi.111.reload, i64* %rdi.0.reg2mem br i1 %43, label LBL_8, label LBL_10 LBL_6: %44 = zext i32 %18 to i64 %45 = ashr exact i64 %sv_1.0.in9.reload, 32 %46 = icmp slt i64 %45, %44 br i1 %46, label LBL_7, label LBL_10 LBL_7: %47 = load i64, i64* %16, align 8 %48 = mul i64 %sv_1.0.in9.reload, 512 %49 = ashr exact i64 %48, 32 %50 = add i64 %47, %49 %51 = inttoptr i64 %50 to i64* %52 = call i64* @memcpy(i64* %51, i64* %2, i32 512) %53 = load i64, i64* %16, align 8 %54 = load i32, i32* %12, align 4 %55 = mul i32 %54, 512 %56 = sext i32 %55 to i64 %57 = mul i64 %sv_1.0.in9.reload, 16 %58 = ashr exact i64 %57, 32 %59 = add i64 %53, %58 %60 = add i64 %59, %56 %61 = load i64, i64* %14, align 8 %62 = load i64, i64* %2, align 8 %63 = inttoptr i64 %60 to i64* store i64 %62, i64* %63, align 8 %64 = add i64 %60, 8 %65 = inttoptr i64 %64 to i64* store i64 %61, i64* %65, align 8 store i64 %50, i64* %rdi.0.reg2mem br label LBL_8 LBL_8: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sext3 = add i64 %sv_0.0.in8.reload, -4294967296 %sext4 = add i64 %sv_1.0.in9.reload, 4294967296 %66 = udiv i64 %sext3, 4294967296 %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 %69 = icmp slt i32 %67, 0 %70 = icmp eq i1 %69, false %71 = icmp eq i1 %68, false %72 = icmp eq i1 %70, %71 store i64 %rdi.0.reload, i64* %rdi.111.reg2mem store i64 %sext4, i64* %sv_1.0.in9.reg2mem store i64 %sext3, i64* %sv_0.0.in8.reg2mem br i1 %72, label LBL_2, label LBL_9 LBL_9: %73 = call i64 @FUNC(i64 %1) %74 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_11 LBL_10: %75 = call i64 @FUNC(i64 %1) %76 = call i64 @FUNC(i64 %0) store i64 1, i64* %storemerge.reg2mem br label LBL_11 LBL_11: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %60, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i64 %sv_1.0.in9.reload, { 1, 6, 5, 0, 4, 3, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64* %2, { 1, 2, 0, 3 } uselistorder i64 %1, { 4, 1, 2, 0, 3 } uselistorder i64 %0, { 4, 1, 3, 0, 2, 5 } uselistorder i64* %rdi.111.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.in9.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.in8.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64, i64, i64)* @blk_pwrite, { 1, 0 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i64 4294967296, { 2, 3, 0, 1 } uselistorder i1 false, { 4, 2, 3, 0, 1 } uselistorder i32 0, { 5, 6, 2, 3, 4, 0, 1 } uselistorder i32 512, { 0, 2, 1, 3 } uselistorder label LBL_10, { 0, 3, 1, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
set_guest_debug_10000
set_guest_debug
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = trunc i64 %1 to i32 %4 = trunc i64 %2 to i32 %5 = urem i32 %3, 2 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %spec.select = select i1 %7, i32 %4, i32 0 store i32 %spec.select, i32* %arg1, align 4 %8 = and i32 %3, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = ptrtoint i64* %arg2 to i64 %11 = add i64 %10, 64 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 4660, i64 %13) %.pre = ptrtoint i32* %arg1 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_3 LBL_2: %15 = ptrtoint i32* %arg1 to i64 %16 = add i64 %15, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 4660, i64 %18) store i64 %15, i64* %.pre-phi.reg2mem br label LBL_3 LBL_3: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %20 = call i64 @FUNC(i64 22136) %21 = and i32 %3, 4 %22 = icmp eq i32 %21, 0 %23 = or i64 %20, 768 %spec.select3 = select i1 %22, i64 %20, i64 %23 %24 = call i64 @FUNC(i64 22136, i64 %spec.select3) %25 = call i64 @FUNC(i64 %.pre-phi.reload) ret i64 0 uselistorder i32 %3, { 1, 2, 0 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @vmcs_writel, { 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32* %arg1, { 2, 0, 1 } }
0
BinRealVul
determine_entity_table_6515
determine_entity_table
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false %3 = trunc i64 %arg1 to i32 %4 = icmp eq i32 %3, 0 %or.cond = or i1 %4, %2 br i1 %or.cond, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 20, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: store i64 0, i64* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_3 LBL_3: %5 = icmp eq i32 %0, 2 %6 = icmp eq i1 %5, false %global_var_404038.val = load i64, i64* @gv_3, align 8 %global_var_404030.val = load i64, i64* @gv_4, align 8 %storemerge = select i1 %6, i64 %global_var_404038.val, i64 %global_var_404030.val store i64 %storemerge, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i1 %4, { 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
slavio_misc_init1_2591
slavio_misc_init1
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %0) %2 = add i64 %0, 4 %3 = call i64 @FUNC(i64 %0, i64 %2) %4 = call i64 @FUNC(i64 %0) %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %5, i64 %4, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 256) %7 = call i64 @FUNC(i64 %0, i64 %5) %8 = call i64 @FUNC(i64 %0) %9 = add i64 %0, 12 %10 = call i64 @FUNC(i64 %9, i64 %8, i64* nonnull @gv_2, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 256) %11 = call i64 @FUNC(i64 %0, i64 %9) %12 = call i64 @FUNC(i64 %0) %13 = add i64 %0, 16 %14 = call i64 @FUNC(i64 %13, i64 %12, i64* nonnull @gv_4, i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 256) %15 = call i64 @FUNC(i64 %0, i64 %13) %16 = call i64 @FUNC(i64 %0) %17 = add i64 %0, 20 %18 = call i64 @FUNC(i64 %17, i64 %16, i64* nonnull @gv_6, i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 64) %19 = call i64 @FUNC(i64 %0, i64 %17) %20 = call i64 @FUNC(i64 %0) %21 = add i64 %0, 24 %22 = call i64 @FUNC(i64 %21, i64 %20, i64* nonnull @gv_8, i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i64 128) %23 = call i64 @FUNC(i64 %0, i64 %21) %24 = call i64 @FUNC(i64 %0) %25 = add i64 %0, 28 %26 = call i64 @FUNC(i64 %25, i64 %24, i64* nonnull @gv_10, i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_11, i64 0, i64 0), i64 256) %27 = call i64 @FUNC(i64 %0, i64 %25) %28 = call i64 @FUNC(i64 %0) %29 = add i64 %0, 32 %30 = call i64 @FUNC(i64 %29, i64 %28, i64* nonnull @gv_12, i64 %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_13, i64 0, i64 0), i64 256) %31 = call i64 @FUNC(i64 %0, i64 %29) %32 = call i64 @FUNC(i64 %0, i64 4198741, i64 1) ret i64 0 uselistorder i64 %0, { 32, 6, 31, 30, 29, 5, 28, 27, 26, 4, 25, 24, 23, 3, 22, 21, 20, 2, 19, 18, 17, 1, 16, 15, 14, 0, 13, 12, 11, 7, 10, 9, 8 } uselistorder i64 (i64, i64)* @sysbus_init_mmio, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @OBJECT, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @sysbus_init_irq, { 1, 0 } }
0
BinRealVul
pure_strcmp_5568
pure_strcmp
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strlen(i8* %0) %2 = inttoptr i64 %arg2 to i8* %3 = call i32 @strlen(i8* %2) %4 = icmp ugt i32 %3, %1 %.v = select i1 %4, i32 %1, i32 %3 %5 = sext i32 %.v to i64 %6 = add nsw i64 %5, 1 %7 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %6) ret i64 %7 uselistorder i32 (i8*)* @strlen, { 1, 0 } }
0
BinRealVul
debug_mutex_unlock_17717
debug_mutex_unlock
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 %3, i64* %rax.0.reg2mem br i1 %6, label LBL_5, label LBL_1 LBL_1: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC() %9 = icmp eq i64 %8, %2 %10 = icmp eq i1 %9, false %11 = zext i1 %10 to i64 %12 = call i64 @FUNC(i64 %11) %13 = add i64 %7, 24 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, %7 %17 = icmp eq i1 %16, false %18 = zext i1 %17 to i64 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %7, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = add i64 %7, 16 %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 1, i64* %storemerge.reg2mem br i1 %29, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem %30 = call i64 @FUNC(i64 %storemerge.reload) %31 = call i64 @FUNC() %32 = icmp eq i64 %storemerge.reload, %31 %33 = icmp eq i1 %32, false %34 = zext i1 %33 to i64 %35 = call i64 @FUNC(i64 %34) store i64 %35, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @DEBUG_LOCKS_WARN_ON, { 3, 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
smp_fetch_hdr_val_8170
smp_fetch_hdr_val
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3, i64 %arg4) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = bitcast i64* %arg2 to i32* store i32 1, i32* %5, align 4 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11, i64 %8) store i64 %12, i64* %10, align 8 br label LBL_2 LBL_2: %13 = and i64 %2, 4294967295 ret i64 %13 uselistorder i64 %0, { 1, 0, 2 } }
0
BinRealVul
ff_vorbis_len2vlc_17022
ff_vorbis_len2vlc
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i1 %rax.0.reg2mem = alloca i64 %indvars.iv49.reg2mem = alloca i64 %storemerge4.in23.reg2mem = alloca i32 %storemerge424.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge521.reg2mem = alloca i32 %sv_0.025.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %indvars.iv29.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %1 = load i1, i1* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = ptrtoint i64* %sv_1 to i64 %3 = bitcast i64* %sv_1 to i8* call void @FUNC(i8* nonnull %3, i64 0, i64 16) %4 = select i1 %1, i64 -128, i64 128 %5 = add i64 %4, %2 %6 = inttoptr i64 %5 to i32* store i32 0, i32* %6, align 8 store i64 404, i64* %sv_1, align 8 %7 = ptrtoint i32* %arg1 to i64 %8 = trunc i64 %arg3 to i32 store i32 0, i32* %storemerge9.reg2mem br label LBL_1 LBL_1: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %9 = zext i32 %storemerge9.reload to i64 %10 = add i64 %9, %7 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = icmp eq i8 %12, 0 %14 = icmp ult i32 %storemerge9.reload, %8 %or.cond = icmp eq i1 %14, %13 %15 = add i32 %storemerge9.reload, 1 store i32 %15, i32* %storemerge9.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_2: %16 = icmp eq i32 %storemerge9.reload, %8 %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_24 LBL_3: %18 = ptrtoint i64* %arg2 to i64 %19 = mul i64 %9, 4 %20 = add i64 %19, %18 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = load i8, i8* %11, align 1 %23 = icmp ult i8 %22, 33 store i64 4294967295, i64* %rax.0.reg2mem br i1 %23, label LBL_4, label LBL_24 LBL_4: %24 = ptrtoint i64* %sv_2 to i64 %25 = icmp eq i8 %22, 0 br i1 %25, label LBL_7, label LBL_5 LBL_5: %26 = add i64 %24, -160 store i64 0, i64* %indvars.iv29.reg2mem br label LBL_6 LBL_6: %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem %27 = trunc i64 %indvars.iv29.reload to i32 %28 = urem i32 %27, 32 %29 = shl i32 1, %28 %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1 %30 = mul i64 %indvars.iv.next30, 4 %31 = add i64 %26, %30 %32 = inttoptr i64 %31 to i32* store i32 %29, i32* %32, align 4 %33 = load i8, i8* %11, align 1 %34 = zext i8 %33 to i64 %35 = icmp ult i64 %indvars.iv.next30, %34 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem br i1 %35, label LBL_6, label LBL_7 LBL_7: store i32 %15, i32* %storemerge6.reg2mem br label LBL_8 LBL_8: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %36 = zext i32 %storemerge6.reload to i64 %37 = add i64 %36, %7 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = icmp eq i8 %39, 0 %41 = icmp ult i32 %storemerge6.reload, %8 %or.cond13 = icmp eq i1 %41, %40 %42 = add i32 %storemerge6.reload, 1 store i32 %42, i32* %storemerge6.reg2mem br i1 %or.cond13, label LBL_8, label LBL_9 LBL_9: %43 = icmp eq i32 %storemerge6.reload, %8 %44 = icmp eq i1 %43, false store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_10, label LBL_24 LBL_10: %45 = icmp ult i32 %15, %8 %46 = add i64 %24, -160 store i32 %15, i32* %sv_0.025.reg2mem br i1 %45, label LBL_11, label LBL_21 LBL_11: %sv_0.025.reload = load i32, i32* %sv_0.025.reg2mem %47 = zext i32 %sv_0.025.reload to i64 %48 = add i64 %47, %7 %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = icmp ult i8 %50, 33 store i64 4294967295, i64* %rax.0.reg2mem br i1 %51, label LBL_12, label LBL_24 LBL_12: %52 = icmp eq i8 %50, 0 br i1 %52, label LBL_20, label LBL_13 LBL_13: %53 = zext i8 %50 to i32 store i32 %53, i32* %storemerge521.reg2mem br label LBL_14 LBL_14: %storemerge521.reload = load i32, i32* %storemerge521.reg2mem %54 = zext i32 %storemerge521.reload to i64 %55 = mul i64 %54, 4 %56 = add i64 %55, %46 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp eq i32 %58, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_16, label LBL_15 LBL_15: %61 = add i32 %storemerge521.reload, -1 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false store i32 %61, i32* %storemerge521.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %63, label LBL_14, label LBL_24 LBL_16: store i32 0, i32* %57, align 4 %storemerge422 = add i32 %storemerge521.reload, 1 %64 = load i8, i8* %49, align 1 %65 = zext i8 %64 to i32 %66 = icmp ugt i32 %storemerge422, %65 br i1 %66, label LBL_19, label LBL_17 LBL_17: %67 = zext i32 %storemerge422 to i64 store i64 %67, i64* %indvars.iv.reg2mem store i32 %storemerge422, i32* %storemerge424.reg2mem store i32 %storemerge521.reload, i32* %storemerge4.in23.reg2mem br label LBL_18 LBL_18: %storemerge4.in23.reload = load i32, i32* %storemerge4.in23.reg2mem %storemerge424.reload = load i32, i32* %storemerge424.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %68 = urem i32 %storemerge4.in23.reload, 32 %69 = shl i32 1, %68 %70 = add i32 %69, %58 %71 = mul i64 %indvars.iv.reload, 4 %72 = add i64 %71, %46 %73 = inttoptr i64 %72 to i32* store i32 %70, i32* %73, align 4 %storemerge4 = add i32 %storemerge424.reload, 1 %74 = load i8, i8* %49, align 1 %75 = zext i8 %74 to i32 %76 = icmp ugt i32 %storemerge4, %75 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %77 = trunc i64 %indvars.iv.reload to i32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %storemerge4, i32* %storemerge424.reg2mem store i32 %77, i32* %storemerge4.in23.reg2mem br i1 %76, label LBL_19, label LBL_18 LBL_19: %78 = mul i64 %47, 4 %79 = add i64 %78, %18 %80 = inttoptr i64 %79 to i32* store i32 %58, i32* %80, align 4 br label LBL_20 LBL_20: %81 = add i32 %sv_0.025.reload, 1 %82 = icmp ult i32 %81, %8 store i32 %81, i32* %sv_0.025.reg2mem br i1 %82, label LBL_11, label LBL_21 LBL_21: store i64 1, i64* %indvars.iv49.reg2mem br label LBL_22 LBL_22: %indvars.iv49.reload = load i64, i64* %indvars.iv49.reg2mem %83 = mul i64 %indvars.iv49.reload, 4 %84 = add i64 %83, %46 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = icmp eq i32 %86, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %87, label LBL_23, label LBL_24 LBL_23: %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49.reload, 1 %88 = icmp ult i64 %indvars.iv.next50, 33 store i64 %indvars.iv.next50, i64* %indvars.iv49.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %88, label LBL_22, label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 1, 0, 2 } uselistorder i32 %storemerge521.reload, { 0, 3, 1, 2 } uselistorder i8* %49, { 1, 0, 2 } uselistorder i32 %storemerge6.reload, { 3, 1, 2, 0 } uselistorder i64 %indvars.iv.next30, { 0, 2, 1 } uselistorder i32 %15, { 0, 3, 1, 2 } uselistorder i32 %storemerge9.reload, { 3, 1, 2, 0 } uselistorder i32 %8, { 4, 0, 3, 2, 1, 5 } uselistorder i64* %sv_1, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv29.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.025.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge521.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge424.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.in23.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv49.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6, 7 } uselistorder i64 1, { 1, 0, 3, 2 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i8 0, { 1, 2, 0, 3 } uselistorder i32 0, { 2, 3, 5, 4, 6, 0, 1 } uselistorder label LBL_24, { 2, 3, 1, 0, 4, 5, 6 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
security_vm_enough_memory_19255
security_vm_enough_memory
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i64* %2 = load i64, i64* %1, align 8 ret i64 %2 }
1
BinRealVul
dns_question_matches_rr_17964
dns_question_matches_rr
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 21, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_9, label LBL_5 LBL_5: %8 = ptrtoint i64* %arg2 to i64 %9 = ptrtoint i64* %arg1 to i64 %10 = add i64 %9, 8 %11 = inttoptr i64 %10 to i64* %12 = and i64 %1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_6 LBL_6: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %13 = load i64, i64* %11, align 8 %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 = call i64 @FUNC(i64 %17, i64 %8) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_8, label LBL_7 LBL_7: %21 = and i64 %18, 4294967295 store i64 %21, i64* %storemerge.reg2mem br label LBL_9 LBL_8: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %22 = icmp ult i64 %indvars.iv.next, %12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %22, label LBL_6, label LBL_9 LBL_9: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
bdrv_check_3439
bdrv_check
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false %spec.select = select i1 %2, i64 %0, i64 4294967295 ret i64 %spec.select }
0
BinRealVul
sws_alloc_context_174
sws_alloc_context
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 8) %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = inttoptr i64 %0 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %3 = call i64 @FUNC(i64 %0) br label LBL_2 LBL_2: ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
0
BinRealVul
read_private_key_3624
read_private_key
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i8* %storemerge6.reg2mem = alloca i64 %sv_1 = alloca i32*, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 1, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_14 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2) %4 = load i64, i64* @gv_1, align 8 %5 = bitcast i32** %sv_1 to i64* %6 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64* nonnull %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = and i64 %6, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %12 = inttoptr i64 %10 to i8* %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0), i8* %12) store i64 2, i64* %rax.0.reg2mem br label LBL_14 LBL_3: %14 = load i32*, i32** %sv_1, align 8 %15 = ptrtoint i32* %14 to i64 %16 = call i64 @FUNC(i64 %15, i64 1) %17 = icmp eq i64 %16, 0 store i64 10, i64* %rax.0.reg2mem br i1 %17, label LBL_14, label LBL_4 LBL_4: %18 = inttoptr i64 %16 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 10, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_14 LBL_5: %22 = load i32*, i32** %sv_1, align 8 %23 = load i32, i32* %22, align 4 %24 = icmp ult i32 %23, 2048 %narrow = select i1 %24, i32 %23, i32 2048 %25 = zext i32 %narrow to i64 %26 = ptrtoint i32* %22 to i64 %27 = call i64 @FUNC(i64 %26) %28 = load i64, i64* @gv_1, align 8 %29 = call i64 @FUNC(i64 %28, i64 0, i64* nonnull %sv_3, i64 %25, i64 0) %30 = trunc i64 %29 to i32 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_7, label LBL_6 LBL_6: %33 = and i64 %29, 4294967295 %34 = call i64 @FUNC(i64 %33) %35 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %36 = inttoptr i64 %34 to i8* %37 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %35, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i8* %36) store i64 2, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %38 = ptrtoint i64* %arg1 to i64 %39 = bitcast i64* %sv_3 to i8* %sext = mul i64 %29, 4294967296 %40 = ashr exact i64 %sext, 32 %41 = icmp ult i64 %40, 4 store i64 %40, i64* %storemerge6.reg2mem store i8* %39, i8** %sv_0.05.reg2mem store i64 3, i64* %rax.0.reg2mem br i1 %41, label LBL_14, label LBL_8 LBL_8: %sv_0.05.reload = load i8*, i8** %sv_0.05.reg2mem %42 = load i8, i8* %sv_0.05.reload, align 1 %43 = zext i8 %42 to i64 %44 = mul i64 %43, 256 %45 = ptrtoint i8* %sv_0.05.reload to i64 %46 = add i64 %45, 1 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = zext i8 %48 to i64 %50 = or i64 %44, %49 store i64 %50, i64* %sv_2, align 8 %51 = icmp eq i64 %50, 0 br i1 %51, label LBL_12, label LBL_9 LBL_9: %52 = icmp ult i64 %50, 3 store i64 3, i64* %rax.0.reg2mem br i1 %52, label LBL_14, label LBL_10 LBL_10: %53 = add i64 %45, 2 %54 = inttoptr i64 %53 to i8* %55 = load i8, i8* %54, align 1 %56 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %57 = zext i8 %55 to i32 %58 = icmp eq i32 %56, %57 br i1 %58, label LBL_13, label LBL_11 LBL_11: %storemerge6.reload = load i64, i64* %storemerge6.reg2mem %59 = add i64 %50, %45 %60 = inttoptr i64 %59 to i8* %61 = sub i64 %storemerge6.reload, %50 %62 = icmp ult i64 %61, 4 store i64 %61, i64* %storemerge6.reg2mem store i8* %60, i8** %sv_0.05.reg2mem store i64 3, i64* %rax.0.reg2mem br i1 %62, label LBL_14, label LBL_8 LBL_12: %63 = load i32, i32* @gv_5, align 4 %64 = zext i32 %63 to i64 %65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_6, i64 0, i64 0), i64 %64) store i64 2, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %66 = call i64 @FUNC(i64 %45, i64 %50, i64 %38) store i64 %66, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %50, { 0, 2, 1, 3, 4, 5 } uselistorder i8* %sv_0.05.reload, { 1, 0 } uselistorder i64* %sv_2, { 2, 0, 1 } uselistorder i32** %sv_1, { 1, 0, 2 } uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 } uselistorder i8** %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 10, 9, 1, 2, 3, 8, 5, 4, 7, 6 } uselistorder i64 3, { 0, 1, 3, 2 } uselistorder i64 4, { 1, 0 } uselistorder i64 10, { 1, 0 } uselistorder i64 2, { 2, 3, 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_2, { 1, 0 } uselistorder i64 (i64)* @sc_strerror, { 1, 0 } uselistorder i64 0, { 3, 4, 16, 5, 6, 12, 11, 17, 7, 8, 9, 10, 0, 1, 2, 13, 14, 15 } uselistorder i64 1, { 2, 1, 0 } uselistorder label LBL_14, { 6, 7, 0, 1, 2, 8, 4, 3, 9, 5 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
qemu_popen_cmd_2475
qemu_popen_cmd
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg2, null br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp ne i8 %3, 114 %5 = icmp eq i8 %3, 119 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %4, %6 br i1 %or.cond, label LBL_3, label LBL_2 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = add i64 %7, 1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %13 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_1 to i64*), i32 1, i32 43, %_IO_FILE* %12) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_4: %14 = bitcast i64* %arg2 to i8* %15 = call %_IO_FILE* @popen(i8* %arg1, i8* %14) %16 = icmp eq %_IO_FILE* %15, null %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_8 LBL_5: %18 = bitcast i64* %rsi to i8* %19 = ptrtoint %_IO_FILE* %15 to i64 %20 = call i64 @FUNC(i64 16) %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = load i8, i8* %18, align 8 %23 = icmp eq i8 %22, 114 %24 = icmp eq i1 %23, false br i1 %24, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %20, i64* nonnull @gv_2) %26 = add i64 %20, 8 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 store i64 %25, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %28 = call i64 @FUNC(i64 %20, i64* nonnull @gv_3) %29 = add i64 %20, 8 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 store i64 %28, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 1, 0, 2, 3, 4 } uselistorder %_IO_FILE* %15, { 1, 0 } uselistorder i8 %3, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 } uselistorder i64 (i64, i64*)* @qemu_fopen_ops, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64* %arg2, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0, 2, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
virtio_scsi_handle_ctrl_14729
virtio_scsi_handle_ctrl
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = add i64 %0, 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 br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = ptrtoint i64* %arg2 to i64 %8 = call i64 @FUNC(i64 %0, i64 %7) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %.reg2mem store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_5 LBL_3: %11 = call i64 @FUNC(i64 %0) store i64 %11, i64* %rax.0.reg2mem br label LBL_5 LBL_4: %.reload = load i64, i64* %.reg2mem %12 = call i64 @FUNC(i64 %0, i64 %.reload) %13 = call i64 @FUNC(i64 %0, i64 %7) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %.reg2mem store i64 %13, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %7, { 1, 0 } uselistorder i64 %0, { 2, 1, 3, 0, 4 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 } uselistorder i64 (i64, i64)* @virtio_scsi_pop_req, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
insn_get_seg_base_5872
insn_get_seg_base
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %3 = and i64 %arg2, 4294967295 %4 = call i64 @FUNC(i64 %1, i64 %3) %5 = trunc i64 %4 to i32 %sext3 = mul i32 %5, 65536 %6 = ashr exact i32 %sext3, 16 store i32 %6, i32* %sv_0, align 4 %7 = trunc i32 %6 to i16 %8 = icmp slt i16 %7, 0 %9 = icmp eq i1 %8, false store i64 -1, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_11 LBL_1: %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = ashr exact i32 %sext3, 12 %14 = sext i32 %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %15 = call i64 @FUNC(i64 %1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_8, label LBL_4 LBL_4: %18 = trunc i64 %arg2 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 3221225728, i64 %2) br label LBL_11 LBL_6: %22 = icmp eq i32 %18, 1 %23 = icmp eq i1 %22, false store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_11, label LBL_7 LBL_7: %24 = call i64 @FUNC(i64 3221225729, i64 %2) br label LBL_11 LBL_8: %25 = icmp eq i16 %7, 0 %26 = icmp eq i1 %25, false store i64 -1, i64* %rax.0.reg2mem br i1 %26, label LBL_9, label LBL_11 LBL_9: %27 = zext i32 %6 to i64 %28 = bitcast i32* %sv_0 to i16* %29 = call i64 @FUNC(i16* nonnull %28, i64 %27) %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 %32 = icmp eq i1 %31, false store i64 -1, i64* %rax.0.reg2mem br i1 %32, label LBL_10, label LBL_11 LBL_10: %33 = call i64 @FUNC(i16* nonnull %28) store i64 %33, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sext3, { 1, 0 } uselistorder i32* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 5, 4 } uselistorder i64 (i64, i64)* @rdmsrl, { 1, 0 } uselistorder label LBL_11, { 6, 0, 1, 3, 4, 2, 7, 5 } }
0
BinRealVul
brcmf_inform_bss_9316
brcmf_inform_bss
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = and i64 %3, 4294967295 %9 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %5, i64 %2, i64 %1) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = zext i32 %13 to i64 %16 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %4, i64 %5, i64 %2, i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_7 LBL_4: %17 = and i64 %3, 4294967295 %18 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %5, i64 %2, i64 %1) store i32 0, i32* %storemerge13.reg2mem store i64 0, i64* %sv_0.02.reg2mem br label LBL_5 LBL_5: %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %19 = call i64 @FUNC(i64 %10, i64 %sv_0.02.reload) %20 = call i64 @FUNC(i64 %10, i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = add i32 %storemerge13.reload, 1 %24 = sext i32 %23 to i64 %25 = icmp sgt i64 %17, %24 %or.cond = icmp eq i1 %25, %22 store i32 %23, i32* %storemerge13.reg2mem store i64 %19, i64* %sv_0.02.reg2mem br i1 %or.cond, label LBL_5, label LBL_6 LBL_6: %phitmp = and i64 %20, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 2, 0 } uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @brcmf_dbg, { 1, 0 } uselistorder i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), { 1, 0 } uselistorder label LBL_7, { 1, 2, 0 } }
0
BinRealVul
udp_gro_receive_3650
udp_gro_receive
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i64 %rdx = alloca i64, align 8 %0 = call i64 @FUNC(i64 %arg2) %1 = call i64 @FUNC(i64 %arg2) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %sv_1.1.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %5, label LBL_19, label LBL_1 LBL_1: %6 = add i64 %arg2, 16 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label LBL_4, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %arg2) %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %arg2) %17 = add i64 %16, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64 0, i64* %sv_1.1.reg2mem store i32 1, i32* %sv_0.1.reg2mem br i1 %20, label LBL_19, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %arg2) %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = call i64 @FUNC() %24 = load i64, i64* @gv_0, align 8 %25 = call i64 @FUNC(i64 %24) %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i64 0, i64* %sv_1.0.reg2mem store i32 1, i32* %sv_0.0.reg2mem br i1 %27, label LBL_5, label LBL_18 LBL_5: %28 = ptrtoint i64* %arg1 to i64 %29 = add i64 %arg2, 24 %30 = inttoptr i64 %29 to i64* %31 = add i64 %arg3, 2 %32 = inttoptr i64 %31 to i16* store i64 %25, i64* %storemerge5.reg2mem br label LBL_6 LBL_6: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %33 = load i64, i64* %30, align 8 %34 = call i64 @FUNC(i64 %33) %35 = add i64 %storemerge5.reload, 16 %36 = call i64 @FUNC(i64 %35) %37 = call i64 @FUNC(i64 %36, i64 %34) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_11, label LBL_7 LBL_7: %40 = add i64 %storemerge5.reload, 8 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = inttoptr i64 %42 to i16* %44 = load i16, i16* %43, align 2 %45 = load i16, i16* %32, align 2 %46 = icmp eq i16 %44, %45 %47 = icmp eq i1 %46, false br i1 %47, label LBL_11, label LBL_8 LBL_8: %48 = add i64 %42, 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = icmp eq i64 %50, 0 %52 = icmp eq i1 %51, false br i1 %52, label LBL_9, label LBL_11 LBL_9: %53 = icmp eq i64 %36, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_10, label LBL_17 LBL_10: %55 = and i64 %0, 4294967295 %56 = bitcast i64* %rdx to i32* %57 = add i64 %arg3, 4 %58 = inttoptr i64 %57 to i16* store i64 %36, i64* %storemerge13.reg2mem br label LBL_12 LBL_11: %59 = inttoptr i64 %storemerge5.reload to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60) %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false store i64 %61, i64* %storemerge5.reg2mem store i64 0, i64* %sv_1.0.reg2mem store i32 1, i32* %sv_0.0.reg2mem br i1 %63, label LBL_6, label LBL_18 LBL_12: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %64 = call i64 @FUNC(i64 %storemerge13.reload) %65 = add i64 %64, 12 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label LBL_16, label LBL_13 LBL_13: %69 = add i64 %storemerge13.reload, 8 %70 = inttoptr i64 %69 to i64* %71 = load i64, i64* %70, align 8 %72 = add i64 %71, %55 %73 = load i32, i32* %56, align 8 %74 = zext i32 %73 to i64 store i64 %74, i64* %rdx, align 8 %75 = inttoptr i64 %72 to i32* %76 = load i32, i32* %75, align 4 %77 = icmp eq i32 %73, %76 %78 = icmp eq i1 %77, false br i1 %78, label LBL_15, label LBL_14 LBL_14: %79 = load i16, i16* %58, align 2 %80 = icmp eq i16 %79, 0 %81 = add i64 %72, 4 %82 = inttoptr i64 %81 to i16* %83 = load i16, i16* %82, align 2 %84 = icmp eq i16 %83, 0 %85 = icmp eq i1 %84, %80 br i1 %85, label LBL_16, label LBL_15 LBL_15: %86 = call i64 @FUNC(i64 %storemerge13.reload) %87 = add i64 %86, 12 %88 = inttoptr i64 %87 to i32* store i32 0, i32* %88, align 4 br label LBL_16 LBL_16: %89 = inttoptr i64 %storemerge13.reload to i64* %90 = load i64, i64* %89, align 8 %91 = icmp eq i64 %90, 0 %92 = icmp eq i1 %91, false store i64 %90, i64* %storemerge13.reg2mem br i1 %92, label LBL_12, label LBL_17 LBL_17: %93 = call i64 @FUNC(i64 %arg2, i64 6) %94 = call i64 @FUNC(i64 %arg2, i64 %arg3, i64 6) %95 = load i64, i64* %41, align 8 %96 = call i64 @FUNC(i64 %arg2) %97 = add i64 %95, 4 %98 = inttoptr i64 %97 to i32* %99 = load i32, i32* %98, align 4 %100 = add i64 %96, 20 %101 = inttoptr i64 %100 to i32* store i32 %99, i32* %101, align 4 store i64 %28, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_18 LBL_18: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %102 = call i64 @FUNC() store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_19 LBL_19: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %103 = call i64 @FUNC(i64 %arg2) %104 = add i64 %103, 16 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = or i32 %106, %sv_0.1.reload store i32 %107, i32* %105, align 4 ret i64 %sv_1.1.reload uselistorder i64 %storemerge13.reload, { 3, 0, 1, 2 } uselistorder i64 %storemerge5.reload, { 2, 0, 1 } uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @rcu_dereference, { 1, 0 } uselistorder i64 4, { 2, 0, 1, 3 } uselistorder i1 false, { 3, 2, 6, 1, 4, 5, 0, 7, 8 } uselistorder i64 (i64)* @NAPI_GRO_CB, { 7, 4, 6, 5, 3, 2, 1, 0 } uselistorder i64 %arg2, { 8, 1, 3, 2, 4, 5, 0, 7, 6, 9, 10 } uselistorder label LBL_19, { 2, 1, 0 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_16, { 1, 2, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
hmp_logfile_2615
hmp_logfile
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0) %3 = load i64, i64* %sv_0, align 8 %4 = icmp eq i64 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %3) store i64 %5, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0, 2 } }
0
BinRealVul
timerfd_remove_cancel_12992
timerfd_remove_cancel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = bitcast i64* %arg1 to i8* store i8 0, i8* %5, align 1 %6 = call i64 @FUNC(i64* nonnull @gv_0) %7 = add i64 %4, 8 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
vq_endchains_5726
vq_endchains
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 store i64 %0, i64* %rdi, align 8 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_11, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %rax.1.reg2mem br i1 %5, label LBL_11, label LBL_2 LBL_2: %6 = call i64 @FUNC() %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = load i64, i64* %3, align 8 %11 = inttoptr i64 %10 to i16* %12 = load i16, i16* %11, align 2 store i16 %12, i16* %8, align 2 %13 = trunc i64 %arg2 to i32 %14 = icmp eq i32 %13, 0 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 %15 = urem i32 %.pre, 2 %16 = icmp eq i32 %15, 0 %or.cond = or i1 %14, %16 br i1 %or.cond, label LBL_3, label LBL_10 LBL_3: %17 = and i32 %.pre, 2 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %0) %20 = trunc i64 %19 to i16 %21 = sub i16 0, %20 %22 = sub i16 %21, 1 %23 = add i16 %12, %22 %24 = sub i16 %12, %9 %25 = icmp ult i16 %23, %24 %26 = zext i1 %25 to i64 %27 = zext i1 %25 to i32 store i32 %27, i32* %sv_0.0.reg2mem store i64 %26, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %28 = icmp eq i16 %12, %9 br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = add i64 %0, 24 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = inttoptr i64 %31 to i16* %33 = load i16, i16* %32, align 2 %34 = urem i16 %33, 2 %35 = icmp eq i16 %34, 0 %36 = icmp eq i1 %35, false store i64 1, i64* %storemerge.reg2mem br i1 %36, label LBL_7, label LBL_8 LBL_7: store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem %37 = trunc i64 %storemerge.reload to i32 store i32 %37, i32* %sv_0.0.reg2mem store i64 %storemerge.reload, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %38 = icmp eq i32 %sv_0.0.reload, 0 store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = call i64 @FUNC(i64 %0, i64 %0) store i64 %39, i64* %rax.1.reg2mem br label LBL_11 LBL_11: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %.pre, { 1, 0 } uselistorder i16 %12, { 2, 1, 0, 3 } uselistorder i16 %9, { 1, 0 } uselistorder i64 %0, { 3, 0, 2, 1, 4, 5, 6 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i16 0, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder label LBL_11, { 2, 3, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
net_check_clients_16586
net_check_clients
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge10.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_1.1.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.111.reg2mem = alloca i32 %sv_0.112.reg2mem = alloca i32 %storemerge313.reg2mem = alloca i64 %sv_1.215.reg2mem = alloca i32 %sv_0.216.reg2mem = alloca i32 %storemerge217.reg2mem = alloca i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge217.reg2mem br label LBL_1 LBL_1: %sv_1.215.reload = load i32, i32* %sv_1.215.reg2mem %sv_0.216.reload = load i32, i32* %sv_0.216.reg2mem %storemerge217.reload = load i64, i64* %storemerge217.reg2mem %0 = add i64 %storemerge217.reload, 16 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %storemerge313.reg2mem store i32 %sv_0.216.reload, i32* %sv_0.112.reg2mem store i32 %sv_1.215.reload, i32* %sv_1.111.reg2mem store i32 %sv_1.215.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.216.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %2, label LBL_2, label LBL_5 LBL_2: %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem %storemerge313.reload = load i64, i64* %storemerge313.reg2mem %3 = add i64 %storemerge313.reload, 8 %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 = icmp eq i32 %7, 1 store i32 1, i32* %sv_1.0.reg2mem store i32 %sv_0.112.reload, i32* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem %9 = icmp sgt i32 %7, 0 %10 = add i32 %7, -2 %11 = icmp ult i32 %10, 4 %or.cond = icmp eq i1 %9, %11 %spec.select = select i1 %or.cond, i32 1, i32 %sv_0.112.reload store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %12 = inttoptr i64 %storemerge313.reload to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge313.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.112.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem br i1 %15, label LBL_2, label LBL_5 LBL_5: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem %16 = icmp eq i32 %sv_0.1.lcssa.reload, 0 %17 = icmp eq i32 %sv_1.1.lcssa.reload, 0 %18 = icmp eq i1 %17, false %or.cond6 = or i1 %16, %18 br i1 %or.cond6, label LBL_7, label LBL_6 LBL_6: %19 = add i64 %storemerge217.reload, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %22) br label LBL_9 LBL_7: %25 = icmp eq i1 %16, false %or.cond8 = or i1 %17, %25 br i1 %or.cond8, label LBL_9, label LBL_8 LBL_8: %26 = add i64 %storemerge217.reload, 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = zext i32 %28 to i64 %30 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %29) br label LBL_9 LBL_9: %32 = inttoptr i64 %storemerge217.reload to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 %33, i64* %storemerge217.reg2mem store i32 %sv_0.1.lcssa.reload, i32* %sv_0.216.reg2mem store i32 %sv_1.1.lcssa.reload, i32* %sv_1.215.reg2mem store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge10.reg2mem br i1 %35, label LBL_1, label LBL_10 LBL_10: %storemerge10.reload = load i64, i64* %storemerge10.reg2mem %36 = add i64 %storemerge10.reload, 24 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_12, label LBL_11 LBL_11: %41 = add i64 %storemerge10.reload, 16 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %storemerge10.reload, 8 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = icmp eq i32 %48, 1 %50 = icmp eq i1 %49, false %51 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %52 = select i1 %50, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0) %53 = inttoptr i64 %43 to i8* %54 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %51, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i8* %52, i8* %53) br label LBL_12 LBL_12: %55 = inttoptr i64 %storemerge10.reload to i64* %56 = load i64, i64* %55, align 8 %57 = icmp eq i64 %56, 0 %58 = icmp eq i1 %57, false store i64 %56, i64* %storemerge10.reg2mem br i1 %58, label LBL_10, label LBL_13 LBL_13: ret i64 %56 uselistorder i64 %56, { 1, 0, 2 } uselistorder i64 %storemerge10.reload, { 0, 2, 1, 3 } uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i32 %7, { 1, 0, 2 } uselistorder i32 %sv_0.112.reload, { 1, 0 } uselistorder i64 %storemerge217.reload, { 3, 1, 0, 2 } uselistorder i64* %storemerge217.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.216.reg2mem, { 1, 0 } uselistorder i32* %sv_1.215.reg2mem, { 1, 0 } uselistorder i64* %storemerge313.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.112.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.111.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i64 8, { 0, 1, 3, 2 } uselistorder i1 false, { 5, 3, 4, 7, 1, 2, 6, 0 } uselistorder i32 1, { 14, 12, 4, 13, 11, 10, 9, 8, 7, 6, 5, 3, 2, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
exit_notify_13077
exit_notify
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %2) %6 = call i64 @FUNC(i64* nonnull @gv_0) %7 = icmp eq i32 %3, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %2, 24 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 0) br label LBL_2 LBL_2: %12 = trunc i64 %1 to i32 %13 = icmp eq i32 %12, 17 br i1 %13, label LBL_8, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_4 LBL_4: %18 = add i64 %2, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %2, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %23, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %20, %26 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = add i64 %2, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, %20 br i1 %32, label LBL_8, label LBL_6 LBL_6: %33 = call i64 @FUNC(i64 1) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_8, label LBL_7 LBL_7: store i32 17, i32* %arg1, align 4 br label LBL_8 LBL_8: %37 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i32 %3) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 store i32 %38, i32* %sv_0.0.reg2mem br i1 %39, label LBL_10, label LBL_9 LBL_9: %40 = and i64 %37, 4294967295 %41 = call i64 @FUNC(i64 %2, i64 %40) %42 = trunc i64 %41 to i32 store i32 %42, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %43 = icmp eq i32 %sv_0.0.reload, 1 %44 = icmp eq i1 %43, false %. = select i1 %44, i32 2, i32 1 %45 = add i64 %2, 40 %46 = inttoptr i64 %45 to i32* store i32 %., i32* %46, align 4 %47 = call i64 @FUNC(i64 %2) %48 = trunc i64 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label LBL_14, label LBL_11 LBL_11: %50 = add i64 %2, 32 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label LBL_14, label LBL_12 LBL_12: %56 = add i64 %52, 8 %57 = inttoptr i64 %56 to i32* %58 = load i32, i32* %57, align 4 %59 = icmp slt i32 %58, 0 %60 = icmp eq i1 %59, false br i1 %60, label LBL_14, label LBL_13 LBL_13: %61 = call i64 @FUNC(i64 %54) br label LBL_14 LBL_14: %62 = call i64 @FUNC(i64* nonnull @gv_0) %63 = load i64, i64* %sv_1, align 8 %64 = call i64 @FUNC(i64 %2, i32 %sv_0.0.reload, i64 %63, i32 %3) store i64 %64, i64* %rax.0.reg2mem br i1 %44, label LBL_16, label LBL_15 LBL_15: %65 = call i64 @FUNC(i64 %2) store i64 %65, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i32 %3, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %2, { 7, 8, 6, 9, 10, 5, 11, 3, 2, 1, 4, 0, 12, 13 } uselistorder i32 17, { 1, 0 } }
1
BinRealVul
bdrv_invalidate_cache_16365
bdrv_invalidate_cache
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = icmp eq i64 %arg1, 0 store i64 0, i64* %rax.0.reg2mem br i1 %0, label LBL_10, label LBL_1 LBL_1: %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = urem i32 %3, 2 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_10, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = and i32 %3, -2 store i32 %7, i32* %2, align 4 %8 = load i64, i64* %sv_0, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = or i32 %3, 1 store i32 %10, i32* %2, align 4 %11 = load i64, i64* %sv_0, align 8 %12 = call i64 @FUNC(i64 %6, i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %13 = add i64 %arg1, 16 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 %13, i64* %storemerge2.reg2mem br i1 %15, label LBL_5, label LBL_8 LBL_5: %storemerge2.reload = load i64, i64* %storemerge2.reg2mem %16 = inttoptr i64 %storemerge2.reload to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0) %19 = load i64, i64* %sv_0, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = load i32, i32* %2, align 4 %22 = or i32 %21, 1 store i32 %22, i32* %2, align 4 %23 = load i64, i64* %sv_0, align 8 %24 = call i64 @FUNC(i64 %6, i64 %23) store i64 %24, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %25 = add i64 %storemerge2.reload, 8 %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 %27, i64* %storemerge2.reg2mem br i1 %29, label LBL_5, label LBL_8 LBL_8: %30 = add i64 %arg1, 12 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %arg1, i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp slt i32 %35, 0 %37 = icmp eq i1 %36, false store i64 %34, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = load i32, i32* %2, align 4 %39 = or i32 %38, 1 store i32 %39, i32* %2, align 4 %40 = sub i64 0, %34 %41 = and i64 %40, 4294967295 %42 = call i64 @FUNC(i64 %6, i64 %41, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) store i64 %42, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %34, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 0 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i32* %2, { 2, 1, 4, 3, 0, 5, 6 } uselistorder i64* %sv_0, { 2, 3, 1, 4, 0, 5 } uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 16, { 2, 0, 1 } uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2, 3, 4 } uselistorder label LBL_10, { 3, 4, 2, 5, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
name_len_5209
name_len
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = icmp ult i64 %2, %arg3 %4 = trunc i64 %1 to i8 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false %or.cond = icmp eq i1 %3, %6 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_1, label LBL_6 LBL_1: %7 = icmp ugt i8 %4, -65 %8 = icmp eq i1 %7, false store i32* %arg2, i32** %sv_0.0.reg2mem store i64 2, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_6 LBL_2: %9 = icmp ult i64 %22, %arg3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_6 LBL_3: %10 = zext i8 %19 to i64 %11 = add i64 %22, 1 %12 = add i64 %11, %10 %13 = inttoptr i64 %12 to i32* %14 = inttoptr i64 %12 to i8* %15 = load i8, i8* %14, align 1 %16 = icmp eq i8 %15, 0 %17 = icmp eq i1 %16, false store i32* %13, i32** %sv_0.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_4, label LBL_6 LBL_4: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %18 = bitcast i32* %sv_0.0.reload to i8* %19 = load i8, i8* %18, align 1 %20 = icmp eq i8 %19, 0 %21 = icmp eq i1 %20, false %22 = ptrtoint i32* %sv_0.0.reload to i64 br i1 %21, label LBL_2, label LBL_5 LBL_5: %23 = sub i64 1, %2 %24 = add i64 %23, %22 %25 = and i64 %24, 4294967295 store i64 %25, 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 %22, { 0, 2, 1 } uselistorder i8 %19, { 1, 0 } uselistorder i64 %12, { 1, 0 } uselistorder i8 %4, { 1, 0 } uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder i8 0, { 2, 1, 0 } uselistorder label LBL_6, { 4, 0, 1, 2, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
udp_chr_update_read_handler_3614
udp_chr_update_read_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = bitcast i64* %arg1 to i32* store i32 0, i32* %6, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %10, i64 4198699, i64 4198706, i64 %7) %13 = trunc i64 %12 to i32 %14 = bitcast i64* %arg1 to i32* store i32 %13, i32* %14, align 4 store i64 %12, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
ga_channel_write_all_16695
ga_channel_write_all
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_1.0.ph3.reg2mem = alloca i64 %sv_2.0.ph4.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_3 = alloca i64, align 8 %1 = icmp eq i64 %arg3, 0 %2 = icmp eq i1 %1, false store i64 %arg2, i64* %sv_2.0.ph4.reg2mem store i64 %arg3, i64* %sv_1.0.ph3.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %sv_1.0.ph3.reload = load i64, i64* %sv_1.0.ph3.reg2mem %sv_2.0.ph4.reload = load i64, i64* %sv_2.0.ph4.reg2mem br label LBL_2 LBL_2: %3 = call i64 @FUNC(i64 %0, i64 %sv_2.0.ph4.reload, i64 %sv_1.0.ph3.reload, i64* nonnull %sv_3) %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: %7 = load i64, i64* %sv_3, align 8 %8 = sub i64 %sv_1.0.ph3.reload, %7 %9 = add i64 %7, %sv_2.0.ph4.reload %10 = icmp eq i64 %8, 0 %11 = icmp eq i1 %10, false store i64 %9, i64* %sv_2.0.ph4.reg2mem store i64 %8, i64* %sv_1.0.ph3.reg2mem store i64 %3, i64* %sv_0.1.reg2mem br i1 %11, label LBL_1, label LBL_5 LBL_4: %12 = icmp eq i32 %4, 1 %13 = icmp eq i1 %12, false store i64 %3, i64* %sv_0.1.reg2mem br i1 %13, label LBL_5, label LBL_2 LBL_5: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %14 = and i64 %sv_0.1.reload, 4294967295 ret i64 %14 uselistorder i64 %3, { 1, 0, 2 } uselistorder i64 %sv_2.0.ph4.reload, { 1, 0 } uselistorder i64 %sv_1.0.ph3.reload, { 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i64* %sv_2.0.ph4.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.ph3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
send_file_10289
send_file
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = bitcast i64* %sv_0 to %stat* %1 = call i32 @stat(i8* %arg1, %stat* nonnull %0) %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = call i32* @__errno_location() %4 = load i32, i32* %3, align 4 switch i32 %4, label LBL_4 [ i32 2, label LBL_2 i32 13, label LBL_3 ] LBL_2: %5 = call i64 @FUNC(i64 404, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) store i64 %5, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %6 = call i64 @FUNC(i64 403, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) store i64 %6, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %7 = call i64 @FUNC(i64 400, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) store i64 %7, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i8** @gv_4, align 8 %8 = ptrtoint i8* %arg1 to i64 store i64 %8, i64* @gv_5, align 8 %9 = load i64, i64* @gv_6, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %8, i64 %11, i64* nonnull @gv_5) %13 = load i64, i64* @gv_5, align 8 %14 = call i64 @FUNC(i64 %13, i64 ptrtoint (i64* @gv_7 to i64), i64* nonnull @gv_5) %15 = call i64 @FUNC() %16 = call i64 @FUNC(i64 %8) store i64 %16, 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* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64, i64*)* @skip_prefix, { 1, 0 } uselistorder i64* @gv_5, { 0, 2, 1, 3 } uselistorder i64 (i64, i8*, i8*)* @cgit_print_error_page, { 2, 1, 0 } uselistorder i32 1, { 2, 0, 1 } }
0
BinRealVul
isolate_huge_page_10899
isolate_huge_page
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 1 store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = call i64 @FUNC(i64* nonnull @gv_0) %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i8 %7 = icmp eq i8 %6, 1 %8 = icmp eq i1 %7, false store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_4, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 1 store i64 0, i64* %sv_0.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = ptrtoint i64* %arg2 to i64 %13 = call i64 @FUNC(i64 %0) %14 = call i64 @FUNC(i64 %0, i64 %12) store i64 1, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64* nonnull @gv_0) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 2, 3, 4 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } }
0
BinRealVul
mov_read_mdhd_2292
mov_read_mdhd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %sext = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext, 29 %8 = add nsw i64 %7, -8 %9 = add i64 %8, %6 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %11, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %2) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %17, label LBL_1, label LBL_5 LBL_1: %18 = inttoptr i64 %14 to i32* %19 = call i64 @FUNC(i64 %2) %20 = icmp eq i32 %16, 1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_2 LBL_2: %22 = call i64 @FUNC(i64 %2) %23 = call i64 @FUNC(i64 %2) %24 = call i64 @FUNC(i64 %2) %25 = trunc i64 %24 to i32 store i32 %25, i32* %18, align 4 %26 = call i64 @FUNC(i64 %2) store i64 %26, i64* %storemerge3.reg2mem br label LBL_4 LBL_3: %27 = call i64 @FUNC(i64 %2) %28 = call i64 @FUNC(i64 %2) %29 = call i64 @FUNC(i64 %2) %30 = trunc i64 %29 to i32 store i32 %30, i32* %18, align 4 %31 = call i64 @FUNC(i64 %2) store i64 %31, i64* %storemerge3.reg2mem br label LBL_4 LBL_4: %32 = inttoptr i64 %11 to i32* %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %33 = trunc i64 %storemerge3.reload to i32 store i32 %33, i32* %32, align 4 %34 = call i64 @FUNC(i64 %2) %35 = urem i64 %34, 65536 %36 = add i64 %11, 4 %37 = call i64 @FUNC(i64 %35, i64 %36) %38 = call i64 @FUNC(i64 %2) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 2, 1, 3, 0, 7, 6, 4, 5, 8, 9, 10, 11 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @get_be16, { 1, 0 } uselistorder i64 (i64)* @get_be32, { 4, 0, 2, 1, 3 } uselistorder i64 (i64)* @get_be64, { 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
fips_cprng_reset_7961
fips_cprng_reset
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i32 %arg3, 48 store i64 4294967274, i64* %rax.0.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 32 %5 = inttoptr i64 %4 to i64* %6 = call i32 @memcmp(i64* %arg2, i64* %5, i32 16) %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_5 LBL_2: %9 = call i64 @FUNC(i64 %0, i64 %3, i32 %arg3) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 store i64 %9, i64* %sv_0.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = inttoptr i64 %1 to i32* %13 = call i64 @FUNC(i64* nonnull %sv_1, i64 32, i64 %1, i64 0) store i32 32, i32* %12, align 4 store i64 %13, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = and i64 %sv_0.0.reload, 4294967295 store i64 %14, 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, 3, 1, 2 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_5, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
remove_path_17580
remove_path
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @unlink(i8* %0) %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_1, label LBL_5 LBL_1: %3 = call i32 @strlen(i8* %0) %4 = add i32 %3, 1 %5 = call i64* @malloc(i32 %4) %6 = ptrtoint i64* %5 to i64 %7 = inttoptr i64 %arg1 to i64* %8 = call i64* @memcpy(i64* %5, i64* %7, i32 %3) %9 = sext i32 %3 to i64 %10 = add i64 %6, %9 %11 = inttoptr i64 %10 to i8* store i8 0, i8* %11, align 1 br label LBL_3 LBL_2: store i8 0, i8* %15, align 1 %12 = call i32 @rmdir(i8* %0) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = call i8* @strrchr(i8* %0, i32 47) %16 = icmp eq i8* %15, null %17 = icmp eq i1 %16, false br i1 %17, label LBL_2, label LBL_4 LBL_4: call void @free(i64* %5) br label LBL_5 LBL_5: %storemerge = zext i32 %1 to i64 ret i64 %storemerge uselistorder i8* %15, { 1, 0 } uselistorder i8* %0, { 1, 0, 2, 3 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
grlib_gptimer_readl_1933
grlib_gptimer_readl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %arg2, 256 %4 = icmp eq i64 %3, 8 br i1 %4, label LBL_5, label LBL_1 LBL_1: %5 = icmp ult i64 %3, 9 br i1 %5, label LBL_2, label LBL_6 LBL_2: %trunc = trunc i64 %arg2 to i8 switch i8 %trunc, label LBL_6 [ i8 0, label LBL_3 i8 4, label LBL_4 ] LBL_3: %6 = trunc i64 %1 to i32 %7 = call i64 @FUNC(i64 4294967295, i64 %3, i32 %6) %8 = and i64 %1, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_16 LBL_4: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i64 @FUNC(i64 4294967295, i64 %3, i32 %11) %13 = load i32, i32* %10, align 4 %14 = zext i32 %13 to i64 store i64 %14, i64* %rax.0.reg2mem br label LBL_16 LBL_5: %15 = add i64 %2, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = call i64 @FUNC(i64 4294967295, i64 8, i32 %17) %19 = load i32, i32* %16, align 4 %20 = zext i32 %19 to i64 store i64 %20, i64* %rax.0.reg2mem br label LBL_16 LBL_6: %21 = add nuw nsw i64 %3, 137438953440 %22 = udiv i64 %21, 32 %23 = trunc i64 %22 to i32 %24 = icmp slt i32 %23, 0 br i1 %24, label LBL_15, label LBL_7 LBL_7: %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %sext = mul i64 %22, 4294967296 %29 = ashr exact i64 %sext, 32 %30 = icmp slt i64 %29, %28 br i1 %30, label LBL_8, label LBL_15 LBL_8: %31 = urem i64 %arg2, 32 %32 = icmp eq i64 %31, 16 br i1 %32, label LBL_13, label LBL_9 LBL_9: %33 = icmp ult i64 %31, 17 br i1 %33, label LBL_10, label LBL_15 LBL_10: %34 = icmp eq i64 %31, 8 br i1 %34, label LBL_14, label LBL_11 LBL_11: %35 = icmp eq i64 %31, 12 %36 = icmp eq i1 %35, false br i1 %36, label LBL_15, label LBL_12 LBL_12: %37 = add i64 %2, 16 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = ashr exact i64 %sext, 28 %41 = or i64 %40, 8 %42 = add i64 %39, %41 %43 = inttoptr i64 %42 to i64* %44 = load i64, i64* %43, align 8 %45 = call i64 @FUNC(i64 %44) %46 = trunc i64 %45 to i32 %47 = and i64 %22, 4294967295 %48 = call i64 @FUNC(i64 %47, i64 %3, i32 %46) %49 = and i64 %45, 4294967295 store i64 %49, i64* %rax.0.reg2mem br label LBL_16 LBL_13: %50 = add i64 %2, 16 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = ashr exact i64 %sext, 28 %54 = add i64 %52, %53 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = and i64 %22, 4294967295 %58 = call i64 @FUNC(i64 %57, i64 %3, i32 %56) %59 = zext i32 %56 to i64 store i64 %59, i64* %rax.0.reg2mem br label LBL_16 LBL_14: %60 = add i64 %2, 16 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = ashr exact i64 %sext, 28 %64 = or i64 %63, 4 %65 = add i64 %62, %64 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = and i64 %22, 4294967295 %69 = call i64 @FUNC(i64 %68, i64 %3, i32 %67) %70 = load i64, i64* %61, align 8 %71 = add i64 %70, %64 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = zext i32 %73 to i64 store i64 %74, i64* %rax.0.reg2mem br label LBL_16 LBL_15: %75 = call i64 @FUNC(i64 4294967295, i64 %3, i32 0) store i64 0, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %56, { 1, 0 } uselistorder i64 %sext, { 2, 3, 1, 0 } uselistorder i64 %22, { 3, 4, 2, 0, 1 } uselistorder i64 %3, { 5, 7, 6, 8, 4, 3, 2, 1, 0 } uselistorder i64 %2, { 2, 1, 3, 0, 5, 4 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1, 7, 5, 6 } uselistorder i64 28, { 1, 0, 2 } uselistorder i64 16, { 1, 2, 3, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 (i64, i64, i32)* @trace_grlib_gptimer_readl, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4294967295, { 6, 2, 1, 4, 3, 7, 8, 0, 9, 5 } uselistorder i64 %arg2, { 0, 2, 1 } }
0
BinRealVul
tcg_out_qemu_st_slow_path_7459
tcg_out_qemu_st_slow_path
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = urem i32 %4, 16 %6 = sub i64 %1, %0 %7 = trunc i64 %6 to i32 %8 = add i32 %7, -4 %9 = bitcast i64* %arg2 to i32* store i32 %8, i32* %9, align 4 %10 = inttoptr i64 %2 to i64* %11 = load i64, i64* %10, align 8 %12 = sub i64 %1, %11 %13 = trunc i64 %12 to i32 %14 = add i32 %13, -4 %15 = inttoptr i64 %11 to i32* store i32 %14, i32* %15, align 4 %16 = call i64 @FUNC(i64 %1, i64 0, i64 0, i64 1, i64 0) %17 = add i64 %0, 12 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %1, i64 1, i64 %20, i64 1, i64 4) %22 = add i64 %0, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %1, i64 1, i64 %25, i64 1, i64 8) %27 = add i64 %0, 20 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %1, i64 1, i64 %30, i64 1, i64 12) %32 = icmp eq i32 %5, 1 %33 = icmp eq i1 %32, false store i32 16, i32* %sv_0.0.reg2mem br i1 %33, label LBL_2, label LBL_1 LBL_1: %34 = add i64 %0, 24 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %1, i64 1, i64 %37, i64 1, i64 16) store i32 20, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %39 = add i64 %0, 28 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = zext i32 %41 to i64 %43 = zext i32 %sv_0.0.reload to i64 %44 = call i64 @FUNC(i64 %1, i64 1, i64 1, i64 %43, i64 %42) %45 = add nuw nsw i32 %sv_0.0.reload, 4 %46 = add i64 %0, 32 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = call i64 @FUNC(i64 %1, i64 1, i32 2, i64 %48) %50 = zext i32 %45 to i64 %51 = call i64 @FUNC(i64 %1, i64 1, i64 2, i64 1, i64 %50) %52 = call i64 @FUNC(i64 %1, i64 2) %53 = sext i32 %4 to i64 %54 = mul i64 %53, 8 %55 = add i64 %54, ptrtoint (i64* @gv_0 to i64) %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %1, i64 %57) ret i64 %58 uselistorder i32 %4, { 1, 0 } uselistorder i64 %1, { 1, 4, 3, 2, 5, 0, 6, 7, 8, 9, 10, 11 } uselistorder i64 %0, { 1, 2, 0, 3, 5, 4, 7, 6 } uselistorder i64 (i64, i64, i64, i64, i64)* @tcg_out_st, { 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 1, 0, 2, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11, 13 } }
1
BinRealVul
nbd_co_receive_request_686
nbd_co_receive_request
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC() %7 = add i64 %5, 8 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = ptrtoint i32* %arg2 to i64 %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %9) %12 = icmp eq i64 %11, -1 %13 = icmp eq i1 %12, false store i64 -5, i64* %sv_0.0.reg2mem br i1 %13, label LBL_1, label LBL_8 LBL_1: %14 = trunc i64 %9 to i32 %15 = icmp ult i32 %14, 1025 br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = and i64 %9, 4294967295 %17 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 1024, i64 %4, i64 %2, i64 %1) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_8 LBL_3: %18 = add i64 %9, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i32 %20, %14 %22 = icmp ult i32 %21, %20 %23 = icmp eq i1 %22, false br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = zext i32 %21 to i64 %25 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %24, i64 %4, i64 %2, i64 %1) store i64 -22, i64* %sv_0.0.reg2mem br label LBL_8 LBL_5: %26 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %9, i32 %21, i64 %4, i64 %2, i64 %1) %27 = add i64 %9, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = urem i32 %29, 16 %31 = icmp eq i32 %30, 1 %32 = icmp eq i1 %31, false store i64 0, i64* %sv_0.0.reg2mem br i1 %32, label LBL_8, label LBL_6 LBL_6: %33 = and i64 %9, 4294967295 %34 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %33, i32 %21, i64 %4, i64 %2, i64 %1) %35 = load i64, i64* %8, align 8 %36 = call i64 @FUNC(i64 %10, i64 %35, i32 %14) %37 = and i64 %35, 4294967295 %38 = icmp eq i64 %36, %37 store i64 0, i64* %sv_0.0.reg2mem br i1 %38, label LBL_8, label LBL_7 LBL_7: %39 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %35, i64 %37, i64 %35, i64 %2, i64 %1) store i64 -5, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i64 0, i64* %8, align 8 ret i64 %sv_0.0.reload uselistorder i64 %37, { 1, 0 } uselistorder i64 %35, { 2, 1, 0, 3 } uselistorder i32 %21, { 0, 1, 3, 2 } uselistorder i32 %20, { 1, 0 } uselistorder i32 %14, { 1, 0, 2 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %9, { 0, 5, 2, 3, 6, 1, 4, 7 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64 %2, { 4, 1, 0, 3, 2 } uselistorder i64 %1, { 4, 1, 0, 3, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @TRACE, { 1, 0 } uselistorder i64 -22, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOG, { 2, 1, 0 } uselistorder i64 -5, { 1, 0 } uselistorder label LBL_8, { 3, 1, 0, 4, 5, 2 } }
0
BinRealVul
string_to_crypto_hash_type_9976
string_to_crypto_hash_type
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = inttoptr i64 %arg1 to i8* %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i32 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false store i64 1, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_6 LBL_2: %7 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0)) %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 2, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_6 LBL_3: %10 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 3, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %13 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0)) %14 = icmp eq i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_6 LBL_5: %16 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %. = select i1 %18, i64 2, i64 5 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 2, { 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 4, 1, 2, 5, 3, 0 } }
0
BinRealVul
string_output_append_1114
string_output_append
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 16) %1 = inttoptr i64 %0 to i64* store i64 %arg2, i64* %1, align 8 %2 = add i64 %arg2, 1 %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* store i64 %2, i64* %4, align 8 %5 = call i64 @FUNC(i64 16, i64 %0) store i64 %5, i64* %arg1, align 8 ret i64 %5 uselistorder i64 %5, { 1, 0 } }
0
BinRealVul
ipmi_si_mem_setup_11829
ipmi_si_mem_setup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %storemerge5.reg2mem = alloca i32 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 4294967277, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_14 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 24 %4 = inttoptr i64 %3 to i64* store i64 4198726, i64* %4, align 8 %5 = add i64 %2, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 4 br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = icmp sgt i32 %7, 4 br i1 %9, label LBL_7, label LBL_3 LBL_3: switch i32 %7, label LBL_7 [ i32 1, label LBL_4 i32 2, label LBL_5 ] LBL_4: %10 = add i64 %2, 40 %11 = inttoptr i64 %10 to i64* store i64 4198803, i64* %11, align 8 %12 = add i64 %2, 48 %13 = inttoptr i64 %12 to i64* store i64 4198810, i64* %13, align 8 br label LBL_8 LBL_5: %14 = add i64 %2, 40 %15 = inttoptr i64 %14 to i64* store i64 4198817, i64* %15, align 8 %16 = add i64 %2, 48 %17 = inttoptr i64 %16 to i64* store i64 4198824, i64* %17, align 8 br label LBL_8 LBL_6: %18 = add i64 %2, 40 %19 = inttoptr i64 %18 to i64* store i64 4198831, i64* %19, align 8 %20 = add i64 %2, 48 %21 = inttoptr i64 %20 to i64* store i64 4198838, i64* %21, align 8 br label LBL_8 LBL_7: %22 = add i64 %2, 56 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %7) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_14 LBL_8: %26 = add i64 %2, 12 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 %.pre = add i64 %2, 16 %.pre9 = inttoptr i64 %.pre to i32* store i32 0, i32* %storemerge5.reg2mem store i32 0, i32* %.lcssa.reg2mem br i1 %29, label LBL_12, label LBL_9 LBL_9: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %30 = load i32, i32* %6, align 4 %31 = load i32, i32* %.pre9, align 4 %32 = mul i32 %31, %storemerge5.reload %33 = sext i32 %32 to i64 %34 = add i64 %33, %2 %35 = zext i32 %30 to i64 %36 = call i64 @FUNC(i64 %34, i64 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0)) %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_10 LBL_10: %40 = zext i32 %storemerge5.reload to i64 %41 = call i64 @FUNC(i64 %2, i64 %40) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_14 LBL_11: %42 = add i32 %storemerge5.reload, 1 %43 = load i32, i32* %27, align 4 %44 = zext i32 %43 to i64 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %45, %44 store i32 %42, i32* %storemerge5.reg2mem store i32 %43, i32* %.lcssa.reg2mem br i1 %46, label LBL_9, label LBL_12 LBL_12: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %47 = load i32, i32* %.pre9, align 4 %48 = mul i32 %47, %.lcssa.reload %49 = load i32, i32* %6, align 4 %50 = sub i32 %49, %47 %51 = add i32 %50, %48 %52 = zext i32 %51 to i64 %53 = call i64 @FUNC(i64 %2, i64 %52) %54 = add i64 %2, 32 %55 = inttoptr i64 %54 to i64* store i64 %53, i64* %55, align 8 %56 = icmp eq i64 %53, 0 %57 = icmp eq i1 %56, false store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_14, label LBL_13 LBL_13: %58 = load i32, i32* %27, align 4 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %2, i64 %59) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge5.reload, { 0, 2, 1 } uselistorder i32* %27, { 0, 2, 1 } uselistorder i64 %2, { 7, 8, 9, 10, 0, 1, 11, 6, 12, 13, 2, 3, 4, 5, 14, 15 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 5, 3, 2 } uselistorder i32 0, { 3, 0, 1, 2 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_14, { 3, 0, 2, 4, 1 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
nfs_superblock_set_dummy_root_11727
nfs_superblock_set_dummy_root
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) store i64 %3, i64* %arg1, align 8 %4 = icmp eq i32* %arg2, null %5 = icmp eq i1 %4, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %2) %7 = call i64 @FUNC(i64 %2) %8 = add i64 %2, 16 %9 = call i64 @FUNC(i64 %8) %10 = add i64 %2, 40 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %2, 56 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %12) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_3, { 1, 2, 0 } }
1
BinRealVul
add_dir_maybe_15338
add_dir_maybe
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i64 %sv_0.0.ph3.reg2mem = alloca i64 %.reg2mem15 = alloca %dirent* %.reg2mem = alloca %dirent* %0 = inttoptr i64 %arg1 to i8* %1 = call %__dirstream* @opendir(i8* %0) %2 = icmp eq %__dirstream* %1, null store i64 %arg1, i64* %sv_0.1.reg2mem br i1 %2, label LBL_8, label LBL_1 LBL_1: %3 = call %dirent* @readdir(%__dirstream* nonnull %1) %4 = icmp eq %dirent* %3, null %5 = icmp eq i1 %4, false store %dirent* %3, %dirent** %.reg2mem15 store i64 %arg1, i64* %sv_0.0.ph3.reg2mem store i64 %arg1, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %5, label LBL_2.lr.ph, label LBL_7 LBL_2: %.reload = load %dirent*, %dirent** %.reg2mem %6 = ptrtoint %dirent* %.reload to i64 %7 = add i64 %6, 19 %8 = call i64 @FUNC(i64 %7, i64 4202512) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call %dirent* @readdir(%__dirstream* nonnull %1) %13 = icmp eq %dirent* %12, null %14 = icmp eq i1 %13, false store %dirent* %12, %dirent** %.reg2mem store i64 %sv_0.0.ph3.reload, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %14, label LBL_2, label LBL_7 LBL_4: %15 = call i64 @FUNC(i64 %7, i64 ptrtoint ([3 x i8]* @gv_0 to i64)) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_5 LBL_5: %19 = call i64 @FUNC(i64 %sv_0.0.ph3.reload, i64 %7) %20 = call %dirent* @readdir(%__dirstream* nonnull %1) %21 = icmp eq %dirent* %20, null %22 = icmp eq i1 %21, false store %dirent* %20, %dirent** %.reg2mem15 store i64 %19, i64* %sv_0.0.ph3.reg2mem store i64 %19, i64* %sv_0.0.ph.lcssa.reg2mem br i1 %22, label LBL_2.lr.ph, label LBL_7 LBL_6: %sv_0.0.ph3.reload = load i64, i64* %sv_0.0.ph3.reg2mem %.reload16 = load %dirent*, %dirent** %.reg2mem15 store %dirent* %.reload16, %dirent** %.reg2mem br label LBL_2 LBL_7: %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem %23 = call i32 @closedir(%__dirstream* nonnull %1) store i64 %sv_0.0.ph.lcssa.reload, i64* %sv_0.1.reg2mem br label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem ret i64 %sv_0.1.reload uselistorder %__dirstream* %1, { 2, 1, 3, 0, 4 } uselistorder %dirent** %.reg2mem, { 2, 1, 0 } uselistorder %dirent** %.reg2mem15, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph3.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @streq, { 1, 0 } uselistorder %dirent* null, { 1, 2, 0 } uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 2, 0 } uselistorder i64 %arg1, { 1, 2, 0, 3 } uselistorder label LBL_2.lr.ph, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
fe_netjoin_deinit_4276
fe_netjoin_deinit
define i64 @FUNC() local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 %0, i64* %.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %.reload = load i64, i64* %.reg2mem %3 = inttoptr i64 %.reload to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %.reg2mem br i1 %8, label LBL_1, label LBL_2 LBL_2: %9 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = load i32, i32* @gv_1, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 4198698) br label LBL_4 LBL_4: %15 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i64 4198705) %16 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 4198712) %17 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64 4198719) %18 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_6, i64 0, i64 0), i64 4198726) %19 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0), i64 4198733) ret i64 %19 uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64 (i8*, i64)* @signal_remove, { 5, 4, 3, 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* @gv_0, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
fd_chr_update_read_handler_2989
fd_chr_update_read_handler
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %1, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = bitcast i64* %arg1 to i32* store i32 0, i32* %6, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 store i64 0, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = zext i32 %10 to i64 %13 = call i64 @FUNC(i64 %12, i64 4198698, i64 4198705, i64 %7) %14 = trunc i64 %13 to i32 %15 = bitcast i64* %arg1 to i32* store i32 %14, i32* %15, align 4 store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
print_ipcp_config_options_7736
print_ipcp_config_options
define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.110.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %sv_1.06.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp sgt i32 %arg3, 1 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %3, label LBL_1, label LBL_29 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = zext i8 %7 to i32 %9 = icmp sgt i32 %8, %arg3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %9, label LBL_29, label LBL_2 LBL_2: %10 = trunc i64 %2 to i32 %11 = urem i32 %10, 256 %12 = icmp ugt i8 %7, 1 %13 = urem i64 %2, 256 %14 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %13) %15 = bitcast i32* %arg1 to i8* %16 = trunc i64 %14 to i32 br i1 %12, label LBL_4, label LBL_3 LBL_3: %17 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_2, i64 0, i64 0), i32 %16, i32 %11) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_4: %18 = trunc i64 %2 to i8 %19 = trunc i64 %1 to i32 %20 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i32 %16, i32 %11) %21 = icmp ugt i8 %18, 8 br i1 %21, label LBL_25, label LBL_5 LBL_5: %22 = icmp ugt i8 %18, 2 br i1 %22, label LBL_21, label LBL_6 LBL_6: switch i8 %18, label LBL_25 [ i8 1, label LBL_7 i8 2, label LBL_11 ] LBL_7: %23 = icmp eq i8 %7, 10 br i1 %23, label LBL_9, label LBL_8 LBL_8: %24 = call i32 (i8*, ...) @printf(i8* %15) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_9: %25 = icmp sgt i32 %arg3, 3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %25, label LBL_10, label LBL_29 LBL_10: %26 = add i64 %4, 6 %27 = ptrtoint i32* %arg1 to i64 %28 = call i64 @FUNC(i64 %27, i64 %26) %29 = add i64 %4, 2 %30 = call i64 @FUNC(i64 %27, i64 %29) %31 = inttoptr i64 %30 to i8* %32 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* %31) store i64 %4, i64* %sv_0.1.reg2mem br label LBL_27 LBL_11: %33 = icmp ugt i8 %7, 3 br i1 %33, label LBL_13, label LBL_12 LBL_12: %34 = call i32 (i8*, ...) @printf(i8* %15) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_13: %35 = add i64 %4, 2 %36 = inttoptr i64 %35 to i16* %37 = load i16, i16* %36, align 2 %38 = zext i16 %37 to i64 %39 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 %38) %40 = trunc i64 %39 to i32 %41 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i32 %40) %42 = icmp eq i16 %37, 3 %43 = icmp eq i16 %37, 4 %44 = icmp eq i1 %43, false %or.cond4 = or i1 %42, %44 store i64 %4, i64* %sv_0.1.reg2mem br i1 %or.cond4, label LBL_27, label LBL_14 LBL_14: %45 = icmp ugt i8 %7, 7 br i1 %45, label LBL_16, label LBL_15 LBL_15: %46 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_8 to i32)) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_16: %47 = icmp sgt i32 %arg3, 7 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %47, label LBL_17, label LBL_29 LBL_17: %48 = add i64 %4, 10 %49 = inttoptr i64 %48 to i16* %50 = load i16, i16* %49, align 2 %51 = add i64 %4, 8 %52 = inttoptr i64 %51 to i16* %53 = load i16, i16* %52, align 2 %54 = add i64 %4, 6 %55 = inttoptr i64 %54 to i16* %56 = load i16, i16* %55, align 2 %57 = add i64 %4, 4 %58 = inttoptr i64 %57 to i16* %59 = load i16, i16* %58, align 2 %60 = zext i16 %50 to i32 %61 = zext i16 %53 to i32 %62 = zext i16 %59 to i32 %63 = zext i16 %56 to i32 %64 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_9 to i32), i32 %62, i32 %63, i32 %61, i32 %60) %65 = icmp ult i8 %7, 9 store i64 %4, i64* %sv_0.1.reg2mem br i1 %65, label LBL_27, label LBL_18 LBL_18: %66 = add nsw i32 %8, -8 %67 = call i32 (i8*, ...) @printf(i8* %15, i32 ptrtoint (i32* @gv_10 to i32)) %68 = icmp ult i32 %66, 2 store i32 %66, i32* %sv_1.06.reg2mem store i64 %51, i64* %sv_0.05.reg2mem store i64 %51, i64* %sv_0.1.reg2mem br i1 %68, label LBL_27, label LBL_19 LBL_19: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %69 = inttoptr i64 %sv_0.05.reload to i8* %70 = load i8, i8* %69, align 1 %71 = add i64 %sv_0.05.reload, 1 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = icmp eq i8 %70, 0 %75 = icmp eq i8 %73, 0 %or.cond = or i1 %74, %75 store i64 %sv_0.05.reload, i64* %sv_0.1.reg2mem br i1 %or.cond, label LBL_27, label LBL_20 LBL_20: %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem %76 = zext i8 %73 to i32 %77 = zext i8 %70 to i32 %78 = zext i8 %70 to i64 %79 = call i64 @FUNC(i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 %78) %80 = trunc i64 %79 to i32 %81 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_12, i64 0, i64 0), i32 %80, i32 %77) %82 = sub i32 %sv_1.06.reload, %76 %83 = zext i8 %73 to i64 %84 = add i64 %sv_0.05.reload, %83 %85 = icmp ult i32 %82, 2 store i32 %82, i32* %sv_1.06.reg2mem store i64 %84, i64* %sv_0.05.reg2mem store i64 %84, i64* %sv_0.1.reg2mem br i1 %85, label LBL_27, label LBL_19 LBL_21: %86 = icmp eq i8 %7, 6 br i1 %86, label LBL_23, label LBL_22 LBL_22: %87 = call i32 (i8*, ...) @printf(i8* %15) store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_23: %88 = icmp sgt i32 %arg3, 3 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %88, label LBL_24, label LBL_29 LBL_24: %89 = add i64 %4, 2 %90 = ptrtoint i32* %arg1 to i64 %91 = call i64 @FUNC(i64 %90, i64 %89) %92 = call i32 (i8*, ...) @printf(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)) store i64 %4, i64* %sv_0.1.reg2mem br label LBL_27 LBL_25: %93 = icmp sgt i32 %19, 1 store i64 %4, i64* %sv_0.110.reg2mem br i1 %93, label LBL_28, label LBL_26 LBL_26: %94 = add nsw i32 %8, -2 %95 = add i64 %4, 2 %96 = ptrtoint i32* %arg1 to i64 %97 = zext i32 %94 to i64 %98 = call i64 @FUNC(i64 %96, i64 %95, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0), i64 %97) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_27: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %99 = icmp slt i32 %19, 2 store i64 %sv_0.1.reload, i64* %sv_0.110.reg2mem store i32 %8, i32* %rax.0.shrunk.reg2mem br i1 %99, label LBL_29, label LBL_28 LBL_28: %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem %100 = add nsw i32 %8, -2 %101 = add i64 %sv_0.110.reload, 2 %102 = ptrtoint i32* %arg1 to i64 %103 = zext i32 %100 to i64 %104 = call i64 @FUNC(i64 %102, i64 %101, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0), i64 %103) store i32 %8, i32* %rax.0.shrunk.reg2mem br label LBL_29 LBL_29: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i8 %73, { 0, 2, 1 } uselistorder i8 %70, { 0, 2, 1 } uselistorder i64 %sv_0.05.reload, { 3, 0, 2, 1 } uselistorder i8 %18, { 2, 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i8* %15, { 9, 8, 2, 3, 4, 1, 5, 0, 7, 6, 11, 10 } uselistorder i32 %8, { 2, 7, 1, 0, 6, 5, 3, 4 } uselistorder i8 %7, { 0, 2, 3, 4, 1, 5, 6 } uselistorder i64 %4, { 13, 0, 4, 12, 1, 7, 8, 6, 5, 2, 9, 3, 11, 10, 14 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i32* %sv_1.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.1.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 } uselistorder i64* %sv_0.110.reg2mem, { 0, 2, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 4, 13, 5, 11, 10, 6, 12, 9, 7, 8 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64)* @print_unknown_data, { 1, 0 } uselistorder i32 2, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ipaddr_string, { 2, 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 0, 6, 9, 8, 7, 12, 11, 10, 3, 2, 1, 5, 4 } uselistorder i64 (i8**, i8*, i64)* @tok2str, { 2, 1, 0 } uselistorder i32 0, { 0, 8, 1, 7, 6, 2, 5, 3, 4, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 } uselistorder i32 %arg3, { 3, 1, 2, 0, 4 } uselistorder i32* %arg1, { 3, 2, 1, 0, 4 } uselistorder label LBL_29, { 2, 1, 0, 3, 8, 4, 9, 10, 5, 11, 12, 6, 7 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_27, { 5, 0, 1, 2, 3, 4, 6 } uselistorder label LBL_19, { 1, 0 } }
1
BinRealVul
sched_feat_disable_12556
sched_feat_disable
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 30 %1 = add i64 %0, ptrtoint (i64* @gv_0 to i64) %2 = call i64 @FUNC(i64 %1) ret i64 %2 }
1
BinRealVul
ftp_chdir_10909
ftp_chdir
define i64 @FUNC(i64* %arg1, i8* %arg2) 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_4 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) store i64 0, i64* %arg1, align 8 %4 = ptrtoint i8* %arg2 to i64 %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %2) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 250 %spec.select = zext i1 %15 to i64 ret i64 %spec.select LBL_4: ret i64 0 uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
pdu_marshal_85
pdu_marshal
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.10.reg2mem = alloca i32 %sv_2.10.reg2mem = alloca i32* %rax.9.reg2mem = alloca i64 %sv_1.9.reg2mem = alloca i32 %sv_2.9.reg2mem = alloca i32* %rax.8.reg2mem = alloca i64 %sv_1.8.reg2mem = alloca i32 %sv_2.8.reg2mem = alloca i32* %rax.7.reg2mem = alloca i64 %sv_1.7.reg2mem = alloca i32 %sv_2.7.reg2mem = alloca i32* %rax.6.reg2mem = alloca i64 %sv_1.6.reg2mem = alloca i32 %sv_2.6.reg2mem = alloca i32* %rax.5.reg2mem = alloca i64 %sv_1.5.reg2mem = alloca i32 %sv_2.5.reg2mem = alloca i32* %.reg2mem12 = alloca i64 %sv_2.42.reg2mem = alloca i32* %sv_1.43.reg2mem = alloca i32 %.reg2mem10 = alloca i64 %rax.3.reg2mem = alloca i64 %sv_1.3.reg2mem = alloca i32 %sv_2.3.reg2mem = alloca i32* %rax.2.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i32 %sv_2.2.reg2mem = alloca i32* %rax.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32* %rax.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32* %sv_2.114.reg2mem = alloca i32* %sv_1.115.reg2mem = alloca i32 %sv_0.16.reg2mem = alloca i64 %r8.17.reg2mem = alloca i64 %r9.18.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i8 %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_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 %sv_6 = alloca i8, align 1 %sv_7 = alloca i64, align 8 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, 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 = bitcast i64* %arg3 to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false store i64 %arg2, i64* %sv_0.1.lcssa.reg2mem br i1 %24, label LBL_3, label LBL_44 LBL_3: %25 = ptrtoint i64* %arg3 to i64 %26 = ptrtoint i64* %sv_9 to i64 %27 = ptrtoint i64* %sv_7 to i64 %28 = bitcast i64* %sv_8 to i32* %29 = bitcast i64* %sv_5 to i8* %30 = bitcast i64* %sv_3 to i8* %31 = bitcast i64* %sv_4 to i8* %32 = add i64 %26, -16 %33 = inttoptr i64 %32 to i64* %34 = add i64 %26, -24 %35 = inttoptr i64 %34 to i64* %36 = add i64 %26, -32 %37 = inttoptr i64 %36 to i64* %38 = add i64 %26, -40 %39 = inttoptr i64 %38 to i64* %40 = add i64 %26, -48 %41 = inttoptr i64 %40 to i64* %42 = add i64 %26, -56 %43 = inttoptr i64 %42 to i64* %44 = add i64 %26, -64 %45 = inttoptr i64 %44 to i64* %46 = add i64 %26, -72 %47 = inttoptr i64 %46 to i64* %48 = add i64 %26, -80 %49 = inttoptr i64 %48 to i64* %50 = add i64 %26, -88 %51 = inttoptr i64 %50 to i64* %52 = add i64 %26, -96 %53 = inttoptr i64 %52 to i64* %54 = add i64 %26, -104 %55 = inttoptr i64 %54 to i64* %56 = add i64 %26, -112 %57 = inttoptr i64 %56 to i64* %58 = add i64 %26, -120 %59 = inttoptr i64 %58 to i64* %60 = add i64 %26, -128 %61 = inttoptr i64 %60 to i64* %62 = add i64 %26, -136 %63 = inttoptr i64 %62 to i64* %64 = add i64 %26, -144 %65 = inttoptr i64 %64 to i64* store i8 %22, i8* %.reg2mem store i32 0, i32* %storemerge9.reg2mem store i64 %arg6, i64* %r9.18.reg2mem store i64 %arg5, i64* %r8.17.reg2mem store i64 %arg2, i64* %sv_0.16.reg2mem store i32 24, i32* %sv_1.115.reg2mem store i32* %28, i32** %sv_2.114.reg2mem br label LBL_4 LBL_4: %sv_2.114.reload = load i32*, i32** %sv_2.114.reg2mem %sv_1.115.reload = load i32, i32* %sv_1.115.reg2mem %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem %r8.17.reload = load i64, i64* %r8.17.reg2mem %r9.18.reload = load i64, i64* %r9.18.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload = load i8, i8* %.reg2mem %66 = sext i8 %.reload to i64 %67 = add nsw i64 %66, 4294967231 %68 = and i64 %67, 4294967295 store i64 %68, i64* @0, align 8 %trunc = trunc i64 %67 to i32 store i32* %sv_2.114.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.10.reg2mem store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem switch i32 %trunc, label LBL_43 [ i32 0, label LBL_39 i32 16, label LBL_31 i32 18, label LBL_35 i32 33, label LBL_5 i32 35, label LBL_13 i32 48, label LBL_17 i32 50, label LBL_27 i32 53, label LBL_21 i32 54, label LBL_9 ] LBL_5: %69 = icmp ult i32 %sv_1.115.reload, 48 br i1 %69, label LBL_6, label LBL_7 LBL_6: %70 = zext i32 %sv_1.115.reload to i64 %71 = add i64 %70, %27 %72 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.0.reg2mem store i32 %72, i32* %sv_1.0.reg2mem store i64 %71, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %73 = ptrtoint i32* %sv_2.114.reload to i64 %74 = add i64 %73, 8 %75 = inttoptr i64 %74 to i32* store i32* %75, i32** %sv_2.0.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.0.reg2mem store i64 %73, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32*, i32** %sv_2.0.reg2mem %76 = inttoptr i64 %rax.0.reload to i32* %77 = load i32, i32* %76, align 4 %78 = trunc i32 %77 to i8 store i8 %78, i8* %sv_6, align 1 %79 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i8* nonnull %sv_6, i64 1) %80 = add i64 %79, %sv_0.16.reload store i32* %sv_2.0.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.10.reg2mem store i64 %80, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_9: %81 = icmp ult i32 %sv_1.115.reload, 48 br i1 %81, label LBL_10, label LBL_11 LBL_10: %82 = zext i32 %sv_1.115.reload to i64 %83 = add i64 %82, %27 %84 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.1.reg2mem store i32 %84, i32* %sv_1.1.reg2mem store i64 %83, i64* %rax.1.reg2mem br label LBL_12 LBL_11: %85 = ptrtoint i32* %sv_2.114.reload to i64 %86 = add i64 %85, 8 %87 = inttoptr i64 %86 to i32* store i32* %87, i32** %sv_2.1.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.1.reg2mem store i64 %85, i64* %rax.1.reg2mem br label LBL_12 LBL_12: %rax.1.reload = load i64, i64* %rax.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_2.1.reload = load i32*, i32** %sv_2.1.reg2mem %88 = inttoptr i64 %rax.1.reload to i32* %89 = load i32, i32* %88, align 4 %90 = zext i32 %89 to i64 %91 = call i64 @FUNC(i64* nonnull %sv_5, i64 %90) %92 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i8* nonnull %29, i64 2) %93 = add i64 %92, %sv_0.16.reload store i32* %sv_2.1.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.10.reg2mem store i64 %93, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_13: %94 = icmp ult i32 %sv_1.115.reload, 48 br i1 %94, label LBL_14, label LBL_15 LBL_14: %95 = zext i32 %sv_1.115.reload to i64 %96 = add i64 %95, %27 %97 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.2.reg2mem store i32 %97, i32* %sv_1.2.reg2mem store i64 %96, i64* %rax.2.reg2mem br label LBL_16 LBL_15: %98 = ptrtoint i32* %sv_2.114.reload to i64 %99 = add i64 %98, 8 %100 = inttoptr i64 %99 to i32* store i32* %100, i32** %sv_2.2.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.2.reg2mem store i64 %98, i64* %rax.2.reg2mem br label LBL_16 LBL_16: %rax.2.reload = load i64, i64* %rax.2.reg2mem %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem %sv_2.2.reload = load i32*, i32** %sv_2.2.reg2mem %101 = inttoptr i64 %rax.2.reload to i32* %102 = load i32, i32* %101, align 4 %103 = zext i32 %102 to i64 %104 = call i64 @FUNC(i64* nonnull %sv_4, i64 %103) %105 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i8* nonnull %31, i64 4) %106 = add i64 %105, %sv_0.16.reload store i32* %sv_2.2.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.2.reload, i32* %sv_1.10.reg2mem store i64 %106, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_17: %107 = icmp ult i32 %sv_1.115.reload, 48 br i1 %107, label LBL_18, label LBL_19 LBL_18: %108 = zext i32 %sv_1.115.reload to i64 %109 = add i64 %108, %27 %110 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.3.reg2mem store i32 %110, i32* %sv_1.3.reg2mem store i64 %109, i64* %rax.3.reg2mem br label LBL_20 LBL_19: %111 = ptrtoint i32* %sv_2.114.reload to i64 %112 = add i64 %111, 8 %113 = inttoptr i64 %112 to i32* store i32* %113, i32** %sv_2.3.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.3.reg2mem store i64 %111, i64* %rax.3.reg2mem br label LBL_20 LBL_20: %rax.3.reload = load i64, i64* %rax.3.reg2mem %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem %sv_2.3.reload = load i32*, i32** %sv_2.3.reg2mem %114 = inttoptr i64 %rax.3.reload to i64* %115 = load i64, i64* %114, align 8 %116 = call i64 @FUNC(i64* nonnull %sv_3, i64 %115) %117 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i8* nonnull %30, i64 8) %118 = add i64 %117, %sv_0.16.reload store i32* %sv_2.3.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.3.reload, i32* %sv_1.10.reg2mem store i64 %118, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_21: %119 = icmp ult i32 %sv_1.115.reload, 48 br i1 %119, label LBL_23, label LBL_22 LBL_22: %120 = ptrtoint i32* %sv_2.114.reload to i64 %121 = add i64 %120, 8 %122 = inttoptr i64 %121 to i32* %123 = bitcast i32* %sv_2.114.reload to i64* %124 = load i64, i64* %123, align 8 store i64 %124, i64* %.reg2mem10 store i32 %sv_1.115.reload, i32* %sv_1.43.reg2mem store i32* %122, i32** %sv_2.42.reg2mem br label LBL_25 LBL_23: %125 = zext i32 %sv_1.115.reload to i64 %126 = add i64 %125, %27 %127 = add i32 %sv_1.115.reload, 8 %128 = inttoptr i64 %126 to i64* %129 = load i64, i64* %128, align 8 %130 = icmp ult i32 %127, 48 store i64 %129, i64* %.reg2mem10 store i32 %127, i32* %sv_1.43.reg2mem store i32* %sv_2.114.reload, i32** %sv_2.42.reg2mem br i1 %130, label LBL_24, label LBL_25 LBL_24: %131 = zext i32 %127 to i64 %132 = add i64 %131, %27 %133 = add i32 %sv_1.115.reload, 16 store i64 %129, i64* %.reg2mem12 store i32* %sv_2.114.reload, i32** %sv_2.5.reg2mem store i32 %133, i32* %sv_1.5.reg2mem store i64 %132, i64* %rax.5.reg2mem br label LBL_26 LBL_25: %sv_2.42.reload = load i32*, i32** %sv_2.42.reg2mem %sv_1.43.reload = load i32, i32* %sv_1.43.reg2mem %.reload11 = load i64, i64* %.reg2mem10 %134 = ptrtoint i32* %sv_2.42.reload to i64 %135 = add i64 %134, 8 %136 = inttoptr i64 %135 to i32* store i64 %.reload11, i64* %.reg2mem12 store i32* %136, i32** %sv_2.5.reg2mem store i32 %sv_1.43.reload, i32* %sv_1.5.reg2mem store i64 %134, i64* %rax.5.reg2mem br label LBL_26 LBL_26: %rax.5.reload = load i64, i64* %rax.5.reg2mem %sv_1.5.reload = load i32, i32* %sv_1.5.reg2mem %sv_2.5.reload = load i32*, i32** %sv_2.5.reg2mem %.reload13 = load i64, i64* %.reg2mem12 %137 = inttoptr i64 %rax.5.reload to i64* %138 = load i64, i64* %137, align 8 %139 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i64 1, i64 %.reload13) %140 = trunc i64 %139 to i32 %141 = inttoptr i64 %138 to i32* store i32 %140, i32* %141, align 4 store i32* %sv_2.5.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.5.reload, i32* %sv_1.10.reg2mem store i64 %sv_0.16.reload, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_27: %142 = icmp ult i32 %sv_1.115.reload, 48 br i1 %142, label LBL_28, label LBL_29 LBL_28: %143 = zext i32 %sv_1.115.reload to i64 %144 = add i64 %143, %27 %145 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.6.reg2mem store i32 %145, i32* %sv_1.6.reg2mem store i64 %144, i64* %rax.6.reg2mem br label LBL_30 LBL_29: %146 = ptrtoint i32* %sv_2.114.reload to i64 %147 = add i64 %146, 8 %148 = inttoptr i64 %147 to i32* store i32* %148, i32** %sv_2.6.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.6.reg2mem store i64 %146, i64* %rax.6.reg2mem br label LBL_30 LBL_30: %rax.6.reload = load i64, i64* %rax.6.reg2mem %sv_1.6.reload = load i32, i32* %sv_1.6.reg2mem %sv_2.6.reload = load i32*, i32** %sv_2.6.reg2mem %149 = inttoptr i64 %rax.6.reload to i64* %150 = load i64, i64* %149, align 8 %151 = inttoptr i64 %150 to i64* %152 = load i64, i64* %151, align 8 %153 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i64* nonnull @gv_0, i64 %152, i64 %r8.17.reload, i64 %r9.18.reload) %154 = add i64 %153, %sv_0.16.reload %155 = load i64, i64* %151, align 8 %156 = add i64 %150, 8 %157 = inttoptr i64 %156 to i64* %158 = load i64, i64* %157, align 8 %159 = inttoptr i64 %158 to i8* %160 = call i64 @FUNC(i64 %arg1, i64 %154, i8* %159, i64 %155) %161 = add i64 %160, %154 store i32* %sv_2.6.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.6.reload, i32* %sv_1.10.reg2mem store i64 %161, i64* %sv_0.0.reg2mem store i64 %r8.17.reload, i64* %r8.0.reg2mem store i64 %r9.18.reload, i64* %r9.0.reg2mem br label LBL_43 LBL_31: %162 = icmp ult i32 %sv_1.115.reload, 48 br i1 %162, label LBL_32, label LBL_33 LBL_32: %163 = zext i32 %sv_1.115.reload to i64 %164 = add i64 %163, %27 %165 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.7.reg2mem store i32 %165, i32* %sv_1.7.reg2mem store i64 %164, i64* %rax.7.reg2mem br label LBL_34 LBL_33: %166 = ptrtoint i32* %sv_2.114.reload to i64 %167 = add i64 %166, 8 %168 = inttoptr i64 %167 to i32* store i32* %168, i32** %sv_2.7.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.7.reg2mem store i64 %166, i64* %rax.7.reg2mem br label LBL_34 LBL_34: %rax.7.reload = load i64, i64* %rax.7.reg2mem %sv_1.7.reload = load i32, i32* %sv_1.7.reg2mem %sv_2.7.reload = load i32*, i32** %sv_2.7.reg2mem %169 = inttoptr i64 %rax.7.reload to i64* %170 = load i64, i64* %169, align 8 %171 = add i64 %170, 8 %172 = inttoptr i64 %171 to i64* %173 = load i64, i64* %172, align 8 %174 = add i64 %170, 4 %175 = inttoptr i64 %174 to i32* %176 = load i32, i32* %175, align 4 %177 = inttoptr i64 %170 to i8* %178 = load i8, i8* %177, align 1 %179 = zext i32 %176 to i64 %180 = zext i8 %178 to i64 %181 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i64* bitcast ([4 x i8]* @gv_1 to i64*), i64 %180, i64 %179, i64 %173) %182 = add i64 %181, %sv_0.16.reload store i32* %sv_2.7.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.7.reload, i32* %sv_1.10.reg2mem store i64 %182, i64* %sv_0.0.reg2mem store i64 %179, i64* %r8.0.reg2mem store i64 %173, i64* %r9.0.reg2mem br label LBL_43 LBL_35: %183 = icmp ult i32 %sv_1.115.reload, 48 br i1 %183, label LBL_36, label LBL_37 LBL_36: %184 = zext i32 %sv_1.115.reload to i64 %185 = add i64 %184, %27 %186 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.8.reg2mem store i32 %186, i32* %sv_1.8.reg2mem store i64 %185, i64* %rax.8.reg2mem br label LBL_38 LBL_37: %187 = ptrtoint i32* %sv_2.114.reload to i64 %188 = add i64 %187, 8 %189 = inttoptr i64 %188 to i32* store i32* %189, i32** %sv_2.8.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.8.reg2mem store i64 %187, i64* %rax.8.reg2mem br label LBL_38 LBL_38: %rax.8.reload = load i64, i64* %rax.8.reg2mem %sv_1.8.reload = load i32, i32* %sv_1.8.reg2mem %sv_2.8.reload = load i32*, i32** %sv_2.8.reg2mem %190 = inttoptr i64 %rax.8.reload to i64* %191 = load i64, i64* %190, align 8 %192 = add i64 %191, 144 %193 = inttoptr i64 %192 to i32* %194 = load i32, i32* %193, align 4 %195 = zext i32 %194 to i64 %196 = add i64 %191, 140 %197 = inttoptr i64 %196 to i32* %198 = load i32, i32* %197, align 4 %199 = zext i32 %198 to i64 %200 = add i64 %191, 136 %201 = inttoptr i64 %200 to i32* %202 = load i32, i32* %201, align 4 %203 = zext i32 %202 to i64 %204 = add i64 %191, 120 %205 = add i64 %191, 104 %206 = add i64 %191, 88 %207 = add i64 %191, 72 %208 = add i64 %191, 56 %209 = add i64 %191, 48 %210 = inttoptr i64 %209 to i64* %211 = load i64, i64* %210, align 8 %212 = add i64 %191, 40 %213 = inttoptr i64 %212 to i32* %214 = load i32, i32* %213, align 4 %215 = zext i32 %214 to i64 %216 = add i64 %191, 36 %217 = inttoptr i64 %216 to i32* %218 = load i32, i32* %217, align 4 %219 = zext i32 %218 to i64 %220 = add i64 %191, 32 %221 = inttoptr i64 %220 to i32* %222 = load i32, i32* %221, align 4 %223 = zext i32 %222 to i64 %224 = add i64 %191, 16 %225 = add i64 %191, 8 %226 = inttoptr i64 %225 to i32* %227 = load i32, i32* %226, align 4 %228 = add i64 %191, 4 %229 = inttoptr i64 %228 to i32* %230 = load i32, i32* %229, align 4 %231 = inttoptr i64 %191 to i32* %232 = load i32, i32* %231, align 4 store i64 %195, i64* %33, align 8 store i64 %199, i64* %35, align 8 store i64 %203, i64* %37, align 8 store i64 %204, i64* %39, align 8 store i64 %205, i64* %41, align 8 store i64 %206, i64* %43, align 8 store i64 %207, i64* %45, align 8 store i64 %208, i64* %47, align 8 store i64 %211, i64* %49, align 8 store i64 %215, i64* %51, align 8 store i64 %219, i64* %53, align 8 store i64 %223, i64* %55, align 8 store i64 %224, i64* %57, align 8 %233 = zext i32 %227 to i64 %234 = zext i32 %230 to i64 %235 = zext i32 %232 to i64 %236 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i64* bitcast ([17 x i8]* @gv_2 to i64*), i64 %235, i64 %234, i64 %233) %237 = add i64 %236, %sv_0.16.reload store i32* %sv_2.8.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.8.reload, i32* %sv_1.10.reg2mem store i64 %237, i64* %sv_0.0.reg2mem store i64 %234, i64* %r8.0.reg2mem store i64 %233, i64* %r9.0.reg2mem br label LBL_43 LBL_39: %238 = icmp ult i32 %sv_1.115.reload, 48 br i1 %238, label LBL_40, label LBL_41 LBL_40: %239 = zext i32 %sv_1.115.reload to i64 %240 = add i64 %239, %27 %241 = add i32 %sv_1.115.reload, 8 store i32* %sv_2.114.reload, i32** %sv_2.9.reg2mem store i32 %241, i32* %sv_1.9.reg2mem store i64 %240, i64* %rax.9.reg2mem br label LBL_42 LBL_41: %242 = ptrtoint i32* %sv_2.114.reload to i64 %243 = add i64 %242, 8 %244 = inttoptr i64 %243 to i32* store i32* %244, i32** %sv_2.9.reg2mem store i32 %sv_1.115.reload, i32* %sv_1.9.reg2mem store i64 %242, i64* %rax.9.reg2mem br label LBL_42 LBL_42: %rax.9.reload = load i64, i64* %rax.9.reg2mem %sv_1.9.reload = load i32, i32* %sv_1.9.reg2mem %sv_2.9.reload = load i32*, i32** %sv_2.9.reg2mem %245 = inttoptr i64 %rax.9.reload to i64* %246 = load i64, i64* %245, align 8 %247 = add i64 %246, 100 %248 = inttoptr i64 %247 to i32* %249 = load i32, i32* %248, align 4 %250 = zext i32 %249 to i64 %251 = add i64 %246, 96 %252 = inttoptr i64 %251 to i32* %253 = load i32, i32* %252, align 4 %254 = zext i32 %253 to i64 %255 = add i64 %246, 92 %256 = inttoptr i64 %255 to i32* %257 = load i32, i32* %256, align 4 %258 = zext i32 %257 to i64 %259 = add i64 %246, 88 %260 = inttoptr i64 %259 to i32* %261 = load i32, i32* %260, align 4 %262 = zext i32 %261 to i64 %263 = add i64 %246, 84 %264 = inttoptr i64 %263 to i32* %265 = load i32, i32* %264, align 4 %266 = zext i32 %265 to i64 %267 = add i64 %246, 80 %268 = inttoptr i64 %267 to i32* %269 = load i32, i32* %268, align 4 %270 = zext i32 %269 to i64 %271 = add i64 %246, 76 %272 = inttoptr i64 %271 to i32* %273 = load i32, i32* %272, align 4 %274 = add i64 %246, 72 %275 = inttoptr i64 %274 to i32* %276 = load i32, i32* %275, align 4 %277 = add i64 %246, 68 %278 = inttoptr i64 %277 to i32* %279 = load i32, i32* %278, align 4 %280 = add i64 %246, 64 %281 = inttoptr i64 %280 to i32* %282 = load i32, i32* %281, align 4 %283 = add i64 %246, 60 %284 = inttoptr i64 %283 to i32* %285 = load i32, i32* %284, align 4 %286 = add i64 %246, 56 %287 = inttoptr i64 %286 to i32* %288 = load i32, i32* %287, align 4 %289 = add i64 %246, 48 %290 = inttoptr i64 %289 to i64* %291 = load i64, i64* %290, align 8 %292 = add i64 %246, 40 %293 = inttoptr i64 %292 to i32* %294 = load i32, i32* %293, align 4 %295 = add i64 %246, 36 %296 = inttoptr i64 %295 to i32* %297 = load i32, i32* %296, align 4 %298 = zext i32 %297 to i64 %299 = add i64 %246, 32 %300 = inttoptr i64 %299 to i32* %301 = load i32, i32* %300, align 4 %302 = zext i32 %301 to i64 %303 = add i64 %246, 28 %304 = inttoptr i64 %303 to i32* %305 = load i32, i32* %304, align 4 %306 = zext i32 %305 to i64 %307 = add i64 %246, 24 %308 = inttoptr i64 %307 to i32* %309 = load i32, i32* %308, align 4 %310 = add i64 %246, 8 %311 = inttoptr i64 %246 to i64* %312 = load i64, i64* %311, align 8 store i64 %250, i64* %33, align 8 store i64 %254, i64* %35, align 8 store i64 %258, i64* %37, align 8 store i64 %262, i64* %39, align 8 store i64 %266, i64* %41, align 8 store i64 %270, i64* %43, align 8 %313 = zext i32 %273 to i64 store i64 %313, i64* %45, align 8 %314 = zext i32 %276 to i64 store i64 %314, i64* %47, align 8 %315 = zext i32 %279 to i64 store i64 %315, i64* %49, align 8 %316 = zext i32 %282 to i64 store i64 %316, i64* %51, align 8 %317 = zext i32 %285 to i64 store i64 %317, i64* %53, align 8 %318 = zext i32 %288 to i64 store i64 %318, i64* %55, align 8 store i64 %291, i64* %57, align 8 %319 = zext i32 %294 to i64 store i64 %319, i64* %59, align 8 store i64 %298, i64* %61, align 8 store i64 %302, i64* %63, align 8 store i64 %306, i64* %65, align 8 %320 = zext i32 %309 to i64 %321 = call i64 @FUNC(i64 %arg1, i64 %sv_0.16.reload, i64* bitcast ([21 x i8]* @gv_3 to i64*), i64 %312, i64 %310, i64 %320) %322 = add i64 %321, %sv_0.16.reload store i32* %sv_2.9.reload, i32** %sv_2.10.reg2mem store i32 %sv_1.9.reload, i32* %sv_1.10.reg2mem store i64 %322, i64* %sv_0.0.reg2mem store i64 %310, i64* %r8.0.reg2mem store i64 %320, i64* %r9.0.reg2mem br label LBL_43 LBL_43: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.10.reload = load i32, i32* %sv_1.10.reg2mem %sv_2.10.reload = load i32*, i32** %sv_2.10.reg2mem %323 = add i32 %storemerge9.reload, 1 %324 = sext i32 %323 to i64 %325 = add i64 %324, %25 %326 = inttoptr i64 %325 to i8* %327 = load i8, i8* %326, align 1 %328 = icmp eq i8 %327, 0 %329 = icmp eq i1 %328, false store i8 %327, i8* %.reg2mem store i32 %323, i32* %storemerge9.reg2mem store i64 %r9.0.reload, i64* %r9.18.reg2mem store i64 %r8.0.reload, i64* %r8.17.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.16.reg2mem store i32 %sv_1.10.reload, i32* %sv_1.115.reg2mem store i32* %sv_2.10.reload, i32** %sv_2.114.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %329, label LBL_4, label LBL_44 LBL_44: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %330 = sub i64 %sv_0.1.lcssa.reload, %arg2 ret i64 %330 uselistorder i32 %127, { 2, 0, 1 } uselistorder i64 %r9.18.reload, { 3, 7, 4, 2, 1, 5, 0, 6 } uselistorder i64 %r8.17.reload, { 3, 7, 4, 2, 1, 5, 0, 6 } uselistorder i64 %sv_0.16.reload, { 18, 2, 16, 4, 17, 3, 12, 8, 0, 9, 13, 7, 14, 6, 11, 10, 15, 5, 1 } uselistorder i32 %sv_1.115.reload, { 1, 12, 13, 11, 2, 18, 19, 17, 3, 15, 16, 14, 4, 30, 31, 29, 10, 33, 34, 5, 32, 6, 27, 28, 26, 7, 24, 25, 23, 8, 36, 37, 35, 9, 21, 22, 20, 0 } uselistorder i32* %sv_2.114.reload, { 12, 1, 14, 2, 13, 3, 18, 4, 5, 6, 11, 19, 17, 7, 16, 8, 20, 9, 15, 10, 0 } uselistorder i64 %27, { 0, 2, 1, 6, 7, 8, 5, 4, 9, 3 } uselistorder i64 %26, { 13, 14, 15, 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64* %sv_5, { 1, 0 } uselistorder i64* %sv_4, { 1, 0 } uselistorder i64* %sv_3, { 1, 0 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %r9.18.reg2mem, { 1, 0, 2 } uselistorder i64* %r8.17.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.115.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_2.114.reg2mem, { 1, 0, 2 } uselistorder i32** %sv_2.10.reg2mem, { 0, 1, 3, 2, 7, 8, 6, 5, 9, 4, 10 } uselistorder i32* %sv_1.10.reg2mem, { 0, 1, 3, 2, 7, 8, 6, 5, 9, 4, 10 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2, 7, 8, 6, 5, 9, 4, 10 } uselistorder i64* %r8.0.reg2mem, { 0, 1, 3, 2, 7, 8, 6, 5, 9, 4, 10 } uselistorder i64* %r9.0.reg2mem, { 0, 1, 3, 2, 7, 8, 6, 5, 9, 4, 10 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 (i64, i64, i8*, i64)* @pdu_pack, { 4, 3, 2, 1, 0 } uselistorder i64 8, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 12, 13, 14 } uselistorder i32 48, { 0, 2, 1, 6, 7, 8, 5, 4, 9, 3, 10 } uselistorder i32 0, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 0, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64 %arg1, { 0, 2, 1, 6, 7, 8, 5, 4, 9, 3 } uselistorder label LBL_43, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
inject_node_state_17586
inject_node_state
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8 %1 = inttoptr i64 %0 to i8* %2 = call i32 @strlen(i8* %1) %3 = inttoptr i64 %arg2 to i8* %4 = call i32 @strlen(i8* %3) %5 = add i32 %2, 1 %6 = add i32 %5, %4 %7 = call i64* @malloc(i32 %6) %8 = icmp eq i64* %7, null br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64* @memset(i64* nonnull %7, i32 0, i32 %6) br label LBL_2 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = bitcast i64* %7 to i8* %12 = load [21 x i8]*, [21 x i8]** @gv_1, align 8 %13 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0 %14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %11, i32 %6, i8* %13) %15 = trunc i64 %10 to i32 %16 = icmp eq i32 %15, 1 %17 = icmp eq i1 %16, false store i64 0, i64* %sv_0.0.reg2mem br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64* @malloc(i32 0) %19 = ptrtoint i64* %18 to i64 store i64 %19, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = icmp eq i32 %15, 0 %21 = zext i1 %20 to i64 %22 = call i64 @FUNC(i64 %21) ret i64 %sv_0.0.reload uselistorder i64* %7, { 2, 0, 1 } uselistorder i32 %6, { 1, 0, 2 } uselistorder i64* (i32)* @malloc, { 1, 0 } }
1
BinRealVul
dwt_encode97_int_3178
dwt_encode97_int
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.in.lcssa.reg2mem = alloca i32 %storemerge1.lcssa.reg2mem = alloca i32 %rdi.1.lcssa.reg2mem = alloca i64 %storemerge121.reg2mem = alloca i32 %sv_0.119.reg2mem = alloca i32 %sv_1.120.reg2mem = alloca i32 %sv_0.0.lcssa.reg2mem = alloca i32 %sv_0.016.reg2mem = alloca i32 %sv_1.017.reg2mem = alloca i32 %indvars.iv33.reg2mem = alloca i64 %rdi.0.lcssa.reg2mem = alloca i64 %storemerge310.reg2mem = alloca i32 %sv_2.18.reg2mem = alloca i32 %sv_3.19.reg2mem = alloca i32 %sv_2.0.lcssa.reg2mem = alloca i32 %sv_2.06.reg2mem = alloca i32 %sv_3.07.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi.227.reg2mem = alloca i64 %storemerge28.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 = sext i32 %3 to i64 %5 = mul i64 %4, 8 %6 = add i64 %0, -8 %7 = add i64 %6, %5 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i32 %3, -1 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i32 %12, i32* %rax.0.in.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_24 LBL_1: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = add i64 %18, 20 %20 = add i64 %0, 8 %21 = inttoptr i64 %20 to i64* store i32 %12, i32* %storemerge28.reg2mem store i64 %0, i64* %rdi.227.reg2mem br label LBL_2 LBL_2: %rdi.227.reload = load i64, i64* %rdi.227.reg2mem %storemerge28.reload = load i32, i32* %storemerge28.reg2mem %22 = sext i32 %storemerge28.reload to i64 %23 = mul i64 %22, 8 %24 = add i64 %23, %rdi.227.reload %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %26, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = load i64, i64* %21, align 8 %33 = add i64 %32, %23 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = add i64 %35, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = icmp sgt i32 %28, 0 store i64 %rdi.227.reload, i64* %rdi.0.lcssa.reg2mem br i1 %41, label LBL_3, label LBL_11 LBL_3: %42 = sext i32 %40 to i64 %43 = mul i64 %42, 4 %44 = add i64 %43, %19 %45 = icmp sgt i32 %31, 0 %46 = add i32 %40, %31 %47 = zext i32 %40 to i64 %48 = icmp slt i32 %40, %31 %49 = sub i32 1, %40 %50 = icmp slt i32 %49, %31 %wide.trip.count = zext i32 %31 to i64 store i32 0, i32* %storemerge310.reg2mem br label LBL_10 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %51 = trunc i64 %indvars.iv.reload to i32 %52 = mul i32 %11, %51 %53 = add i32 %52, %storemerge310.reload %54 = sext i32 %53 to i64 %55 = mul i64 %54, 4 %56 = add i64 %55, %15 %57 = mul i64 %indvars.iv.reload, 4 %58 = add i64 %57, %44 %59 = inttoptr i64 %56 to i32* %60 = load i32, i32* %59, align 4 %61 = inttoptr i64 %58 to i32* store i32 %60, i32* %61, 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: %62 = call i64 @FUNC(i64 %19, i64 %47, i32 %46) store i32 %40, i32* %sv_3.07.reg2mem store i32 0, i32* %sv_2.06.reg2mem store i32 0, i32* %sv_2.0.lcssa.reg2mem br i1 %48, label LBL_6, label LBL_7 LBL_6: %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem %sv_3.07.reload = load i32, i32* %sv_3.07.reg2mem %63 = sext i32 %sv_3.07.reload to i64 %64 = mul i64 %63, 4 %65 = add i64 %64, %44 %66 = inttoptr i64 %65 to i32* %67 = load i32, i32* %66, align 4 %68 = add i32 %67, 32768 %69 = mul i32 %sv_2.06.reload, %11 %70 = add i32 %69, %storemerge310.reload %71 = sext i32 %70 to i64 %72 = mul i64 %71, 4 %73 = add i64 %72, %15 %74 = ashr i32 %68, 16 %75 = inttoptr i64 %73 to i32* store i32 %74, i32* %75, align 4 %76 = add i32 %sv_3.07.reload, 2 %77 = add i32 %sv_2.06.reload, 1 %78 = icmp slt i32 %76, %31 store i32 %76, i32* %sv_3.07.reg2mem store i32 %77, i32* %sv_2.06.reg2mem store i32 %77, i32* %sv_2.0.lcssa.reg2mem br i1 %78, label LBL_6, label LBL_7 LBL_7: %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem store i32 %49, i32* %sv_3.19.reg2mem store i32 %sv_2.0.lcssa.reload, i32* %sv_2.18.reg2mem br i1 %50, label LBL_8, label LBL_9 LBL_8: %sv_2.18.reload = load i32, i32* %sv_2.18.reg2mem %sv_3.19.reload = load i32, i32* %sv_3.19.reg2mem %79 = sext i32 %sv_3.19.reload to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, %44 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = add i32 %83, 32768 %85 = mul i32 %sv_2.18.reload, %11 %86 = add i32 %85, %storemerge310.reload %87 = sext i32 %86 to i64 %88 = mul i64 %87, 4 %89 = add i64 %88, %15 %90 = ashr i32 %84, 16 %91 = inttoptr i64 %89 to i32* store i32 %90, i32* %91, align 4 %92 = add i32 %sv_3.19.reload, 2 %93 = add i32 %sv_2.18.reload, 1 %94 = icmp slt i32 %92, %31 store i32 %92, i32* %sv_3.19.reg2mem store i32 %93, i32* %sv_2.18.reg2mem br i1 %94, label LBL_8, label LBL_9 LBL_9: %95 = add nuw nsw i32 %storemerge310.reload, 1 %exitcond32 = icmp eq i32 %95, %28 store i32 %95, i32* %storemerge310.reg2mem store i64 %19, i64* %rdi.0.lcssa.reg2mem br i1 %exitcond32, label LBL_11, label LBL_10 LBL_10: %storemerge310.reload = load i32, i32* %storemerge310.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %45, label LBL_4, label LBL_5 LBL_11: %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem %96 = icmp sgt i32 %31, 0 store i64 %rdi.0.lcssa.reload, i64* %rdi.1.lcssa.reg2mem store i32 0, i32* %storemerge1.lcssa.reg2mem br i1 %96, label LBL_12, label LBL_23 LBL_12: %97 = sext i32 %37 to i64 %98 = mul i64 %97, 4 %99 = add i64 %98, %19 %100 = add i32 %37, %28 %101 = zext i32 %37 to i64 %102 = icmp slt i32 %37, %28 %103 = sub i32 1, %37 %104 = icmp slt i32 %103, %28 %wide.trip.count35 = zext i32 %28 to i64 store i32 0, i32* %storemerge121.reg2mem br label LBL_21 LBL_13: %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem %105 = trunc i64 %indvars.iv33.reload to i32 %106 = add i32 %149, %105 %107 = sext i32 %106 to i64 %108 = mul i64 %107, 4 %109 = add i64 %108, %15 %110 = mul i64 %indvars.iv33.reload, 4 %111 = add i64 %110, %99 %112 = inttoptr i64 %109 to i32* %113 = load i32, i32* %112, align 4 %114 = inttoptr i64 %111 to i32* store i32 %113, i32* %114, align 4 %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1 %exitcond36 = icmp eq i64 %indvars.iv.next34, %wide.trip.count35 store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem br i1 %exitcond36, label LBL_14, label LBL_13 LBL_14: %115 = call i64 @FUNC(i64 %19, i64 %101, i32 %100) store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %102, label LBL_15, label LBL_17 LBL_15: %116 = mul i32 %storemerge121.reload, %11 store i32 %37, i32* %sv_1.017.reg2mem store i32 0, i32* %sv_0.016.reg2mem br label LBL_16 LBL_16: %sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem %sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem %117 = sext i32 %sv_1.017.reload to i64 %118 = mul i64 %117, 4 %119 = add i64 %118, %99 %120 = inttoptr i64 %119 to i32* %121 = load i32, i32* %120, align 4 %122 = add i32 %121, 32768 %123 = add i32 %sv_0.016.reload, %116 %124 = sext i32 %123 to i64 %125 = mul i64 %124, 4 %126 = add i64 %125, %15 %127 = ashr i32 %122, 16 %128 = inttoptr i64 %126 to i32* store i32 %127, i32* %128, align 4 %129 = add i32 %sv_1.017.reload, 2 %130 = add i32 %sv_0.016.reload, 1 %131 = icmp slt i32 %129, %28 store i32 %129, i32* %sv_1.017.reg2mem store i32 %130, i32* %sv_0.016.reg2mem store i32 %130, i32* %sv_0.0.lcssa.reg2mem br i1 %131, label LBL_16, label LBL_17 LBL_17: br i1 %104, label LBL_18, label LBL_20 LBL_18: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %132 = mul i32 %storemerge121.reload, %11 store i32 %103, i32* %sv_1.120.reg2mem store i32 %sv_0.0.lcssa.reload, i32* %sv_0.119.reg2mem br label LBL_19 LBL_19: %sv_0.119.reload = load i32, i32* %sv_0.119.reg2mem %sv_1.120.reload = load i32, i32* %sv_1.120.reg2mem %133 = sext i32 %sv_1.120.reload to i64 %134 = mul i64 %133, 4 %135 = add i64 %134, %99 %136 = inttoptr i64 %135 to i32* %137 = load i32, i32* %136, align 4 %138 = add i32 %137, 32768 %139 = add i32 %sv_0.119.reload, %132 %140 = sext i32 %139 to i64 %141 = mul i64 %140, 4 %142 = add i64 %141, %15 %143 = ashr i32 %138, 16 %144 = inttoptr i64 %142 to i32* store i32 %143, i32* %144, align 4 %145 = add i32 %sv_1.120.reload, 2 %146 = add i32 %sv_0.119.reload, 1 %147 = icmp slt i32 %145, %28 store i32 %145, i32* %sv_1.120.reg2mem store i32 %146, i32* %sv_0.119.reg2mem br i1 %147, label LBL_19, label LBL_20 LBL_20: %148 = add nuw nsw i32 %storemerge121.reload, 1 %exitcond37 = icmp eq i32 %148, %31 store i32 %148, i32* %storemerge121.reg2mem store i64 %19, i64* %rdi.1.lcssa.reg2mem store i32 %31, i32* %storemerge1.lcssa.reg2mem br i1 %exitcond37, label LBL_23, label LBL_21 LBL_21: %storemerge121.reload = load i32, i32* %storemerge121.reg2mem br i1 %41, label LBL_13.lr.ph, label LBL_14 LBL_22: %149 = mul i32 %storemerge121.reload, %11 store i64 0, i64* %indvars.iv33.reg2mem br label LBL_13 LBL_23: %storemerge1.lcssa.reload = load i32, i32* %storemerge1.lcssa.reg2mem %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %150 = add i32 %storemerge28.reload, -1 %151 = icmp slt i32 %150, 0 %152 = icmp eq i1 %151, false store i32 %150, i32* %storemerge28.reg2mem store i64 %rdi.1.lcssa.reload, i64* %rdi.227.reg2mem store i32 %storemerge1.lcssa.reload, i32* %rax.0.in.lcssa.reg2mem br i1 %152, label LBL_2, label LBL_24 LBL_24: %rax.0.in.lcssa.reload = load i32, i32* %rax.0.in.lcssa.reg2mem %rax.0 = zext i32 %rax.0.in.lcssa.reload to i64 ret i64 %rax.0 uselistorder i32 %storemerge121.reload, { 1, 2, 3, 0 } uselistorder i64 %indvars.iv33.reload, { 0, 2, 1 } uselistorder i32 %storemerge310.reload, { 1, 2, 3, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i32 %40, { 0, 3, 2, 4, 1, 5 } uselistorder i32 %37, { 0, 3, 2, 4, 1, 5 } uselistorder i32 %31, { 0, 2, 5, 8, 9, 3, 6, 7, 1, 4 } uselistorder i32 %28, { 6, 7, 1, 4, 5, 0, 2, 3 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %19, { 0, 4, 2, 1, 5, 3 } uselistorder i32 %12, { 1, 0, 2 } uselistorder i32 %11, { 3, 1, 2, 4, 5, 0 } uselistorder i64 %0, { 0, 2, 3, 1, 4 } uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.227.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 } uselistorder i32* %sv_3.07.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.06.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_3.19.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.18.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv33.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.017.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.016.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.120.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.119.reg2mem, { 1, 0, 2 } uselistorder i32 32768, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @sd_1d97_int, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 11, 3, 2, 1, 0, 8, 5, 6, 4, 7, 9, 10 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
http_connect_11160
http_connect
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %2, 48 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %2, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 0, i32* %rax.0.shrunk.reg2mem br i1 %12, label LBL_3, label LBL_18 LBL_3: %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64 %15) %18 = load i64, i64* %14, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %14, align 8 %20 = bitcast i64* %arg1 to i32* store i32 0, i32* %20, align 4 br label LBL_5 LBL_5: %21 = add i64 %2, 16 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = add i64 %2, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %2, 24 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 br i1 %24, label LBL_7, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %13, i64 %30, i32 %27) store i64 %31, i64* %storemerge.in.reg2mem br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %13, i64 %30, i32 %27) %33 = load i32, i32* %26, align 4 %34 = load i64, i64* %29, align 8 %35 = call i64 @FUNC(i64 %13, i64 %34, i32 %33) store i64 %35, i64* %storemerge.in.reg2mem br label LBL_8 LBL_8: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %36 = icmp slt i32 %storemerge, 0 %37 = icmp eq i1 %36, false store i32 %storemerge, i32* %rax.0.shrunk.reg2mem br i1 %37, label LBL_9, label LBL_18 LBL_9: %38 = load i64, i64* %14, align 8 %39 = call i64 @FUNC(i64 %38, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %40 = call i64 @FUNC(i64 %2) %41 = load i64, i64* %14, align 8 %42 = call i64 @FUNC(i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp ne i32 %43, 0 %45 = icmp eq i32 %43, -1 %46 = icmp eq i1 %45, false %or.cond = icmp eq i1 %44, %46 store i32 %43, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_16, label LBL_10 LBL_10: %47 = add i64 %2, 40 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, 0 store i32 %43, i32* %sv_0.0.reg2mem br i1 %52, label LBL_16, label LBL_11 LBL_11: %53 = load i64, i64* %14, align 8 %54 = call i64 @FUNC(i64 %53) %55 = trunc i64 %54 to i32 %56 = icmp eq i32 %55, 0 store i32 %43, i32* %sv_0.0.reg2mem br i1 %56, label LBL_16, label LBL_12 LBL_12: %57 = load i64, i64* %14, align 8 %58 = bitcast i32* %sv_1 to i64* %59 = call i64 @FUNC(i64* nonnull %58, i64 %57) %60 = trunc i64 %59 to i32 %61 = icmp slt i32 %60, 0 %62 = icmp eq i1 %61, false store i32 %60, i32* %rax.0.shrunk.reg2mem br i1 %62, label LBL_13, label LBL_18 LBL_13: %63 = call i64 @FUNC() %64 = load i32, i32* %sv_1, align 4 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false store i32 %64, i32* %sv_0.0.reg2mem br i1 %66, label LBL_16, label LBL_14 LBL_14: %67 = call i64 @FUNC() %68 = icmp eq i64 %67, 0 %69 = icmp eq i1 %68, false store i32 %64, i32* %rax.0.shrunk.reg2mem br i1 %69, label LBL_18, label LBL_15 LBL_15: %70 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) store i32 %64, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %71 = icmp slt i32 %sv_0.0.reload, 0 %72 = icmp eq i1 %71, false store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem br i1 %72, label LBL_17, label LBL_18 LBL_17: %73 = bitcast i64* %arg1 to i32* store i32 1, i32* %73, align 4 store i32 0, i32* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %64, { 1, 0, 2, 3 } uselistorder i32 %43, { 1, 2, 0, 3, 4 } uselistorder i64 %30, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i64* %14, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 %2, { 1, 2, 4, 5, 3, 6, 0, 7 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 1, 3, 2, 4, 5, 6 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i1 false, { 1, 2, 3, 4, 0, 5 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12 } uselistorder label LBL_18, { 6, 0, 2, 1, 3, 4, 5 } uselistorder label LBL_16, { 1, 2, 3, 0 } }
1
BinRealVul
kvm_ioctl_create_device_5384
kvm_ioctl_create_device
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = trunc i64 %1 to i32 %7 = icmp ult i32 %6, 10 store i64 19, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %sext = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext, 29 %9 = add i64 %8, ptrtoint (i64* @gv_0 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 19, i64* %rax.0.shrunk.reg2mem br i1 %13, label LBL_2, label LBL_9 LBL_2: %14 = urem i32 %5, 2 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false %17 = icmp eq i1 %16, false store i64 0, i64* %rax.0.shrunk.reg2mem br i1 %17, label LBL_3, label LBL_9 LBL_3: %18 = call i64 @FUNC(i64 24, i64 0) %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 12, i64* %rax.0.shrunk.reg2mem br i1 %20, label LBL_4, label LBL_9 LBL_4: %21 = ptrtoint i64* %arg1 to i64 %22 = inttoptr i64 %18 to i64* store i64 %11, i64* %22, align 8 %23 = add i64 %18, 8 %24 = inttoptr i64 %23 to i64* store i64 %21, i64* %24, align 8 %25 = call i64 @FUNC(i64 %21) %26 = trunc i64 %18 to i32 %27 = icmp slt i32 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_6, label LBL_5 LBL_5: %29 = call i64 @FUNC(i64 %21) %30 = call i64 @FUNC(i64 %18) store i64 %18, i64* %rax.0.shrunk.reg2mem br label LBL_9 LBL_6: %31 = add i64 %21, 4 %32 = add i64 %18, 16 %33 = call i64 @FUNC(i64 %32, i64 %31) %34 = call i64 @FUNC(i64 %21) %35 = add i64 %11, 24 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = call i64 @FUNC(i64 %37, i64* nonnull @gv_1, i64 %18, i64 0) %39 = trunc i64 %38 to i32 %40 = icmp slt i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_8, label LBL_7 LBL_7: %42 = call i64 @FUNC(i64 %21) %43 = call i64 @FUNC(i64 %32) %44 = call i64 @FUNC(i64 %21) store i64 %38, i64* %rax.0.shrunk.reg2mem br label LBL_9 LBL_8: %45 = call i64 @FUNC(i64 %21) %46 = add i64 %2, 8 %47 = inttoptr i64 %46 to i32* store i32 %39, i32* %47, align 4 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_9 LBL_9: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %21, { 0, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64 %18, { 2, 3, 0, 1, 4, 5, 6, 7 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 6, 5, 1, 2, 3, 4 } uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 } uselistorder i64 (i64)* @mutex_lock, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i1 false, { 1, 2, 3, 0, 5, 4 } uselistorder label LBL_9, { 4, 5, 6, 0, 1, 2, 3 } }
0
BinRealVul
perf_event_init_context_18578
perf_event_init_context
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge59.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sext = mul i64 %arg2, 4294967296 %2 = load i64, i64* @gv_0, align 8 store i32 1, i32* %sv_1, align 4 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = ashr exact i64 %sext, 29 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %storemerge.reg2mem br i1 %10, label LBL_1, label LBL_13 LBL_1: %11 = ptrtoint i64* %arg1 to i64 %12 = and i64 %arg2, 4294967295 %13 = call i64 @FUNC(i64 %2, i64 %12) %14 = add i64 %13, 24 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %13, 40 %17 = icmp eq i64 %16, 0 %18 = icmp eq i1 %17, false store i64 %16, i64* %storemerge59.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %18, label LBL_2, label LBL_4 LBL_2: %storemerge59.reload = load i64, i64* %storemerge59.reg2mem %19 = call i64 @FUNC(i64 %storemerge59.reload, i64 %2, i64 %13, i64 %11, i64 %12, i32* nonnull %sv_1) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 %19, i64* %sv_0.1.reg2mem br i1 %22, label LBL_4, label LBL_3 LBL_3: %23 = inttoptr i64 %storemerge59.reload to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %storemerge59.reg2mem store i64 %19, i64* %sv_0.1.reg2mem br i1 %26, label LBL_2, label LBL_4 LBL_4: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %27 = add i64 %13, 32 %28 = call i64 @FUNC(i64 %27, i64 %1) %29 = add i64 %13, 16 %30 = inttoptr i64 %29 to i32* store i32 1, i32* %30, align 4 %31 = call i64 @FUNC(i64 %27, i64 %1) %32 = add i64 %13, 48 %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64 %32, i64* %storemerge47.reg2mem store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem br i1 %34, label LBL_5, label LBL_7 LBL_5: %storemerge47.reload = load i64, i64* %storemerge47.reg2mem %35 = call i64 @FUNC(i64 %storemerge47.reload, i64 %2, i64 %13, i64 %11, i64 %12, i32* nonnull %sv_1) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i64 %35, i64* %sv_0.3.reg2mem br i1 %38, label LBL_7, label LBL_6 LBL_6: %39 = inttoptr i64 %storemerge47.reload to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %40, 0 %42 = icmp eq i1 %41, false store i64 %40, i64* %storemerge47.reg2mem store i64 %35, i64* %sv_0.3.reg2mem br i1 %42, label LBL_5, label LBL_7 LBL_7: %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem %43 = call i64 @FUNC(i64 %27, i64 %1) store i32 0, i32* %30, align 4 %44 = add i64 %27, %5 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = load i32, i32* %sv_1, align 4 %49 = icmp eq i32 %48, 0 %or.cond = or i1 %47, %49 br i1 %or.cond, label LBL_12, label LBL_8 LBL_8: %50 = inttoptr i64 %13 to i64* %51 = load i64, i64* %50, align 8 %52 = icmp eq i64 %51, 0 %53 = inttoptr i64 %46 to i64* br i1 %52, label LBL_10, label LBL_9 LBL_9: store i64 %51, i64* %53, align 8 %54 = add i64 %13, 8 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = add i64 %46, 8 %58 = inttoptr i64 %57 to i32* store i32 %56, i32* %58, align 4 br label LBL_11 LBL_10: store i64 %13, i64* %53, align 8 %59 = add i64 %13, 12 %60 = inttoptr i64 %59 to i32* %61 = load i32, i32* %60, align 4 %62 = add i64 %46, 8 %63 = inttoptr i64 %62 to i32* store i32 %61, i32* %63, align 4 br label LBL_11 LBL_11: %64 = load i64, i64* %53, align 8 %65 = call i64 @FUNC(i64 %64) br label LBL_12 LBL_12: %66 = call i64 @FUNC(i64 %27, i64 %1) %67 = call i64 @FUNC(i64 %14) %68 = call i64 @FUNC(i64 %13) %69 = call i64 @FUNC(i64 %13) %70 = and i64 %sv_0.3.reload, 4294967295 store i64 %70, i64* %storemerge.reg2mem br label LBL_13 LBL_13: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %53, { 0, 2, 1 } uselistorder i64 %46, { 1, 0, 2, 3 } uselistorder i64 %27, { 1, 0, 2, 3, 4 } uselistorder i64 %13, { 4, 5, 1, 2, 0, 3, 6, 7, 9, 8, 10, 11, 12 } uselistorder i64* %storemerge59.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge47.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @raw_spin_unlock_irqrestore, { 1, 0 } uselistorder i64 (i64, i64)* @raw_spin_lock_irqsave, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64, i32*)* @inherit_task_group, { 1, 0 } uselistorder i1 false, { 4, 3, 1, 6, 5, 0, 2 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qemu_anon_ram_alloc_16190
qemu_anon_ram_alloc
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i32 @getpagesize() %1 = trunc i64 %arg1 to i32 %2 = add i32 %1, 64 %3 = sub i32 %2, %0 %4 = call i64* @mmap(i64* null, i32 %3, i32 0, i32 34, i32 -1, i32 0) %5 = icmp eq i64* %4, inttoptr (i64 -1 to i64*) %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_10 LBL_1: %7 = icmp eq i64* %arg2, null br i1 %7, label LBL_3, label LBL_2 LBL_2: store i64 64, i64* %arg2, align 8 br label LBL_3 LBL_3: %8 = ptrtoint i64* %4 to i64 %9 = add i64 %8, 63 %10 = and i64 %9, 4294967232 %11 = sub i64 %10, %8 %sext = mul i64 %11, 4294967296 %12 = ashr exact i64 %sext, 32 %13 = add i64 %12, %8 %14 = inttoptr i64 %13 to i64* %15 = call i64* @mmap(i64* %14, i32 %1, i32 3, i32 50, i32 -1, i32 0) %16 = icmp eq i64* %15, inttoptr (i64 -1 to i64*) %17 = icmp eq i1 %16, false br i1 %17, label LBL_5, label LBL_4 LBL_4: %18 = call i32 @munmap(i64* %4, i32 %3) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %19 = trunc i64 %11 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = call i32 @munmap(i64* %4, i32 %19) br label LBL_7 LBL_7: %22 = sub i32 %3, %19 %23 = sext i32 %22 to i64 %24 = icmp ugt i64 %23, %arg1 br i1 %24, label LBL_8, label LBL_9 LBL_8: %25 = add i64 %13, %arg1 %26 = inttoptr i64 %25 to i64* %27 = sub i32 %22, %1 %28 = call i32 @munmap(i64* %26, i32 %27) br label LBL_9 LBL_9: %29 = call i64 @FUNC(i64 %arg1, i64 %13) store i64 %13, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %22, { 1, 0 } uselistorder i32 %19, { 2, 1, 0 } uselistorder i64 %13, { 0, 2, 1, 3 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %8, { 0, 2, 1 } uselistorder i64* %4, { 0, 1, 3, 2 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* (i64*, i32, i32, i32, i32, i32)* @mmap, { 1, 0 } uselistorder i64 %arg1, { 3, 0, 1, 2 } uselistorder label LBL_10, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
conv_jistoeuc_19038
conv_jistoeuc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.09.reg2mem = alloca i64 %sv_0.010.reg2mem = alloca i64 %sv_2.012.reg2mem = alloca i32 %.reg2mem18 = alloca i8* %.reg2mem = alloca i8 %sv_2.0.be.reg2mem = alloca i32 %sv_0.0.be.reg2mem = alloca i64 %sv_1.0.be.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = inttoptr i64 %arg3 to i8* %2 = load i8, i8* %1, align 1 %3 = icmp eq i8 %2, 0 store i64 %0, i64* %sv_0.0.lcssa.reg2mem br i1 %3, label LBL_26, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %sext2 = add i64 %sext, -12884901888 %4 = ashr exact i64 %sext2, 32 store i8 %2, i8* %.reg2mem store i8* %1, i8** %.reg2mem18 store i32 0, i32* %sv_2.012.reg2mem store i64 %0, i64* %sv_0.010.reg2mem store i64 %arg3, i64* %sv_1.09.reg2mem br label LBL_25 LBL_2: %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem %.reload = load i8, i8* %.reg2mem %5 = icmp eq i8 %.reload, 27 %6 = icmp eq i1 %5, false br i1 %6, label LBL_13, label LBL_3 LBL_3: %7 = add i64 %sv_1.09.reload, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = icmp eq i8 %9, 36 %11 = icmp eq i1 %10, false br i1 %11, label LBL_9, label LBL_4 LBL_4: %12 = add i64 %sv_1.09.reload, 2 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = icmp ne i8 %14, 64 %16 = icmp eq i8 %14, 66 %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %15, %17 br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %18 = add i64 %sv_1.09.reload, 3 store i64 %18, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 1, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_6: %sv_2.0.be.reload = load i32, i32* %sv_2.0.be.reg2mem %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem %19 = inttoptr i64 %sv_1.0.be.reload to i8* %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 0 store i8 %20, i8* %.reg2mem store i8* %19, i8** %.reg2mem18 store i32 %sv_2.0.be.reload, i32* %sv_2.012.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.010.reg2mem store i64 %sv_1.0.be.reload, i64* %sv_1.09.reg2mem store i64 %sv_0.0.be.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %21, label LBL_26, label LBL_25 LBL_7: %22 = icmp eq i8 %14, 40 %23 = icmp eq i1 %22, false store i64 %7, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 0, i32* %sv_2.0.be.reg2mem br i1 %23, label LBL_6, label LBL_8 LBL_8: %24 = add i64 %sv_1.09.reload, 3 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = icmp eq i8 %26, 68 %28 = icmp eq i1 %27, false %29 = add i64 %sv_1.09.reload, 4 %spec.select16 = select i1 %28, i64 %7, i64 %29 %spec.select17 = select i1 %28, i32 0, i32 3 store i64 %spec.select16, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 %spec.select17, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_9: %30 = icmp eq i8 %9, 40 %31 = icmp eq i1 %30, false store i64 %7, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 0, i32* %sv_2.0.be.reg2mem br i1 %31, label LBL_6, label LBL_10 LBL_10: %32 = add i64 %sv_1.09.reload, 2 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = icmp ne i8 %34, 66 %36 = icmp eq i8 %34, 74 %37 = icmp eq i1 %36, false %or.cond5 = icmp eq i1 %35, %37 br i1 %or.cond5, label LBL_12, label LBL_11 LBL_11: %38 = add i64 %sv_1.09.reload, 3 store i64 %38, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 0, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_12: %39 = icmp eq i8 %34, 73 %40 = icmp eq i1 %39, false %41 = add i64 %sv_1.09.reload, 3 %spec.select = select i1 %40, i64 %7, i64 %41 %spec.select6 = select i1 %40, i32 0, i32 2 store i64 %spec.select, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 %spec.select6, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_13: %42 = icmp eq i8 %.reload, 14 %43 = icmp eq i1 %42, false br i1 %43, label LBL_15, label LBL_14 LBL_14: %44 = add i64 %sv_1.09.reload, 1 store i64 %44, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 2, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_15: %45 = icmp eq i8 %.reload, 15 %46 = icmp eq i1 %45, false br i1 %46, label LBL_17, label LBL_16 LBL_16: %47 = add i64 %sv_1.09.reload, 1 store i64 %47, i64* %sv_1.0.be.reg2mem store i64 %sv_0.010.reload, i64* %sv_0.0.be.reg2mem store i32 0, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_17: %sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem %.reload19 = load i8*, i8** %.reg2mem18 switch i32 %sv_2.012.reload, label LBL_24 [ i32 3, label LBL_22 i32 2, label LBL_21 i32 0, label LBL_18 i32 1, label LBL_19 ] LBL_18: %48 = add i64 %sv_1.09.reload, 1 %49 = add i64 %sv_0.010.reload, 1 %50 = inttoptr i64 %sv_0.010.reload to i8* store i8 %.reload, i8* %50, align 1 store i64 %48, i64* %sv_1.0.be.reg2mem store i64 %49, i64* %sv_0.0.be.reg2mem store i32 0, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_19: %51 = add i64 %sv_1.09.reload, 1 %52 = or i8 %.reload, -128 %53 = add i64 %sv_0.010.reload, 1 %54 = inttoptr i64 %sv_0.010.reload to i8* store i8 %52, i8* %54, align 1 %55 = inttoptr i64 %51 to i8* %56 = load i8, i8* %55, align 1 %57 = icmp eq i8 %56, 0 %58 = icmp eq i1 %57, false store i64 %51, i64* %sv_1.0.be.reg2mem store i64 %53, i64* %sv_0.0.be.reg2mem store i32 1, i32* %sv_2.0.be.reg2mem br i1 %58, label LBL_20, label LBL_6 LBL_20: %59 = add i64 %sv_1.09.reload, 2 %60 = or i8 %56, -128 %61 = add i64 %sv_0.010.reload, 2 %62 = inttoptr i64 %53 to i8* store i8 %60, i8* %62, align 1 store i64 %59, i64* %sv_1.0.be.reg2mem store i64 %61, i64* %sv_0.0.be.reg2mem store i32 1, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_21: %63 = add i64 %sv_0.010.reload, 1 %64 = inttoptr i64 %sv_0.010.reload to i8* store i8 -114, i8* %64, align 1 %65 = add i64 %sv_1.09.reload, 1 %66 = load i8, i8* %.reload19, align 1 %67 = or i8 %66, -128 %68 = add i64 %sv_0.010.reload, 2 %69 = inttoptr i64 %63 to i8* store i8 %67, i8* %69, align 1 store i64 %65, i64* %sv_1.0.be.reg2mem store i64 %68, i64* %sv_0.0.be.reg2mem store i32 2, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_22: %70 = add i64 %sv_0.010.reload, 1 %71 = inttoptr i64 %sv_0.010.reload to i8* store i8 -113, i8* %71, align 1 %72 = add i64 %sv_1.09.reload, 1 %73 = load i8, i8* %.reload19, align 1 %74 = or i8 %73, -128 %75 = add i64 %sv_0.010.reload, 2 %76 = inttoptr i64 %70 to i8* store i8 %74, i8* %76, align 1 %77 = inttoptr i64 %72 to i8* %78 = load i8, i8* %77, align 1 %79 = icmp eq i8 %78, 0 %80 = icmp eq i1 %79, false store i64 %72, i64* %sv_1.0.be.reg2mem store i64 %75, i64* %sv_0.0.be.reg2mem store i32 3, i32* %sv_2.0.be.reg2mem br i1 %80, label LBL_23, label LBL_6 LBL_23: %81 = add i64 %sv_1.09.reload, 2 %82 = or i8 %78, -128 %83 = add i64 %sv_0.010.reload, 3 %84 = inttoptr i64 %75 to i8* store i8 %82, i8* %84, align 1 store i64 %81, i64* %sv_1.0.be.reg2mem store i64 %83, i64* %sv_0.0.be.reg2mem store i32 3, i32* %sv_2.0.be.reg2mem br label LBL_6 LBL_24: unreachable LBL_25: %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem %85 = sub i64 %sv_0.010.reload, %0 %86 = icmp sgt i64 %85, %4 store i64 %sv_0.010.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %86, label LBL_2, label LBL_26 LBL_26: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %87 = inttoptr i64 %sv_0.0.lcssa.reload to i8* store i8 0, i8* %87, align 1 ret i64 0 uselistorder i64 %sv_0.010.reload, { 0, 7, 17, 20, 21, 18, 16, 19, 15, 14, 6, 5, 4, 3, 2, 12, 13, 11, 9, 10, 8, 1 } uselistorder i64 %75, { 1, 0 } uselistorder i64 %53, { 1, 0 } uselistorder i8* %.reload19, { 1, 0 } uselistorder i8 %34, { 1, 0, 2 } uselistorder i8 %14, { 1, 0, 2 } uselistorder i64 %7, { 3, 1, 2, 0, 4 } uselistorder i64 %sv_1.09.reload, { 0, 12, 11, 1, 15, 14, 10, 9, 2, 3, 4, 5, 6, 7, 8, 13 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %sv_1.0.be.reg2mem, { 14, 13, 12, 10, 9, 11, 8, 7, 3, 6, 4, 1, 2, 0, 5 } uselistorder i64* %sv_0.0.be.reg2mem, { 14, 13, 12, 10, 9, 11, 8, 7, 3, 6, 4, 1, 2, 0, 5 } uselistorder i32* %sv_2.0.be.reg2mem, { 14, 13, 12, 10, 9, 11, 8, 7, 3, 6, 4, 1, 2, 0, 5 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 } uselistorder i32 2, { 1, 3, 0, 2 } uselistorder i32 3, { 1, 0, 3, 2 } uselistorder i8 66, { 1, 0 } uselistorder i64 2, { 0, 5, 6, 1, 2, 3, 4 } uselistorder i1 false, { 2, 3, 4, 5, 6, 0, 7, 8, 9, 1, 10, 11 } uselistorder i32 0, { 5, 8, 4, 7, 3, 2, 6, 1, 0 } uselistorder i8 0, { 3, 1, 2, 4, 0 } uselistorder label LBL_26, { 1, 0, 2 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_6, { 9, 11, 8, 7, 10, 6, 5, 4, 13, 3, 12, 0, 1, 2 } }
1
BinRealVul
pipe_fcntl_4693
pipe_fcntl
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = inttoptr i64 %1 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %arg2 to i32 store i64 2, i64* %sv_0.0.reg2mem switch i32 %7, label LBL_7 [ i32 1, label LBL_2 i32 2, label LBL_6 ] LBL_2: %8 = call i64 @FUNC(i64 %arg3) %9 = trunc i64 %8 to i32 %10 = icmp ult i32 %9, 4096 store i64 2, i64* %sv_0.0.reg2mem br i1 %10, label LBL_7, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 1) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %16 = icmp ult i32 %15, %9 store i64 3, i64* %sv_0.0.reg2mem br i1 %16, label LBL_7, label LBL_5 LBL_5: %17 = udiv i32 %9, 4096 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %1, i64 %18) store i64 %19, i64* %sv_0.0.reg2mem br label LBL_7 LBL_6: %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = mul i32 %22, 4096 %24 = zext i32 %23 to i64 store i64 %24, i64* %sv_0.0.reg2mem br label LBL_7 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = load i64, i64* %4, align 8 %26 = call i64 @FUNC(i64 %25) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %9, { 1, 2, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 5, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 4096, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 3, 4, 1, 2, 0 } }
0
BinRealVul
nfc_enable_se_12007
nfc_enable_se
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 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = and i64 %arg2, 4294967295 %5 = call i64 @FUNC(i64 %3) %6 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4, i64 %5, i64 %2, i64 %1) %7 = call i64 @FUNC(i64 %3) %8 = call i64 @FUNC(i64 %3) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.0.reg2mem br i1 %11, label LBL_1, label LBL_9 LBL_1: %12 = add i64 %3, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false store i64* inttoptr (i32 -19 to i64*), i64** %sv_0.0.reg2mem br i1 %16, label LBL_2, label LBL_9 LBL_2: %17 = add i64 %3, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 store i64* inttoptr (i32 -16 to i64*), i64** %sv_0.0.reg2mem br i1 %20, label LBL_3, label LBL_9 LBL_3: %21 = add i64 %3, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 store i64* inttoptr (i32 -95 to i64*), i64** %sv_0.0.reg2mem br i1 %26, label LBL_9, label LBL_4 LBL_4: %27 = add i64 %23, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 %31 = icmp eq i1 %30, false store i64* inttoptr (i32 -95 to i64*), i64** %sv_0.0.reg2mem br i1 %31, label LBL_5, label LBL_9 LBL_5: %32 = call i64 @FUNC(i64 %3, i64 %4) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false store i64* inttoptr (i32 -22 to i64*), i64** %sv_0.0.reg2mem br i1 %34, label LBL_6, label LBL_9 LBL_6: %35 = inttoptr i64 %32 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 1 %38 = icmp eq i1 %37, false store i64* inttoptr (i32 -114 to i64*), i64** %sv_0.0.reg2mem br i1 %38, label LBL_7, label LBL_9 LBL_7: %39 = trunc i64 %3 to i32 %40 = and i64 %3, 4294967295 %41 = inttoptr i64 %40 to i64* %42 = icmp slt i32 %39, 0 store i64* %41, i64** %sv_0.0.reg2mem br i1 %42, label LBL_9, label LBL_8 LBL_8: store i32 1, i32* %35, align 4 store i64* %41, i64** %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem %43 = call i64 @FUNC(i64 %3) %44 = ptrtoint i64* %sv_0.0.reload to i64 %45 = and i64 %44, 4294967295 ret i64 %45 uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %3, { 2, 1, 0, 6, 5, 4, 3, 7, 8, 9 } uselistorder i64** %sv_0.0.reg2mem, { 0, 8, 9, 1, 2, 4, 3, 5, 6, 7 } uselistorder i64* %0, { 1, 0 } uselistorder i64* inttoptr (i32 -95 to i64*), { 1, 0 } uselistorder label LBL_9, { 8, 7, 0, 1, 3, 2, 4, 5, 6 } }
1
BinRealVul
ff_rtp_send_h263_13889
ff_rtp_send_h263
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.in.lcssa.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %sv_2.11.reg2mem = alloca i64 %sv_1.13.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %arg3, 0 %4 = icmp slt i32 %arg3, 0 %5 = icmp eq i1 %4, false %6 = icmp eq i1 %3, false %7 = icmp eq i1 %5, %6 store i32 %2, i32* %rax.0.in.lcssa.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = ptrtoint i64* %arg1 to i64 %9 = add i64 %8, 4 %10 = inttoptr i64 %9 to i8* %sv_3.0 = add i64 %8, 5 %11 = add i64 %8, 6 %12 = inttoptr i64 %sv_3.0 to i8* %13 = add i64 %1, 4294967295 %14 = and i64 %13, 4294967295 %15 = add i32 %2, -2 %16 = inttoptr i64 %11 to i64* %17 = add i64 %8, 1508 %18 = inttoptr i64 %17 to i32* %19 = add i64 %8, 1504 %20 = inttoptr i64 %19 to i32* store i32 %arg3, i32* %sv_1.13.reg2mem store i64 %arg2, i64* %sv_2.11.reg2mem br label LBL_2 LBL_2: %sv_2.11.reload = load i64, i64* %sv_2.11.reg2mem %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem %21 = inttoptr i64 %sv_2.11.reload to i8* %22 = load i8, i8* %21, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_5, label LBL_3 LBL_3: %25 = add i64 %sv_2.11.reload, 1 %26 = inttoptr i64 %25 to i8* %27 = load i8, i8* %26, align 1 %28 = icmp eq i8 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_5, label LBL_4 LBL_4: store i8 4, i8* %10, align 1 %30 = add i64 %sv_2.11.reload, 2 %31 = add i32 %sv_1.13.reload, -2 store i64 %30, i64* %sv_2.0.reg2mem store i32 %31, i32* %sv_1.0.reg2mem br label LBL_6 LBL_5: store i8 0, i8* %10, align 1 store i64 %sv_2.11.reload, i64* %sv_2.0.reg2mem store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem store i8 0, i8* %12, align 1 %32 = sext i32 %sv_1.0.reload to i64 %33 = icmp sgt i64 %14, %32 %storemerge.in = select i1 %33, i32 %sv_1.0.reload, i32 %15 %34 = icmp sgt i32 %sv_1.0.reload, %storemerge.in store i32 %storemerge.in, i32* %sv_0.0.reg2mem br i1 %34, label LBL_7, label LBL_8 LBL_7: %35 = sext i32 %storemerge.in to i64 %36 = add i64 %sv_2.0.reload, %35 %37 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %36) %38 = sub i64 %37, %sv_2.0.reload %39 = trunc i64 %38 to i32 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %40 = inttoptr i64 %sv_2.0.reload to i64* %41 = call i64* @memcpy(i64* %16, i64* %40, i32 %sv_0.0.reload) %42 = load i32, i32* %18, align 4 store i32 %42, i32* %20, align 4 %43 = icmp eq i32 %sv_1.0.reload, %sv_0.0.reload %44 = zext i1 %43 to i64 %45 = add i32 %sv_0.0.reload, 2 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %8, i64 %9, i64 %46, i64 %44) %48 = sext i32 %sv_0.0.reload to i64 %49 = add i64 %sv_2.0.reload, %48 %50 = sub i32 %sv_1.0.reload, %sv_0.0.reload %51 = icmp eq i32 %50, 0 %52 = icmp slt i32 %50, 0 %53 = icmp eq i1 %52, false %54 = icmp eq i1 %51, false %55 = icmp eq i1 %53, %54 store i32 %50, i32* %sv_1.13.reg2mem store i64 %49, i64* %sv_2.11.reg2mem store i32 %sv_0.0.reload, i32* %rax.0.in.lcssa.reg2mem br i1 %55, label LBL_2, label LBL_9 LBL_9: %rax.0.in.lcssa.reload = load i32, i32* %rax.0.in.lcssa.reg2mem %rax.0 = zext i32 %rax.0.in.lcssa.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_0.0.reload, { 0, 2, 3, 5, 4, 1 } uselistorder i32 %storemerge.in, { 1, 0, 2 } uselistorder i64 %sv_2.0.reload, { 3, 2, 0, 1, 4 } uselistorder i32 %sv_1.0.reload, { 3, 4, 2, 0, 1 } uselistorder i64 %sv_2.11.reload, { 0, 1, 3, 2 } uselistorder i64 %8, { 2, 4, 3, 0, 1, 5 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_1.13.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.11.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 -2, { 1, 0 } uselistorder i1 false, { 5, 2, 3, 4, 0, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
xhci_get_port_bandwidth_10654
xhci_get_port_bandwidth
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = ptrtoint i64* %sv_0 to i64 store i64 %arg2, i64* %sv_0, align 8 %4 = bitcast i64* %rdi to i32* %5 = mul i64 %1, 4294967296 %sext = add i64 %5, 4294967296 %6 = ashr exact i64 %sext, 32 %7 = add nsw i64 %6, 15 %8 = udiv i64 %7, 16 %9 = urem i64 %7, 16 %10 = mul i64 %8, 16 %11 = sub i64 %3, %10 %12 = zext i64 %9 to i128 %13 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i128 %12, i64 16, i64 %6, i64 0) %14 = load i64, i64* %sv_0, align 8 %15 = call i64 @FUNC(i64 %14) %16 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %15, i128 %12, i64 16, i64 %6, i64 0) %17 = inttoptr i64 %11 to i8* store i8 0, i8* %17, align 8 %18 = load i32, i32* %4, align 8 %19 = or i64 %11, 1 %20 = inttoptr i64 %19 to i64* %21 = call i64* @memset(i64* nonnull %20, i32 80, i32 %18) %22 = call i64 @FUNC(i64 %2) %23 = and i64 %22, 4294967295 %24 = call i64 @FUNC(i64 %23, i64 %15, i64 %11, i64 %6) ret i64 0 uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %6, { 3, 0, 1, 2 } uselistorder i64 (i8*, i64, i128, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder i64 16, { 4, 3, 0, 1, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } }
0
BinRealVul
journal_importer_cleanup_17585
journal_importer_cleanup
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 slt i32 %2, 0 br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = add i64 %arg1, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %arg1, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false %spec.select = select i1 %13, i64 %11, i64 ptrtoint ([9 x i8]* @gv_0 to i64) %14 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %spec.select, i32 %2) %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %15) br label LBL_3 LBL_3: %17 = add i64 %arg1, 16 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = inttoptr i64 %19 to i64* call void @free(i64* %20) %21 = add i64 %arg1, 24 %22 = call i64 @FUNC(i64 %21) ret i64 %22 uselistorder i32 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 0, 3 } }
1
BinRealVul
memory_region_present_16567
memory_region_present
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 1) %2 = icmp ne i64 %1, 0 %3 = icmp eq i64 %1, %0 %4 = icmp eq i1 %3, false %or.cond = icmp eq i1 %2, %4 store i64 0, i64* %storemerge.reg2mem br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
fnic_fcpio_fw_reset_cmpl_handler_17494
fnic_fcpio_fw_reset_cmpl_handler
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i1 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %7 = add i64 %5, 4 %8 = bitcast i32* %sv_2 to i64* %9 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i64* nonnull %8, i64* nonnull %8) %10 = call i64 @FUNC(i64 %7) %11 = call i64 @FUNC(i64 %5, i64 0) %12 = add i64 %5, 12 %13 = call i64 @FUNC(i64 %12, i64 0) %14 = add i64 %5, 16 %15 = call i64 @FUNC(i64 %14, i64 0) %16 = add i64 %5, 40 %17 = call i64 @FUNC(i64 %16, i64 %6) %18 = trunc i64 %3 to i32 %19 = icmp eq i32 %18, 1 %20 = icmp eq i1 %19, false br i1 %20, label LBL_4, label LBL_1 LBL_1: %21 = load i32, i32* %sv_2, align 4 %22 = trunc i32 %21 to i8 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_3, label LBL_2 LBL_2: %25 = ptrtoint i32* %sv_2 to i64 %26 = add i64 %5, 24 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %30, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %2, i64 %1) %32 = bitcast i64* %arg1 to i32* store i32 2, i32* %32, align 4 store i32 0, i32* %sv_0.0.reg2mem br label LBL_5 LBL_3: %33 = urem i32 %21, 256 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = add i64 %5, 24 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %40, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 %2, i64 %1) %42 = bitcast i64* %arg1 to i32* store i32 3, i32* %42, align 4 %43 = add i64 %5, 8 %44 = call i64 @FUNC(i64 %43) store i32 -1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_4: %45 = and i64 %3, 4294967295 %46 = call i64 @FUNC(i64 %45) %47 = add i64 %5, 24 %48 = inttoptr i64 %47 to i64* %49 = load i64, i64* %48, align 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %51, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_3, i64 0, i64 0), i64 %46, i64 %2, i64 %1) %53 = add i64 %5, 8 %54 = call i64 @FUNC(i64 %53) store i32 -1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %55 = add i64 %5, 32 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = icmp eq i64 %57, 0 store i1 true, i1* %.reg2mem br i1 %58, label LBL_7, label LBL_6 LBL_6: %59 = call i64 @FUNC(i64 %57) %.pre = load i64, i64* %56, align 8 %phitmp = icmp eq i64 %.pre, 0 store i1 %phitmp, i1* %.reg2mem br label LBL_7 LBL_7: %.reload = load i1, i1* %.reg2mem %60 = icmp eq i32 %sv_0.0.reload, 0 %or.cond = icmp eq i1 %60, %.reload %61 = call i64 @FUNC(i64 %16, i64 %6) br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %62 = add i64 %5, 48 %63 = call i64 @FUNC(i64 %62) br label LBL_10 LBL_9: %64 = call i64 @FUNC(i64 %5) br label LBL_10 LBL_10: %65 = call i64 @FUNC(i64 %5, i64 4) %66 = zext i32 %sv_0.0.reload to i64 ret i64 %66 uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %5, { 4, 6, 5, 7, 0, 8, 1, 3, 2, 9, 10, 11, 12, 13 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i1* %.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i8*, i64, i8*, i64, i64, i64)* @FNIC_SCSI_DBG, { 2, 1, 0 } uselistorder i64 (i64, i64)* @atomic64_set, { 1, 0 } uselistorder i64 (i64)* @atomic64_inc, { 2, 1, 0 } }
1
BinRealVul
StringSize_6544
StringSize
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i64 %.reg2mem = alloca i64 %0 = trunc i64 %arg3 to i8 %1 = icmp ne i8 %0, 0 %2 = icmp eq i8 %0, 3 %3 = icmp eq i1 %2, false %or.cond = icmp eq i1 %1, %3 br i1 %or.cond, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = icmp ugt i64 %arg2, 1 store i64 1, i64* %.reg2mem store i64 0, i64* %storemerge24.reg2mem store i64 0, i64* %storemerge2.lcssa.reg2mem br i1 %5, label LBL_4, label LBL_6 LBL_2: %6 = bitcast i64* %arg1 to i8* %7 = trunc i64 %arg2 to i32 %8 = call i32 @strnlen(i8* %6, i32 %7) %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, 1 store i64 %10, i64* %storemerge.reg2mem br label LBL_7 LBL_3: %11 = add i64 %storemerge24.reload, 2 %12 = or i64 %11, 1 %13 = icmp ult i64 %12, %arg2 store i64 %12, i64* %.reg2mem store i64 %11, i64* %storemerge24.reg2mem store i64 %11, i64* %storemerge2.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_6 LBL_4: %storemerge24.reload = load i64, i64* %storemerge24.reg2mem %14 = add i64 %storemerge24.reload, %4 %15 = inttoptr i64 %14 to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i8 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_5 LBL_5: %.reload = load i64, i64* %.reg2mem %19 = add i64 %.reload, %4 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %21, 0 %23 = icmp eq i1 %22, false store i64 %storemerge24.reload, i64* %storemerge2.lcssa.reg2mem br i1 %23, label LBL_3, label LBL_6 LBL_6: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem %24 = add i64 %storemerge2.lcssa.reload, 2 store i64 %24, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge24.reload, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge24.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge2.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 2, { 1, 0 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
SProcXIBarrierReleasePointer_5216
SProcXIBarrierReleasePointer
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %1, 4 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp ult i32 %4, 536870912 %6 = add i64 %1, 8 %storemerge = select i1 %5, i64 %6, i64 4294967295 ret i64 %storemerge uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
matroska_read_packet_14794
matroska_read_packet
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge2.lcssa.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i32* %arg2 to i64 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 %6 = call i64 @FUNC(i64 %2, i64 %3) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false store i64 0, i64* %storemerge2.lcssa.reg2mem br i1 %9, label LBL_1, label LBL_4 LBL_1: store i64 4294967295, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_5 LBL_2: %10 = call i64 @FUNC(i64 %2) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 %10, i64* %storemerge2.lcssa.reg2mem br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2, i64 %3) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %10, i64* %storemerge2.lcssa.reg2mem br i1 %17, label LBL_1, label LBL_4 LBL_4: %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem %18 = and i64 %storemerge2.lcssa.reload, 4294967295 store i64 %18, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 1, 2, 0 } uselistorder i64 (i64, i64)* @matroska_deliver_packet, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
xenvif_tx_action_13275
xenvif_tx_action
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_5 LBL_1: %5 = trunc i64 %arg2 to i32 %6 = bitcast i32* %sv_0 to i64* %7 = call i64 @FUNC(i64 %0, i32 %5, i32* nonnull %sv_1, i64* nonnull %6) %8 = load i32, i32* %sv_1, align 4 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 0, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_5 LBL_2: %11 = zext i32 %8 to i64 %12 = call i64 @FUNC(i64 %0, i64 %11) %13 = load i32, i32* %sv_0, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_4, label LBL_3 LBL_3: %15 = zext i32 %13 to i64 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %0, 8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21, i64 0, i32 %18, i64 %15) br label LBL_4 LBL_4: %23 = call i64 @FUNC(i64 %0) %24 = and i64 %23, 4294967295 store i64 %24, 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 i32* %sv_1, { 1, 0, 2 } uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder label LBL_5, { 2, 0, 1 } }
1
BinRealVul
mirror_write_complete_15443
mirror_write_complete
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext, 32 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %2, 4 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %11, i64 %15, i32 %14) %17 = sub nsw i64 0, %4 %18 = and i64 %17, 4294967295 %19 = call i64 @FUNC(i64 %9, i64 0, i64 %18) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_2 LBL_2: %23 = add i64 %9, 8 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = trunc i64 %4 to i32 store i32 %27, i32* %24, align 4 br label LBL_4 LBL_4: %28 = and i64 %4, 4294967295 %29 = call i64 @FUNC(i64 %2, i64 %28) ret i64 %29 uselistorder i64 %4, { 2, 0, 1 } uselistorder i64 %2, { 1, 0, 2 } }
1
BinRealVul
mm_sshpam_init_ctx_11778
mm_sshpam_init_ctx
define i64 @FUNC(i64* %arg1) 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 %sv_0 = alloca i64, align 8 %5 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1) %6 = ptrtoint i64* %sv_0 to i64 %7 = call i64 @FUNC(i64* nonnull %sv_0) %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6) %9 = load i64, i64* @gv_2, align 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64 %12, i64 1, i64* nonnull %sv_0) %14 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1) %15 = load i64, i64* @gv_2, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18, i64 2, i64* nonnull %sv_0) %20 = call i64 @FUNC(i64* nonnull %sv_0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_2, label LBL_1 LBL_1: %24 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1) %25 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %26 = ptrtoint i64* %arg1 to i64 %27 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %26, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 2, 1, 0 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64*)* @buffer_free, { 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @debug3, { 2, 1, 0 } }
1
BinRealVul
do_pages_stat_7009
do_pages_stat
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32 %sv_1.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 256 %7 = icmp eq i1 %6, false store i64 %0, i64* %sv_1.01.reg2mem br i1 %7, label LBL_1, label LBL_7 LBL_1: %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem %8 = inttoptr i64 %sv_1.01.reload to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %1, i64 %9) %11 = icmp eq i64 %10, 0 store i32 -14, i32* %sv_0.0.reg2mem br i1 %11, label LBL_6, label LBL_2 LBL_2: %12 = load i64, i64* %8, align 8 %13 = call i64 @FUNC(i64 %10, i64 %12, i64 0) %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = call i64 @FUNC(i64 %13) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i32 %15, i32* %sv_0.0.reg2mem br i1 %19, label LBL_6, label LBL_3 LBL_3: %20 = icmp eq i64 %13, 0 store i32 -2, i32* %sv_0.0.reg2mem br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64 %13) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false store i32 -2, i32* %sv_0.0.reg2mem br i1 %24, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %13) %26 = trunc i64 %25 to i32 store i32 %26, i32* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %27 = add i64 %sv_1.01.reload, 12 %28 = inttoptr i64 %27 to i32* store i32 %sv_0.0.reload, i32* %28, align 4 %29 = add i64 %sv_1.01.reload, 16 %30 = add i64 %sv_1.01.reload, 24 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 256 %34 = icmp eq i1 %33, false store i64 %29, i64* %sv_1.01.reg2mem br i1 %34, label LBL_1, label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %1) ret i64 0 uselistorder i64 %13, { 0, 2, 1, 3, 4 } uselistorder i64 %sv_1.01.reload, { 3, 0, 1, 2 } uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i32 256, { 1, 0 } uselistorder label LBL_6, { 4, 1, 0, 2, 3 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
listMax_8141
listMax
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC() %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 store i64 %0, i64* %rax.0.in.reg2mem br i1 %2, label LBL_1, label LBL_9 LBL_1: %3 = load i64, i64* @gv_0, align 8 %4 = call i64 @FUNC(i64 %3, i64 0, i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.in.reg2mem br i1 %6, label LBL_2, label LBL_9 LBL_2: %7 = load i64, i64* %sv_0, align 8 %8 = call i64 @FUNC(i64 %7, i64 1, i64 1, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = load i64, i64* %sv_0, align 8 br i1 %10, label LBL_4, label LBL_3 LBL_3: %12 = and i64 %8, 4294967295 %13 = call i64 @FUNC(i64 %11, i64 %12) unreachable LBL_4: %14 = call i64 @FUNC(i64 %11) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = load i64, i64* %sv_0, align 8 br i1 %16, label LBL_6, label LBL_5 LBL_5: %18 = and i64 %14, 4294967295 %19 = call i64 @FUNC(i64 %17, i64 %18) unreachable LBL_6: %20 = ptrtoint i64* %arg3 to i64 %21 = ptrtoint i64* %arg2 to i64 %22 = call i64 @FUNC(i64 %17, i64 %21, i64 %20) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = load i64, i64* %sv_0, align 8 br i1 %24, label LBL_8, label LBL_7 LBL_7: %26 = and i64 %22, 4294967295 %27 = call i64 @FUNC(i64 %25, i64 %26) unreachable LBL_8: %28 = call i64 @FUNC(i64 %25) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = and i64 %28, 4294967295 %spec.select = select i1 %30, i64 0, i64 %31 ret i64 %spec.select LBL_9: %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem %rax.0 = and i64 %rax.0.in.reload, 4294967295 ret i64 %rax.0 uselistorder i64 %25, { 1, 0 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0 } uselistorder i64 (i64, i64)* @ABORT_WITH, { 2, 1, 0 } uselistorder i64 1, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } }
0
BinRealVul
snifflink_17566
snifflink
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = inttoptr i64 %arg1 to i8* %1 = bitcast i64* %sv_0 to i8* %2 = call i32 @readlink(i8* %0, i8* nonnull %1, i32 4096) %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = call i32* @__errno_location() %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 22 store i64 22, i64* %rax.0.reg2mem br i1 %7, label LBL_4, label LBL_2 LBL_2: %8 = call i32* @__errno_location() %9 = load i32, i32* %8, align 4 %10 = call i8* @strerror(i32 %9) %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = load i8*, i8** @gv_0, align 8 %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %15 = zext i32 %12 to i64 %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i8* %13, i8* %0, i64 %15, i8* %10) call void @exit(i32 1) unreachable LBL_3: %17 = ptrtoint i64* %arg2 to i64 %18 = call i8* @strdup(i8* nonnull %1) %19 = ptrtoint i8* %18 to i64 store i64 %19, i64* %arg2, align 8 store i64 %17, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
anon_vma_fork_5986
anon_vma_fork
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_1, label LBL_2 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i64* %arg2 to i64 store i64 0, i64* %arg1, align 8 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = and i64 %4, 4294967295 %spec.select = select i1 %6, i64 0, i64 %7 ret i64 %spec.select LBL_2: ret i64 0 uselistorder i32 0, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } }
0
BinRealVul
qemu_chr_open_spice_650
qemu_chr_open_spice
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64* %.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0) %3 = call i64 @FUNC() %4 = icmp eq i64 %1, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_1, label LBL_3 LBL_1: %6 = inttoptr i64 %3 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = inttoptr i64 %1 to i8* %11 = inttoptr i64 %7 to i8* %12 = call i32 @strcmp(i8* %10, i8* %11) %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 %3, i64* %.in.reg2mem store i64* %6, i64** %.lcssa.reg2mem br i1 %14, label LBL_5, label LBL_6 LBL_3: %15 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %16 = call i32 @fwrite(i64* bitcast ([41 x i8]* @gv_3 to i64*), i32 1, i32 40, %_IO_FILE* %15) %17 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %18 = inttoptr i64 %24 to i8* %19 = call i32 @strcmp(i8* %10, i8* %18) %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 %22, i64* %.in.reg2mem store i64* %23, i64** %.lcssa.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %.in.reload = load i64, i64* %.in.reg2mem %22 = add i64 %.in.reload, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_4, label LBL_7 LBL_6: %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem %27 = load i64, i64* %.lcssa.reload, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_8, label LBL_7 LBL_7: %30 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %31 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_4 to i64*), i32 1, i32 34, %_IO_FILE* %30) %32 = call i64 @FUNC() store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %33 = trunc i64 %2 to i32 %34 = inttoptr i64 %27 to i8* %35 = call i64 @FUNC(i64 40) %36 = call i64 @FUNC(i64 24) %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = add i64 %36, 8 %39 = inttoptr i64 %38 to i32* store i32 %33, i32* %39, align 4 %40 = add i64 %36, 12 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = add i64 %36, 16 %43 = inttoptr i64 %42 to i64* store i64 %27, i64* %43, align 8 %44 = inttoptr i64 %35 to i64* store i64 %36, i64* %44, align 8 %45 = add i64 %35, 8 %46 = inttoptr i64 %45 to i64* store i64 4198842, i64* %46, align 8 %47 = add i64 %35, 16 %48 = inttoptr i64 %47 to i64* store i64 4198849, i64* %48, align 8 %49 = add i64 %35, 24 %50 = inttoptr i64 %49 to i64* store i64 4198856, i64* %50, align 8 %51 = add i64 %35, 32 %52 = inttoptr i64 %51 to i64* store i64 4198863, i64* %52, align 8 %53 = call i32 @strcmp(i8* %34, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0)) %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false store i64 %35, i64* %rax.0.reg2mem br i1 %55, label LBL_10, label LBL_9 LBL_9: %56 = call i64 @FUNC(i64 %35) store i64 %35, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %35, { 1, 2, 0, 3, 4, 5, 6, 7, 8 } uselistorder i64 %27, { 0, 2, 1 } uselistorder i64 %24, { 1, 0 } uselistorder i64* %23, { 1, 0 } uselistorder i64 %22, { 1, 0 } uselistorder i8* %10, { 1, 0 } uselistorder i64* %.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 24, { 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 ()* @print_allowed_subtypes, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_2, { 2, 1, 0 } uselistorder i32 0, { 6, 7, 8, 0, 1, 2, 3, 4, 5 } uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 } uselistorder i1 false, { 2, 4, 5, 3, 0, 1, 6 } uselistorder label LBL_10, { 1, 0, 2, 3 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_5, { 1, 0 } }
0