dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
timeval_to_jiffies_9087
timeval_to_jiffies
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp ugt i64* %arg1, inttoptr (i64 4294967294 to i64*) %.op = mul i64 %0, 1000 %.op3 = mul i64 %3, 1000 %.op3.op = add i64 %.op3, 500 %.op3.op.op = udiv i64 %.op3.op, 1024 %5 = add i64 %.op3.op.op, %.op %.op4 = udiv i64 %5, 1024 %6 = select i1 %4, i64 4194303999, i64 %.op4 ret i64 %6 }
0
BinRealVul
xc_dom_parse_zimage32_kernel_12179
xc_dom_parse_zimage32_kernel
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = mul i64 %2, 4096 %4 = add i64 %2, 64 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %3, 32768 %12 = trunc i64 %11 to i32 %13 = add i64 %2, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = add i64 %11, %16 %18 = add i64 %10, 256 %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 %storemerge = select i1 %22, i32 %20, i32 %12 %sext = mul i64 %11, 4294967296 %23 = ashr exact i64 %sext, 32 %24 = add i64 %2, 24 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = add i64 %2, 32 %27 = inttoptr i64 %26 to i64* store i64 %17, i64* %27, align 8 %28 = zext i32 %storemerge to i64 %29 = add i64 %2, 40 %30 = inttoptr i64 %29 to i64* store i64 %28, i64* %30, align 8 %31 = add i64 %2, 48 %32 = inttoptr i64 %31 to i64* store i64 %3, i64* %32, align 8 %33 = add i64 %2, 56 %34 = inttoptr i64 %33 to i64* store i64 ptrtoint ([15 x i8]* @gv_0 to i64), i64* %34, align 8 %35 = load i64, i64* %27, align 8 %36 = load i64, i64* %25, align 8 %37 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([15 x i8]* @gv_0 to i64), i64 %36, i64 %35, i64 %1) ret i64 0 uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 7, 8, 0 } uselistorder i64 32, { 1, 0 } }
1
BinRealVul
kvmclock_class_init_17029
kvmclock_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8 %3 = load i64, i64* @gv_1, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 %3, i64* %5, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2 } }
1
BinRealVul
process_client_16694
process_client
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem21 = alloca i32 %.lcssa.reg2mem = alloca i32 %.lcssa3.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %.lcssa5.reg2mem = alloca i1 %.reg2mem = alloca i1 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i8* null, i8** %sv_1, align 8 %4 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp slt i32 %5, 0 %8 = icmp eq i1 %7, false %9 = icmp eq i1 %6, false %10 = icmp eq i1 %8, %9 store i1 %7, i1* %.lcssa5.reg2mem br i1 %10, label LBL_1, label LBL_5 LBL_1: %11 = bitcast i8** %sv_1 to i64* store i1 %7, i1* %.reg2mem br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 0, i64* nonnull %11) %13 = load i8*, i8** %sv_1, align 8 %14 = icmp eq i8* %13, null br i1 %14, label LBL_3, label LBL_4 LBL_3: %15 = call i64 @FUNC(i64 %3) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp slt i32 %16, 0 %19 = icmp eq i1 %18, false %20 = icmp eq i1 %17, false %21 = icmp eq i1 %19, %20 store i1 %18, i1* %.reg2mem store i1 %18, i1* %.lcssa5.reg2mem br i1 %21, label LBL_2, label LBL_5 LBL_4: %.reload = load i1, i1* %.reg2mem %22 = load i8, i8* %13, align 1 %23 = icmp eq i8 %22, 0 %24 = icmp eq i1 %23, false store i1 %.reload, i1* %.lcssa5.reg2mem br i1 %24, label LBL_5, label LBL_3 LBL_5: %.lcssa5.reload = load i1, i1* %.lcssa5.reg2mem br i1 %.lcssa5.reload, label LBL_22, label LBL_6 LBL_6: %25 = load i8*, i8** %sv_1, align 8 %26 = ptrtoint i8* %25 to i64 %27 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %2, i64 %1) %28 = load i8*, i8** %sv_1, align 8 %29 = icmp eq i8* %28, null br i1 %29, label LBL_9, label LBL_7 LBL_7: %30 = load i8, i8* %28, align 1 %31 = icmp eq i8 %30, 47 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = ptrtoint i8* %28 to i64 %34 = add i64 %33, 1 %35 = inttoptr i64 %34 to i8* %36 = call i32 @strcmp(i8* %35, i8* %arg2) %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false store i32 200, i32* %storemerge.reg2mem br i1 %38, label LBL_9, label LBL_10 LBL_9: store i32 -1, i32* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i32, i32* %storemerge.reg2mem %39 = sext i32 %storemerge.reload to i64 %40 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 %39, i64 0) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = and i64 %40, 4294967295 %45 = call i64 @FUNC(i64 %44) %46 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %45, i64 %2, i64 %1) br label LBL_22 LBL_12: %47 = zext i32 %storemerge.reload to i64 %48 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %47, i64 %2, i64 %1) br label LBL_13 LBL_13: %49 = call i64 @FUNC(i64 %3) %50 = trunc i64 %49 to i32 %51 = icmp eq i32 %50, 0 %52 = icmp slt i32 %50, 0 %53 = icmp eq i1 %52, false %54 = icmp eq i1 %51, false %55 = icmp eq i1 %53, %54 br i1 %55, label LBL_13, label LBL_14 LBL_14: br i1 %52, label LBL_22, label LBL_15 LBL_15: %56 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %57 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_6 to i64*), i32 1, i32 21, %_IO_FILE* %56) %58 = icmp eq i32 %storemerge.reload, 200 %59 = icmp eq i1 %58, false br i1 %59, label LBL_22, label LBL_16 LBL_16: %60 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %61 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_7 to i64*), i32 1, i32 20, %_IO_FILE* %60) %62 = ptrtoint i8* %arg2 to i64 %63 = call i64 @FUNC(i64* nonnull %sv_2, i64 %62, i64 1, i64 0, i64 0) %64 = trunc i64 %63 to i32 %65 = icmp slt i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_17, label LBL_18 LBL_17: %67 = load i64, i64* %sv_2, align 8 %68 = call i64 @FUNC(i64 %67, i64* nonnull %sv_0, i64 1024) %69 = trunc i64 %68 to i32 %70 = icmp slt i32 %69, 0 %71 = icmp eq i1 %70, false store i64 %68, i64* %.lcssa3.reg2mem store i32 %69, i32* %.lcssa.reg2mem store i32 %69, i32* %.reg2mem21 br i1 %71, label LBL_21, label LBL_19 LBL_18: %72 = and i64 %63, 4294967295 %73 = call i64 @FUNC(i64 %72) %74 = load i64, i64* %sv_2, align 8 %75 = call i64 @FUNC(i64 %74, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %62, i64 %73, i64 %1) br label LBL_22 LBL_19: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %76 = icmp eq i32 %.lcssa.reload, -2 br i1 %76, label LBL_22, label LBL_20 LBL_20: %.lcssa3.reload = load i64, i64* %.lcssa3.reg2mem %77 = and i64 %.lcssa3.reload, 4294967295 %78 = call i64 @FUNC(i64 %77) %79 = load i64, i64* %sv_2, align 8 %80 = call i64 @FUNC(i64 %79, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i64 %78, i64 0, i64 %1) br label LBL_22 LBL_21: %.reload22 = load i32, i32* %.reg2mem21 %81 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32 %.reload22) %82 = call i64 @FUNC(i64 %3) %83 = load i64, i64* %sv_2, align 8 %84 = call i64 @FUNC(i64 %83, i64* nonnull %sv_0, i64 1024) %85 = trunc i64 %84 to i32 %86 = icmp slt i32 %85, 0 %87 = icmp eq i1 %86, false store i64 %84, i64* %.lcssa3.reg2mem store i32 %85, i32* %.lcssa.reg2mem store i32 %85, i32* %.reg2mem21 br i1 %87, label LBL_21, label LBL_19 LBL_22: %88 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %89 = call i32 @fwrite(i64* bitcast ([17 x i8]* @gv_10 to i64*), i32 1, i32 16, %_IO_FILE* %88) %90 = call i64 @FUNC(i64 %3) %91 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %92 = call i32 @fwrite(i64* bitcast ([16 x i8]* @gv_11 to i64*), i32 1, i32 15, %_IO_FILE* %91) %93 = call i64 @FUNC(i64 %3) %94 = load %_IO_FILE*, %_IO_FILE** @gv_5, align 8 %95 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_12 to i64*), i32 1, i32 14, %_IO_FILE* %94) %96 = load i64, i64* %sv_2, align 8 %97 = call i64 @FUNC(i64 %96) ret i64 %97 uselistorder i32 %50, { 1, 0 } uselistorder i32 %storemerge.reload, { 2, 1, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i1 %7, { 1, 0, 2 } uselistorder i64* %sv_2, { 2, 4, 3, 5, 0, 1, 6 } uselistorder i8** %sv_1, { 3, 2, 1, 4, 0 } uselistorder i64* %sv_0, { 2, 1, 0 } uselistorder i64 %3, { 9, 8, 3, 2, 4, 5, 1, 6, 7, 11, 10, 0 } uselistorder i64 %2, { 1, 2, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa3.reg2mem, { 1, 0, 2 } uselistorder i32* %.lcssa.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem21, { 2, 0, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @avio_close, { 1, 0 } uselistorder i64 (i64)* @avio_flush, { 1, 0 } uselistorder i64 (i64, i64*, i64)* @avio_read, { 1, 0 } uselistorder i64 1024, { 1, 0 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_5, { 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @av_err2str, { 2, 1, 0 } uselistorder i32 200, { 1, 0 } uselistorder i64 1, { 1, 2, 3, 4, 5, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i1 false, { 5, 2, 6, 7, 8, 3, 9, 10, 11, 12, 13, 4, 0, 1 } uselistorder i32 0, { 3, 2, 4, 5, 6, 7, 8, 9, 10, 0, 1 } uselistorder i64 (i64)* @avio_handshake, { 2, 1, 0 } uselistorder i8* null, { 1, 0, 2 } uselistorder i8* %arg2, { 1, 0 } uselistorder label LBL_22, { 4, 0, 5, 1, 2, 6, 3 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ib_prctl_set_19115
ib_prctl_set
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 4294967294, i64* %rax.0.reg2mem switch i64 %arg2, label LBL_1 [ i64 1, label LBL_2 i64 0, label LBL_11 ] LBL_1: %1 = or i64 %arg2, 1 %2 = icmp eq i64 %1, 3 store i64 4294967294, i64* %rax.0.reg2mem br i1 %2, label LBL_6, label LBL_11 LBL_2: %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: %6 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_11 LBL_4: %9 = icmp ne i32 %3, 1 %10 = load i32, i32* @gv_1, align 4 %11 = icmp ne i32 %10, 1 %or.cond.not = icmp eq i1 %9, %11 %12 = icmp eq i32 %10, 2 %13 = icmp eq i1 %12, false %or.cond5 = icmp eq i1 %or.cond.not, %13 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond5, label LBL_5, label LBL_11 LBL_5: %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_11 LBL_6: %16 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %.pre = load i32, i32* @gv_1, align 4 %17 = or i32 %.pre, %16 %18 = icmp eq i32 %17, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %18, label LBL_11, label LBL_7 LBL_7: %19 = icmp ne i32 %16, 1 %20 = icmp ne i32 %.pre, 1 %or.cond3.not = icmp eq i1 %19, %20 %21 = icmp eq i32 %.pre, 2 %22 = icmp eq i1 %21, false %or.cond7 = icmp eq i1 %or.cond3.not, %22 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond7, label LBL_8, label LBL_11 LBL_8: %23 = call i64 @FUNC(i64 %0) %24 = icmp eq i64 %arg2, 3 %25 = icmp eq i1 %24, false br i1 %25, label LBL_10, label LBL_9 LBL_9: %26 = call i64 @FUNC(i64 %0) br label LBL_10 LBL_10: %27 = call i64 @FUNC(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 i32 %.pre, { 1, 2, 0 } uselistorder i32 %16, { 1, 0 } uselistorder i64 %0, { 1, 0, 2, 4, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 6, 1, 2, 7, 8, 4, 5 } uselistorder i64 (i64)* @task_update_spec_tif, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3, 4 } uselistorder i32 0, { 0, 2, 3, 1 } uselistorder i64 %arg2, { 1, 2, 0 } uselistorder label LBL_11, { 2, 5, 0, 1, 6, 7, 3, 4 } }
1
BinRealVul
php_pgsql_delete_9872
php_pgsql_delete
define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = icmp eq i64 %arg2, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 1 br i1 %7, label LBL_6, label LBL_5 LBL_5: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_6 LBL_6: %8 = icmp ult i64 %arg4, 16 br i1 %8, label LBL_8, label LBL_7 LBL_7: call void @__assert_fail(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0)) br label LBL_8 LBL_8: %9 = ptrtoint i32* %arg3 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %13, label LBL_9, label LBL_20 LBL_9: store i32 0, i32* %sv_1, align 4 %14 = and i64 %arg4, 24 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 %9, i64* %.pre-phi.reg2mem br i1 %16, label LBL_12, label LBL_10 LBL_10: store i32 1, i32* %sv_1, align 4 %17 = and i64 %arg4, 32 %18 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %9, i32* nonnull %sv_1, i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, -1 store i32 -1, i32* %sv_0.0.reg2mem br i1 %20, label LBL_16, label LBL_10.LBL_12_crit_edge LBL_11: %.pre = ptrtoint i32* %sv_1 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_12 LBL_12: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %21 = ptrtoint i64* %sv_2 to i64 %22 = call i64 @FUNC(i64 %21, i64 ptrtoint ([13 x i8]* @gv_6 to i64)) %23 = call i64 @FUNC(i64* nonnull %sv_2, i64 %arg1, i64 %arg2) %24 = call i64 @FUNC(i64 %21, i64 ptrtoint ([8 x i8]* @gv_7 to i64)) %25 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_2, i64 %.pre-phi.reload, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i64 5) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 -1, i32* %sv_0.0.reg2mem br i1 %28, label LBL_16, label LBL_13 LBL_13: %29 = call i64 @FUNC(i64* nonnull %sv_2, i64 59) %30 = call i64 @FUNC(i64* nonnull %sv_2) %31 = and i64 %arg4, 2 %32 = icmp eq i64 %31, 0 br i1 %32, label LBL_15, label LBL_14 LBL_14: %33 = call i64 @FUNC(i64* nonnull %sv_2, i64 0, i64 %arg1, i64 %arg4) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false store i32 0, i32* %sv_0.0.reg2mem br i1 %36, label LBL_15, label LBL_16 LBL_15: %37 = and i64 %arg4, 4 %38 = icmp eq i64 %37, 0 %spec.select = sext i1 %38 to i32 store i32 %spec.select, i32* %sv_0.0.reg2mem br label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %39 = call i64 @FUNC(i32* nonnull %sv_1) %40 = icmp eq i32 %sv_0.0.reload, 0 %41 = icmp eq i1 %40, false %42 = and i64 %arg4, 4 %43 = icmp eq i64 %42, 0 %or.cond = or i1 %43, %41 br i1 %or.cond, label LBL_18, label LBL_17 LBL_17: %44 = load i64, i64* %sv_2, align 8 store i64 %44, i64* %arg5, align 8 br label LBL_19 LBL_18: %45 = call i64 @FUNC(i64* nonnull %sv_2) br label LBL_19 LBL_19: %46 = zext i32 %sv_0.0.reload to i64 store i64 %46, i64* %storemerge.reg2mem br label LBL_20 LBL_20: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %sv_0.0.reload, { 1, 0 } uselistorder i64 %9, { 1, 0, 2 } uselistorder i64* %sv_2, { 0, 6, 1, 2, 3, 4, 5, 7, 8 } uselistorder i32* %sv_1, { 1, 0, 2, 3, 4 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 2, 4, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 1, { 3, 0, 1, 2, 4, 5 } uselistorder i64 (i64, i64)* @smart_str_appends, { 2, 1, 0 } uselistorder i32 -1, { 1, 0, 2 } uselistorder i32 0, { 2, 0, 3, 4, 1, 5 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 } uselistorder i64 %arg4, { 0, 2, 4, 3, 1, 5, 6 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 3, 2, 0, 4 } uselistorder label LBL_20, { 1, 0 } }
0
BinRealVul
acpi_dsdt_add_cpus_606
acpi_dsdt_add_cpus
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = icmp sgt i64 %sext, 0 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge5.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %1, label LBL_1, label LBL_2 LBL_1: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload = load i64, i64* %.reg2mem %2 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %.reload) %3 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)) %4 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %3) %5 = call i64 @FUNC(i64 %2, i64 %4) %6 = call i64 @FUNC(i64 %.reload) %7 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 %6) %8 = call i64 @FUNC(i64 %2, i64 %7) %9 = call i64 @FUNC(i64 %arg1, i64 %2) %10 = mul i32 %storemerge5.reload, 65536 %sext4 = add i32 %10, 65536 %11 = ashr exact i32 %sext4, 16 %12 = urem i32 %11, 65536 %13 = zext i32 %12 to i64 %14 = icmp sgt i64 %0, %13 store i64 %13, i64* %.reg2mem store i32 %11, i32* %storemerge5.reg2mem store i64 %13, i64* %.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem ret i64 %.lcssa.reload uselistorder i64 %sext, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i32 65536, { 1, 2, 0 } uselistorder i64 (i64, i64)* @aml_append, { 2, 1, 0 } uselistorder i64 (i8*, i64)* @aml_name_decl, { 1, 0 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
vlc_decode_block_16909
vlc_decode_block
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 %storemerge5.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 40 %2 = call i64 @FUNC(i64 %1, i64 8) %3 = trunc i64 %2 to i16 %4 = mul i16 %3, 8 %5 = bitcast i64* %arg1 to i16* store i16 %4, i16* %5, align 2 %6 = trunc i64 %arg2 to i32 %7 = icmp ugt i32 %6, 1 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = add i64 %0, 24 %9 = inttoptr i64 %8 to i32* %10 = add i64 %0, 16 %11 = inttoptr i64 %10 to i64* %12 = trunc i64 %arg3 to i32 %13 = add i64 %0, 32 %14 = inttoptr i64 %13 to i64* store i32 1, i32* %storemerge5.reg2mem br label LBL_2 LBL_2: %15 = load i32, i32* %9, align 4 %16 = load i64, i64* %11, align 8 %17 = call i64 @FUNC(i64 %1, i64 %16, i32 %15, i64 3) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 %20 = icmp eq i1 %19, false store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_9 LBL_3: %21 = icmp eq i32 %18, -1 %22 = icmp eq i1 %21, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %22, label LBL_4, label LBL_9 LBL_4: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %23 = urem i32 %18, 16 %24 = add i32 %23, %storemerge5.reload %25 = icmp ult i32 %24, 64 store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_5, label LBL_9 LBL_5: %26 = udiv i64 %17, 16 %27 = urem i64 %26, 268435456 %28 = call i64 @FUNC(i64 %1, i64 %27) %sext3 = mul i64 %28, 4294967296 %29 = ashr exact i64 %sext3, 32 %30 = and i64 %17, 4294967280 %31 = add nsw i64 %29, %30 %32 = mul i64 %31, 4 %33 = add i64 %32, ptrtoint (i32** @gv_0 to i64) %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = icmp ult i32 %24, 3 br i1 %36, label LBL_6, label LBL_7 LBL_6: %37 = mul i32 %35, 16 store i32 %37, i32* %sv_0.0.reg2mem br label LBL_8 LBL_7: %38 = mul i32 %35, %12 %39 = sdiv i32 %38, 1001 store i32 %39, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %40 = load i64, i64* %14, align 8 %41 = zext i32 %24 to i64 %42 = mul i64 %41, 4 %43 = add i64 %40, %42 %44 = inttoptr i64 %43 to i32* %45 = load i32, i32* %44, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 %46, 2 %48 = add i64 %47, %0 %49 = trunc i32 %sv_0.0.reload to i16 %50 = inttoptr i64 %48 to i16* store i16 %49, i16* %50, align 2 %51 = add i32 %24, 1 %52 = icmp ult i32 %51, %6 store i32 %51, i32* %storemerge5.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %52, label LBL_2, label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %35, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %0, { 0, 1, 3, 2, 4 } uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 } uselistorder i64 (i64, i64)* @get_bits, { 1, 0 } uselistorder label LBL_9, { 3, 2, 1, 0, 4 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
__ocfs2_move_extent_7731
__ocfs2_move_extent
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sext5 = mul i64 %arg3, 4294967296 %0 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 24) %1 = ashr exact i64 %sext5, 32 store i64 %1, i64* %sv_1, align 8 %2 = call i64* @malloc(i32 0) %3 = icmp eq i64* %2, null %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4294967284) store i64 4294967284, i64* %sv_0.0.reg2mem br label LBL_7 LBL_2: %7 = call i64* @malloc(i32 248) %8 = bitcast i64* %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_3, label LBL_4 LBL_3: %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %12 = trunc i64 %arg3 to i32 %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_2, i64 0, i64 0), i64 0, i32 %12) store i64 4294967266, i64* %sv_0.0.reg2mem br label LBL_7 LBL_4: %14 = ptrtoint i64* %7 to i64 %15 = add i64 %14, 24 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = trunc i64 %arg7 to i32 %19 = icmp eq i32 %17, %18 br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %21 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_3 to i64*), i32 1, i32 22, %_IO_FILE* %20) call void @exit(i32 1) unreachable LBL_6: %22 = trunc i64 %arg6 to i32 %23 = add i64 %arg2, 272 %24 = inttoptr i64 %23 to i32* store i32 %22, i32* %24, align 4 ret i64 0 LBL_7: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 } uselistorder i32 1, { 1, 2, 3, 0 } uselistorder i64 %arg3, { 1, 0 } }
1
BinRealVul
pl181_fifo_run_7427
pl181_fifo_run
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.1.reg2mem = alloca i64 %.reg2mem19 = alloca i32 %sv_0.25.reg2mem = alloca i32 %sv_1.27.reg2mem = alloca i32 %.reg2mem17 = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %.reg2mem15 = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_20, label LBL_1 LBL_1: %7 = urem i64 %1, 2 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false %10 = icmp eq i1 %9, false br i1 %10, label LBL_3, label LBL_2 LBL_2: %11 = add i64 %2, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_20, label LBL_3 LBL_3: %17 = add i64 %2, 24 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_20, label LBL_4 LBL_4: br i1 %10, label LBL_6, label LBL_5 LBL_5: %22 = add i64 %2, 8 %23 = inttoptr i64 %22 to i32* %24 = add i64 %2, 16 %25 = inttoptr i64 %24 to i64* br label LBL_10 LBL_6: %26 = load i32, i32* %4, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_20, label LBL_7 LBL_7: %28 = add i64 %2, 8 %29 = inttoptr i64 %28 to i32* %30 = add i64 %2, 16 %31 = inttoptr i64 %30 to i64* store i32 %26, i32* %.reg2mem17 store i32 0, i32* %sv_0.25.reg2mem br label LBL_18 LBL_8: %32 = load i64, i64* %25, align 8 %33 = call i64 @FUNC(i64 %32) %34 = mul i32 %sv_0.0.reload, 8 %35 = icmp eq i32 %34, 0 %36 = trunc i64 %33 to i32 %37 = shl i32 %36, %34 %38 = zext i32 %37 to i64 %rax.0 = select i1 %35, i64 %33, i64 %38 %39 = trunc i64 %rax.0 to i32 %40 = or i32 %sv_1.0.reload, %39 %41 = load i32, i32* %4, align 4 %42 = add i32 %41, -1 store i32 %42, i32* %4, align 4 %43 = add nuw nsw i32 %sv_0.0.reload, 1 %44 = icmp eq i32 %sv_0.0.reload, 3 %45 = icmp eq i1 %44, false store i32 %42, i32* %.reg2mem store i32 %43, i32* %sv_0.0.reg2mem store i32 %40, i32* %sv_1.0.reg2mem br i1 %45, label LBL_11, label LBL_9 LBL_9: %46 = zext i32 %40 to i64 %47 = call i64 @FUNC(i64 %2, i64 %46) br label LBL_10 LBL_10: %.pr = load i32, i32* %4, align 4 store i32 %.pr, i32* %.reg2mem store i32 0, i32* %sv_0.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem br label LBL_11 LBL_11: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %.reload = load i32, i32* %.reg2mem %48 = icmp eq i32 %.reload, 0 br i1 %48, label LBL_13, label LBL_12 LBL_12: %49 = load i32, i32* %23, align 4 %50 = icmp ult i32 %49, 16 br i1 %50, label LBL_8, label LBL_13 LBL_13: %51 = icmp eq i32 %sv_0.0.reload, 0 br i1 %51, label LBL_20, label LBL_14 LBL_14: %52 = zext i32 %sv_1.0.reload to i64 %53 = call i64 @FUNC(i64 %2, i64 %52) br label LBL_20 LBL_15: %54 = icmp eq i32 %sv_0.25.reload, 0 %55 = icmp eq i1 %54, false store i32 %.reload18, i32* %.reg2mem15 store i32 %sv_0.25.reload, i32* %sv_0.1.reg2mem store i32 %sv_1.27.reload, i32* %sv_1.1.reg2mem br i1 %55, label LBL_17, label LBL_16 LBL_16: %56 = call i64 @FUNC(i64 %2) %57 = trunc i64 %56 to i32 %.pre = load i32, i32* %4, align 4 store i32 %.pre, i32* %.reg2mem15 store i32 4, i32* %sv_0.1.reg2mem store i32 %57, i32* %sv_1.1.reg2mem br label LBL_17 LBL_17: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %.reload16 = load i32, i32* %.reg2mem15 %58 = add i32 %sv_0.1.reload, -1 %59 = add i32 %.reload16, -1 store i32 %59, i32* %4, align 4 %60 = load i64, i64* %31, align 8 %61 = urem i32 %sv_1.1.reload, 256 %62 = zext i32 %61 to i64 %63 = call i64 @FUNC(i64 %60, i64 %62) %64 = udiv i32 %sv_1.1.reload, 256 %65 = load i32, i32* %4, align 4 %66 = icmp eq i32 %65, 0 store i32 %65, i32* %.reg2mem17 store i32 %64, i32* %sv_1.27.reg2mem store i32 %58, i32* %sv_0.25.reg2mem br i1 %66, label LBL_20, label LBL_18 LBL_18: %sv_0.25.reload = load i32, i32* %sv_0.25.reg2mem %sv_1.27.reload = load i32, i32* %sv_1.27.reg2mem %.reload18 = load i32, i32* %.reg2mem17 %67 = load i32, i32* %29, align 4 %68 = icmp eq i32 %67, 0 %69 = icmp eq i1 %68, false br i1 %69, label LBL_15, label LBL_19 LBL_19: %70 = icmp eq i32 %sv_0.25.reload, 0 %71 = icmp slt i32 %sv_0.25.reload, 0 %72 = icmp eq i1 %71, false %73 = icmp eq i1 %70, false %74 = icmp eq i1 %72, %73 br i1 %74, label LBL_15, label LBL_20 LBL_20: %75 = add i64 %2, 12 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = and i32 %77, -7 store i32 %78, i32* %76, align 4 %79 = load i32, i32* %4, align 4 %80 = icmp eq i32 %79, 0 %81 = icmp eq i1 %80, false store i32 %79, i32* %.reg2mem19 br i1 %81, label LBL_22, label LBL_21 LBL_21: %82 = or i32 %78, 24 store i32 %82, i32* %76, align 4 %83 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0)) %.pre10 = load i32, i32* %4, align 4 store i32 %.pre10, i32* %.reg2mem19 br label LBL_22 LBL_22: %.reload20 = load i32, i32* %.reg2mem19 %84 = icmp eq i32 %.reload20, 0 %85 = icmp eq i1 %84, false store i64 %2, i64* %rax.1.reg2mem br i1 %85, label LBL_25, label LBL_23 LBL_23: %86 = add i64 %2, 8 %87 = inttoptr i64 %86 to i32* %88 = load i32, i32* %87, align 4 %89 = icmp eq i32 %88, 0 %90 = icmp eq i1 %89, false store i64 %2, i64* %rax.1.reg2mem br i1 %90, label LBL_25, label LBL_24 LBL_24: %91 = bitcast i64* %rdi to i32* %92 = load i32, i32* %91, align 8 %93 = and i32 %92, -3 %94 = bitcast i64* %arg1 to i32* store i32 %93, i32* %94, align 4 %95 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0)) store i64 %95, i64* %rax.1.reg2mem br label LBL_25 LBL_25: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %sv_0.25.reload, { 1, 0, 2, 3 } uselistorder i32 %sv_1.1.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 2, 3, 1, 0 } uselistorder i32 %sv_1.0.reload, { 1, 0 } uselistorder i32 %40, { 1, 0 } uselistorder i32* %4, { 0, 8, 7, 6, 1, 3, 5, 4, 2, 9 } uselistorder i64 %2, { 1, 11, 0, 12, 7, 4, 3, 8, 9, 6, 5, 10, 2, 13 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem19, { 0, 2, 1 } uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i8*)* @DPRINTF, { 1, 0 } uselistorder i1 false, { 2, 3, 5, 6, 1, 7, 4, 8, 9, 0, 10 } uselistorder i32 0, { 4, 5, 7, 8, 9, 10, 11, 6, 13, 14, 1, 2, 12, 0, 3, 15, 16, 17 } uselistorder label LBL_25, { 2, 1, 0 } uselistorder label LBL_20, { 1, 0, 3, 4, 2, 5, 6, 7 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
hwmap_get_buffer_2839
hwmap_get_buffer
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 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %4 = and i64 %arg2, 4294967295 %5 = and i64 %arg3, 4294967295 %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, 0 %12 = icmp eq i64 %8, 0 %13 = icmp eq i1 %12, false %or.cond = or i1 %11, %13 br i1 %or.cond, label LBL_8, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %3, i64 %4, i64 %5) store i64 %14, i64* %sv_1, align 8 %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_3, label LBL_2 LBL_2: %17 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_3: %18 = call i64 @FUNC() store i64 %18, i64* %sv_0, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = call i64 @FUNC(i64* nonnull %sv_1) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %22 = add i64 %8, 4 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = call i64 @FUNC(i64 %18, i64 %14, i32 %24) %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = and i64 %25, 4294967295 %29 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %2, i64 %1) %30 = call i64 @FUNC(i64* nonnull %sv_1) %31 = call i64 @FUNC(i64* nonnull %sv_0) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_7: %32 = call i64 @FUNC(i64* nonnull %sv_1) %33 = load i64, i64* %sv_0, align 8 store i64 %33, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %34 = call i64 @FUNC(i64 %3, i64 %4, i64 %5) store i64 %34, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 2, 1, 0 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %3, { 3, 1, 0, 2, 4 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder i64 4294967295, { 2, 1, 0 } }
0
BinRealVul
set_frame_distances_14644
set_frame_distances
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem8 = alloca i32 %.pre-phi3.reg2mem = alloca i32* %.pre-phi7.reg2mem = alloca i32* %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %0 to i32 %2 = icmp eq i32 %1, -1 %3 = icmp eq i1 %2, false store i32 %1, i32* %.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) store i32 ptrtoint ([48 x i8]* @gv_0 to i32), i32* %.reg2mem br label LBL_2 LBL_2: %.reload = load i32, i32* %.reg2mem %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = mul i32 %8, %.reload %10 = add i64 %0, 24 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %0, 16 %13 = inttoptr i64 %12 to i32* %14 = load i32, i32* %13, align 4 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false br i1 %16, label LBL_2.LBL_7_crit_edge, label LBL_4 LBL_3: %.pre1 = add i64 %0, 36 %.pre2 = inttoptr i64 %.pre1 to i32* %.pre4 = add i64 %0, 28 %.pre6 = inttoptr i64 %.pre4 to i32* store i32* %.pre6, i32** %.pre-phi7.reg2mem store i32* %.pre2, i32** %.pre-phi3.reg2mem store i32 %9, i32* %.reg2mem8 br label LBL_7 LBL_4: %17 = add i64 %0, 28 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = add i64 %0, 36 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = sub i32 %9, %22 %24 = add i32 %23, %19 %25 = add i64 %0, 32 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = icmp slt i32 %24, 1 br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = load i32, i32* %18, align 4 %29 = zext i32 %28 to i64 %30 = icmp ult i32 %24, %28 store i64 %29, i64* %rax.0.reg2mem br i1 %30, label LBL_10, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i32, i32* %11, align 4 store i32* %18, i32** %.pre-phi7.reg2mem store i32* %21, i32** %.pre-phi3.reg2mem store i32 %.pre, i32* %.reg2mem8 br label LBL_7 LBL_7: %.reload9 = load i32, i32* %.reg2mem8 %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem %31 = load i32, i32* %.pre-phi3.reload, align 4 %32 = sub i32 %.reload9, %31 store i32 %32, i32* %.pre-phi7.reload, align 4 %33 = load i32, i32* %11, align 4 store i32 %33, i32* %.pre-phi3.reload, align 4 %34 = add i64 %0, 20 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 0 store i64 0, i64* %rax.0.reg2mem br i1 %37, label LBL_10, label LBL_8 LBL_8: %38 = load i32, i32* %.pre-phi7.reload, align 4 %39 = zext i32 %38 to i64 %40 = icmp eq i32 %38, 0 %41 = icmp slt i32 %38, 0 %42 = icmp eq i1 %41, false %43 = icmp eq i1 %40, false %44 = icmp eq i1 %42, %43 store i64 %39, i64* %rax.0.reg2mem br i1 %44, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %38, { 1, 0, 2 } uselistorder i32 %24, { 1, 0, 2 } uselistorder i32* %11, { 1, 0, 2 } uselistorder i32 %9, { 1, 0, 2 } uselistorder i64 %0, { 3, 7, 5, 6, 0, 1, 4, 9, 8, 2 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64 28, { 1, 0 } uselistorder i64 36, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
virtio_balloon_device_realize_17155
virtio_balloon_device_realize
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 2, i64 0) %2 = load i64, i64* @gv_1, align 8 %3 = load i64, i64* @gv_2, align 8 %4 = call i64 @FUNC(i64 %3, i64 %2, i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0)) %10 = call i64 @FUNC(i64 %0) store i64 %10, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %11 = load i64, i64* @gv_4, align 8 %12 = call i64 @FUNC(i64 %0, i64 128, i64 %11) store i64 %12, i64* %arg1, align 8 %13 = load i64, i64* @gv_4, align 8 %14 = call i64 @FUNC(i64 %0, i64 128, i64 %13) %15 = add i64 %0, 8 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = load i64, i64* @gv_5, align 8 %18 = call i64 @FUNC(i64 %0, i64 128, i64 %17) %19 = add i64 %0, 16 %20 = inttoptr i64 %19 to i64* store i64 %18, i64* %20, align 8 %21 = call i64 @FUNC(i64 %0) %22 = load i64, i64* @gv_6, align 8 %23 = load i64, i64* @gv_7, align 8 %24 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 4294967295, i64 1, i64 %23, i64 %22) %25 = load i64, i64* @gv_8, align 8 %26 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_10, i64 0, i64 0), i64 %25, i64 0, i64 0) %27 = load i64, i64* @gv_11, align 8 %28 = load i64, i64* @gv_12, align 8 %29 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_14, i64 0, i64 0), i64 %28, i64 %27, i64 0) store i64 %29, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 2, 1, 4, 5, 6, 7, 8, 9, 0, 10, 11 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @object_property_add, { 1, 0 } uselistorder i64 (i64, i64, i64)* @virtio_add_queue, { 2, 1, 0 } }
1
reposvul_c_test
gf_m4v_get_profile_name_140
gf_m4v_get_profile_name
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = urem i32 %0, 256 store i64 0, 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, 16 %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 8 %6 = icmp eq i32 %1, %5 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = add i64 %2, ptrtoint ([15 x i8]** @gv_1 to i64) %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 store i64 %10, i64* %storemerge.reg2mem br label LBL_4 LBL_3: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %11 = icmp ult i64 %indvars.iv.next, 3 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i64 ptrtoint ([21 x i8]* @gv_2 to i64), i64* %storemerge.reg2mem br i1 %11, label LBL_1, label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %2, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
oz_ep_free_9581
oz_ep_free
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %.pre-phi.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %2 = icmp eq i64* %arg1, null br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = ptrtoint i64* %sv_0 to i64 store i64 %4, i64* %sv_0, align 8 %5 = urem i64 %1, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %.pre = add i64 %3, 8 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_4 LBL_3: %7 = add i64 %arg2, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %3, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %9 to i64 %14 = zext i32 %12 to i64 %15 = call i64 @FUNC(i64 %14, i64 %13) store i64 %10, i64* %.pre-phi.reg2mem br label LBL_4 LBL_4: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %16 = call i64 @FUNC(i64 %3) %17 = add i64 %arg2, 8 %18 = call i64 @FUNC(i64 %17, i64* nonnull %sv_0) %19 = call i64 @FUNC(i64* nonnull %sv_0, i64 %.pre-phi.reload) %20 = call i64 @FUNC(i64 %3) br label LBL_5 LBL_5: %21 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0)) %22 = call i64 @FUNC(i64 %arg2) ret i64 %22 uselistorder i64 %3, { 2, 3, 1, 0 } uselistorder i64 8, { 1, 2, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
md_notify_reboot_5280
md_notify_reboot
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
update_queue_10266
update_queue
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_0.0.ph.reg2mem = alloca i64 %sv_1.2.ph.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %3 = icmp eq i32 %2, -1 %4 = icmp eq i1 %3, false %5 = ashr exact i64 %sext, 32 %6 = ashr exact i64 %sext, 31 %7 = add nsw i64 %6, %5 %8 = mul i64 %7, 8 %9 = add i64 %8, %1 %10 = add i64 %9, 24 %sv_2.0.ph = select i1 %4, i64 %10, i64 %1 %11 = inttoptr i64 %sv_2.0.ph to i64* %12 = add i64 %9, 16 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %sv_1.0.reg2mem br label LBL_1 LBL_1: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %14 = load i64, i64* %11, align 8 store i32 %sv_1.0.reload, i32* %sv_1.2.ph.reg2mem store i64 %14, i64* %sv_0.0.ph.reg2mem br label LBL_9 LBL_2: %15 = inttoptr i64 %sv_0.0.reload to i64* %16 = load i64, i64* %15, align 8 br i1 %3, label LBL_5, label LBL_3 LBL_3: %17 = load i32, i32* %13, align 4 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false br i1 %19, label LBL_5, label LBL_4 LBL_4: %20 = add i64 %sv_0.0.reload, 36 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_11, label LBL_5 LBL_5: %25 = add i64 %sv_0.0.reload, 32 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %sv_0.0.reload, 28 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %sv_0.0.reload, 24 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 %34 = add i64 %sv_0.0.reload, 16 %35 = inttoptr i64 %34 to i64* %36 = load i64, i64* %35, align 8 %37 = zext i32 %27 to i64 %38 = call i64 @FUNC(i64 %1, i64 %36, i32 %33, i32 %30, i64 %37) %39 = trunc i64 %38 to i32 %40 = icmp slt i32 %39, 1 store i64 %16, i64* %sv_0.0.reg2mem br i1 %40, label LBL_6, label LBL_10 LBL_6: %41 = call i64 @FUNC(i64 %1, i64 %sv_0.0.reload) %42 = icmp eq i32 %39, 0 store i32 %sv_1.2.ph.reload, i32* %sv_1.1.reg2mem store i32 0, i32* %storemerge.reg2mem br i1 %42, label LBL_7, label LBL_8 LBL_7: %43 = call i64 @FUNC(i64 %1, i64 %sv_0.0.reload) %44 = trunc i64 %43 to i32 store i32 1, i32* %sv_1.1.reg2mem store i32 %44, i32* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %45 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i32 %39) %46 = icmp eq i32 %storemerge.reload, 0 store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.2.ph.reg2mem store i64 %16, i64* %sv_0.0.ph.reg2mem br i1 %46, label LBL_9, label LBL_1 LBL_9: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %sv_1.2.ph.reload = load i32, i32* %sv_1.2.ph.reg2mem store i64 %sv_0.0.ph.reload, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %47 = icmp eq i64 %sv_0.0.reload, %sv_2.0.ph %48 = icmp eq i1 %47, false br i1 %48, label LBL_2, label LBL_11 LBL_11: %49 = zext i32 %sv_1.2.ph.reload to i64 ret i64 %49 uselistorder i64 %sv_0.0.reload, { 1, 0, 6, 5, 4, 2, 3, 7, 8, 9 } uselistorder i64 %16, { 1, 0 } uselistorder i64 %1, { 2, 3, 4, 1, 0 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_1.2.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 0, 3, 4, 5, 1 } uselistorder i64 16, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i1 false, { 2, 0, 1, 3 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
_rpc_signal_tasks_9577
_rpc_signal_tasks
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = load i64, i64* @gv_0, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %2, i64 %5) %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i32* %11 = add i64 %9, 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = udiv i32 %13, 16777216 %15 = urem i32 %13, 4096 %16 = and i32 %13, 16777216 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_2, label LBL_1 LBL_1: %18 = load i32, i32* %10, align 4 %19 = zext i32 %14 to i64 %20 = zext i32 %18 to i64 %21 = zext i32 %15 to i64 %22 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %20, i64 %19, i64 %1) %23 = load i32, i32* %10, align 4 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %24, i64 %21, i64 1) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_2: %26 = and i32 %13, 33554432 %27 = icmp eq i32 %26, 0 br i1 %27, label LBL_4, label LBL_3 LBL_3: %28 = load i32, i32* %10, align 4 %29 = zext i32 %14 to i64 %30 = zext i32 %28 to i64 %31 = zext i32 %15 to i64 %32 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %31, i64 %30, i64 %29, i64 %1) %33 = load i32, i32* %10, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64 %34, i64 %31, i64 0) store i64 0, i64* %sv_0.0.reg2mem br label LBL_5 LBL_4: %36 = trunc i64 %6 to i32 %37 = add i64 %9, 4 %38 = inttoptr i64 %37 to i32* %39 = load i32, i32* %38, align 4 %40 = load i32, i32* %10, align 4 %41 = zext i32 %14 to i64 %42 = zext i32 %39 to i64 %43 = zext i32 %40 to i64 %44 = zext i32 %15 to i64 %45 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %44, i64 %43, i64 %42, i64 %41) %46 = load i32, i32* %12, align 4 %47 = load i32, i32* %38, align 4 %48 = load i32, i32* %10, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49, i32 %47, i32 %36, i32 %46) %phitmp = and i64 %50, 4294967295 store i64 %phitmp, i64* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %51 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload) ret i64 %51 uselistorder i32 %14, { 1, 0, 2 } uselistorder i32 %13, { 2, 3, 1, 0 } uselistorder i32* %10, { 3, 4, 2, 5, 0, 1 } uselistorder i64 %9, { 0, 2, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64, i64, i64)* @_kill_all_active_steps, { 1, 0 } uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @debug, { 2, 1, 0 } uselistorder i32 16777216, { 1, 0 } }
0
BinRealVul
wl1271_spi_reset_4953
wl1271_spi_reset
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = call i64 @FUNC(i64 10, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0)) store i64 %3, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16) %6 = call i64 @FUNC(i64* nonnull %sv_0) %7 = inttoptr i64 %0 to i64* %8 = call i64* @memset(i64* %7, i32 255, i32 10) store i64 %0, i64* %sv_0, align 8 %9 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_0) %10 = call i64 @FUNC(i64 %4) %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_0) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 10) store i64 %13, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0, 3, 2, 4 } uselistorder i64* %sv_0, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } }
0
BinRealVul
__show_smap_10176
__show_smap
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 = bitcast i64* %arg1 to %_IO_FILE* %3 = trunc i64 %0 to i32 %4 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %3) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = udiv i64 %7, 1024 %9 = trunc i64 %8 to i32 %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i32 %9) %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = trunc i64 %13 to i32 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i32 %14) %16 = add i64 %0, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = trunc i64 %18 to i32 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i32 %19) %21 = add i64 %0, 32 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = trunc i64 %23 to i32 %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i32 %24) %26 = add i64 %0, 40 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = trunc i64 %28 to i32 %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i32 %29) %31 = add i64 %0, 48 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = trunc i64 %33 to i32 %35 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0), i32 %34) %36 = add i64 %0, 56 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = trunc i64 %38 to i32 %40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_8, i64 0, i64 0), i32 %39) %41 = add i64 %0, 64 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = trunc i64 %43 to i32 %45 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i32 %44) %46 = add i64 %0, 72 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = trunc i64 %48 to i32 %50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_10, i64 0, i64 0), i32 %49) %51 = add i64 %0, 80 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = trunc i64 %53 to i32 %55 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_11, i64 0, i64 0), i32 %54) %56 = add i64 %0, 88 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = trunc i64 %58 to i32 %60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_12, i64 0, i64 0), i32 %59) %61 = add i64 %0, 96 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = udiv i64 %63, 1024 %65 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_13, i64 0, i64 0), i64 %64, i64 7) %66 = add i64 %0, 104 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = trunc i64 %68 to i32 %70 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_14, i64 0, i64 0), i32 %69) %71 = add i64 %0, 112 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = udiv i64 %73, 1024 %75 = trunc i64 %74 to i32 %76 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_15, i64 0, i64 0), i32 %75) %77 = add i64 %0, 120 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 %80 = udiv i64 %79, 1024 %81 = trunc i64 %80 to i32 %82 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_16, i64 0, i64 0), i32 %81) %83 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_17, i64 0, i64 0)) ret i64 %83 uselistorder i64 %0, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 15 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
0
BinRealVul
await_reference_row_5184
await_reference_row
define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = urem i32 %arg3, 2 %.cast = ptrtoint i32* %arg1 to i64 %1 = ashr i32 %arg3, 1 %2 = add i32 %1, %arg4 %3 = or i32 %0, 8 %4 = add i32 %3, %2 %5 = sub i32 0, %2 %6 = icmp slt i32 %5, 0 %7 = icmp eq i1 %6, false %8 = select i1 %7, i32 %5, i32 %2 %9 = sub i32 %4, %8 %10 = xor i32 %8, %4 %11 = xor i32 %9, %4 %12 = and i32 %11, %10 %13 = icmp slt i32 %12, 0 %14 = icmp slt i32 %9, 0 %15 = icmp eq i1 %14, %13 %16 = select i1 %15, i32 %4, i32 %8 %17 = zext i32 %16 to i64 %18 = call i64 @FUNC(i64 %.cast, i64 %17, i64 0) ret i64 %18 uselistorder i32 %9, { 1, 0 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i32 %4, { 2, 0, 1, 3 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i32 %arg3, { 1, 0 } }
0
BinRealVul
wait_for_child_to_die_18961
wait_for_child_to_die
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem2 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 store i64 %arg1, i64* %sv_0, align 8 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 305419896 %5 = zext i1 %4 to i64 %6 = call i64 @FUNC(i64 %5) %7 = add i64 %arg1, 24 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 store i64 %arg1, i64* %.reg2mem br i1 %10, label LBL_3, label LBL_1 LBL_1: %11 = icmp eq i32 %9, 1 %12 = icmp eq i1 %11, false store i64 %arg1, i64* %.reg2mem2 br i1 %12, label LBL_7, label LBL_2 LBL_2: %13 = add i64 %arg1, 32 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = trunc i64 %15 to i32 %17 = call i32 @pthread_equal(i32 %16, i32 0) %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false %.pre = load i64, i64* %sv_0, align 8 store i64 %.pre, i64* %.reg2mem store i64 %.pre, i64* %.reg2mem2 br i1 %19, label LBL_7, label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %20 = add i64 %.reload, 40 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp ult i64 %22, 300000 br i1 %23, label LBL_4, label LBL_5 LBL_4: %24 = udiv i64 %22, 2 %25 = add i64 %24, %22 store i64 %25, i64* %21, align 8 %26 = load i64, i64* %sv_0, align 8 %27 = add i64 %26, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add i64 %26, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %26, 4 %34 = inttoptr i64 %33 to i32* %35 = load i32, i32* %34, align 4 %36 = zext i32 %35 to i64 %37 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_0, i64 0, i64 0), i64 %36, i64 %32, i64 %29, i64 %1) br label LBL_6 LBL_5: %38 = add i64 %.reload, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i32 %40) br label LBL_6 LBL_6: %42 = load i64, i64* %sv_0, align 8 %43 = add i64 %42, 40 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = add i64 %42, 48 %47 = call i64 @FUNC(i64 %46, i64 %45) %48 = load i64, i64* %sv_0, align 8 %49 = call i64 @FUNC(i64 4199111, i64 %48) store i64 %49, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %.reload3 = load i64, i64* %.reg2mem2 %50 = add i64 %.reload3, 4 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 %52) %54 = call i64 @FUNC(i64 %.reload3) %55 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %55, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload3, { 1, 0 } uselistorder i64 %22, { 1, 0, 2 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i64 %arg1, { 3, 0, 1, 2, 4 } }
1
BinRealVul
usb_mtp_handle_reset_14983
usb_mtp_handle_reset
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %1) %7 = add i64 %1, 32 %8 = call i64 @FUNC(i64 %7) %9 = call i64 @FUNC(i64 %1, i64 %8) %10 = add i64 %1, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %1, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) store i64 0, i64* %13, align 8 %16 = add i64 %1, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) store i64 0, i64* %17, align 8 %20 = add i64 %1, 24 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) store i64 0, i64* %21, align 8 ret i64 %1 uselistorder i64 (i64)* @usb_mtp_data_free, { 1, 0 } }
1
BinRealVul
ftrace_convert_nops_17511
ftrace_convert_nops
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.01.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64* nonnull @gv_0) %3 = icmp ult i64* %arg2, %arg3 br i1 %3, label LBL_1, label LBL_3 LBL_1: %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 store i64 %5, i64* %sv_0.01.reg2mem br label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %6 = add i64 %sv_0.01.reload, 8 %7 = inttoptr i64 %sv_0.01.reload to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %9) %11 = icmp ult i64 %6, %4 store i64 %6, i64* %sv_0.01.reg2mem br i1 %11, label LBL_2, label LBL_3 LBL_3: %12 = ptrtoint i64* %arg1 to i64 %13 = call i64 @FUNC(i64 %1) %14 = call i64 @FUNC(i64 %12) %15 = call i64 @FUNC(i64 %1) %16 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 0 uselistorder i64 %sv_0.01.reload, { 1, 0 } uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 } uselistorder i64* %arg3, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
stdio_get_fd_1008
stdio_get_fd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = bitcast i64* %arg1 to %_IO_FILE* %1 = call i32 @fileno(%_IO_FILE* %0) %2 = sext i32 %1 to i64 ret i64 %2 }
0
BinRealVul
parse_content_type_5162
parse_content_type
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 = icmp eq i64* %arg1, null %2 = icmp eq i1 %1, false store i64 %0, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = add i64 %3, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %6, i64 0) %8 = call i64 @FUNC(i64* nonnull %sv_0) %9 = call i64 @FUNC(i64 64) store i64 %9, i64* %sv_0, align 8 %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9) %11 = load i64, i64* %sv_0, align 8 %12 = call i64 @FUNC(i64 %11) %13 = call i64 @FUNC(i64 %12) store i64 %13, i64* %arg1, align 8 %14 = call i64 @FUNC(i64* nonnull %sv_0) store i64 %14, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 0, 4, 1, 5, 2, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
decode_init_thread_copy_3386
decode_init_thread_copy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_2 LBL_1: %5 = ptrtoint i64* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = call i64* @memset(i64* %10, i32 0, i32 16) %12 = add i64 %8, 24 %13 = inttoptr i64 %12 to i64* %14 = call i64* @memset(i64* %13, i32 0, i32 16) %15 = inttoptr i64 %8 to i64* store i64 %5, i64* %15, align 8 %16 = add i64 %8, 40 %17 = inttoptr i64 %16 to i64* store i64 0, i64* %17, align 8 %18 = add i64 %8, 48 %19 = inttoptr i64 %18 to i64* store i64 0, i64* %19, align 8 %20 = add i64 %8, 56 %21 = inttoptr i64 %20 to i64* store i64 0, i64* %21, align 8 %22 = add i64 %8, 64 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = add i64 %8, 72 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 br label LBL_2 LBL_2: ret i64 0 uselistorder i64 %8, { 0, 1, 2, 3, 4, 5, 7, 6 } uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
pvclock_gtod_update_fn_9808
pvclock_gtod_update_fn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge5.reg2mem = alloca i64 %storemerge14.reg2mem = alloca i64 %0 = call i64 @FUNC(i64* nonnull @gv_0) store i64 ptrtoint (i64* @gv_1 to i64), i64* %storemerge5.reg2mem br label LBL_3 LBL_1: %storemerge14.reload = load i64, i64* %storemerge14.reg2mem %1 = call i64 @FUNC(i64 1, i64 %storemerge14.reload) %storemerge1.in = inttoptr i64 %storemerge14.reload to i64* %storemerge1 = load i64, i64* %storemerge1.in, align 8 %2 = icmp eq i64 %storemerge1, 0 %3 = icmp eq i1 %2, false store i64 %storemerge1, i64* %storemerge14.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_2: %4 = add i64 %storemerge5.reload, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 %6, i64* %storemerge5.reg2mem br i1 %8, label LBL_3, label LBL_4 LBL_3: %storemerge5.reload = load i64, i64* %storemerge5.reg2mem %storemerge1.in2 = inttoptr i64 %storemerge5.reload to i64* %storemerge13 = load i64, i64* %storemerge1.in2, align 8 %9 = icmp eq i64 %storemerge13, 0 %10 = icmp eq i1 %9, false store i64 %storemerge13, i64* %storemerge14.reg2mem br i1 %10, label LBL_1, label LBL_2 LBL_4: %11 = call i64 @FUNC(i64 4210740, i64 0) %12 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %12 uselistorder i64 %storemerge14.reload, { 1, 0 } uselistorder i64* %storemerge14.reg2mem, { 1, 2, 0 } uselistorder i1 false, { 0, 2, 1 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ff_rtsp_close_streams_3894
ff_rtsp_close_streams
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca i64 %.reg2mem7 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem5 = alloca i64 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 %5 = add i64 %arg1, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 store i64 %7, i64* %.lcssa.reg2mem br i1 %4, label LBL_5, label LBL_1 LBL_1: %8 = and i64 %1, 4294967295 store i64 %7, i64* %.reg2mem store i64 0, i64* %.reg2mem5 store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload6 = load i64, i64* %.reg2mem5 %.reload = load i64, i64* %.reg2mem %9 = mul i64 %.reload6, 8 %10 = add i64 %9, %.reload %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = icmp eq i64 %12, 0 store i64 %.reload, i64* %.reg2mem7 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %12) %.pre = load i64, i64* %6, align 8 store i64 %.pre, i64* %.reg2mem7 br label LBL_4 LBL_4: %.reload8 = load i64, i64* %.reg2mem7 %15 = add i32 %storemerge1.reload, 1 %16 = sext i32 %15 to i64 %17 = icmp sgt i64 %8, %16 store i64 %.reload8, i64* %.reg2mem store i64 %16, i64* %.reg2mem5 store i32 %15, i32* %storemerge1.reg2mem store i64 %.reload8, i64* %.lcssa.reg2mem br i1 %17, label LBL_2, label LBL_5 LBL_5: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %18 = call i64 @FUNC(i64 %.lcssa.reload) %19 = add i64 %arg1, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_7, label LBL_6 LBL_6: %23 = call i64 @FUNC(i64 %21) store i64 0, i64* %20, align 8 br label LBL_7 LBL_7: %24 = add i64 %arg1, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = call i64 @FUNC(i64 %26) %28 = add i64 %arg1, 32 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30) ret i64 %31 uselistorder i64 %7, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem5, { 2, 0, 1 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem7, { 0, 2, 1 } uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 3, 2, 4 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
common_end_3421
common_end
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %1 = mul i64 %indvars.iv.reload, 8 %2 = add i64 %1, %0 %3 = call i64 @FUNC(i64 %2) %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_2, label LBL_1 LBL_2: ret i64 0 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
infe_box_read_12393
infe_box_read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.11.reg2mem = alloca i32 %sv_0.12.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 4) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i32 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i32* store i32 %4, i32* %6, align 4 %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i32 %9 = add i64 %1, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %1, 40 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = icmp eq i32 %13, 2 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC(i64 %1, i64 4) %17 = call i64 @FUNC(i64 %0) %18 = trunc i64 %17 to i32 %19 = add i64 %1, 12 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 br label LBL_2 LBL_2: %21 = bitcast i64* %rdi to i32* %22 = load i32, i32* %21, align 8 %23 = zext i32 %22 to i64 %24 = call i64 @FUNC(i64 %23) %25 = icmp eq i64 %24, 0 %26 = icmp eq i1 %25, false store i64 1, i64* %rax.0.reg2mem br i1 %26, label LBL_3, label LBL_23 LBL_3: %27 = call i64 @FUNC(i64 %0, i64 %24, i32 %22) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %22, %28 br i1 %29, label LBL_4, label LBL_6 LBL_4: %30 = icmp eq i32 %22, 0 %.pre = add i64 %1, 16 %.pre4 = inttoptr i64 %.pre to i64* br i1 %30, label LBL_19, label LBL_5 LBL_5: %31 = add i64 %1, 24 %32 = inttoptr i64 %31 to i64* %33 = add i64 %1, 32 %34 = inttoptr i64 %33 to i64* store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.12.reg2mem store i32 1, i32* %sv_1.11.reg2mem br label LBL_7 LBL_6: %35 = call i64 @FUNC(i64 %24) store i64 2, i64* %rax.0.reg2mem br label LBL_23 LBL_7: %sv_1.11.reload = load i32, i32* %sv_1.11.reg2mem %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %36 = add i64 %indvars.iv.reload, %24 %37 = inttoptr i64 %36 to i8* %38 = load i8, i8* %37, align 1 %39 = icmp eq i8 %38, 0 %40 = icmp eq i1 %39, false store i32 %sv_1.11.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem br i1 %40, label LBL_18, label LBL_8 LBL_8: %41 = load i64, i64* %.pre4, align 8 %42 = icmp eq i64 %41, 0 %43 = icmp eq i1 %42, false br i1 %43, label LBL_11, label LBL_9 LBL_9: %44 = zext i32 %sv_1.11.reload to i64 %45 = call i64 @FUNC(i64 %44) store i64 %45, i64* %.pre4, align 8 %46 = icmp eq i64 %45, 0 %47 = icmp eq i1 %46, false store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_10, label LBL_23 LBL_10: %48 = zext i32 %sv_0.12.reload to i64 %49 = add i64 %24, %48 %50 = inttoptr i64 %45 to i64* %51 = inttoptr i64 %49 to i64* %52 = call i64* @memcpy(i64* %50, i64* %51, i32 %sv_1.11.reload) br label LBL_16 LBL_11: %53 = load i64, i64* %32, align 8 %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false %56 = zext i32 %sv_1.11.reload to i64 %57 = call i64 @FUNC(i64 %56) br i1 %55, label LBL_14, label LBL_12 LBL_12: store i64 %57, i64* %32, align 8 %58 = icmp eq i64 %57, 0 %59 = icmp eq i1 %58, false store i64 1, i64* %rax.0.reg2mem br i1 %59, label LBL_13, label LBL_23 LBL_13: %60 = zext i32 %sv_0.12.reload to i64 %61 = add i64 %24, %60 %62 = inttoptr i64 %57 to i64* %63 = inttoptr i64 %61 to i64* %64 = call i64* @memcpy(i64* %62, i64* %63, i32 %sv_1.11.reload) br label LBL_16 LBL_14: store i64 %57, i64* %34, align 8 %65 = icmp eq i64 %57, 0 %66 = icmp eq i1 %65, false store i64 1, i64* %rax.0.reg2mem br i1 %66, label LBL_15, label LBL_23 LBL_15: %67 = zext i32 %sv_0.12.reload to i64 %68 = add i64 %24, %67 %69 = inttoptr i64 %57 to i64* %70 = inttoptr i64 %68 to i64* %71 = call i64* @memcpy(i64* %69, i64* %70, i32 %sv_1.11.reload) br label LBL_16 LBL_16: %72 = add i32 %sv_1.11.reload, %sv_0.12.reload %73 = load i64, i64* %34, align 8 %74 = icmp eq i64 %73, 0 store i32 0, i32* %sv_1.0.reg2mem store i32 %72, i32* %sv_0.0.reg2mem br i1 %74, label LBL_18, label LBL_17 LBL_17: %75 = load i32, i32* %12, align 4 %76 = icmp eq i32 %75, 1 store i32 0, i32* %sv_1.0.reg2mem store i32 %72, i32* %sv_0.0.reg2mem br i1 %76, label LBL_19, label LBL_18 LBL_18: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %77 = add i32 %sv_1.0.reload, 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %78 = icmp ult i64 %indvars.iv.next, %23 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem store i32 %77, i32* %sv_1.11.reg2mem br i1 %78, label LBL_7, label LBL_19 LBL_19: %79 = call i64 @FUNC(i64 %24) %80 = load i64, i64* %.pre4, align 8 %81 = icmp eq i64 %80, 0 br i1 %81, label LBL_22, label LBL_20 LBL_20: %82 = add i64 %1, 24 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = icmp eq i64 %84, 0 %86 = icmp eq i1 %85, false store i64 0, i64* %rax.0.reg2mem br i1 %86, label LBL_23, label LBL_21 LBL_21: %87 = load i32, i32* %12, align 4 %88 = icmp ult i32 %87, 2 store i64 0, i64* %rax.0.reg2mem br i1 %88, label LBL_22, label LBL_23 LBL_22: %89 = call i32 @puts(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0)) store i64 0, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %57, { 3, 2, 5, 1, 0, 4 } uselistorder i64 %45, { 1, 0, 2 } uselistorder i32 %sv_0.12.reload, { 4, 3, 2, 1, 0 } uselistorder i32 %sv_1.11.reload, { 6, 4, 3, 5, 1, 2, 0 } uselistorder i64* %.pre4, { 0, 2, 1 } uselistorder i64 %24, { 5, 0, 1, 2, 3, 4, 6, 7 } uselistorder i32 %22, { 0, 2, 1, 3 } uselistorder i64 %1, { 3, 4, 5, 0, 2, 1, 6, 7, 8, 9 } uselistorder i64 %0, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.11.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 1, 2, 3, 8, 7 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 2, 1 } uselistorder i64 (i64)* @gf_free, { 1, 0 } uselistorder i64 1, { 4, 0, 1, 2, 3 } uselistorder i64 0, { 1, 6, 7, 2, 0, 9, 10, 11, 12, 13, 14, 15, 16, 3, 17, 4, 5, 8 } uselistorder i64 (i64)* @gf_malloc, { 2, 1, 0 } uselistorder i64 (i64)* @gf_bs_read_u16, { 1, 0 } uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 1, 0 } uselistorder i64 4, { 0, 2, 1 } uselistorder label LBL_23, { 4, 5, 3, 0, 1, 2, 7, 6 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
sample_dump_14470
sample_dump
define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i32 %xmm0.018.reg2mem = alloca i128 %indvars.iv22.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = ashr exact i64 %sext, 29 %2 = add i64 %1, ptrtoint (i64* @gv_0 to i64) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to %_IO_FILE* store %_IO_FILE* %5, %_IO_FILE** @gv_1, align 8 %6 = icmp eq i64 %4, 0 %7 = icmp eq i1 %6, false br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = and i64 %0, 4294967295 %9 = bitcast i64* %sv_1 to i8* %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 512, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)) %11 = call %_IO_FILE* @fopen(i8* nonnull %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0)) store %_IO_FILE* %11, %_IO_FILE** @gv_1, align 8 %12 = ptrtoint %_IO_FILE* %11 to i64 %13 = icmp eq %_IO_FILE* %11, null store i64 %12, i64* %rax.0.reg2mem br i1 %13, label LBL_14, label LBL_2 LBL_2: store i64 %12, i64* %3, align 8 br label LBL_3 LBL_3: %14 = ptrtoint i64* %arg2 to i64 %sext4 = mul i64 %arg3, 4294967296 %15 = ashr exact i64 %sext4, 32 %16 = trunc i64 %0 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_3.LBL_11_crit_edge, label LBL_5 LBL_4: %.pre = trunc i64 %15 to i32 store i32 %.pre, i32* %.pre-phi.reg2mem br label LBL_11 LBL_5: %19 = load i32, i32* @gv_5, align 4 %20 = zext i32 %19 to i64 %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i64 %20) %22 = trunc i64 %15 to i32 %23 = icmp sgt i32 %22, 0 br i1 %23, label LBL_6, label LBL_10 LBL_6: %wide.trip.count24 = and i64 %15, 4294967295 store i64 0, i64* %indvars.iv22.reg2mem br label LBL_7 LBL_7: %xmm0.018.reload = load i128, i128* %xmm0.018.reg2mem %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem %24 = mul i64 %indvars.iv22.reload, 4 %25 = add i64 %24, %14 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = call i128 @FUNC(i128 %xmm0.018.reload, i128 %xmm0.018.reload) %29 = call i128 @FUNC(i32 %27) %30 = call i128 @FUNC(i64 4710765210229538816) %31 = call i128 @FUNC(i128 %29, i128 %30) %32 = call i64 @FUNC(i128 %31) %33 = call i128 @__asm_movq.1(i64 %32) %34 = trunc i128 %33 to i64 %35 = bitcast i64 %34 to double %36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), double %35) %37 = mul nuw nsw i64 %indvars.iv22.reload, 954437177 %38 = udiv i64 %37, 17179869184 %39 = trunc i64 %38 to i32 %40 = trunc i64 %indvars.iv22.reload to i32 %41 = ashr i32 %40, 31 %42 = sub nsw i32 %39, %41 %43 = mul i32 %42, -18 %44 = add i32 %43, %40 %45 = icmp eq i32 %44, 17 %46 = icmp eq i1 %45, false br i1 %46, label LBL_9, label LBL_8 LBL_8: %47 = call i32 @putchar(i32 10) br label LBL_9 LBL_9: %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1 %exitcond25 = icmp eq i64 %indvars.iv.next23, %wide.trip.count24 store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem store i128 %33, i128* %xmm0.018.reg2mem br i1 %exitcond25, label LBL_10, label LBL_7 LBL_10: %48 = load i32, i32* @gv_5, align 4 %49 = add i32 %48, %22 store i32 %49, i32* @gv_5, align 4 store i32 %22, i32* %.pre-phi.reg2mem br label LBL_11 LBL_11: %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem %50 = icmp sgt i32 %.pre-phi.reload, 0 store i64 0, i64* %rax.0.reg2mem br i1 %50, label LBL_12, label LBL_14 LBL_12: %51 = bitcast i32* %sv_0 to i64* %wide.trip.count = zext i32 %.pre-phi.reload to i64 store i64 0, i64* %indvars.iv.reg2mem br label LBL_13 LBL_13: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %52 = mul i64 %indvars.iv.reload, 4 %53 = add i64 %52, %14 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 store i32 %55, i32* %sv_0, align 4 %56 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8 %57 = call i32 @fwrite(i64* nonnull %51, i32 1, i32 4, %_IO_FILE* %56) %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 %wide.trip.count, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_14, label LBL_13 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i128 %xmm0.018.reload, { 1, 0 } uselistorder i64 %15, { 0, 2, 1 } uselistorder i64 %12, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 %sext, { 1, 0 } uselistorder i32* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv22.reg2mem, { 2, 0, 1 } uselistorder i128* %xmm0.018.reg2mem, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder i32* @gv_5, { 2, 1, 0 } uselistorder i32 0, { 0, 1, 3, 2 } uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
BS_ReadByte_18959
BS_ReadByte
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i8 %sv_0.05.reg2mem = alloca i8 %sv_0.0.reg2mem = alloca i8 %.reg2mem = alloca i64 %sv_1.04.reg2mem = alloca i8 %sv_1.0.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i32, align 4 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 %5 = icmp eq i1 %4, false br i1 %5, label LBL_12, label LBL_1 LBL_1: %6 = add i64 %2, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = add i64 %2, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp ult i64 %8, %11 br i1 %12, label LBL_4, label LBL_2 LBL_2: %13 = add i64 %2, 48 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false store i8 0, i8* %rax.0.shrunk.reg2mem br i1 %17, label LBL_34, label LBL_3 LBL_3: store i32 1, i32* %14, align 4 store i8 0, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_4: %18 = add i64 %2, 24 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %8, 1 store i64 %21, i64* %7, align 8 %22 = add i64 %20, %8 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = add i64 %2, 56 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 store i8 %24, i8* %rax.0.shrunk.reg2mem br i1 %28, label LBL_34, label LBL_5 LBL_5: %29 = add i64 %2, 52 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 2 %33 = icmp eq i8 %24, 3 %34 = icmp eq i1 %33, %32 store i8 %24, i8* %sv_1.0.reg2mem br i1 %34, label LBL_6, label LBL_9 LBL_6: %35 = load i64, i64* %10, align 8 %36 = icmp ult i64 %21, %35 %37 = icmp eq i1 %36, false store i8 3, i8* %sv_1.04.reg2mem br i1 %37, label LBL_11, label LBL_7 LBL_7: %38 = load i64, i64* %19, align 8 %39 = add i64 %38, %21 %40 = inttoptr i64 %39 to i8* %41 = load i8, i8* %40, align 1 %42 = icmp ult i8 %41, 4 store i8 3, i8* %sv_1.04.reg2mem br i1 %42, label LBL_8, label LBL_11 LBL_8: store i32 0, i32* %30, align 4 %43 = load i64, i64* %19, align 8 %44 = load i64, i64* %7, align 8 %45 = add i64 %44, 1 store i64 %45, i64* %7, align 8 %46 = add i64 %44, %43 %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 store i8 %48, i8* %sv_1.0.reg2mem br label LBL_9 LBL_9: %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem %49 = icmp eq i8 %sv_1.0.reload, 0 %50 = icmp eq i1 %49, false store i8 %sv_1.0.reload, i8* %sv_1.04.reg2mem br i1 %50, label LBL_11, label LBL_10 LBL_10: %51 = load i32, i32* %30, align 4 %52 = add i32 %51, 1 store i32 %52, i32* %30, align 4 store i8 %sv_1.0.reload, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_11: %sv_1.04.reload = load i8, i8* %sv_1.04.reg2mem store i32 0, i32* %30, align 4 store i8 %sv_1.04.reload, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_12: %53 = add i64 %2, 72 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label LBL_14, label LBL_13 LBL_13: %57 = call i64 @FUNC(i64 %2) br label LBL_14 LBL_14: %58 = add i64 %2, 64 %59 = inttoptr i64 %58 to i64* %60 = load i64, i64* %59, align 8 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label LBL_16, label LBL_15 LBL_15: %64 = add i64 %2, 76 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_28, label LBL_16 LBL_16: store i32 0, i32* %sv_2, align 4 %68 = add i64 %2, 8 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 %71 = add i64 %2, 16 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = icmp ugt i64 %70, %73 store i64 %70, i64* %.reg2mem br i1 %74, label LBL_17, label LBL_18 LBL_17: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 75, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) %.pre = load i64, i64* %69, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_18 LBL_18: %.reload = load i64, i64* %.reg2mem %75 = add i64 %.reload, 1 store i64 %75, i64* %69, align 8 %76 = call i64 @FUNC(i64 %2, i32* nonnull %sv_2) %77 = load i32, i32* %sv_2, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %79, label LBL_28, label LBL_19 LBL_19: %80 = trunc i64 %76 to i8 %81 = add i64 %2, 56 %82 = inttoptr i64 %81 to i32* %83 = load i32, i32* %82, align 4 %84 = icmp eq i32 %83, 0 store i8 %80, i8* %rax.0.shrunk.reg2mem br i1 %84, label LBL_34, label LBL_20 LBL_20: %85 = add i64 %2, 52 %86 = inttoptr i64 %85 to i32* %87 = load i32, i32* %86, align 4 %88 = icmp eq i32 %87, 2 %89 = icmp eq i8 %80, 3 %90 = icmp eq i1 %89, %88 store i8 %80, i8* %sv_0.0.reg2mem br i1 %90, label LBL_21, label LBL_25 LBL_21: %91 = load i64, i64* %69, align 8 %92 = load i64, i64* %72, align 8 %93 = icmp ult i64 %91, %92 %94 = icmp eq i1 %93, false store i8 3, i8* %sv_0.05.reg2mem br i1 %94, label LBL_27, label LBL_22 LBL_22: %95 = call i64 @FUNC(i64 %2, i32* nonnull %sv_2) %96 = trunc i64 %95 to i8 %97 = icmp ult i8 %96, 4 br i1 %97, label LBL_23, label LBL_24 LBL_23: store i32 0, i32* %86, align 4 %98 = load i64, i64* %69, align 8 %99 = add i64 %98, 1 store i64 %99, i64* %69, align 8 store i8 %96, i8* %sv_0.0.reg2mem br label LBL_25 LBL_24: %100 = load i64, i64* %69, align 8 %101 = call i64 @FUNC(i64 %2, i64 %100) store i8 3, i8* %sv_0.05.reg2mem br label LBL_27 LBL_25: %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem %102 = icmp eq i8 %sv_0.0.reload, 0 %103 = icmp eq i1 %102, false store i8 %sv_0.0.reload, i8* %sv_0.05.reg2mem br i1 %103, label LBL_27, label LBL_26 LBL_26: %104 = load i32, i32* %86, align 4 %105 = add i32 %104, 1 store i32 %105, i32* %86, align 4 store i8 %sv_0.0.reload, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_27: %sv_0.05.reload = load i8, i8* %sv_0.05.reg2mem store i32 0, i32* %86, align 4 store i8 %sv_0.05.reload, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_28: %106 = add i64 %2, 32 %107 = inttoptr i64 %106 to i64* %108 = load i64, i64* %107, align 8 %109 = icmp eq i64 %108, 0 br i1 %109, label LBL_31, label LBL_29 LBL_29: %110 = add i64 %2, 48 %111 = inttoptr i64 %110 to i32* %112 = load i32, i32* %111, align 4 %113 = icmp eq i32 %112, 0 %114 = icmp eq i1 %113, false br i1 %114, label LBL_32, label LBL_30 LBL_30: store i32 1, i32* %111, align 4 br label LBL_32 LBL_31: %115 = call i64 @FUNC(i64 1, i64 2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0)) br label LBL_32 LBL_32: %116 = add i64 %2, 8 %117 = inttoptr i64 %116 to i64* %118 = load i64, i64* %117, align 8 %119 = add i64 %2, 16 %120 = inttoptr i64 %119 to i64* %121 = load i64, i64* %120, align 8 %122 = add i64 %121, 1 %123 = icmp ugt i64 %118, %122 store i8 0, i8* %rax.0.shrunk.reg2mem br i1 %123, label LBL_33, label LBL_34 LBL_33: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0)) store i8 0, i8* %rax.0.shrunk.reg2mem br label LBL_34 LBL_34: %rax.0.shrunk.reload = load i8, i8* %rax.0.shrunk.reg2mem %rax.0 = zext i8 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32* %86, { 1, 3, 2, 0, 4 } uselistorder i8 %80, { 1, 2, 0 } uselistorder i64* %69, { 1, 3, 2, 4, 5, 0, 6 } uselistorder i32* %30, { 0, 2, 1, 3, 4 } uselistorder i8 %24, { 1, 2, 0 } uselistorder i64* %7, { 1, 0, 2, 3 } uselistorder i32* %sv_2, { 0, 2, 1, 3 } uselistorder i64 %2, { 8, 7, 10, 9, 3, 6, 5, 4, 11, 13, 12, 2, 14, 17, 18, 1, 0, 16, 15, 19, 20 } uselistorder i8* %sv_1.04.reg2mem, { 0, 3, 1, 2 } uselistorder i8* %sv_0.05.reg2mem, { 0, 3, 1, 2 } uselistorder i8* %rax.0.shrunk.reg2mem, { 0, 1, 2, 4, 3, 5, 7, 6, 8, 10, 9 } uselistorder i64 (i64, i32*)* @gf_bs_load_byte, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i8 3, { 0, 1, 4, 2, 3, 5 } uselistorder i8 0, { 0, 1, 5, 6, 3, 2, 4 } uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 11, 12 } uselistorder label LBL_34, { 0, 1, 4, 3, 2, 7, 6, 5, 9, 8 } uselistorder label LBL_27, { 2, 0, 1 } uselistorder label LBL_25, { 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_11, { 2, 0, 1 } uselistorder label LBL_9, { 1, 0 } }
1
BinRealVul
jspeAddNamedFunctionParameter_13039
jspeAddNamedFunctionParameter
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i8, align 1 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 1) store i64 %2, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem store i8 -1, i8* %sv_2, align 1 %3 = call i64 @FUNC(i64 %arg2, i64* nonnull %sv_1, i64 256) %4 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0, i8* nonnull %sv_2) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) ret i64 %sv_0.0.reload uselistorder i32 1, { 4, 3, 2, 1, 0 } }
1
BinRealVul
ff_realloc_static_15716
ff_realloc_static
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = icmp eq i64 %arg1, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_1, label LBL_3 LBL_1: %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_7, label LBL_2 LBL_2: %5 = zext i32 %3 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge3.reg2mem br label LBL_4 LBL_3: %6 = and i64 %0, 4294967295 %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %.reload = load i64, i64* %.reg2mem %8 = mul i64 %.reload, 8 %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64) %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = icmp eq i64 %11, %arg1 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = and i64 %0, 4294967295 %15 = call i64 @FUNC(i64 %11, i64 %14) store i64 %15, i64* %10, align 8 store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %16 = add i32 %storemerge3.reload, 1 %17 = sext i32 %16 to i64 %18 = icmp slt i64 %17, %5 store i64 %17, i64* %.reg2mem store i32 %16, i32* %storemerge3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %18, label LBL_4, label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i32 1, { 3, 2, 1, 0 } uselistorder label LBL_7, { 0, 2, 3, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
print_samplesref_14429
print_samplesref
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.lcssa.reg2mem = alloca %_IO_FILE* %sv_0.0.in3.reg2mem = alloca i64 %.reg2mem = alloca %_IO_FILE* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 4 %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 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = mul i64 %1, 4294967296 %sext = mul i64 %11, %7 %12 = ashr exact i64 %sext, 31 %13 = add i64 %12, %10 %14 = icmp ugt i64 %13, %10 %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 store %_IO_FILE* %15, %_IO_FILE** %.reg2mem store i64 %10, i64* %sv_0.0.in3.reg2mem store %_IO_FILE* %15, %_IO_FILE** %.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_2 LBL_1: %sv_0.0.in3.reload = load i64, i64* %sv_0.0.in3.reg2mem %.reload = load %_IO_FILE*, %_IO_FILE** %.reg2mem %sv_0.04 = inttoptr i64 %sv_0.0.in3.reload to i16* %16 = load i16, i16* %sv_0.04, align 2 %17 = urem i16 %16, 256 %18 = zext i16 %17 to i32 %19 = call i32 @fputc(i32 %18, %_IO_FILE* %.reload) %20 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %21 = load i16, i16* %sv_0.04, align 2 %22 = udiv i16 %21, 256 %23 = zext i16 %22 to i32 %24 = call i32 @fputc(i32 %23, %_IO_FILE* %20) %25 = add i64 %sv_0.0.in3.reload, 2 %26 = icmp ugt i64 %13, %25 %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 store %_IO_FILE* %27, %_IO_FILE** %.reg2mem store i64 %25, i64* %sv_0.0.in3.reg2mem store %_IO_FILE* %27, %_IO_FILE** %.lcssa.reg2mem br i1 %26, label LBL_1, label LBL_2 LBL_2: %.lcssa.reload = load %_IO_FILE*, %_IO_FILE** %.lcssa.reg2mem %28 = call i32 @fflush(%_IO_FILE* %.lcssa.reload) %29 = sext i32 %28 to i64 ret i64 %29 uselistorder i16* %sv_0.04, { 1, 0 } uselistorder i64 %13, { 1, 0 } uselistorder i64 %10, { 0, 2, 1 } uselistorder %_IO_FILE** %.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in3.reg2mem, { 2, 0, 1 } uselistorder i64 2, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 2, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
cmd_top_17597
cmd_top
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.reg2mem12 = alloca i32 %.reg2mem10 = alloca i32 %storemerge4.reg2mem = alloca i32 %.reg2mem8 = alloca i64 %.reg2mem6 = alloca i32 %.reg2mem = alloca i32 %0 = call i32 @sysconf(i32 30) store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = load i64, i64* bitcast ([2 x i8*]* @gv_1 to i64*), align 8 %2 = call i64 @FUNC(i64 %1) %3 = load i64, i64* @gv_2, align 8 %4 = load i64, i64* @gv_3, align 8 store i64 %3, i64* @gv_4, align 8 store i64 %4, i64* @gv_5, align 8 %5 = load i64, i64* @gv_6, align 8 %6 = load i64, i64* @gv_7, align 8 store i64 %5, i64* @gv_8, align 8 store i64 %6, i64* @gv_9, align 8 %7 = load i64, i64* @gv_10, align 8 store i64 %7, i64* @gv_11, align 8 %8 = load [30 x i8]*, [30 x i8]** @gv_12, align 8 %9 = ptrtoint [30 x i8]* %8 to i64 %10 = and i64 %arg1, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 %arg2, i64* nonnull @gv_13, i64 %9, i64 0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_2, label LBL_1 LBL_1: %14 = load [30 x i8]*, [30 x i8]** @gv_12, align 8 %15 = ptrtoint [30 x i8]* %14 to i64 %16 = call i64 @FUNC(i64 %15, i64* nonnull @gv_13) br label LBL_2 LBL_2: %17 = load i32, i32* @gv_14, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_3 LBL_3: store i32 %17, i32* @gv_15, align 4 store i32 1, i32* @gv_14, align 4 br label LBL_4 LBL_4: %19 = load i32, i32* @gv_16, align 4 %20 = icmp eq i32 %19, -1 %21 = load i32, i32* @gv_17, align 4 %22 = icmp eq i32 %21, -1 %or.cond = or i1 %20, %22 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %23 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_18, i64 0, i64 0)) %24 = call i32 @sleep(i32 1) store i32 -1, i32* @gv_17, align 4 br label LBL_6 LBL_6: %25 = load i32, i32* @gv_19, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i32 %25, i32* %.reg2mem br i1 %27, label LBL_8, label LBL_7 LBL_7: store i32 1, i32* @gv_19, align 4 store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8 store i32 1, i32* %.reg2mem br label LBL_8 LBL_8: %.reload = load i32, i32* %.reg2mem store i32 %.reload, i32* %.reg2mem6 store i64 0, i64* %.reg2mem8 store i32 0, i32* %storemerge4.reg2mem br label LBL_9 LBL_9: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %.reload7 = load i32, i32* %.reg2mem6 %28 = mul i64 %.reload9, 4 %29 = add i64 %28, ptrtoint (i32** @gv_20 to i64) %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false store i32 %.reload7, i32* %.reg2mem10 br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = load i32, i32* @gv_15, align 4 store i32 %34, i32* %30, align 4 %.pre = load i32, i32* @gv_19, align 4 store i32 %.pre, i32* %.reg2mem10 br label LBL_11 LBL_11: %.reload11 = load i32, i32* %.reg2mem10 %35 = add i32 %storemerge4.reload, 1 %36 = zext i32 %.reload11 to i64 %37 = sext i32 %35 to i64 %38 = icmp slt i64 %37, %36 store i32 %.reload11, i32* %.reg2mem6 store i64 %37, i64* %.reg2mem8 store i32 %35, i32* %storemerge4.reg2mem br i1 %38, label LBL_9, label LBL_12 LBL_12: %39 = call i32 @sysconf(i32 84) store i32 %39, i32* @gv_21, align 4 %40 = icmp slt i32 %39, 129 store i32 %39, i32* %.reg2mem12 br i1 %40, label LBL_14, label LBL_13 LBL_13: call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_22, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_23, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_24, i64 0, i64 0)) %.pre5 = load i32, i32* @gv_21, align 4 store i32 %.pre5, i32* %.reg2mem12 br label LBL_14 LBL_14: %.reload13 = load i32, i32* %.reg2mem12 %41 = icmp slt i32 %.reload13, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_16, label LBL_15 LBL_15: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_25, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_23, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_24, i64 0, i64 0)) br label LBL_16 LBL_16: %43 = load i32, i32* @gv_16, align 4 %44 = load i32, i32* @gv_17, align 4 %45 = and i32 %44, %43 %46 = icmp eq i32 %45, -1 br i1 %46, label LBL_18, label LBL_17 LBL_17: store i32 1, i32* @gv_21, align 4 br label LBL_18 LBL_18: %47 = call i64 @FUNC() %48 = call i64 @FUNC() ret i64 %48 uselistorder i32 %.reload11, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem6, { 1, 0, 2 } uselistorder i64* %.reg2mem8, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem12, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i32* @gv_21, { 2, 0, 1 } uselistorder i32* @gv_19, { 0, 2, 1 } uselistorder i32 (i8*)* @puts, { 1, 0 } uselistorder i32* @gv_17, { 0, 2, 1 } uselistorder i32 -1, { 0, 5, 1, 2, 3, 4 } uselistorder i32* @gv_16, { 1, 0 } uselistorder i32* @gv_15, { 1, 0 } uselistorder i32* @gv_14, { 1, 0 } uselistorder i32 0, { 9, 10, 0, 11, 12, 13, 14, 1, 2, 3, 4, 5, 6, 7, 8 } uselistorder i32 (i32)* @sysconf, { 1, 0 } uselistorder i32 1, { 10, 11, 7, 12, 9, 13, 8, 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
clear_subscriber_list_17827
clear_subscriber_list
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 ret i64 %0 }
1
BinRealVul
hdsp_dds_offset_17561
hdsp_dds_offset
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %sv_1 = alloca i32, align 4 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 4 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 store i32 -1, i32* %sv_1, align 4 %6 = and i64 %1, 4294967295 %7 = bitcast i32* %sv_1 to i64* %8 = call i64 @FUNC(i64* nonnull %7, i64 %6, i64* nonnull %sv_0) %9 = icmp slt i32 %5, 112000 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load i32, i32* %sv_1, align 4 %11 = mul i32 %10, 4 store i32 %11, i32* %sv_1, align 4 store i32 %11, i32* %.reg2mem br label LBL_4 LBL_2: %12 = icmp slt i32 %5, 56000 %.pre = load i32, i32* %sv_1, align 4 store i32 %.pre, i32* %.reg2mem br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = mul i32 %.pre, 2 store i32 %13, i32* %sv_1, align 4 store i32 %13, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %14 = sub i32 %.reload, %5 %15 = zext i32 %14 to i64 ret i64 %15 uselistorder i32 %.pre, { 1, 0 } uselistorder i32* %sv_1, { 4, 0, 3, 2, 5, 1 } uselistorder i32* %.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
parseOperands_7833
parseOperands
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %.reg2mem71 = alloca i32 %.lcssa49.reg2mem = alloca i64 %.reg2mem69 = alloca i8* %.reg2mem67 = alloca i8* %sv_0.019.reg2mem = alloca i32 %.reg2mem65 = alloca i8* %sv_0.0.ph.reg2mem = alloca i32 %.reg2mem = alloca i8* %sv_1 = alloca i8*, align 8 %sv_2 = alloca i8*, align 8 %0 = bitcast i64* %arg1 to i8* %1 = call i8* @strdup(i8* %0) store i8* %1, i8** %sv_2, align 8 %2 = icmp eq i8* %1, null %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_46 LBL_1: %4 = ptrtoint i64* %arg2 to i64 %5 = add i64 %4, 144 %6 = inttoptr i64 %5 to i32* %7 = bitcast i8** %sv_2 to i64* store i8* %1, i8** %.reg2mem store i32 0, i32* %sv_0.0.ph.reg2mem br label LBL_2 LBL_2: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem %.reload = load i8*, i8** %.reg2mem %8 = icmp eq i8* %.reload, null %9 = icmp eq i1 %8, false store i8* %.reload, i8** %.reg2mem65 store i32 %sv_0.0.ph.reload, i32* %sv_0.019.reg2mem br i1 %9, label LBL_3, label LBL_45 LBL_3: %sv_0.019.reload = load i32, i32* %sv_0.019.reg2mem %.reload66 = load i8*, i8** %.reg2mem65 %10 = call i8* @strchr(i8* %.reload66, i32 44) store i8* %10, i8** %sv_1, align 8 %11 = icmp eq i8* %10, null br i1 %11, label LBL_5, label LBL_4 LBL_4: %12 = ptrtoint i8* %10 to i64 %13 = add i64 %12, 1 %14 = inttoptr i64 %13 to i8* store i8* %14, i8** %sv_1, align 8 store i8 0, i8* %10, align 1 br label LBL_5 LBL_5: %15 = load i8, i8* %.reload66, align 1 %16 = icmp eq i8 %15, 32 store i8* %.reload66, i8** %.reg2mem67 br i1 %16, label LBL_6, label LBL_7 LBL_6: %.reload68 = load i8*, i8** %.reg2mem67 %17 = ptrtoint i8* %.reload68 to i64 %18 = add i64 %17, 1 %19 = inttoptr i64 %18 to i8* store i8* %19, i8** %sv_2, align 8 %20 = load i8, i8* %19, align 1 %21 = icmp eq i8 %20, 32 store i8* %19, i8** %.reg2mem67 br i1 %21, label LBL_6, label LBL_7 LBL_7: %22 = sext i32 %sv_0.019.reload to i64 %23 = mul nsw i64 %22, 36 %24 = add i64 %23, %4 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %25, align 4 %26 = add i64 %24, 4 %27 = inttoptr i64 %26 to i32* store i32 1, i32* %27, align 4 %28 = add i64 %24, 12 %29 = inttoptr i64 %28 to i32* store i32 0, i32* %29, align 4 %.pre = load i8*, i8** %sv_2, align 8 store i8* %.pre, i8** %.reg2mem69 br label LBL_9 LBL_8: %30 = ptrtoint i8* %.reload70 to i64 %31 = add i64 %30, 1 %32 = inttoptr i64 %31 to i8* store i8* %32, i8** %sv_2, align 8 store i8* %32, i8** %.reg2mem69 br label LBL_9 LBL_9: %.reload70 = load i8*, i8** %.reg2mem69 %33 = load i8, i8* %.reload70, align 1 switch i8 %33, label LBL_10 [ i8 32, label LBL_8 i8 91, label LBL_8 i8 93, label LBL_8 ] LBL_10: %34 = call i32 @strncmp(i8* %.reload70, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 3) %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_12, label LBL_11 LBL_11: store i32 1, i32* %29, align 4 br label LBL_17 LBL_12: %37 = call i32 @strncmp(i8* %.reload70, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 3) %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_14, label LBL_13 LBL_13: store i32 2, i32* %29, align 4 br label LBL_17 LBL_14: %40 = call i32 @strncmp(i8* %.reload70, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 3) %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false br i1 %42, label LBL_16, label LBL_15 LBL_15: store i32 3, i32* %29, align 4 br label LBL_17 LBL_16: %.pr = load i32, i32* %29, align 4 %43 = icmp eq i32 %.pr, 0 br i1 %43, label LBL_19, label LBL_17 LBL_17: %44 = load i32, i32* %6, align 4 %45 = add i32 %44, 1 store i32 %45, i32* %6, align 4 %46 = load i8*, i8** %sv_2, align 8 %47 = ptrtoint i8* %46 to i64 %48 = add i64 %47, 4 %49 = call i64 @FUNC(i64 0, i64 %48) %50 = trunc i64 %49 to i32 %51 = add i64 %24, 16 %52 = inttoptr i64 %51 to i32* store i32 %50, i32* %52, align 4 %53 = icmp slt i32 %50, 64 store i64 0, i64* %rax.0.reg2mem br i1 %53, label LBL_18, label LBL_46 LBL_18: %54 = add i32 %sv_0.019.reload, 1 %55 = load i8*, i8** %sv_1, align 8 %56 = ptrtoint i8* %55 to i64 store i64 %56, i64* %7, align 8 %57 = icmp eq i8* %55, null %58 = icmp eq i1 %57, false store i8* %55, i8** %.reg2mem65 store i32 %54, i32* %sv_0.019.reg2mem br i1 %58, label LBL_3, label LBL_45 LBL_19: %59 = load i8, i8* %.reload70, align 1 %60 = icmp eq i8 %59, 120 br i1 %60, label LBL_25, label LBL_20 LBL_20: %61 = icmp sgt i8 %59, 120 br i1 %61, label LBL_42, label LBL_21 LBL_21: switch i8 %59, label LBL_22 [ i8 119, label LBL_28 i8 118, label LBL_29 i8 45, label LBL_41 ] LBL_22: %.off = add i8 %59, -45 %62 = icmp ugt i8 %.off, 70 %63 = icmp slt i8 %59, 73 %or.cond5 = or i1 %63, %62 br i1 %or.cond5, label LBL_42, label LBL_23 LBL_23: %64 = add i8 %59, 55 %65 = urem i8 %64, 64 %66 = zext i8 %65 to i64 %67 = shl i64 1, %66 %68 = and i64 %67, 1000727380201 %69 = icmp eq i64 %68, 0 %70 = icmp eq i1 %69, false %71 = icmp eq i1 %70, false %72 = icmp eq i1 %71, false br i1 %72, label LBL_39, label LBL_24 LBL_24: %73 = and i64 %67, 4398046512128 %74 = icmp eq i64 %73, 0 %75 = icmp eq i1 %74, false %76 = icmp eq i1 %75, false %77 = icmp eq i1 %76, false br i1 %77, label LBL_30, label LBL_42 LBL_25: %78 = call i8* @strchr(i8* nonnull %.reload70, i32 44) %79 = icmp eq i8* %78, null br i1 %79, label LBL_27, label LBL_26 LBL_26: store i8 0, i8* %78, align 1 br label LBL_27 LBL_27: %80 = load i32, i32* %6, align 4 %81 = add i32 %80, 1 store i32 %81, i32* %6, align 4 store i32 4, i32* %25, align 4 store i32 5, i32* %27, align 4 %82 = load i8*, i8** %sv_2, align 8 %83 = ptrtoint i8* %82 to i64 %84 = add i64 %83, 1 %85 = call i64 @FUNC(i64 0, i64 %84) %86 = trunc i64 %85 to i32 %87 = add i64 %24, 8 %88 = inttoptr i64 %87 to i32* store i32 %86, i32* %88, align 4 %89 = icmp slt i32 %86, 32 store i64 0, i64* %rax.0.reg2mem br i1 %89, label LBL_43, label LBL_46 LBL_28: %90 = load i32, i32* %6, align 4 %91 = add i32 %90, 1 store i32 %91, i32* %6, align 4 store i32 4, i32* %25, align 4 store i32 6, i32* %27, align 4 %92 = load i8*, i8** %sv_2, align 8 %93 = ptrtoint i8* %92 to i64 %94 = add i64 %93, 1 %95 = call i64 @FUNC(i64 0, i64 %94) %96 = trunc i64 %95 to i32 %97 = add i64 %24, 8 %98 = inttoptr i64 %97 to i32* store i32 %96, i32* %98, align 4 %99 = icmp slt i32 %96, 32 store i64 0, i64* %rax.0.reg2mem br i1 %99, label LBL_43, label LBL_46 LBL_29: %100 = load i32, i32* %6, align 4 %101 = add i32 %100, 1 store i32 %101, i32* %6, align 4 store i32 7, i32* %25, align 4 %102 = load i8*, i8** %sv_2, align 8 %103 = ptrtoint i8* %102 to i64 %104 = add i64 %103, 1 %105 = call i64 @FUNC(i64 0, i64 %104) %106 = trunc i64 %105 to i32 %107 = add i64 %24, 8 %108 = inttoptr i64 %107 to i32* store i32 %106, i32* %108, align 4 br label LBL_43 LBL_30: %109 = ptrtoint i8* %.reload70 to i64 %110 = add i64 %109, 1 %111 = inttoptr i64 %110 to i8* %112 = load i8, i8* %111, align 1 %113 = icmp ne i8 %112, 80 %114 = icmp eq i8 %112, 112 %115 = icmp eq i1 %114, false %or.cond7 = icmp eq i1 %113, %115 br i1 %or.cond7, label LBL_37, label LBL_31 LBL_31: %116 = load [8 x i8]*, [8 x i8]** @gv_3, align 8 %117 = icmp eq [8 x i8]* %116, null %118 = icmp eq i1 %117, false br i1 %118, label LBL_32, label LBL_36 LBL_32: %119 = getelementptr inbounds [8 x i8], [8 x i8]* %116, i64 0, i64 0 %120 = call i32 @strlen(i8* %119) %121 = sext i32 %120 to i64 %122 = load [8 x i8]*, [8 x i8]** @gv_3, align 8 %123 = ptrtoint [8 x i8]* %122 to i64 %124 = call i64 @FUNC(i64 %109, i64 %123, i64 %121) %125 = trunc i64 %124 to i32 %126 = icmp eq i32 %125, 0 %127 = icmp eq i1 %126, false store i64 0, i64* %.lcssa49.reg2mem store i32 1, i32* %.reg2mem71 br i1 %127, label LBL_35, label LBL_34 LBL_33: %128 = inttoptr i64 %146 to i8* %129 = call i32 @strlen(i8* %128) %130 = sext i32 %129 to i64 %131 = load i64, i64* %145, align 8 %132 = call i64 @FUNC(i64 %109, i64 %131, i64 %130) %133 = trunc i64 %132 to i32 %134 = icmp eq i32 %133, 0 %135 = icmp eq i1 %134, false %136 = add i32 %.reload72, 1 store i64 %143, i64* %.lcssa49.reg2mem store i32 %136, i32* %.reg2mem71 br i1 %135, label LBL_35, label LBL_34 LBL_34: %.lcssa49.reload = load i64, i64* %.lcssa49.reg2mem %137 = add i64 %.lcssa49.reload, ptrtoint (i32** @gv_4 to i64) %138 = inttoptr i64 %137 to i32* %139 = load i32, i32* %138, align 8 %140 = add i64 %24, 32 %141 = inttoptr i64 %140 to i32* store i32 %139, i32* %141, align 4 br label LBL_36 LBL_35: %.reload72 = load i32, i32* %.reg2mem71 %142 = sext i32 %.reload72 to i64 %143 = mul i64 %142, 16 %144 = add i64 %143, ptrtoint ([8 x i8]** @gv_3 to i64) %145 = inttoptr i64 %144 to i64* %146 = load i64, i64* %145, align 8 %147 = icmp eq i64 %146, 0 %148 = icmp eq i1 %147, false br i1 %148, label LBL_33, label LBL_36 LBL_36: %149 = load i32, i32* %6, align 4 %150 = add i32 %149, 1 store i32 %150, i32* %6, align 4 store i32 4, i32* %25, align 4 store i32 13, i32* %27, align 4 %151 = add i64 %24, 8 %152 = inttoptr i64 %151 to i32* store i32 31, i32* %152, align 4 br label LBL_43 LBL_37: %153 = call i64 @FUNC(i64 %109) %154 = trunc i64 %153 to i32 %155 = icmp eq i32 %154, -1 br i1 %155, label LBL_43, label LBL_38 LBL_38: %156 = load i32, i32* %6, align 4 %157 = add i32 %156, 1 store i32 %157, i32* %6, align 4 store i32 8, i32* %25, align 4 %158 = add i64 %24, 28 %159 = inttoptr i64 %158 to i32* store i32 %154, i32* %159, align 4 br label LBL_43 LBL_39: %160 = ptrtoint i8* %.reload70 to i64 %161 = call i64 @FUNC(i64 %160) %162 = trunc i64 %161 to i32 %163 = icmp eq i32 %162, -1 br i1 %163, label LBL_43, label LBL_40 LBL_40: %164 = load i32, i32* %6, align 4 %165 = add i32 %164, 1 store i32 %165, i32* %6, align 4 store i32 8, i32* %25, align 4 %166 = add i64 %24, 28 %167 = inttoptr i64 %166 to i32* store i32 %162, i32* %167, align 4 br label LBL_43 LBL_41: %168 = add i64 %24, 20 %169 = inttoptr i64 %168 to i32* store i32 -1, i32* %169, align 4 br label LBL_42 LBL_42: %170 = load i32, i32* %6, align 4 %171 = add i32 %170, 1 store i32 %171, i32* %6, align 4 store i32 10, i32* %25, align 4 %172 = load i8*, i8** %sv_2, align 8 %173 = ptrtoint i8* %172 to i64 %174 = call i64 @FUNC(i64 0, i64 %173) %175 = trunc i64 %174 to i32 %176 = add i64 %24, 24 %177 = inttoptr i64 %176 to i32* store i32 %175, i32* %177, align 4 br label LBL_43 LBL_43: %178 = load i8*, i8** %sv_1, align 8 %179 = ptrtoint i8* %178 to i64 store i64 %179, i64* %7, align 8 %180 = add i32 %sv_0.019.reload, 1 %181 = icmp slt i32 %180, 5 store i8* %178, i8** %.reg2mem store i32 %180, i32* %sv_0.0.ph.reg2mem br i1 %181, label LBL_2, label LBL_44 LBL_44: %182 = bitcast i8* %1 to i64* call void @free(i64* %182) store i64 0, i64* %rax.0.reg2mem br label LBL_46 LBL_45: %183 = bitcast i8* %1 to i64* call void @free(i64* %183) store i64 1, i64* %rax.0.reg2mem br label LBL_46 LBL_46: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %146, { 1, 0 } uselistorder i64* %145, { 1, 0 } uselistorder i64 %143, { 1, 0 } uselistorder i64 %109, { 2, 1, 0, 3 } uselistorder i8 %59, { 3, 2, 0, 1, 4, 5 } uselistorder i8* %.reload70, { 6, 5, 7, 8, 4, 3, 2, 0, 1 } uselistorder i32* %29, { 0, 3, 2, 1, 4 } uselistorder i32* %25, { 6, 2, 1, 0, 3, 4, 5, 7 } uselistorder i64 %24, { 0, 5, 4, 3, 1, 2, 6, 7, 8, 9, 10, 11, 12 } uselistorder i8* %10, { 1, 0, 2, 3 } uselistorder i32 %sv_0.019.reload, { 2, 1, 0 } uselistorder i32* %6, { 3, 2, 5, 4, 7, 6, 9, 8, 13, 12, 11, 10, 1, 0, 14, 15 } uselistorder i8* %1, { 2, 1, 0, 3, 4 } uselistorder i8** %sv_2, { 9, 8, 7, 6, 5, 4, 0, 3, 1, 2 } uselistorder i8** %sv_1, { 0, 1, 3, 2 } uselistorder i8** %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 } uselistorder i8** %.reg2mem65, { 2, 0, 1 } uselistorder i32* %sv_0.019.reg2mem, { 2, 0, 1 } uselistorder i8** %.reg2mem67, { 2, 0, 1 } uselistorder i8** %.reg2mem69, { 0, 2, 1 } uselistorder i32* %.reg2mem71, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 1, 2, 3, 4 } uselistorder void (i64*)* @free, { 1, 0 } uselistorder i32 -1, { 2, 0, 1 } uselistorder i64 (i64)* @get_mem_option, { 1, 0 } uselistorder i64 (i64, i64, i64)* @r_str_ncasecmp, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder [8 x i8]** @gv_3, { 2, 0, 1 } uselistorder i32 32, { 1, 0 } uselistorder i64 (i64, i64)* @r_num_math, { 4, 3, 2, 1, 0 } uselistorder i32 (i8*, i8*, i32)* @strncmp, { 0, 2, 1 } uselistorder i32 3, { 3, 0, 1, 2 } uselistorder i8 32, { 1, 2, 0 } uselistorder i64 1, { 0, 2, 3, 4, 5, 1, 6, 7, 8 } uselistorder i8* (i8*, i32)* @strchr, { 1, 0 } uselistorder i32 0, { 2, 1, 3, 4, 5, 6, 7, 8, 0 } uselistorder i1 false, { 7, 6, 0, 1, 3, 8, 4, 9, 10, 5, 11, 15, 12, 13, 14, 2, 16 } uselistorder i8* null, { 2, 0, 3, 1, 4 } uselistorder label LBL_46, { 5, 4, 0, 1, 2, 3 } uselistorder label LBL_45, { 1, 0 } uselistorder label LBL_43, { 6, 1, 0, 3, 2, 7, 8, 4, 5 } uselistorder label LBL_42, { 1, 0, 2, 3 } uselistorder label LBL_36, { 0, 2, 1 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_17, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
slurm_load_jobs_17949
slurm_load_jobs
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32* %storemerge.reg2mem = alloca i64 %1 = load i32*, i32** %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 store i32 2, i32* %sv_1, align 4 %2 = bitcast i32* %sv_0 to i64* %3 = call i64 @FUNC(i32* nonnull %sv_1, i64* nonnull %2) %4 = trunc i64 %3 to i32 %5 = icmp slt i32 %4, 0 %6 = icmp eq i1 %5, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %6, label LBL_1, label LBL_6 LBL_1: %7 = load i32, i32* %sv_0, align 4 switch i32 %7, label LBL_5 [ i32 3, label LBL_2 i32 4, label LBL_3 ] LBL_2: %8 = ptrtoint i32* %1 to i64 store i64 %8, i64* %arg2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_3: %9 = load i32, i32* %1, align 4 %10 = ptrtoint i32* %1 to i64 %11 = call i64 @FUNC(i64 %10) %12 = icmp eq i32 %9, 0 store i64 0, i64* %storemerge.reg2mem br i1 %12, label LBL_6, label LBL_4 LBL_4: %13 = zext i32 %9 to i64 %14 = call i64 @FUNC(i64 %13) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_5: %15 = call i64 @FUNC(i64 1) store i64 0, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %1, { 1, 2, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 4, 1, 5 } uselistorder i64 (i64)* @slurm_seterrno_ret, { 1, 0 } uselistorder label LBL_6, { 1, 2, 3, 0, 4 } }
1
BinRealVul
fuse_evict_inode_13288
fuse_evict_inode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1) %3 = add i64 %arg1, 16 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %arg1) %6 = add i64 %arg1, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = urem i32 %10, 2 %12 = icmp eq i32 %11, 0 %13 = trunc i64 %1 to i32 store i32 %13, i32* %.reg2mem br i1 %12, label LBL_5, label LBL_1 LBL_1: %14 = call i64 @FUNC(i64 %arg1) %15 = call i64 @FUNC(i64 %arg1) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = call i64 @FUNC(i64 %arg1) br label LBL_3 LBL_3: %19 = inttoptr i64 %2 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, 0 store i32 %13, i32* %.reg2mem br i1 %21, label LBL_5, label LBL_4 LBL_4: %22 = add i64 %2, 16 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = add i64 %2, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %14, i64 %27, i32 %24, i32 %20) store i64 0, i64* %26, align 8 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_5 LBL_5: %.reload = load i32, i32* %.reg2mem %29 = trunc i32 %.reload to i16 %30 = icmp sgt i16 %29, -1 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_11, label LBL_6 LBL_6: %31 = call i64 @FUNC(i64 %arg1) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false store i64 %31, i64* %rax.0.reg2mem br i1 %34, label LBL_11, label LBL_7 LBL_7: %35 = add i64 %2, 20 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_9, label LBL_8 LBL_8: %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %41 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %40) br label LBL_9 LBL_9: %42 = call i64 @FUNC(i64 %35) %43 = trunc i64 %42 to i32 %44 = icmp eq i32 %43, 0 %45 = icmp eq i1 %44, false store i64 %42, i64* %rax.0.reg2mem br i1 %45, label LBL_11, label LBL_10 LBL_10: %46 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %47 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %46) %48 = sext i32 %47 to i64 store i64 %48, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %13, { 1, 0 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i64 (i64)* @list_empty, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder i64 %arg1, { 3, 0, 2, 1, 4, 5, 6, 7 } }
1
BinRealVul
setup_one_line_18316
setup_one_line
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 27 %2 = add i64 %1, %0 %3 = add i64 %2, 16 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %2, 24 %9 = call i64 @FUNC(i64 %8) %10 = inttoptr i64 %2 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: store i64 ptrtoint ([23 x i8]* @gv_0 to i64), i64* %arg5, align 8 store i32 -22, i32* %sv_0.1.reg2mem br label LBL_14 LBL_2: %13 = ptrtoint i64* %arg5 to i64 %14 = ptrtoint i64* %arg4 to i64 %15 = ashr exact i64 %sext, 32 %16 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0)) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_3 LBL_3: %19 = add i64 %2, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 %22 = icmp eq i32 %21, 0 store i32 -22, i32* %sv_0.1.reg2mem br i1 %22, label LBL_14, label LBL_4 LBL_4: store i32 0, i32* %20, align 4 %23 = add i64 %2, 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = and i64 %15, 4294967295 %28 = call i64 @FUNC(i64 %7, i64 %27) %29 = trunc i64 %15 to i32 %30 = call i64 @FUNC(i64 0, i64 %2, i32 %29, i64 %14, i64 %13) store i32 0, i32* %sv_0.1.reg2mem br label LBL_14 LBL_5: %31 = ptrtoint i8* %arg3 to i64 %32 = call i64 @FUNC(i64 %31, i64 0) %33 = icmp eq i64 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_7, label LBL_6 LBL_6: store i64 ptrtoint ([26 x i8]* @gv_2 to i64), i64* %arg5, align 8 store i64 4294967284, i64* %storemerge.reg2mem br label LBL_15 LBL_7: %35 = add i64 %2, 4 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_9, label LBL_8 LBL_8: %39 = and i64 %15, 4294967295 %40 = call i64 @FUNC(i64 %7, i64 %39) br label LBL_9 LBL_9: %41 = add i64 %2, 8 %42 = inttoptr i64 %41 to i64* store i64 %32, i64* %42, align 8 store i32 1, i32* %36, align 4 %43 = trunc i64 %15 to i32 %44 = call i64 @FUNC(i64 %32, i64 %2, i32 %43, i64 %14, i64 %13) %45 = trunc i64 %44 to i32 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i32 %45, i32* %sv_0.0.reg2mem br i1 %47, label LBL_12, label LBL_10 LBL_10: %48 = and i64 %15, 4294967295 %49 = call i64 @FUNC(i64 %7, i64 %48, i64 0) %50 = call i64 @FUNC(i64 %49) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 store i32 %45, i32* %sv_0.0.reg2mem br i1 %52, label LBL_12, label LBL_11 LBL_11: store i64 ptrtoint ([26 x i8]* @gv_3 to i64), i64* %arg5, align 8 %53 = call i64 @FUNC(i64 %49) %54 = trunc i64 %53 to i32 %55 = call i64 @FUNC(i64 0, i64 %2, i32 %43, i64 %14, i64 %13) store i32 %54, i32* %sv_0.0.reg2mem br label LBL_12 LBL_12: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %56 = icmp eq i32 %sv_0.0.reload, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %56, label LBL_14, label LBL_13 LBL_13: store i64 0, i64* %42, align 8 store i32 0, i32* %36, align 4 %57 = call i64 @FUNC(i64 %32) store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br label LBL_14 LBL_14: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %58 = call i64 @FUNC(i64 %8) %59 = zext i32 %sv_0.1.reload to i64 store i64 %59, i64* %storemerge.reg2mem br label LBL_15 LBL_15: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %15, { 3, 4, 2, 1, 0 } uselistorder i64 %14, { 1, 2, 0 } uselistorder i64 %13, { 1, 2, 0 } uselistorder i64 %7, { 2, 1, 0 } uselistorder i64 %2, { 3, 4, 5, 6, 0, 1, 2, 7, 8, 9 } uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 5, 2, 3, 1 } uselistorder i64 (i64, i64, i32, i64, i64)* @parse_chan_pair, { 2, 1, 0 } uselistorder i64 (i64, i64)* @tty_unregister_device, { 1, 0 } uselistorder i64 4294967295, { 1, 2, 3, 0 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i32 -22, { 1, 0 } uselistorder i64* %arg5, { 0, 1, 3, 2 } uselistorder label LBL_14, { 1, 0, 2, 3, 4 } }
1
BinRealVul
append_extradata_1927
append_extradata
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %rax.0.shrunk.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 = sub i32 2147483647, %arg3 %5 = zext i32 %4 to i64 %6 = sext i32 %3 to i64 %7 = icmp sgt i64 %6, %5 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_3, label LBL_1 LBL_1: %8 = add i32 %3, %arg3 %9 = add i32 %8, 32 %10 = sext i32 %9 to i64 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 4294967284, i64* %rax.0.shrunk.reg2mem br i1 %13, label LBL_2, label LBL_3 LBL_2: %14 = ptrtoint i64* %arg2 to i64 store i64 %11, i64* %arg1, align 8 store i32 %8, i32* %2, align 4 %15 = add i64 %6, %0 %16 = call i64 @FUNC(i64 %14, i64 %15, i32 %arg3) %17 = trunc i64 %16 to i32 %18 = icmp slt i32 %17, 0 %19 = icmp eq i1 %18, false %. = select i1 %19, i32 %3, i32 %17 %phitmp = zext i32 %. to i64 store i64 %phitmp, i64* %rax.0.shrunk.reg2mem br label LBL_3 LBL_3: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem ret i64 %rax.0.shrunk.reload uselistorder i32 %3, { 1, 0, 2 } uselistorder i32 %arg3, { 1, 0, 2 } }
0
BinRealVul
prologProcessor_13599
prologProcessor
define i64 @FUNC(i32* %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg4 to i64 %3 = ptrtoint i8* %arg3 to i64 %4 = ptrtoint i8* %arg2 to i64 %5 = ptrtoint i32* %arg1 to i64 %sv_0 = alloca i8*, align 8 store i8* %arg2, i8** %sv_0, align 8 %6 = trunc i64 %1 to i32 %7 = and i64 %1, 4294967295 %8 = bitcast i8** %sv_0 to i64* %9 = call i64 @FUNC(i64 %7, i64 %4, i64 %3, i64* nonnull %8) %10 = trunc i64 %9 to i32 %11 = load i8*, i8** %sv_0, align 8 %12 = ptrtoint i8* %11 to i64 %13 = call i64 @FUNC(i64 %5, i32 %6, i64 %4, i64 %3, i32 %10, i64 %12, i64 %2) ret i64 %13 uselistorder i8** %sv_0, { 1, 2, 0 } uselistorder i64 %1, { 1, 0 } }
0
BinRealVul
ntlm_read_message_header_12819
ntlm_read_message_header
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp ult i64 %1, 12 store i64 4294967295, i64* %rax.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg2 to i64 %4 = call i64 @FUNC(i64 %0, i64 %3, i64 8) %5 = add i64 %3, 8 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = zext i32 %7 to i64 %9 = call i64 @FUNC(i64 %0, i64 %8) %10 = bitcast i64* %arg2 to i8* %11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %12 = icmp eq i32 %11, 0 %. = select i1 %12, i64 1, i64 4294967295 store i64 %., i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 8, { 1, 0, 2 } }
1
BinRealVul
set_wep_key_4175
set_wep_key
define i64 @FUNC(i64* %arg1, i16 %arg2, i64 %arg3, i16 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %0 = icmp eq i16 %arg4, 0 %1 = icmp eq i1 %0, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_5 LBL_1: %2 = ptrtoint i64* %arg1 to i64 %3 = and i64 %arg6, 4294967295 %4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 44) %5 = call i64 @FUNC(i64 44) %sext3 = mul i64 %5, 281474976710656 %6 = ashr exact i64 %sext3, 48 store i64 %6, i64* %sv_1, align 8 %7 = zext i16 %arg2 to i64 %8 = call i64 @FUNC(i64 %7) %9 = zext i16 %arg4 to i64 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %arg3 to i64* %12 = zext i16 %arg4 to i32 %13 = call i64* @memcpy(i64* nonnull %sv_0, i64* %11, i32 %12) %14 = trunc i64 %arg5 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_2, label LBL_3 LBL_2: %16 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i32 0, i64 %3) store i64 %16, i64* %.reg2mem br label LBL_4 LBL_3: %17 = call i64 @FUNC(i64 %2, i64 %3) %18 = call i64 @FUNC(i64 %2, i64* nonnull %sv_1, i32 %14, i64 %3) %19 = call i64 @FUNC(i64 %2, i64 %3) store i64 %18, i64* %.reg2mem br label LBL_4 LBL_4: %.reload = load i64, i64* %.reg2mem %20 = and i64 %.reload, 4294967295 store i64 %20, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 2, 3, 1, 0 } uselistorder i64* %sv_1, { 1, 0, 3, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64*, i32, i64)* @writeWepKeyRid, { 1, 0 } uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 } uselistorder i32 0, { 0, 2, 1 } uselistorder i16 %arg4, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
push_leaf_left_4409
push_leaf_left
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 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 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i64 %3, 0 %9 = or i1 %8, %7 %10 = icmp eq i1 %9, false store i64 1, i64* %rax.0.reg2mem br i1 %10, label LBL_1, label LBL_8 LBL_1: %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false store i64 1, i64* %rax.0.reg2mem br i1 %14, label LBL_2, label LBL_8 LBL_2: %15 = ptrtoint i64* %arg2 to i64 %16 = load i64, i64* %2, align 8 %17 = call i64 @FUNC(i64 %16) %18 = add i32 %6, -1 %19 = zext i32 %18 to i64 %20 = add nuw nsw i64 %19, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %15, i64 %22, i64 %19) store i64 %23, i64* %sv_0, align 8 %24 = icmp eq i64 %23, 0 %25 = icmp eq i1 %24, false store i64 1, i64* %rax.0.reg2mem br i1 %25, label LBL_3, label LBL_8 LBL_3: %26 = call i64 @FUNC(i64 %23) %27 = call i64 @FUNC(i64 %23) %28 = call i64 @FUNC(i64 %15, i64 %23) %29 = trunc i64 %28 to i32 %30 = trunc i64 %arg5 to i32 %31 = icmp slt i32 %29, %30 br i1 %31, label LBL_7, label LBL_4 LBL_4: %32 = ptrtoint i64* %arg1 to i64 %33 = add i64 %23, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %32, i64 %15, i64 %23, i64 %35, i64 %19, i64* nonnull %sv_0) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_5, label LBL_7 LBL_5: %39 = load i64, i64* %sv_0, align 8 %40 = call i64 @FUNC(i64 %15, i64 %39) %41 = trunc i64 %40 to i32 %42 = icmp slt i32 %41, %30 br i1 %42, label LBL_7, label LBL_6 LBL_6: %43 = load i64, i64* %sv_0, align 8 %44 = trunc i64 %arg6 to i32 %45 = trunc i64 %arg4 to i32 %46 = call i64 @FUNC(i64 %32, i64 %15, i64 %0, i32 %45, i32 %44, i64 %43) store i64 %46, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %47 = load i64, i64* %sv_0, align 8 %48 = call i64 @FUNC(i64 %47) %49 = load i64, i64* %sv_0, align 8 %50 = call i64 @FUNC(i64 %49) store i64 1, 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 %23, { 0, 2, 1, 3, 4, 5, 6 } uselistorder i64 %19, { 0, 2, 1 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 } uselistorder i64 (i64, i64)* @btrfs_leaf_free_space, { 1, 0 } uselistorder i64 1, { 3, 0, 1, 2, 4, 5 } uselistorder i1 false, { 1, 2, 0 } uselistorder label LBL_8, { 3, 4, 0, 1, 2 } }
0
BinRealVul
lm32_cpu_class_init_16153
lm32_cpu_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %arg1, align 8 store i64 4198676, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198683, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 4198690, i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i64* store i64 4198697, i64* %8, align 8 %9 = add i64 %0, 40 %10 = inttoptr i64 %9 to i64* store i64 4198704, i64* %10, align 8 %11 = add i64 %0, 48 %12 = inttoptr i64 %11 to i64* store i64 4198711, i64* %12, align 8 %13 = add i64 %0, 56 %14 = inttoptr i64 %13 to i64* store i64 4198718, i64* %14, align 8 %15 = add i64 %0, 64 %16 = inttoptr i64 %15 to i64* store i64 4198725, i64* %16, align 8 %17 = add i64 %0, 80 %18 = inttoptr i64 %17 to i64* store i64 4198739, i64* %18, align 8 %19 = add i64 %0, 88 %20 = inttoptr i64 %19 to i64* store i64 4210717, i64* %20, align 8 %21 = add i64 %0, 96 %22 = inttoptr i64 %21 to i32* store i32 39, i32* %22, align 4 %23 = add i64 %0, 100 %24 = inttoptr i64 %23 to i8* store i8 1, i8* %24, align 1 %25 = add i64 %0, 104 %26 = inttoptr i64 %25 to i64* store i64 4198746, i64* %26, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 } }
1
BinRealVul
decode_udvm_multitype_operand_7714
decode_udvm_multitype_operand
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i16 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = bitcast i64* %arg3 to i16* store i16 0, i16* %2, align 2 %3 = and i64 %arg2, 4294967295 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i8* %6 = load i8, i8* %5, align 1 %7 = zext i8 %6 to i32 %8 = udiv i32 %7, 64 switch i32 %8, label LBL_17 [ i32 3, label LBL_14 i32 2, label LBL_3 i32 0, label LBL_1 i32 1, label LBL_2 ] LBL_1: %9 = and i64 %1, 4294967295 %10 = add i64 %9, %0 %11 = inttoptr i64 %10 to i8* %12 = load i8, i8* %11, align 1 %13 = zext i8 %12 to i16 store i16 %13, i16* %2, align 2 %sext6 = add i64 %sext, 4294967296 store i64 %sext6, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_2: %.tr = zext i8 %6 to i16 %14 = mul i16 %.tr, 2 %15 = and i16 %14, 126 %16 = zext i16 %15 to i64 %17 = add i64 %16, %0 %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i16 %21 = mul i16 %20, 256 %22 = or i16 %15, 1 %23 = zext i16 %22 to i64 %24 = add i64 %23, %0 %25 = inttoptr i64 %24 to i8* %26 = load i8, i8* %25, align 1 %27 = zext i8 %26 to i16 %28 = or i16 %21, %27 store i16 %28, i16* %2, align 2 %sext5 = add i64 %sext, 4294967296 store i64 %sext5, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_3: %29 = and i32 %7, 224 %30 = icmp eq i32 %29, 160 %31 = icmp eq i1 %30, false br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = and i64 %1, 4294967295 %33 = add i64 %32, %0 %34 = inttoptr i64 %33 to i8* %35 = load i8, i8* %34, align 1 %36 = urem i8 %35, 32 %37 = zext i8 %36 to i16 %38 = mul i16 %37, 256 %39 = add nsw i64 %1, 1 %40 = urem i64 %39, 65536 %41 = add i64 %40, %0 %42 = inttoptr i64 %41 to i8* %43 = load i8, i8* %42, align 1 %44 = zext i8 %43 to i16 %45 = or i16 %38, %44 store i16 %45, i16* %2, align 2 %sext7 = add i64 %sext, 8589934592 store i64 %sext7, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_5: %46 = and i32 %7, 240 %47 = icmp eq i32 %46, 144 %48 = icmp eq i1 %47, false br i1 %48, label LBL_7, label LBL_6 LBL_6: %49 = and i64 %1, 4294967295 %50 = add i64 %49, %0 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %51, align 1 %53 = urem i8 %52, 16 %54 = zext i8 %53 to i16 %55 = mul i16 %54, 256 %56 = add nsw i64 %1, 1 %57 = urem i64 %56, 65536 %58 = add i64 %57, %0 %59 = inttoptr i64 %58 to i8* %60 = load i8, i8* %59, align 1 %61 = zext i8 %60 to i16 %62 = or i16 %55, %61 %63 = or i16 %62, -4096 store i16 %63, i16* %2, align 2 %sext8 = add i64 %sext, 8589934592 store i64 %sext8, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_7: %64 = and i32 %7, 8 %65 = icmp ne i32 %64, 0 %66 = icmp eq i1 %65, false br i1 %66, label LBL_9, label LBL_8 LBL_8: %67 = and i64 %1, 4294967295 %68 = add i64 %67, %0 %69 = inttoptr i64 %68 to i8* %70 = load i8, i8* %69, align 1 %71 = urem i8 %70, 8 %72 = or i8 %71, 8 %73 = zext i8 %72 to i32 %74 = shl i32 1, %73 %phitmp16 = trunc i32 %74 to i16 store i16 %phitmp16, i16* %2, align 2 %sext9 = add i64 %sext, 4294967296 store i64 %sext9, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_9: %75 = and i32 %7, 14 %76 = icmp eq i32 %75, 6 %77 = icmp eq i1 %76, false br i1 %77, label LBL_11, label LBL_10 LBL_10: %78 = and i64 %1, 4294967295 %79 = add i64 %78, %0 %80 = inttoptr i64 %79 to i8* %81 = load i8, i8* %80, align 1 %82 = urem i8 %81, 2 %83 = or i8 %82, 6 %84 = zext i8 %83 to i32 %85 = shl i32 1, %84 %phitmp = trunc i32 %85 to i16 store i16 %phitmp, i16* %2, align 2 %sext11 = add i64 %sext, 4294967296 store i64 %sext11, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_11: %86 = add nsw i64 %1, 1 %87 = urem i64 %86, 65536 %88 = add i64 %87, %0 %89 = inttoptr i64 %88 to i8* %90 = load i8, i8* %89, align 1 %91 = zext i8 %90 to i16 %92 = mul i16 %91, 256 %93 = add nsw i64 %1, 2 %94 = urem i64 %93, 65536 %95 = add i64 %94, %0 %96 = inttoptr i64 %95 to i8* %97 = load i8, i8* %96, align 1 %98 = zext i8 %97 to i16 %99 = or i16 %92, %98 %100 = urem i32 %7, 2 %101 = icmp eq i32 %100, 0 store i16 %99, i16* %sv_1.0.reg2mem br i1 %101, label LBL_13, label LBL_12 LBL_12: %102 = sext i16 %99 to i32 %.mask = urem i32 %102, 65536 %103 = zext i32 %.mask to i64 %104 = add i64 %103, %0 %105 = inttoptr i64 %104 to i8* %106 = load i8, i8* %105, align 1 %107 = zext i8 %106 to i16 %108 = mul i16 %107, 256 %109 = add nsw i32 %102, 1 %110 = urem i32 %109, 65536 %111 = zext i32 %110 to i64 %112 = add i64 %111, %0 %113 = inttoptr i64 %112 to i8* %114 = load i8, i8* %113, align 1 %115 = zext i8 %114 to i16 %116 = or i16 %108, %115 store i16 %116, i16* %sv_1.0.reg2mem br label LBL_13 LBL_13: %sv_1.0.reload = load i16, i16* %sv_1.0.reg2mem store i16 %sv_1.0.reload, i16* %2, align 2 %sext13 = add i64 %sext, 12884901888 store i64 %sext13, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_14: %117 = and i32 %7, 32 %118 = icmp ne i32 %117, 0 %119 = icmp eq i1 %118, false %120 = and i64 %1, 4294967295 %121 = add i64 %120, %0 %122 = inttoptr i64 %121 to i8* %123 = load i8, i8* %122, align 1 br i1 %119, label LBL_16, label LBL_15 LBL_15: %124 = zext i8 %123 to i16 %125 = or i16 %124, -32 store i16 %125, i16* %2, align 2 %sext14 = add i64 %sext, 4294967296 store i64 %sext14, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_16: %126 = urem i8 %123, 32 %127 = zext i8 %126 to i16 %128 = mul i16 %127, 256 %129 = add nsw i64 %1, 1 %130 = urem i64 %129, 65536 %131 = add i64 %130, %0 %132 = inttoptr i64 %131 to i8* %133 = load i8, i8* %132, align 1 %134 = zext i8 %133 to i16 %135 = or i16 %128, %134 %136 = zext i16 %135 to i64 %137 = add i64 %136, %0 %138 = inttoptr i64 %137 to i8* %139 = load i8, i8* %138, align 1 %140 = zext i8 %139 to i16 %141 = mul i16 %140, 256 %narrow = add nuw nsw i16 %135, 1 %142 = zext i16 %narrow to i64 %143 = add i64 %142, %0 %144 = inttoptr i64 %143 to i8* %145 = load i8, i8* %144, align 1 %146 = zext i8 %145 to i16 %147 = or i16 %141, %146 store i16 %147, i16* %2, align 2 %sext15 = add i64 %sext, 8589934592 store i64 %sext15, i64* %sv_0.0.in.reg2mem br label LBL_18 LBL_17: unreachable LBL_18: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %148 = udiv i64 %sv_0.0.in.reload, 4294967296 ret i64 %148 uselistorder i32 %102, { 1, 0 } uselistorder i16 %99, { 1, 0 } uselistorder i32 %7, { 6, 0, 5, 4, 3, 2, 1 } uselistorder i16* %2, { 8, 7, 6, 5, 4, 3, 2, 0, 1, 9 } uselistorder i64 %1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %sext, { 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 } uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 14, 17 } uselistorder i64* %sv_0.0.in.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 1, 2 } uselistorder i8 8, { 1, 0 } uselistorder i32 0, { 1, 3, 2, 0 } uselistorder i64 4294967296, { 1, 2, 3, 4, 6, 5, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_18, { 1, 0, 2, 3, 4, 5, 6, 7, 8 } }
1
BinRealVul
ossl_lh_strcasehash_9909
ossl_lh_strcasehash
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i64 %sv_1.05.reg2mem = alloca i64 %sv_0.06.reg2mem = alloca i64 %storemerge47.reg2mem = alloca i64 %.reg2mem = alloca i8 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_5, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_2, label LBL_5 LBL_2: %6 = inttoptr i64 %arg1 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i8 %7, 0 %9 = icmp eq i1 %8, false store i8 %7, i8* %.reg2mem store i64 256, i64* %storemerge47.reg2mem store i64 0, i64* %sv_0.06.reg2mem store i64 %arg1, i64* %sv_1.05.reg2mem store i64 0, i64* %sv_0.0.lcssa.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem %storemerge47.reload = load i64, i64* %storemerge47.reg2mem %.reload = load i8, i8* %.reg2mem %10 = sext i8 %.reload to i64 %11 = and i64 %10, 4294967295 %12 = call i64 @FUNC(i64 %11) %sext = mul i64 %12, 4294967296 %13 = ashr exact i64 %sext, 32 %14 = or i64 %13, %storemerge47.reload %15 = udiv i64 %13, 4 %16 = xor i64 %15, %13 %17 = trunc i64 %16 to i32 %18 = urem i32 %17, 16 %19 = zext i32 %18 to i64 %storemerge2 = shl i64 %sv_0.06.reload, %19 %20 = sub nsw i32 32, %18 %21 = zext i32 %20 to i64 %storemerge3 = lshr i64 %sv_0.06.reload, %21 %22 = or i64 %storemerge3, %storemerge2 %23 = and i64 %22, 4294967295 %24 = mul i64 %14, %14 %25 = xor i64 %23, %24 %26 = add i64 %sv_1.05.reload, 1 %27 = add i64 %storemerge47.reload, 256 %28 = inttoptr i64 %26 to i8* %29 = load i8, i8* %28, align 1 %30 = icmp eq i8 %29, 0 %31 = icmp eq i1 %30, false store i8 %29, i8* %.reg2mem store i64 %27, i64* %storemerge47.reg2mem store i64 %25, i64* %sv_0.06.reg2mem store i64 %26, i64* %sv_1.05.reg2mem store i64 %25, i64* %sv_0.0.lcssa.reg2mem br i1 %31, label LBL_3, label LBL_4 LBL_4: %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem %32 = udiv i64 %sv_0.0.lcssa.reload, 65536 %33 = xor i64 %32, %sv_0.0.lcssa.reload store i64 %33, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %18, { 1, 0 } uselistorder i64 %13, { 1, 0, 2 } uselistorder i8* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge47.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.05.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 4294967295, { 1, 0 } uselistorder i64 256, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i8 0, { 1, 0, 2 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_5, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
add_sdb_addrline_12459
add_sdb_addrline
define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = icmp eq i64* %arg1, null %1 = icmp eq i8* %arg3, null %or.cond = or i1 %0, %1 br i1 %or.cond, label LBL_6, label LBL_1 LBL_1: %2 = ptrtoint i8* %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 0, i64 47) %4 = trunc i64 %arg5 to i32 %5 = icmp eq i32 %4, 114 br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = icmp sgt i32 %4, 114 store i64 %arg4, i64* %rcx.0.reg2mem store i64 %arg5, i64* %r8.0.reg2mem br i1 %6, label LBL_5, label LBL_3 LBL_3: %7 = icmp ne i32 %4, 1 %8 = icmp eq i32 %4, 42 %9 = icmp eq i1 %8, false %or.cond6 = icmp eq i1 %7, %9 store i64 %arg4, i64* %rcx.0.reg2mem store i64 %arg5, i64* %r8.0.reg2mem br i1 %or.cond6, label LBL_5, label LBL_4 LBL_4: store i64 %arg2, i64* %rcx.0.reg2mem store i64 %arg6, i64* %r8.0.reg2mem br label LBL_5 LBL_5: %10 = ptrtoint i64* %arg1 to i64 %r8.0.reload = load i64, i64* %r8.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %11 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg4, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6) %12 = call i64 @FUNC(i64 %arg2, i64 16, i64* nonnull %sv_0, i64 64) %13 = call i64 @FUNC(i64 %10, i64 %12, i64 %11, i64 0) %14 = call i64 @FUNC(i64 %10, i64 %11, i64 %12, i64 0) %15 = inttoptr i64 %11 to i64* call void @free(i64* %15) store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %10, { 1, 0 } uselistorder i64* %rcx.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %r8.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64, i64, i64, i64)* @sdb_add, { 1, 0 } uselistorder i32 114, { 1, 0 } uselistorder i64 %arg6, { 1, 0 } uselistorder i64 %arg4, { 2, 0, 1 } uselistorder i8* %arg3, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
1
BinRealVul
vcpu_run_5959
vcpu_run
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.in.reg2mem = alloca i64 %storemerge1.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i8* store i8 1, i8* %1, align 1 %2 = add i64 %0, 1 %3 = inttoptr i64 %2 to i8* br label LBL_1 LBL_1: store i8 0, i8* %3, align 1 %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_3, label LBL_2 LBL_2: %7 = call i64 @FUNC(i64 %0) store i64 %7, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_3: %8 = call i64 @FUNC(i64 %0) store i64 %8, i64* %storemerge1.in.reg2mem br label LBL_4 LBL_4: %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem %storemerge1 = trunc i64 %storemerge1.in.reload to i32 %9 = icmp slt i32 %storemerge1, 1 store i64 %storemerge1.in.reload, i64* %storemerge.in.reg2mem br i1 %9, label LBL_15, label LBL_5 LBL_5: %10 = call i64 @FUNC(i64 2, i64 %0) %11 = call i64 @FUNC(i64 %0) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_7, label LBL_6 LBL_6: %14 = call i64 @FUNC(i64 %0) br label LBL_7 LBL_7: %15 = call i64 @FUNC(i64 %0) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_9, label LBL_8 LBL_8: %18 = call i64 @FUNC(i64 %0) br label LBL_9 LBL_9: %19 = call i64 @FUNC(i64 %0) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label LBL_12, label LBL_10 LBL_10: %22 = call i64 @FUNC(i64 %0) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label LBL_12, label LBL_11 LBL_11: %25 = add i64 %0, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i32* store i32 1, i32* %28, align 4 %29 = add i64 %0, 16 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i32 %31, 1 store i32 %32, i32* %30, align 4 store i64 0, i64* %storemerge.in.reg2mem br label LBL_15 LBL_12: %33 = call i64 @FUNC() %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label LBL_1.backedge, label LBL_14 LBL_13: br label LBL_1 LBL_14: %36 = call i64 @FUNC(i64 %0) %37 = call i64 @FUNC(i64 %0) %38 = trunc i64 %37 to i32 %39 = call i64 @FUNC(i64 %0) %40 = icmp eq i32 %38, 0 store i64 %37, i64* %storemerge.in.reg2mem br i1 %40, label LBL_1.backedge, label LBL_15 LBL_15: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = and i64 %storemerge.in.reload, 4294967295 ret i64 %storemerge uselistorder i64 %0, { 7, 6, 5, 2, 3, 4, 8, 1, 9, 0, 11, 10, 12, 13, 14, 15 } uselistorder i64* %storemerge1.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 3, 1 } uselistorder i64 1, { 4, 0, 1, 2, 3 } uselistorder label LBL_15, { 1, 2, 0 } uselistorder label LBL_1.backedge, { 1, 0 } }
0
BinRealVul
isa_irq_handler_17574
isa_irq_handler
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %.pre-phi6.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %sext = mul i64 %arg2, 4294967296 %sext2 = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext2, 32 %3 = icmp sgt i32 %1, 15 %.pre = ashr exact i64 %sext, 30 br i1 %3, label LBL_0.LBL_3_crit_edge, label LBL_2 LBL_1: %.pre5 = and i64 %2, 4294967295 %.pre7 = add i64 %.pre, %0 store i64 %.pre7, i64* %.pre-phi.reg2mem store i64 %.pre5, i64* %.pre-phi6.reg2mem br label LBL_3 LBL_2: %4 = add i64 %.pre, %0 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = and i64 %2, 4294967295 %8 = zext i32 %6 to i64 %9 = call i64 @FUNC(i64 %8, i64 %7) store i64 %4, i64* %.pre-phi.reg2mem store i64 %7, i64* %.pre-phi6.reg2mem br label LBL_3 LBL_3: %.pre-phi6.reload = load i64, i64* %.pre-phi6.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %10 = add i64 %.pre-phi.reload, 64 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = zext i32 %12 to i64 %14 = call i64 @FUNC(i64 %13, i64 %.pre-phi6.reload) ret i64 %14 uselistorder i64 %.pre, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 1, 0 } uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
hmac_import_9878
hmac_import
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %1 to i64* store i64 %4, i64* %5, align 8 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = add i64 %1, 8 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = call i64 @FUNC(i64 %1, i64 %arg2) ret i64 %12 }
0
BinRealVul
dirty_bitmap_load_bits_3793
dirty_bitmap_load_bits
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* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = mul i64 %6, 512 %8 = call i64 @FUNC(i64 %5) %9 = mul i64 %8, 512 %10 = and i64 %9, 2199023255040 %11 = udiv i64 %10, 512 %12 = and i64 %6, 36028797018963967 %13 = call i64 @FUNC(i64 %12, i64 %11) %14 = urem i64 %3, 2 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = call i64 @FUNC() %17 = add i64 %4, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i64 %7, i64 %10, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_2: %21 = call i64 @FUNC(i64 %5) %22 = add i64 %4, 8 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24, i64 %7, i64 %10) %26 = icmp ugt i64 %25, %21 br i1 %26, label LBL_4, label LBL_3 LBL_3: %27 = add i64 %25, 31 %28 = and i64 %27, -32 %29 = icmp ugt i64 %21, %28 br i1 %29, label LBL_4, label LBL_5 LBL_4: %30 = load i64, i64* %23, align 8 %31 = call i64 @FUNC(i64 %30) %32 = call i64 @FUNC(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %10, i64 %7, i64 %2, i64 %1) store i64 4294967274, i64* %rax.0.reg2mem br label LBL_8 LBL_5: %33 = call i64 @FUNC(i64 %21) %34 = call i64 @FUNC(i64 %5, i64 %33, i64 %21) %35 = icmp eq i64 %34, %21 br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %21, i64 %33, i64 %2, i64 %1) %37 = call i64 @FUNC(i64 %33) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_8 LBL_7: %38 = load i64, i64* %23, align 8 %39 = call i64 @FUNC(i64 %38, i64 %33, i64 %7, i64 %10, i64 0) %40 = call i64 @FUNC(i64 %33) store i64 0, i64* %rax.0.reg2mem br label LBL_8 LBL_8: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %33, { 4, 3, 1, 2, 0, 5 } uselistorder i64 %21, { 0, 1, 3, 4, 2, 5 } uselistorder i64 %10, { 2, 3, 4, 1, 0 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %4, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 } uselistorder i64 512, { 2, 0, 1 } uselistorder i64 (i64)* @qemu_get_be64, { 1, 0 } uselistorder label LBL_8, { 1, 2, 3, 0 } }
0
BinRealVul
webSocketParseRequestLine_13646
webSocketParseRequestLine
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %0) %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %3 = icmp eq i64 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_15 LBL_1: %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0)) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_15 LBL_2: %8 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_3, label LBL_15 LBL_3: %11 = ptrtoint i64* %arg1 to i64 %12 = call i64 @FUNC(i64 %8, i64 63) %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = inttoptr i64 %12 to i8* store i8 0, i8* %14, align 1 %15 = call i64 @FUNC(i64 %8, i64 %11, i64 256) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_15 LBL_5: %18 = add i64 %12, 1 %19 = call i64 @FUNC(i64 %18) %20 = icmp ult i64 %19, 257 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_15 LBL_6: %21 = add i64 %11, 256 %22 = call i64 @FUNC(i64 %21, i64 %18) br label LBL_9 LBL_7: %23 = call i64 @FUNC(i64 %8, i64 %11, i64 256) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %25, label LBL_8, label LBL_15 LBL_8: %26 = add i64 %11, 256 %27 = inttoptr i64 %26 to i8* store i8 0, i8* %27, align 1 br label LBL_9 LBL_9: %28 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0) %29 = icmp eq i64 %28, 0 %30 = icmp eq i1 %29, false br i1 %30, label LBL_11, label LBL_10 LBL_10: %31 = add i64 %11, 512 %32 = inttoptr i64 %31 to i32* store i32 0, i32* %32, align 4 %33 = add i64 %11, 516 %34 = inttoptr i64 %33 to i32* store i32 1, i32* %34, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %35 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0)) %36 = trunc i64 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = icmp eq i1 %37, false br i1 %38, label LBL_13, label LBL_12 LBL_12: %39 = add i64 %11, 512 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 %41 = add i64 %11, 516 %42 = inttoptr i64 %41 to i32* store i32 1, i32* %42, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %43 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0)) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %46, label LBL_15, label LBL_14 LBL_14: %47 = add i64 %11, 512 %48 = inttoptr i64 %47 to i32* store i32 2, i32* %48, align 4 %49 = add i64 %11, 516 %50 = inttoptr i64 %49 to i32* store i32 0, i32* %50, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_15: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %11, { 6, 7, 4, 5, 2, 3, 8, 9, 0, 1 } uselistorder i64 %8, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5, 6, 7, 8, 9, 10 } uselistorder i64 (i64, i64, i64)* @webSocketDecodePercentEncodedString, { 1, 0 } uselistorder i64 256, { 2, 0, 3, 1 } uselistorder i64 (i64, i8*)* @osStrcasecmp, { 2, 1, 0 } uselistorder i64 (i64, i8*, i64*)* @osStrtok_r, { 2, 1, 0 } uselistorder label LBL_15, { 2, 3, 1, 0, 4, 5, 6, 7, 8, 9 } }
0
BinRealVul
dec_user_3446
dec_user
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i32 @puts(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %1 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0)) ret i64 %1 }
0
BinRealVul
bonito_class_init_15605
bonito_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* %3 = add i64 %0, 12 %4 = inttoptr i64 %3 to i32* store i32 213, i32* %4, align 4 %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i32* store i32 1, i32* %6, align 4 %7 = add i64 %0, 20 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %arg1, align 8 store i32 1, i32* %2, align 4 %9 = inttoptr i64 %5 to i64* store i64 ptrtoint (i64* @gv_1 to i64), i64* %9, align 8 ret i64 %0 }
1
BinRealVul
vp8_idct_add_c_14996
vp8_idct_add_c
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.04.reg2mem = alloca i32* %indvars.iv.reg2mem = alloca i64 %indvars.iv7.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %1 = ptrtoint i64* %sv_1 to i64 %2 = add i64 %1, -64 store i64 0, i64* %indvars.iv7.reg2mem br label LBL_1 LBL_1: %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem %3 = mul i64 %indvars.iv7.reload, 2 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i16* %6 = load i16, i16* %5, align 2 %7 = add i64 %4, 16 %8 = inttoptr i64 %7 to i16* %9 = load i16, i16* %8, align 2 %10 = sext i16 %9 to i32 %11 = sext i16 %6 to i32 %12 = add nsw i32 %10, %11 %13 = sub nsw i32 %11, %10 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i16* %16 = load i16, i16* %15, align 2 %17 = sext i16 %16 to i32 %18 = mul nsw i32 %17, 35468 %19 = add i64 %4, 24 %20 = inttoptr i64 %19 to i16* %21 = load i16, i16* %20, align 2 %22 = sext i16 %21 to i32 %23 = mul nsw i32 %22, -20091 %24 = add i32 %23, %18 %25 = mul nsw i32 %17, 20091 %26 = mul nsw i32 %22, 35468 %27 = add i32 %26, %25 store i16 0, i16* %5, align 2 store i16 0, i16* %15, align 2 store i16 0, i16* %8, align 2 store i16 0, i16* %20, align 2 %28 = add i32 %27, %12 %29 = mul i64 %indvars.iv7.reload, 8 %30 = trunc i32 %28 to i16 %31 = add i64 %29, %2 %32 = inttoptr i64 %31 to i16* store i16 %30, i16* %32, align 8 %33 = add i32 %24, %13 %34 = trunc i32 %33 to i16 %35 = or i64 %29, 2 %36 = add i64 %35, %2 %37 = inttoptr i64 %36 to i16* store i16 %34, i16* %37, align 2 %38 = sub i32 %13, %24 %39 = trunc i32 %38 to i16 %40 = or i64 %29, 4 %41 = add i64 %40, %2 %42 = inttoptr i64 %41 to i16* store i16 %39, i16* %42, align 4 %43 = sub i32 %12, %27 %44 = or i64 %29, 6 %45 = trunc i32 %43 to i16 %46 = add i64 %44, %2 %47 = inttoptr i64 %46 to i16* store i16 %45, i16* %47, align 2 %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1 %exitcond9 = icmp eq i64 %indvars.iv.next8, 4 store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem store i64 0, i64* %indvars.iv.reg2mem store i32* %arg1, i32** %sv_0.04.reg2mem br i1 %exitcond9, label LBL_2, label LBL_1 LBL_2: %sv_0.04.reload = load i32*, i32** %sv_0.04.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %48 = mul i64 %indvars.iv.reload, 2 %49 = add nuw nsw i64 %48, %2 %50 = inttoptr i64 %49 to i16* %51 = load i16, i16* %50, align 2 %52 = add i64 %49, 16 %53 = inttoptr i64 %52 to i16* %54 = load i16, i16* %53, align 2 %55 = sext i16 %54 to i32 %56 = sext i16 %51 to i32 %57 = sub nsw i32 %56, %55 %58 = add i64 %49, 8 %59 = inttoptr i64 %58 to i16* %60 = load i16, i16* %59, align 2 %61 = sext i16 %60 to i32 %62 = mul nsw i32 %61, 35468 %63 = add i64 %49, 24 %64 = inttoptr i64 %63 to i16* %65 = load i16, i16* %64, align 2 %66 = sext i16 %65 to i32 %67 = mul nsw i32 %66, -20091 %68 = add i32 %67, %62 %69 = mul nsw i32 %61, 20091 %70 = mul nsw i32 %66, 35468 %71 = add i32 %70, %69 %72 = bitcast i32* %sv_0.04.reload to i8* %73 = load i8, i8* %72, align 1 %74 = add nsw i32 %56, 4 %75 = add nsw i32 %74, %55 %76 = add i32 %71, %75 %77 = ashr i32 %76, 3 %78 = zext i8 %73 to i32 %79 = add nsw i32 %77, %78 %80 = sext i32 %79 to i64 %81 = add i64 %80, ptrtoint (i64* @gv_0 to i64) %82 = inttoptr i64 %81 to i8* %83 = load i8, i8* %82, align 1 store i8 %83, i8* %72, align 1 %84 = ptrtoint i32* %sv_0.04.reload to i64 %85 = add i64 %84, 1 %86 = inttoptr i64 %85 to i8* %87 = load i8, i8* %86, align 1 %88 = add nsw i32 %57, 4 %89 = add i32 %68, %88 %90 = ashr i32 %89, 3 %91 = zext i8 %87 to i32 %92 = add nsw i32 %90, %91 %93 = sext i32 %92 to i64 %94 = add i64 %93, ptrtoint (i64* @gv_0 to i64) %95 = inttoptr i64 %94 to i8* %96 = load i8, i8* %95, align 1 store i8 %96, i8* %86, align 1 %97 = add i64 %84, 2 %98 = inttoptr i64 %97 to i8* %99 = load i8, i8* %98, align 1 %100 = sub i32 %88, %68 %101 = ashr i32 %100, 3 %102 = zext i8 %99 to i32 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = add i64 %104, ptrtoint (i64* @gv_0 to i64) %106 = inttoptr i64 %105 to i8* %107 = load i8, i8* %106, align 1 store i8 %107, i8* %98, align 1 %108 = add i64 %84, 3 %109 = inttoptr i64 %108 to i8* %110 = load i8, i8* %109, align 1 %111 = sub i32 %75, %71 %112 = ashr i32 %111, 3 %113 = zext i8 %110 to i32 %114 = add nsw i32 %112, %113 %115 = sext i32 %114 to i64 %116 = add i64 %115, ptrtoint (i64* @gv_0 to i64) %117 = inttoptr i64 %116 to i8* %118 = load i8, i8* %117, align 1 store i8 %118, i8* %109, align 1 %119 = add i64 %84, %arg3 %120 = inttoptr i64 %119 to i32* %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 4 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32* %120, i32** %sv_0.04.reg2mem br i1 %exitcond, label LBL_3, label LBL_2 LBL_3: ret i64 %arg3 uselistorder i32 %88, { 1, 0 } uselistorder i32 %75, { 1, 0 } uselistorder i32 %71, { 1, 0 } uselistorder i32 %68, { 1, 0 } uselistorder i32* %sv_0.04.reload, { 1, 0 } uselistorder i64 %29, { 0, 2, 1, 3 } uselistorder i32 %27, { 1, 0 } uselistorder i32 %24, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %indvars.iv7.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32** %sv_0.04.reg2mem, { 2, 0, 1 } uselistorder i32 4, { 1, 0 } uselistorder i64 1, { 1, 2, 0 } uselistorder i32 20091, { 1, 0 } uselistorder i32 -20091, { 1, 0 } uselistorder i32 35468, { 2, 3, 0, 1 } uselistorder i64 8, { 1, 0, 2 } uselistorder i64 2, { 3, 0, 2, 1 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
qemu_chr_fe_get_msgfd_13919
qemu_chr_fe_get_msgfd
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %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, i64 1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = load i32, i32* %sv_0, align 4 %narrow = select i1 %4, i32 -1, i32 %5 %storemerge = zext i32 %narrow to i64 ret i64 %storemerge uselistorder i64 1, { 1, 0 } }
1
BinRealVul
h263_decode_gob_header_911
h263_decode_gob_header
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi3.reg2mem = alloca i32* %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 40 %4 = call i64 @FUNC(i64 %3, i64 16) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = trunc i64 %1 to i32 %8 = call i64 @FUNC(i64 %3, i64 16) %9 = call i64 @FUNC(i64 %3) %10 = trunc i64 %9 to i32 %11 = add i32 %10, -32 %12 = sub i32 31, %10 %13 = and i32 %12, %10 %14 = icmp slt i32 %13, 0 %15 = icmp eq i32 %11, 0 %16 = icmp slt i32 %11, 0 %17 = icmp eq i1 %16, %14 %18 = icmp eq i1 %15, false %19 = icmp eq i1 %17, %18 %spec.select = select i1 %19, i32 32, i32 %10 %20 = icmp sgt i32 %spec.select, 13 store i32 %spec.select, i32* %storemerge1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_2, label LBL_13 LBL_2: %21 = call i64 @FUNC(i64 %3) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %25 = add nsw i32 %storemerge1.reload, -1 %26 = icmp sgt i32 %25, 13 store i32 %25, i32* %storemerge1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_2, label LBL_13 LBL_4: %27 = add i64 %2, 24 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_10, label LBL_5 LBL_5: %31 = add i64 %2, 32 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = call i64 @FUNC(i64 %33, i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0)) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %37, label LBL_6, label LBL_13 LBL_6: %38 = call i64 @FUNC(i64 %2) %39 = icmp slt i32 %7, 1584 br i1 %39, label LBL_8, label LBL_7 LBL_7: %40 = load i64, i64* %32, align 8 %41 = call i64 @FUNC(i64 %40, i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)) %42 = trunc i64 %41 to i32 %43 = icmp eq i32 %42, 0 %44 = icmp eq i1 %43, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %44, label LBL_8, label LBL_13 LBL_8: %45 = call i64 @FUNC(i64 %3, i64 5) %46 = trunc i64 %45 to i32 %47 = add i64 %2, 16 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i64, i64* %32, align 8 %50 = call i64 @FUNC(i64 %49, i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0)) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 %53 = icmp eq i1 %52, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %53, label LBL_9, label LBL_13 LBL_9: %54 = call i64 @FUNC(i64 %3, i64 2) %.pre = add i64 %2, 8 %.pre2 = inttoptr i64 %.pre to i32* store i32* %.pre2, i32** %.pre-phi3.reg2mem br label LBL_11 LBL_10: %55 = call i64 @FUNC(i64 %3, i64 5) %56 = add i64 %2, 4 %57 = inttoptr i64 %56 to i32* store i32 0, i32* %57, align 4 %58 = add i64 %2, 12 %59 = inttoptr i64 %58 to i32* %60 = load i32, i32* %59, align 4 %61 = trunc i64 %55 to i32 %62 = mul i32 %60, %61 %63 = add i64 %2, 8 %64 = inttoptr i64 %63 to i32* store i32 %62, i32* %64, align 4 %65 = call i64 @FUNC(i64 %3, i64 2) %66 = call i64 @FUNC(i64 %3, i64 5) %67 = trunc i64 %66 to i32 %68 = add i64 %2, 16 %69 = inttoptr i64 %68 to i32* store i32 %67, i32* %69, align 4 store i32* %64, i32** %.pre-phi3.reg2mem br label LBL_11 LBL_11: %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem %70 = load i32, i32* %.pre-phi3.reload, align 4 %71 = add i64 %2, 20 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = icmp ult i32 %70, %73 store i64 4294967295, i64* %rax.0.reg2mem br i1 %74, label LBL_12, label LBL_13 LBL_12: %75 = add i64 %2, 16 %76 = inttoptr i64 %75 to i32* %77 = load i32, i32* %76, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false %. = select i1 %79, i64 0, i64 4294967295 store 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* %32, { 1, 0, 2 } uselistorder i32 %11, { 1, 0 } uselistorder i32 %10, { 1, 0, 2, 3 } uselistorder i64 %3, { 4, 5, 6, 1, 2, 3, 0, 7, 8, 9, 10, 11 } uselistorder i64 %2, { 4, 3, 5, 7, 6, 8, 0, 1, 2, 10, 9, 11 } uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i32** %.pre-phi3.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 7, 1, 2, 8 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 } uselistorder i64 (i64, i64, i8*)* @check_marker, { 2, 1, 0 } uselistorder i64 32, { 1, 0 } uselistorder i32 13, { 1, 0 } uselistorder i64 (i64, i64)* @skip_bits, { 2, 1, 0 } uselistorder i64 16, { 2, 3, 4, 0, 1 } uselistorder label LBL_13, { 2, 3, 4, 5, 6, 0, 1, 7 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
bm_circle_12789
bm_circle
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.in.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_2.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %0 = trunc i64 %arg4 to i32 %1 = sub i32 0, %0 %2 = mul i32 %0, 2 %3 = sub i32 2, %2 store i32 %1, i32* %sv_2.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem store i32 %3, i32* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %4 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %4, label LBL_2, label LBL_3 LBL_2: %5 = add i32 %sv_2.0.reload, 1 %6 = mul i32 %5, 2 %7 = or i32 %6, 1 %8 = add i32 %7, %sv_0.0.reload store i32 %5, i32* %sv_2.1.reg2mem store i32 %8, i32* %sv_0.1.reg2mem br label LBL_3 LBL_3: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem %9 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = add i32 %sv_1.0.reload, 1 %11 = mul i32 %10, 2 %12 = or i32 %11, 1 %13 = add i32 %sv_0.1.reload, %12 store i32 %10, i32* %sv_1.1.reg2mem store i32 %13, i32* %sv_0.2.reg2mem store i32 %12, i32* %rax.0.in.reg2mem br label LBL_5 LBL_5: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %14 = icmp slt i32 %sv_2.1.reload, 0 store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem br i1 %14, label LBL_1, label LBL_6 LBL_6: %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem %rax.0 = zext i32 %rax.0.in.reload to i64 ret i64 %rax.0 uselistorder i32 %sv_2.1.reload, { 1, 0 } uselistorder i32 %sv_0.1.reload, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 0, 2 } uselistorder i32 %sv_1.0.reload, { 1, 0, 2 } uselistorder i32 %sv_0.0.reload, { 0, 3, 4, 1, 2 } uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 0, 1, 3, 2 } uselistorder i32 0, { 1, 0, 2 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
ccw_machine_class_init_16894
ccw_machine_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 1 %2 = inttoptr i64 %1 to i8* store i8 1, i8* %2, align 1 %3 = add i64 %0, 2 %4 = inttoptr i64 %3 to i8* store i8 1, i8* %4, align 1 %5 = add i64 %0, 3 %6 = inttoptr i64 %5 to i8* store i8 1, i8* %6, align 1 %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i64* %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* store i64 4198676, i64* %10, align 8 %11 = add i64 %0, 24 %12 = inttoptr i64 %11 to i32* store i32 1, i32* %12, align 4 %13 = add i64 %0, 28 %14 = inttoptr i64 %13 to i32* store i32 1, i32* %14, align 4 %15 = add i64 %0, 32 %16 = inttoptr i64 %15 to i32* store i32 1, i32* %16, align 4 %17 = add i64 %0, 36 %18 = inttoptr i64 %17 to i32* store i32 1, i32* %18, align 4 %19 = add i64 %0, 40 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 %21 = add i64 %0, 44 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i64 %0, 48 %24 = inttoptr i64 %23 to i32* store i32 1, i32* %24, align 4 %25 = add i64 %0, 52 %26 = inttoptr i64 %25 to i32* store i32 64, i32* %26, align 4 %27 = add i64 %0, 56 %28 = inttoptr i64 %27 to i8* store i8 1, i8* %28, align 1 %29 = add i64 %0, 64 %30 = inttoptr i64 %29 to i64* store i64 4198683, i64* %30, align 8 %31 = add i64 %0, 72 %32 = inttoptr i64 %31 to i64* store i64 4198694, i64* %32, align 8 %33 = add i64 %0, 80 %34 = inttoptr i64 %33 to i64* store i64 4198705, i64* %34, align 8 %35 = add i64 %0, 88 %36 = inttoptr i64 %35 to i64* store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %36, align 8 store i64 4198723, i64* %8, align 8 store i64 4198730, i64* %arg1, align 8 ret i64 %0 }
1
BinRealVul
ipvideo_decode_block_opcode_0xA_1272
ipvideo_decode_block_opcode_0xA
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i8 %storemerge.reg2mem = alloca i64 %sv_0.210.reg2mem = alloca i32 %storemerge511.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.08.reg2mem = alloca i32 %sv_1.19.reg2mem = alloca i32 %sv_1.013.reg2mem = alloca i32 %sv_2.114.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %sv_2.215.reg2mem = alloca i32 %storemerge416.reg2mem = alloca i32 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = load i8, i8* %1 %sv_3 = alloca i32, align 4 %7 = load i8, i8* %1 %sv_4 = alloca i32, align 4 %sv_5 = alloca i64, align 8 %8 = call i64 @FUNC(i64 %5) %9 = trunc i64 %8 to i32 %10 = icmp sgt i32 %9, 15 br i1 %10, label LBL_2, label LBL_1 LBL_1: %11 = add i64 %5, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_24 LBL_2: %15 = ptrtoint i64* %sv_5 to i64 %16 = bitcast i32* %sv_4 to i64* %17 = call i64 @FUNC(i64 %5, i64* nonnull %16, i64 4) %18 = load i32, i32* %sv_4, align 4 %19 = trunc i32 %18 to i8 %20 = icmp ult i8 %7, %19 br i1 %20, label LBL_13, label LBL_3 LBL_3: %21 = add i64 %5, 16 %22 = inttoptr i64 %21 to i64* %23 = add i64 %15, -36 %24 = add i64 %5, 24 %25 = inttoptr i64 %24 to i32* store i32 0, i32* %storemerge416.reg2mem store i32 0, i32* %sv_2.215.reg2mem br label LBL_4 LBL_4: %sv_2.215.reload = load i32, i32* %sv_2.215.reg2mem %storemerge416.reload = load i32, i32* %storemerge416.reg2mem %26 = urem i32 %storemerge416.reload, 4 %27 = icmp eq i32 %26, 0 %28 = icmp eq i1 %27, false store i32 %sv_2.215.reload, i32* %sv_2.0.reg2mem br i1 %28, label LBL_8, label LBL_5 LBL_5: %29 = icmp eq i32 %storemerge416.reload, 0 br i1 %29, label LBL_7, label LBL_6 LBL_6: %30 = call i64 @FUNC(i64 %5, i64* nonnull %16, i64 4) br label LBL_7 LBL_7: %31 = call i64 @FUNC(i64 %5) %32 = trunc i64 %31 to i32 store i32 %32, i32* %sv_2.0.reg2mem br label LBL_8 LBL_8: %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem store i32 %sv_2.0.reload, i32* %sv_2.114.reg2mem store i32 0, i32* %sv_1.013.reg2mem br label LBL_9 LBL_9: %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem %sv_2.114.reload = load i32, i32* %sv_2.114.reg2mem %33 = urem i32 %sv_2.114.reload, 4 %34 = load i64, i64* %22, align 8 %35 = add i64 %34, 1 store i64 %35, i64* %22, align 8 %36 = zext i32 %33 to i64 %37 = or i64 %23, %36 %38 = inttoptr i64 %37 to i8* %39 = load i8, i8* %38, align 1 %40 = inttoptr i64 %34 to i8* store i8 %39, i8* %40, align 1 %41 = add nuw nsw i32 %sv_1.013.reload, 1 %42 = ashr i32 %sv_2.114.reload, 2 %exitcond19 = icmp eq i32 %41, 4 store i32 %42, i32* %sv_2.114.reg2mem store i32 %41, i32* %sv_1.013.reg2mem br i1 %exitcond19, label LBL_10, label LBL_9 LBL_10: %43 = load i64, i64* %22, align 8 %44 = load i32, i32* %25, align 4 %45 = sext i32 %44 to i64 %46 = add i64 %43, %45 %47 = add i64 %46, -4 store i64 %47, i64* %22, align 8 %48 = icmp eq i32 %storemerge416.reload, 7 %49 = icmp eq i1 %48, false br i1 %49, label LBL_12, label LBL_11 LBL_11: %50 = load i32, i32* %25, align 4 %51 = mul i32 %50, 8 %52 = sext i32 %51 to i64 %53 = sub i64 %46, %52 store i64 %53, i64* %22, align 8 br label LBL_12 LBL_12: %54 = add nuw nsw i32 %storemerge416.reload, 1 %exitcond20 = icmp eq i32 %54, 16 store i32 %54, i32* %storemerge416.reg2mem store i32 %42, i32* %sv_2.215.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond20, label LBL_24, label LBL_4 LBL_13: %55 = call i64 @FUNC(i64 %5) %56 = trunc i64 %55 to i32 %57 = bitcast i32* %sv_3 to i64* %58 = call i64 @FUNC(i64 %5, i64* nonnull %57, i64 4) %59 = load i32, i32* %sv_3, align 4 %60 = trunc i32 %59 to i8 %61 = icmp uge i8 %6, %60 %62 = add i64 %5, 16 %63 = inttoptr i64 %62 to i64* %64 = add i64 %15, -36 %65 = icmp eq i1 %61, false %66 = add i64 %5, 24 %67 = inttoptr i64 %66 to i32* %68 = add i64 %5, 28 %69 = inttoptr i64 %68 to i32* store i32 0, i32* %storemerge511.reg2mem store i32 %56, i32* %sv_0.210.reg2mem br label LBL_23 LBL_14: %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem %sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem %70 = urem i32 %sv_0.08.reload, 4 %71 = zext i32 %70 to i64 %72 = load i64, i64* %63, align 8 %73 = add i64 %72, 1 store i64 %73, i64* %63, align 8 %74 = or i64 %64, %71 %75 = inttoptr i64 %74 to i8* %76 = load i8, i8* %75, align 1 %77 = inttoptr i64 %72 to i8* store i8 %76, i8* %77, align 1 %78 = add nuw nsw i32 %sv_1.19.reload, 1 %79 = ashr i32 %sv_0.08.reload, 2 %exitcond = icmp eq i32 %78, 4 store i32 %78, i32* %sv_1.19.reg2mem store i32 %79, i32* %sv_0.08.reg2mem br i1 %exitcond, label LBL_15, label LBL_14 LBL_15: br i1 %65, label LBL_18, label LBL_16 LBL_16: %80 = load i64, i64* %63, align 8 %81 = load i32, i32* %67, align 4 %82 = sext i32 %81 to i64 %83 = add i64 %80, %82 %84 = add i64 %83, -4 store i64 %84, i64* %63, align 8 %85 = icmp eq i32 %storemerge511.reload, 7 %86 = icmp eq i1 %85, false br i1 %86, label LBL_20, label LBL_17 LBL_17: %87 = load i32, i32* %67, align 4 %88 = mul i32 %87, 8 %89 = sext i32 %88 to i64 %90 = sub i64 %83, %89 store i64 %90, i64* %63, align 8 br label LBL_20 LBL_18: %91 = urem i32 %storemerge511.reload, 2 %92 = icmp eq i32 %91, 0 br i1 %92, label LBL_20, label LBL_19 LBL_19: %93 = load i64, i64* %63, align 8 %94 = load i32, i32* %69, align 4 %95 = sext i32 %94 to i64 %96 = add i64 %93, %95 store i64 %96, i64* %63, align 8 br label LBL_20 LBL_20: %97 = icmp eq i32 %storemerge511.reload, 7 %98 = icmp eq i1 %97, false store i32 %79, i32* %sv_0.1.reg2mem br i1 %98, label LBL_22, label LBL_21 LBL_21: %99 = load i32, i32* %sv_3, align 4 store i32 %99, i32* %sv_4, align 4 %100 = call i64 @FUNC(i64 %5) %101 = trunc i64 %100 to i32 store i32 %101, i32* %sv_0.1.reg2mem br label LBL_22 LBL_22: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %102 = add nuw nsw i32 %storemerge511.reload, 1 %exitcond18 = icmp eq i32 %102, 16 store i32 %102, i32* %storemerge511.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.210.reg2mem store i64 0, i64* %storemerge.reg2mem br i1 %exitcond18, label LBL_24, label LBL_23 LBL_23: %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem %storemerge511.reload = load i32, i32* %storemerge511.reg2mem store i32 0, i32* %sv_1.19.reg2mem store i32 %sv_0.210.reload, i32* %sv_0.08.reg2mem br label LBL_14 LBL_24: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge511.reload, { 0, 3, 1, 2 } uselistorder i64 %72, { 1, 0 } uselistorder i64* %63, { 1, 0, 4, 3, 2, 5, 6 } uselistorder i32 %42, { 1, 0 } uselistorder i64 %34, { 1, 0 } uselistorder i64* %22, { 2, 1, 0, 3, 4 } uselistorder i64 %15, { 1, 0 } uselistorder i32* %sv_4, { 1, 0, 2 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64 %5, { 6, 5, 4, 7, 8, 9, 1, 0, 2, 3, 10, 11, 12 } uselistorder i32* %storemerge416.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.215.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.114.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.013.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.19.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.08.reg2mem, { 2, 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i8* %1, { 1, 0 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @bytestream2_get_le64, { 1, 0 } uselistorder i32 16, { 1, 0 } uselistorder i32 4, { 4, 0, 3, 1, 2 } uselistorder i64 16, { 1, 2, 0 } uselistorder i64 (i64, i64*, i64)* @bytestream2_get_buffer, { 2, 1, 0 } uselistorder label LBL_24, { 1, 0, 2 } uselistorder label LBL_14, { 1, 0 } }
0
BinRealVul
arm_gic_common_class_init_13891
arm_gic_common_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 4198662, i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* store i64 4198669, i64* %2, align 8 %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* store i64 4198676, i64* %4, align 8 %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %6, align 8 %7 = add i64 %0, 32 %8 = inttoptr i64 %7 to i32* store i32 1, i32* %8, align 4 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3, 4 } }
1
BinRealVul
helper_load_slb_vsid_1059
helper_load_slb_vsid
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64* nonnull %sv_0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 1, i64 2) br label LBL_2 LBL_2: %6 = load i64, i64* %sv_0, align 8 ret i64 %6 uselistorder i64* %sv_0, { 1, 0, 2 } }
0
BinRealVul
find_debugfs_740
find_debugfs
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %3 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %4 = icmp eq %_IO_FILE* %3, null %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = bitcast i64* %sv_1 to i8* %7 = inttoptr i64 %2 to i64* %8 = inttoptr i64 %1 to i8** br label LBL_3 LBL_2: %9 = call i32 @strcmp(i8* nonnull %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0)) %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false store i64 1, i64* %sv_0.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %3, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64* %arg1, i64* nonnull %sv_1, i64* %7, i8** %8) %13 = icmp eq i32 %12, 2 store i64 0, i64* %sv_0.0.reg2mem br i1 %13, label LBL_2, label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %14 = call i32 @fclose(%_IO_FILE* %3) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
0
BinRealVul
mta_connector_free_18492
mta_connector_free
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = add i32 %2, -1 %4 = inttoptr i64 %arg1 to i32* store i32 %3, i32* %4, align 4 %5 = add i64 %arg1, 24 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %.pre = add i64 %arg1, 32 %.pre1 = inttoptr i64 %.pre to i64* br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = load i64, i64* %.pre1, align 8 %10 = add i64 %7, 32 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 br label LBL_2 LBL_2: %12 = load i64, i64* %.pre1, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = load i64, i64* %6, align 8 %15 = inttoptr i64 %12 to i64* store i64 %14, i64* %15, align 8 br label LBL_5 LBL_4: %16 = add i64 %arg1, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = load i64, i64* %6, align 8 %20 = inttoptr i64 %18 to i64* store i64 %19, i64* %20, align 8 br label LBL_5 LBL_5: %21 = add i64 %arg1, 16 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 1) ret i64 %25 uselistorder i64* %6, { 1, 0, 2 } uselistorder i64 %arg1, { 1, 2, 0, 3, 4 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
nilfs_attach_log_writer_6012
nilfs_attach_log_writer
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 = icmp eq i64* %arg1, null br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = call i64 @FUNC(i64 %1, i64 %0) call void @llvm.trap() unreachable LBL_2: %4 = call i64 @FUNC(i64 %1) %5 = call i64 @FUNC(i64 %1, i64 %0) store i64 %5, i64* %arg1, align 8 %6 = add i64 %1, 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 = call i64 @FUNC(i64 %10, i64 0) %12 = call i64 @FUNC(i64 %10) %13 = and i64 %12, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = trunc i64 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %1) br label LBL_4 LBL_4: ret i64 %13 uselistorder i64 %1, { 2, 3, 0, 1, 4 } uselistorder i64 (i64)* @nilfs_detach_log_writer, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
report_unavailable_features_1206
report_unavailable_features
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = ptrtoint i64* %sv_0 to i64 %1 = and i64 %arg2, 4294967295 %sext4 = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext4, 32 %3 = ashr exact i64 %sext4, 27 %4 = add nsw i64 %3, %2 %5 = mul i64 %4, 8 %6 = add i64 %5, ptrtoint (i32** @gv_0 to i64) %7 = inttoptr i64 %6 to i32* %8 = add i64 %5, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8) %9 = add i64 %5, add (i64 ptrtoint (i32** @gv_0 to i64), i64 4) %10 = inttoptr i64 %9 to i32* %11 = add i64 %0, -8 %12 = inttoptr i64 %11 to i64* %13 = add i64 %0, -16 %14 = inttoptr i64 %13 to i64* store i64 0, i64* %indvars.iv.reg2mem br label LBL_1 LBL_1: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %15 = shl i64 1, %indvars.iv.reload %16 = and i64 %1, %15 %17 = icmp eq i64 %16, 0 store i64 0, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_2 LBL_2: %18 = load i32, i32* %7, align 8 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = icmp eq i64 %20, 0 %22 = icmp eq i1 %21, false br i1 %22, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_2, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0)) br label LBL_4 LBL_4: %23 = inttoptr i64 %20 to i8* %24 = mul i64 %indvars.iv.reload, 8 %25 = add i64 %8, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %spec.select = select i1 %28, i64 ptrtoint (i8** @gv_4 to i64), i64 %27 %. = select i1 %28, i64 ptrtoint (i8** @gv_4 to i64), i64 ptrtoint (i64* @gv_5 to i64) %29 = load i32, i32* %10, align 4 %30 = call i64 @FUNC() %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8 store i64 %indvars.iv.reload, i64* %12, align 8 store i64 %spec.select, i64* %14, align 8 %34 = select i1 %32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0) %35 = inttoptr i64 %. to i8* %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %33, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_9, i64 0, i64 0), i8* %34, i32 %29, i8* %23, i8* %35) %37 = sext i32 %36 to i64 store i64 %37, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 32 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_1 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 } uselistorder i64 %5, { 2, 1, 0 } uselistorder i64 %sext4, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 ptrtoint (i8** @gv_4 to i64), { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i32 1, { 2, 1, 0 } }
0
BinRealVul
alloc_l2_table_12736
alloc_l2_table
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.48.reg2mem = alloca i32 %sv_0.3.lcssa.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_0.314.reg2mem = alloca i32 %sv_1.015.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i32* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) %7 = call i64 @FUNC(i64 %6) %8 = add i64 %4, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = call i64 @FUNC(i64 %7) %12 = call i64 @FUNC(i64 %11) %13 = trunc i64 %3 to i32 %14 = icmp ult i32 %13, 1024 store i32 0, i32* %sv_0.3.lcssa.reg2mem br i1 %14, label LBL_1, label LBL_17 LBL_1: %15 = bitcast i64* %rdi to i32* %16 = and i64 %3, 4294967295 store i32 %13, i32* %.reg2mem store i64 %16, i64* %indvars.iv.reg2mem store i32 %10, i32* %sv_1.015.reg2mem store i32 0, i32* %sv_0.314.reg2mem br label LBL_2 LBL_2: %sv_0.314.reload = load i32, i32* %sv_0.314.reg2mem %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %.reload = load i32, i32* %.reg2mem %17 = mul i64 %indvars.iv.reload, 8 %18 = add i64 %17, %12 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = zext i32 %.reload to i64 %22 = icmp ugt i64 %indvars.iv.reload, %21 br i1 %22, label LBL_3, label LBL_4 LBL_3: %23 = call i64 @FUNC() %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 store i32 -4, i32* %sv_0.0.reg2mem br i1 %25, label LBL_4, label LBL_8 LBL_4: %26 = trunc i64 %indvars.iv.reload to i32 %27 = call i64 @FUNC(i64 %5, i64 %arg2, i32 %26) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 store i32 %sv_0.314.reload, i32* %sv_0.2.reg2mem br i1 %29, label LBL_15, label LBL_5 LBL_5: %30 = call i64 @FUNC(i64 %20) %31 = urem i64 %30, 2 %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = call i64 @FUNC(i64 %5, i64 %20) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 store i32 -4, i32* %sv_0.0.reg2mem store i32 %sv_0.314.reload, i32* %sv_0.2.reg2mem br i1 %36, label LBL_15, label LBL_8 LBL_7: %37 = call i64 @FUNC(i64 %20, i64 %7, i64 %5, i32 %sv_1.015.reload) %38 = trunc i64 %37 to i32 store i32 %38, i32* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %39 = icmp eq i32 %sv_0.0.reload, -5 %40 = icmp eq i1 %39, false %41 = zext i1 %40 to i64 %42 = call i64 @FUNC(i64 %41) %43 = icmp eq i32 %sv_0.0.reload, -4 %44 = icmp eq i1 %43, false %45 = icmp eq i64 %indvars.iv.reload, 0 %or.cond = or i1 %45, %44 br i1 %or.cond, label LBL_10, label LBL_9 LBL_9: %46 = trunc i64 %indvars.iv.reload to i32 store i32 %46, i32* %arg1, align 4 store i32 0, i32* %9, align 4 store i32 -5, i32* %sv_0.48.reg2mem br label LBL_19 LBL_10: %47 = icmp slt i32 %sv_0.0.reload, 0 %48 = icmp eq i1 %47, false %or.cond4 = or i1 %43, %48 br i1 %or.cond4, label LBL_13, label LBL_11 LBL_11: %49 = zext i32 %sv_0.0.reload to i64 %50 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %49, i64 %indvars.iv.reload, i64 %2, i64 %1) %51 = load i64, i64* @gv_1, align 8 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 %55 = zext i1 %54 to i64 %56 = call i64 @FUNC(i64 %55) store i32 %sv_0.0.reload, i32* %sv_0.48.reg2mem br i1 %45, label LBL_19, label LBL_12 LBL_12: %57 = load i64, i64* @gv_1, align 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = icmp eq i64 %59, 0 %61 = zext i1 %60 to i64 %62 = call i64 @FUNC(i64 %61) %63 = trunc i64 %indvars.iv.reload to i32 store i32 %63, i32* %arg1, align 4 store i32 %sv_1.015.reload, i32* %9, align 4 %64 = load i64, i64* @gv_1, align 8 %65 = add i64 %64, 8 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 %67 = load i64, i64* @gv_1, align 8 %68 = inttoptr i64 %67 to i64* store i64 %4, i64* %68, align 8 %69 = load i64, i64* @gv_1, align 8 %70 = add i64 %69, 16 %71 = inttoptr i64 %70 to i32* store i32 1, i32* %71, align 4 store i32 %sv_0.0.reload, i32* %sv_0.48.reg2mem br label LBL_19 LBL_13: store i32 %sv_0.0.reload, i32* %sv_0.48.reg2mem br i1 %47, label LBL_19, label LBL_14 LBL_14: %72 = call i64 @FUNC(i64 %20, i64 %5) store i64 %72, i64* %19, align 8 store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br label LBL_15 LBL_15: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %73 = icmp ult i64 %indvars.iv.next, 1024 store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem br i1 %73, label LBL_15.LBL_2_crit_edge, label LBL_17 LBL_16: %.pre = load i32, i32* %15, align 8 store i32 %.pre, i32* %.reg2mem store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_1.015.reg2mem store i32 %sv_0.2.reload, i32* %sv_0.314.reg2mem br label LBL_2 LBL_17: %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem %74 = icmp eq i32 %sv_0.3.lcssa.reload, 0 %75 = icmp eq i1 %74, false %76 = urem i64 %arg2, 2 %77 = icmp eq i64 %76, 0 %or.cond6 = or i1 %77, %75 store i32 %sv_0.3.lcssa.reload, i32* %sv_0.48.reg2mem br i1 %or.cond6, label LBL_19, label LBL_18 LBL_18: %78 = call i64 @FUNC(i64 %12, i64 %5) store i32 %sv_0.3.lcssa.reload, i32* %sv_0.48.reg2mem br label LBL_19 LBL_19: %sv_0.48.reload = load i32, i32* %sv_0.48.reg2mem %79 = call i64 @FUNC(i64 %12) %80 = zext i32 %sv_0.48.reload to i64 ret i64 %80 uselistorder i32 %sv_0.3.lcssa.reload, { 1, 0, 2 } uselistorder i32 %sv_0.2.reload, { 1, 0 } uselistorder i32 %sv_0.0.reload, { 3, 0, 2, 1, 7, 6, 4, 5 } uselistorder i64 %20, { 1, 2, 0, 3 } uselistorder i64 %indvars.iv.reload, { 0, 5, 6, 4, 1, 2, 3, 7 } uselistorder i32 %sv_1.015.reload, { 1, 0 } uselistorder i64 %12, { 2, 1, 0 } uselistorder i32* %9, { 1, 0, 2 } uselistorder i64 %5, { 2, 1, 3, 0, 4 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.314.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3 } uselistorder i32* %sv_0.48.reg2mem, { 0, 6, 5, 1, 3, 2, 4 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @ASSERT, { 2, 1, 0 } uselistorder i32 -4, { 2, 0, 1 } uselistorder i64 8, { 1, 0 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_19, { 4, 5, 0, 2, 1, 3 } uselistorder label LBL_15, { 2, 0, 1 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
tpm_ascii_bios_measurements_show_17794
tpm_ascii_bios_measurements_show
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = call i64 @FUNC(i64 64, i64 0) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1) store i64 4294967282, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %10 = ptrtoint i64* %arg2 to i64 %11 = ptrtoint i64* %arg1 to i64 %12 = add i64 %10, 28 %13 = trunc i64 %6 to i32 %14 = trunc i64 %3 to i32 %15 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i32 %14, i64 %5, i64 %2, i64 %1) %16 = add i64 %10, 4 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %17 = add i64 %16, %indvars.iv.reload %18 = inttoptr i64 %17 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 %20, i64 %5, i64 %2, i64 %1) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 20 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %22 = add i64 %10, 24 %23 = inttoptr i64 %22 to i8* %24 = load i8, i8* %23, align 1 %25 = zext i8 %24 to i32 %26 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i32 %25, i64 %5, i64 %2, i64 %1) %sext = mul i64 %6, 4294967296 %27 = ashr exact i64 %sext, 32 %28 = call i64 @FUNC(i64 %27, i64 %10, i64 %12) %29 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i32 %13, i64 %10, i64 %2, i64 %1) 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 %10, { 0, 1, 3, 2, 4 } uselistorder i64 %5, { 3, 2, 1, 0 } uselistorder i64 %2, { 4, 3, 2, 1, 0 } uselistorder i64 %1, { 4, 3, 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @seq_printf, { 2, 1, 3, 0 } }
1
BinRealVul
ext4_ext_tree_init_11999
ext4_ext_tree_init
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 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %2 to i16* store i16 0, i16* %3, align 2 %4 = add i64 %2, 2 %5 = inttoptr i64 %4 to i16* store i16 0, i16* %5, align 2 %6 = add i64 %2, 4 %7 = inttoptr i64 %6 to i16* store i16 -3318, i16* %7, align 2 %8 = call i64 @FUNC(i64 %0, i64 0) %9 = trunc i64 %8 to i16 %10 = add i64 %2, 6 %11 = inttoptr i64 %10 to i16* store i16 %9, i16* %11, align 2 %12 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %12 uselistorder i64 %0, { 1, 0, 2 } }
1
BinRealVul
bracketed_paste_19190
bracketed_paste
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i64 %.reg2mem = alloca i32 %rdx = alloca i64, align 8 %sv_3 = alloca i32, align 4 %sv_4 = alloca i64, align 8 %0 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %1 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4 %2 = load i32, i32* @gv_1, align 4 %3 = icmp eq i64 %0, 0 store i32 %2, i32* %.reg2mem store i64 0, i64* %sv_2.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 1024 %spec.select = select i1 %6, i64 %0, i64 0 %.pre = load i32, i32* @gv_1, align 4 store i32 %.pre, i32* %.reg2mem store i64 %spec.select, i64* %sv_2.0.reg2mem br label LBL_2 LBL_2: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %.reload = load i32, i32* %.reg2mem store i32 ptrtoint (i32* @gv_2 to i32), i32* @gv_3, align 4 store i32 0, i32* bitcast (i64* @gv_4 to i32*), align 8 %7 = icmp eq i32 %.reload, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 1, i64 0, i64 0) br label LBL_4 LBL_4: %10 = ptrtoint i64* %arg3 to i64 %11 = ptrtoint i64* %sv_4 to i64 %12 = icmp eq i64 %sv_2.0.reload, 0 %13 = icmp eq i1 %12, false %14 = add i64 %11, -1072 %15 = bitcast i32* %sv_3 to i64* %16 = trunc i64 %arg2 to i32 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false %19 = trunc i64 %arg1 to i32 %20 = icmp eq i32 %19, 3 %21 = icmp ult i32 %19, 4 %22 = icmp eq i64* %arg3, null %23 = add i64 %10, 8 %24 = inttoptr i64 %23 to i64* %25 = bitcast i64* %rdx to i32* %26 = bitcast i64* %arg3 to i32* %27 = ptrtoint i32* %sv_3 to i64 %28 = trunc i64 %27 to i32 store i32 -1, i32* %sv_0.0.ph.reg2mem br label LBL_5 LBL_5: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem store i32 0, i32* %sv_1.0.reg2mem br label LBL_6 LBL_6: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem br i1 %13, label LBL_8, label LBL_7 LBL_7: %29 = call i64 @FUNC() %30 = trunc i64 %29 to i32 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_36, label LBL_8 LBL_8: br label LBL_9 LBL_9: %32 = call i64 @FUNC() %33 = trunc i64 %32 to i32 switch i32 %33, label LBL_11 [ i32 255, label LBL_9.backedge i32 254, label LBL_9.backedge i32 253, label LBL_9.backedge i32 0, label LBL_36 ] LBL_10: br label LBL_9 LBL_11: %34 = load i32, i32* @gv_6, align 4 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false br i1 %36, label LBL_36, label LBL_12 LBL_12: %37 = load i32, i32* @gv_7, align 4 %38 = icmp sgt i32 %37, 0 %39 = icmp eq i32 %33, 3 %or.cond9 = icmp eq i1 %39, %38 br i1 %or.cond9, label LBL_36, label LBL_13 LBL_13: %40 = load i32, i32* @gv_8, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_15, label LBL_14 LBL_14: %42 = add i32 %sv_1.0.reload, %33 store i32 %42, i32* %sv_1.1.reg2mem br label LBL_16 LBL_15: %43 = add i32 %sv_1.0.reload, 1 %44 = sext i32 %sv_1.0.reload to i64 %45 = trunc i64 %32 to i8 %46 = add i64 %14, %44 %47 = inttoptr i64 %46 to i8* store i8 %45, i8* %47, align 1 store i32 %43, i32* %sv_1.1.reg2mem br label LBL_16 LBL_16: %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %48 = sext i32 %sv_1.1.reload to i64 %49 = add i64 %14, %48 %50 = inttoptr i64 %49 to i8* store i8 0, i8* %50, align 1 br i1 %12, label LBL_19, label LBL_17 LBL_17: %51 = call i64 @FUNC(i64* nonnull %15, i64 %sv_2.0.reload, i64 %48) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_19, label LBL_18 LBL_18: %55 = add i64 %sv_2.0.reload, %48 %56 = inttoptr i64 %55 to i8* %57 = load i8, i8* %56, align 1 %58 = icmp eq i8 %57, 0 %59 = icmp eq i1 %58, false store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem br i1 %59, label LBL_6, label LBL_36 LBL_19: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %18, label LBL_35, label LBL_20 LBL_20: br i1 %20, label LBL_32, label LBL_21 LBL_21: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %21, label LBL_22, label LBL_35 LBL_22: switch i32 %19, label LBL_23 [ i32 2, label LBL_27 i32 0, label LBL_24 ] LBL_23: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %22, label LBL_35, label LBL_25 LBL_24: %60 = zext i32 %sv_1.1.reload to i64 %61 = call i64 @FUNC(i64* nonnull %15, i64 %60, i64 1) store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br label LBL_35 LBL_25: %62 = zext i32 %sv_1.1.reload to i64 %63 = call i64 @FUNC(i64 %10, i64 %62) %64 = trunc i64 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = icmp eq i1 %65, false store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %66, label LBL_35, label LBL_26 LBL_26: %67 = load i64, i64* %24, align 8 %68 = load i32, i32* %25, align 8 %69 = sext i32 %68 to i64 %70 = add i64 %67, %69 %71 = call i64 @FUNC(i64 %70, i64* nonnull %15, i64 %48) %72 = add i32 %68, %sv_1.1.reload store i32 %72, i32* %26, align 4 store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br label LBL_35 LBL_27: %73 = call i64 @FUNC() %74 = trunc i64 %73 to i32 %75 = icmp eq i32 %74, 0 %76 = icmp eq i1 %75, false store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %76, label LBL_35, label LBL_28 LBL_28: %77 = icmp eq i32 %sv_1.1.reload, 1 %78 = icmp eq i1 %77, false br i1 %78, label LBL_31, label LBL_29 LBL_29: %79 = load i32, i32* %sv_3, align 4 %trunc = trunc i32 %79 to i8 switch i8 %trunc, label LBL_31 [ i8 13, label LBL_30 i8 10, label LBL_30 ] LBL_30: %80 = urem i32 %79, 256 %81 = zext i32 %80 to i64 %82 = call i64 @FUNC(i64 %81) store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br label LBL_35 LBL_31: %83 = zext i32 %sv_1.1.reload to i64 %84 = call i64 @FUNC(i64* nonnull %15, i64 %83) %85 = call i64 @FUNC(i64* nonnull %15, i64 %83) store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br label LBL_35 LBL_32: %86 = icmp eq i32 %sv_0.0.ph.reload, -1 %87 = icmp eq i1 %86, false store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %87, label LBL_35, label LBL_33 LBL_33: %88 = load i32, i32* @gv_8, align 4 %89 = icmp eq i32 %88, 0 store i32 %28, i32* %sv_0.1.reg2mem br i1 %89, label LBL_34, label LBL_35 LBL_34: %90 = load i32, i32* %sv_3, align 4 %91 = urem i32 %90, 256 store i32 %91, i32* %sv_0.1.reg2mem br label LBL_35 LBL_35: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem store i32 %sv_0.1.reload, i32* %sv_0.0.ph.reg2mem br label LBL_5 LBL_36: %92 = load i32, i32* @gv_3, align 4 %93 = add i32 %92, -1 store i32 %93, i32* @gv_3, align 4 store i32 %1, i32* bitcast (i64* @gv_4 to i32*), align 8 %94 = icmp eq i32 %2, 0 %95 = icmp eq i1 %94, false br i1 %95, label LBL_38, label LBL_37 LBL_37: %96 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 0, i64 0) br label LBL_38 LBL_38: %97 = zext i32 %sv_0.0.ph.reload to i64 ret i64 %97 uselistorder i64 %48, { 0, 1, 3, 2 } uselistorder i32 %sv_1.1.reload, { 2, 1, 5, 4, 3, 6, 0 } uselistorder i32 %33, { 1, 0, 2 } uselistorder i32 %sv_0.0.ph.reload, { 11, 8, 10, 6, 5, 7, 1, 2, 4, 3, 0, 9 } uselistorder i64* %15, { 2, 1, 0, 3, 4 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 2, 1, 0 } uselistorder i32 %2, { 1, 0 } uselistorder i32* %sv_3, { 2, 1, 0, 3 } uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 10, 1, 11, 8, 7, 9, 3, 4, 6, 5, 2, 12 } uselistorder i32* @gv_8, { 1, 0 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64)* @set_option_value, { 1, 0 } uselistorder i32* @gv_3, { 2, 1, 0 } uselistorder i32 0, { 10, 11, 12, 13, 1, 15, 16, 3, 17, 2, 18, 0, 14, 19, 20, 4, 5, 6, 7, 8, 9 } uselistorder label LBL_36, { 1, 2, 3, 4, 0 } uselistorder label LBL_35, { 3, 0, 2, 6, 5, 4, 8, 7, 10, 1, 9, 11 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
qht_bucket_reset__locked_14239
qht_bucket_reset__locked
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge2.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i64 %0 = add i64 %arg1, 128 %1 = call i64 @FUNC(i64 %0) store i64 %arg1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %2 = add i64 %sv_0.0.reload, 48 %3 = add i64 %sv_0.0.reload, 8 store i32 0, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %4 = sext i32 %storemerge2.reload to i64 %5 = mul i64 %4, 8 %6 = add i64 %2, %5 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_5, label LBL_3 LBL_3: %10 = mul i64 %4, 4 %11 = add i64 %3, %10 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = call i64 @FUNC(i64 %6, i64 0) %14 = add nuw i32 %storemerge2.reload, 1 %15 = icmp ult i32 %14, 10 store i32 %14, i32* %storemerge2.reg2mem br i1 %15, label LBL_2, label LBL_4 LBL_4: %16 = inttoptr i64 %sv_0.0.reload to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %sv_0.0.reg2mem br i1 %19, label LBL_1, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %0) ret i64 %20 uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
superh_cpu_initfn_292
superh_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = add i64 %2, 8 %5 = inttoptr i64 %2 to i64* store i64 %4, i64* %5, align 8 %6 = call i64 @FUNC() %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC() store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload }
0
BinRealVul
vterm_state_new_4731
vterm_state_new
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 56) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = inttoptr i64 %1 to i64* store i64 %0, i64* %4, align 8 %5 = bitcast i64* %rdi to i32* %6 = load i32, i32* %5, align 8 %7 = add i64 %1, 8 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = add i64 %1, 12 %13 = inttoptr i64 %12 to i32* store i32 %11, i32* %13, align 4 %14 = add i64 %1, 16 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %1, 20 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %1, 24 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %1, 28 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %1, 32 %23 = inttoptr i64 %22 to i64* store i64 0, i64* %23, align 8 %24 = add i64 %1, 40 %25 = inttoptr i64 %24 to i64* store i64 0, i64* %25, align 8 %26 = call i64 @FUNC(i64 %1) %27 = add i64 %1, 48 %28 = inttoptr i64 %27 to i32* store i32 0, i32* %28, align 4 store i64 %1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
rtp_parse_close_1221
rtp_parse_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %arg1, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = load i64, i64* %3, align 8 %9 = add i64 %8, 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %13) %15 = inttoptr i64 %14 to i8* %16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_2, label LBL_1 LBL_1: %19 = add i64 %arg1, 16 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = call i64 @FUNC(i64 %21) br label LBL_2 LBL_2: %23 = call i64 @FUNC(i64 %arg1) ret i64 %23 uselistorder i64 (i64)* @av_free, { 2, 1, 0 } uselistorder i32 1, { 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
gen_window_check2_16189
gen_window_check2
define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i32* %arg1 to i64 %1 = trunc i64 %arg2 to i32 %2 = icmp ugt i32 %1, %arg3 %3 = select i1 %2, i32 %1, i32 %arg3 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %0, i64 %4) ret i64 %5 }
1
BinRealVul
gf_swf_reader_new_19246
gf_swf_reader_new
define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = ptrtoint i8* %arg2 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_8 LBL_1: %4 = call i64* @malloc(i32 64) %5 = ptrtoint i64* %4 to i64 store i64 %5, i64* %sv_0, align 8 %6 = icmp eq i64* %4, null %7 = icmp eq i1 %6, false store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_8 LBL_2: %8 = call i8* @strdup(i8* %arg2) %9 = ptrtoint i8* %8 to i64 store i64 %9, i64* %4, align 8 %10 = load i64, i64* %sv_0, align 8 %11 = add i64 %10, 8 %12 = inttoptr i64 %11 to i64* store i64 %1, i64* %12, align 8 %13 = load i64, i64* %sv_0, align 8 %14 = call i64 @FUNC(i64 %1, i64 0) %15 = add i64 %13, 16 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = load i64, i64* %sv_0, align 8 %18 = add i64 %17, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = call i64 @FUNC(i64 %20, i64 4198848, i64* nonnull %sv_0) %22 = load i64, i64* %sv_0, align 8 %23 = call i64 @FUNC() %24 = add i64 %22, 32 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = load i64, i64* %sv_0, align 8 %27 = call i64 @FUNC() %28 = add i64 %26, 40 %29 = inttoptr i64 %28 to i64* store i64 %27, i64* %29, align 8 %30 = load i64, i64* %sv_0, align 8 %31 = call i64 @FUNC() %32 = add i64 %30, 48 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 %34 = load i64, i64* %sv_0, align 8 %35 = call i64 @FUNC() %36 = add i64 %34, 56 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = icmp eq i64 %arg1, 0 %39 = load i64, i64* %sv_0, align 8 br i1 %38, label LBL_4, label LBL_3 LBL_3: %40 = inttoptr i64 %arg1 to i8* %41 = call i8* @strdup(i8* %40) %42 = ptrtoint i8* %41 to i64 %43 = add i64 %39, 24 %44 = inttoptr i64 %43 to i64* store i64 %42, i64* %44, align 8 br label LBL_7 LBL_4: %45 = call i8* @strdup(i8* %arg2) %46 = ptrtoint i8* %45 to i64 %47 = add i64 %39, 24 %48 = inttoptr i64 %47 to i64* store i64 %46, i64* %48, align 8 %49 = load i64, i64* %sv_0, align 8 %50 = add i64 %49, 24 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 %53 = inttoptr i64 %52 to i8* %54 = call i8* @strrchr(i8* %53, i32 47) %55 = icmp eq i8* %54, null br i1 %55, label LBL_6, label LBL_5 LBL_5: %56 = ptrtoint i8* %54 to i64 %57 = add i64 %56, 1 %58 = inttoptr i64 %57 to i8* store i8 0, i8* %58, align 1 br label LBL_7 LBL_6: %59 = load i64, i64* %sv_0, align 8 %60 = add i64 %59, 24 %61 = inttoptr i64 %60 to i64* %62 = load i64, i64* %61, align 8 %63 = inttoptr i64 %62 to i64* call void @free(i64* %63) %64 = load i64, i64* %sv_0, align 8 %65 = add i64 %64, 24 %66 = inttoptr i64 %65 to i64* store i64 0, i64* %66, align 8 br label LBL_7 LBL_7: %67 = load i64, i64* %sv_0, align 8 store i64 %67, 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 i8* %54, { 1, 0 } uselistorder i64 %39, { 1, 0 } uselistorder i64* %sv_0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 ()* @gf_list_new, { 3, 2, 1, 0 } uselistorder i8* (i8*)* @strdup, { 2, 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1 } }
1
BinRealVul
xhci_complete_packet_10690
xhci_complete_packet
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %3 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5) %10 = add i64 %5, 8 %11 = inttoptr i64 %10 to i32* store i32 1, i32* %11, align 4 %12 = add i64 %5, 12 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %5, 16 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 br label LBL_14 LBL_2: %16 = icmp eq i32 %6, 2 %17 = icmp eq i1 %16, false br i1 %17, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %5) %19 = add i64 %5, 8 %20 = inttoptr i64 %19 to i32* store i32 0, i32* %20, align 4 %21 = add i64 %5, 12 %22 = inttoptr i64 %21 to i32* store i32 1, i32* %22, align 4 %23 = add i64 %5, 16 %24 = inttoptr i64 %23 to i32* store i32 0, i32* %24, align 4 br label LBL_14 LBL_4: %25 = bitcast i64* %rdi to i32* %26 = add i64 %5, 8 %27 = inttoptr i64 %26 to i32* store i32 0, i32* %27, align 4 %28 = add i64 %5, 12 %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 1, i32* %31, align 4 %32 = call i64 @FUNC(i64 %5) %33 = load i32, i32* %25, align 8 %34 = icmp eq i32 %33, 3 %35 = icmp eq i1 %34, false br i1 %35, label LBL_6, label LBL_5 LBL_5: %36 = add i64 %5, 4 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = zext i32 %38 to i64 %40 = call i64 @FUNC(i64 %5, i64 %39) %41 = add i64 %5, 20 %42 = inttoptr i64 %41 to i32* store i32 0, i32* %42, align 4 %43 = call i64 @FUNC(i64 %5) br label LBL_14 LBL_6: %44 = zext i32 %33 to i64 %45 = call i64 @FUNC(i64 %5, i64 %44) %46 = icmp eq i32 %33, 7 br i1 %46, label LBL_12, label LBL_7 LBL_7: %47 = icmp sgt i32 %33, 7 br i1 %47, label LBL_13, label LBL_8 LBL_8: %48 = icmp sgt i32 %33, 5 br i1 %48, label LBL_11, label LBL_9 LBL_9: %49 = icmp sgt i32 %33, 3 br i1 %49, label LBL_10, label LBL_13 LBL_10: %50 = add i64 %5, 20 %51 = inttoptr i64 %50 to i32* store i32 1, i32* %51, align 4 %52 = call i64 @FUNC(i64 %5) %53 = call i64 @FUNC(i64 %5) br label LBL_14 LBL_11: %54 = add i64 %5, 20 %55 = inttoptr i64 %54 to i32* store i32 2, i32* %55, align 4 %56 = call i64 @FUNC(i64 %5) %57 = call i64 @FUNC(i64 %5) br label LBL_14 LBL_12: %58 = add i64 %5, 20 %59 = inttoptr i64 %58 to i32* store i32 3, i32* %59, align 4 %60 = call i64 @FUNC(i64 %5) %61 = call i64 @FUNC(i64 %5) br label LBL_14 LBL_13: %62 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %44, i64 %4, i64 %2, i64 %1) %63 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) br label LBL_14 LBL_14: ret i64 0 uselistorder i32 %33, { 0, 1, 2, 4, 3, 5 } uselistorder i32 %6, { 1, 0 } uselistorder i64 %5, { 16, 17, 18, 13, 14, 15, 10, 11, 12, 19, 6, 7, 9, 8, 20, 21, 22, 24, 3, 4, 5, 25, 0, 1, 2, 23 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @xhci_stall_ep, { 2, 1, 0 } uselistorder i32 7, { 1, 0 } uselistorder i64 (i64)* @xhci_xfer_report, { 3, 2, 1, 0 } uselistorder i32 3, { 2, 0, 1 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_14, { 3, 2, 1, 0, 4, 5, 6 } }
0
BinRealVul
gsm_mult_1296
gsm_mult
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %sext1 = mul i64 %arg1, 4294967296 %1 = ashr exact i64 %sext1, 32 %2 = mul nsw i64 %0, %1 %3 = trunc i64 %2 to i32 %4 = add i32 %3, 16384 %5 = ashr i32 %4, 15 %6 = zext i32 %5 to i64 ret i64 %6 }
0
BinRealVul
range_dec_normalize_14903
range_dec_normalize
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = ptrtoint i32* %arg1 to i64 %1 = add i64 %0, 4 %2 = inttoptr i64 %1 to i32* %3 = add i64 %0, 16 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 24 %6 = inttoptr i64 %5 to i64* %7 = add i64 %0, 8 %8 = inttoptr i64 %7 to i32* %9 = bitcast i64* %rdi to i32* br label LBL_1 LBL_1: %10 = load i32, i32* %2, align 4 %11 = mul i32 %10, 256 store i32 %11, i32* %2, align 4 %12 = load i64, i64* %4, align 8 %13 = load i64, i64* %6, align 8 %14 = icmp ult i64 %12, %13 %15 = icmp eq i1 %14, false store i64 %12, i64* %.reg2mem br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = inttoptr i64 %12 to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i32 %19 = or i32 %11, %18 store i32 %19, i32* %2, align 4 %.pre = load i64, i64* %4, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_3: %.reload = load i64, i64* %.reg2mem %20 = add i64 %.reload, 1 store i64 %20, i64* %4, align 8 %21 = load i32, i32* %8, align 4 %22 = mul i32 %21, 256 %23 = load i32, i32* %2, align 4 %24 = udiv i32 %23, 2 %25 = urem i32 %24, 256 %26 = or i32 %25, %22 store i32 %26, i32* %8, align 4 %27 = load i32, i32* %9, align 8 %28 = mul i32 %27, 256 store i32 %28, i32* %arg1, align 4 br label LBL_1 uselistorder i64 %12, { 1, 0, 2 } uselistorder i32 %11, { 1, 0 } uselistorder i64* %4, { 1, 0, 2 } uselistorder i32* %2, { 1, 0, 2, 3 } uselistorder i64 %0, { 0, 2, 1, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32 256, { 0, 3, 1, 2 } }
1
BinRealVul
vnc_display_add_client_14637
vnc_display_add_client
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null %2 = load i64, i64* @gv_0, align 8 %storemerge = select i1 %1, i64 %2, i64 %0 %3 = zext i32 %arg3 to i64 %4 = trunc i64 %arg2 to i32 %5 = call i64 @FUNC(i64 %storemerge, i32 %4, i64 %3, i64 0) ret i64 %5 }
1
BinRealVul
phar_open_jit_9040
phar_open_jit
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* %arg3, null br i1 %2, label LBL_2, label LBL_1 LBL_1: store i64 0, i64* %arg3, align 8 br label LBL_2 LBL_2: %3 = ptrtoint i64* %arg3 to i64 %4 = ptrtoint i64* %arg2 to i64 %5 = call i64 @FUNC(i64 %4, i64 %3, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, -1 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_3, label LBL_5 LBL_3: %9 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 0, i64 1) %10 = trunc i64 %9 to i32 %11 = icmp eq i32 %10, -1 %12 = icmp eq i1 %11, false store i64 %4, i64* %rax.0.reg2mem br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %3, i64 4096, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %4, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %arg3, { 2, 0, 1 } uselistorder label LBL_5, { 2, 0, 1 } }
0
BinRealVul
iscsi_set_events_8750
iscsi_set_events
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 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = zext i32 %5 to i64 %7 = icmp eq i32 %5, %2 store i64 %6, i64* %rax.0.reg2mem br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = and i32 %2, 4 %9 = icmp eq i32 %8, 0 %. = select i1 %9, i64 0, i64 4198703 %10 = urem i32 %2, 2 %11 = icmp eq i32 %10, 0 %storemerge = select i1 %11, i64 0, i64 4198692 %12 = call i64 @FUNC(i64 %0) %13 = and i64 %12, 4294967295 %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %13, i64 0, i64 %storemerge, i64 %., i64 %0) store i32 %2, i32* %4, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %2, { 1, 0, 2, 3 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 } }
0
BinRealVul
qtrle_decode_24bpp_15047
qtrle_decode_24bpp
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rax.0.ph23.in.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %sv_0.027.reg2mem = alloca i64 %sv_1.128.reg2mem = alloca i32 %sv_2.129.reg2mem = alloca i32 %.reg2mem91 = alloca i64 %sv_1.025.reg2mem = alloca i32 %sv_2.026.reg2mem = alloca i32 %sv_1.2.be.reg2mem = alloca i32 %sv_0.1.be.reg2mem = alloca i64 %sv_1.233.reg2mem = alloca i32 %.reg2mem89 = alloca i64 %.reg2mem87 = alloca i64 %.reg2mem = alloca i64 %.in.reg2mem = alloca i8 %sv_0.237.reg2mem = alloca i64 %sv_3.038.reg2mem = alloca i64 %sext639.in.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext5 = mul i64 %arg4, 4294967296 %1 = add i64 %0, 8 %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 %sv_4.035 = ashr exact i64 %sext5, 32 %6 = trunc i64 %sv_4.035 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 %sv_4.035, i64* %rax.0.ph23.in.reg2mem br i1 %8, label LBL_1, label LBL_22 LBL_1: %9 = add i64 %0, 24 %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 = mul i32 %13, %5 %sext4 = mul i64 %arg3, 4294967296 %15 = ashr exact i64 %sext4, 32 %sext = mul i64 %arg2, 4294967296 %16 = ashr exact i64 %sext, 32 %17 = add i64 %0, 32 %18 = inttoptr i64 %17 to i64* %19 = sext i32 %14 to i64 store i64 %sext5, i64* %sext639.in.reg2mem store i64 %15, i64* %sv_3.038.reg2mem store i64 %16, i64* %sv_0.237.reg2mem br label LBL_2 LBL_2: %sv_0.237.reload = load i64, i64* %sv_0.237.reg2mem %20 = add nsw i64 %sv_0.237.reload, 2 %21 = trunc i64 %20 to i32 %22 = icmp ult i32 %21, 9 store i64 %20, i64* %rax.0.ph23.in.reg2mem br i1 %22, label LBL_3, label LBL_22 LBL_3: %sv_3.038.reload = load i64, i64* %sv_3.038.reg2mem %sext639.in.reload = load i64, i64* %sext639.in.reg2mem %23 = mul i64 %sv_0.237.reload, 4294967296 %sext7 = add i64 %23, 4294967296 %24 = ashr exact i64 %sext7, 32 %25 = trunc i64 %sv_3.038.reload to i32 %26 = load i64, i64* %18, align 8 %sext932 = add i64 %23, 8589934592 %27 = ashr exact i64 %sext932, 32 %28 = add i64 %26, %24 %29 = inttoptr i64 %28 to i8* %30 = load i8, i8* %29, align 1 %31 = icmp eq i8 %30, -1 %32 = icmp eq i1 %31, false store i64 %27, i64* %.lcssa.reg2mem br i1 %32, label LBL_4, label LBL_18 LBL_4: %33 = add i32 %25, -3 %34 = add i64 %26, %sv_0.237.reload %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = zext i8 %36 to i32 %38 = mul nuw nsw i32 %37, 3 %39 = add i32 %33, %38 store i8 %30, i8* %.in.reg2mem store i64 %27, i64* %.reg2mem store i64 %sext7, i64* %.reg2mem87 store i64 %26, i64* %.reg2mem89 store i32 %39, i32* %sv_1.233.reg2mem br label LBL_5 LBL_5: %sv_1.233.reload = load i32, i32* %sv_1.233.reg2mem %.reload90 = load i64, i64* %.reg2mem89 %.reload88 = load i64, i64* %.reg2mem87 %.reload = load i64, i64* %.reg2mem %.in.reload = load i8, i8* %.in.reg2mem %40 = icmp eq i8 %.in.reload, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_9, label LBL_6 LBL_6: %42 = add nsw i64 %.reload, 1 %43 = trunc i64 %42 to i32 %44 = icmp ult i32 %43, 9 br i1 %44, label LBL_7, label LBL_19 LBL_7: %sext11 = add i64 %.reload88, 8589934592 %45 = ashr exact i64 %sext11, 32 %46 = add i64 %.reload90, %.reload %47 = inttoptr i64 %46 to i8* %48 = load i8, i8* %47, align 1 %49 = zext i8 %48 to i32 %50 = mul nuw nsw i32 %49, 3 %51 = add i32 %sv_1.233.reload, -3 %52 = add i32 %51, %50 store i64 %45, i64* %sv_0.1.be.reg2mem store i32 %52, i32* %sv_1.2.be.reg2mem br label LBL_8 LBL_8: %sv_1.2.be.reload = load i32, i32* %sv_1.2.be.reg2mem %sv_0.1.be.reload = load i64, i64* %sv_0.1.be.reg2mem %53 = load i64, i64* %18, align 8 %54 = mul i64 %sv_0.1.be.reload, 4294967296 %sext9 = add i64 %54, 4294967296 %55 = ashr exact i64 %sext9, 32 %56 = add i64 %53, %sv_0.1.be.reload %57 = inttoptr i64 %56 to i8* %58 = load i8, i8* %57, align 1 %59 = icmp eq i8 %58, -1 %60 = icmp eq i1 %59, false store i8 %58, i8* %.in.reg2mem store i64 %55, i64* %.reg2mem store i64 %54, i64* %.reg2mem87 store i64 %53, i64* %.reg2mem89 store i32 %sv_1.2.be.reload, i32* %sv_1.233.reg2mem store i64 %55, i64* %.lcssa.reg2mem br i1 %60, label LBL_5, label LBL_18 LBL_9: %61 = sext i8 %.in.reload to i32 %62 = icmp slt i8 %.in.reload, 0 %63 = icmp eq i1 %62, false br i1 %63, label LBL_14, label LBL_10 LBL_10: %64 = add nsw i64 %.reload, 3 %65 = trunc i64 %64 to i32 %66 = icmp ult i32 %65, 9 br i1 %66, label LBL_11, label LBL_20 LBL_11: %67 = add i64 %.reload90, %.reload %68 = inttoptr i64 %67 to i8* %69 = load i8, i8* %68, align 1 %sext14 = add i64 %.reload88, 8589934592 %70 = ashr exact i64 %sext14, 32 %71 = add i64 %70, %.reload90 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = add i64 %.reload88, 12884901888 %75 = ashr exact i64 %74, 32 %76 = add i64 %75, %.reload90 %77 = inttoptr i64 %76 to i8* %78 = load i8, i8* %77, align 1 %79 = mul nsw i32 %61, -3 %80 = add i32 %sv_1.233.reload, %79 %81 = zext i32 %80 to i64 %82 = icmp slt i64 %19, %81 store i64 %81, i64* %rax.0.reg2mem br i1 %82, label LBL_23, label LBL_12 LBL_12: %sext15 = add i64 %.reload88, 17179869184 %83 = ashr exact i64 %sext15, 32 %84 = sub nsw i32 0, %61 store i32 %84, i32* %sv_2.026.reg2mem store i32 %sv_1.233.reload, i32* %sv_1.025.reg2mem br label LBL_13 LBL_13: %sv_1.025.reload = load i32, i32* %sv_1.025.reg2mem %sv_2.026.reload = load i32, i32* %sv_2.026.reg2mem %85 = add i32 %sv_2.026.reload, -1 %86 = add i32 %sv_1.025.reload, 1 %87 = sext i32 %sv_1.025.reload to i64 %88 = add i64 %87, %0 %89 = inttoptr i64 %88 to i8* store i8 %69, i8* %89, align 1 %90 = add i32 %sv_1.025.reload, 2 %91 = sext i32 %86 to i64 %92 = add i64 %91, %0 %93 = inttoptr i64 %92 to i8* store i8 %73, i8* %93, align 1 %94 = add i32 %sv_1.025.reload, 3 %95 = sext i32 %90 to i64 %96 = add i64 %95, %0 %97 = inttoptr i64 %96 to i8* store i8 %78, i8* %97, align 1 %98 = icmp eq i32 %85, 0 %99 = icmp eq i1 %98, false store i64 %83, i64* %sv_0.1.be.reg2mem store i32 %94, i32* %sv_1.2.be.reg2mem store i32 %85, i32* %sv_2.026.reg2mem store i32 %94, i32* %sv_1.025.reg2mem br i1 %99, label LBL_13, label LBL_8 LBL_14: %100 = mul nsw i32 %61, 3 %101 = trunc i64 %.reload to i32 %102 = add i32 %100, %101 %103 = icmp ult i32 %102, 9 br i1 %103, label LBL_15, label LBL_21 LBL_15: %104 = add i32 %sv_1.233.reload, %100 %105 = zext i32 %104 to i64 %106 = icmp slt i64 %19, %105 store i64 %.reload90, i64* %.reg2mem91 store i32 %61, i32* %sv_2.129.reg2mem store i32 %sv_1.233.reload, i32* %sv_1.128.reg2mem store i64 %.reload, i64* %sv_0.027.reg2mem store i64 %105, i64* %rax.0.reg2mem br i1 %106, label LBL_23, label LBL_16 LBL_16: %sv_0.027.reload = load i64, i64* %sv_0.027.reg2mem %sv_1.128.reload = load i32, i32* %sv_1.128.reg2mem %sv_2.129.reload = load i32, i32* %sv_2.129.reg2mem %.reload92 = load i64, i64* %.reg2mem91 %107 = add i32 %sv_2.129.reload, -1 %sext17 = mul i64 %sv_0.027.reload, 4294967296 %108 = add i64 %sv_0.027.reload, %.reload92 %109 = add i32 %sv_1.128.reload, 1 %110 = sext i32 %sv_1.128.reload to i64 %111 = add i64 %110, %0 %112 = inttoptr i64 %108 to i8* %113 = load i8, i8* %112, align 1 %114 = inttoptr i64 %111 to i8* store i8 %113, i8* %114, align 1 %115 = load i64, i64* %18, align 8 %sext18 = add i64 %sext17, 4294967296 %116 = ashr exact i64 %sext18, 32 %117 = add i64 %115, %116 %118 = add i32 %sv_1.128.reload, 2 %119 = sext i32 %109 to i64 %120 = add i64 %119, %0 %121 = inttoptr i64 %117 to i8* %122 = load i8, i8* %121, align 1 %123 = inttoptr i64 %120 to i8* store i8 %122, i8* %123, align 1 %124 = load i64, i64* %18, align 8 %125 = add i64 %sext17, 8589934592 %sext19 = add i64 %sext17, 12884901888 %126 = ashr exact i64 %sext19, 32 %127 = ashr exact i64 %125, 32 %128 = add i64 %124, %127 %129 = add i32 %sv_1.128.reload, 3 %130 = sext i32 %118 to i64 %131 = add i64 %130, %0 %132 = inttoptr i64 %128 to i8* %133 = load i8, i8* %132, align 1 %134 = inttoptr i64 %131 to i8* store i8 %133, i8* %134, align 1 %135 = icmp eq i32 %107, 0 %136 = icmp eq i1 %135, false store i64 %126, i64* %sv_0.1.be.reg2mem store i32 %129, i32* %sv_1.2.be.reg2mem br i1 %136, label LBL_16.LBL_16_crit_edge, label LBL_8 LBL_17: %.pre = load i64, i64* %18, align 8 store i64 %.pre, i64* %.reg2mem91 store i32 %107, i32* %sv_2.129.reg2mem store i32 %129, i32* %sv_1.128.reg2mem store i64 %126, i64* %sv_0.027.reg2mem br label LBL_16 LBL_18: %sext639 = add i64 %sext639.in.reload, -4294967296 %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %137 = add i32 %5, %25 %138 = sext i32 %137 to i64 %sv_4.0 = ashr exact i64 %sext639, 32 %139 = trunc i64 %sv_4.0 to i32 %140 = icmp eq i32 %139, 0 %141 = icmp eq i1 %140, false store i64 %sext639, i64* %sext639.in.reg2mem store i64 %138, i64* %sv_3.038.reg2mem store i64 %.lcssa.reload, i64* %sv_0.237.reg2mem store i64 %sv_4.0, i64* %rax.0.ph23.in.reg2mem br i1 %141, label LBL_2, label LBL_22 LBL_19: %142 = and i64 %42, 4294967295 store i64 %142, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %143 = and i64 %64, 4294967295 store i64 %143, i64* %rax.0.reg2mem br label LBL_23 LBL_21: %144 = zext i32 %102 to i64 store i64 %144, i64* %rax.0.reg2mem br label LBL_23 LBL_22: %rax.0.ph23.in.reload = load i64, i64* %rax.0.ph23.in.reg2mem %rax.0.ph23 = and i64 %rax.0.ph23.in.reload, 4294967295 store i64 %rax.0.ph23, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sext17, { 1, 2, 0 } uselistorder i32 %sv_1.128.reload, { 3, 2, 1, 0 } uselistorder i32 %sv_1.025.reload, { 3, 2, 1, 0 } uselistorder i32 %61, { 0, 2, 3, 1 } uselistorder i8 %.in.reload, { 2, 0, 1 } uselistorder i64 %.reload, { 0, 3, 5, 2, 4, 1 } uselistorder i64 %.reload90, { 0, 4, 3, 2, 1 } uselistorder i32 %sv_1.233.reload, { 0, 4, 1, 3, 2 } uselistorder i64 %27, { 1, 0 } uselistorder i64 %23, { 1, 0 } uselistorder i64 %sv_0.237.reload, { 1, 2, 0 } uselistorder i64* %18, { 0, 2, 3, 4, 1 } uselistorder i64* %sext639.in.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_3.038.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.237.reg2mem, { 1, 0, 2 } uselistorder i8* %.in.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem87, { 1, 0, 2 } uselistorder i64* %.reg2mem89, { 1, 0, 2 } uselistorder i32* %sv_1.233.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.1.be.reg2mem, { 2, 1, 0, 3 } uselistorder i32* %sv_1.2.be.reg2mem, { 2, 1, 0, 3 } uselistorder i32* %sv_2.026.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.025.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem91, { 2, 0, 1 } uselistorder i32* %sv_2.129.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_1.128.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.027.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 4, 5, 2, 1 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i32 3, { 2, 3, 4, 0, 1 } uselistorder i8 -1, { 1, 0 } uselistorder i64 8589934592, { 1, 2, 3, 0 } uselistorder i1 false, { 7, 2, 3, 4, 6, 5, 1, 0 } uselistorder i32 0, { 4, 1, 2, 3, 0 } uselistorder i64 32, { 2, 3, 4, 5, 7, 6, 8, 10, 9, 1, 11, 14, 13, 12, 0 } uselistorder i64 4294967296, { 6, 0, 7, 1, 8, 2, 3, 4, 5 } uselistorder label LBL_23, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_22, { 1, 0, 2 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
binlog_close_18365
binlog_close
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg1, 0 br i1 %2, label LBL_3, label LBL_1 LBL_1: %3 = trunc i64 %1 to i32 %4 = and i64 %1, 4294967295 %5 = icmp slt i32 %3, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i32 @close(i32 %3) %7 = inttoptr i64 %arg1 to i32* store i32 -1, i32* %7, align 4 %8 = call i64 @FUNC(i64 %arg1) 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 i32 %3, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder label LBL_3, { 2, 0, 1 } }
1
BinRealVul
sparc_cpu_initfn_2539
sparc_cpu_initfn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = inttoptr i64 %1 to i64* store i64 %2, i64* %3, align 8 %4 = call i64 @FUNC() %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = call i64 @FUNC(i64 %2) store i64 %7, 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
mwifiex_set_wmm_params_11352
mwifiex_set_wmm_params
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 20722, i64 2, i64 %4, i64 %4) %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = add i64 %5, 1 %8 = inttoptr i64 %7 to i8* %9 = load i8, i8* %8, align 1 %10 = add i64 %5, 2 %11 = inttoptr i64 %10 to i64* %12 = zext i8 %9 to i32 %13 = call i64* @memcpy(i64* %arg2, i64* %11, i32 %12) %14 = bitcast i64* %arg1 to i32* store i32 1, i32* %14, align 4 br label LBL_3 LBL_2: %15 = call i64* @memset(i64* %arg2, i32 0, i32 6) %16 = bitcast i64* %arg2 to i32* store i32 49434624, i32* %16, align 4 %17 = add i64 %1, 4 %18 = inttoptr i64 %17 to i8* store i8 0, i8* %18, align 1 %19 = add i64 %1, 5 %20 = inttoptr i64 %19 to i8* store i8 1, i8* %20, align 1 %21 = bitcast i64* %arg1 to i32* store i32 0, i32* %21, align 4 br label LBL_3 LBL_3: %22 = add i64 %1, 6 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 ret i64 %1 uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %4, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 2, { 1, 0 } }
1
BinRealVul
red_channel_client_cancel_ping_timer_8018
red_channel_client_cancel_ping_timer
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_3, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = zext i32 %4 to i64 %6 = icmp eq i32 %4, 1 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: store i32 0, i32* %3, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 0, 2, 1 } uselistorder label LBL_3, { 2, 0, 1 } }
0
reposvul_c_test
free_pipe_info_206
free_pipe_info
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = and i64 %1, 4294967295 store i32 0, i32* %storemerge.reg2mem br label LBL_1 LBL_1: %storemerge.reload = load i32, i32* %storemerge.reg2mem %3 = sext i32 %storemerge.reload to i64 %4 = icmp sgt i64 %2, %3 %5 = add i32 %storemerge.reload, 1 store i32 %5, i32* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_2: %6 = add i64 %arg1, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %8) br label LBL_4 LBL_4: %11 = add i64 %arg1, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %13) %15 = call i64 @FUNC(i64 %arg1) ret i64 %15 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @kfree, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0, 2 } }
0
BinRealVul
fat_truncate_4473
fat_truncate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = add i32 %5, -1 %7 = zext i32 %6 to i64 %8 = add i64 %7, %0 %9 = add i64 %3, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = urem i32 %11, 64 %13 = zext i32 %12 to i64 %rdx.0 = lshr i64 %8, %13 %14 = and i64 %rdx.0, 4294967295 %15 = call i64 @FUNC(i64 %0, i64 %14) %16 = load i64, i64* %2, align 8 %17 = call i64 @FUNC(i64 %16, i64 %0, i64 0) ret i64 %17 uselistorder i64 %0, { 2, 1, 0, 3 } }
0
BinRealVul
rt2800_load_firmware_17414
rt2800_load_firmware
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = call i64 @FUNC(i64 %0, i64 0, i64 0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_11 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_6, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %0, i64 7) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64 @FUNC(i64 %0, i64 8) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = bitcast i32* %sv_0 to i64* %16 = call i64 @FUNC(i64 %0, i64 1, i64* nonnull %15) %17 = call i64 @FUNC(i64* nonnull %15, i64 1, i64 1) %18 = call i64 @FUNC(i64* nonnull %15, i64 2, i64 1) %19 = load i32, i32* %sv_0, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %0, i64 1, i64 %20) br label LBL_5 LBL_5: %22 = call i64 @FUNC(i64 %0, i64 2, i64 2) br label LBL_6 LBL_6: %23 = ptrtoint i64* %arg2 to i64 %24 = bitcast i32* %sv_0 to i64* %25 = call i64 @FUNC(i64 %0, i64 3, i64* nonnull %24) %26 = call i64 @FUNC(i64* nonnull %24, i64 4, i64 0) %27 = call i64 @FUNC(i64* nonnull %24, i64 8, i64 0) %28 = call i64 @FUNC(i64* nonnull %24, i64 16, i64 0) %29 = call i64 @FUNC(i64* nonnull %24, i64 32, i64 0) %30 = call i64 @FUNC(i64* nonnull %24, i64 64, i64 1) %31 = load i32, i32* %sv_0, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %0, i64 3, i64 %32) %34 = call i64 @FUNC(i64 %0, i64 %23, i64 %arg3) store i32 0, i32* %storemerge3.reg2mem br label LBL_7 LBL_7: %35 = call i64 @FUNC(i64 %0, i64 4, i64* nonnull %24) %36 = load i32, i32* %sv_0, align 4 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %37, i64 128) %39 = trunc i64 %38 to i32 %40 = icmp eq i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_10, label LBL_8 LBL_8: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %42 = call i64 @FUNC(i64 1) %43 = add nuw nsw i32 %storemerge3.reload, 1 %44 = icmp ult i32 %43, 100 store i32 %43, i32* %storemerge3.reg2mem br i1 %44, label LBL_7, label LBL_9 LBL_9: %45 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_11 LBL_10: %46 = call i64 @FUNC(i64 %0, i64 5, i64 0) %47 = call i64 @FUNC(i64 %0, i64 6, i64 0) %48 = call i64 @FUNC(i64 1) 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 i32* %sv_0, { 2, 1, 4, 0, 3 } uselistorder i64 %0, { 6, 5, 7, 8, 10, 9, 11, 1, 2, 3, 0, 4, 12, 13, 14 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @msleep, { 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 (i64*, i64, i64)* @rt2x00_set_field32, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64, i64*)* @rt2800_register_read, { 2, 1, 0 } uselistorder i64 1, { 3, 4, 5, 6, 7, 9, 8, 10, 0, 1, 2 } uselistorder i64 (i64, i64)* @rt2x00_rt, { 1, 0 } uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6 } uselistorder i64 (i64, i64, i64)* @rt2800_register_write, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_11, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
vmap_17955
vmap
define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge34.reg2mem = alloca i32 %0 = mul i32 %arg2, 4096 %1 = zext i32 %0 to i64 %2 = load i64, i64* @gv_0, align 8 %3 = call i64 @FUNC(i64 %2, i64 %1) %4 = icmp eq i64 %3, 0 %5 = icmp eq i1 %4, false store i64 0, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_4 LBL_1: %6 = icmp eq i32 %arg2, 0 store i64 %3, i64* %storemerge.reg2mem br i1 %6, label LBL_4, label LBL_2 LBL_2: %sext = mul i64 %arg4, 4294967296 %7 = ashr exact i64 %sext, 32 store i32 0, i32* %storemerge34.reg2mem br label LBL_3 LBL_3: %storemerge34.reload = load i32, i32* %storemerge34.reg2mem %8 = sext i32 %storemerge34.reload to i64 %9 = mul i64 %8, 8 %10 = add i64 %9, %arg1 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %12) %14 = or i64 %13, %7 %15 = mul i32 %storemerge34.reload, 4096 %16 = sext i32 %15 to i64 %17 = add i64 %3, %16 %18 = call i64 @FUNC() %19 = call i64 @FUNC(i64 %18, i64 %17, i64 %14, i64 3, i64 7) %20 = call i64 @FUNC() %21 = call i64 @FUNC(i64 %20) %22 = add nuw i32 %storemerge34.reload, 1 %exitcond = icmp eq i32 %22, %arg2 store i32 %22, i32* %storemerge34.reg2mem store i64 %3, i64* %storemerge.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %storemerge34.reload, { 0, 2, 1 } uselistorder i64 %3, { 0, 2, 1, 3 } uselistorder i32* %storemerge34.reg2mem, { 1, 0, 2 } uselistorder i64 ()* @pmap_kernel, { 1, 0 } uselistorder i32 %arg2, { 1, 2, 0 } }
1
BinRealVul
cg_write_11131
cg_write
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i32* %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge.in.in.in.in.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i64, align 8 %2 = call i64 @FUNC() %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 1 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %6 = call i32 @fwrite(i64* bitcast ([55 x i8]* @gv_1 to i64*), i32 1, i32 54, %_IO_FILE* %5) store i64 4294967291, i64* %rax.0.reg2mem br label LBL_14 LBL_2: %7 = icmp eq i64 %arg4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_14 LBL_3: %8 = icmp eq i64 %2, 0 %9 = icmp eq i1 %8, false store i64 4294967291, i64* %rax.0.reg2mem br i1 %9, label LBL_4, label LBL_14 LBL_4: %10 = ptrtoint i64* %sv_1 to i64 %sext = mul i64 %1, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = add i64 %arg3, 24 %13 = udiv i64 %12, 16 %14 = mul i64 %13, 16 %15 = sub i64 15, %14 %16 = add i64 %15, %10 %17 = and i64 %16, -16 %18 = add i64 %17, %arg3 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = inttoptr i64 %17 to i64* %21 = inttoptr i64 %arg2 to i64* %22 = trunc i64 %arg3 to i32 %23 = call i64* @memcpy(i64* %20, i64* %21, i32 %22) %24 = add nsw i64 %11, 24 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = add nsw i64 %11, 16 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = add nsw i64 %11, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %29, i64 %26) %34 = icmp eq i64 %33, 0 %35 = icmp eq i1 %34, false store i64 -22, i64* %sv_0.0.reg2mem br i1 %35, label LBL_5, label LBL_13 LBL_5: %36 = load i64, i64* %25, align 8 %37 = load i64, i64* %28, align 8 %38 = load i64, i64* %31, align 8 %39 = call i64 @FUNC(i64 %2, i64 %38, i64 %37, i64 %36, i64 1) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 %42 = icmp eq i1 %41, false store i64 -13, i64* %sv_0.0.reg2mem br i1 %42, label LBL_6, label LBL_13 LBL_6: %43 = load i64, i64* %25, align 8 %44 = inttoptr i64 %43 to i8* %45 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0)) %46 = icmp eq i32 %45, 0 br i1 %46, label LBL_10, label LBL_7 LBL_7: %47 = load i64, i64* %25, align 8 %48 = inttoptr i64 %47 to i8* %49 = call i32 @strcmp(i8* %48, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0)) %50 = icmp eq i32 %49, 0 br i1 %50, label LBL_10, label LBL_8 LBL_8: %51 = load i64, i64* %25, align 8 %52 = inttoptr i64 %51 to i8* %53 = call i32 @strcmp(i8* %52, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0)) %54 = icmp eq i32 %53, 0 br i1 %54, label LBL_10, label LBL_9 LBL_9: %55 = load i64, i64* %25, align 8 %56 = inttoptr i64 %55 to i8* %57 = call i32 @strcmp(i8* %56, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0)) %58 = icmp eq i32 %57, 0 %59 = icmp eq i1 %58, false br i1 %59, label LBL_11, label LBL_10 LBL_10: %60 = inttoptr i64 %2 to i32* %61 = load i64, i64* %25, align 8 %62 = load i64, i64* %28, align 8 %63 = load i64, i64* %31, align 8 %64 = load i32, i32* %60, align 4 %65 = zext i32 %64 to i64 %66 = call i64 @FUNC(i64 %65, i64 %63, i64 %62, i64 %61, i64 %17) store i64 %66, i64* %storemerge.in.in.in.in.reg2mem br label LBL_12 LBL_11: %67 = load i64, i64* %25, align 8 %68 = load i64, i64* %28, align 8 %69 = load i64, i64* %31, align 8 %70 = call i64 @FUNC(i64 %69, i64 %68, i64 %67, i64 %17) store i64 %70, i64* %storemerge.in.in.in.in.reg2mem br label LBL_12 LBL_12: %storemerge.in.in.in.in.reload = load i64, i64* %storemerge.in.in.in.in.reg2mem %storemerge.in.in.in = trunc i64 %storemerge.in.in.in.in.reload to i32 %storemerge.in.in = icmp eq i32 %storemerge.in.in.in, 0 %storemerge.in = icmp eq i1 %storemerge.in.in, false %spec.select = select i1 %storemerge.in, i64 %arg3, i64 -22 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_13 LBL_13: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %71 = call i64 @FUNC(i64 %33) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %25, { 0, 4, 1, 2, 3, 5, 6, 7 } uselistorder i64 %17, { 1, 2, 3, 0 } uselistorder i64 %2, { 2, 0, 1 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.in.in.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i32 (i8*, i8*)* @strcmp, { 3, 2, 1, 0 } uselistorder i64 1, { 3, 0, 1, 2 } uselistorder i64 -22, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i64 16, { 2, 0, 1 } uselistorder i64 24, { 1, 0 } uselistorder i64 %arg3, { 1, 2, 0, 3 } uselistorder label LBL_14, { 2, 0, 1, 3 } }
1
BinRealVul
set_offload_9123
set_offload
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %sv_0.3.reg2mem = alloca i32 %sv_1.1.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i32 %2, -64 %4 = urem i64 %arg2, 2 %5 = icmp eq i64 %4, 0 store i64 %arg2, i64* %sv_1.1.reg2mem store i32 %3, i32* %sv_0.3.reg2mem br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = or i32 %3, 7 %7 = and i64 %arg2, -2 %8 = and i64 %arg2, 6 %9 = icmp eq i64 %8, 0 store i64 %7, i64* %sv_1.1.reg2mem store i32 %6, i32* %sv_0.3.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = and i64 %arg2, 8 %11 = icmp eq i64 %10, 0 %12 = or i32 %3, 15 %13 = and i64 %arg2, -10 %sv_1.0 = select i1 %11, i64 %7, i64 %13 %sv_0.0 = select i1 %11, i32 %6, i32 %12 %14 = trunc i64 %sv_1.0 to i32 %15 = mul i32 %14, 8 %16 = and i32 %15, 48 %17 = or i32 %sv_0.0, %16 %18 = and i64 %sv_1.0, -8 store i64 %18, i64* %sv_1.1.reg2mem store i32 %17, i32* %sv_0.3.reg2mem br label LBL_3 LBL_3: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem %19 = icmp eq i64 %sv_1.1.reload, 0 store i64 4294967274, i64* %storemerge.reg2mem br i1 %19, label LBL_4, label LBL_5 LBL_4: %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem %20 = bitcast i64* %arg1 to i32* store i32 %sv_0.3.reload, i32* %20, 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 i64 %sv_1.0, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i32 %6, { 1, 0 } uselistorder i32 %3, { 1, 2, 0 } uselistorder i64 %arg2, { 2, 3, 5, 4, 0, 1 } }
0
BinRealVul
pgd_alloc_6197
pgd_alloc
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 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = icmp eq i64* %arg1, inttoptr (i64 2147483648 to i64*) %5 = icmp eq i1 %4, false store i64 %1, i64* %rax.0.reg2mem br i1 %5, label LBL_4, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %1) %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false store i64 %1, i64* %rax.0.reg2mem br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i64 %0, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 2, 1, 3, 0, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder label LBL_4, { 3, 1, 0, 2 } }
0
BinRealVul
__driver_rfc4106_decrypt_7763
__driver_rfc4106_decrypt
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i1 %rdi.0.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %indvars.iv8.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %1 = call i64 @FUNC(i64 1) %2 = call i64 @FUNC(i64 %0) %3 = call i64 @FUNC(i64 %2) %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = call i64 @FUNC(i64 %2) %7 = ptrtoint i64* %sv_4 to i64 %8 = call i64 @FUNC(i64* nonnull %sv_4, i64 16) %9 = icmp ule i64 %6, %7 %10 = icmp ne i1 %9, true %11 = icmp eq i1 %10, false %12 = icmp eq i1 %11, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %12, label LBL_24, label LBL_1 LBL_1: %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 8 %17 = icmp eq i1 %16, false %18 = icmp eq i1 %17, false br i1 %18, label LBL_3, label LBL_2 LBL_2: %19 = icmp eq i64 %15, 12 %20 = icmp eq i1 %19, false %21 = icmp eq i1 %20, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_24 LBL_3: %22 = icmp eq i64 %6, 8 %23 = icmp eq i1 %22, false %24 = icmp eq i1 %23, false br i1 %24, label LBL_6, label LBL_4 LBL_4: %25 = icmp eq i64 %6, 12 %26 = icmp eq i1 %25, false %27 = icmp eq i1 %26, false br i1 %27, label LBL_6, label LBL_5 LBL_5: %28 = icmp eq i64 %6, 16 %29 = icmp eq i1 %28, false %30 = icmp eq i1 %29, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %30, label LBL_6, label LBL_24 LBL_6: %31 = icmp eq i32 %5, 16 %32 = icmp eq i1 %31, false %33 = icmp eq i1 %32, false br i1 %33, label LBL_9, label LBL_7 LBL_7: %34 = icmp eq i32 %5, 24 %35 = icmp eq i1 %34, false %36 = icmp eq i1 %35, false br i1 %36, label LBL_9, label LBL_8 LBL_8: %37 = icmp eq i32 %5, 32 %38 = icmp eq i1 %37, false %39 = icmp eq i1 %38, false store i64 4294967274, i64* %rax.0.reg2mem br i1 %39, label LBL_9, label LBL_24 LBL_9: %40 = trunc i64 %1 to i32 %41 = add i64 %8, 16 %42 = add i64 %3, 4 store i64 0, i64* %indvars.iv8.reg2mem br label LBL_10 LBL_10: %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem %43 = add i64 %indvars.iv8.reload, %8 %44 = add i64 %42, %indvars.iv8.reload %45 = inttoptr i64 %44 to i8* %46 = load i8, i8* %45, align 1 %47 = inttoptr i64 %43 to i8* store i8 %46, i8* %47, align 1 %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1 %exitcond10 = icmp eq i64 %indvars.iv.next9, 4 store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem br i1 %exitcond10, label LBL_11, label LBL_10 LBL_11: %48 = add i64 %8, 4 %49 = add i64 %0, 32 store i64 0, i64* %indvars.iv.reg2mem br label LBL_12 LBL_12: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %50 = add i64 %48, %indvars.iv.reload %51 = add i64 %49, %indvars.iv.reload %52 = inttoptr i64 %51 to i8* %53 = load i8, i8* %52, align 1 %54 = inttoptr i64 %50 to i8* store i8 %53, i8* %54, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 8 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_13, label LBL_12 LBL_13: %55 = add i64 %8, 12 %56 = inttoptr i64 %55 to i32* store i32 %40, i32* %56, align 4 %57 = add i64 %0, 16 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 store i64 %59, i64* %rdi.0.reg2mem br i1 %62, label LBL_17, label LBL_14 LBL_14: %63 = add i64 %0, 48 %64 = inttoptr i64 %63 to i64* %65 = load i64, i64* %64, align 8 %66 = call i64 @FUNC(i64 %65) %67 = trunc i64 %66 to i32 %68 = icmp eq i32 %67, 0 store i64 %65, i64* %rdi.0.reg2mem br i1 %68, label LBL_17, label LBL_15 LBL_15: %69 = load i64, i64* %58, align 8 %70 = call i64 @FUNC(i64* nonnull %sv_4, i64 %69) %71 = load i64, i64* %64, align 8 %72 = call i64 @FUNC(i64* nonnull %sv_4, i64 %71) %73 = call i64 @FUNC(i64* nonnull %sv_4) %74 = call i64 @FUNC(i64* nonnull %sv_4) %75 = load i64, i64* %58, align 8 %76 = add i64 %0, 24 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = icmp eq i64 %75, %78 %80 = icmp eq i1 %79, false %81 = icmp eq i1 %80, false store i1 false, i1* %sv_3.0.reg2mem store i64 %73, i64* %sv_2.0.reg2mem store i64 %74, i64* %sv_1.0.reg2mem store i64 %73, i64* %sv_0.0.reg2mem br i1 %81, label LBL_19, label LBL_16 LBL_16: %82 = call i64 @FUNC(i64* nonnull %sv_4, i64 %78) %83 = call i64 @FUNC(i64* nonnull %sv_4) store i1 false, i1* %sv_3.0.reg2mem store i64 %73, i64* %sv_2.0.reg2mem store i64 %74, i64* %sv_1.0.reg2mem store i64 %83, i64* %sv_0.0.reg2mem br label LBL_19 LBL_17: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %84 = load i64, i64* %14, align 8 %85 = add i64 %84, %rdi.0.reload %86 = call i64 @FUNC(i64 %85, i64 0) %87 = icmp eq i64 %86, 0 %88 = icmp eq i1 %87, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %88, label LBL_18, label LBL_24 LBL_18: %89 = add i64 %85, %6 %90 = add i64 %89, %86 %91 = load i64, i64* %58, align 8 %92 = call i64 @FUNC(i64 %86, i64 %91, i64 0, i64 %85, i64 0) %93 = load i64, i64* %14, align 8 %94 = add i64 %0, 48 %95 = inttoptr i64 %94 to i64* %96 = load i64, i64* %95, align 8 %97 = call i64 @FUNC(i64 %90, i64 %96, i64 0, i64 %93, i64 0) store i1 true, i1* %sv_3.0.reg2mem store i64 %86, i64* %sv_2.0.reg2mem store i64 %90, i64* %sv_1.0.reg2mem store i64 %86, i64* %sv_0.0.reg2mem br label LBL_19 LBL_19: %98 = sub i64 %7, %6 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %sv_3.0.reload = load i1, i1* %sv_3.0.reg2mem %99 = add i64 %3, 8 %100 = call i64 @FUNC(i64 %3, i64 %sv_0.0.reload, i64 %sv_2.0.reload, i64 %98, i64 %8, i64 %99) %101 = add i64 %sv_2.0.reload, %98 %102 = call i64 @FUNC(i64 %101, i64 %41, i64 %6) %103 = trunc i64 %102 to i32 %104 = icmp eq i32 %103, 0 %105 = select i1 %104, i64 0, i64 4294967222 br i1 %sv_3.0.reload, label LBL_23, label LBL_20 LBL_20: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %106 = load i64, i64* %58, align 8 %107 = add i64 %0, 24 %108 = inttoptr i64 %107 to i64* %109 = load i64, i64* %108, align 8 %110 = icmp eq i64 %106, %109 %111 = icmp eq i1 %110, false %112 = icmp eq i1 %111, false br i1 %112, label LBL_22, label LBL_21 LBL_21: %113 = call i64 @FUNC(i64 %sv_0.0.reload) %114 = call i64 @FUNC(i64* nonnull %sv_4, i64 0, i64 0) br label LBL_22 LBL_22: %115 = call i64 @FUNC(i64 %sv_2.0.reload) %116 = call i64 @FUNC(i64 %sv_1.0.reload) %117 = call i64 @FUNC(i64* nonnull %sv_4, i64 0, i64 0) %118 = call i64 @FUNC(i64* nonnull %sv_4, i64 0, i64 0) store i64 %105, i64* %rax.0.reg2mem br label LBL_24 LBL_23: %119 = add i64 %0, 24 %120 = inttoptr i64 %119 to i64* %121 = load i64, i64* %120, align 8 %122 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %121, i64 0, i64 %101, i64 1) %123 = call i64 @FUNC(i64 %sv_2.0.reload) store i64 %105, i64* %rax.0.reg2mem br label LBL_24 LBL_24: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %105, { 1, 0 } uselistorder i64 %sv_2.0.reload, { 1, 2, 3, 0 } uselistorder i64 %sv_0.0.reload, { 1, 2, 0 } uselistorder i64 %86, { 0, 1, 3, 2, 4 } uselistorder i64 %85, { 1, 0, 2 } uselistorder i64 %73, { 1, 0, 2 } uselistorder i64* %58, { 2, 3, 0, 1, 4 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %8, { 2, 3, 1, 0, 4 } uselistorder i64 %6, { 3, 4, 0, 2, 1, 5, 6 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %0, { 3, 2, 4, 0, 1, 5, 6, 7, 8 } uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i1* %sv_3.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 7, 6 } uselistorder i64 (i64*, i64, i64)* @scatterwalk_done, { 2, 1, 0 } uselistorder i64 (i64)* @scatterwalk_unmap, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @scatterwalk_map_and_copy, { 2, 1, 0 } uselistorder i64 (i64*)* @scatterwalk_map, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @scatterwalk_start, { 2, 1, 0 } uselistorder i64 (i64)* @sg_is_last, { 1, 0 } uselistorder i64 4, { 1, 0, 2 } uselistorder i64 12, { 2, 0, 1 } uselistorder i64 8, { 3, 0, 1, 2, 4 } uselistorder i64 4294967274, { 0, 1, 3, 2 } uselistorder i1 false, { 2, 13, 14, 0, 1, 3, 15, 4, 16, 5, 17, 6, 18, 7, 19, 8, 20, 9, 21, 10, 22, 11, 23, 24, 12 } uselistorder i64 16, { 3, 4, 1, 2, 0 } uselistorder i64 1, { 3, 2, 1, 4, 0 } uselistorder label LBL_24, { 1, 0, 2, 3, 4, 6, 5 } uselistorder label LBL_9, { 2, 1, 0 } uselistorder label LBL_6, { 2, 1, 0 } }
1