dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
qe_get_num_of_snums_4126
qe_get_num_of_snums
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_2 = alloca i32, align 4 %4 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0)) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %sv_1.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %sv_1.0.reg2mem store i64 28, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %10 = bitcast i32* %sv_2 to i64* %11 = call i64 @FUNC(i64 %sv_1.0.reload, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %10) %12 = icmp eq i64 %11, 0 store i32 28, i32* %sv_0.0.reg2mem br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = load i32, i32* %sv_2, align 4 %14 = icmp eq i32 %13, 4 %15 = icmp eq i1 %14, false store i32 28, i32* %sv_0.0.reg2mem br i1 %15, label LBL_6, label LBL_4 LBL_4: %16 = inttoptr i64 %11 to i32* %17 = load i32, i32* %16, align 4 %.off = add i32 %17, -28 %18 = icmp ult i32 %.off, 73 store i32 %17, i32* %sv_0.0.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = ptrtoint i32* %sv_2 to i64 %20 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([17 x i8]* @gv_2 to i64), i64 %19, i64 %3, i64 %2, i64 %1) %21 = call i64 @FUNC(i64 %sv_1.0.reload) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %22 = call i64 @FUNC(i64 %sv_1.0.reload) %23 = zext i32 %sv_0.0.reload to i64 store i64 %23, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_1.0.reload, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @of_node_put, { 1, 0 } uselistorder [17 x i8]* @gv_2, { 1, 0 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 0, 1 } uselistorder label LBL_7, { 1, 2, 0 } }
0
BinRealVul
monitor_parse_14799
monitor_parse
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8*, align 8 %0 = bitcast i8** %sv_2 to i64* %1 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %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 = load i8*, i8** %sv_2, align 8 %5 = bitcast i64* %sv_1 to i8* %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* %4) store i32 0, i32* %sv_0.1.reg2mem br label LBL_4 LBL_2: %7 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4 %8 = zext i32 %7 to i64 %9 = bitcast i64* %sv_1 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 32, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %8) %11 = load i32, i32* @gv_3, align 4 %12 = icmp eq i32 %11, 0 %spec.select = zext i1 %12 to i32 %13 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg1) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i32 %spec.select, i32* %sv_0.1.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %17 = inttoptr i64 %arg1 to i8* %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i8* %17) call void @exit(i32 1) unreachable LBL_4: %19 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0)) %20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1, i64 1) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8 %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_1) call void @exit(i32 1) unreachable LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %25 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64 %arg2) %26 = ptrtoint i64* %sv_1 to i64 %27 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0), i64 %26) %28 = icmp eq i32 %sv_0.1.reload, 0 br i1 %28, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i64 ptrtoint ([3 x i8]* @gv_11 to i64)) br label LBL_8 LBL_8: store i32 ptrtoint (i32* @gv_12 to i32), i32* @gv_3, align 4 ret i64 ptrtoint (i32* @gv_12 to i64) uselistorder i64 %20, { 0, 2, 1, 3 } uselistorder i64* %sv_1, { 5, 0, 1, 2, 3, 4 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* @gv_12, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_set, { 2, 1, 0 } uselistorder void (i32)* @exit, { 1, 0 } uselistorder i32* @gv_3, { 1, 0 } uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 6, 1, 2, 7, 3 } }
1
BinRealVul
evhttp_maybe_add_content_length_header_18734
evhttp_maybe_add_content_length_header
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 i64, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_3, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %arg2) %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) store i64 %8, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 (i64, i8*)* @evhttp_find_header, { 1, 0 } }
1
BinRealVul
leak_malloc_11880
leak_malloc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = add i64 %arg1, 16 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i32 @pthread_mutex_lock(i64* nonnull @gv_0) %4 = call i64 @FUNC(i64* nonnull %sv_1, i64 10) %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4, i64 %arg1) %6 = inttoptr i64 %1 to i64* store i64 %5, i64* %6, align 8 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* store i32 -559038737, i32* %8, align 4 %9 = add i64 %1, 16 %10 = call i32 @pthread_mutex_unlock(i64* nonnull @gv_0) store i64 %9, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %1, { 0, 2, 1, 3 } uselistorder i32 1, { 1, 0 } }
1
BinRealVul
k5_asn1_full_decode_11081
k5_asn1_full_decode
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 0, i64* %arg3, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3, i64 %0, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = and i64 %4, 4294967295 store i64 %7, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_4 LBL_3: %13 = ptrtoint i64* %arg3 to i64 %14 = load i64, i64* %sv_2, align 8 %15 = load i64, i64* %sv_1, align 8 %16 = call i64 @FUNC(i64* nonnull %sv_0, i64 %15, i64 %14, i64 %8, i64 %13) store i64 %16, 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* %sv_2, { 1, 0 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
socket_create_9269
socket_create
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 store i32 1, i32* %sv_1, align 4 %0 = call i32 @socket(i32 2, i32 1, i32 6) %1 = icmp slt i32 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %3 = bitcast i32* %sv_1 to i64* %4 = call i32 @setsockopt(i32 %0, i32 1, i32 2, i64* nonnull %3, i32 4) %5 = icmp eq i32 %4, -1 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) %7 = zext i32 %0 to i64 %8 = call i64 @FUNC(i64 %7) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %9 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) store i64 2, i64* %sv_0, align 8 %10 = call i32 @htonl(i32 2130706433) %11 = trunc i64 %arg1 to i16 %12 = call i16 @htons(i16 %11) %13 = bitcast i64* %sv_0 to %sockaddr* %14 = call i32 @bind(i32 %0, %sockaddr* nonnull %13, i32 16) %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %17 = zext i32 %0 to i64 %18 = call i64 @FUNC(i64 %17) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_6: %19 = call i32 @listen(i32 %0, i32 1) %20 = icmp eq i32 %19, -1 %21 = icmp eq i1 %20, false br i1 %21, label LBL_8, label LBL_7 LBL_7: call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) %22 = zext i32 %0 to i64 %23 = call i64 @FUNC(i64 %22) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %24 = zext i32 %0 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %0, { 3, 2, 4, 1, 5, 0, 6, 7 } uselistorder i64* %sv_0, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder void (i8*)* @perror, { 2, 1, 0, 3 } }
0
BinRealVul
MP4_BoxFree_4741
MP4_BoxFree
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = icmp eq i64 %arg2, 0 store i64 %arg2, i64* %storemerge13.reg2mem br i1 %4, label LBL_13, label LBL_1 LBL_1: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %5 = add i64 %storemerge13.reload, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %arg1, i64 %storemerge13.reload) %9 = icmp eq i64 %7, 0 %10 = icmp eq i1 %9, false store i64 %7, i64* %storemerge13.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_2: %11 = add i64 %arg2, 32 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_12, label LBL_3 LBL_3: %15 = add i64 %arg2, 16 %16 = inttoptr i64 %15 to i64* %17 = add i64 %arg2, 24 %18 = inttoptr i64 %17 to i32* store i32 0, i32* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i32, i32* %storemerge.reg2mem %19 = zext i32 %storemerge.reload to i64 %20 = mul i64 %19, 16 %21 = add i64 %20, ptrtoint (i32** @gv_0 to i64) %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 8 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_7, label LBL_5 LBL_5: %25 = load i64, i64* %16, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = add i64 %25, 24 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, %23 %31 = icmp eq i1 %30, false br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = add i64 %20, ptrtoint (i32** @gv_1 to i64) %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 8 %35 = load i32, i32* %18, align 4 %36 = icmp eq i32 %34, %35 %37 = icmp eq i32 %34, 0 %or.cond = or i1 %37, %36 br i1 %or.cond, label LBL_9, label LBL_8 LBL_8: %38 = add i32 %storemerge.reload, 1 store i32 %38, i32* %storemerge.reg2mem br label LBL_4 LBL_9: %39 = add i64 %20, ptrtoint (i64* @gv_2 to i64) %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false store i64 %13, i64* %.reg2mem br i1 %43, label LBL_11, label LBL_10 LBL_10: %44 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %17, i64 %3, i64 %2, i64 %1) %.pre = load i64, i64* %12, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_11 LBL_11: %.reload = load i64, i64* %.reg2mem %45 = inttoptr i64 %.reload to i64* call void @free(i64* %45) br label LBL_12 LBL_12: %46 = inttoptr i64 %arg2 to i64* call void @free(i64* %46) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %20, { 2, 1, 0 } uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i64 %storemerge13.reload, { 1, 0 } uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 %arg2, { 3, 2, 1, 4, 0, 5 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
brcmf_convert_sta_flags_8253
brcmf_convert_sta_flags
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg2 to i64 %6 = and i64 %arg1, 4294967295 %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1) %8 = trunc i64 %3 to i32 %9 = or i32 %8, 1 %10 = bitcast i64* %arg2 to i32* store i32 %9, i32* %10, align 4 %11 = add i64 %5, 4 %12 = inttoptr i64 %11 to i32* store i32 30, i32* %12, align 4 %13 = urem i64 %arg1, 2 %14 = icmp eq i64 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = add i64 %5, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = or i32 %17, 2 store i32 %18, i32* %16, align 4 br label LBL_2 LBL_2: %19 = and i64 %arg1, 2 %20 = icmp eq i64 %19, 0 br i1 %20, label LBL_4, label LBL_3 LBL_3: %21 = add i64 %5, 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = or i32 %23, 4 store i32 %24, i32* %22, align 4 br label LBL_4 LBL_4: %25 = and i64 %arg1, 4 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_6, label LBL_5 LBL_5: %27 = add i64 %5, 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = or i32 %29, 8 store i32 %30, i32* %28, align 4 br label LBL_6 LBL_6: %31 = and i64 %arg1, 8 %32 = icmp eq i64 %31, 0 store i64 0, i64* %rax.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = add i64 %5, 8 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = or i32 %35, 16 store i32 %36, i32* %34, align 4 store i64 %11, 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* %0, { 3, 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i64 2, { 1, 0 } uselistorder i64 %arg1, { 1, 2, 3, 0, 4 } }
0
BinRealVul
update_prob_7398
update_prob
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %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, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 4) %6 = trunc i64 %5 to i32 store i32 %6, i32* %sv_0.1.reg2mem br label LBL_9 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 4) %12 = trunc i64 %11 to i32 %13 = add i32 %12, 16 store i32 %13, i32* %sv_0.1.reg2mem br label LBL_9 LBL_4: %14 = call i64 @FUNC(i64 %0) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = call i64 @FUNC(i64 %0, i64 5) %19 = trunc i64 %18 to i32 %20 = add i32 %19, 32 store i32 %20, i32* %sv_0.1.reg2mem br label LBL_9 LBL_6: %21 = call i64 @FUNC(i64 %0, i64 7) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 65 store i32 %22, i32* %sv_0.0.reg2mem br i1 %23, label LBL_8, label LBL_7 LBL_7: %24 = mul i32 %22, 2 %25 = add i32 %24, -65 %26 = call i64 @FUNC(i64 %0) %27 = trunc i64 %26 to i32 %28 = add i32 %25, %27 store i32 %28, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %29 = add i32 %sv_0.0.reload, 64 store i32 %29, i32* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sext = mul i64 %arg2, 4294967296 %30 = ashr exact i64 %sext, 32 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %31 = trunc i64 %30 to i32 %32 = icmp sgt i32 %31, 128 br i1 %32, label LBL_11, label LBL_10 LBL_10: %33 = add nsw i64 %30, 4294967295 %34 = sext i32 %sv_0.1.reload to i64 %35 = mul i64 %34, 4 %36 = add i64 %35, ptrtoint (i32** @gv_0 to i64) %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = and i64 %33, 4294967295 %40 = zext i32 %38 to i64 %41 = call i64 @FUNC(i64 %40, i64 %39) %42 = add i64 %41, 1 store i64 %42, i64* %storemerge.in.reg2mem br label LBL_12 LBL_11: %43 = sub nsw i64 255, %30 %44 = sext i32 %sv_0.1.reload to i64 %45 = mul i64 %44, 4 %46 = add i64 %45, ptrtoint (i32** @gv_0 to i64) %47 = inttoptr i64 %46 to i32* %48 = load i32, i32* %47, align 4 %49 = and i64 %43, 4294967295 %50 = zext i32 %48 to i64 %51 = call i64 @FUNC(i64 %50, i64 %49) %52 = sub i64 255, %51 store i64 %52, i64* %storemerge.in.reg2mem br label LBL_12 LBL_12: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %30, { 2, 1, 0 } uselistorder i32 %22, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @inv_recenter_nonneg, { 1, 0 } uselistorder i64 (i64, i64)* @vp8_rac_get_uint, { 3, 2, 1, 0 } uselistorder i64 (i64)* @vp8_rac_get, { 3, 2, 1, 0 } }
1
BinRealVul
CBB_cleanup_4340
CBB_cleanup
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = trunc i64 %0 to i32 %3 = icmp eq i32 %2, 0 store i64 %0, i64* %.reg2mem br i1 %3, label LBL_3, label LBL_2 LBL_2: %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 %6) store i64 %9, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %11 = inttoptr i64 %.reload to i64* call void @free(i64* %11) br label LBL_4 LBL_4: store i64 0, i64* %arg1, align 8 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 ret i64 %0 uselistorder i64 %0, { 4, 5, 2, 1, 0, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i32 0, { 1, 0 } }
0
BinRealVul
rtnetlink_fill_iwinfo_4486
rtnetlink_fill_iwinfo
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg4 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg5 to i32 %4 = add i64 %2, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = add i64 %6, 8 %10 = inttoptr i64 %9 to i32* store i32 0, i32* %10, align 4 %11 = bitcast i64* %rsi to i32* %12 = load i32, i32* %11, align 8 %13 = add i64 %6, 12 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %1, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %6, 16 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %1, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = add i64 %6, 20 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 %25 = add i64 %6, 24 %26 = inttoptr i64 %25 to i32* store i32 0, i32* %26, align 4 %27 = call i64 @FUNC(i64 %2, i64 1, i32 %3, i64 %0) %28 = load i64, i64* %5, align 8 %29 = sub i64 %28, %6 %30 = trunc i64 %29 to i32 %31 = inttoptr i64 %6 to i32* store i32 %30, i32* %31, align 4 %32 = add i64 %2, 16 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = zext i32 %34 to i64 ret i64 %35 uselistorder i64 %6, { 1, 7, 6, 5, 4, 3, 2, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 8, { 1, 0, 2 } }
0
BinRealVul
load_tco_3606
load_tco
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %6, i32 %5, i64 1, i64 4) ret i64 %7 }
0
BinRealVul
g_try_malloc0_14614
g_try_malloc0
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1) %1 = icmp eq i64 %arg1, 0 %phitmp = trunc i64 %arg1 to i32 %storemerge = select i1 %1, i32 1, i32 %phitmp %2 = call i64* @calloc(i32 1, i32 %storemerge) %3 = ptrtoint i64* %2 to i64 ret i64 %3 uselistorder i64 %arg1, { 0, 2, 1 } }
1
BinRealVul
ff_rfps_calculate_16779
ff_rfps_calculate
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %xmm5.2.reg2mem = alloca i128 %xmm1.5.reg2mem = alloca i128 %xmm5.0.reg2mem = alloca i128 %xmm1.2.reg2mem = alloca i128 %xmm1.35.reg2mem = alloca i128 %xmm5.16.reg2mem = alloca i128 %indvars.iv.reg2mem = alloca i64 %xmm1.69.reg2mem = alloca i128 %xmm5.310.reg2mem = alloca i128 %storemerge12.reg2mem = alloca i32 %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = icmp eq i32 %2, 0 store i64 %3, i64* %.lcssa.reg2mem br i1 %4, label LBL_17, label LBL_1 LBL_1: %5 = bitcast i64* %rdi to i32* %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge12.reg2mem br label LBL_2 LBL_2: %xmm1.69.reload = load i128, i128* %xmm1.69.reg2mem %xmm5.310.reload = load i128, i128* %xmm5.310.reg2mem %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %.reload = load i64, i64* %.reg2mem %8 = load i64, i64* %7, align 8 %9 = mul i64 %.reload, 8 %10 = add i64 %8, %9 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = add i64 %12, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_8, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %15) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_8, label LBL_4 LBL_4: %22 = add i64 %12, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp slt i32 %26, 16 br i1 %27, label LBL_8, label LBL_5 LBL_5: %28 = add i64 %24, 4 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = sext i32 %30 to i64 %32 = add i64 %12, 20 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = sext i32 %34 to i64 %36 = add i64 %12, 16 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = sext i32 %38 to i64 %40 = mul nsw i64 %39, 500 %41 = udiv i64 %35, %40 %42 = icmp sgt i64 %41, 1 %43 = select i1 %42, i64 %41, i64 1 %44 = icmp slt i64 %43, %31 br i1 %44, label LBL_6, label LBL_8 LBL_6: %45 = add i64 %12, 24 %46 = inttoptr i64 %45 to i32* %47 = load i32, i32* %46, align 4 %48 = icmp eq i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_8, label LBL_7 LBL_7: %50 = mul i32 %38, %30 %51 = add i64 %12, 28 %52 = zext i32 %50 to i64 %53 = zext i32 %34 to i64 %54 = call i64 @FUNC(i64 %45, i64 %51, i64 %53, i64 %52, i64 2147483647) br label LBL_8 LBL_8: %55 = add i64 %12, 32 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = icmp slt i32 %59, 2 store i128 %xmm1.69.reload, i128* %xmm1.5.reg2mem store i128 %xmm5.310.reload, i128* %xmm5.2.reg2mem br i1 %60, label LBL_16, label LBL_9 LBL_9: %61 = add i64 %12, 24 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = icmp eq i32 %63, 0 %65 = icmp eq i1 %64, false store i128 %xmm1.69.reload, i128* %xmm1.5.reg2mem store i128 %xmm5.310.reload, i128* %xmm5.2.reg2mem br i1 %65, label LBL_16, label LBL_10 LBL_10: %66 = load i64, i64* %14, align 8 %67 = call i64 @FUNC(i64 %66) %68 = trunc i64 %67 to i32 %69 = icmp eq i32 %68, 0 store i128 %xmm1.69.reload, i128* %xmm1.5.reg2mem store i128 %xmm5.310.reload, i128* %xmm5.2.reg2mem br i1 %69, label LBL_16, label LBL_11 LBL_11: %70 = call i128 @FUNC(i64 4576918229304087675) %71 = call i64 @__asm_movsd.1(i128 %70) %72 = add i64 %12, 16 %73 = inttoptr i64 %72 to i64* store i64 0, i64* %indvars.iv.reg2mem store i128 %xmm5.310.reload, i128* %xmm5.16.reg2mem store i128 %xmm1.69.reload, i128* %xmm1.35.reg2mem br label LBL_12 LBL_12: %xmm1.35.reload = load i128, i128* %xmm1.35.reg2mem %xmm5.16.reload = load i128, i128* %xmm5.16.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %74 = load i64, i64* %56, align 8 %75 = add i64 %74, 8 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 store i128 %xmm1.35.reload, i128* %xmm1.2.reg2mem store i128 %xmm5.16.reload, i128* %xmm5.0.reg2mem br i1 %78, label LBL_15, label LBL_13 LBL_13: %79 = call i128 @FUNC(i128 %xmm5.16.reload, i128 %xmm5.16.reload) %80 = call i128 @FUNC(i32 %77) %81 = call i64 @__asm_movsd.1(i128 %80) %82 = load i64, i64* %73, align 8 %83 = call i128 @FUNC(i64 %82) %84 = call i128 @__asm_mulsd.2(i128 %83, i64 %81) %85 = call i64 @__asm_movsd.1(i128 %84) %86 = call i64 @FUNC(i64 %indvars.iv.reload) %87 = call i128 @FUNC(i128 %xmm1.35.reload, i128 %xmm1.35.reload) %88 = trunc i64 %86 to i32 %89 = call i128 @FUNC(i32 %88) %90 = call i128 @FUNC(i64 4667829281164886016) %91 = call i128 @FUNC(i128 %90, i128 %89) %92 = sext i64 %85 to i128 call void @FUNC(i128 %91, i128 %92) %93 = load i64, i64* %56, align 8 %94 = add i64 %93, 8 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = icmp eq i32 %96, 0 %98 = icmp eq i1 %97, false store i128 %89, i128* %xmm1.2.reg2mem store i128 %80, i128* %xmm5.0.reg2mem br i1 %98, label LBL_15, label LBL_14 LBL_14: %99 = call i64 @FUNC(i64 %indvars.iv.reload) %100 = call i128 @FUNC(i128 %89, i128 %89) %101 = trunc i64 %99 to i32 %102 = call i128 @FUNC(i32 %101) %103 = call i128 @FUNC(i64 4667829281164886016) %104 = call i128 @FUNC(i128 %103, i128 %102) %105 = call i128 @FUNC(i64 4607182418800017408) call void @FUNC(i128 %104, i128 %105) store i128 %105, i128* %xmm1.2.reg2mem store i128 %80, i128* %xmm5.0.reg2mem br label LBL_15 LBL_15: %xmm5.0.reload = load i128, i128* %xmm5.0.reg2mem %xmm1.2.reload = load i128, i128* %xmm1.2.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i128 %xmm5.0.reload, i128* %xmm5.16.reg2mem store i128 %xmm1.2.reload, i128* %xmm1.35.reg2mem store i128 %xmm1.2.reload, i128* %xmm1.5.reg2mem store i128 %xmm5.0.reload, i128* %xmm5.2.reg2mem br i1 %exitcond, label LBL_16, label LBL_12 LBL_16: %xmm5.2.reload = load i128, i128* %xmm5.2.reg2mem %xmm1.5.reload = load i128, i128* %xmm1.5.reg2mem %106 = load i64, i64* %56, align 8 %107 = add i64 %106, 16 %108 = call i64 @FUNC(i64 %107) %109 = load i64, i64* %56, align 8 %110 = add i64 %109, 336 %111 = inttoptr i64 %110 to i64* store i64 -1, i64* %111, align 8 %112 = load i64, i64* %56, align 8 %113 = inttoptr i64 %112 to i32* store i32 0, i32* %113, align 4 %114 = load i64, i64* %56, align 8 %115 = add i64 %114, 352 %116 = inttoptr i64 %115 to i32* store i32 0, i32* %116, align 4 %117 = add i32 %storemerge12.reload, 1 %118 = load i32, i32* %5, align 8 %119 = zext i32 %118 to i64 %120 = sext i32 %117 to i64 %121 = icmp slt i64 %120, %119 store i64 %120, i64* %.reg2mem store i32 %117, i32* %storemerge12.reg2mem store i128 %xmm5.2.reload, i128* %xmm5.310.reg2mem store i128 %xmm1.5.reload, i128* %xmm1.69.reg2mem store i64 %119, i64* %.lcssa.reg2mem br i1 %121, label LBL_2, label LBL_17 LBL_17: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i128 %89, { 2, 1, 0, 3 } uselistorder i128 %xmm5.16.reload, { 2, 1, 0 } uselistorder i128 %xmm1.35.reload, { 2, 1, 0 } uselistorder i64* %56, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i64 %12, { 5, 7, 6, 4, 3, 1, 2, 0, 8 } uselistorder i128 %xmm5.310.reload, { 3, 0, 1, 2 } uselistorder i128 %xmm1.69.reload, { 3, 0, 1, 2 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm5.310.reg2mem, { 1, 0 } uselistorder i128* %xmm1.69.reg2mem, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm5.16.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm1.35.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @get_std_framerate, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i64 (i64)* @tb_unreliable, { 1, 0 } uselistorder i32 1, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 3, 2, 1, 4, 0 } uselistorder label LBL_8, { 1, 2, 0, 3, 4, 5 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nci_extract_rf_params_nfcf_passive_poll_11102
nci_extract_rf_params_nfcf_passive_poll
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i32* %arg3 to i64 %6 = ptrtoint i64* %arg2 to i64 %7 = add i64 %5, 1 %8 = trunc i64 %3 to i8 %9 = bitcast i64* %arg2 to i8* store i8 %8, i8* %9, align 1 %10 = add i64 %5, 2 %11 = inttoptr i64 %7 to i8* %12 = load i8, i8* %11, align 1 %13 = add i64 %6, 1 %14 = inttoptr i64 %13 to i8* store i8 %12, i8* %14, align 1 %15 = zext i8 %12 to i64 %16 = bitcast i64* %rsi to i8* %17 = load i8, i8* %16, align 8 %18 = zext i8 %17 to i64 %19 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %15, i64 %4, i64 %2, i64 %1) %20 = load i8, i8* %14, align 1 %21 = add i64 %6, 2 %22 = inttoptr i64 %21 to i64* %23 = inttoptr i64 %10 to i64* %24 = zext i8 %20 to i32 %25 = call i64* @memcpy(i64* %22, i64* %23, i32 %24) %26 = load i8, i8* %14, align 1 %27 = zext i8 %26 to i64 %28 = add i64 %10, %27 ret i64 %28 uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 2, { 1, 0 } }
1
BinRealVul
perf_sched_cb_inc_10327
perf_sched_cb_inc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = add i32 %3, 1 store i32 %4, i32* %2, align 4 %5 = icmp eq i32 %3, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 4210736) %8 = add i64 %1, 8 %9 = call i64 @FUNC(i64 %8, i64 %7) br label LBL_2 LBL_2: %10 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4 %11 = sext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11) ret i64 %12 uselistorder i64 (i64)* @this_cpu_ptr, { 1, 0 } }
0
BinRealVul
bm_putpixel_6724
bm_putpixel
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = 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 ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %sext = mul i64 %arg2, 4294967296 %4 = and i64 %1, 4294967295 %5 = ashr exact i64 %sext, 32 %6 = icmp slt i64 %5, %4 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_6, label LBL_3 LBL_3: %7 = ptrtoint i64* %arg1 to i64 %8 = add i64 %7, 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = icmp slt i64 %5, %11 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %sext2 = mul i64 %arg3, 4294967296 %13 = add i64 %7, 4 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = ashr exact i64 %sext2, 32 %18 = icmp slt i64 %17, %16 store i64 %16, i64* %rax.0.reg2mem br i1 %18, label LBL_6, label LBL_5 LBL_5: %19 = add i64 %7, 12 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 store i64 %22, 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, 2, 3, 1, 4 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 3, 1, 2, 0 } }
0
BinRealVul
setup_res_4845
setup_res
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 4) %4 = bitcast i64* %arg2 to i32* store i32 0, i32* %4, align 4 %5 = call i64 @FUNC(i64 %2, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_7 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %2, i64 %8) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = load i64, i64* %sv_0, align 8 %21 = trunc i64 %20 to i32 store i32 %21, i32* %4, align 4 br label LBL_5 LBL_5: %22 = and i64 %1, 6 %23 = icmp eq i64 %22, 0 store i64 1, i64* %storemerge.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: store i32 0, i32* %4, align 4 store i64 1, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %4, { 1, 0, 2 } uselistorder i64* %sv_0, { 3, 0, 1, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } }
0
BinRealVul
trace_record_start_16720
trace_record_start
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %1 = trunc i64 %arg3 to i32 %2 = add i32 %1, 4 store i32 %2, i32* %sv_2, align 4 %3 = and i64 %arg2, 4294967295 store i64 %3, i64* %sv_1, align 8 %4 = call i64 @FUNC() store i64 %4, i64* %sv_0, align 8 br label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* nonnull @gv_0) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC() %8 = add i32 %2, %6 %9 = load i32, i32* @gv_1, align 4 %10 = sub i32 %8, %9 %11 = icmp ult i32 %10, 1025 br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64* nonnull @gv_2) store i64 4294967268, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i64* nonnull @gv_0, i64 %13, i32 %8) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_1, label LBL_4 LBL_4: %17 = urem i32 %6, 1024 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %18, i64* nonnull %sv_1, i64 8) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %20, i64* nonnull %sv_0, i64 8) %22 = and i64 %21, 4294967295 %23 = bitcast i32* %sv_2 to i64* %24 = call i64 @FUNC(i64 %22, i64* nonnull %23, i64 4) %25 = and i64 %24, 4294967295 %26 = call i64 @FUNC(i64 %25, i64* inttoptr (i64 4210740 to i64*), i64 4) %27 = bitcast i64* %arg1 to i32* store i32 %17, i32* %27, align 4 %28 = add i32 %6, 4 %29 = urem i32 %28, 1024 %30 = add i64 %0, 4 %31 = inttoptr i64 %30 to i32* store i32 %29, i32* %31, align 4 store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %17, { 1, 0 } uselistorder i32 %6, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4, { 2, 0, 1 } uselistorder i64 (i64, i64*, i64)* @write_to_buffer, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
_zip_dirent_init_8653
_zip_dirent_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* store i32 0, i32* %5, align 4 %6 = add i64 %0, 12 %7 = inttoptr i64 %6 to i8* store i8 1, i8* %7, align 1 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i32* store i32 63, i32* %9, align 4 %10 = add i64 %0, 20 %11 = inttoptr i64 %10 to i32* store i32 10, i32* %11, align 4 %12 = add i64 %0, 24 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %0, 28 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %0, 32 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %0, 40 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %20 = add i64 %0, 48 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %0, 56 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = add i64 %0, 64 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = add i64 %0, 72 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 %28 = add i64 %0, 80 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 %30 = add i64 %0, 88 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = add i64 %0, 92 %33 = inttoptr i64 %32 to i32* store i32 0, i32* %33, align 4 %34 = add i64 %0, 96 %35 = inttoptr i64 %34 to i32* store i32 0, i32* %35, align 4 %36 = add i64 %0, 104 %37 = inttoptr i64 %36 to i64* store i64 0, i64* %37, align 8 %38 = add i64 %0, 112 %39 = inttoptr i64 %38 to i32* store i32 0, i32* %39, align 4 %40 = add i64 %0, 116 %41 = inttoptr i64 %40 to i32* store i32 0, i32* %41, align 4 %42 = add i64 %0, 120 %43 = inttoptr i64 %42 to i64* store i64 0, i64* %43, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 } }
0
BinRealVul
set_cfg_value_1808
set_cfg_value
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sext = mul i64 %arg2, 4294967296 %0 = trunc i64 %arg1 to i8 %1 = icmp eq i8 %0, 0 %2 = trunc i64 %arg3 to i32 %3 = ashr exact i64 %sext, 29 br i1 %1, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64) %5 = inttoptr i64 %4 to i32* store i32 %2, i32* %5, align 8 %6 = add i64 %3, ptrtoint (i32** @gv_1 to i64) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 8 %9 = icmp eq i32 %8, 0 %10 = icmp slt i32 %8, 0 %11 = icmp eq i1 %10, false %12 = icmp eq i1 %9, false %13 = icmp eq i1 %11, %12 %14 = select i1 %13, i32 %8, i32 1 store i32 %14, i32* %7, align 8 br label LBL_3 LBL_2: %15 = add i64 %3, ptrtoint (i32** @gv_1 to i64) %16 = inttoptr i64 %15 to i32* store i32 %2, i32* %16, align 8 br label LBL_3 LBL_3: %rax.0 = ashr exact i64 %sext, 32 ret i64 %rax.0 uselistorder i32 %8, { 0, 2, 1 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i32 %2, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i8 0, { 1, 0 } }
0
BinRealVul
alpha_cpu_initfn_15479
alpha_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC(i64 %1, i64 4198778) %5 = call i64 @FUNC(i64 %1, i64 1) %6 = call i64 @FUNC() %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* store i32 0, i32* %8, align 4 %9 = call i64 @FUNC(i64 %2, i64 127) %10 = inttoptr i64 %2 to i32* store i32 -1, i32* %10, align 4 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 ret i64 %2 uselistorder i64 %2, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
tpm_inf_recv_18024
tpm_inf_recv
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %indvars.iv14.reg2mem = alloca i64 %rsi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 2 %3 = bitcast i64* %rsi to i8* %4 = add i64 %0, 1 %5 = inttoptr i64 %4 to i8* %6 = add i64 %1, 8 %7 = inttoptr i64 %6 to i64* br label LBL_1 LBL_1: store i64 0, i64* %indvars.iv14.reg2mem br label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_26 LBL_3: %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem %11 = add i64 %indvars.iv14.reload, %0 %12 = call i64 @FUNC(i64 %2) %13 = trunc i64 %12 to i8 %14 = inttoptr i64 %11 to i8* store i8 %13, i8* %14, align 1 %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1 %15 = icmp ult i64 %indvars.iv.next15, 4 store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem br i1 %15, label LBL_2, label LBL_4 LBL_4: %16 = load i8, i8* %3, align 8 %17 = icmp eq i8 %16, 1 br i1 %17, label LBL_6, label LBL_5 LBL_5: %18 = load i64, i64* %7, align 8 %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_6: %20 = load i8, i8* %5, align 1 %21 = icmp eq i8 %20, 2 %22 = icmp eq i1 %21, false br i1 %22, label LBL_16, label LBL_7 LBL_7: %23 = add i64 %0, 2 %24 = inttoptr i64 %23 to i8* %25 = load i8, i8* %24, align 1 %26 = zext i8 %25 to i32 %27 = mul i32 %26, 256 %28 = add i64 %0, 3 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = zext i8 %30 to i32 %32 = or i32 %27, %31 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_15, label LBL_8 LBL_8: %wide.trip.count12 = zext i32 %32 to i64 store i64 0, i64* %indvars.iv10.reg2mem br label LBL_9 LBL_9: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %34 = call i64 @FUNC(i64 %1, i64 1) %35 = add i64 %indvars.iv10.reload, %0 %36 = call i64 @FUNC(i64 %2) %37 = trunc i64 %36 to i8 %38 = inttoptr i64 %35 to i8* store i8 %37, i8* %38, align 1 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %exitcond13 = icmp eq i64 %indvars.iv.next11, %wide.trip.count12 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem br i1 %exitcond13, label LBL_10, label LBL_9 LBL_10: %39 = icmp eq i32 %32, 27904 %40 = icmp eq i1 %39, false br i1 %40, label LBL_13, label LBL_11 LBL_11: %41 = load i8, i8* %5, align 1 %42 = icmp eq i8 %41, -128 %43 = icmp eq i1 %42, false br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = load i64, i64* %7, align 8 %45 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_13: store i64 0, i64* %indvars.iv.reg2mem br label LBL_14 LBL_14: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %46 = add i64 %indvars.iv.reload, %0 %47 = add i64 %46, 6 %48 = inttoptr i64 %47 to i8* %49 = load i8, i8* %48, align 1 %50 = inttoptr i64 %46 to i8* store i8 %49, i8* %50, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: %51 = add nsw i32 %32, -6 %52 = zext i32 %51 to i64 store i64 %52, i64* %rax.0.reg2mem br label LBL_26 LBL_16: %53 = icmp eq i8 %20, 3 %54 = icmp eq i1 %53, false br i1 %54, label LBL_21, label LBL_17 LBL_17: %55 = load i64, i64* %7, align 8 %56 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0)) %57 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8 %58 = icmp sgt i32 %57, 4 br i1 %58, label LBL_20, label LBL_18 LBL_18: %59 = call i64 @FUNC(i64 %1) br label LBL_1.backedge LBL_19: br label LBL_1 LBL_20: %60 = call i64 @FUNC(i64 %1) br label LBL_1.backedge LBL_21: %61 = icmp eq i8 %20, 4 %62 = icmp eq i1 %61, false br i1 %62, label LBL_23, label LBL_22 LBL_22: %63 = load i64, i64* %7, align 8 %64 = call i64 @FUNC(i64 %63, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_26 LBL_23: %65 = icmp eq i8 %20, 5 %66 = icmp eq i1 %65, false store i64 1, i64* %rax.0.reg2mem br i1 %66, label LBL_26, label LBL_24 LBL_24: %67 = load i64, i64* %7, align 8 %68 = call i64 @FUNC(i64 %67, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0)) %69 = add i64 %0, 4 %70 = inttoptr i64 %69 to i8* %71 = load i8, i8* %70, align 1 %72 = icmp eq i8 %71, 6 %73 = icmp eq i1 %72, false store i64 1, i64* %rax.0.reg2mem br i1 %73, label LBL_26, label LBL_25 LBL_25: %74 = load i64, i64* %7, align 8 %75 = call i64 @FUNC(i64 %74, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_6, i64 0, i64 0)) store i64 1, i64* %rax.0.reg2mem br label LBL_26 LBL_26: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %32, { 2, 3, 0, 1 } uselistorder i64* %7, { 1, 0, 2, 5, 3, 4 } uselistorder i64 %1, { 1, 2, 0, 5, 3, 4 } uselistorder i64 %0, { 3, 0, 1, 6, 5, 2, 4 } uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 8, 7, 6, 5, 1 } uselistorder i64 (i64, i8*)* @dev_info, { 1, 0 } uselistorder i64 (i64, i8*)* @dev_err, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64)* @inb, { 1, 0 } uselistorder i64 (i64, i64)* @wait, { 1, 0 } uselistorder i64 1, { 3, 2, 1, 8, 5, 7, 9, 4, 6, 0, 10, 11 } uselistorder label LBL_26, { 3, 2, 1, 4, 5, 6, 7, 0 } uselistorder label LBL_1.backedge, { 1, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
mdct512_15472
mdct512
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.lcssa.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %indvars.iv10.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = trunc i64 %1 to i32 %10 = urem i32 %9, 32 %11 = shl i32 1, %10 %12 = ashr i32 %11, 2 %13 = icmp sgt i32 %11, 3 br i1 %13, label LBL_2, label LBL_0.LBL_4_crit_edge LBL_1: %.pre = sext i32 %12 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_4 LBL_2: %14 = ptrtoint i64* %arg3 to i64 %15 = mul nsw i32 %12, 3 %16 = sext i32 %15 to i64 %17 = sext i32 %12 to i64 store i64 0, i64* %indvars.iv10.reg2mem br label LBL_3 LBL_3: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %18 = add nsw i64 %indvars.iv10.reload, %16 %19 = mul i64 %18, 2 %20 = add i64 %19, %14 %21 = inttoptr i64 %20 to i16* %22 = load i16, i16* %21, align 2 %23 = sub i16 0, %22 %24 = mul i64 %indvars.iv10.reload, 2 %25 = add i64 %24, %5 %26 = inttoptr i64 %25 to i16* store i16 %23, i16* %26, align 2 %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %27 = icmp slt i64 %indvars.iv.next11, %17 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem store i64 %17, i64* %.pre-phi.reg2mem br i1 %27, label LBL_3, label LBL_4 LBL_4: %28 = bitcast i64* %rdi to i32* %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %29 = mul i32 %12, 6 %30 = mul i64 %.pre-phi.reload, 2 %31 = add i64 %30, %5 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memcpy(i64* %32, i64* %arg3, i32 %29) br i1 %13, label LBL_5, label LBL_10 LBL_5: %34 = ptrtoint i64* %arg2 to i64 %35 = ashr i32 %11, 1 %36 = add i64 %2, 32 %37 = inttoptr i64 %36 to i64* %38 = add i64 %2, 24 %39 = inttoptr i64 %38 to i64* %40 = sext i32 %35 to i64 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_6 LBL_6: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %41 = mul i64 %indvars.iv8.reload, 2 %42 = mul i64 %indvars.iv8.reload, 4 %43 = add i64 %42, %5 %44 = inttoptr i64 %43 to i16* %45 = load i16, i16* %44, align 2 %46 = sext i16 %45 to i32 %47 = sub i64 0, %41 %48 = sub i64 %47, 1 %49 = trunc i64 %48 to i32 %50 = add i32 %11, %49 %51 = sext i32 %50 to i64 %52 = mul i64 %51, 2 %53 = add i64 %52, %5 %54 = inttoptr i64 %53 to i16* %55 = load i16, i16* %54, align 2 %56 = sext i16 %55 to i32 %57 = sub nsw i32 %46, %56 %58 = ashr i32 %57, 1 %59 = add nsw i64 %48, %40 %60 = mul i64 %59, 2 %61 = add i64 %60, %5 %62 = inttoptr i64 %61 to i16* %63 = load i16, i16* %62, align 2 %64 = sext i16 %63 to i32 %65 = add nsw i64 %41, %40 %66 = mul i64 %65, 2 %67 = add i64 %66, %5 %68 = inttoptr i64 %67 to i16* %69 = load i16, i16* %68, align 2 %70 = sext i16 %69 to i32 %71 = sub nsw i32 %64, %70 %72 = ashr i32 %71, 1 %73 = load i64, i64* %37, align 8 %74 = add i64 %73, %42 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = load i64, i64* %39, align 8 %78 = add i64 %77, %42 %79 = inttoptr i64 %78 to i32* %80 = load i32, i32* %79, align 4 %81 = sub i32 0, %80 %82 = zext i32 %81 to i64 %83 = mul i64 %indvars.iv8.reload, 8 %84 = add i64 %83, %8 %85 = add i64 %84, 4 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = inttoptr i64 %84 to i32* %89 = load i32, i32* %88, align 4 %90 = zext i32 %76 to i64 %91 = zext i32 %89 to i64 %92 = call i64 @FUNC(i64 %91, i32 %87, i32 %58, i32 %72, i64 %82, i64 %90) %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %93 = icmp slt i64 %indvars.iv.next9, %.pre-phi.reload store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %93, label LBL_6, label LBL_7 LBL_7: %94 = load i32, i32* %28, align 8 %95 = add i32 %94, -2 %96 = zext i32 %95 to i64 %97 = call i64 @FUNC(i64 %2, i64 %8, i64 %96) store i64 0, i64* %indvars.iv.reg2mem br label LBL_8 LBL_8: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %98 = mul i64 %indvars.iv.reload, 8 %99 = add i64 %98, %8 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = add i64 %99, 4 %103 = inttoptr i64 %102 to i32* %104 = load i32, i32* %103, align 4 %105 = load i64, i64* %39, align 8 %106 = mul i64 %indvars.iv.reload, 4 %107 = add i64 %105, %106 %108 = inttoptr i64 %107 to i32* %109 = load i32, i32* %108, align 4 %110 = load i64, i64* %37, align 8 %111 = add i64 %110, %106 %112 = inttoptr i64 %111 to i32* %113 = load i32, i32* %112, align 4 %114 = mul i64 %indvars.iv.reload, 2 %115 = add i64 %98, %34 %116 = inttoptr i64 %115 to i32* %117 = load i32, i32* %116, align 4 %118 = xor i64 %114, 4611686018427387903 %119 = add i64 %118, %40 %120 = mul i64 %119, 4 %121 = add i64 %120, %34 %122 = inttoptr i64 %121 to i32* %123 = load i32, i32* %122, align 4 %124 = zext i32 %109 to i64 %125 = zext i32 %113 to i64 %126 = zext i32 %123 to i64 %127 = call i64 @FUNC(i64 %126, i32 %117, i32 %101, i32 %104, i64 %125, i64 %124) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %128 = icmp slt i64 %indvars.iv.next, %.pre-phi.reload store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %128, label LBL_8, label LBL_9 LBL_9: %phitmp = and i64 %indvars.iv.next, 4294967295 store i64 %phitmp, i64* %storemerge.lcssa.reg2mem br label LBL_11 LBL_10: %129 = load i32, i32* %28, align 8 %130 = add i32 %129, -2 %131 = zext i32 %130 to i64 %132 = call i64 @FUNC(i64 %2, i64 %8, i64 %131) store i64 0, i64* %storemerge.lcssa.reg2mem br label LBL_11 LBL_11: %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem ret i64 %storemerge.lcssa.reload uselistorder i64 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %106, { 1, 0 } uselistorder i64 %98, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 } uselistorder i64 %48, { 1, 0 } uselistorder i64 %42, { 2, 1, 0 } uselistorder i64 %indvars.iv8.reload, { 0, 3, 2, 1 } uselistorder i64 %indvars.iv10.reload, { 0, 2, 1 } uselistorder i32 %12, { 2, 1, 3, 0 } uselistorder i32 %11, { 0, 2, 1, 3 } uselistorder i64 %8, { 2, 0, 3, 1 } uselistorder i64 %2, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i32, i32, i32, i64, i64)* @CMUL, { 1, 0 } uselistorder i64 4, { 0, 1, 3, 4, 2 } uselistorder i64 1, { 3, 2, 0, 1 } uselistorder i32 3, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
dinf_Read_11831
dinf_Read
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 4198805) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = and i64 %0, 4294967295 store i64 %3, i64* %storemerge.reg2mem br label LBL_4 LBL_2: %4 = icmp eq i64 %arg1, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 1, i64 2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) %7 = call i64 @FUNC(i64 3) %8 = inttoptr i64 %arg1 to i64* store i64 %7, i64* %8, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 0, { 1, 3, 4, 0, 6, 2, 5 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
elf32_core_copy_regs_10428
elf32_core_copy_regs
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 store i64 1, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %2 = mul i64 %indvars.iv.reload, 8 %3 = add i64 %2, %1 %4 = add i64 %2, %0 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %3 to i64* store i64 %6, i64* %7, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %8 = add i64 %1, 208 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %1, 216 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %12 = add i64 %1, 224 %13 = add i64 %0, 256 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = inttoptr i64 %12 to i64* store i64 %15, i64* %16, align 8 %17 = add i64 %1, 232 %18 = add i64 %0, 264 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %17 to i64* store i64 %20, i64* %21, align 8 %22 = add i64 %1, 240 %23 = add i64 %0, 272 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %22 to i64* store i64 %25, i64* %26, align 8 %27 = add i64 %1, 248 %28 = add i64 %0, 280 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = inttoptr i64 %27 to i64* store i64 %30, i64* %31, align 8 %32 = add i64 %1, 256 %33 = add i64 %0, 288 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = inttoptr i64 %32 to i64* store i64 %35, i64* %36, align 8 %37 = add i64 %1, 264 %38 = add i64 %0, 296 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = inttoptr i64 %37 to i64* store i64 %40, i64* %41, align 8 ret i64 %40 uselistorder i64 %40, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 2, 3, 4, 5, 6, 7, 8, 0 } uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } }
0
BinRealVul
net_rx_pkt_dump_4824
net_rx_pkt_dump
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = 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 ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 16 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = add i64 %4, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = and i64 %1, 4294967295 %13 = trunc i64 %11 to i32 %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i64 %12, i32 %13, i64 %8) %15 = sext i32 %14 to i64 ret i64 %15 uselistorder i64 %4, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
0
BinRealVul
luaT_getvarargs_3647
luaT_getvarargs
define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp slt i32 %arg4, 0 %5 = icmp eq i1 %4, false store i32 %arg4, i32* %sv_0.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %1, 4294967295 %7 = call i64 @FUNC(i64 %2, i64 %6, i32 %arg3) %8 = add i32 %3, %arg3 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 store i32 %3, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %10 = icmp sgt i32 %sv_0.0.reload, 0 %11 = icmp sgt i32 %3, 0 %or.cond4 = icmp eq i1 %11, %10 store i32 0, i32* %storemerge.lcssa.reg2mem br i1 %or.cond4, label LBL_3, label LBL_6 LBL_3: %12 = ptrtoint i32* %arg2 to i64 %13 = add i64 %12, 4 %14 = inttoptr i64 %13 to i32* %sext = mul i64 %1, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = sext i32 %sv_0.0.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = load i32, i32* %14, align 4 %18 = trunc i64 %indvars.iv.reload to i32 %19 = sub i32 %18, %3 %20 = add i32 %19, %17 %21 = add i32 %18, %arg3 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %2, i64 %22, i32 %20) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %24 = icmp slt i64 %indvars.iv.next, %16 %25 = icmp slt i64 %indvars.iv.next, %15 %or.cond = icmp eq i1 %24, %25 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %or.cond, label LBL_4, label LBL_5 LBL_5: %26 = trunc i64 %indvars.iv.next to i32 store i32 %26, i32* %storemerge.lcssa.reg2mem br label LBL_6 LBL_6: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %27 = icmp slt i32 %storemerge.lcssa.reload, %sv_0.0.reload %28 = zext i32 %storemerge.lcssa.reload to i64 store i64 %28, i64* %.pre-phi.reg2mem br i1 %27, label LBL_7, label LBL_9 LBL_7: %29 = zext i32 %sv_0.0.reload to i64 store i64 %28, i64* %indvars.iv8.reg2mem br label LBL_8 LBL_8: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %30 = trunc i64 %indvars.iv8.reload to i32 %31 = add i32 %30, %arg3 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %32) %34 = call i64 @FUNC(i64 %33) %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next9, %29 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem store i64 %29, i64* %.pre-phi.reg2mem br i1 %exitcond, label LBL_9, label LBL_8 LBL_9: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem ret i64 %.pre-phi.reload uselistorder i64 %28, { 1, 0 } uselistorder i32 %storemerge.lcssa.reload, { 1, 0 } uselistorder i64 %indvars.iv.next, { 1, 0, 3, 2 } uselistorder i32 %18, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1 } uselistorder i32 %3, { 1, 3, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
SProcXFixesQueryVersion_11648
SProcXFixesQueryVersion
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, 4 %3 = call i64 @FUNC(i64 %2) ret i64 %0 }
1
BinRealVul
xmlStrncat_11512
xmlStrncat
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64 %arg2, 0 store i64 %arg1, i64* %rax.0.reg2mem br i1 %0, label LBL_8, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %rax.0.reg2mem br i1 %4, label LBL_2, label LBL_8 LBL_2: %5 = icmp slt i32 %2, 0 %6 = icmp eq i1 %5, false store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_8 LBL_3: %7 = icmp eq i64 %arg1, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_5, label LBL_4 LBL_4: %9 = and i64 %1, 4294967295 %10 = call i64 @FUNC(i64 %arg2, i64 %9) store i64 %10, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %11 = call i64 @FUNC(i64 %arg1) %12 = add i64 %11, %1 %13 = mul i64 %12, 4294967296 %sext2 = add i64 %13, 4294967296 %14 = ashr exact i64 %sext2, 32 %15 = call i64 @FUNC(i64 %arg1, i64 %14) %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 0, i64 0) store i64 %arg1, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %sext3 = mul i64 %11, 4294967296 %19 = ashr exact i64 %sext3, 32 %20 = add i64 %19, %15 %21 = inttoptr i64 %20 to i64* %22 = inttoptr i64 %arg2 to i64* %23 = call i64* @memcpy(i64* %21, i64* %22, i32 %2) %24 = ashr exact i64 %13, 32 %25 = add i64 %24, %15 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 store i64 %15, 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 %13, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 3, 2 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 4294967296, { 0, 4, 1, 2, 3 } uselistorder i32 1, { 0, 2, 1 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i64 %arg1, { 2, 3, 5, 4, 1, 0 } uselistorder label LBL_8, { 3, 4, 5, 0, 2, 1 } }
1
BinRealVul
text_console_init_14229
text_console_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 24) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 store i32 %8, i32* %sv_2.0.reg2mem br label LBL_4 LBL_2: %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 store i32 0, i32* %sv_2.0.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = add i64 %2, 12 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = mul i32 %15, 8 store i32 %16, i32* %sv_2.0.reg2mem br label LBL_4 LBL_4: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %17 = add i64 %2, 16 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = add i64 %2, 20 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 store i32 %23, i32* %sv_1.0.reg2mem br label LBL_8 LBL_6: %24 = add i64 %2, 24 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = icmp eq i32 %26, 0 store i32 0, i32* %sv_1.0.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: %28 = add i64 %2, 28 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = mul i32 %30, 16 store i32 %31, i32* %sv_1.0.reg2mem br label LBL_8 LBL_8: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %32 = zext i32 %sv_1.0.reload to i64 %33 = zext i32 %sv_2.0.reload to i64 %34 = call i64 @FUNC(i64 %33, i64 %32) %35 = icmp ne i32 %sv_2.0.reload, 0 %36 = icmp eq i32 %sv_1.0.reload, 0 %37 = icmp eq i1 %36, false %or.cond = icmp eq i1 %35, %37 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %38 = call i64 @FUNC(i64 0, i64 0) store i64 %38, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %39 = call i64 @FUNC(i64 0, i64 1) %40 = call i64 @FUNC(i64 %33, i64 %32) %41 = add i64 %39, 8 %42 = inttoptr i64 %41 to i64* store i64 %40, i64* %42, align 8 store i64 %39, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %43 = icmp eq i64 %sv_0.0.reload, 0 %44 = icmp eq i1 %43, false br i1 %44, label LBL_13, label LBL_12 LBL_12: %45 = call i64 @FUNC(i64 %3) store i64 0, i64* %storemerge.reg2mem br label LBL_15 LBL_13: %46 = inttoptr i64 %sv_0.0.reload to i64* store i64 %3, i64* %46, align 8 %47 = inttoptr i64 %3 to i64* store i64 %sv_0.0.reload, i64* %47, align 8 %48 = add i64 %3, 8 %49 = inttoptr i64 %48 to i64* store i64 4198873, i64* %49, align 8 %50 = add i64 %3, 16 %51 = inttoptr i64 %50 to i32* store i32 1, i32* %51, align 4 %52 = load i64, i64* @gv_0, align 8 %53 = icmp eq i64 %52, 0 store i64 %3, i64* %storemerge.reg2mem br i1 %53, label LBL_15, label LBL_14 LBL_14: %54 = call i64 @FUNC(i64 %3, i64 %52) store i64 %3, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.0.reload, { 2, 0, 1 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i64 %3, { 1, 3, 0, 4, 5, 6, 7, 2 } uselistorder i64 %2, { 3, 2, 1, 0, 6, 4, 5 } uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64)* @new_console, { 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 4, 5, 1, 6, 7 } uselistorder i64 24, { 1, 0 } uselistorder label LBL_15, { 1, 0, 2 } }
1
BinRealVul
ccid_handle_data_2656
ccid_handle_data
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* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8, align 1 %5 = trunc i64 %2 to i32 switch i32 %5, label LBL_8 [ i32 0, label LBL_1 i32 1, label LBL_2 ] LBL_1: %6 = call i64 @FUNC(i64 %4, i64 %3) store i64 %6, i64* %sv_0.0.reg2mem br label LBL_9 LBL_2: %7 = add i64 %3, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = urem i32 %9, 16 switch i32 %10, label LBL_7 [ i32 0, label LBL_3 i32 1, label LBL_5 ] LBL_3: %11 = add i64 %3, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %15, label LBL_4, label LBL_9 LBL_4: %16 = call i64 @FUNC(i64 %4, i64 %3) store i64 %16, i64* %sv_0.0.reg2mem br label LBL_9 LBL_5: %17 = trunc i64 %1 to i32 %18 = icmp eq i32 %17, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %18, label LBL_9, label LBL_6 LBL_6: store i8 1, i8* %sv_1, align 1 %19 = call i64 @FUNC(i64 %3, i8* nonnull %sv_1, i64 2) %20 = bitcast i64* %arg1 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %4, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = and i32 %23, -2 store i32 %24, i32* %22, align 4 %25 = add i64 %3, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0), i32 %24, i64 %27) store i64 2, i64* %sv_0.0.reg2mem br label LBL_9 LBL_7: %29 = call i32 @puts(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0)) store i64 0, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %30 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0)) store i64 4294967294, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %31 = and i64 %sv_0.0.reload, 4294967295 ret i64 %31 uselistorder i64 %3, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 5, 6, 1, 7 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_9, { 5, 2, 3, 4, 1, 0, 6 } }
0
BinRealVul
do_recalc_17570
do_recalc
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_2) %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = and i64 %0, 4294967295 store i64 %3, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %4 = load i64, i64* %sv_2, align 8 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %5, i64* %sv_0.0.reg2mem br i1 %8, label LBL_7, label LBL_3 LBL_3: %9 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 %9, i64* %sv_0.0.reg2mem br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = bitcast i64* %sv_1 to i8* %14 = inttoptr i64 %arg1 to i8* %15 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 256, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %14) %16 = call i64 @FUNC(i64 0, i64* nonnull %sv_1, i64 1, i64 0, i64 0, i64 4198744) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %16, i64* %sv_0.0.reg2mem br i1 %19, label LBL_7, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64* nonnull %sv_2) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %23 = icmp eq i1 %22, false store i64 %20, i64* %sv_0.0.reg2mem br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64* nonnull %sv_2) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = call i64 @FUNC(i64* nonnull %sv_2) %26 = and i64 %sv_0.0.reload, 4294967295 store i64 %26, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_2, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
asf_read_marker_12997
asf_read_marker
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %storemerge13.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = call i64 @FUNC(i64 %0) %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp sgt i32 %9, 0 store i32 0, i32* %storemerge13.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_1: %storemerge13.reload = load i32, i32* %storemerge13.reg2mem %11 = call i64 @FUNC(i64 %0) %12 = add nuw nsw i32 %storemerge13.reload, 1 %exitcond4 = icmp eq i32 %12, %9 store i32 %12, i32* %storemerge13.reg2mem br i1 %exitcond4, label LBL_2, label LBL_1 LBL_2: %13 = trunc i64 %6 to i32 %14 = icmp sgt i32 %13, 0 br i1 %14, label LBL_3, label LBL_7 LBL_3: %15 = inttoptr i64 %3 to i64* store i32 0, i32* %storemerge2.reg2mem br label LBL_4 LBL_4: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %16 = call i64 @FUNC(i64 %0) %17 = call i64 @FUNC(i64 %0) %18 = load i64, i64* %15, align 8 %19 = call i64 @FUNC(i64 %0) %20 = call i64 @FUNC(i64 %0) %21 = call i64 @FUNC(i64 %0) %22 = call i64 @FUNC(i64 %0) %23 = trunc i64 %22 to i32 %24 = mul i64 %22, 2 %25 = and i64 %24, 4294967294 %26 = call i64 @FUNC(i64 %0, i64 %25, i64* nonnull %sv_0, i64 1024) %27 = trunc i64 %26 to i32 %28 = icmp sgt i32 %23, %27 br i1 %28, label LBL_5, label LBL_6 LBL_5: %29 = sub i64 %22, %26 %30 = and i64 %29, 4294967295 %31 = call i64 @FUNC(i64 %0, i64 %30) br label LBL_6 LBL_6: %sext = mul i64 %17, 4294967296 %32 = ashr exact i64 %sext, 32 %33 = mul i64 %18, -10000 %34 = add i64 %32, %33 %35 = call i64 @FUNC(i64 %0, i32 %storemerge2.reload, i64 42949672960000001, i64 %34, i64 -9223372036854775808, i64* nonnull %sv_0) %36 = add nuw nsw i32 %storemerge2.reload, 1 %exitcond = icmp eq i32 %36, %13 store i32 %36, i32* %storemerge2.reg2mem br i1 %exitcond, label LBL_7, label LBL_4 LBL_7: ret i64 0 uselistorder i64 %22, { 1, 0, 2 } uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i64 %0, { 0, 1, 2, 6, 5, 4, 3, 8, 7, 9, 10, 11, 12, 13, 14, 15 } uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 0, 2, 1, 3 } uselistorder i64 (i64)* @avio_rl16, { 2, 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 3, 2, 1, 0 } uselistorder i64 (i64)* @avio_rl64, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
sockaddr_getport_10043
sockaddr_getport
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i16 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i16 %4 = icmp eq i16 %3, 2 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %2, 2 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = call i16 @ntohs(i16 %8) store i16 %9, i16* %rax.0.shrunk.reg2mem br label LBL_4 LBL_2: %10 = icmp eq i16 %3, 10 %11 = icmp eq i1 %10, false store i16 0, i16* %rax.0.shrunk.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %2, 2 %13 = inttoptr i64 %12 to i16* %14 = load i16, i16* %13, align 2 %15 = call i16 @ntohs(i16 %14) store i16 %15, i16* %rax.0.shrunk.reg2mem br label LBL_4 LBL_4: %rax.0.shrunk.reload = load i16, i16* %rax.0.shrunk.reg2mem %rax.0 = zext i16 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i16 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i16* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 } uselistorder i16 (i16)* @ntohs, { 1, 0 } uselistorder label LBL_4, { 1, 0, 2 } }
0
BinRealVul
megasas_task_abort_9753
megasas_task_abort
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, 1 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) %phitmp = and i64 %3, 4294967295 store i64 %phitmp, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
cleanup_4346
cleanup
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = load i8, i8* bitcast (i8** @gv_0 to i8*), align 8 %1 = icmp eq i8 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i32 @unlink(i8* bitcast (i8** @gv_0 to i8*)) br label LBL_2 LBL_2: %3 = trunc i64 %arg1 to i32 %4 = icmp sgt i32 %3, 0 br i1 %4, label LBL_3, label LBL_7 LBL_3: %wide.trip.count = and i64 %arg1, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %5 = mul i64 %indvars.iv.reload, 8 %6 = add i64 %5, %arg2 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_6, label LBL_5 LBL_5: %10 = inttoptr i64 %8 to i8* %11 = call i32 @unlink(i8* %10) %12 = load i64, i64* %7, align 8 %13 = inttoptr i64 %12 to i64* call void @free(i64* %13) br label LBL_6 LBL_6: %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_7, label LBL_4 LBL_7: %14 = inttoptr i64 %arg2 to i64* call void @free(i64* %14) ret i64 ptrtoint (i32* @0 to i64) uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32 (i8*)* @unlink, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
gup_huge_pud_5378
gup_huge_pud
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i32 %arg5, i64* %arg6, i32* %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.13.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rsi = alloca i64, align 8 %0 = zext i32 %arg5 to i64 %1 = and i64 %arg1, 4294967295 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_11 LBL_1: %6 = ptrtoint i64* %arg6 to i64 %7 = call i64 @FUNC(i64 %1) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i32* %arg7 to i64 %12 = call i64 @FUNC(i64 %1, i64 %10, i64 %arg3, i64 %arg4, i64 %6, i64 %11) store i64 %12, i64* %rax.0.reg2mem br label LBL_11 LBL_3: %13 = call i64 @FUNC(i64 %1) %.pre = load i32, i32* %arg7, align 4 store i32 %.pre, i32* %.reg2mem store i64 %arg3, i64* %sv_1.0.reg2mem store i32 0, 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 i64, i64* %sv_1.0.reg2mem %.reload = load i32, i32* %.reg2mem %14 = sext i32 %.reload to i64 %15 = mul i64 %14, 8 %16 = add i64 %15, %6 %17 = inttoptr i64 %16 to i64* store i64 %13, i64* %17, align 8 %18 = load i32, i32* %arg7, align 4 %19 = add i32 %18, 1 store i32 %19, i32* %arg7, align 4 %20 = add i32 %sv_0.0.reload, 1 %21 = add i64 %sv_1.0.reload, 4096 %22 = icmp eq i64 %21, %arg4 %23 = icmp eq i1 %22, false store i32 %19, i32* %.reg2mem store i64 %21, i64* %sv_1.0.reg2mem store i32 %20, i32* %sv_0.0.reg2mem br i1 %23, label LBL_4, label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 %1) %25 = zext i32 %20 to i64 %26 = call i64 @FUNC(i64 %24, i64 %25) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = load i32, i32* %arg7, align 4 %30 = sub i32 %29, %20 store i32 %30, i32* %arg7, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_7: %31 = call i64 @FUNC(i64 %1) %32 = trunc i64 %31 to i32 %33 = bitcast i64* %rsi to i32* %34 = load i32, i32* %33, align 8 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %32, %37 %39 = icmp eq i1 %38, false %40 = icmp eq i1 %39, false br i1 %40, label LBL_10, label LBL_8 LBL_8: %41 = load i32, i32* %arg7, align 4 %42 = sub i32 %41, %20 store i32 %42, i32* %arg7, align 4 %43 = icmp eq i32 %20, 0 %44 = icmp eq i1 %43, false store i32 %20, i32* %sv_0.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %44, label LBL_9, label LBL_11 LBL_9: %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem %45 = add i32 %sv_0.13.reload, -1 %46 = call i64 @FUNC(i64 %26) %47 = icmp eq i32 %45, 0 %48 = icmp eq i1 %47, false store i32 %45, i32* %sv_0.13.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %48, label LBL_9, label LBL_11 LBL_10: %49 = call i64 @FUNC(i64 %26) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %26, { 1, 0, 2 } uselistorder i32 %20, { 0, 5, 3, 2, 4, 1 } uselistorder i64 %1, { 3, 2, 1, 4, 0, 5 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 4, 3 } uselistorder i64 (i64)* @pud_val, { 1, 0 } uselistorder i64 (i64)* @pud_page, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 } uselistorder i32* %arg7, { 5, 4, 3, 2, 7, 6, 0, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder label LBL_11, { 3, 0, 1, 4, 5, 2 } uselistorder label LBL_9, { 1, 0 } }
0
BinRealVul
h2c_snd_settings_8988
h2c_snd_settings
define i64 @FUNC(i64* %arg1) 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 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sv_5 = alloca i32, align 4 %sv_6 = alloca i64, align 8 %sv_7 = alloca i32, align 4 %sv_8 = alloca i64, align 8 %sv_9 = alloca i64, align 8 %4 = call i64 @FUNC(i64 %2, i64 0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = trunc i64 %1 to i32 br i1 %6, label LBL_2, label LBL_1 LBL_1: %8 = or i32 %7, 1 %9 = bitcast i64* %arg1 to i32* store i32 %8, i32* %9, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %10 = add i64 %2, 8 %11 = call i64 @FUNC(i64 %2, i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = or i32 %7, 4 %15 = bitcast i64* %arg1 to i32* store i32 %14, i32* %15, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_4: %16 = call i64 @FUNC(i64* nonnull %sv_8, i64* nonnull %sv_9, i64 100) %17 = call i64 @FUNC(i64* nonnull %sv_8, i64* nonnull @gv_0, i64 9) %18 = load i32, i32* @gv_1, align 4 %19 = icmp eq i32 %18, 4096 br i1 %19, label LBL_6, label LBL_5 LBL_5: store i32 256, i32* %sv_7, align 4 %20 = zext i32 %18 to i64 %21 = call i64 @FUNC(i64* nonnull %sv_6, i64 %20) %22 = call i64 @FUNC(i64* nonnull %sv_8, i32* nonnull %sv_7, i64 6) br label LBL_6 LBL_6: %23 = load i32, i32* @gv_2, align 4 %24 = icmp eq i32 %23, 65535 br i1 %24, label LBL_8, label LBL_7 LBL_7: store i32 1024, i32* %sv_5, align 4 %25 = zext i32 %23 to i64 %26 = call i64 @FUNC(i64* nonnull %sv_4, i64 %25) %27 = call i64 @FUNC(i64* nonnull %sv_8, i32* nonnull %sv_5, i64 6) br label LBL_8 LBL_8: %28 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_10, label LBL_9 LBL_9: store i32 768, i32* %sv_3, align 4 %30 = load i32, i32* @gv_3, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64* nonnull %sv_2, i64 %31) %33 = call i64 @FUNC(i64* nonnull %sv_8, i32* nonnull %sv_3, i64 6) br label LBL_10 LBL_10: %34 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4 %35 = icmp eq i32 %34, 16384 br i1 %35, label LBL_12, label LBL_11 LBL_11: store i32 1280, i32* %sv_1, align 4 %36 = load i32, i32* @gv_4, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 %37) %39 = call i64 @FUNC(i64* nonnull %sv_8, i32* nonnull %sv_1, i64 6) br label LBL_12 LBL_12: %40 = add i64 %3, -9 %41 = load i64, i64* %sv_8, align 8 %42 = call i64 @FUNC(i64 %41, i64 %40) %43 = load i64, i64* %sv_8, align 8 %44 = call i64 @FUNC(i64 %43, i64 %3) %45 = call i64 @FUNC(i64 %11, i64 %44, i64 %3) %46 = trunc i64 %45 to i32 %47 = icmp slt i32 %46, 1 %48 = icmp eq i1 %47, false br i1 %48, label LBL_16, label LBL_13 LBL_13: %49 = icmp eq i32 %46, 0 %50 = icmp eq i1 %49, false br i1 %50, label LBL_15, label LBL_14 LBL_14: %51 = or i32 %7, 4 %52 = bitcast i64* %arg1 to i32* store i32 %51, i32* %52, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_15: %53 = call i64 @FUNC(i64 %2, i64 9) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_16: %54 = and i64 %45, 4294967295 store i64 %54, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_8, { 6, 7, 0, 1, 2, 3, 4, 5 } uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64*, i32*, i64)* @chunk_memcat, { 3, 2, 1, 0 } uselistorder i64 (i64*, i64)* @write_n32, { 3, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i32 0, { 2, 3, 4, 0, 1 } }
0
BinRealVul
start_coap_client_7331
start_coap_client
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 store i32 859321909, i32* %sv_2, align 4 %0 = bitcast i32* %sv_2 to i8* %1 = bitcast i64* %sv_0 to %addrinfo* %2 = bitcast i64* %sv_1 to %addrinfo** store i32 9, i32* %.reg2mem br label LBL_1 LBL_1: %3 = call i32 @getaddrinfo(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* nonnull %0, %addrinfo* nonnull %1, %addrinfo** nonnull %2) %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_5, label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %5 = call i64 @FUNC(i64 1) %6 = add nsw i32 %.reload, -1 %7 = icmp eq i32 %.reload, 0 %8 = icmp eq i1 %7, false store i32 %6, i32* %.reg2mem br i1 %8, label LBL_1, label LBL_3 LBL_3: %9 = icmp slt i32 %3, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_5, label LBL_4 LBL_4: %11 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %12 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %11) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_5: %13 = load i64, i64* %sv_1, align 8 %14 = add i64 %13, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = call i32 @socket(i32 %16, i32 2, i32 17) store i32 %17, i32* inttoptr (i64 4210796 to i32*), align 4 %18 = load i32, i32* @gv_3, align 4 %19 = icmp slt i32 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_7, label LBL_6 LBL_6: %21 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %22 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_4 to i64*), i32 1, i32 28, %_IO_FILE* %21) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_7: %23 = load i64, i64* %sv_1, align 8 %24 = add i64 %23, 16 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = add i64 %23, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = inttoptr i64 %29 to %sockaddr* %31 = call i32 @connect(i32 %18, %sockaddr* %30, i32 %26) %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %35 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_5 to i64*), i32 1, i32 29, %_IO_FILE* %34) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_9: %36 = call i64 @FUNC() store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.reload, { 1, 0 } uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 5, 4, 0 } uselistorder i32 1, { 3, 4, 5, 8, 7, 6, 2, 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
dec_mul_15139
dec_mul
define i64 @FUNC(i32* %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 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 1 %6 = icmp eq i1 %5, false %7 = ptrtoint i32* %arg1 to i64 br i1 %6, label LBL_2, label LBL_1 LBL_1: %8 = add i64 %7, 16 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = call i64 @FUNC(i64 %11, i64 16) %13 = and i64 %12, 4294967295 %14 = add i64 %7, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %7, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %20, i32 %16, i64 %13, i64 %2, i64 %1) br label LBL_3 LBL_2: %22 = add i64 %7, 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = zext i32 %24 to i64 %26 = add i64 %7, 4 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %7, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %32, i32 %28, i64 %25, i64 %2, i64 %1) br label LBL_3 LBL_3: %34 = add i64 %7, 24 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = urem i32 %38, 2 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_5, label LBL_4 LBL_4: %42 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0)) unreachable LBL_5: br i1 %6, label LBL_7, label LBL_6 LBL_6: %43 = add i64 %7, 16 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = zext i32 %45 to i64 %47 = call i64 @FUNC(i64 %46, i64 16) %48 = and i64 %47, 4294967295 %49 = add i64 %7, 4 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 %52, 4 %54 = add i64 %53, ptrtoint (i32** @gv_3 to i64) %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = add i64 %7, 8 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = sext i32 %59 to i64 %61 = mul i64 %60, 4 %62 = add i64 %61, ptrtoint (i32** @gv_3 to i64) %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %65 = zext i32 %56 to i64 %66 = zext i32 %64 to i64 %67 = call i64 @FUNC(i64 %66, i64 %65, i64 %48) store i64 %67, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %68 = add i64 %7, 8 %69 = inttoptr i64 %68 to i32* %70 = load i32, i32* %69, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 %71, 4 %73 = add i64 %72, ptrtoint (i32** @gv_3 to i64) %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = add i64 %7, 4 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = sext i32 %78 to i64 %80 = mul i64 %79, 4 %81 = add i64 %80, ptrtoint (i32** @gv_3 to i64) %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = add i64 %7, 12 %85 = inttoptr i64 %84 to i32* %86 = load i32, i32* %85, align 4 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 4 %89 = add i64 %88, ptrtoint (i32** @gv_3 to i64) %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = zext i32 %83 to i64 %93 = zext i32 %91 to i64 %94 = call i64 @FUNC(i64 %93, i64 %92, i32 %75) store i64 %94, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %7, { 8, 7, 6, 3, 2, 5, 4, 9, 10, 12, 1, 0, 11 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @LOG_DIS, { 1, 0 } uselistorder i64 4, { 0, 1, 6, 2, 3, 4, 7, 8, 9, 5 } uselistorder i64 (i64, i64)* @sign_extend, { 1, 0 } uselistorder i64 16, { 0, 2, 1, 3 } }
1
BinRealVul
blk_init_allocated_queue_11347
blk_init_allocated_queue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = call i64 @FUNC(i64 %0, i64 0, i32 %4) %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 %8 = icmp eq i64 %5, 0 %9 = icmp eq i1 %8, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %9, label LBL_1, label LBL_6 LBL_1: %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = trunc i64 %0 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_3 LBL_3: %17 = add i64 %0, 40 %18 = call i64 @FUNC(i64 %17, i64 %0, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %0, 48 %23 = call i64 @FUNC(i64 %22, i64 4198820) %24 = add i64 %0, 20 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = or i32 %26, 1 store i32 %27, i32* %25, align 4 %28 = load i64, i64* @gv_0, align 8 %29 = call i64 @FUNC(i64 %0, i64 %28) %30 = add i64 %0, 56 %31 = inttoptr i64 %30 to i32* store i32 2147483647, i32* %31, align 4 %32 = call i64 @FUNC(i64 %0) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_5, label LBL_6 LBL_5: %36 = load i64, i64* %7, align 8 %37 = call i64 @FUNC(i64 %36) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1, 4, 3, 6, 5, 8, 7, 9, 10, 11, 12 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 4294967284, { 1, 0 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_5, { 2, 1, 0 } }
1
BinRealVul
technisat_usb2_power_ctrl_10483
technisat_usb2_power_ctrl
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg2 to i32 %1 = bitcast i64* %arg1 to i32* store i32 %0, i32* %1, align 4 %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 0, i64 0) %6 = call i64 @FUNC(i64 %4, i64 1, i64 1) br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %4, { 1, 0 } uselistorder i64 (i64, i64, i64)* @technisat_usb2_set_led, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
fourxm_probe_15695
fourxm_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1179011410 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = add i64 %0, 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 1447251252 %spec.select = select i1 %8, i64 100, i64 0 ret i64 %spec.select LBL_2: ret i64 0 uselistorder i64 (i64)* @AV_RL32, { 1, 0 } }
1
BinRealVul
isa_bus_new_14017
isa_bus_new
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %3 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_2 to i64*), i32 1, i32 30, %_IO_FILE* %2) store i64 0, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %4 = icmp eq i64 %arg1, 0 %5 = icmp eq i1 %4, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0)) %7 = call i64 @FUNC(i64 %6) store i64 %6, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %8 = call i64 @FUNC(i64* nonnull @gv_4, i64 %sv_0.0.reload, i64 0) store i64 %8, i64* @gv_0, align 8 store i64 %8, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 1, { 3, 2, 1, 0 } }
1
BinRealVul
nalm_dump_13355
nalm_dump
define i64 @FUNC(i64 %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i32 %sv_0.05.reg2mem = alloca i32 %0 = icmp eq i32* %arg2, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = inttoptr i64 %arg1 to %_IO_FILE* %3 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_0 to i64*), i32 1, i32 31, %_IO_FILE* %2) %4 = call i32 @fwrite(i64* bitcast ([48 x i8]* @gv_1 to i64*), i32 1, i32 47, %_IO_FILE* %2) %5 = call i32 @fwrite(i64* bitcast ([12 x i8]* @gv_2 to i64*), i32 1, i32 11, %_IO_FILE* %2) store i32 %5, i32* %storemerge.in.reg2mem br label LBL_8 LBL_2: %6 = ptrtoint i32* %arg2 to i64 %7 = zext i32 %arg3 to i64 %8 = call i64 @FUNC(i64 %6, i64 %7, i64 1) %9 = call i64 @FUNC(i64 %8, i64 6) %10 = call i64 @FUNC(i64 %8, i64 1) %11 = trunc i64 %10 to i32 %12 = call i64 @FUNC(i64 %8, i64 1) %13 = icmp eq i32 %11, 0 %. = select i1 %13, i64 8, i64 16 %14 = call i64 @FUNC(i64 %8, i64 %.) %15 = trunc i64 %14 to i32 %16 = and i64 %10, 4294967295 %17 = and i64 %12, 4294967295 %18 = inttoptr i64 %arg1 to %_IO_FILE* %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 %17, i64 %16) %20 = icmp eq i32 %15, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_7 LBL_3: %22 = trunc i64 %12 to i32 %23 = icmp eq i32 %22, 0 store i32 %15, i32* %sv_0.05.reg2mem br label LBL_4 LBL_4: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %24 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_4 to i64*), i32 1, i32 14, %_IO_FILE* %18) br i1 %23, label LBL_6, label LBL_5 LBL_5: %25 = call i64 @FUNC(i64 %8, i64 %.) %26 = and i64 %25, 4294967295 %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i64 %26) br label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %8) %29 = and i64 %28, 4294967295 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i64 %29) %31 = add i32 %sv_0.05.reload, -1 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 %31, i32* %sv_0.05.reg2mem br i1 %33, label LBL_4, label LBL_7 LBL_7: %34 = call i64 @FUNC(i64 %8) %35 = call i32 @fwrite(i64* bitcast ([12 x i8]* @gv_2 to i64*), i32 1, i32 11, %_IO_FILE* %18) store i32 %35, i32* %storemerge.in.reg2mem br label LBL_8 LBL_8: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = sext i32 %storemerge.in.reload to i64 ret i64 %storemerge uselistorder %_IO_FILE* %18, { 0, 2, 1, 3, 4 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %8, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 } uselistorder i64 4294967295, { 2, 3, 0, 1 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 5, 4, 3, 2, 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 3, 4, 2, 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
__perf_event_read_size_13117
__perf_event_read_size
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = mul i32 %2, 8 %4 = and i32 %3, 8 %5 = and i32 %2, 2 %6 = icmp eq i32 %5, 0 %7 = add nuw nsw i32 %4, 8 %sv_0.1 = select i1 %6, i32 %4, i32 %7 %8 = and i32 %2, 4 %9 = icmp eq i32 %8, 0 %spec.select3 = select i1 %9, i32 8, i32 16 %10 = and i32 %2, 8 %11 = icmp eq i32 %10, 0 %12 = add nuw nsw i32 %spec.select3, 8 %sv_1.1 = select i1 %11, i32 %spec.select3, i32 %12 %13 = and i32 %2, 16 %14 = icmp eq i32 %13, 0 %15 = trunc i64 %arg2 to i32 %16 = add i32 %15, 1 %17 = add nuw nsw i32 %sv_0.1, 8 %sv_0.2 = select i1 %14, i32 %sv_0.1, i32 %17 %sv_2.0 = select i1 %14, i32 1, i32 %16 %18 = mul i32 %sv_1.1, %sv_2.0 %19 = add i32 %sv_0.2, %18 %20 = ptrtoint i32* %arg1 to i64 %21 = add i64 %20, 4 %22 = inttoptr i64 %21 to i32* store i32 %19, i32* %22, align 4 ret i64 %20 uselistorder i32 %2, { 4, 3, 2, 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 8, { 3, 4, 5, 2, 6, 1, 0 } }
1
BinRealVul
cpu_load_old_7433
cpu_load_old
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv31.reg2mem = alloca i64 %indvars.iv34.reg2mem = alloca i64 %indvars.iv37.reg2mem = alloca i64 %indvars.iv42.reg2mem = alloca i64 %indvars.iv39.reg2mem = alloca i64 %indvars.iv48.reg2mem = alloca i64 %indvars.iv45.reg2mem = alloca i64 %indvars.iv51.reg2mem = alloca i64 %storemerge11.reg2mem = alloca i128 %xmm0.025.reg2mem = alloca i128 %indvars.iv54.reg2mem = alloca i64 %indvars.iv57.reg2mem = alloca i64 %indvars.iv60.reg2mem = alloca i64 %indvars.iv63.reg2mem = alloca i64 %indvars.iv66.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 store i64 0, i64* %indvars.iv66.reg2mem br label LBL_1 LBL_1: %indvars.iv66.reload = load i64, i64* %indvars.iv66.reg2mem %2 = mul i64 %indvars.iv66.reload, 4 %3 = add i64 %2, %0 %4 = call i64 @FUNC(i64 %1, i64 %3) %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66.reload, 1 %exitcond68 = icmp eq i64 %indvars.iv.next67, 32 store i64 %indvars.iv.next67, i64* %indvars.iv66.reg2mem br i1 %exitcond68, label LBL_2, label LBL_1 LBL_2: %5 = add i64 %0, 128 store i64 0, i64* %indvars.iv63.reg2mem br label LBL_3 LBL_3: %indvars.iv63.reload = load i64, i64* %indvars.iv63.reg2mem %6 = mul i64 %indvars.iv63.reload, 4 %7 = add i64 %5, %6 %8 = call i64 @FUNC(i64 %1, i64 %7) %indvars.iv.next64 = add nuw nsw i64 %indvars.iv63.reload, 1 %exitcond65 = icmp eq i64 %indvars.iv.next64, 32 store i64 %indvars.iv.next64, i64* %indvars.iv63.reg2mem br i1 %exitcond65, label LBL_4, label LBL_3 LBL_4: %9 = add i64 %0, 256 %10 = call i64 @FUNC(i64 %1, i64 %9) %11 = add i64 %0, 260 %12 = call i64 @FUNC(i64 %1, i64 %11) %13 = add i64 %0, 264 store i64 0, i64* %indvars.iv60.reg2mem br label LBL_5 LBL_5: %indvars.iv60.reload = load i64, i64* %indvars.iv60.reg2mem %14 = mul i64 %indvars.iv60.reload, 4 %15 = add i64 %13, %14 %16 = call i64 @FUNC(i64 %1, i64 %15) %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60.reload, 1 %exitcond62 = icmp eq i64 %indvars.iv.next61, 8 store i64 %indvars.iv.next61, i64* %indvars.iv60.reg2mem br i1 %exitcond62, label LBL_6, label LBL_5 LBL_6: %17 = ptrtoint i64* %sv_2 to i64 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = load i64, i64* %sv_2, align 8 %20 = call i64 @FUNC(i64 %0, i64 %19) %21 = add i64 %0, 296 %22 = call i64 @FUNC(i64 %1, i64 %21) %23 = add i64 %0, 300 %24 = call i64 @FUNC(i64 %1, i64 %23) %25 = add i64 %0, 304 store i64 0, i64* %indvars.iv57.reg2mem br label LBL_7 LBL_7: %indvars.iv57.reload = load i64, i64* %indvars.iv57.reg2mem %26 = mul i64 %indvars.iv57.reload, 4 %27 = add i64 %25, %26 %28 = call i64 @FUNC(i64 %1, i64 %27) %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57.reload, 1 %exitcond59 = icmp eq i64 %indvars.iv.next58, 4 store i64 %indvars.iv.next58, i64* %indvars.iv57.reg2mem br i1 %exitcond59, label LBL_8, label LBL_7 LBL_8: %29 = add i64 %0, 320 store i64 0, i64* %indvars.iv54.reg2mem br label LBL_9 LBL_9: %xmm0.025.reload = load i128, i128* %xmm0.025.reg2mem %indvars.iv54.reload = load i64, i64* %indvars.iv54.reg2mem %30 = call i64 @FUNC(i64 %1) %31 = icmp slt i64 %30, 0 br i1 %31, label LBL_11, label LBL_10 LBL_10: %32 = call i128 @FUNC(i128 %xmm0.025.reload, i128 %xmm0.025.reload) %33 = call i128 @FUNC(i64 %30) store i128 %33, i128* %storemerge11.reg2mem br label LBL_12 LBL_11: %34 = udiv i64 %30, 2 %35 = urem i64 %30, 2 %36 = or i64 %34, %35 %37 = call i128 @FUNC(i128 %xmm0.025.reload, i128 %xmm0.025.reload) %38 = call i128 @FUNC(i64 %36) %39 = call i128 @FUNC(i128 %38, i128 %38) store i128 %39, i128* %storemerge11.reg2mem br label LBL_12 LBL_12: %storemerge11.reload = load i128, i128* %storemerge11.reg2mem %40 = call i64 @FUNC(i128 %storemerge11.reload) %41 = mul i64 %indvars.iv54.reload, 8 %42 = add i64 %29, %41 %43 = inttoptr i64 %42 to i64* store i64 %40, i64* %43, align 8 %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54.reload, 1 %exitcond56 = icmp eq i64 %indvars.iv.next55, 32 store i64 %indvars.iv.next55, i64* %indvars.iv54.reg2mem store i128 %storemerge11.reload, i128* %xmm0.025.reg2mem br i1 %exitcond56, label LBL_13, label LBL_9 LBL_13: %44 = ptrtoint i32* %sv_1 to i64 %45 = call i64 @FUNC(i64 %1, i64 %44) %46 = load i32, i32* %sv_1, align 4 %47 = add i64 %0, 576 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = add i64 %0, 580 %50 = call i64 @FUNC(i64 %1, i64 %49) %51 = ptrtoint i64* %sv_0 to i64 %52 = call i64 @FUNC(i64 %1, i64 %51) %53 = add i64 %0, 4680 store i64 0, i64* %indvars.iv51.reg2mem br label LBL_14 LBL_14: %indvars.iv51.reload = load i64, i64* %indvars.iv51.reg2mem %54 = mul i64 %indvars.iv51.reload, 4 %55 = add i64 %53, %54 %56 = call i64 @FUNC(i64 %1, i64 %55) %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51.reload, 1 %exitcond53 = icmp eq i64 %indvars.iv.next52, 32 store i64 %indvars.iv.next52, i64* %indvars.iv51.reg2mem br i1 %exitcond53, label LBL_15, label LBL_14 LBL_15: %57 = add i64 %0, 5416 store i64 0, i64* %indvars.iv48.reg2mem br label LBL_18 LBL_16: %indvars.iv45.reload = load i64, i64* %indvars.iv45.reg2mem %58 = add nuw nsw i64 %indvars.iv45.reload, %62 %59 = mul i64 %58, 4 %60 = add i64 %57, %59 %61 = call i64 @FUNC(i64 %1, i64 %60) %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45.reload, 1 %exitcond47 = icmp eq i64 %indvars.iv.next46, 8 store i64 %indvars.iv.next46, i64* %indvars.iv45.reg2mem br i1 %exitcond47, label LBL_17, label LBL_16 LBL_17: %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48.reload, 1 %exitcond50 = icmp eq i64 %indvars.iv.next49, 2 store i64 %indvars.iv.next49, i64* %indvars.iv48.reg2mem br i1 %exitcond50, label LBL_19, label LBL_18 LBL_18: %indvars.iv48.reload = load i64, i64* %indvars.iv48.reg2mem %62 = mul i64 %indvars.iv48.reload, 8 store i64 0, i64* %indvars.iv45.reg2mem br label LBL_16 LBL_19: %63 = add i64 %0, 5480 store i64 0, i64* %indvars.iv42.reg2mem br label LBL_22 LBL_20: %indvars.iv39.reload = load i64, i64* %indvars.iv39.reg2mem %64 = add nuw nsw i64 %indvars.iv39.reload, %68 %65 = mul i64 %64, 4 %66 = add i64 %63, %65 %67 = call i64 @FUNC(i64 %1, i64 %66) %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39.reload, 1 %exitcond41 = icmp eq i64 %indvars.iv.next40, 8 store i64 %indvars.iv.next40, i64* %indvars.iv39.reg2mem br i1 %exitcond41, label LBL_21, label LBL_20 LBL_21: %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42.reload, 1 %exitcond44 = icmp eq i64 %indvars.iv.next43, 2 store i64 %indvars.iv.next43, i64* %indvars.iv42.reg2mem br i1 %exitcond44, label LBL_23, label LBL_22 LBL_22: %indvars.iv42.reload = load i64, i64* %indvars.iv42.reg2mem %68 = mul i64 %indvars.iv42.reload, 8 store i64 0, i64* %indvars.iv39.reg2mem br label LBL_20 LBL_23: %69 = add i64 %0, 5192 %70 = call i64 @FUNC(i64 %1, i64 %69) %71 = add i64 %0, 5196 %72 = call i64 @FUNC(i64 %1, i64 %71) %73 = add i64 %0, 5200 %74 = call i64 @FUNC(i64 %1, i64 %73) %75 = add i64 %0, 5204 %76 = call i64 @FUNC(i64 %1, i64 %75) %77 = add i64 %0, 5208 %78 = call i64 @FUNC(i64 %1, i64 %77) %79 = add i64 %0, 5212 %80 = call i64 @FUNC(i64 %1, i64 %79) %81 = icmp eq i64* %arg2, inttoptr (i64 -4808 to i64*) br i1 %81, label LBL_27, label LBL_24 LBL_24: %82 = inttoptr i64 %69 to i32* %83 = load i32, i32* %82, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label LBL_27, label LBL_25 LBL_25: %85 = add i64 %0, 4800 store i64 0, i64* %indvars.iv37.reg2mem br label LBL_26 LBL_26: %indvars.iv37.reload = load i64, i64* %indvars.iv37.reg2mem %86 = mul nuw nsw i64 %indvars.iv37.reload, 12 %87 = add i64 %85, %86 %88 = add i64 %87, 8 %89 = call i64 @FUNC(i64 %1, i64 %88) %90 = add i64 %87, 12 %91 = call i64 @FUNC(i64 %1, i64 %90) %92 = add i64 %87, 16 %93 = call i64 @FUNC(i64 %1, i64 %92) %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37.reload, 1 %94 = load i32, i32* %82, align 4 %95 = zext i32 %94 to i64 %96 = icmp ult i64 %indvars.iv.next38, %95 store i64 %indvars.iv.next38, i64* %indvars.iv37.reg2mem br i1 %96, label LBL_26, label LBL_27 LBL_27: %97 = add i64 %0, 5544 store i64 0, i64* %indvars.iv34.reg2mem br label LBL_28 LBL_28: %indvars.iv34.reload = load i64, i64* %indvars.iv34.reg2mem %98 = mul i64 %indvars.iv34.reload, 4 %99 = add i64 %97, %98 %100 = call i64 @FUNC(i64 %1, i64 %99) %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34.reload, 1 %exitcond36 = icmp eq i64 %indvars.iv.next35, 4 store i64 %indvars.iv.next35, i64* %indvars.iv34.reg2mem br i1 %exitcond36, label LBL_29, label LBL_28 LBL_29: %101 = add i64 %0, 584 store i64 0, i64* %indvars.iv31.reg2mem br label LBL_30 LBL_30: %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %102 = mul i64 %indvars.iv31.reload, 4 %103 = add i64 %101, %102 %104 = call i64 @FUNC(i64 %1, i64 %103) %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %exitcond33 = icmp eq i64 %indvars.iv.next32, 1024 store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem br i1 %exitcond33, label LBL_31, label LBL_30 LBL_31: %105 = load i64, i64* %sv_0, align 8 %106 = call i64 @FUNC(i64 %0, i64 %105) %107 = add i64 %0, 5216 %108 = call i64 @FUNC(i64 %1, i64 %107) %109 = add i64 %0, 5224 %110 = call i64 @FUNC(i64 %1, i64 %109) %111 = add i64 %0, 5232 %112 = call i64 @FUNC(i64 %1, i64 %111) %113 = add i64 %0, 5236 %114 = call i64 @FUNC(i64 %1, i64 %113) %115 = add i64 %0, 5240 %116 = call i64 @FUNC(i64 %1, i64 %115) %117 = add i64 %0, 5244 %118 = call i64 @FUNC(i64 %1, i64 %117) %119 = add i64 %0, 5248 %120 = call i64 @FUNC(i64 %1, i64 %119) %121 = add i64 %0, 5252 %122 = call i64 @FUNC(i64 %1, i64 %121) %123 = add i64 %0, 5256 store i64 0, i64* %indvars.iv.reg2mem br label LBL_32 LBL_32: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %124 = mul i64 %indvars.iv.reload, 4 %125 = add i64 %123, %124 %126 = call i64 @FUNC(i64 %1, i64 %125) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_33, label LBL_32 LBL_33: %127 = add i64 %0, 5384 %128 = call i64 @FUNC(i64 %1, i64 %127) %129 = add i64 %0, 5388 %130 = call i64 @FUNC(i64 %1, i64 %129) %131 = add i64 %0, 5392 %132 = call i64 @FUNC(i64 %1, i64 %131) %133 = add i64 %0, 5396 %134 = call i64 @FUNC(i64 %1, i64 %133) %135 = add i64 %0, 5400 %136 = call i64 @FUNC(i64 %1, i64 %135) %137 = add i64 %0, 5404 %138 = call i64 @FUNC(i64 %1, i64 %137) %139 = add i64 %0, 5408 %140 = call i64 @FUNC(i64 %1, i64 %139) %141 = add i64 %0, 5412 %142 = call i64 @FUNC(i64 %1, i64 %141) %143 = call i64 @FUNC(i64 %1) ret i64 0 uselistorder i32* %82, { 1, 0 } uselistorder i64 %indvars.iv42.reload, { 1, 0 } uselistorder i64 %indvars.iv48.reload, { 1, 0 } uselistorder i128 %storemerge11.reload, { 1, 0 } uselistorder i128 %38, { 1, 0 } uselistorder i64 %30, { 1, 0, 2, 3 } uselistorder i128 %xmm0.025.reload, { 3, 2, 1, 0 } uselistorder i32* %sv_1, { 1, 0 } uselistorder i64 %1, { 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 0, 1, 2, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 34, 36, 37, 38, 39, 40, 41, 42, 43, 44 } uselistorder i64 %0, { 12, 13, 14, 15, 16, 17, 18, 19, 10, 20, 21, 22, 23, 24, 25, 26, 27, 28, 9, 8, 11, 29, 30, 31, 32, 33, 34, 7, 6, 5, 35, 36, 4, 3, 37, 38, 39, 2, 40, 41, 1, 0 } uselistorder i64* %indvars.iv66.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv63.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv60.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv57.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv54.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.025.reg2mem, { 1, 0 } uselistorder i128* %storemerge11.reg2mem, { 0, 2, 1 } uselistorder i64* %indvars.iv51.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv45.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv39.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv37.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv34.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv31.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 12, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_sbe32s, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 2, { 3, 2, 1, 0 } uselistorder i64 8, { 6, 0, 5, 1, 4, 2, 3 } uselistorder i64 (i64, i64)* @qemu_get_be32s, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 32, { 4, 3, 2, 1, 0 } uselistorder i64 1, { 13, 12, 11, 10, 8, 9, 6, 7, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @qemu_get_betls, { 24, 23, 22, 21, 20, 19, 18, 25, 16, 17, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, 1, 3, 0 } uselistorder i64 4, { 0, 1, 11, 2, 3, 4, 5, 10, 6, 7, 8, 9 } uselistorder label LBL_26, { 1, 0 } uselistorder label LBL_20, { 1, 0 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
fill_elf_note_phdr_10850
fill_elf_note_phdr
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 4, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 %arg3, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %sext = mul i64 %arg2, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = add i64 %0, 32 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %0, 40 %12 = inttoptr i64 %11 to i64* store i64 0, i64* %12, align 8 %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i32* store i32 0, i32* %14, align 4 %15 = add i64 %0, 48 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 32, { 1, 0 } }
0
BinRealVul
v9fs_readlink_13995
v9fs_readlink
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i32 %.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %3 = bitcast i32* %sv_2 to i64* %4 = call i64 @FUNC(i64 %2, i64 7, i64* nonnull @gv_0, i64* nonnull %3) %5 = load i32, i32* %sv_2, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %2, i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i32 -2, i32* %sv_0.1.reg2mem br i1 %9, label LBL_1, label LBL_4 LBL_1: %10 = call i64 @FUNC(i64* nonnull %sv_1) %11 = call i64 @FUNC(i64 %2, i64 %7, i64* nonnull %sv_1) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 store i32 %12, i32* %sv_0.0.reg2mem br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %2, i64 7, i64* nonnull @gv_1, i64* nonnull %sv_1) %15 = trunc i64 %14 to i32 %16 = add i32 %15, 7 %17 = call i64 @FUNC(i64* nonnull %sv_1) store i32 %16, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = call i64 @FUNC(i64 %2, i64 %7) %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_4 LBL_4: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.reload = load i64, i64* %.reg2mem %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = zext i32 %21 to i64 %23 = and i64 %1, 4294967295 %24 = call i64 @FUNC(i64 %23, i64 %22, i64 %.reload) %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i64 %2, i32 %sv_0.1.reload) ret i64 %28 uselistorder i64 %2, { 2, 1, 3, 4, 0, 5, 6, 7 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
get_tuple_object_11985
get_tuple_object
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8, align 1 store i8 0, i8* %sv_0, align 1 %5 = call i64 @FUNC(i64 %4, i8* nonnull %sv_0) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = ptrtoint i8* %sv_0 to i64 %10 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %9, i64 %3, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %11 = load i8, i8* %sv_0, align 1 %12 = icmp eq i8 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_5 LBL_3: %13 = and i64 %5, 4294967295 %14 = call i64 @FUNC(i64 %4, i64 %13) %15 = icmp eq i64 %14, 0 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_4 LBL_4: %16 = inttoptr i64 %14 to i32* store i32 1, i32* %16, align 4 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 i8* %sv_0, { 1, 2, 0, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i8 0, { 2, 1, 3, 4, 0 } uselistorder label LBL_5, { 2, 0, 1, 3 } }
1
BinRealVul
isabus_bridge_class_init_14024
isabus_bridge_class_init
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 %1 to i32 %4 = or i32 %3, 2 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %7, align 8 ret i64 %2 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
stszin_5723
stszin
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32 %storemerge3.reg2mem = alloca i32 %0 = call i64 @FUNC() %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 store i32 %3, i32* @gv_0, align 4 %4 = icmp eq i32 %3, -1 %5 = icmp eq i1 %4, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_7 LBL_1: %6 = call i64* @malloc(i32 trunc (i64 shl (i64 zext (i32 ptrtoint (i32* @gv_1 to i32) to i64), i64 2) to i32)) %7 = ptrtoint i64* %6 to i64 store i64 %7, i64* @gv_2, align 8 %8 = icmp eq i64* %6, null %9 = icmp eq i1 %8, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %9, label LBL_2, label LBL_7 LBL_2: %10 = and i64 %arg1, 4294967295 %11 = bitcast i64* %6 to i32* store i32 0, i32* %11, align 4 %12 = load i32, i32* @gv_0, align 4 %13 = icmp eq i32 %12, 0 store i32 0, i32* %storemerge3.reg2mem store i32 0, i32* %sv_0.02.reg2mem store i64 %10, i64* %rax.0.reg2mem br i1 %13, label LBL_7, label LBL_3 LBL_3: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %14 = call i64 @FUNC() %15 = trunc i64 %14 to i32 %16 = load i32, i32* inttoptr (i64 4210780 to i32*), align 4 %17 = icmp ult i32 %16, %15 br i1 %17, label LBL_4, label LBL_5 LBL_4: store i32 %15, i32* bitcast (i64* @gv_3 to i32*), align 8 br label LBL_5 LBL_5: %18 = add i32 %sv_0.02.reload, %15 %19 = load i64, i64* @gv_2, align 8 %20 = sext i32 %storemerge3.reload to i64 %21 = mul i64 %20, 4 %22 = add nsw i64 %21, 4 %23 = add i64 %22, %19 %24 = inttoptr i64 %23 to i32* store i32 %18, i32* %24, align 4 %25 = load i64, i64* @gv_2, align 8 %26 = add i64 %25, %21 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp ult i32 %18, %28 %30 = icmp eq i1 %29, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %30, label LBL_6, label LBL_7 LBL_6: %31 = add i32 %storemerge3.reload, 1 %32 = load i32, i32* @gv_0, align 4 %33 = icmp ugt i32 %32, %31 store i32 %31, i32* %storemerge3.reg2mem store i32 %18, i32* %sv_0.02.reg2mem store i64 %10, i64* %rax.0.reg2mem br i1 %33, label LBL_3, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %21, { 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i64 4, { 1, 0 } uselistorder i32* @gv_0, { 2, 0, 1 } uselistorder i64 ()* @u32in, { 3, 2, 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_7, { 1, 0, 2, 3, 4 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
vp9_get_tx_size_context_18715
vp9_get_tx_size_context
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i32 %storemerge1.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %1, 4294967296 %3 = ashr exact i64 %sext, 30 %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64) %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = call i64 @FUNC(i64 %2) %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %2) %10 = call i64 @FUNC(i64 %9) %11 = icmp eq i64 %8, 0 %12 = icmp eq i1 %11, false %13 = icmp eq i1 %12, false store i32 %6, i32* %storemerge1.in.reg2mem br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = add i64 %8, 4 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false store i32 %6, i32* %storemerge1.in.reg2mem br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = add i64 %8, 8 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 store i32 %21, i32* %storemerge1.in.reg2mem br label LBL_3 LBL_3: %22 = icmp eq i64 %10, 0 %23 = icmp eq i1 %22, false %storemerge1.in.reload = load i32, i32* %storemerge1.in.reg2mem %24 = icmp eq i1 %23, false store i32 %6, i32* %storemerge.in.reg2mem br i1 %24, label LBL_6, label LBL_4 LBL_4: %25 = add i64 %10, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false store i32 %6, i32* %storemerge.in.reg2mem br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = add i64 %10, 8 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 store i32 %32, i32* %storemerge.in.reg2mem br label LBL_6 LBL_6: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %33 = icmp eq i1 %24, false %spec.select = select i1 %33, i32 %storemerge.in.reload, i32 %storemerge1.in.reload %34 = icmp eq i1 %13, false %sv_0.0 = select i1 %34, i32 %storemerge1.in.reload, i32 %spec.select %35 = add i32 %sv_0.0, %spec.select %36 = sub i32 %6, %35 %37 = xor i32 %35, %6 %38 = xor i32 %36, %6 %39 = and i32 %38, %37 %40 = icmp slt i32 %39, 0 %41 = icmp slt i32 %36, 0 %42 = icmp ne i1 %41, %40 %43 = zext i1 %42 to i64 ret i64 %43 uselistorder i32 %36, { 1, 0 } uselistorder i32 %storemerge1.in.reload, { 1, 0 } uselistorder i64 %10, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i32 %6, { 4, 5, 6, 1, 0, 3, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i32* %storemerge1.in.reg2mem, { 0, 3, 2, 1 } uselistorder i32* %storemerge.in.reg2mem, { 0, 3, 2, 1 } uselistorder i1 false, { 2, 3, 4, 0, 6, 5, 1, 7 } uselistorder i64 (i64)* @get_mbmi, { 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
RegisterMPCImage_9900
RegisterMPCImage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0)) %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i32* store i32 1, i32* %7, align 4 %8 = call i64 @FUNC(i64 %0) %9 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %10 = add i64 %9, 24 %11 = inttoptr i64 %10 to i64* store i64 4198860, i64* %11, align 8 %12 = add i64 %9, 32 %13 = inttoptr i64 %12 to i64* store i64 4198867, i64* %13, align 8 %14 = add i64 %9, 40 %15 = inttoptr i64 %14 to i64* store i64 4198874, i64* %15, align 8 %16 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0)) %17 = inttoptr i64 %9 to i64* store i64 %16, i64* %17, align 8 %18 = add i64 %9, 20 %19 = inttoptr i64 %18 to i32* store i32 1, i32* %19, align 4 %20 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %21 = add i64 %9, 8 %22 = inttoptr i64 %21 to i64* store i64 %20, i64* %22, align 8 %23 = call i64 @FUNC(i64 %9) %24 = load i64, i64* @gv_3, align 8 ret i64 %24 uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 } uselistorder i32 1, { 1, 2, 0 } uselistorder i64 (i8*)* @ConstantString, { 3, 2, 1, 0 } uselistorder i64 (i8*)* @SetMagickInfo, { 1, 0 } }
0
BinRealVul
lsrc_Read_9058
lsrc_Read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %1, 12 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = add i64 %1, 8 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = zext i32 %4 to i64 %8 = call i64 @FUNC(i64 %7) store i64 %8, i64* %arg1, align 8 %9 = load i32, i32* %6, align 4 %10 = call i64 @FUNC(i64 %0, i64 %7, i32 %9) ret i64 0 }
0
BinRealVul
stbi__pic_load_12830
stbi__pic_load
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %1 = icmp eq i64* %arg4, null %2 = icmp eq i1 %1, false store i32 0, i32* %storemerge2.reg2mem br label LBL_1 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %3 = call i64 @FUNC(i64 %0) %4 = add nuw nsw i32 %storemerge2.reload, 1 %exitcond = icmp eq i32 %4, 92 store i32 %4, i32* %storemerge2.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %5 = call i64 @FUNC(i64 %0) %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 65537 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 %9, i64* %rax.0.reg2mem br label LBL_17 LBL_4: %10 = trunc i64 %5 to i32 %11 = icmp slt i32 %10, 65537 br i1 %11, label LBL_6, label LBL_5 LBL_5: %12 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) store i64 %12, i64* %rax.0.reg2mem br label LBL_17 LBL_6: %13 = call i64 @FUNC(i64 %0) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_8, label LBL_7 LBL_7: %16 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0)) store i64 %16, i64* %rax.0.reg2mem br label LBL_17 LBL_8: %17 = and i64 %5, 4294967295 %18 = call i64 @FUNC(i64 %17, i32 %7, i64 4, i64 0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_10, label LBL_9 LBL_9: %22 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0)) store i64 %22, i64* %rax.0.reg2mem br label LBL_17 LBL_10: %23 = call i64 @FUNC(i64 %0) %24 = call i64 @FUNC(i64 %0) %25 = call i64 @FUNC(i64 %0) %26 = call i64 @FUNC(i64 %17, i32 %7, i64 4, i64 0) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_12, label LBL_11 LBL_11: %29 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0)) store i64 %29, i64* %rax.0.reg2mem br label LBL_17 LBL_12: %spec.select = select i1 %2, i64* %arg4, i64* %sv_1 %sv_2.0 = ptrtoint i64* %spec.select to i64 %30 = mul i32 %10, 4 %31 = mul i32 %30, %7 %32 = inttoptr i64 %26 to i64* %33 = call i64* @memset(i64* %32, i32 255, i32 %31) %34 = call i64 @FUNC(i64 %0, i32 %10, i32 %7, i64 %sv_2.0, i64 %26) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 %26, i64* %sv_0.0.reg2mem br i1 %37, label LBL_14, label LBL_13 LBL_13: call void @free(i64* %32) store i64 0, i64* %sv_0.0.reg2mem br label LBL_14 LBL_14: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %38 = bitcast i64* %arg2 to i32* store i32 %10, i32* %38, align 4 %39 = bitcast i64* %arg3 to i32* store i32 %7, i32* %39, align 4 %40 = trunc i64 %arg5 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i32 %40, i32* %.pre-phi.reg2mem br i1 %42, label LBL_16, label LBL_15 LBL_15: %43 = bitcast i64* %spec.select to i32* %44 = load i32, i32* %43, align 4 store i32 %44, i32* %.pre-phi.reg2mem br label LBL_16 LBL_16: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %45 = and i64 %6, 4294967295 %46 = call i64 @FUNC(i64 %sv_0.0.reload, i64 4, i32 %.pre-phi.reload, i32 %10, i64 %45) store i64 %46, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %spec.select, { 1, 0 } uselistorder i64 %26, { 0, 2, 1, 3 } uselistorder i32 %10, { 1, 2, 3, 0, 4 } uselistorder i32 %7, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %0, { 0, 3, 2, 1, 4, 6, 7, 5 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 } uselistorder i64 (i8*, i8*)* @stbi__errpuc, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @stbi__get16be, { 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } }
1
BinRealVul
ldm_validate_partition_table_9462
ldm_validate_partition_table
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %storemerge12.reg2mem = alloca i32 %sv_1 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i1 %0, false br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %3 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %2) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i64 0, i64* nonnull %sv_1) store i64 %5, i64* %sv_1, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_4, label LBL_3 LBL_3: %8 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) store i64 0, i64* %storemerge.reg2mem br label LBL_10 LBL_4: %9 = add i64 %5, 510 %10 = inttoptr i64 %9 to i16* %11 = load i16, i16* %10, align 2 %12 = call i64 @FUNC(i64 43605) %13 = trunc i64 %12 to i16 %14 = icmp eq i16 %11, %13 %15 = icmp eq i1 %14, false store i64 0, i64* %sv_0.1.reg2mem br i1 %15, label LBL_9, label LBL_5 LBL_5: %16 = load i64, i64* %sv_1, align 8 %17 = add i64 %16, 446 store i32 0, i32* %storemerge12.reg2mem br label LBL_6 LBL_6: %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i8 %20 = icmp eq i8 %19, 66 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_8 LBL_7: %storemerge12.reload = load i32, i32* %storemerge12.reg2mem %22 = add nuw nsw i32 %storemerge12.reload, 1 %23 = icmp ult i32 %22, 4 store i32 %22, i32* %storemerge12.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %23, label LBL_6, label LBL_9 LBL_8: %24 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0)) store i64 1, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %25 = call i64 @FUNC() store i64 %sv_0.1.reload, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_1, { 1, 2, 0 } uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 2, 0, 1 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
get_sha1_oneline_18812
get_sha1_oneline
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge5.reg2mem = alloca i64 %sv_0.09.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %.reg2mem30 = alloca i8* %.reg2mem28 = alloca i8* %.reg2mem26 = alloca i8* %.reg2mem24 = alloca i8* %.reg2mem22 = alloca i8* %.reg2mem20 = alloca i8* %.reg2mem18 = alloca i8* %.reg2mem16 = alloca i8* %.reg2mem = alloca i64 %storemerge37.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %sv_5 = alloca i64, align 8 store i64 0, i64* %sv_5, align 8 store i64 0, i64* %sv_4, align 8 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 33 %4 = icmp eq i1 %3, false store i64 %arg1, i64* %sv_1.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = add i64 %arg1, 1 %6 = inttoptr i64 %5 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 33 store i64 %5, i64* %sv_1.0.reg2mem br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %arg1) unreachable LBL_3: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %10 = call i64 @FUNC(i64 4198878, i64* nonnull %sv_5) %storemerge36 = load i64, i64* %sv_5, align 8 %11 = icmp eq i64 %storemerge36, 0 %12 = icmp eq i1 %11, false store i64 %storemerge36, i64* %storemerge37.reg2mem store i64 %storemerge36, i64* %.reg2mem br i1 %12, label LBL_4, label LBL_6 LBL_4: %storemerge37.reload = load i64, i64* %storemerge37.reg2mem %13 = inttoptr i64 %storemerge37.reload to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14, i64* nonnull %sv_4) %16 = add i64 %storemerge37.reload, 8 %17 = inttoptr i64 %16 to i64* %storemerge3 = load i64, i64* %17, align 8 %18 = icmp eq i64 %storemerge3, 0 %19 = icmp eq i1 %18, false store i64 %storemerge3, i64* %storemerge37.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_5: %.pre = load i64, i64* %sv_5, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_6 LBL_6: %20 = ptrtoint i64* %arg2 to i64 %.reload = load i64, i64* %.reg2mem %21 = icmp eq i64 %.reload, 0 %22 = icmp eq i1 %21, false store i8* null, i8** %.reg2mem16 store i8* null, i8** %.reg2mem18 store i64 4294967295, i64* %sv_0.09.reg2mem br i1 %22, label LBL_7, label LBL_18 LBL_7: %.reload19 = load i8*, i8** %.reg2mem18 %.reload17 = load i8*, i8** %.reg2mem16 %23 = call i64 @FUNC(i64* nonnull %sv_5, i64 1) %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i8* %.reload19, null br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = bitcast i8* %.reload19 to i64* call void @free(i64* %26) br label LBL_9 LBL_9: %27 = add i64 %23, 24 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = inttoptr i64 %29 to i8* store i8* %.reload17, i8** %.reg2mem20 store i8* %31, i8** %.reg2mem22 store i8* %.reload19, i8** %.reg2mem24 br label LBL_12 LBL_11: %32 = call i64 @FUNC(i64 %23, i64* nonnull %sv_2, i64* nonnull %sv_3) %33 = inttoptr i64 %32 to i8* %34 = icmp eq i64 %32, 0 store i8* %33, i8** %.reg2mem20 store i8* %33, i8** %.reg2mem22 store i8* %33, i8** %.reg2mem24 store i8* %.reload17, i8** %.reg2mem26 store i8* %.reload19, i8** %.reg2mem28 br i1 %34, label LBL_14, label LBL_12 LBL_12: %.reload25 = load i8*, i8** %.reg2mem24 %.reload23 = load i8*, i8** %.reg2mem22 %.reload21 = load i8*, i8** %.reg2mem20 %35 = call i8* @strstr(i8* %.reload23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %36 = icmp eq i8* %35, null store i8* %.reload21, i8** %.reg2mem26 store i8* %.reload25, i8** %.reg2mem28 br i1 %36, label LBL_14, label LBL_13 LBL_13: %37 = ptrtoint i8* %35 to i64 %38 = add i64 %37, 2 %39 = call i64 @FUNC(i64 %38, i64 %sv_1.0.reload) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i8* %.reload21, i8** %.reg2mem26 store i8* %.reload25, i8** %.reg2mem28 br i1 %42, label LBL_14, label LBL_15 LBL_14: %.reload29 = load i8*, i8** %.reg2mem28 %.reload27 = load i8*, i8** %.reg2mem26 %43 = load i64, i64* %sv_5, align 8 %44 = icmp eq i64 %43, 0 %45 = icmp eq i1 %44, false store i8* %.reload27, i8** %.reg2mem16 store i8* %.reload29, i8** %.reg2mem18 store i8* %.reload27, i8** %.reg2mem30 store i64 4294967295, i64* %sv_0.0.reg2mem br i1 %45, label LBL_7, label LBL_16 LBL_15: %46 = call i64 @FUNC(i64 %20, i64 %23) store i8* %.reload21, i8** %.reg2mem30 store i64 0, i64* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %.reload31 = load i8*, i8** %.reg2mem30 %47 = icmp eq i8* %.reload31, null store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem br i1 %47, label LBL_18, label LBL_17 LBL_17: %48 = bitcast i8* %.reload31 to i64* call void @free(i64* %48) store i64 %sv_0.0.reload, i64* %sv_0.09.reg2mem br label LBL_18 LBL_18: %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem %49 = load i64, i64* %sv_5, align 8 %50 = call i64 @FUNC(i64 %49) %storemerge4 = load i64, i64* %sv_4, align 8 %51 = icmp eq i64 %storemerge4, 0 %52 = icmp eq i1 %51, false store i64 %storemerge4, i64* %storemerge5.reg2mem br i1 %52, label LBL_19, label LBL_20 LBL_19: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %53 = inttoptr i64 %storemerge5.reload to i64* %54 = load i64, i64* %53, align 8 %55 = call i64 @FUNC(i64 %54, i64 1) %56 = add i64 %storemerge5.reload, 8 %57 = inttoptr i64 %56 to i64* %storemerge = load i64, i64* %57, align 8 %58 = icmp eq i64 %storemerge, 0 %59 = icmp eq i1 %58, false store i64 %storemerge, i64* %storemerge5.reg2mem br i1 %59, label LBL_19, label LBL_20 LBL_20: ret i64 %sv_0.09.reload uselistorder i64 %storemerge5.reload, { 1, 0 } uselistorder i8* %.reload31, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i8* %.reload21, { 0, 2, 1 } uselistorder i8* %.reload25, { 1, 0 } uselistorder i64 %32, { 1, 0 } uselistorder i64 %23, { 0, 2, 1, 3 } uselistorder i64 %storemerge37.reload, { 1, 0 } uselistorder i64* %sv_5, { 4, 5, 2, 0, 1, 3, 6 } uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i8** %.reg2mem16, { 2, 0, 1 } uselistorder i8** %.reg2mem18, { 2, 0, 1 } uselistorder i8** %.reg2mem26, { 0, 3, 1, 2 } uselistorder i8** %.reg2mem28, { 0, 3, 1, 2 } uselistorder i8** %.reg2mem30, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.09.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i8* null, { 4, 2, 3, 0, 1 } uselistorder i1 false, { 3, 2, 5, 4, 1, 6, 0, 7 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_18, { 1, 2, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_14, { 0, 2, 1 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
MPV_common_end_13871
MPV_common_end
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = inttoptr i64 %arg1 to i64* call void @free(i64* %1) br label LBL_2 LBL_2: %2 = add i64 %arg1, 80 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i64* call void @free(i64* %11) %12 = add i64 %arg1, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = inttoptr i64 %16 to i64* call void @free(i64* %17) %18 = add i64 %arg1, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i64* call void @free(i64* %21) %22 = add i64 %arg1, 32 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = inttoptr i64 %24 to i64* call void @free(i64* %25) br label LBL_4 LBL_4: %26 = add i64 %arg1, 40 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = inttoptr i64 %28 to i64* call void @free(i64* %30) br label LBL_6 LBL_6: %31 = add i64 %arg1, 48 %32 = inttoptr i64 %31 to i64* %33 = add i64 %arg1, 56 %34 = inttoptr i64 %33 to i64* %35 = add i64 %arg1, 72 %36 = inttoptr i64 %35 to i32* %37 = add i64 %arg1, 64 %38 = inttoptr i64 %37 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %39 = load i64, i64* %32, align 8 %40 = mul i64 %indvars.iv.reload, 8 %41 = add i64 %39, %40 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = inttoptr i64 %43 to i64* call void @free(i64* %44) %45 = load i64, i64* %34, align 8 %46 = add i64 %45, %40 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i64* call void @free(i64* %49) %50 = load i32, i32* %36, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_9, label LBL_8 LBL_8: %52 = load i64, i64* %38, align 8 %53 = add i64 %52, %40 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = inttoptr i64 %55 to i64* call void @free(i64* %56) br label LBL_9 LBL_9: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_10, label LBL_7 LBL_10: %57 = add i64 %arg1, 76 %58 = inttoptr i64 %57 to i32* store i32 0, i32* %58, align 4 ret i64 %arg1 uselistorder i64 %40, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder i64 %arg1, { 9, 8, 5, 4, 6, 7, 10, 2, 1, 3, 12, 11, 0, 13 } }
1
BinRealVul
pci_prep_init_16726
pci_prep_init
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 8) %1 = call i64 @FUNC(i64 4198928, i64 4198935, i64 %arg1, i64 0, i64 2) %2 = inttoptr i64 %0 to i64* store i64 %1, i64* %2, align 8 %3 = call i64 @FUNC(i64 3320, i64 4, i64 4, i64 4198942, i64 %0) %4 = call i64 @FUNC(i64 3320, i64 4, i64 4, i64 4198949, i64 %0) %5 = call i64 @FUNC(i64 3324, i64 4, i64 1, i64 4198956, i64 %0) %6 = call i64 @FUNC(i64 3324, i64 4, i64 2, i64 4198963, i64 %0) %7 = call i64 @FUNC(i64 3324, i64 4, i64 4, i64 4198970, i64 %0) %8 = call i64 @FUNC(i64 3324, i64 4, i64 1, i64 4198977, i64 %0) %9 = call i64 @FUNC(i64 3324, i64 4, i64 2, i64 4198984, i64 %0) %10 = call i64 @FUNC(i64 3324, i64 4, i64 4, i64 4198991, i64 %0) %11 = call i64 @FUNC(i64 0, i64 4198998, i64 4199005, i64 %0) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 2155872256, i64 4194304, i64 %12) %14 = load i64, i64* %2, align 8 %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 256, i64 0, i64 0, i64 0) %16 = inttoptr i64 %15 to i8* store i8 87, i8* %16, align 1 %17 = add i64 %15, 1 %18 = inttoptr i64 %17 to i8* store i8 16, i8* %18, align 1 %19 = add i64 %15, 2 %20 = inttoptr i64 %19 to i8* store i8 1, i8* %20, align 1 %21 = add i64 %15, 3 %22 = inttoptr i64 %21 to i8* store i8 72, i8* %22, align 1 %23 = add i64 %15, 8 %24 = inttoptr i64 %23 to i8* store i8 0, i8* %24, align 1 %25 = add i64 %15, 10 %26 = inttoptr i64 %25 to i8* store i8 0, i8* %26, align 1 %27 = add i64 %15, 11 %28 = inttoptr i64 %27 to i8* store i8 6, i8* %28, align 1 %29 = add i64 %15, 12 %30 = inttoptr i64 %29 to i8* store i8 8, i8* %30, align 1 %31 = add i64 %15, 13 %32 = inttoptr i64 %31 to i8* store i8 16, i8* %32, align 1 %33 = add i64 %15, 14 %34 = inttoptr i64 %33 to i8* store i8 0, i8* %34, align 1 %35 = add i64 %15, 52 %36 = inttoptr i64 %35 to i8* store i8 0, i8* %36, align 1 %37 = load i64, i64* %2, align 8 ret i64 %37 uselistorder i64 1, { 2, 0, 1 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_read, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 3, 2, 1, 0 } uselistorder i64 4, { 1, 0, 2, 3, 5, 4, 6, 7, 9, 8, 11, 10 } uselistorder i64 2, { 3, 0, 1, 2 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
__unioxx5_subdev_init_18518
__unioxx5_subdev_init
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 52, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_13 LBL_1: %sext = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext, 32 %4 = ptrtoint i64* %arg1 to i64 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %4, i64 %5, i64 256) %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 store i64 %9, i64* %rax.0.reg2mem br label LBL_13 LBL_3: %10 = ptrtoint i64* %arg2 to i64 %11 = inttoptr i64 %0 to i32* %12 = trunc i64 %3 to i32 store i32 %12, i32* %11, align 4 %13 = add nsw i64 %3, 5 %14 = and i64 %13, 4294967295 %15 = add nsw i64 %3, 6 %16 = and i64 %15, 4294967295 %17 = add i64 %0, 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_4 LBL_4: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = mul i64 %indvars.iv.reload, 2 %19 = call i64 @FUNC(i64 %0, i64 %18) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %20 = call i64 @FUNC(i64 %indvars.iv.next, i64 %14) %21 = call i64 @FUNC(i64 72, i64 %16) br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %5) %23 = urem i64 %22, 2 %24 = icmp eq i64 %23, 0 br i1 %24, label LBL_5, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 0, i64 %16) store i32 10000, i32* %sv_0.0.reg2mem br label LBL_8 LBL_7: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %26 = add i32 %sv_0.0.reload, -1 %27 = icmp eq i32 %26, 0 %28 = icmp slt i32 %26, 0 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %27, false %31 = icmp eq i1 %29, %30 store i32 %26, i32* %sv_0.0.reg2mem br i1 %31, label LBL_8, label LBL_9 LBL_8: %32 = call i64 @FUNC(i64 %5) %33 = and i64 %32, 2 %34 = icmp eq i64 %33, 0 br i1 %34, label LBL_7, label LBL_10 LBL_9: %35 = mul i64 %indvars.iv.reload, 4 %36 = add i64 %35, %17 %37 = inttoptr i64 %36 to i32* store i32 0, i32* %37, align 4 br label LBL_11 LBL_10: %38 = call i64 @FUNC(i64 %16) %39 = trunc i64 %38 to i32 %40 = mul i64 %indvars.iv.reload, 4 %41 = add i64 %40, %17 %42 = inttoptr i64 %41 to i32* store i32 %39, i32* %42, align 4 br label LBL_11 LBL_11: %43 = call i64 @FUNC(i64 1) %exitcond = icmp eq i64 %indvars.iv.next, 12 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_4 LBL_12: %44 = bitcast i64* %arg2 to i32* store i32 1, i32* %44, align 4 %45 = add i64 %10, 8 %46 = inttoptr i64 %45 to i64* store i64 %0, i64* %46, align 8 %47 = add i64 %10, 16 %48 = inttoptr i64 %47 to i32* store i32 3, i32* %48, align 4 %49 = add i64 %10, 20 %50 = inttoptr i64 %49 to i32* store i32 12, i32* %50, align 4 %51 = add i64 %10, 24 %52 = inttoptr i64 %51 to i32* store i32 4095, i32* %52, align 4 %53 = add i64 %10, 32 %54 = inttoptr i64 %53 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %54, align 8 %55 = add i64 %10, 40 %56 = inttoptr i64 %55 to i64* store i64 4198802, i64* %56, align 8 %57 = add i64 %10, 48 %58 = inttoptr i64 %57 to i64* store i64 4198825, i64* %58, align 8 %59 = add i64 %10, 56 %60 = inttoptr i64 %59 to i64* store i64 4198848, i64* %60, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 3, 2, 0, 1 } uselistorder i64 %17, { 1, 0 } uselistorder i64 %0, { 2, 1, 0, 3, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @inb, { 2, 1, 0 } uselistorder i64 (i64, i64)* @outb, { 2, 1, 0 } uselistorder i64 1, { 1, 0 } uselistorder i64 2, { 2, 1, 0 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder label LBL_13, { 1, 2, 0 } }
1
BinRealVul
visit_type_uint64_14440
visit_type_uint64
define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg4 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false store i64 %1, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = icmp eq i64* %arg4, null store i64 %5, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = ptrtoint i64* %arg2 to i64 store i64 %7, i64* %arg2, align 8 store i64 %7, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } }
1
BinRealVul
decode_422_bitstream_14809
decode_422_bitstream
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp slt i32 %1, 0 %3 = zext i1 %2 to i32 %4 = add i32 %3, %1 %5 = ashr i32 %4, 1 %6 = add i64 %0, 24 %7 = call i64 @FUNC(i64 %6) %sext = mul i64 %7, 4294967296 %8 = ashr exact i64 %sext, 32 %narrow = mul nsw i64 %8, -2078209981 %9 = udiv i64 %narrow, 4294967296 %10 = trunc i64 %9 to i32 %11 = trunc i64 %7 to i32 %12 = add i32 %10, %11 %13 = ashr i32 %12, 6 %14 = ashr i32 %11, 31 %15 = sub nsw i32 %13, %14 %16 = zext i32 %15 to i64 %17 = sext i32 %5 to i64 %18 = icmp slt i64 %17, %16 br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = icmp sgt i32 %4, 1 store i32 0, i32* %storemerge3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_6 LBL_2: %20 = icmp sgt i32 %5, 0 %smax = select i1 %20, i32 %5, i32 0 %21 = zext i32 %smax to i64 store i64 %21, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %22 = add nuw nsw i32 %storemerge3.reload, 1 %23 = icmp slt i32 %22, %5 store i32 %22, i32* %storemerge3.reg2mem br i1 %23, label LBL_4, label LBL_3.LBL_6.loopexit2_crit_edge LBL_4: %24 = call i64 @FUNC(i64 %6) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp slt i32 %25, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 store i64 %24, i64* %rax.0.reg2mem br i1 %30, label LBL_3, label LBL_6 LBL_5: %31 = zext i32 %22 to i64 store i64 %31, 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 %25, { 1, 0 } uselistorder i32 %22, { 1, 0, 2 } uselistorder i32 %11, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i32 %5, { 2, 0, 1, 3 } uselistorder i32 %1, { 1, 0 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2 } uselistorder i1 false, { 1, 0 } uselistorder i64 4294967296, { 1, 0 } uselistorder i64 (i64)* @get_bits_left, { 1, 0 } uselistorder i32 0, { 4, 5, 2, 3, 0, 1 } uselistorder label LBL_6, { 2, 0, 3, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
gf_odf_read_ipmp_tool_12390
gf_odf_read_ipmp_tool
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.02.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_1 = alloca i32, align 4 %0 = icmp eq i64* %arg2, null %1 = icmp eq i1 %0, false store i64 1, i64* %rax.0.reg2mem br i1 %1, label LBL_1, label LBL_12 LBL_1: %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 16) %5 = call i64 @FUNC(i64 %3, i64 1) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %3, i64 1) %8 = call i64 @FUNC(i64 %3, i64 6) %9 = icmp eq i32 %6, 0 store i32 17, i32* %sv_0.1.reg2mem br i1 %9, label LBL_6, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %3, i64 8) %11 = trunc i64 %10 to i32 %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = icmp eq i32 %11, 0 store i32 18, i32* %sv_0.1.reg2mem br i1 %14, label LBL_6, label LBL_3 LBL_3: %15 = add i64 %2, 20 store i64 0, i64* %indvars.iv.reg2mem store i32 18, i32* %sv_0.02.reg2mem br label LBL_4 LBL_4: %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %16 = mul i64 %indvars.iv.reload, 16 %17 = add i64 %15, %16 %18 = call i64 @FUNC(i64 %3, i64 %17, i64 16) %19 = add i32 %sv_0.02.reload, 16 %20 = icmp ugt i32 %19, %arg3 store i32 %19, i32* %sv_0.1.reg2mem br i1 %20, label LBL_6, label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %21 = load i32, i32* %13, align 4 %22 = zext i32 %21 to i64 %23 = icmp ult i64 %indvars.iv.next, %22 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %19, i32* %sv_0.02.reg2mem store i32 %19, i32* %sv_0.1.reg2mem br i1 %23, label LBL_4, label LBL_6 LBL_6: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %24 = icmp ugt i32 %sv_0.1.reload, %arg3 store i64 2, i64* %rax.0.reg2mem br i1 %24, label LBL_12, label LBL_7 LBL_7: %25 = icmp ult i32 %sv_0.1.reload, %arg3 %26 = icmp eq i1 %25, false store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %26, label LBL_11, label LBL_8 LBL_8: %27 = bitcast i32* %sv_1 to i64* %28 = call i64 @FUNC(i64 %3, i64* nonnull %27) %29 = load i32, i32* %sv_1, align 4 %30 = icmp ult i32 %29, 16777216 store i64 2, i64* %rax.0.reg2mem br i1 %30, label LBL_9, label LBL_12 LBL_9: %31 = trunc i64 %28 to i32 %32 = add i32 %sv_0.1.reload, %31 %33 = icmp eq i32 %29, 0 store i32 %32, i32* %sv_0.2.reg2mem br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = add i32 %29, 1 %35 = zext i32 %34 to i64 %36 = call i64 @FUNC(i64 %35) %37 = add i64 %2, 280 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 %39 = load i32, i32* %sv_1, align 4 %40 = zext i32 %39 to i64 %41 = call i64 @FUNC(i64 %3, i64 %36, i64 %40) %42 = load i64, i64* %38, align 8 %43 = load i32, i32* %sv_1, align 4 %44 = zext i32 %43 to i64 %45 = add i64 %42, %44 %46 = inttoptr i64 %45 to i8* store i8 0, i8* %46, align 1 %47 = load i32, i32* %sv_1, align 4 %48 = add i32 %47, %32 store i32 %48, i32* %sv_0.2.reg2mem br label LBL_11 LBL_11: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %49 = icmp eq i32 %sv_0.2.reload, %arg3 %. = select i1 %49, i64 0, i64 3 store i64 %., 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 %32, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 3, 0, 1, 2 } uselistorder i32 %19, { 0, 2, 1, 3 } uselistorder i64 %3, { 2, 3, 0, 1, 7, 6, 5, 4 } uselistorder i64 %2, { 2, 0, 1, 3 } uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 } uselistorder i32 18, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @gf_bs_read_data, { 2, 1, 0 } uselistorder i64 16, { 1, 0, 3, 2 } uselistorder i64 1, { 1, 2, 3, 0 } uselistorder i32 %arg3, { 1, 3, 2, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
iscsi_retry_timer_expired_16464
iscsi_retry_timer_expired
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 1, i32* %1, align 4 %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.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %4, i64 0) store i64 %6, 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
avi_load_index_9223
avi_load_index
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = load i64, i64* %5, align 8 %9 = call i64 @FUNC(i64 %6, i64 %8, i64 0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 store i32 -1, i32* %sv_0.2.reg2mem br i1 %11, label LBL_11, label LBL_1 LBL_1: %12 = load i64, i64* %5, align 8 %13 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %2, i64 %1) %14 = bitcast i64* %arg1 to i32* store i32 -1, i32* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %15 = call i64 @FUNC(i64 %6) %16 = call i64 @FUNC(i64 %6) %17 = call i64 @FUNC(i64 %6) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br i1 %20, label LBL_11, label LBL_3 LBL_3: %21 = trunc i64 %15 to i32 %22 = call i64 @FUNC(i64 %6) %23 = and i64 %16, 4294967295 %24 = icmp eq i32 %21, 829973609 %25 = icmp eq i1 %24, false br i1 %25, label LBL_6, label LBL_4 LBL_4: %26 = call i64 @FUNC(i64 %3, i64 %23) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 br i1 %28, label LBL_6, label LBL_5 LBL_5: store i32 2, i32* %14, align 4 store i32 0, i32* %sv_0.1.reg2mem br label LBL_10 LBL_6: %29 = icmp eq i32 %21, 1414744396 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %6) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 1330007625 %34 = icmp eq i1 %33, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %34, label LBL_10, label LBL_8 LBL_8: %35 = add i64 %16, 4294967292 %36 = and i64 %35, 4294967295 %37 = call i64 @FUNC(i64 %3, i64 %36) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_10 LBL_9: %38 = icmp eq i32 %sv_0.0.reload, 0 store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem store i32 0, i32* %sv_0.2.reg2mem br i1 %38, label LBL_11, label LBL_10 LBL_10: %39 = urem i64 %16, 2 %40 = add nuw nsw i64 %39, %23 %41 = add i64 %40, %22 %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %42 = call i64 @FUNC(i64 %6, i64 %41, i64 0) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br i1 %44, label LBL_11, label LBL_2 LBL_11: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %45 = call i64 @FUNC(i64 %6, i64 %7, i64 0) %46 = zext i32 %sv_0.2.reload to i64 ret i64 %46 uselistorder i32 %sv_0.0.reload, { 3, 4, 1, 2, 0 } uselistorder i64 %6, { 6, 1, 0, 2, 3, 5, 4, 7, 8 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 2, 3, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @avio_rl32, { 2, 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i32 0, { 2, 0, 3, 1, 4, 5, 6 } uselistorder i64 (i64, i64, i64)* @avio_seek, { 2, 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 0 } }
0
BinRealVul
my_free_13541
my_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8 %0 = inttoptr i64 %arg1 to i64* call void @free(i64* %0) ret i64 ptrtoint (i32* @0 to i64) }
0
BinRealVul
check_watchpoint_17235
check_watchpoint
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.pre-phi14.reg2mem = alloca i32* %.reg2mem = alloca i32 %storemerge910.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i32, align 4 %0 = load i64, i64* @gv_0, align 8 %1 = inttoptr i64 %0 to i32* %2 = load i32, i32* %1, align 4 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0, i64 1) store i64 %4, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %0, 24 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 %8, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_17 LBL_3: %sext5 = mul i64 %arg2, 4294967296 %sext = mul i64 %arg1, 4294967296 %11 = and i64 %7, -4096 %12 = ashr exact i64 %sext, 32 %13 = add i64 %11, %12 %14 = ashr exact i64 %sext5, 32 %15 = trunc i64 %arg3 to i32 %16 = add i64 %0, 16 %17 = inttoptr i64 %16 to i64* %18 = add i64 %0, 32 %19 = inttoptr i64 %18 to i32* %20 = bitcast i32* %sv_2 to i64* store i64 %8, i64* %storemerge910.reg2mem br label LBL_4 LBL_4: %storemerge910.reload = load i64, i64* %storemerge910.reg2mem %21 = inttoptr i64 %storemerge910.reload to i64* %22 = load i64, i64* %21, align 8 %23 = and i64 %22, %14 %24 = icmp eq i64 %13, %23 br i1 %24, label LBL_7, label LBL_5 LBL_5: %25 = add i64 %storemerge910.reload, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = sext i32 %27 to i64 %29 = and i64 %13, %28 %30 = icmp eq i64 %29, %22 %31 = icmp eq i1 %30, false br i1 %31, label LBL_5.LBL_15_crit_edge, label LBL_7 LBL_6: %.pre = add i64 %storemerge910.reload, 12 %.pre13 = inttoptr i64 %.pre to i32* %.pre15 = load i32, i32* %.pre13, align 4 store i32 %.pre15, i32* %.reg2mem store i32* %.pre13, i32** %.pre-phi14.reg2mem br label LBL_15 LBL_7: %32 = add i64 %storemerge910.reload, 12 %33 = inttoptr i64 %32 to i32* %34 = load i32, i32* %33, align 4 %35 = and i32 %34, %15 %36 = icmp eq i32 %35, 0 store i32 %34, i32* %.reg2mem store i32* %33, i32** %.pre-phi14.reg2mem br i1 %36, label LBL_15, label LBL_8 LBL_8: %37 = or i32 %34, 1 store i32 %37, i32* %33, align 4 %38 = load i32, i32* %1, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_16, label LBL_9 LBL_9: %41 = trunc i64 %storemerge910.reload to i32 store i32 %41, i32* %1, align 4 %42 = load i64, i64* %17, align 8 %43 = call i64 @FUNC(i64 %42) %44 = icmp eq i64 %43, 0 %45 = icmp eq i1 %44, false br i1 %45, label LBL_11, label LBL_10 LBL_10: %46 = load i64, i64* %17, align 8 %47 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %46) br label LBL_11 LBL_11: %48 = load i64, i64* %17, align 8 %49 = call i64 @FUNC(i64 %43, i64 %0, i64 %48) %50 = call i64 @FUNC(i64 %43, i64 4294967295) %51 = load i32, i32* %33, align 4 %52 = and i32 %51, 2 %53 = icmp eq i32 %52, 0 br i1 %53, label LBL_13, label LBL_12 LBL_12: store i32 1, i32* %19, align 4 br label LBL_14 LBL_13: %54 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %20) %55 = load i32, i32* %sv_2, align 4 %56 = zext i32 %55 to i64 %57 = load i64, i64* %sv_1, align 8 %58 = load i64, i64* %sv_0, align 8 %59 = call i64 @FUNC(i64 %0, i64 %58, i64 %57, i64 %56, i64 1) br label LBL_14 LBL_14: %60 = call i64 @FUNC(i64 %0, i64 0) br label LBL_16 LBL_15: %.pre-phi14.reload = load i32*, i32** %.pre-phi14.reg2mem %.reload = load i32, i32* %.reg2mem %61 = and i32 %.reload, -2 store i32 %61, i32* %.pre-phi14.reload, align 4 br label LBL_16 LBL_16: %62 = add i64 %storemerge910.reload, 16 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 %65 = icmp eq i64 %64, 0 %66 = icmp eq i1 %65, false store i64 %64, i64* %storemerge910.reg2mem store i64 %64, i64* %rax.0.reg2mem br i1 %66, label LBL_4, label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %43, { 1, 0, 2 } uselistorder i32 %34, { 2, 0, 1 } uselistorder i32* %33, { 1, 2, 0, 3 } uselistorder i64 %22, { 1, 0 } uselistorder i64 %storemerge910.reload, { 4, 0, 1, 5, 2, 3 } uselistorder i64* %17, { 1, 0, 2 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i32* %1, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 3, 5, 0, 4, 6, 7, 8, 9, 10 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge910.reg2mem, { 1, 0, 2 } uselistorder i64 12, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder i32 1, { 14, 15, 11, 13, 12, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
xhci_fire_ctl_transfer_116
xhci_fire_ctl_transfer
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %rdx.0.ph.reg2mem = alloca i64 %.pre-phi17.reg2mem = alloca i32 %.pre-phi21.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rsi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg2 to i64 %7 = and i64 %3, 4294967295 %8 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %5, i64 %2, i64 %1) %9 = add i64 %6, 56 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 64 %15 = icmp eq i32 %14, 2 br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = zext i32 %14 to i64 %17 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %16) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_2: %19 = add i64 %6, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = sext i32 %21 to i64 %23 = add i64 %11, -1 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = urem i32 %26, 64 %28 = icmp eq i32 %27, 1 %29 = icmp eq i1 %28, false %30 = icmp slt i32 %21, 3 %or.cond = or i1 %30, %29 %31 = add i64 %24, -16 %32 = inttoptr i64 %31 to i32* %sv_0.0 = select i1 %or.cond, i32* %25, i32* %32 %33 = load i32, i32* %sv_0.0, align 4 %34 = urem i32 %33, 64 %35 = icmp eq i32 %34, 3 br i1 %35, label LBL_4, label LBL_3 LBL_3: %36 = zext i32 %34 to i64 %37 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %37, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_3, i64 0, i64 0), i64 %36) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_4: %39 = urem i32 %13, 2 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_6, label LBL_5 LBL_5: %42 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %43 = call i32 @fwrite(i64* bitcast ([38 x i8]* @gv_4 to i64*), i32 1, i32 37, %_IO_FILE* %42) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_6: %44 = add i64 %11, 4 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = urem i32 %46, 131072 %48 = icmp eq i32 %47, 8 br i1 %48, label LBL_8, label LBL_7 LBL_7: %49 = zext i32 %47 to i64 %50 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %51 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %50, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0), i64 %49) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_8: %52 = add i64 %11, 8 %53 = inttoptr i64 %52 to i64* %54 = load i64, i64* %53, align 8 %55 = udiv i64 %54, 281474976710656 %.tr = trunc i64 %55 to i32 %sext11 = mul i32 %.tr, 65536 %56 = ashr exact i32 %sext11, 16 %57 = add i64 %6, 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, 0 br i1 %60, label LBL_8.LBL_12_crit_edge, label LBL_10 LBL_9: %.pre = urem i32 %56, 65536 %.pre18 = add i64 %6, 16 %.pre20 = inttoptr i64 %.pre18 to i32* store i32* %.pre20, i32** %.pre-phi21.reg2mem store i32 %.pre, i32* %.pre-phi17.reg2mem store i64 %11, i64* %rdx.0.ph.reg2mem br label LBL_12 LBL_10: %61 = add i64 %6, 16 %62 = inttoptr i64 %61 to i32* %63 = load i32, i32* %62, align 4 %64 = urem i32 %56, 65536 %65 = icmp ult i32 %63, %64 store i32 %64, i32* %.pre-phi.reg2mem store i64 ptrtoint ([33 x i8]* @gv_0 to i64), i64* %rdi.1.reg2mem br i1 %65, label LBL_11, label LBL_13 LBL_11: %66 = zext i32 %63 to i64 store i32 0, i32* %62, align 4 %67 = load i64, i64* %58, align 8 %68 = call i64 @FUNC(i64 %67) store i64 0, i64* %58, align 8 store i32* %62, i32** %.pre-phi21.reg2mem store i32 %64, i32* %.pre-phi17.reg2mem store i64 %66, i64* %rdx.0.ph.reg2mem br label LBL_12 LBL_12: %rdx.0.ph.reload = load i64, i64* %rdx.0.ph.reg2mem %.pre-phi17.reload = load i32, i32* %.pre-phi17.reg2mem %.pre-phi21.reload = load i32*, i32** %.pre-phi21.reg2mem %69 = zext i32 %.pre-phi17.reload to i64 %70 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i64 %69, i64 %rdx.0.ph.reload, i64 %5, i64 %2, i64 %1) %71 = add nuw nsw i32 %.pre-phi17.reload, 1 %72 = zext i32 %71 to i64 %73 = call i64 @FUNC(i64 %72) store i64 %73, i64* %58, align 8 store i32 %.pre-phi17.reload, i32* %.pre-phi21.reload, align 4 store i32 %.pre-phi17.reload, i32* %.pre-phi.reg2mem store i64 %72, i64* %rdi.1.reg2mem br label LBL_13 LBL_13: %74 = ptrtoint i64* %arg1 to i64 %75 = bitcast i64* %rsi to i32* %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %76 = add i64 %6, 20 %77 = inttoptr i64 %76 to i32* store i32 %.pre-phi.reload, i32* %77, align 4 %78 = add i64 %74, 8 %79 = inttoptr i64 %78 to i64* %80 = load i64, i64* %79, align 8 %81 = load i32, i32* %75, align 8 %82 = sext i32 %81 to i64 %83 = mul i64 %82, 8 %84 = add nsw i64 %83, -8 %85 = add i64 %84, %80 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = sext i32 %87 to i64 %89 = add i64 %rdi.1.reload, -1 %90 = add i64 %89, %88 %91 = add i64 %85, 4 %92 = inttoptr i64 %91 to i32* %93 = load i32, i32* %92, align 4 %94 = zext i32 %93 to i64 %95 = call i64 @FUNC(i64 %90, i64 %94) %96 = icmp eq i64 %95, 0 %97 = icmp eq i1 %96, false br i1 %97, label LBL_15, label LBL_14 LBL_14: %98 = load i64, i64* %79, align 8 %99 = add i64 %84, %98 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = zext i32 %101 to i64 %103 = zext i32 %81 to i64 %104 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %105 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %104, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i64 %103, i64 %102) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_20 LBL_15: %106 = trunc i64 %54 to i8 %107 = icmp sgt i8 %106, -1 %108 = icmp eq i1 %107, false %109 = zext i1 %108 to i8 %110 = add i64 %6, 24 %111 = inttoptr i64 %110 to i8* store i8 %109, i8* %111, align 1 %112 = add i64 %6, 25 %113 = inttoptr i64 %112 to i8* store i8 0, i8* %113, align 1 %114 = call i64 @FUNC(i64 %6, i64 %95) %115 = load i8, i8* %111, align 1 %116 = icmp eq i8 %115, 1 %.pre14 = trunc i32 %56 to i16 br i1 %116, label LBL_17, label LBL_16 LBL_16: %117 = load i64, i64* %58, align 8 %118 = call i64 @FUNC(i64 %6, i64 %117, i16 %.pre14, i64 0, i64 1, i64 0) br label LBL_17 LBL_17: %119 = udiv i64 %54, 256 %120 = urem i64 %119, 256 %121 = udiv i64 %54, 65536 %122 = udiv i64 %54, 4294967296 %123 = trunc i64 %122 to i16 %124 = mul i64 %54, 256 %125 = and i64 %124, 65280 %126 = or i64 %125, %120 %127 = add i64 %6, 32 %128 = urem i64 %121, 65536 %129 = call i64 @FUNC(i64 %95, i64 %127, i64 %126, i64 %128, i16 %123, i16 %.pre14) %130 = and i64 %129, 4294967295 %131 = call i64 @FUNC(i64 %6, i64 %130) %132 = add i64 %6, 44 %133 = inttoptr i64 %132 to i8* %134 = load i8, i8* %133, align 1 %135 = icmp eq i8 %134, 1 store i64 0, i64* %rax.0.reg2mem br i1 %135, label LBL_20, label LBL_18 LBL_18: %136 = add i64 %6, 45 %137 = inttoptr i64 %136 to i8* %138 = load i8, i8* %137, align 1 %139 = icmp eq i8 %138, 1 store i64 0, i64* %rax.0.reg2mem br i1 %139, label LBL_20, label LBL_19 LBL_19: %140 = add i64 %6, 40 %141 = inttoptr i64 %140 to i32* %142 = load i32, i32* %141, align 4 %143 = load i32, i32* %75, align 8 %144 = zext i32 %143 to i64 %145 = call i64 @FUNC(i64 %74, i64 %144, i32 %142) store i64 0, i64* %rax.0.reg2mem br label LBL_20 LBL_20: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %64, { 1, 0, 2 } uselistorder i32 %63, { 1, 0 } uselistorder i64* %58, { 3, 2, 0, 1, 4 } uselistorder i32 %56, { 2, 0, 1 } uselistorder i64 %54, { 0, 2, 3, 4, 5, 1 } uselistorder i32 %47, { 1, 0 } uselistorder i32 %34, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %11, { 0, 2, 3, 1, 4 } uselistorder i64 %6, { 3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 12, 0, 11, 13, 14 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 8, 7, 6, 5, 4 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 256, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64 16, { 1, 0 } uselistorder i32 65536, { 1, 2, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_1, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder i64 0, { 2, 1, 0, 18, 17, 5, 6, 20, 7, 8, 21, 22, 9, 10, 11, 12, 13, 14, 15, 16, 3, 4, 19 } uselistorder [33 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_20, { 2, 1, 0, 3, 4, 5, 6, 7 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
1
BinRealVul
read_decode_block_15202
read_decode_block
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 %2, i64* %storemerge.in.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = call i64 @FUNC(i64 %1, i64 %0) store i64 %5, i64* %storemerge.in.reg2mem br label LBL_2 LBL_2: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
configure_filtergraph_1090
configure_filtergraph
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = ptrtoint i32* %arg1 to i64 br i1 %3, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %4) store i64 %5, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %6 = call i64 @FUNC(i64 %4) store i64 %6, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
png_read_finish_row_8996
png_read_finish_row
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0)) %4 = trunc i64 %1 to i32 %5 = add i32 %4, 1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = icmp ugt i32 %9, %4 store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_10, label LBL_1 LBL_1: %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_9, label LBL_2 LBL_2: store i32 0, i32* %6, align 4 %16 = add i64 %2, 28 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i32 %18, 1 %20 = add i64 %2, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i64* %24 = call i64* @memset(i64* %23, i32 0, i32 %19) %25 = add i64 %2, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i32 %27, 1 store i32 %28, i32* %26, align 4 %29 = icmp sgt i32 %28, 6 br i1 %29, label LBL_9, label LBL_3 LBL_3: %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i32* %32 = add i64 %2, 24 %33 = inttoptr i64 %32 to i32* %34 = add i64 %2, 32 %35 = inttoptr i64 %34 to i32* %36 = add i64 %2, 20 %37 = inttoptr i64 %36 to i32* store i32 %28, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %38 = load i32, i32* %31, align 4 %39 = sext i32 %.reload to i64 %40 = add i64 %39, ptrtoint (i8** @gv_1 to i64) %41 = inttoptr i64 %40 to i8* %42 = load i8, i8* %41, align 1 %43 = zext i8 %42 to i32 %44 = add i32 %38, %43 %45 = add i64 %39, ptrtoint (i8** @gv_2 to i64) %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = zext i8 %47 to i32 %49 = sub i32 0, %48 %50 = sub i32 %49, 1 %51 = add i32 %44, %50 %52 = ashr i32 %51, 31 %53 = zext i32 %51 to i64 %54 = zext i32 %52 to i64 %55 = mul i64 %54, 4294967296 %56 = or i64 %55, %53 %57 = zext i8 %42 to i64 %58 = sdiv i64 %56, %57 %59 = trunc i64 %58 to i32 store i32 %59, i32* %33, align 4 %60 = load i32, i32* %35, align 4 %61 = and i32 %60, 32 %62 = icmp eq i32 %61, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_8, label LBL_5 LBL_5: %64 = load i32, i32* %37, align 4 %65 = load i32, i32* %26, align 4 %66 = sext i32 %65 to i64 %67 = add i64 %66, ptrtoint (i8** @gv_3 to i64) %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %70 = zext i8 %69 to i32 %71 = add i32 %64, %70 %72 = add i64 %66, ptrtoint (i8** @gv_4 to i64) %73 = inttoptr i64 %72 to i8* %74 = load i8, i8* %73, align 1 %75 = zext i8 %74 to i32 %76 = sub i32 0, %75 %77 = sub i32 %76, 1 %78 = add i32 %71, %77 %79 = ashr i32 %78, 31 %80 = zext i32 %78 to i64 %81 = zext i32 %79 to i64 %82 = mul i64 %81, 4294967296 %83 = or i64 %82, %80 %84 = zext i8 %69 to i64 %85 = sdiv i64 %83, %84 %86 = trunc i64 %85 to i32 store i32 %86, i32* %8, align 4 %87 = icmp eq i32 %86, 0 br i1 %87, label LBL_6, label LBL_7 LBL_6: %88 = load i32, i32* %26, align 4 %89 = add i32 %88, 1 store i32 %89, i32* %26, align 4 %90 = icmp sgt i32 %89, 6 store i32 %89, i32* %.reg2mem br i1 %90, label LBL_9, label LBL_4 LBL_7: %91 = load i32, i32* %33, align 4 %92 = icmp eq i32 %91, 0 br i1 %92, label LBL_6, label LBL_8 LBL_8: %.pr = load i32, i32* %26, align 4 %93 = zext i32 %.pr to i64 %94 = icmp slt i32 %.pr, 7 store i64 %93, i64* %rax.0.reg2mem br i1 %94, label LBL_10, label LBL_9 LBL_9: %95 = call i64 @FUNC(i64 %2) store i64 %95, 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* %26, { 0, 4, 5, 3, 1, 2 } uselistorder i64 %2, { 7, 1, 0, 3, 2, 4, 6, 5, 8, 9 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 6, { 1, 0 } uselistorder i32 0, { 3, 4, 0, 5, 1, 2, 6, 7 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_9, { 2, 0, 1, 3 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
pgx_validate_11743
pgx_validate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %storemerge.in.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %3 = bitcast i32* %sv_0 to i64* %4 = call i64 @FUNC(i64 %1, i64* nonnull %3, i64 2) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = ptrtoint i64* %sv_1 to i64 %9 = add i64 %8, -18 store i32 %5, i32* %storemerge.in.reg2mem br label LBL_3 LBL_2: %10 = sext i32 %storemerge to i64 %11 = add i64 %9, %10 %12 = inttoptr i64 %11 to i8* %13 = load i8, i8* %12, align 1 %14 = zext i8 %13 to i64 %15 = call i64 @FUNC(i64 %1, i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, -1 %18 = icmp eq i1 %17, false store i32 %storemerge, i32* %storemerge.in.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_3, label LBL_6 LBL_3: %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem %storemerge = add i32 %storemerge.in.reload, -1 %19 = icmp slt i32 %storemerge, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_2, label LBL_4 LBL_4: %21 = icmp sgt i32 %5, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = load i32, i32* %sv_0, align 4 %23 = mul i32 %22, 256 %24 = and i32 %23, 65280 %25 = urem i32 %2, 256 %26 = or i32 %24, %25 %27 = icmp eq i32 %26, 20647 %. = select i1 %27, i64 0, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %storemerge, { 2, 1, 0 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 } uselistorder i32 256, { 1, 0, 2 } uselistorder label LBL_6, { 1, 2, 0, 3 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vty_putchars_17080
vty_putchars
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg3 to i32 %3 = call i64 @FUNC(i64 %1) %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5, i64 %0, i32 %2) ret i64 %6 }
1
BinRealVul
consistent_alloc_17978
consistent_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = add i64 %arg2, 4095 %1 = and i64 %0, -4096 %2 = call i64 @FUNC(i64 %1) %3 = and i64 %2, 4294967295 %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = call i64 @FUNC(i64 %5, i64 %3) %9 = call i64 @FUNC(i64 %5) %10 = call i64 @FUNC(i64 %9) store i64 %10, i64* %arg3, align 8 %11 = call i64 @FUNC(i64 %9, i64 %1) %12 = call i64 @FUNC(i64 %9) %13 = call i64 @FUNC(i64 %9) store i64 %13, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
cmp_15452
cmp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = sub i64 %0, %arg2 %2 = and i64 %1, 4294967295 ret i64 %2 }
1
BinRealVul
mptsas_config_manufacturing_1_2397
mptsas_config_manufacturing_1
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: ret i64 44 }
0
BinRealVul
close_connection_19215
close_connection
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 1, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %0, 16 %8 = call i64 @FUNC(i64 %7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
1
BinRealVul
GetPSDRowSize_13680
GetPSDRowSize
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = add i64 %0, 7 %7 = udiv i64 %6, 8 %8 = call i64 @FUNC(i64 %0) %9 = mul i64 %8, %7 store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %10 = call i64 @FUNC(i64 %0) %11 = mul i64 %10, %0 store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 0, 3, 2, 1, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @GetPSDPacketSize, { 1, 0 } }
0
BinRealVul
ctxt_switch_from_6116
ctxt_switch_from
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) store i64 0, i64* %arg1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 0, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 0, i64* %7, align 8 %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 0, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 0, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 0, i64* %13, align 8 %14 = call i64 @FUNC(i64 %0) %15 = add i64 %0, 232 %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) %20 = add i64 %0, 72 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %0, 80 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = call i64 @FUNC() %25 = add i64 %0, 88 %26 = inttoptr i64 %25 to i64* store i64 0, i64* %26, align 8 %27 = add i64 %0, 96 %28 = inttoptr i64 %27 to i64* store i64 0, i64* %28, align 8 %29 = add i64 %0, 104 %30 = inttoptr i64 %29 to i64* store i64 0, i64* %30, align 8 %31 = add i64 %0, 112 %32 = inttoptr i64 %31 to i64* store i64 0, i64* %32, align 8 %33 = load i32, i32* %16, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label LBL_2, label LBL_1 LBL_1: %38 = add i64 %0, 120 %39 = inttoptr i64 %38 to i64* store i64 0, i64* %39, align 8 br label LBL_2 LBL_2: %40 = add i64 %0, 128 %41 = inttoptr i64 %40 to i64* store i64 0, i64* %41, align 8 %42 = add i64 %0, 136 %43 = inttoptr i64 %42 to i64* store i64 0, i64* %43, align 8 %44 = add i64 %0, 144 %45 = inttoptr i64 %44 to i64* store i64 0, i64* %45, align 8 %46 = add i64 %0, 152 %47 = inttoptr i64 %46 to i64* store i64 0, i64* %47, align 8 %48 = add i64 %0, 160 %49 = inttoptr i64 %48 to i64* store i64 0, i64* %49, align 8 %50 = add i64 %0, 168 %51 = inttoptr i64 %50 to i64* store i64 0, i64* %51, align 8 %52 = add i64 %0, 176 %53 = inttoptr i64 %52 to i64* store i64 0, i64* %53, align 8 %54 = add i64 %0, 184 %55 = inttoptr i64 %54 to i64* store i64 0, i64* %55, align 8 %56 = load i32, i32* %16, align 4 %57 = zext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_4, label LBL_3 LBL_3: %61 = add i64 %0, 208 %62 = inttoptr i64 %61 to i64* store i64 0, i64* %62, align 8 br label LBL_4 LBL_4: %63 = add i64 %0, 216 %64 = inttoptr i64 %63 to i64* store i64 0, i64* %64, align 8 %65 = add i64 %0, 224 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 %67 = call i64 @FUNC(i64 %0) %68 = call i64 @FUNC(i64 %0) %69 = call i64 @FUNC() %70 = call i64 @FUNC(i64 %0) ret i64 %70 uselistorder i64 %0, { 2, 3, 4, 5, 6, 1, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 } uselistorder i64 ()* @isb, { 1, 0 } uselistorder i64 (i64)* @is_32bit_domain, { 2, 1, 0 } }
0
BinRealVul
efi_device_path_depth_17547
efi_device_path_depth
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.04.reg2mem = alloca i64 %storemerge25.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 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_5 LBL_1: %4 = trunc i64 %arg2 to i32 store i32 0, i32* %storemerge25.reg2mem store i64 %0, i64* %sv_0.04.reg2mem br label LBL_2 LBL_2: %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem %storemerge25.reload = load i32, i32* %storemerge25.reg2mem %5 = call i64 @FUNC(i64 %sv_0.04.reload) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %4, %6 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = zext i32 %storemerge25.reload to i64 store i64 %9, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %10 = call i64 @FUNC(i64 %sv_0.04.reload) %11 = add i32 %storemerge25.reload, 1 %12 = call i64 @FUNC(i64 %10) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i32 %11, i32* %storemerge25.reg2mem store i64 %10, i64* %sv_0.04.reg2mem store i64 4294967295, i64* %storemerge.reg2mem br i1 %14, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 } uselistorder i32 0, { 2, 0, 1 } uselistorder i64 (i64)* @IsDevicePathEnd, { 1, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
uhci_queue_fill_14189
uhci_queue_fill
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 0, i32* %sv_1, align 4 %6 = and i64 %2, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_1, label LBL_9 LBL_1: %11 = bitcast i32* %sv_0 to i64* %12 = trunc i64 %2 to i32 %13 = urem i32 %5, 2 %14 = icmp eq i32 %13, 0 %15 = add i64 %3, 16 %16 = inttoptr i64 %15 to i32* %17 = zext i32 %5 to i64 store i64 %6, i64* %.reg2mem store i32 %12, i32* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %.reload = load i64, i64* %.reg2mem %18 = call i64 @FUNC(i64 %.reload, i64* nonnull %11, i32 %storemerge3.reload) br i1 %14, label LBL_9, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64* nonnull %11) %20 = load i32, i32* %16, align 4 %21 = trunc i64 %19 to i32 %22 = icmp eq i32 %20, %21 %23 = icmp eq i1 %22, false br i1 %23, label LBL_9, label LBL_4 LBL_4: %24 = and i32 %storemerge3.reload, -16 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %25, i64 %17, i32 %4) %27 = call i64 @FUNC(i64 %25, i64 %3, i64* nonnull %11, i32 %storemerge3.reload, i32* nonnull %sv_1) %28 = trunc i64 %27 to i32 switch i32 %28, label LBL_5 [ i32 1, label LBL_9 i32 0, label LBL_6 ] LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 61, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %29 = load i32, i32* %sv_1, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 62, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %storemerge = load i32, i32* %sv_0, align 4 %31 = zext i32 %storemerge to i64 %32 = call i64 @FUNC(i64 %31) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, 0 %35 = icmp eq i1 %34, false store i64 %31, i64* %.reg2mem store i32 %storemerge, i32* %storemerge3.reg2mem br i1 %35, label LBL_2, label LBL_9 LBL_9: %36 = add i64 %3, 8 %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(i64 %40, i64 %38) ret i64 %41 uselistorder i64 %38, { 1, 0 } uselistorder i32 %storemerge3.reload, { 1, 0, 2 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64 %3, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i32* %1, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder i64 (i64)* @is_valid, { 1, 0 } uselistorder i32 0, { 5, 3, 1, 4, 0, 2, 6 } uselistorder label LBL_9, { 0, 3, 2, 1, 4 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
tg3_read_vpd_7761
tg3_read_vpd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = bitcast i32* %sv_0 to i64* %2 = call i64 @FUNC(i64 %0, i64* nonnull %1) %3 = icmp eq i64 %2, 0 br i1 %3, label LBL_14, label LBL_1 LBL_1: %4 = load i32, i32* %sv_0, align 4 %5 = zext i32 %4 to i64 %6 = call i64 @FUNC(i64 %2, i64 0, i64 %5, i64 0) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 0 br i1 %8, label LBL_13, label LBL_2 LBL_2: %sext = mul i64 %6, 4294967296 %9 = ashr exact i64 %sext, 32 %10 = add i64 %9, %2 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = add i32 %7, 4 %14 = add i32 %13, %12 %15 = load i32, i32* %sv_0, align 4 %16 = icmp ugt i32 %14, %15 br i1 %16, label LBL_13, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %2, i32 %13, i32 %12, i64 1) %18 = trunc i64 %17 to i32 %19 = icmp slt i32 %18, 1 br i1 %19, label LBL_9, label LBL_4 LBL_4: %sext2 = mul i64 %17, 4294967296 %20 = ashr exact i64 %sext2, 32 %21 = add i64 %20, %2 %22 = call i64 @FUNC(i64 %21) %23 = trunc i64 %22 to i32 %24 = add i32 %18, 2 %25 = add i32 %24, %23 %26 = icmp ult i32 %14, %25 %27 = icmp eq i32 %23, 4 %28 = icmp eq i1 %27, false %or.cond = or i1 %26, %28 br i1 %or.cond, label LBL_9, label LBL_5 LBL_5: %29 = sext i32 %24 to i64 %30 = add i64 %2, %29 %31 = inttoptr i64 %30 to i64* %32 = call i32 @memcmp(i64* %31, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4) %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_6 LBL_6: %35 = call i64 @FUNC(i64 %2, i32 %13, i32 %12, i64 2) %36 = trunc i64 %35 to i32 %37 = icmp slt i32 %36, 0 br i1 %37, label LBL_9, label LBL_7 LBL_7: %sext3 = mul i64 %35, 4294967296 %38 = ashr exact i64 %sext3, 32 %39 = add i64 %38, %2 %40 = call i64 @FUNC(i64 %39) %41 = trunc i64 %40 to i32 %42 = add i32 %36, 2 %43 = add i32 %42, %41 %44 = icmp ult i32 %14, %43 br i1 %44, label LBL_9, label LBL_8 LBL_8: %45 = sext i32 %42 to i64 %46 = add i64 %2, %45 %47 = inttoptr i64 %46 to i64* %48 = call i64* @memcpy(i64* %arg1, i64* %47, i32 %41) %49 = load i32, i32* %sv_0, align 4 %50 = sub i32 0, %41 %51 = sub i32 %50, 1 %52 = add i32 %49, %51 %53 = bitcast i64* %arg1 to i8* %54 = call i8* @strncat(i8* %53, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 %52) br label LBL_9 LBL_9: %55 = call i64 @FUNC(i64 %2, i32 %13, i32 %12, i64 3) %56 = trunc i64 %55 to i32 %57 = icmp slt i32 %56, 0 br i1 %57, label LBL_13, label LBL_10 LBL_10: %sext4 = mul i64 %55, 4294967296 %58 = ashr exact i64 %sext4, 32 %59 = add i64 %58, %2 %60 = call i64 @FUNC(i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp ult i32 %61, 33 br i1 %62, label LBL_11, label LBL_13 LBL_11: %63 = add i32 %56, 2 %64 = add i32 %63, %61 %65 = load i32, i32* %sv_0, align 4 %66 = icmp ugt i32 %64, %65 br i1 %66, label LBL_13, label LBL_12 LBL_12: %67 = sext i32 %63 to i64 %68 = add i64 %2, %67 %69 = add i64 %0, 64 %70 = inttoptr i64 %69 to i64* %71 = inttoptr i64 %68 to i64* %72 = call i64* @memcpy(i64* %70, i64* %71, i32 %61) br label LBL_13 LBL_13: %73 = call i64 @FUNC(i64 %2) %74 = add i64 %0, 64 %75 = inttoptr i64 %74 to i8* %76 = load i8, i8* %75, align 1 %77 = zext i8 %76 to i64 %78 = icmp eq i8 %76, 0 %79 = icmp eq i1 %78, false store i64 %77, i64* %rax.0.reg2mem br i1 %79, label LBL_53, label LBL_14 LBL_14: %80 = call i64 @FUNC(i64 %0) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %81, 1 %83 = icmp eq i1 %82, false br i1 %83, label LBL_19, label LBL_15 LBL_15: %84 = add i64 %0, 96 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp ne i32 %88, 22295 %90 = icmp eq i32 %88, 356732 %91 = icmp eq i1 %90, false %or.cond7 = icmp eq i1 %89, %91 br i1 %or.cond7, label LBL_17, label LBL_16 LBL_16: %92 = add i64 %0, 64 %93 = inttoptr i64 %92 to i64* store i64 15535236906304322, i64* %93, align 8 store i64 %92, i64* %rax.0.reg2mem br label LBL_53 LBL_17: %94 = icmp eq i32 %88, 22296 %95 = icmp eq i1 %94, false br i1 %95, label LBL_52, label LBL_18 LBL_18: %96 = add i64 %0, 64 %97 = inttoptr i64 %96 to i64* store i64 15816711883014978, i64* %97, align 8 store i64 %96, i64* %rax.0.reg2mem br label LBL_53 LBL_19: %98 = call i64 @FUNC(i64 %0) %99 = trunc i64 %98 to i32 %100 = icmp eq i32 %99, 2 %101 = icmp eq i1 %100, false br i1 %101, label LBL_28, label LBL_20 LBL_20: %102 = add i64 %0, 96 %103 = inttoptr i64 %102 to i64* %104 = load i64, i64* %103, align 8 %105 = inttoptr i64 %104 to i32* %106 = load i32, i32* %105, align 4 %107 = icmp eq i32 %106, 358272 %108 = icmp eq i1 %107, false br i1 %108, label LBL_22, label LBL_21 LBL_21: %109 = add i64 %0, 64 %110 = inttoptr i64 %109 to i64* store i64 3474587822773322562, i64* %110, align 8 %111 = add i64 %0, 72 %112 = inttoptr i64 %111 to i8* store i8 0, i8* %112, align 1 store i64 %109, i64* %rax.0.reg2mem br label LBL_53 LBL_22: %113 = icmp eq i32 %106, 358240 %114 = icmp eq i1 %113, false br i1 %114, label LBL_24, label LBL_23 LBL_23: %115 = add i64 %0, 64 %116 = inttoptr i64 %115 to i64* store i64 3474024872819901250, i64* %116, align 8 %117 = add i64 %0, 72 %118 = inttoptr i64 %117 to i8* store i8 0, i8* %118, align 1 store i64 %115, i64* %rax.0.reg2mem br label LBL_53 LBL_24: %119 = icmp eq i32 %106, 358288 %120 = icmp eq i1 %119, false br i1 %120, label LBL_26, label LBL_25 LBL_25: %121 = add i64 %0, 64 %122 = inttoptr i64 %121 to i64* store i64 3474869297750033218, i64* %122, align 8 %123 = add i64 %0, 72 %124 = inttoptr i64 %123 to i8* store i8 0, i8* %124, align 1 store i64 %121, i64* %rax.0.reg2mem br label LBL_53 LBL_26: %125 = icmp eq i32 %106, 358280 %126 = icmp eq i1 %125, false br i1 %126, label LBL_52, label LBL_27 LBL_27: %127 = add i64 %0, 64 %128 = inttoptr i64 %127 to i64* store i64 4051048575076746050, i64* %128, align 8 %129 = add i64 %0, 72 %130 = inttoptr i64 %129 to i8* store i8 0, i8* %130, align 1 store i64 %127, i64* %rax.0.reg2mem br label LBL_53 LBL_28: %131 = call i64 @FUNC(i64 %0) %132 = trunc i64 %131 to i32 %133 = icmp eq i32 %132, 3 %134 = icmp eq i1 %133, false br i1 %134, label LBL_41, label LBL_29 LBL_29: %135 = add i64 %0, 96 %136 = inttoptr i64 %135 to i64* %137 = load i64, i64* %136, align 8 %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 4 %140 = icmp eq i32 %139, 358241 %141 = icmp eq i1 %140, false br i1 %141, label LBL_31, label LBL_30 LBL_30: %142 = add i64 %0, 64 %143 = inttoptr i64 %142 to i64* store i64 3546082466857829186, i64* %143, align 8 %144 = add i64 %0, 72 %145 = inttoptr i64 %144 to i8* store i8 0, i8* %145, align 1 store i64 %142, i64* %rax.0.reg2mem br label LBL_53 LBL_31: %146 = icmp eq i32 %139, 358245 %147 = icmp eq i1 %146, false br i1 %147, label LBL_33, label LBL_32 LBL_32: %148 = add i64 %0, 64 %149 = inttoptr i64 %148 to i64* store i64 3834312843009540930, i64* %149, align 8 %150 = add i64 %0, 72 %151 = inttoptr i64 %150 to i8* store i8 0, i8* %151, align 1 store i64 %148, i64* %rax.0.reg2mem br label LBL_53 LBL_33: %152 = icmp eq i32 %139, 358273 %153 = icmp eq i1 %152, false br i1 %153, label LBL_35, label LBL_34 LBL_34: %154 = add i64 %0, 64 %155 = inttoptr i64 %154 to i64* store i64 3546645416811250498, i64* %155, align 8 %156 = add i64 %0, 72 %157 = inttoptr i64 %156 to i8* store i8 0, i8* %157, align 1 store i64 %154, i64* %rax.0.reg2mem br label LBL_53 LBL_35: %158 = icmp eq i32 %139, 358277 %159 = icmp eq i1 %158, false br i1 %159, label LBL_37, label LBL_36 LBL_36: %160 = add i64 %0, 64 %161 = inttoptr i64 %160 to i64* store i64 3834875792962962242, i64* %161, align 8 %162 = add i64 %0, 72 %163 = inttoptr i64 %162 to i8* store i8 0, i8* %163, align 1 store i64 %160, i64* %rax.0.reg2mem br label LBL_53 LBL_37: %164 = icmp eq i32 %139, 358289 %165 = icmp eq i1 %164, false br i1 %165, label LBL_39, label LBL_38 LBL_38: %166 = add i64 %0, 64 %167 = inttoptr i64 %166 to i64* store i64 3546926891787961154, i64* %167, align 8 %168 = add i64 %0, 72 %169 = inttoptr i64 %168 to i8* store i8 0, i8* %169, align 1 store i64 %166, i64* %rax.0.reg2mem br label LBL_53 LBL_39: %170 = icmp eq i32 %139, 358293 %171 = icmp eq i1 %170, false br i1 %171, label LBL_52, label LBL_40 LBL_40: %172 = add i64 %0, 64 %173 = inttoptr i64 %172 to i64* store i64 3835157267939672898, i64* %173, align 8 %174 = add i64 %0, 72 %175 = inttoptr i64 %174 to i8* store i8 0, i8* %175, align 1 store i64 %172, i64* %rax.0.reg2mem br label LBL_53 LBL_41: %176 = call i64 @FUNC(i64 %0) %177 = trunc i64 %176 to i32 %178 = icmp eq i32 %177, 4 %179 = icmp eq i1 %178, false br i1 %179, label LBL_50, label LBL_42 LBL_42: %180 = add i64 %0, 96 %181 = inttoptr i64 %180 to i64* %182 = load i64, i64* %181, align 8 %183 = inttoptr i64 %182 to i32* %184 = load i32, i32* %183, align 4 %185 = icmp eq i32 %184, 358242 %186 = icmp eq i1 %185, false br i1 %186, label LBL_44, label LBL_43 LBL_43: %187 = add i64 %0, 64 %188 = inttoptr i64 %187 to i64* store i64 3618140060895757122, i64* %188, align 8 %189 = add i64 %0, 72 %190 = inttoptr i64 %189 to i8* store i8 0, i8* %190, align 1 store i64 %187, i64* %rax.0.reg2mem br label LBL_53 LBL_44: %191 = icmp eq i32 %184, 358246 %192 = icmp eq i1 %191, false br i1 %192, label LBL_46, label LBL_45 LBL_45: %193 = add i64 %0, 64 %194 = inttoptr i64 %193 to i64* store i64 3906370437047468866, i64* %194, align 8 %195 = add i64 %0, 72 %196 = inttoptr i64 %195 to i8* store i8 0, i8* %196, align 1 store i64 %193, i64* %rax.0.reg2mem br label LBL_53 LBL_46: %197 = icmp eq i32 %184, 358274 %198 = icmp eq i1 %197, false br i1 %198, label LBL_48, label LBL_47 LBL_47: %199 = add i64 %0, 64 %200 = inttoptr i64 %199 to i64* store i64 3618703010849178434, i64* %200, align 8 %201 = add i64 %0, 72 %202 = inttoptr i64 %201 to i8* store i8 0, i8* %202, align 1 store i64 %199, i64* %rax.0.reg2mem br label LBL_53 LBL_48: %203 = icmp eq i32 %184, 358278 %204 = icmp eq i1 %203, false br i1 %204, label LBL_52, label LBL_49 LBL_49: %205 = add i64 %0, 64 %206 = inttoptr i64 %205 to i64* store i64 3906933387000890178, i64* %206, align 8 %207 = add i64 %0, 72 %208 = inttoptr i64 %207 to i8* store i8 0, i8* %208, align 1 store i64 %205, i64* %rax.0.reg2mem br label LBL_53 LBL_50: %209 = call i64 @FUNC(i64 %0) %210 = trunc i64 %209 to i32 %211 = icmp eq i32 %210, 5 %212 = icmp eq i1 %211, false br i1 %212, label LBL_52, label LBL_51 LBL_51: %213 = add i64 %0, 64 %214 = inttoptr i64 %213 to i64* store i64 3904683777687634754, i64* %214, align 8 %215 = add i64 %0, 72 %216 = inttoptr i64 %215 to i8* store i8 0, i8* %216, align 1 store i64 %213, i64* %rax.0.reg2mem br label LBL_53 LBL_52: %217 = add i64 %0, 64 %218 = inttoptr i64 %217 to i32* store i32 1701736302, i32* %218, align 4 %219 = add i64 %0, 68 %220 = inttoptr i64 %219 to i8* store i8 0, i8* %220, align 1 store i64 %217, i64* %rax.0.reg2mem br label LBL_53 LBL_53: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %88, { 1, 0, 2 } uselistorder i32 %63, { 1, 0 } uselistorder i32 %61, { 1, 0, 2 } uselistorder i32 %42, { 1, 0 } uselistorder i32 %41, { 0, 2, 1 } uselistorder i32 %24, { 1, 0 } uselistorder i32 %23, { 1, 0 } uselistorder i32 %13, { 2, 3, 1, 0 } uselistorder i32 %12, { 2, 1, 3, 0 } uselistorder i64 %2, { 10, 0, 3, 8, 1, 4, 7, 2, 5, 9, 6, 11, 12 } uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 6, 5, 4, 3, 7, 15, 16, 14, 13, 12, 11, 10, 9, 8, 17, 29, 30, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 31, 39, 40, 38, 37, 36, 35, 34, 33, 32, 41, 43, 2, 42, 44, 1, 0, 45 } uselistorder i64* %rax.0.reg2mem, { 0, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, 3, 1 } uselistorder i64 (i64)* @tg3_asic_rev, { 4, 3, 2, 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 0, 21, 22, 23, 1 } uselistorder i64 (i64)* @pci_vpd_info_field_size, { 2, 1, 0 } uselistorder i64 (i64, i32, i32, i64)* @pci_vpd_find_info_keyword, { 2, 1, 0 } uselistorder label LBL_53, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0 } uselistorder label LBL_14, { 1, 0 } uselistorder label LBL_13, { 5, 1, 0, 2, 3, 4 } uselistorder label LBL_9, { 5, 0, 1, 3, 2, 4 } }
1
BinRealVul
encode_residual_ch_84
encode_residual_ch
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem56 = alloca i32 %.pre-phi.reg2mem = alloca i64 %storemerge221.reg2mem = alloca i32 %.reg2mem54 = alloca i32 %.reg2mem52 = alloca i64 %sv_0.9.reg2mem = alloca i32 %sv_0.7.lcssa.reg2mem = alloca i32 %sv_0.6.reg2mem = alloca i32 %sv_0.722.reg2mem = alloca i32 %storemerge723.reg2mem = alloca i32 %.reg2mem50 = alloca i64 %sv_0.825.reg2mem = alloca i32 %storemerge626.reg2mem = alloca i32 %sv_0.528.reg2mem = alloca i32 %storemerge529.reg2mem = alloca i32 %sv_0.3.lcssa.reg2mem = alloca i32 %sv_0.332.reg2mem = alloca i32 %sv_1.133.reg2mem = alloca i32 %storemerge4.in34.reg2mem = alloca i32 %storemerge435.reg2mem = alloca i32 %.reg2mem = alloca i32 %sv_0.1.lcssa.reg2mem = alloca i32 %sv_0.137.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %storemerge8.lcssa.reg2mem = alloca i32 %storemerge840.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = ashr exact i64 %sext, 31 %3 = add nsw i64 %2, %1 %4 = mul i64 %3, 32 %5 = add i64 %4, %0 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %5, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp sgt i32 %13, 1 store i32 1, i32* %storemerge8.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_4 LBL_1: %15 = inttoptr i64 %10 to i32* %16 = load i32, i32* %15, align 4 store i32 1, i32* %storemerge840.reg2mem br label LBL_2 LBL_2: %storemerge840.reload = load i32, i32* %storemerge840.reg2mem %17 = sext i32 %storemerge840.reload to i64 %18 = mul i64 %17, 4 %19 = add i64 %18, %10 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, %16 %23 = icmp eq i1 %22, false store i32 %storemerge840.reload, i32* %storemerge8.lcssa.reg2mem br i1 %23, label LBL_4, label LBL_3 LBL_3: %24 = add nuw i32 %storemerge840.reload, 1 %25 = icmp slt i32 %24, %13 store i32 %24, i32* %storemerge840.reg2mem store i32 %24, i32* %storemerge8.lcssa.reg2mem br i1 %25, label LBL_2, label LBL_4 LBL_4: %storemerge8.lcssa.reload = load i32, i32* %storemerge8.lcssa.reg2mem %26 = icmp eq i32 %storemerge8.lcssa.reload, %13 %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = add i64 %5, 20 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %30 = add i64 %5, 16 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 %32 = inttoptr i64 %10 to i32* %33 = load i32, i32* %32, align 4 %34 = inttoptr i64 %7 to i32* store i32 %33, i32* %34, align 4 %35 = call i64 @FUNC(i64 %0, i64 %5, i64 0) store i64 %35, i64* %rax.0.reg2mem br label LBL_41 LBL_6: %36 = add i64 %0, 12 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp sgt i32 %13, 4 %or.cond = icmp eq i1 %40, %39 br i1 %or.cond, label LBL_8, label LBL_7 LBL_7: %41 = add i64 %5, 20 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 %43 = add i64 %5, 16 %44 = inttoptr i64 %43 to i32* store i32 1, i32* %44, align 4 %45 = mul i32 %13, 4 %46 = inttoptr i64 %7 to i64* %47 = inttoptr i64 %10 to i64* %48 = call i64* @memcpy(i64* %46, i64* %47, i32 %45) %49 = call i64 @FUNC(i64 %0, i64 %5, i64 0) store i64 %49, i64* %rax.0.reg2mem br label LBL_41 LBL_8: %50 = ptrtoint i64* %sv_4 to i64 %51 = add i64 %0, 16 %52 = inttoptr i64 %51 to i32* %53 = load i32, i32* %52, align 4 %54 = add i64 %0, 20 %55 = inttoptr i64 %54 to i32* %56 = load i32, i32* %55, align 4 %57 = add i64 %0, 24 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = add i64 %5, 16 %61 = inttoptr i64 %60 to i32* store i32 2, i32* %61, align 4 %62 = add i64 %0, 28 %63 = inttoptr i64 %62 to i32* %64 = load i32, i32* %63, align 4 %switch = icmp ugt i32 %64, 1 %65 = icmp sgt i32 %13, %56 %or.cond19 = icmp eq i1 %65, %switch br i1 %or.cond19, label LBL_15, label LBL_9 LBL_9: %66 = icmp slt i32 %56, 12 %spec.select = select i1 %66, i32 %56, i32 12 store i32 -1, i32* %sv_3, align 4 %67 = icmp sgt i32 %53, %spec.select store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %67, label LBL_12, label LBL_10 LBL_10: %68 = add i64 %50, -2192 %69 = sext i32 %53 to i64 %70 = sext i32 %spec.select to i64 store i64 %69, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.137.reg2mem br label LBL_11 LBL_11: %sv_0.137.reload = load i32, i32* %sv_0.137.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %71 = trunc i64 %indvars.iv.reload to i32 %72 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i32 %71) %73 = call i64 @FUNC(i64 %0, i64 %5, i32 %71) %74 = trunc i64 %73 to i32 %75 = mul i64 %indvars.iv.reload, 4 %76 = add i64 %75, %68 %77 = inttoptr i64 %76 to i32* store i32 %74, i32* %77, align 4 %78 = sext i32 %sv_0.137.reload to i64 %79 = mul i64 %78, 4 %80 = add i64 %79, %68 %81 = inttoptr i64 %80 to i32* %82 = load i32, i32* %81, align 4 %83 = icmp ugt i32 %82, %74 %84 = icmp eq i1 %83, false %spec.select13 = select i1 %84, i32 %sv_0.137.reload, i32 %71 %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1 %85 = icmp slt i64 %indvars.iv.reload, %70 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %spec.select13, i32* %sv_0.137.reg2mem store i32 %spec.select13, i32* %sv_0.1.lcssa.reg2mem br i1 %85, label LBL_11, label LBL_12 LBL_12: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %86 = add i64 %5, 24 %87 = inttoptr i64 %86 to i32* store i32 %sv_0.1.lcssa.reload, i32* %87, align 4 %88 = load i32, i32* %61, align 4 %89 = or i32 %88, %sv_0.1.lcssa.reload %90 = add i64 %5, 20 %91 = inttoptr i64 %90 to i32* store i32 %89, i32* %91, align 4 %92 = load i32, i32* %87, align 4 %93 = icmp eq i32 %spec.select, %92 store i32 %spec.select, i32* %.reg2mem br i1 %93, label LBL_14, label LBL_13 LBL_13: %94 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i32 %92) %95 = load i32, i32* %87, align 4 %96 = call i64 @FUNC(i64 %0, i64 %5, i32 %95) %.pre = load i32, i32* %87, align 4 store i32 %.pre, i32* %.reg2mem br label LBL_14 LBL_14: %.reload = load i32, i32* %.reg2mem %97 = zext i32 %.reload to i64 %98 = call i64 @FUNC(i64 %0, i64 %5, i64 %97) store i64 %98, i64* %rax.0.reg2mem br label LBL_41 LBL_15: store i32 3, i32* %61, align 4 %99 = add i64 %0, 32 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = add i64 %0, 40 %103 = zext i32 %101 to i64 %104 = zext i32 %56 to i64 %105 = call i64 @FUNC(i64 %102, i64 %10, i32 %13, i32 %53, i64 %104, i64 %103) switch i32 %59, label LBL_16 [ i32 4, label LBL_17 i32 2, label LBL_17 ] LBL_16: %106 = icmp eq i32 %59, 8 %107 = icmp eq i1 %106, false br i1 %107, label LBL_21, label LBL_17 LBL_17: %108 = urem i32 %59, 32 %109 = shl i32 1, %108 %110 = add i32 %109, -1 %111 = add i32 %56, -1 %112 = sext i32 %110 to i64 %113 = mul i64 %112, 4 %114 = add i64 %50, -2192 %115 = add i64 %113, %114 %116 = inttoptr i64 %115 to i32* store i32 -1, i32* %116, align 4 %117 = icmp slt i32 %110, 0 %118 = icmp eq i1 %117, false store i32 %111, i32* %sv_0.3.lcssa.reg2mem br i1 %118, label LBL_18, label LBL_20 LBL_18: %119 = sub i32 1, %53 %120 = add i32 %119, %56 %121 = zext i32 %109 to i64 %122 = add i32 %53, -1 %123 = add i64 %50, -1168 %124 = ptrtoint i64* %sv_2 to i64 store i32 %110, i32* %storemerge435.reg2mem store i32 %109, i32* %storemerge4.in34.reg2mem store i32 %110, i32* %sv_1.133.reg2mem store i32 %111, i32* %sv_0.332.reg2mem br label LBL_19 LBL_19: %sv_0.332.reload = load i32, i32* %sv_0.332.reg2mem %sv_1.133.reload = load i32, i32* %sv_1.133.reg2mem %storemerge4.in34.reload = load i32, i32* %storemerge4.in34.reg2mem %storemerge435.reload = load i32, i32* %storemerge435.reg2mem %125 = mul i32 %storemerge4.in34.reload, %120 %126 = ashr i32 %125, 31 %127 = zext i32 %125 to i64 %128 = zext i32 %126 to i64 %129 = mul i64 %128, 4294967296 %130 = or i64 %129, %127 %131 = sdiv i64 %130, %121 %132 = trunc i64 %131 to i32 %133 = add i32 %122, %132 %134 = icmp slt i32 %133, 0 %135 = icmp eq i1 %134, false %spec.select12 = select i1 %135, i32 %133, i32 0 %136 = sext i32 %spec.select12 to i64 %137 = mul i64 %136, 4 %138 = add i64 %123, %137 %139 = inttoptr i64 %138 to i32* %140 = load i32, i32* %139, align 4 %141 = mul i64 %136, 64 %142 = add i64 %141, %124 %143 = add i32 %spec.select12, 1 %144 = zext i32 %143 to i64 %145 = zext i32 %140 to i64 %146 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i64 %144, i64 %142, i64 %145) %147 = call i64 @FUNC(i64 %0, i64 %5, i32 %143) %148 = sext i32 %storemerge435.reload to i64 %149 = trunc i64 %147 to i32 %150 = mul i64 %148, 4 %151 = add i64 %150, %114 %152 = inttoptr i64 %151 to i32* store i32 %149, i32* %152, align 4 %153 = sext i32 %sv_1.133.reload to i64 %154 = mul i64 %153, 4 %155 = add i64 %154, %114 %156 = inttoptr i64 %155 to i32* %157 = load i32, i32* %156, align 4 %158 = icmp ugt i32 %157, %149 %159 = icmp eq i1 %158, false %spec.select14 = select i1 %159, i32 %sv_0.332.reload, i32 %spec.select12 %spec.select15 = select i1 %159, i32 %sv_1.133.reload, i32 %storemerge435.reload %storemerge4 = add i32 %storemerge435.reload, -1 %160 = icmp slt i32 %storemerge4, 0 %161 = icmp eq i1 %160, false store i32 %storemerge4, i32* %storemerge435.reg2mem store i32 %storemerge435.reload, i32* %storemerge4.in34.reg2mem store i32 %spec.select15, i32* %sv_1.133.reg2mem store i32 %spec.select14, i32* %sv_0.332.reg2mem store i32 %spec.select14, i32* %sv_0.3.lcssa.reg2mem br i1 %161, label LBL_19, label LBL_20 LBL_20: %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem %162 = add i32 %sv_0.3.lcssa.reload, 1 store i32 %162, i32* %sv_0.9.reg2mem br label LBL_35 LBL_21: %163 = icmp eq i32 %59, 9 %164 = icmp eq i1 %163, false br i1 %164, label LBL_26, label LBL_22 LBL_22: store i32 -1, i32* %sv_3, align 4 %165 = add i32 %53, -1 %166 = icmp slt i32 %165, %56 store i32 1, i32* %sv_0.9.reg2mem br i1 %166, label LBL_23, label LBL_35 LBL_23: %167 = add i64 %50, -1168 %168 = ptrtoint i64* %sv_2 to i64 %169 = add i64 %50, -2192 store i32 %165, i32* %storemerge529.reg2mem store i32 0, i32* %sv_0.528.reg2mem br label LBL_24 LBL_24: %sv_0.528.reload = load i32, i32* %sv_0.528.reg2mem %storemerge529.reload = load i32, i32* %storemerge529.reg2mem %170 = sext i32 %storemerge529.reload to i64 %171 = mul i64 %170, 4 %172 = add i64 %167, %171 %173 = inttoptr i64 %172 to i32* %174 = load i32, i32* %173, align 4 %175 = mul i64 %170, 64 %176 = add i64 %175, %168 %177 = add i32 %storemerge529.reload, 1 %178 = zext i32 %177 to i64 %179 = zext i32 %174 to i64 %180 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i64 %178, i64 %176, i64 %179) %181 = call i64 @FUNC(i64 %0, i64 %5, i32 %177) %182 = trunc i64 %181 to i32 %183 = add i64 %171, %169 %184 = inttoptr i64 %183 to i32* store i32 %182, i32* %184, align 4 %185 = sext i32 %sv_0.528.reload to i64 %186 = mul i64 %185, 4 %187 = add i64 %186, %169 %188 = inttoptr i64 %187 to i32* %189 = load i32, i32* %188, align 4 %190 = icmp ugt i32 %189, %182 %191 = icmp eq i1 %190, false %spec.select16 = select i1 %191, i32 %sv_0.528.reload, i32 %storemerge529.reload %exitcond = icmp eq i32 %177, %56 store i32 %177, i32* %storemerge529.reg2mem store i32 %spec.select16, i32* %sv_0.528.reg2mem br i1 %exitcond, label LBL_25, label LBL_24 LBL_25: %phitmp = add i32 %spec.select16, 1 store i32 %phitmp, i32* %sv_0.9.reg2mem br label LBL_35 LBL_26: %192 = trunc i64 %105 to i32 %193 = icmp eq i32 %59, 10 %194 = icmp eq i1 %193, false store i32 %192, i32* %sv_0.9.reg2mem br i1 %194, label LBL_35, label LBL_27 LBL_27: %195 = add i32 %53, -1 %196 = sub i32 %56, %53 %197 = sext i32 %196 to i64 %198 = mul nsw i64 %197, 1431655766 %199 = udiv i64 %198, 4294967296 %200 = trunc i64 %199 to i32 %201 = icmp slt i32 %196, 0 %.neg20 = zext i1 %201 to i32 %202 = add i32 %195, %.neg20 %203 = add i32 %202, %200 %204 = bitcast i32* %sv_3 to i64* %205 = call i64* @memset(i64* nonnull %204, i32 -1, i32 64) %206 = zext i32 %195 to i64 %207 = add i64 %50, -2192 %208 = add i64 %50, -1168 %209 = ptrtoint i64* %sv_2 to i64 store i32 16, i32* %storemerge626.reg2mem store i32 %203, i32* %sv_0.825.reg2mem br label LBL_28 LBL_28: %sv_0.825.reload = load i32, i32* %sv_0.825.reg2mem %storemerge626.reload = load i32, i32* %storemerge626.reg2mem %210 = sub i32 %sv_0.825.reload, %storemerge626.reload %211 = add i32 %sv_0.825.reload, %storemerge626.reload %212 = zext i32 %211 to i64 %213 = sext i32 %210 to i64 %214 = icmp sgt i64 %213, %212 store i64 %213, i64* %.reg2mem50 store i32 %210, i32* %storemerge723.reg2mem store i32 %sv_0.825.reload, i32* %sv_0.722.reg2mem store i32 %sv_0.825.reload, i32* %sv_0.7.lcssa.reg2mem br i1 %214, label LBL_33, label LBL_29 LBL_29: %sv_0.722.reload = load i32, i32* %sv_0.722.reg2mem %storemerge723.reload = load i32, i32* %storemerge723.reg2mem %.reload51 = load i64, i64* %.reg2mem50 %215 = icmp sge i64 %.reload51, %206 %216 = icmp slt i32 %storemerge723.reload, %56 %or.cond17 = icmp eq i1 %215, %216 store i32 %sv_0.722.reload, i32* %sv_0.6.reg2mem br i1 %or.cond17, label LBL_30, label LBL_32 LBL_30: %217 = mul i64 %.reload51, 4 %218 = add i64 %217, %207 %219 = inttoptr i64 %218 to i32* %220 = load i32, i32* %219, align 4 %221 = icmp eq i32 %220, -1 %222 = icmp eq i1 %221, false store i32 %sv_0.722.reload, i32* %sv_0.6.reg2mem br i1 %222, label LBL_32, label LBL_31 LBL_31: %223 = add i64 %208, %217 %224 = inttoptr i64 %223 to i32* %225 = load i32, i32* %224, align 4 %226 = mul i64 %.reload51, 64 %227 = add i64 %226, %209 %228 = add i32 %storemerge723.reload, 1 %229 = zext i32 %228 to i64 %230 = zext i32 %225 to i64 %231 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i64 %229, i64 %227, i64 %230) %232 = call i64 @FUNC(i64 %0, i64 %5, i32 %228) %233 = trunc i64 %232 to i32 store i32 %233, i32* %219, align 4 %234 = sext i32 %sv_0.722.reload to i64 %235 = mul i64 %234, 4 %236 = add i64 %235, %207 %237 = inttoptr i64 %236 to i32* %238 = load i32, i32* %237, align 4 %239 = icmp ugt i32 %238, %233 %240 = icmp eq i1 %239, false %spec.select18 = select i1 %240, i32 %sv_0.722.reload, i32 %storemerge723.reload store i32 %spec.select18, i32* %sv_0.6.reg2mem br label LBL_32 LBL_32: %sv_0.6.reload = load i32, i32* %sv_0.6.reg2mem %241 = add i32 %storemerge723.reload, %storemerge626.reload %242 = sext i32 %241 to i64 %243 = icmp sgt i64 %242, %212 store i64 %242, i64* %.reg2mem50 store i32 %241, i32* %storemerge723.reg2mem store i32 %sv_0.6.reload, i32* %sv_0.722.reg2mem store i32 %sv_0.6.reload, i32* %sv_0.7.lcssa.reg2mem br i1 %243, label LBL_33, label LBL_29 LBL_33: %sv_0.7.lcssa.reload = load i32, i32* %sv_0.7.lcssa.reg2mem %244 = ashr i32 %storemerge626.reload, 1 %245 = icmp eq i32 %244, 0 %246 = icmp eq i1 %245, false store i32 %244, i32* %storemerge626.reg2mem store i32 %sv_0.7.lcssa.reload, i32* %sv_0.825.reg2mem br i1 %246, label LBL_28, label LBL_34 LBL_34: %247 = add i32 %sv_0.7.lcssa.reload, 1 store i32 %247, i32* %sv_0.9.reg2mem br label LBL_35 LBL_35: %sv_0.9.reload = load i32, i32* %sv_0.9.reg2mem %248 = add i64 %5, 24 %249 = inttoptr i64 %248 to i32* store i32 %sv_0.9.reload, i32* %249, align 4 %250 = load i32, i32* %61, align 4 %251 = add i32 %sv_0.9.reload, -1 %252 = or i32 %250, %251 %253 = add i64 %5, 20 %254 = inttoptr i64 %253 to i32* store i32 %252, i32* %254, align 4 %255 = load i32, i32* %249, align 4 %256 = add i32 %255, -1 %257 = sext i32 %256 to i64 %258 = mul i64 %257, 4 %259 = add i64 %50, -1168 %260 = add i64 %259, %258 %261 = inttoptr i64 %260 to i32* %262 = load i32, i32* %261, align 4 %263 = add i64 %5, 28 %264 = inttoptr i64 %263 to i32* store i32 %262, i32* %264, align 4 %265 = load i32, i32* %249, align 4 %266 = icmp eq i32 %265, 0 br i1 %266, label LBL_35.LBL_40_crit_edge, label LBL_37 LBL_36: %.pre47 = add i64 %5, 32 store i64 %.pre47, i64* %.pre-phi.reg2mem store i32 %262, i32* %.reg2mem56 store i64 0, i64* %.lcssa.reg2mem br label LBL_40 LBL_37: %267 = add i64 %50, -1104 %268 = add i64 %5, 32 store i64 0, i64* %.reg2mem52 store i32 %265, i32* %.reg2mem54 store i32 0, i32* %storemerge221.reg2mem br label LBL_38 LBL_38: %storemerge221.reload = load i32, i32* %storemerge221.reg2mem %.reload55 = load i32, i32* %.reg2mem54 %.reload53 = load i64, i64* %.reg2mem52 %269 = add i32 %.reload55, -1 %270 = sext i32 %269 to i64 %271 = mul i64 %270, 16 %272 = add nsw i64 %271, %.reload53 %273 = mul i64 %272, 4 %274 = add i64 %267, %273 %275 = inttoptr i64 %274 to i32* %276 = load i32, i32* %275, align 4 %277 = mul i64 %.reload53, 4 %278 = add i64 %277, %268 %279 = inttoptr i64 %278 to i32* store i32 %276, i32* %279, align 4 %280 = add i32 %storemerge221.reload, 1 %281 = load i32, i32* %249, align 4 %282 = zext i32 %281 to i64 %283 = sext i32 %280 to i64 %284 = icmp slt i64 %283, %282 store i64 %283, i64* %.reg2mem52 store i32 %281, i32* %.reg2mem54 store i32 %280, i32* %storemerge221.reg2mem br i1 %284, label LBL_38, label LBL_39 LBL_39: %.pre46 = load i32, i32* %264, align 4 store i64 %268, i64* %.pre-phi.reg2mem store i32 %.pre46, i32* %.reg2mem56 store i64 %282, i64* %.lcssa.reg2mem br label LBL_40 LBL_40: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %.reload57 = load i32, i32* %.reg2mem56 %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %285 = zext i32 %.reload57 to i64 %286 = call i64 @FUNC(i64 %7, i64 %10, i32 %13, i64 %.lcssa.reload, i64 %.pre-phi.reload, i64 %285) %287 = load i32, i32* %249, align 4 %288 = call i64 @FUNC(i64 %0, i64 %5, i32 %287) %289 = load i32, i32* %249, align 4 %290 = zext i32 %289 to i64 %291 = call i64 @FUNC(i64 %0, i64 %5, i64 %290) store i64 %291, i64* %rax.0.reg2mem br label LBL_41 LBL_41: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.reload53, { 1, 0 } uselistorder i32* %249, { 1, 2, 3, 0, 4, 5 } uselistorder i32 %sv_0.9.reload, { 1, 0 } uselistorder i64 %.reload51, { 2, 1, 0 } uselistorder i32 %storemerge723.reload, { 3, 0, 2, 1 } uselistorder i32 %sv_0.722.reload, { 2, 3, 0, 1 } uselistorder i64 %212, { 1, 0 } uselistorder i32 %storemerge626.reload, { 1, 3, 2, 0 } uselistorder i32 %sv_0.825.reload, { 0, 1, 3, 2 } uselistorder i32 %195, { 1, 0 } uselistorder i32 %spec.select16, { 1, 0 } uselistorder i64 %171, { 1, 0 } uselistorder i32 %storemerge435.reload, { 0, 3, 1, 2 } uselistorder i32 %111, { 1, 0 } uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 2, 0, 3, 1 } uselistorder i32 %spec.select, { 0, 3, 1, 2 } uselistorder i32* %61, { 1, 2, 0, 3 } uselistorder i32 %59, { 4, 3, 0, 2, 1 } uselistorder i32 %56, { 6, 7, 0, 1, 2, 8, 9, 3, 4, 5 } uselistorder i32 %53, { 5, 4, 3, 6, 0, 7, 1, 2 } uselistorder i64 %50, { 4, 5, 3, 2, 0, 1, 6, 7, 8 } uselistorder i32 %storemerge840.reload, { 1, 0, 2 } uselistorder i32 %13, { 5, 4, 3, 6, 7, 9, 8, 2, 0, 11, 10, 12, 1 } uselistorder i64 %10, { 5, 4, 3, 6, 7, 9, 8, 2, 1, 0, 10 } uselistorder i64 %7, { 4, 3, 2, 5, 7, 6, 1, 0 } uselistorder i64 %5, { 10, 11, 1, 0, 12, 13, 14, 9, 8, 15, 18, 17, 19, 20, 16, 21, 5, 6, 7, 2, 3, 4, 22, 23 } uselistorder i64 %sext, { 1, 0 } uselistorder i64 %0, { 5, 6, 4, 3, 7, 9, 8, 12, 11, 10, 13, 14, 16, 15, 2, 17, 1, 18, 0 } uselistorder i32* %storemerge840.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge8.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.137.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge435.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.in34.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.133.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.332.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge529.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.528.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge626.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.825.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem50, { 2, 0, 1 } uselistorder i32* %storemerge723.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.722.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.9.reg2mem, { 0, 3, 4, 2, 1, 5 } uselistorder i64* %.reg2mem52, { 1, 0, 2 } uselistorder i32* %.reg2mem54, { 1, 0, 2 } uselistorder i32* %storemerge221.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 (i64, i64, i32, i64, i64, i64)* @encode_residual_lpc, { 3, 2, 1, 0 } uselistorder i64 (i64, i64, i32)* @find_subframe_rice_params, { 5, 4, 3, 2, 0, 1 } uselistorder i32 -1, { 5, 6, 7, 1, 10, 2, 3, 11, 4, 0, 13, 8, 9, 12 } uselistorder i32 4, { 1, 0, 2 } uselistorder i64 (i64, i64, i64)* @subframe_count_exact, { 3, 2, 1, 0 } uselistorder i32 0, { 0, 5, 9, 4, 1, 11, 8, 10, 6, 3, 2, 12, 7, 13 } uselistorder i1 false, { 3, 1, 2, 4, 5, 6, 9, 7, 8, 0, 10, 11, 12, 13 } uselistorder i64 32, { 2, 1, 4, 0, 3 } uselistorder i64 4294967296, { 2, 0, 1 } uselistorder label LBL_40, { 1, 0 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_35, { 2, 3, 1, 0, 4 } uselistorder label LBL_32, { 0, 2, 1 } uselistorder label LBL_29, { 1, 0 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_17, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
huff_build12_16243
huff_build12
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %storemerge3.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %storemerge47.reg2mem = alloca i32 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %3 = load i32, i32* %0 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %4 = ptrtoint i64* %sv_3 to i64 store i32 0, i32* %storemerge47.reg2mem br label LBL_1 LBL_1: %storemerge47.reload = load i32, i32* %storemerge47.reg2mem %5 = sext i32 %storemerge47.reload to i64 %6 = trunc i32 %storemerge47.reload to i16 %7 = sub i16 4095, %6 %8 = mul i64 %5, 4 %9 = add i64 %8, %4 %10 = add i64 %9, -16400 %11 = inttoptr i64 %10 to i16* store i16 %7, i16* %11, align 4 %12 = add i64 %5, %1 %13 = inttoptr i64 %12 to i8* %14 = load i8, i8* %13, align 1 %15 = add i64 %9, -16398 %16 = inttoptr i64 %15 to i8* store i8 %14, i8* %16, align 2 %17 = load i8, i8* %13, align 1 %18 = icmp eq i8 %17, 0 %19 = icmp eq i1 %18, false store i64 4294967295, i64* %storemerge3.reg2mem br i1 %19, label LBL_2, label LBL_6 LBL_2: %20 = add nuw i32 %storemerge47.reload, 1 %21 = icmp ult i32 %20, 4096 store i32 %20, i32* %storemerge47.reg2mem br i1 %21, label LBL_1, label LBL_3 LBL_3: call void @qsort(i64* nonnull %sv_2, i32 4096, i32 4, i32 (i64*, i64*)* inttoptr (i64 4198694 to i32 (i64*, i64*)*)) %22 = add i64 %4, -36880 %23 = add i64 %4, -45072 store i32 4095, i32* %storemerge6.reg2mem store i32 1, i32* %sv_0.05.reg2mem br label LBL_4 LBL_4: %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %24 = sext i32 %storemerge6.reload to i64 %25 = mul i64 %24, 4 %26 = add i64 %25, %4 %27 = add i64 %26, -16398 %28 = inttoptr i64 %27 to i8* %29 = load i8, i8* %28, align 2 %30 = sub i8 0, %29 %31 = urem i8 %30, 32 %32 = zext i8 %31 to i32 %storemerge.in = lshr i32 %sv_0.05.reload, %32 %33 = add i64 %26, -32784 %34 = inttoptr i64 %33 to i32* store i32 %storemerge.in, i32* %34, align 4 %35 = load i8, i8* %28, align 2 %36 = add i64 %22, %24 %37 = inttoptr i64 %36 to i8* store i8 %35, i8* %37, align 1 %38 = add i64 %26, -16400 %39 = inttoptr i64 %38 to i16* %40 = load i16, i16* %39, align 4 %41 = mul i64 %24, 2 %42 = add i64 %23, %41 %43 = inttoptr i64 %42 to i16* store i16 %40, i16* %43, align 2 %44 = load i8, i8* %28, align 2 %45 = add i8 %44, 31 %46 = urem i8 %45, 32 %47 = icmp eq i8 %46, 0 %48 = zext i8 %46 to i32 %49 = lshr i32 -2147483648, %48 %storemerge2 = select i1 %47, i32 -2147483648, i32 %49 %50 = add i32 %storemerge2, %sv_0.05.reload %51 = add i32 %storemerge6.reload, -1 %52 = icmp slt i32 %51, 0 %53 = icmp eq i1 %52, false store i32 %51, i32* %storemerge6.reg2mem store i32 %50, i32* %sv_0.05.reg2mem br i1 %53, label LBL_4, label LBL_5 LBL_5: %54 = call i64 @FUNC(i64 %2) %55 = trunc i32 %3 to i8 %56 = icmp ult i8 %55, 15 %57 = urem i32 %3, 256 %.op = zext i32 %57 to i64 %58 = select i1 %56, i64 %.op, i64 14 %59 = call i64 @FUNC(i64 %2, i64 %58, i64 4096, i64* nonnull %sv_1, i64 1, i64 1) store i64 %59, i64* %storemerge3.reg2mem br label LBL_6 LBL_6: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem ret i64 %storemerge3.reload uselistorder i64 %24, { 0, 2, 1 } uselistorder i32 %sv_0.05.reload, { 1, 0 } uselistorder i64 %5, { 1, 0 } uselistorder i32 %storemerge47.reload, { 0, 2, 1 } uselistorder i64 %4, { 0, 2, 3, 1 } uselistorder i32 %3, { 1, 0 } uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder i32 4096, { 1, 0 } uselistorder i64 -16398, { 1, 0 } uselistorder i64 -16400, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
get_video_buffer_13927
get_video_buffer
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %storemerge7.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %storemerge38.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 4294967274, i64* %rax.0.shrunk.reg2mem br i1 %9, label LBL_1, label LBL_18 LBL_1: %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %13, i32 %12, i64 0, i64 0) %15 = trunc i64 %14 to i32 %16 = icmp slt i32 %15, 0 %17 = icmp eq i1 %16, false store i64 %14, i64* %rax.0.shrunk.reg2mem br i1 %17, label LBL_2, label LBL_18 LBL_2: %18 = add i64 %2, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_7, label LBL_3 LBL_3: %23 = trunc i64 %1 to i32 %24 = load i32, i32* %4, align 4 %25 = zext i32 %24 to i64 %26 = call i64 @FUNC(i64 %18, i64 %25, i32 %23) %27 = trunc i64 %26 to i32 %28 = icmp slt i32 %27, 0 %29 = icmp eq i1 %28, false store i64 %26, i64* %rax.0.shrunk.reg2mem br i1 %29, label LBL_4, label LBL_18 LBL_4: %30 = trunc i64 %arg2 to i32 %31 = add i32 %30, -1 %32 = sub i32 0, %30 store i32 0, i32* %storemerge38.reg2mem br label LBL_6 LBL_5: %33 = add i32 %31, %41 %34 = and i32 %33, %32 store i32 %34, i32* %40, align 4 %35 = add nuw i32 %storemerge38.reload, 1 %36 = icmp ugt i32 %storemerge38.reload, 2 store i32 %35, i32* %storemerge38.reg2mem br i1 %36, label LBL_7, label LBL_6 LBL_6: %storemerge38.reload = load i32, i32* %storemerge38.reg2mem %37 = sext i32 %storemerge38.reload to i64 %38 = mul i64 %37, 4 %39 = add i64 %38, %18 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_5, label LBL_7 LBL_7: %44 = inttoptr i64 %7 to i32* %45 = add i64 %2, 64 %46 = add i64 %2, 32 store i32 0, i32* %storemerge7.reg2mem br label LBL_12 LBL_8: %47 = load i32, i32* %11, align 4 %48 = icmp ne i32 %storemerge7.reload, 1 %49 = icmp eq i32 %storemerge7.reload, 2 %50 = icmp eq i1 %49, false %or.cond = icmp eq i1 %48, %50 store i32 %47, i32* %sv_0.0.reg2mem br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %51 = sub i32 0, %47 %52 = load i32, i32* %44, align 4 %53 = urem i32 %52, 32 %54 = ashr i32 %51, %53 %55 = sub i32 0, %54 store i32 %55, i32* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %56 = mul i32 %sv_0.0.reload, %73 %57 = sext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57) %59 = mul i64 %69, 8 %60 = add i64 %46, %59 %61 = inttoptr i64 %60 to i64* store i64 %58, i64* %61, align 8 %62 = icmp eq i64 %58, 0 br i1 %62, label LBL_17, label LBL_11 LBL_11: %63 = inttoptr i64 %58 to i64* %64 = load i64, i64* %63, align 8 %65 = add i64 %59, %45 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = add nuw i32 %storemerge7.reload, 1 %68 = icmp ugt i32 %storemerge7.reload, 2 store i32 %67, i32* %storemerge7.reg2mem br i1 %68, label LBL_13, label LBL_12 LBL_12: %storemerge7.reload = load i32, i32* %storemerge7.reg2mem %69 = sext i32 %storemerge7.reload to i64 %70 = mul i64 %69, 4 %71 = add i64 %70, %18 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = icmp eq i32 %73, 0 %75 = icmp eq i1 %74, false br i1 %75, label LBL_8, label LBL_13 LBL_13: %76 = add i64 %7, 4 %77 = inttoptr i64 %76 to i32* %78 = load i32, i32* %77, align 4 %79 = urem i32 %78, 4 %80 = icmp eq i32 %79, 0 br i1 %80, label LBL_16, label LBL_14 LBL_14: %81 = add i64 %2, 40 %82 = call i64 @FUNC(i64 %81) %83 = call i64 @FUNC(i64 1024) %84 = inttoptr i64 %81 to i64* store i64 %83, i64* %84, align 8 %85 = icmp eq i64 %83, 0 br i1 %85, label LBL_17, label LBL_15 LBL_15: %86 = inttoptr i64 %83 to i64* %87 = load i64, i64* %86, align 8 %88 = add i64 %2, 72 %89 = inttoptr i64 %88 to i64* store i64 %87, i64* %89, align 8 br label LBL_16 LBL_16: %90 = add i64 %2, 96 %91 = inttoptr i64 %90 to i64* store i64 %45, i64* %91, align 8 store i64 0, i64* %rax.0.shrunk.reg2mem br label LBL_18 LBL_17: %92 = call i64 @FUNC(i64 %2) store i64 4294967284, i64* %rax.0.shrunk.reg2mem br label LBL_18 LBL_18: %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 %83, { 1, 0, 2 } uselistorder i32 %73, { 1, 0 } uselistorder i32 %storemerge7.reload, { 3, 2, 0, 1, 4 } uselistorder i64 %59, { 1, 0 } uselistorder i64 %58, { 1, 0, 2 } uselistorder i32 %47, { 1, 0 } uselistorder i64 %45, { 1, 0 } uselistorder i32 %41, { 1, 0 } uselistorder i32* %40, { 1, 0 } uselistorder i32 %storemerge38.reload, { 1, 0, 2 } uselistorder i32 %30, { 1, 0 } uselistorder i64 %2, { 3, 2, 4, 5, 0, 1, 6, 7, 8 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64)* @av_buffer_unref, { 1, 0 } uselistorder i32 2, { 1, 2, 0 } uselistorder i32 0, { 2, 5, 3, 4, 0, 7, 1, 6, 8, 9, 10 } uselistorder i64 4, { 3, 0, 1, 4, 2 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7 } uselistorder i64 8, { 0, 2, 1 } uselistorder label LBL_18, { 3, 4, 0, 1, 2 } uselistorder label LBL_17, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
execute_decode_slices_15967
execute_decode_slices
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 %0, i64* %sv_0, align 8 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_10, label LBL_1 LBL_1: %8 = add i64 %3, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = urem i32 %12, 2 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_10 LBL_2: %15 = trunc i64 %arg2 to i32 %16 = icmp eq i32 %15, 1 %17 = icmp eq i1 %16, false br i1 %17, label LBL_3, label LBL_5 LBL_3: %18 = icmp sgt i32 %15, 1 %19 = add i64 %0, 32 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 store i64 %21, i64* %.lcssa.reg2mem br i1 %18, label LBL_4, label LBL_7 LBL_4: %22 = add i64 %3, 16 %23 = inttoptr i64 %22 to i32* %wide.trip.count9 = and i64 %arg2, 4294967295 store i64 1, i64* %indvars.iv7.reg2mem store i64 %21, i64* %.reg2mem br label LBL_6 LBL_5: %24 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0) store i64 %24, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %.reload = load i64, i64* %.reg2mem %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %25 = mul i64 %indvars.iv7.reload, 8 %26 = add i64 %25, %.reload %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = load i32, i32* %23, align 4 %30 = inttoptr i64 %28 to i32* store i32 %29, i32* %30, align 4 %31 = add i64 %28, 4 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = load i64, i64* %sv_0, align 8 %34 = add i64 %33, 40 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %28, 40 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %39 = load i64, i64* %sv_0, align 8 %40 = add i64 %39, 32 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %exitcond10 = icmp eq i64 %indvars.iv.next8, %wide.trip.count9 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem store i64 %42, i64* %.reg2mem store i64 %42, i64* %.lcssa.reg2mem br i1 %exitcond10, label LBL_7, label LBL_6 LBL_7: %sext = mul i64 %arg2, 4294967296 %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %43 = ashr exact i64 %sext, 29 %44 = add nsw i64 %43, -8 %45 = add i64 %44, %.lcssa.reload %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = add i64 %47, 8 %49 = inttoptr i64 %48 to i32* %50 = load i32, i32* %49, align 4 %51 = add i64 %0, 8 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 %53 = add i64 %47, 12 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = add i64 %0, 12 %57 = inttoptr i64 %56 to i32* store i32 %55, i32* %57, align 4 %58 = add i64 %47, 16 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = add i64 %0, 16 %62 = inttoptr i64 %61 to i32* store i32 %60, i32* %62, align 4 %63 = add i64 %47, 20 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = add i64 %0, 20 %67 = inttoptr i64 %66 to i32* store i32 %65, i32* %67, align 4 store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_8, label LBL_10 LBL_8: %wide.trip.count = and i64 %arg2, 4294967295 store i64 1, i64* %indvars.iv.reg2mem br label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %68 = load i64, i64* %sv_0, align 8 %69 = add i64 %68, 4 %70 = inttoptr i64 %69 to i32* %71 = load i32, i32* %70, align 4 %72 = add i64 %68, 32 %73 = inttoptr i64 %72 to i64* %74 = load i64, i64* %73, align 8 %75 = mul i64 %indvars.iv.reload, 8 %76 = add i64 %74, %75 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = add i64 %78, 4 %80 = inttoptr i64 %79 to i32* %81 = load i32, i32* %80, align 4 %82 = add i32 %81, %71 store i32 %82, i32* %70, 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 store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_10, label LBL_9 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %21, { 1, 0 } uselistorder i64 %3, { 3, 2, 0, 1 } uselistorder i64* %sv_0, { 1, 3, 2, 0, 4 } uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6 } uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 3 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 32, { 1, 2, 0 } uselistorder i64 8, { 0, 2, 3, 1, 4 } uselistorder i64 %arg2, { 2, 0, 1, 3 } uselistorder label LBL_10, { 0, 1, 4, 3, 2 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
qmp_query_commands_16642
qmp_query_commands
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %0 = call i64 @FUNC(i64* nonnull @gv_0, i64 4198681, i64* nonnull %sv_0) %1 = load i64, i64* %sv_0, align 8 ret i64 %1 uselistorder i64* %sv_0, { 1, 0, 2 } }
1
BinRealVul
co_schedule_bh_cb_829
co_schedule_bh_cb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %sv_0.0.lcssa.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %arg1, align 8 %1 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 0, i64* %storemerge3.reg2mem store i64 %0, i64* %sv_1.02.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %2, label LBL_1, label LBL_5 LBL_1: %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %3 = inttoptr i64 %sv_1.02.reload to i64* %4 = load i64, i64* %3, align 8 store i64 %storemerge3.reload, i64* %3, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %sv_1.02.reload, i64* %storemerge3.reg2mem store i64 %4, i64* %sv_1.02.reg2mem br i1 %6, label LBL_1, label LBL_2 LBL_2: %7 = icmp eq i64 %sv_1.02.reload, 0 %8 = icmp eq i1 %7, false store i64 %storemerge3.reload, i64* %.reg2mem store i64 %sv_1.02.reload, i64* %sv_0.01.reg2mem store i64 %sv_1.02.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %8, label LBL_3, label LBL_5 LBL_3: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %.reload = load i64, i64* %.reg2mem %9 = call i64 @FUNC(i64 %0, i64 %sv_0.01.reload) %10 = call i64 @FUNC(i64 %0) %11 = add i64 %sv_0.01.reload, 8 %12 = call i64 @FUNC(i64 %11, i64 0) %13 = call i64 @FUNC(i64 %sv_0.01.reload) %14 = call i64 @FUNC(i64 %0) %15 = icmp eq i64 %.reload, 0 %16 = icmp eq i1 %15, false store i64 %.reload, i64* %sv_0.0.lcssa.reg2mem br i1 %16, label LBL_3.LBL_3_crit_edge, label LBL_5 LBL_4: %.phi.trans.insert = inttoptr i64 %.reload to i64* %.pre = load i64, i64* %.phi.trans.insert, align 8 store i64 %.pre, i64* %.reg2mem store i64 %.reload, i64* %sv_0.01.reg2mem br label LBL_3 LBL_5: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem ret i64 %sv_0.0.lcssa.reload uselistorder i64 %.reload, { 1, 2, 0, 3 } uselistorder i64 %sv_0.01.reload, { 2, 1, 0 } uselistorder i64 %sv_1.02.reload, { 0, 1, 3, 4, 2 } uselistorder i64 %0, { 3, 2, 1, 0 } uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 1, 3, 2 } uselistorder i1 false, { 2, 1, 3, 0 } uselistorder label LBL_5, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
av_packet_unpack_dictionary_15043
av_packet_unpack_dictionary
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i64 %0 = icmp eq i64* %arg3, null %1 = icmp eq i64* %arg1, null %or.cond = or i1 %1, %0 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_8, label LBL_1 LBL_1: %sext = mul i64 %arg2, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_8 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %2, %6 %8 = add i64 %7, -1 %9 = inttoptr i64 %8 to i8* %10 = load i8, i8* %9, align 1 %11 = icmp eq i8 %10, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_8 LBL_3: %12 = ptrtoint i64* %arg3 to i64 %13 = icmp ugt i64 %7, %6 store i64 %6, i64* %sv_0.05.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_4, label LBL_8 LBL_4: %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem %14 = inttoptr i64 %sv_0.05.reload to i8* %15 = call i32 @strlen(i8* %14) %16 = sext i32 %15 to i64 %17 = add i64 %sv_0.05.reload, 1 %18 = add i64 %17, %16 %19 = icmp ult i64 %18, %7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_8 LBL_5: %20 = call i64 @FUNC(i64 %12, i64 %sv_0.05.reload, i64 %18, i64 0) %21 = trunc i64 %20 to i32 %22 = icmp slt i32 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = inttoptr i64 %18 to i8* %24 = call i32 @strlen(i8* %23) %25 = sext i32 %24 to i64 %26 = add i64 %18, 1 %27 = add i64 %26, %25 %28 = icmp ult i64 %27, %7 store i64 %27, i64* %sv_0.05.reg2mem br i1 %28, label LBL_4, label LBL_7 LBL_7: %phitmp = and i64 %20, 4294967295 store i64 %phitmp, 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 %18, { 0, 2, 1, 3 } uselistorder i64 %sv_0.05.reload, { 1, 0, 2 } uselistorder i64 %7, { 3, 2, 0, 1 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 6, 5 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i64 4294967295, { 3, 0, 1, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1, 3, 5, 4 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
ehci_class_init_3494
ehci_class_init
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %4 = trunc i64 %1 to i32 %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = add i64 %2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %3, 12 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = add i64 %3, 16 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = add i64 %3, 20 %18 = inttoptr i64 %17 to i32* store i32 787200, i32* %18, align 4 %19 = add i64 %3, 24 %20 = inttoptr i64 %19 to i64* store i64 4198669, i64* %20, align 8 %21 = add i64 %3, 32 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %23 = load i64, i64* @gv_1, align 8 %24 = inttoptr i64 %5 to i64* store i64 %23, i64* %24, align 8 ret i64 %3 }
0
BinRealVul
tcp_sockclosed_13913
tcp_sockclosed
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %sv_0.02.reg2mem = alloca i32* %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0)) %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32* %arg1) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 6 br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = and i64 %1, 4294967295 %7 = icmp ult i32 %4, 7 store i32* %arg1, i32** %sv_0.0.reg2mem store i64 %6, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_7 LBL_2: %8 = icmp ult i32 %4, 3 br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = add i32 %4, -3 %10 = zext i32 %9 to i64 %11 = icmp ult i32 %9, 2 store i32* %arg1, i32** %sv_0.0.reg2mem store i64 %10, i64* %rax.0.reg2mem br i1 %11, label LBL_5, label LBL_7 LBL_4: store i32 0, i32* %arg1, align 4 %12 = ptrtoint i32* %arg1 to i64 %13 = call i64 @FUNC(i64 %12) %14 = inttoptr i64 %13 to i32* store i32* %14, i32** %sv_0.0.reg2mem store i64 %13, i64* %rax.0.reg2mem br label LBL_7 LBL_5: store i32 5, i32* %arg1, align 4 store i32* %arg1, i32** %sv_0.02.reg2mem br label LBL_8 LBL_6: store i32 7, i32* %arg1, align 4 store i32* %arg1, i32** %sv_0.02.reg2mem br label LBL_8 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %15 = icmp eq i32* %sv_0.0.reload, null store i32* %sv_0.0.reload, i32** %sv_0.02.reg2mem store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %15, label LBL_9, label LBL_8 LBL_8: %sv_0.02.reload = load i32*, i32** %sv_0.02.reg2mem %16 = ptrtoint i32* %sv_0.02.reload to i64 %17 = call i64 @FUNC(i64 %16) store i64 %17, i64* %rax.1.reg2mem br label LBL_9 LBL_9: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %9, { 1, 0 } uselistorder i32 %4, { 3, 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32** %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32** %sv_0.02.reg2mem, { 0, 3, 2, 1 } uselistorder i32 7, { 1, 0 } uselistorder i32* %arg1, { 1, 7, 0, 4, 6, 5, 3, 2, 8 } uselistorder label LBL_8, { 2, 1, 0 } uselistorder label LBL_7, { 2, 0, 1 } }
1
BinRealVul
mxf_write_random_index_pack_366
mxf_write_random_index_pack
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge2.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 16) %sext = mul i64 %1, 4294967296 %8 = ashr exact i64 %sext, 32 %9 = mul nsw i64 %8, 12 %10 = add nsw i64 %9, 28 %11 = call i64 @FUNC(i64 %5, i64 %10) %12 = add i64 %2, 24 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %5, i64 1) br label LBL_3 LBL_2: %17 = call i64 @FUNC(i64 %5, i64 0) br label LBL_3 LBL_3: %18 = trunc i64 %1 to i32 %19 = call i64 @FUNC(i64 %5, i64 0) %20 = icmp eq i32 %18, 0 br i1 %20, label LBL_6, label LBL_4 LBL_4: %21 = and i64 %1, 4294967295 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge2.reg2mem br label LBL_5 LBL_5: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %.reload = load i64, i64* %.reg2mem %22 = call i64 @FUNC(i64 %5, i64 1) %23 = load i64, i64* %4, align 8 %24 = mul i64 %.reload, 8 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %5, i64 %27) %29 = add i32 %storemerge2.reload, 1 %30 = sext i32 %29 to i64 %31 = icmp sgt i64 %21, %30 store i64 %30, i64* %.reg2mem store i32 %29, i32* %storemerge2.reg2mem br i1 %31, label LBL_5, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %5, i64 0) %33 = add i64 %2, 16 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %5, i64 %35) %37 = call i64 @FUNC(i64 %5) %38 = sub i64 4, %6 %39 = add i64 %38, %37 %40 = and i64 %39, 4294967295 %41 = call i64 @FUNC(i64 %5, i64 %40) ret i64 %41 uselistorder i64 %5, { 1, 0, 4, 5, 2, 3, 6, 7, 8, 9, 10, 11 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 (i64, i64)* @avio_wb64, { 1, 2, 0 } uselistorder i64 (i64, i64)* @avio_wb32, { 3, 2, 4, 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i64 (i64)* @avio_tell, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
virtio_queue_guest_notifier_read_1481
virtio_queue_guest_notifier_read
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 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = add i64 %0, -16 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %0, -8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = zext i32 %6 to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) 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 }
0
BinRealVul
nfs4_open_recoverdata_alloc_13633
nfs4_open_recoverdata_alloc
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = call i64 @FUNC(i64 %2, i32 %3, i64 0, i64 0, i64 0) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 4294967284) store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = ptrtoint i32* %arg2 to i64 %9 = inttoptr i64 %4 to i64* store i64 %8, i64* %9, align 8 %10 = add i64 %8, 4 %11 = call i64 @FUNC(i64 %10) store i64 %4, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
btrfs_get_dev_stats_10989
btrfs_get_dev_stats
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv6.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = call i64 @FUNC(i64 %2, i32 %4, i64 0, i64 0) %6 = call i64 @FUNC(i64 %2) %7 = icmp eq i64 %5, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967277, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %10 = inttoptr i64 %5 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0)) store i64 4294967277, i64* %rax.0.reg2mem br label LBL_14 LBL_4: %15 = ptrtoint i64* %arg2 to i64 %16 = add i64 %15, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = urem i32 %18, 2 %20 = icmp eq i32 %19, 0 %21 = add i64 %15, 8 %22 = inttoptr i64 %21 to i32* %23 = add i64 %15, 12 store i64 0, i64* %indvars.iv6.reg2mem store i64 0, i64* %indvars.iv.reg2mem br i1 %20, label LBL_9, label LBL_5 LBL_5: %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem %24 = load i32, i32* %22, align 4 %25 = zext i32 %24 to i64 %26 = icmp ult i64 %indvars.iv6.reload, %25 br i1 %26, label LBL_6, label LBL_7 LBL_6: %27 = call i64 @FUNC(i64 %5, i64 %indvars.iv6.reload) %28 = trunc i64 %27 to i32 %29 = mul i64 %indvars.iv6.reload, 4 %30 = add i64 %29, %23 %31 = inttoptr i64 %30 to i32* store i32 %28, i32* %31, align 4 br label LBL_8 LBL_7: %32 = call i64 @FUNC(i64 %5, i64 %indvars.iv6.reload) br label LBL_8 LBL_8: %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1 %exitcond8 = icmp eq i64 %indvars.iv.next7, 10 store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem br i1 %exitcond8, label LBL_12, label LBL_5 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %33 = load i32, i32* %22, align 4 %34 = zext i32 %33 to i64 %35 = icmp ult i64 %indvars.iv.reload, %34 br i1 %35, label LBL_10, label LBL_11 LBL_10: %36 = call i64 @FUNC(i64 %5, i64 %indvars.iv.reload) %37 = trunc i64 %36 to i32 %38 = mul i64 %indvars.iv.reload, 4 %39 = add i64 %38, %23 %40 = inttoptr i64 %39 to i32* store i32 %37, i32* %40, align 4 br label LBL_11 LBL_11: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_9 LBL_12: %41 = load i32, i32* %22, align 4 %42 = icmp slt i32 %41, 11 store i64 0, i64* %rax.0.reg2mem br i1 %42, label LBL_14, label LBL_13 LBL_13: store i32 10, i32* %22, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i64 %indvars.iv6.reload, { 0, 1, 4, 2, 3 } uselistorder i32* %22, { 0, 1, 3, 2 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 10, { 1, 0 } uselistorder i64 4294967277, { 1, 0 } uselistorder i64 (i64, i8*)* @btrfs_warn, { 1, 0 } uselistorder label LBL_14, { 1, 0, 2, 3 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
1
BinRealVul
parse_add_fd_16448
parse_add_fd
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 4294967295) %6 = trunc i64 %5 to i32 %7 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 4294967295) %8 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)) %9 = icmp slt i32 %6, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i64 4294967295, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %12 = icmp sgt i32 %6, 2 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 4294967295, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %14 = call i32 (i32, i32, ...) @fcntl(i32 %6, i32 1) %15 = urem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i64 4294967295, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %sext = mul i64 %7, 4294967296 %18 = icmp slt i64 %sext, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_8, label LBL_7 LBL_7: %20 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_6, i64 0, i64 0), i64 4294967295, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %21 = call i32 (i32, i32, ...) @fcntl(i32 %6, i32 1030) %22 = icmp eq i32 %21, -1 %23 = icmp eq i1 %22, false br i1 %23, label LBL_10, label LBL_9 LBL_9: %24 = call i32* @__errno_location() %25 = load i32, i32* %24, align 4 %26 = call i8* @strerror(i32 %25) %27 = ptrtoint i8* %26 to i64 %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 %27, i64 %3, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %29 = ashr exact i64 %sext, 32 %30 = icmp eq i64 %8, 0 %31 = icmp eq i1 %30, false %32 = zext i1 %31 to i64 %33 = zext i32 %21 to i64 %34 = call i64 @FUNC(i64 %33, i64 1, i64 %29, i64 %32, i64 %8, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0 } uselistorder i32 %6, { 0, 2, 1, 3 } uselistorder i64 %3, { 4, 3, 2, 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @qerror_report, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i64)* @qemu_opt_get_number, { 1, 0 } uselistorder i64 4294967295, { 3, 2, 7, 4, 8, 1, 6, 0, 5, 10, 11, 9 } }
1
BinRealVul
try_poll_mode_3209
try_poll_mode
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %3 = icmp eq i64* %arg1, null %or.cond = or i1 %3, %2 br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = call i64 @FUNC(i64 %0) %10 = icmp ult i64 %9, %0 %11 = icmp eq i1 %10, false store i64 %0, i64* %storemerge1.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0) store i64 %12, i64* %storemerge1.reg2mem br label LBL_4 LBL_4: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %13 = icmp eq i64 %storemerge1.reload, 0 br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = call i64 @FUNC(i64 %0, i64 1) %15 = call i64 @FUNC(i64 %0, i64 %storemerge1.reload) %16 = trunc i64 %15 to i8 %17 = icmp eq i8 %16, 0 store i64 1, i64* %storemerge.reg2mem br i1 %17, label LBL_6, label LBL_7 LBL_6: %18 = call i64 @FUNC(i64 %0, i64 0) %19 = call i64 @FUNC(i64 %0) store i64 %19, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64 %0, { 5, 4, 3, 2, 1, 0, 7, 6, 8 } uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64)* @poll_set_started, { 1, 0 } uselistorder i64 (i64)* @aio_compute_timeout, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ilst_dump_10730
ilst_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %2 = inttoptr i64 %arg2 to %_IO_FILE* %3 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 1, i32 2, %_IO_FILE* %2) store i32 0, i32* %sv_0, align 4 store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem br label LBL_3 LBL_1: %4 = call i64 @FUNC(i64 %8, i64 %arg2) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %8, i64* %rdi.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = and i64 %4, 4294967295 store i64 %7, i64* %storemerge.reg2mem br label LBL_5 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %8 = call i64 @FUNC(i64 %rdi.0.reload, i32* nonnull %sv_0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_1, label LBL_4 LBL_4: %11 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %arg2) 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 %8, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2, 3 } uselistorder label LBL_5, { 1, 0 } }
0