dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
smush_read_packet_15038
smush_read_packet
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %5) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_17 LBL_1: %9 = ptrtoint i64* %arg2 to i64 %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %5) %13 = trunc i64 %12 to i32 %14 = call i64 @FUNC(i64 %5) %15 = icmp eq i32 %13, 1466005093 br i1 %15, label LBL_11, label LBL_3 LBL_3: %16 = icmp ult i32 %13, 1466005094 br i1 %16, label LBL_4, label LBL_15 LBL_4: %17 = icmp eq i32 %13, 1114386742 br i1 %17, label LBL_9, label LBL_5 LBL_5: %18 = icmp eq i32 %13, 1179798853 %19 = icmp eq i1 %18, false br i1 %19, label LBL_15, label LBL_6 LBL_6: br i1 %11, label LBL_7, label LBL_16 LBL_7: %20 = trunc i64 %14 to i32 %21 = call i64 @FUNC(i64 %5, i64 %9, i32 %20) %22 = trunc i64 %21 to i32 %23 = icmp slt i32 %22, 0 %24 = icmp eq i1 %23, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %24, label LBL_8, label LBL_17 LBL_8: %25 = add i64 %2, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = bitcast i64* %arg2 to i32* store i32 %27, i32* %28, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_9: %29 = trunc i64 %14 to i32 %30 = call i64 @FUNC(i64 %5, i64 %9, i32 %29) %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %31, 0 %33 = icmp eq i1 %32, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %33, label LBL_10, label LBL_17 LBL_10: %34 = add i64 %2, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = bitcast i64* %arg2 to i32* store i32 %36, i32* %37, align 4 %38 = add i64 %9, 4 %39 = inttoptr i64 %38 to i32* store i32 1, i32* %39, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_11: %40 = trunc i64 %14 to i32 %41 = icmp ult i32 %40, 13 store i64 4294967293, i64* %rax.0.reg2mem br i1 %41, label LBL_17, label LBL_12 LBL_12: %42 = call i64 @FUNC(i64 %5, i64 %9, i32 %40) %43 = trunc i64 %42 to i32 %44 = icmp slt i32 %43, 0 %45 = icmp eq i1 %44, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %45, label LBL_13, label LBL_17 LBL_13: %46 = inttoptr i64 %3 to i32* %47 = load i32, i32* %46, align 4 %48 = bitcast i64* %arg2 to i32* store i32 %47, i32* %48, align 4 %49 = add i64 %9, 8 %50 = inttoptr i64 %49 to i32* %51 = load i32, i32* %50, align 4 %52 = or i32 %51, 1 store i32 %52, i32* %50, align 4 %53 = add i64 %9, 16 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = call i64 @FUNC(i64 %55) %57 = trunc i64 %56 to i32 %58 = add i64 %9, 4 %59 = inttoptr i64 %58 to i32* store i32 %57, i32* %59, align 4 %60 = icmp eq i32 %57, -1 %61 = icmp eq i1 %60, false store i64 0, i64* %rax.0.reg2mem br i1 %61, label LBL_17, label LBL_14 LBL_14: %62 = load i64, i64* %54, align 8 %63 = add i64 %62, 8 %64 = call i64 @FUNC(i64 %63) %65 = trunc i64 %64 to i32 store i32 %65, i32* %59, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_15: %66 = and i64 %14, 4294967295 %67 = call i64 @FUNC(i64 %5, i64 %66) br label LBL_16 LBL_16: %68 = call i64 @FUNC(i64 %5) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 store i64 4294967295, i64* %rax.0.reg2mem br i1 %70, label LBL_2, label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %14, { 3, 0, 1, 2 } uselistorder i32 %13, { 2, 1, 0, 3 } uselistorder i64 %9, { 4, 3, 5, 6, 1, 2, 0 } uselistorder i64 %5, { 7, 2, 4, 3, 1, 6, 5, 0 } uselistorder i64 %2, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 7, 8, 6, 9, 5, 10, 2 } uselistorder i64 (i64)* @AV_RB32, { 1, 0 } uselistorder i64 (i64, i64, i32)* @av_get_packet, { 2, 1, 0 } uselistorder i64 (i64)* @avio_rb32, { 1, 0 } uselistorder i64 (i64)* @url_feof, { 1, 0 } uselistorder label LBL_17, { 0, 2, 3, 6, 7, 5, 8, 4, 9, 1 } uselistorder label LBL_15, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
dtls1_retrieve_buffered_record_8646
dtls1_retrieve_buffered_record
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 %0) %2 = icmp eq i64 %1, 0 store i64 0, i64* %storemerge.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 %1) %5 = inttoptr i64 %1 to i64* %6 = load i64, i64* %5, align 8 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %1) store i64 1, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %1, { 2, 1, 0, 3 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
gen_rfe_13884
gen_rfe
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 = zext i32 %arg3 to i64 %3 = call i64 @FUNC(i64 %2, i64 1) %4 = call i64 @FUNC(i64 %2) %5 = call i64 @FUNC(i64 %0, i64 15, i32 %1) store i32 1, i32* %arg1, align 4 ret i64 %0 }
1
BinRealVul
mov_write_stbl_tag_16652
mov_write_stbl_tag
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 %1) %3 = call i64 @FUNC(i64 %1, i64 0) %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %5 = call i64 @FUNC(i64 %1, i64 %0) %6 = call i64 @FUNC(i64 %1, i64 %0) %7 = trunc i64 %0 to i32 %8 = icmp eq i32 %7, 1 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %0, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 544240754 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_2 LBL_2: %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = add i64 %0, 12 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp ult i32 %16, %20 br i1 %21, label LBL_4, label LBL_5 LBL_4: %22 = call i64 @FUNC(i64 %1, i64 %0, i64 1) br label LBL_5 LBL_5: %23 = add i64 %0, 16 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_8, label LBL_6 LBL_6: %28 = add i64 %0, 20 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = urem i32 %30, 2 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %1, i64 %0, i64 2) br label LBL_8 LBL_8: %34 = icmp eq i1 %8, false br i1 %34, label LBL_12, label LBL_9 LBL_9: %35 = add i64 %0, 20 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = and i32 %37, 2 %39 = icmp eq i32 %38, 0 br i1 %39, label LBL_12, label LBL_10 LBL_10: %40 = add i64 %0, 12 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label LBL_12, label LBL_11 LBL_11: %44 = call i64 @FUNC(i64 %1, i64 %0) br label LBL_12 LBL_12: %45 = call i64 @FUNC(i64 %1, i64 %0) %46 = call i64 @FUNC(i64 %1, i64 %0) %47 = call i64 @FUNC(i64 %1, i64 %0) %48 = call i64 @FUNC(i64 %1, i64 %2) ret i64 %48 uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0, 7, 8, 9, 10, 11 } uselistorder i64 %0, { 7, 6, 5, 4, 3, 2, 10, 9, 8, 13, 12, 11, 0, 1, 14, 15 } uselistorder i32 2, { 1, 0 } uselistorder i64 (i64, i64, i64)* @mov_write_stss_tag, { 1, 0 } uselistorder label LBL_5, { 1, 0, 2, 3 } }
1
BinRealVul
expandrow_7362
expandrow
define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.in.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %sv_1.122.reg2mem = alloca i64 %sv_2.123.reg2mem = alloca i32 %sv_1.018.reg2mem = alloca i64 %sv_0.0.in19.reg2mem = alloca i64 %sv_2.020.reg2mem = alloca i32 %sv_3.02949.reg2mem = alloca i32 %sv_4.0.in2850.reg2mem = alloca i64 %sv_1.32651.reg2mem = alloca i64 %.in.reg2mem = alloca i64 %.reg2mem = alloca i8 %sv_4.030.lcssa.reg2mem = alloca i64 %sext = mul i64 %arg3, 4294967296 %sv_4.025 = ashr exact i64 %sext, 32 %0 = trunc i64 %sv_4.025 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_14 LBL_1: %6 = bitcast i32* %arg2 to i8* %7 = load i8, i8* %6, align 1 %8 = icmp eq i32 %0, 1 %9 = icmp eq i1 %8, false %10 = icmp eq i8 %7, 0 %or.cond48 = or i1 %9, %10 store i64 %sv_4.025, i64* %sv_4.030.lcssa.reg2mem br i1 %or.cond48, label LBL_2, label LBL_4 LBL_2: %sext7 = mul i64 %arg4, 4294967296 %sext8 = mul i64 %arg5, 4294967296 %11 = ashr exact i64 %sext8, 32 %12 = ashr exact i64 %sext7, 32 %13 = ptrtoint i32* %arg2 to i64 %14 = ptrtoint i64* %arg1 to i64 store i8 %7, i8* %.reg2mem store i64 %13, i64* %.in.reg2mem store i64 %14, i64* %sv_1.32651.reg2mem store i64 %sext, i64* %sv_4.0.in2850.reg2mem store i32 0, i32* %sv_3.02949.reg2mem br label LBL_5 LBL_3: %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem %15 = inttoptr i64 %sv_0.1.in.reload to i8* %16 = load i8, i8* %15, align 1 %17 = icmp eq i32 %52, 1 %18 = icmp eq i1 %17, false %19 = icmp eq i8 %16, 0 %or.cond = or i1 %18, %19 store i64 %sv_4.0, i64* %sv_4.030.lcssa.reg2mem store i8 %16, i8* %.reg2mem store i64 %sv_0.1.in.reload, i64* %.in.reg2mem store i64 %sv_1.2.reload, i64* %sv_1.32651.reg2mem store i64 %sext11, i64* %sv_4.0.in2850.reg2mem store i32 %26, i32* %sv_3.02949.reg2mem br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %sv_4.030.lcssa.reload = load i64, i64* %sv_4.030.lcssa.reg2mem %20 = and i64 %sv_4.030.lcssa.reload, 4294967295 store i64 %20, i64* %rax.0.reg2mem br label LBL_14 LBL_5: %.reload = load i8, i8* %.reg2mem %21 = urem i8 %.reload, -128 %22 = icmp eq i8 %21, 0 %23 = icmp eq i1 %22, false br i1 %23, label LBL_7, label LBL_6 LBL_6: %24 = zext i8 %21 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_14 LBL_7: %sv_3.02949.reload = load i32, i32* %sv_3.02949.reg2mem %25 = zext i8 %21 to i32 %26 = add i32 %sv_3.02949.reload, %25 %27 = zext i32 %26 to i64 %28 = icmp slt i64 %11, %27 store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_14, label LBL_8 LBL_8: %sv_4.0.in2850.reload = load i64, i64* %sv_4.0.in2850.reg2mem %sv_1.32651.reload = load i64, i64* %sv_1.32651.reg2mem %.in.reload = load i64, i64* %.in.reg2mem %29 = add i64 %.in.reload, 1 %30 = icmp slt i8 %.reload, 0 %31 = icmp eq i1 %30, false store i32 %25, i32* %sv_2.020.reg2mem store i64 %29, i64* %sv_0.0.in19.reg2mem store i64 %sv_1.32651.reload, i64* %sv_1.018.reg2mem br i1 %31, label LBL_10, label LBL_9 LBL_9: %sv_1.018.reload = load i64, i64* %sv_1.018.reg2mem %sv_0.0.in19.reload = load i64, i64* %sv_0.0.in19.reg2mem %sv_2.020.reload = load i32, i32* %sv_2.020.reg2mem %32 = mul i32 %sv_2.020.reload, 16777216 %sext10 = add i32 %32, -16777216 %33 = ashr exact i32 %sext10, 24 %34 = add i64 %sv_0.0.in19.reload, 1 %35 = inttoptr i64 %sv_0.0.in19.reload to i8* %36 = load i8, i8* %35, align 1 %37 = inttoptr i64 %sv_1.018.reload to i8* store i8 %36, i8* %37, align 1 %38 = add i64 %sv_1.018.reload, %12 %39 = trunc i32 %33 to i8 %40 = icmp eq i8 %39, 0 %41 = icmp eq i1 %40, false store i32 %33, i32* %sv_2.020.reg2mem store i64 %34, i64* %sv_0.0.in19.reg2mem store i64 %38, i64* %sv_1.018.reg2mem store i64 %38, i64* %sv_1.2.reg2mem store i64 %34, i64* %sv_0.1.in.reg2mem br i1 %41, label LBL_9, label LBL_13 LBL_10: %42 = inttoptr i64 %29 to i8* %43 = load i8, i8* %42, align 1 store i32 %25, i32* %sv_2.123.reg2mem store i64 %sv_1.32651.reload, i64* %sv_1.122.reg2mem br label LBL_11 LBL_11: %sv_1.122.reload = load i64, i64* %sv_1.122.reg2mem %sv_2.123.reload = load i32, i32* %sv_2.123.reg2mem %44 = mul i32 %sv_2.123.reload, 16777216 %sext13 = add i32 %44, -16777216 %45 = ashr exact i32 %sext13, 24 %46 = inttoptr i64 %sv_1.122.reload to i8* store i8 %43, i8* %46, align 1 %47 = add i64 %sv_1.122.reload, %12 %48 = trunc i32 %45 to i8 %49 = icmp eq i8 %48, 0 %50 = icmp eq i1 %49, false store i32 %45, i32* %sv_2.123.reg2mem store i64 %47, i64* %sv_1.122.reg2mem br i1 %50, label LBL_11, label LBL_12 LBL_12: %51 = add i64 %.in.reload, 2 store i64 %47, i64* %sv_1.2.reg2mem store i64 %51, i64* %sv_0.1.in.reg2mem br label LBL_13 LBL_13: %sext11 = add i64 %sv_4.0.in2850.reload, -4294967296 %sv_4.0 = ashr exact i64 %sext11, 32 %52 = trunc i64 %sv_4.0 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp slt i32 %52, 0 %55 = icmp eq i1 %54, false %56 = icmp eq i1 %53, false %57 = icmp eq i1 %55, %56 store i64 0, i64* %rax.0.reg2mem br i1 %57, label LBL_3, label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %52, { 2, 1, 0 } uselistorder i64 %sv_4.0, { 1, 0 } uselistorder i64 %sext11, { 1, 0 } uselistorder i64 %sv_1.122.reload, { 1, 0 } uselistorder i64 %sv_1.018.reload, { 1, 0 } uselistorder i64 %29, { 1, 0 } uselistorder i64 %.in.reload, { 1, 0 } uselistorder i32 %26, { 1, 0 } uselistorder i8 %21, { 1, 0, 2 } uselistorder i64 %sv_0.1.in.reload, { 1, 0 } uselistorder i32* %sv_2.020.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.in19.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.018.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_2.123.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.122.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_1.2.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.1.in.reg2mem, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 } uselistorder i8 0, { 2, 3, 4, 5, 1, 0 } uselistorder i1 false, { 9, 3, 4, 5, 6, 7, 8, 0, 1, 2 } uselistorder i32 0, { 3, 4, 0, 1, 2 } uselistorder i64 32, { 1, 2, 3, 0 } uselistorder i32* %arg2, { 1, 0 } uselistorder label LBL_14, { 1, 0, 3, 4, 2 } uselistorder label LBL_13, { 1, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
vgacon_switch_12896
vgacon_switch
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 = trunc i64 %1 to i32 %4 = add i64 %2, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 store i32 %3, i32* @gv_0, align 4 %10 = load i32, i32* %5, align 4 store i32 %10, i32* @gv_1, align 4 %11 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_1 LBL_1: %14 = load i32, i32* @gv_2, align 4 %15 = load i32, i32* @gv_3, align 4 %16 = mul i32 %9, %6 %17 = mul i32 %3, 8 %18 = add i64 %2, 32 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4 %22 = sext i32 %21 to i64 %23 = icmp ugt i64 %20, %22 %24 = select i1 %23, i64 %22, i64 %20 %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = add i64 %2, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = call i64 @FUNC(i64 %30, i64 %27, i64 %24) %32 = load i32, i32* @gv_4, align 4 %33 = icmp eq i32 %17, %32 %34 = load i32, i32* @gv_5, align 4 %35 = icmp eq i32 %16, %34 %or.cond = icmp eq i1 %33, %35 br i1 %or.cond, label LBL_5, label LBL_2 LBL_2: %36 = load i32, i32* @gv_0, align 4 %37 = urem i32 %36, 2 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false %40 = load i32, i32* @gv_6, align 4 %41 = icmp ult i32 %40, %36 %or.cond3 = or i1 %41, %39 br i1 %or.cond3, label LBL_5, label LBL_3 LBL_3: %42 = mul i32 %15, %14 %43 = ashr i32 %42, 31 %44 = zext i32 %42 to i64 %45 = zext i32 %43 to i64 %46 = mul i64 %45, 4294967296 %47 = or i64 %46, %44 %48 = zext i32 %9 to i64 %49 = sdiv i64 %47, %48 %50 = load i32, i32* @gv_1, align 4 %51 = zext i32 %50 to i64 %sext = mul i64 %49, 4294967296 %52 = ashr exact i64 %sext, 32 %53 = icmp slt i64 %52, %51 br i1 %53, label LBL_5, label LBL_4 LBL_4: %54 = load i32, i32* %5, align 4 %55 = and i64 %1, 4294967295 %56 = call i64 @FUNC(i64 %2, i64 %55, i32 %54) br label LBL_5 LBL_5: %57 = add i64 %2, 40 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = zext i32 %59 to i64 %61 = call i64 @FUNC(i64 %60) ret i64 0 uselistorder i32 %36, { 1, 0 } uselistorder i32 %9, { 1, 0 } uselistorder i64 %2, { 4, 0, 2, 3, 1, 5, 6 } uselistorder i64 %1, { 1, 0 } uselistorder i32* @gv_1, { 1, 0 } uselistorder i32 0, { 4, 5, 0, 1, 2, 3 } uselistorder i32* @gv_0, { 1, 0 } uselistorder label LBL_5, { 1, 2, 3, 0, 4 } }
1
BinRealVul
apprentice_1_8540
apprentice_1
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = ptrtoint i64* %arg1 to i64 %6 = load i64, i64* @gv_0, align 8 %7 = icmp eq i64 %6, 1024 br i1 %7, label LBL_2, label LBL_1 LBL_1: %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 1024, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %9 = trunc i64 %arg3 to i32 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false %12 = ptrtoint i8* %arg2 to i64 br i1 %11, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %5, i64 %12, i32 %9) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_4, label LBL_17 LBL_4: %16 = call i64 @FUNC(i64 %5, i64 %13, i64 %12) store i64 %16, i64* %rax.0.reg2mem br label LBL_17 LBL_5: %17 = call i64 @FUNC(i64 %5, i64 %12) %18 = icmp eq i64 %17, 0 %19 = icmp eq i1 %18, false store i64 %17, i64* %sv_0.1.reg2mem br i1 %19, label LBL_11, label LBL_6 LBL_6: %20 = icmp eq i8* %arg2, null store i64 %17, i64* %sv_0.0.reg2mem br i1 %20, label LBL_10, label LBL_7 LBL_7: %21 = urem i64 %3, 2 %22 = icmp eq i64 %21, 0 br i1 %22, label LBL_9, label LBL_8 LBL_8: %23 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %4, i64 %2, i64 %1) br label LBL_9 LBL_9: %24 = call i64 @FUNC(i64 %5, i64 %12, i32 %9) store i64 %24, i64* %sv_0.0.reg2mem br label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = icmp eq i64 %sv_0.0.reload, 0 %26 = icmp eq i1 %25, false store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_11, label LBL_17 LBL_11: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %27 = add i64 %5, 8 store i64 0, i64* %storemerge35.reg2mem br label LBL_12 LBL_12: %storemerge35.reload = load i64, i64* %storemerge35.reg2mem %28 = mul i64 %storemerge35.reload, 8 %29 = add i64 %28, %27 %30 = inttoptr i64 %29 to i64* %31 = load i64, i64* %30, align 8 %32 = call i64 @FUNC(i64 %31, i64 %sv_0.1.reload, i64 %storemerge35.reload) %33 = trunc i64 %32 to i32 %34 = icmp eq i32 %33, -1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_14, label LBL_13 LBL_13: %36 = call i64 @FUNC(i64 %5, i64 0) %37 = call i64 @FUNC(i64 %sv_0.1.reload) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_17 LBL_14: %38 = add nuw nsw i64 %storemerge35.reload, 1 %39 = icmp ult i64 %38, 10 store i64 %38, i64* %storemerge35.reg2mem br i1 %39, label LBL_12, label LBL_15 LBL_15: %40 = icmp eq i32 %9, 2 %41 = icmp eq i1 %40, false store i64 0, i64* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %41, label LBL_17, label LBL_16 LBL_16: %storemerge4.reload = load i64, i64* %storemerge4.reg2mem %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i64 %storemerge4.reload) %43 = mul i64 %storemerge4.reload, 8 %44 = add i64 %43, %27 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = call i64 @FUNC(i64 %46, i64 0) %48 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0)) %49 = load i64, i64* %45, align 8 %50 = call i64 @FUNC(i64 %49, i64 1) %51 = add nuw nsw i64 %storemerge4.reload, 1 %exitcond = icmp eq i64 %51, 10 store i64 %51, i64* %storemerge4.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_17, label LBL_16 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge4.reload, { 0, 2, 1 } uselistorder i64 %sv_0.1.reload, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %12, { 2, 1, 4, 0, 3 } uselistorder i32 %9, { 1, 0, 2, 3 } uselistorder i64 %5, { 5, 6, 4, 3, 7, 1, 2, 0 } uselistorder i64* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 7, 3, 6, 4, 5 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @apprentice_list, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i64 (i64, i64, i32)* @apprentice_load, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3, 4, 5 } uselistorder i64 4294967295, { 3, 0, 1, 2 } uselistorder i64 1024, { 1, 0, 2 } uselistorder label LBL_17, { 0, 1, 4, 2, 5, 3, 6 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
snd_msndmidi_input_close_8431
snd_msndmidi_input_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 0) %2 = add i64 %0, 16 %3 = call i64 @FUNC(i64 0, i64 %2) %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 %6 = call i64 @FUNC(i64 0) ret i64 0 }
0
BinRealVul
authfile_load_6427
authfile_load
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i8* %storemerge4.reg2mem = alloca i32 %sv_3.16.reg2mem = alloca i32 %sv_3.0.reg2mem = alloca i32 %sv_3.17.reg2mem = alloca i32 %storemerge8.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_4 = alloca i64, align 8 %1 = load i64, i64* %0 %sv_5 = alloca i64, align 8 %2 = inttoptr i64 %arg1 to i8* %3 = call %_IO_FILE* @fopen(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0)) %4 = icmp eq %_IO_FILE* %3, null %5 = icmp eq i1 %4, false store i64 1, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_21 LBL_1: %6 = call i32 @fileno(%_IO_FILE* %3) %7 = bitcast i64* %sv_5 to %stat* %8 = call i32 @fstat(i32 %6, %stat* nonnull %7) %9 = icmp eq i32 %8, 0 br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i32 @fclose(%_IO_FILE* %3) store i64 2, i64* %rax.0.reg2mem br label LBL_21 LBL_3: %11 = trunc i64 %1 to i32 %12 = add i32 %11, 1 %13 = call i64* @calloc(i32 1, i32 %12) %14 = ptrtoint i64* %13 to i64 %15 = bitcast i64* %13 to i8* %16 = add i64 %1, %14 %17 = ptrtoint i64* %sv_4 to i64 store i8* %15, i8** %sv_2.0.reg2mem store i64 %17, i64* %sv_1.0.reg2mem store i32 0, i32* %sv_0.0.reg2mem br label LBL_16 LBL_4: %sv_3.17.reload = load i32, i32* %sv_3.17.reg2mem %storemerge8.reload = load i32, i32* %storemerge8.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %18 = icmp eq i32 %sv_3.17.reload, 0 %19 = icmp eq i1 %18, false %20 = add i64 %indvars.iv.reload, %50 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 br i1 %19, label LBL_8, label LBL_5 LBL_5: %23 = icmp eq i8 %22, 0 %24 = trunc i64 %indvars.iv.reload to i32 store i32 %sv_3.17.reload, i32* %sv_3.16.reg2mem store i32 %24, i32* %storemerge4.reg2mem br i1 %23, label LBL_12, label LBL_6 LBL_6: %25 = icmp eq i8 %22, 58 %26 = icmp eq i1 %25, false store i32 %sv_3.17.reload, i32* %sv_3.0.reg2mem br i1 %26, label LBL_11, label LBL_7 LBL_7: store i64 %50, i64* %66, align 8 store i32 %24, i32* %68, align 8 %27 = add i64 %20, 1 store i64 %27, i64* %70, align 8 store i32 1, i32* %sv_3.0.reg2mem br label LBL_11 LBL_8: switch i8 %22, label LBL_9 [ i8 10, label LBL_10 i8 13, label LBL_10 ] LBL_9: %28 = icmp eq i8 %22, 0 %29 = icmp eq i1 %28, false store i32 %sv_3.17.reload, i32* %sv_3.0.reg2mem br i1 %29, label LBL_11, label LBL_10 LBL_10: %30 = trunc i64 %indvars.iv.reload to i32 %31 = load i32, i32* %68, align 8 %32 = sub i32 0, %31 %33 = sub i32 %32, 1 %34 = add i32 %33, %30 %35 = add i64 %sv_1.0.reload, 24 %36 = inttoptr i64 %35 to i32* store i32 %34, i32* %36, align 8 store i32 %sv_3.17.reload, i32* %sv_3.16.reg2mem store i32 %30, i32* %storemerge4.reg2mem br label LBL_12 LBL_11: %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %37 = add nuw nsw i32 %storemerge8.reload, 1 %38 = icmp ult i64 %indvars.iv.next, 256 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %37, i32* %storemerge8.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.17.reg2mem store i32 %sv_3.0.reload, i32* %sv_3.16.reg2mem store i32 %37, i32* %storemerge4.reg2mem br i1 %38, label LBL_4, label LBL_12 LBL_12: %sv_3.16.reload = load i32, i32* %sv_3.16.reg2mem %39 = icmp eq i32 %sv_3.16.reload, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_14, label LBL_13 LBL_13: %41 = call i32 @fclose(%_IO_FILE* %3) call void @free(i64* %13) store i64 3, i64* %rax.0.reg2mem br label LBL_21 LBL_14: %42 = icmp eq i32 %sv_0.0.reload, 99 store i32 100, i32* %sv_0.1.reg2mem br i1 %42, label LBL_18, label LBL_15 LBL_15: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %43 = add nuw nsw i32 %sv_0.0.reload, 1 %44 = sext i32 %storemerge4.reload to i64 %45 = add i64 %44, %50 %46 = inttoptr i64 %45 to i8* %47 = load i8, i8* %46, align 1 %48 = icmp eq i8 %47, 0 %49 = add i64 %sv_1.0.reload, 32 store i8* %46, i8** %sv_2.0.reg2mem store i64 %49, i64* %sv_1.0.reg2mem store i32 %43, i32* %sv_0.0.reg2mem store i32 %43, i32* %sv_0.1.reg2mem br i1 %48, label LBL_18, label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem %50 = ptrtoint i8* %sv_2.0.reload to i64 %51 = sub i64 %16, %50 %52 = add i64 %51, -256 %53 = sub i64 255, %51 %54 = and i64 %53, %51 %55 = icmp slt i64 %54, 0 %56 = icmp eq i64 %52, 0 %57 = icmp slt i64 %52, 0 %58 = icmp eq i1 %57, %55 %59 = icmp eq i1 %56, false %60 = icmp eq i1 %58, %59 %61 = trunc i64 %51 to i32 %62 = select i1 %60, i32 256, i32 %61 %63 = call i8* @fgets(i8* %sv_2.0.reload, i32 %62, %_IO_FILE* %3) %64 = icmp eq i8* %63, null %65 = icmp eq i1 %64, false store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem br i1 %65, label LBL_17, label LBL_18 LBL_17: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %66 = inttoptr i64 %sv_1.0.reload to i64* %67 = add i64 %sv_1.0.reload, 8 %68 = inttoptr i64 %67 to i32* %69 = add i64 %sv_1.0.reload, 16 %70 = inttoptr i64 %69 to i64* store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge8.reg2mem store i32 0, i32* %sv_3.17.reg2mem br label LBL_4 LBL_18: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %71 = load i64, i64* @gv_1, align 8 %72 = icmp eq i64 %71, 0 br i1 %72, label LBL_20, label LBL_19 LBL_19: %73 = inttoptr i64 %71 to i64* call void @free(i64* %73) br label LBL_20 LBL_20: store i32 %sv_0.1.reload, i32* bitcast (i64* @gv_2 to i32*), align 8 store i64 %14, i64* @gv_1, align 8 %74 = bitcast i64* %sv_4 to i8* call void @FUNC(i8* bitcast (i8** @gv_3 to i8*), i8* nonnull %74, i64 400) %75 = call i32 @fclose(%_IO_FILE* %3) store i64 0, i64* %rax.0.reg2mem br label LBL_21 LBL_21: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %68, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %52, { 1, 0 } uselistorder i64 %51, { 1, 3, 0, 2 } uselistorder i64 %50, { 0, 2, 3, 1 } uselistorder i32 %24, { 1, 0 } uselistorder i8 %22, { 2, 0, 1, 3 } uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 } uselistorder i32 %sv_3.17.reload, { 1, 3, 2, 0, 4 } uselistorder i64 %14, { 1, 0 } uselistorder %_IO_FILE* %3, { 2, 3, 1, 0, 4, 5 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 } uselistorder i32* %storemerge8.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_3.17.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_3.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32* %sv_3.16.reg2mem, { 0, 2, 3, 1 } uselistorder i32* %storemerge4.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 2, 1, 0 } uselistorder i1 false, { 4, 5, 0, 1, 2, 3, 6 } uselistorder label LBL_21, { 1, 2, 3, 0 } uselistorder label LBL_18, { 2, 0, 1 } uselistorder label LBL_12, { 0, 2, 1 } uselistorder label LBL_10, { 2, 0, 1 } }
0
BinRealVul
gdImageScaleTwoPass_13468
gdImageScaleTwoPass
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %sext2 = mul i64 %arg3, 4294967296 %3 = ashr exact i64 %sext2, 32 %4 = trunc i64 %1 to i32 %5 = add i64 %arg1, 4 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %4, %2 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_1 LBL_1: %10 = trunc i64 %3 to i32 %11 = icmp eq i32 %7, %10 %12 = icmp eq i1 %11, false br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %arg1) store i64 %13, i64* %rax.0.reg2mem br label LBL_15 LBL_3: %14 = add i64 %arg1, 8 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = icmp eq i32 %16, 0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = call i64 @FUNC(i64 %arg1) br label LBL_5 LBL_5: %sext = mul i64 %arg2, 4294967296 %20 = ashr exact i64 %sext, 32 %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %4, %21 %23 = icmp eq i1 %22, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %23, label LBL_6, label LBL_8 LBL_6: %24 = zext i32 %7 to i64 %25 = and i64 %20, 4294967295 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false store i64 0, i64* %rax.0.reg2mem br i1 %28, label LBL_7, label LBL_15 LBL_7: %29 = add i64 %arg1, 12 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %26, i64 %32) %34 = call i64 @FUNC(i64 %arg1, i32 %4, i64 %26, i32 %21, i64 %24, i64 0) store i64 %26, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %35 = trunc i64 %3 to i32 %36 = icmp eq i32 %7, %35 %37 = icmp eq i1 %36, false br i1 %37, label LBL_11, label LBL_9 LBL_9: %38 = icmp eq i64 %sv_0.0.reload, %arg1 %39 = icmp eq i1 %38, false store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br i1 %39, label LBL_15, label LBL_10 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0)) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_15 LBL_11: %40 = and i64 %3, 4294967295 %41 = and i64 %20, 4294967295 %42 = call i64 @FUNC(i64 %41, i64 %40) %43 = icmp eq i64 %42, 0 br i1 %43, label LBL_13, label LBL_12 LBL_12: %44 = add i64 %arg1, 12 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = zext i32 %46 to i64 %48 = call i64 @FUNC(i64 %42, i64 %47) %49 = call i64 @FUNC(i64 %sv_0.0.reload, i32 %7, i64 %42, i32 %35, i64 %41, i64 1) br label LBL_13 LBL_13: %50 = icmp eq i64 %sv_0.0.reload, %arg1 store i64 %42, i64* %rax.0.reg2mem br i1 %50, label LBL_15, label LBL_14 LBL_14: %51 = call i64 @FUNC(i64 %sv_0.0.reload) store i64 %42, 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 %42, { 1, 0, 3, 2, 4 } uselistorder i64 %sv_0.0.reload, { 2, 5, 3, 1, 0, 4 } uselistorder i64 %26, { 0, 2, 1, 3 } uselistorder i64 %20, { 0, 2, 1 } uselistorder i32 %4, { 2, 1, 0 } uselistorder i64 %3, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5, 6 } uselistorder i64 (i64, i32, i64, i32, i64, i64)* @_gdScalePass, { 1, 0 } uselistorder i64 (i64, i64)* @gdImageSetInterpolationMethod, { 1, 0 } uselistorder i64 4294967295, { 2, 3, 1, 0 } uselistorder i32 1, { 4, 3, 2, 1, 0, 6, 7, 5 } uselistorder i64 %arg1, { 1, 4, 3, 5, 6, 0, 8, 7, 2, 9 } uselistorder label LBL_15, { 1, 0, 3, 2, 4, 5 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
dimC_box_read_7152
dimC_box_read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.1.lcssa.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %sv_0.0.lcssa.reg2mem = alloca i32 %indvars.iv10.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 3) %3 = call i64 @FUNC(i64 %0) %4 = trunc i64 %3 to i8 %5 = add i64 %1, 4 %6 = inttoptr i64 %5 to i8* store i8 %4, i8* %6, align 1 %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i8 %9 = add i64 %1, 5 %10 = inttoptr i64 %9 to i8* store i8 %8, i8* %10, align 1 %11 = call i64 @FUNC(i64 %0, i64 4) %12 = trunc i64 %11 to i32 %13 = add i64 %1, 8 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = call i64 @FUNC(i64 %0, i64 1) %16 = trunc i64 %15 to i32 %17 = add i64 %1, 12 %18 = inttoptr i64 %17 to i32* store i32 %16, i32* %18, align 4 %19 = call i64 @FUNC(i64 %0, i64 1) %20 = trunc i64 %19 to i32 %21 = add i64 %1, 16 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 %23 = call i64 @FUNC(i64 %0, i64 2) %24 = trunc i64 %23 to i32 %25 = add i64 %1, 20 %26 = inttoptr i64 %25 to i32* store i32 %24, i32* %26, align 4 %27 = bitcast i64* %rdi to i32* %28 = load i32, i32* %27, align 8 %29 = add i32 %28, 1 %30 = zext i32 %29 to i64 %31 = call i64 @FUNC(i64 %30) %32 = icmp eq i64 %31, 0 %33 = icmp eq i1 %32, false store i64 1, i64* %rax.0.reg2mem br i1 %33, label LBL_1, label LBL_17 LBL_1: %34 = inttoptr i64 %31 to i8* %35 = zext i32 %28 to i64 %36 = add i64 %31, %35 %37 = inttoptr i64 %36 to i8* store i8 0, i8* %37, align 1 store i8 0, i8* %34, align 1 %38 = icmp eq i32 %28, 0 store i64 0, i64* %indvars.iv10.reg2mem store i32 0, i32* %sv_0.0.lcssa.reg2mem br i1 %38, label LBL_6, label LBL_2 LBL_2: %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem %39 = call i64 @FUNC(i64 %1, i64 1) %40 = call i64 @FUNC(i64 %0) %41 = add i64 %indvars.iv10.reload, %31 %42 = trunc i64 %40 to i8 %43 = inttoptr i64 %41 to i8* store i8 %42, i8* %43, align 1 %44 = icmp eq i8 %42, 0 br i1 %44, label LBL_2.LBL_6_crit_edge, label LBL_3 LBL_3: %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1 %45 = icmp ult i64 %indvars.iv.next11, %35 store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem br i1 %45, label LBL_2, label LBL_5 LBL_4: %46 = trunc i64 %indvars.iv10.reload to i32 store i32 %46, i32* %sv_0.0.lcssa.reg2mem br label LBL_6 LBL_5: %47 = trunc i64 %indvars.iv.next11 to i32 store i32 %47, i32* %sv_0.0.lcssa.reg2mem br label LBL_6 LBL_6: %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %48 = icmp eq i32 %sv_0.0.lcssa.reload, %28 %49 = icmp eq i1 %48, false br i1 %49, label LBL_8, label LBL_7 LBL_7: %50 = call i64 @FUNC(i64 %31) store i64 2, i64* %rax.0.reg2mem br label LBL_17 LBL_8: %51 = call i64 @FUNC(i64 %31) %52 = add i64 %1, 24 %53 = inttoptr i64 %52 to i64* store i64 %51, i64* %53, align 8 store i8 0, i8* %34, align 1 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %sv_0.1.lcssa.reg2mem br i1 %38, label LBL_13, label LBL_9 LBL_9: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %54 = call i64 @FUNC(i64 %1, i64 1) %55 = call i64 @FUNC(i64 %0) %56 = add i64 %indvars.iv.reload, %31 %57 = trunc i64 %55 to i8 %58 = inttoptr i64 %56 to i8* store i8 %57, i8* %58, align 1 %59 = icmp eq i8 %57, 0 br i1 %59, label LBL_9.LBL_13_crit_edge, label LBL_10 LBL_10: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %60 = icmp ult i64 %indvars.iv.next, %35 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %60, label LBL_9, label LBL_12 LBL_11: %61 = trunc i64 %indvars.iv.reload to i32 store i32 %61, i32* %sv_0.1.lcssa.reg2mem br label LBL_13 LBL_12: %62 = trunc i64 %indvars.iv.next to i32 store i32 %62, i32* %sv_0.1.lcssa.reg2mem br label LBL_13 LBL_13: %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem %63 = icmp eq i32 %sv_0.1.lcssa.reload, %28 %64 = icmp eq i1 %63, false br i1 %64, label LBL_15, label LBL_14 LBL_14: %65 = call i64 @FUNC(i64 %31) store i64 2, i64* %rax.0.reg2mem br label LBL_17 LBL_15: %66 = call i64 @FUNC(i64 %31) %67 = add i64 %1, 32 %68 = inttoptr i64 %67 to i64* store i64 %66, i64* %68, align 8 %69 = call i64 @FUNC(i64 %31) %70 = load i64, i64* %53, align 8 %71 = icmp eq i64 %70, 0 store i64 1, i64* %rax.0.reg2mem br i1 %71, label LBL_17, label LBL_16 LBL_16: %72 = load i64, i64* %68, align 8 %73 = icmp eq i64 %72, 0 %spec.select = zext i1 %73 to i64 ret i64 %spec.select LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.next, { 1, 0, 2 } uselistorder i64 %indvars.iv.reload, { 2, 0, 1 } uselistorder i64 %indvars.iv.next11, { 1, 0, 2 } uselistorder i64 %indvars.iv10.reload, { 2, 0, 1 } uselistorder i64 %31, { 3, 5, 4, 0, 7, 6, 1, 2, 8, 9 } uselistorder i32 %28, { 2, 1, 3, 0, 4 } uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 (i64)* @gf_strdup, { 1, 0 } uselistorder i64 (i64)* @gf_free, { 2, 1, 0 } uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE_GOTO_EXIT, { 1, 0 } uselistorder i64 (i64)* @gf_malloc, { 1, 0 } uselistorder i64 2, { 1, 0, 2 } uselistorder i64 1, { 0, 3, 4, 2, 5, 1, 6, 7, 8 } uselistorder i64 (i64, i64)* @gf_bs_read_int, { 3, 2, 1, 0 } uselistorder i64 (i64)* @gf_bs_read_u8, { 3, 2, 1, 0 } uselistorder label LBL_17, { 0, 2, 3, 1 } uselistorder label LBL_13, { 1, 2, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_6, { 1, 2, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
nfc_llcp_accept_enqueue_10008
nfc_llcp_accept_enqueue
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 = call i64 @FUNC(i64 %1) %4 = call i64 @FUNC(i64 %0) %5 = add i64 %3, 8 %6 = add i64 %2, 8 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = inttoptr i64 %2 to i64* store i64 %1, i64* %8, align 8 %9 = call i64 @FUNC(i64 %1) ret i64 %9 uselistorder i64 (i64)* @nfc_llcp_sock, { 1, 0 } }
0
BinRealVul
tcp_start_incoming_migration_16649
tcp_start_incoming_migration
define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i8* %arg1 to i64 %4 = call i64 @FUNC(i64 %3, i64 0, i64 256, i64 1, i64 0, i64 %2, i64 %1) %5 = trunc i64 %4 to i32 %6 = icmp slt i32 %5, 0 store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %4, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = and i64 %4, 4294967295 %9 = call i64 @FUNC(i64 %8, i64 0, i64 4198770, i64 0, i64 %7) store i64 %9, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %4, { 2, 1, 0, 3 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
af_alg_release_5627
af_alg_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64* %arg1, null br i1 %0, label LBL_2, label LBL_1 LBL_1: %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 0, i64* %arg1, align 8 br label LBL_2 LBL_2: ret i64 0 uselistorder i64* %arg1, { 0, 2, 1 } }
0
BinRealVul
add_ch_12447
add_ch
define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp ult i32 %arg3, 1024 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = zext i32 %arg3 to i64 %5 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 1024, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %6 = ptrtoint i64* %arg2 to i64 %7 = trunc i64 %arg1 to i8 %8 = icmp eq i8 %7, 9 %9 = icmp ult i32 %arg3, 1022 %or.cond = icmp eq i1 %8, %9 br i1 %or.cond, label LBL_3, label LBL_4 LBL_3: %10 = zext i32 %arg3 to i64 %11 = add i64 %10, %6 %12 = inttoptr i64 %11 to i8* store i8 92, i8* %12, align 1 %13 = add i32 %arg3, 1 %14 = zext i32 %13 to i64 %15 = add i64 %14, %6 %16 = inttoptr i64 %15 to i8* store i8 116, i8* %16, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %17 = icmp eq i8 %7, 10 %or.cond4 = icmp eq i1 %17, %9 br i1 %or.cond4, label LBL_5, label LBL_6 LBL_5: %18 = zext i32 %arg3 to i64 %19 = add i64 %18, %6 %20 = inttoptr i64 %19 to i8* store i8 92, i8* %20, align 1 %21 = add i32 %arg3, 1 %22 = zext i32 %21 to i64 %23 = add i64 %22, %6 %24 = inttoptr i64 %23 to i8* store i8 110, i8* %24, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %25 = icmp eq i8 %7, 13 %or.cond6 = icmp eq i1 %25, %9 br i1 %or.cond6, label LBL_7, label LBL_8 LBL_7: %26 = zext i32 %arg3 to i64 %27 = add i64 %26, %6 %28 = inttoptr i64 %27 to i8* store i8 92, i8* %28, align 1 %29 = add i32 %arg3, 1 %30 = zext i32 %29 to i64 %31 = add i64 %30, %6 %32 = inttoptr i64 %31 to i8* store i8 114, i8* %32, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_10 LBL_8: %.off = add i8 %7, -32 %33 = icmp ult i8 %.off, 95 store i64 0, i64* %rax.0.reg2mem br i1 %33, label LBL_9, label LBL_10 LBL_9: %34 = zext i32 %arg3 to i64 %35 = add i64 %34, %6 %36 = inttoptr i64 %35 to i8* store i8 %7, i8* %36, align 1 store i64 1, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8 %7, { 1, 0, 2, 3, 4 } uselistorder i64 %6, { 6, 4, 5, 2, 3, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 5, 6, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i32 %arg3, { 8, 1, 7, 2, 6, 3, 5, 4, 0, 9 } uselistorder label LBL_10, { 1, 0, 2, 3, 4, 5 } }
1
BinRealVul
mg_send_digest_auth_request_18094
mg_send_digest_auth_request
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i64* %arg1 to i32* store i32 401, i32* %4, align 4 %5 = call i32 @time(i32* null) %6 = sext i32 %5 to i64 %7 = add i64 %3, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %6, i64 %2, i64 %1) ret i64 %14 uselistorder i64* %0, { 1, 0 } }
1
BinRealVul
was_set_insecurely_9859
was_set_insecurely
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = and i64 %arg2, 4294967295 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5, i64 %4) %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 2 %10 = icmp eq i32 %9, 0 %11 = icmp eq i1 %10, false %12 = zext i1 %11 to i64 store i64 %12, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %13 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @globalFUNCvarFUNC402018, i64 0, i64 0)) %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
addMultirowsForm_18996
addMultirowsForm
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = alloca i32 %rax.0.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %storemerge621.reg2mem = alloca i32 %.reg2mem57 = alloca i64 %.pre-phi.reg2mem = alloca i32* %storemerge52747.reg2mem = alloca i32 %sv_0.02248.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %storemerge72046.reg2mem = alloca i64 %storemerge919.reg2mem = alloca i64 %rdi.329.reg2mem = alloca i64 %storemerge31.reg2mem = alloca i32 %.reg2mem55 = alloca i64 %.reg2mem = alloca i64 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_2 = alloca i32*, align 8 %4 = load i32, i32* %1 %5 = load i32, i32* %1 %6 = load i32, i32* %1 %sv_3 = alloca i64, align 8 store i64 %3, i64* %sv_3, align 8 %7 = icmp eq i64* %arg2, null br i1 %7, label LBL_23, label LBL_1 LBL_1: %8 = trunc i64 %2 to i32 %9 = icmp eq i32 %8, 0 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_23, label LBL_2 LBL_2: %10 = ptrtoint i64* %arg1 to i64 %11 = ptrtoint i64* %sv_3 to i64 %12 = bitcast i64* %rsi to i32* %13 = zext i32 %5 to i64 %14 = zext i32 %4 to i64 %15 = add i64 %10, 8 %16 = inttoptr i64 %15 to i64* %17 = add i64 %10, 16 %18 = inttoptr i64 %17 to i64* %19 = add i64 %11, -16 %20 = inttoptr i64 %19 to i64* %21 = add i64 %11, -24 %22 = inttoptr i64 %21 to i64* %23 = add i64 %11, -32 %24 = inttoptr i64 %23 to i64* %25 = bitcast i32** %sv_2 to i64* store i64 %3, i64* %.reg2mem store i64 0, i64* %.reg2mem55 store i32 0, i32* %storemerge31.reg2mem store i64 %10, i64* %rdi.329.reg2mem br label LBL_3 LBL_3: %rdi.329.reload = load i64, i64* %rdi.329.reg2mem %storemerge31.reload = load i32, i32* %storemerge31.reg2mem %.reload56 = load i64, i64* %.reg2mem55 %.reload = load i64, i64* %.reg2mem %26 = add i64 %.reload, 8 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = mul nsw i64 %.reload56, 48 %30 = add i64 %28, %29 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = add i64 %30, 8 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = trunc i64 %32 to i32 %37 = trunc i64 %35 to i32 %38 = add i64 %30, 24 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = add i64 %30, 40 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %30, 32 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = trunc i64 %43 to i32 %48 = inttoptr i64 %41 to i32* store i32 1, i32* %48, align 4 %49 = icmp sgt i32 %36, -1 %50 = icmp sgt i32 %47, 1 %or.cond.not = icmp eq i1 %49, %50 %51 = icmp eq i64 %rdi.329.reload, 0 %52 = icmp eq i1 %51, false %or.cond41 = icmp eq i1 %52, %or.cond.not store i64 %rdi.329.reload, i64* %storemerge919.reg2mem store i64 %rdi.329.reload, i64* %rdi.2.reg2mem br i1 %or.cond41, label LBL_4, label LBL_21 LBL_4: %storemerge919.reload = load i64, i64* %storemerge919.reg2mem %53 = inttoptr i64 %storemerge919.reload to i32* %54 = load i32, i32* %53, align 4 %55 = icmp eq i32 %54, %6 br i1 %55, label LBL_6, label LBL_5 LBL_5: %56 = add i64 %storemerge919.reload, 24 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 0 %60 = icmp eq i1 %59, false store i64 %58, i64* %storemerge919.reg2mem store i64 %rdi.329.reload, i64* %rdi.2.reg2mem br i1 %60, label LBL_4, label LBL_21 LBL_6: %61 = icmp eq i32 %6, %37 %62 = icmp eq i1 %61, false store i64 %storemerge919.reload, i64* %sv_1.0.reg2mem br i1 %62, label LBL_7, label LBL_11 LBL_7: %63 = icmp eq i64 %storemerge919.reload, 0 %64 = icmp eq i1 %63, false store i64 %rdi.329.reload, i64* %rdi.2.reg2mem br i1 %64, label LBL_8, label LBL_21 LBL_8: %65 = icmp ult i32 %6, %37 %storemerge8.in.in.v = select i1 %65, i64 24, i64 32 store i64 %storemerge919.reload, i64* %storemerge72046.reg2mem br label LBL_9 LBL_9: %storemerge72046.reload = load i64, i64* %storemerge72046.reg2mem %storemerge8.in.in = add i64 %storemerge72046.reload, %storemerge8.in.in.v %storemerge8.in = inttoptr i64 %storemerge8.in.in to i64* %storemerge8 = load i64, i64* %storemerge8.in, align 8 %66 = icmp eq i64 %storemerge8, 0 %67 = icmp eq i1 %66, false store i64 %rdi.329.reload, i64* %rdi.2.reg2mem br i1 %67, label LBL_9.dec_label_pc_4012b6_crit_edge, label LBL_21 LBL_10: %.phi.trans.insert = inttoptr i64 %storemerge8 to i32* %.pre38 = load i32, i32* %.phi.trans.insert, align 4 %68 = icmp eq i32 %.pre38, %37 store i64 %storemerge8, i64* %storemerge72046.reg2mem store i64 %storemerge8, i64* %sv_1.0.reg2mem br i1 %68, label LBL_11, label LBL_9 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %69 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %13) %70 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %14) %71 = icmp eq i64 %storemerge919.reload, 0 store i64 %sv_1.0.reload, i64* %rdi.2.reg2mem br i1 %71, label LBL_21, label LBL_12 LBL_12: %72 = and i64 %43, 4294967295 %73 = trunc i64 %70 to i32 %74 = trunc i64 %69 to i32 %75 = and i64 %69, 4294967295 %sext = mul i64 %32, 4294967296 %76 = ashr exact i64 %sext, 29 %77 = or i64 %76, 4 %78 = sub i32 %73, %74 %79 = icmp eq i64 %72, 0 store i64 %storemerge919.reload, i64* %sv_0.02248.reg2mem store i32 0, i32* %storemerge52747.reg2mem store i64 %sv_1.0.reload, i64* %rdi.2.reg2mem br i1 %79, label LBL_21, label LBL_13 LBL_13: %storemerge52747.reload = load i32, i32* %storemerge52747.reg2mem %sv_0.02248.reload = load i64, i64* %sv_0.02248.reg2mem %80 = call i64 @FUNC(i64 %sv_0.02248.reload, i64 %75) %81 = trunc i64 %80 to i32 %82 = icmp eq i32 %storemerge52747.reload, 0 %83 = icmp eq i1 %82, false br i1 %83, label LBL_13.LBL_16_crit_edge, label LBL_15 LBL_14: %.pre39 = inttoptr i64 %sv_0.02248.reload to i32* store i32* %.pre39, i32** %.pre-phi.reg2mem br label LBL_16 LBL_15: %84 = load i64, i64* %16, align 8 %85 = inttoptr i64 %84 to i64* %86 = load i64, i64* %85, align 8 %87 = add i64 %86, %76 %88 = inttoptr i64 %sv_0.02248.reload to i32* %89 = load i32, i32* %88, align 4 %90 = inttoptr i64 %87 to i32* store i32 %89, i32* %90, align 4 %91 = load i64, i64* %16, align 8 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = add i64 %93, %77 %95 = inttoptr i64 %94 to i32* store i32 %81, i32* %95, align 4 store i32* %88, i32** %.pre-phi.reg2mem br label LBL_16 LBL_16: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %96 = load i32, i32* %.pre-phi.reload, align 4 %97 = icmp eq i32 %96, %37 store i64 %sv_0.02248.reload, i64* %rdi.0.reg2mem br i1 %97, label LBL_20, label LBL_17 LBL_17: %98 = zext i32 %96 to i64 %99 = load i64, i64* %18, align 8 %100 = and i64 %80, 4294967295 store i64 %100, i64* %20, align 8 store i64 %98, i64* %22, align 8 store i64 0, i64* %24, align 8 %sext12 = mul i64 %80, 4294967296 %101 = ashr exact i64 %sext12, 32 %102 = call i64 @FUNC(i64 %99, i64 %40, i64 %46, i64* nonnull %25, i64 0, i64 0, i64 %101) store i64 %102, i64* %18, align 8 %103 = load i32*, i32** %sv_2, align 8 store i32 %36, i32* %103, align 4 %104 = load i32*, i32** %sv_2, align 8 %105 = ptrtoint i32* %104 to i64 %106 = add i64 %105, 4 %107 = inttoptr i64 %106 to i32* %108 = load i32*, i32** %sv_2, align 8 %109 = ptrtoint i32* %108 to i64 %110 = add i32 %78, %81 %111 = add i64 %109, 20 %112 = inttoptr i64 %111 to i32* store i32 %110, i32* %112, align 4 %113 = add i64 %sv_0.02248.reload, 8 %114 = inttoptr i64 %113 to i64* %115 = load i64, i64* %114, align 8 %116 = add nsw i64 %101, -1 %117 = add i64 %116, %115 %118 = inttoptr i64 %117 to i8* store i8 91, i8* %118, align 1 %119 = load i64, i64* %114, align 8 %120 = load i32*, i32** %sv_2, align 8 %121 = ptrtoint i32* %120 to i64 %122 = add i64 %121, 20 %123 = inttoptr i64 %122 to i32* %124 = load i32, i32* %123, align 4 %125 = sext i32 %124 to i64 %126 = add i64 %119, %125 %127 = inttoptr i64 %126 to i8* store i8 93, i8* %127, align 1 %128 = load i32*, i32** %sv_2, align 8 %129 = ptrtoint i32* %128 to i64 %130 = add i64 %129, 20 %131 = inttoptr i64 %130 to i32* %132 = load i32, i32* %131, align 4 %133 = zext i32 %132 to i64 %134 = icmp slt i64 %101, %133 store i64 %99, i64* %rdi.0.reg2mem br i1 %134, label LBL_18, label LBL_20 LBL_18: %135 = add i64 %sv_0.02248.reload, 16 %136 = inttoptr i64 %135 to i64* store i64 %101, i64* %.reg2mem57 store i32 %81, i32* %storemerge621.reg2mem br label LBL_19 LBL_19: %storemerge621.reload = load i32, i32* %storemerge621.reg2mem %.reload58 = load i64, i64* %.reg2mem57 %137 = load i64, i64* %136, align 8 %138 = add i64 %137, %.reload58 %139 = inttoptr i64 %138 to i8* %140 = load i8, i8* %139, align 1 %141 = or i8 %140, 1 store i8 %141, i8* %139, align 1 %142 = add i32 %storemerge621.reload, 1 %143 = load i32*, i32** %sv_2, align 8 %144 = ptrtoint i32* %143 to i64 %145 = add i64 %144, 20 %146 = inttoptr i64 %145 to i32* %147 = load i32, i32* %146, align 4 %148 = zext i32 %147 to i64 %149 = sext i32 %142 to i64 %150 = icmp slt i64 %149, %148 store i64 %149, i64* %.reg2mem57 store i32 %142, i32* %storemerge621.reg2mem store i64 %99, i64* %rdi.0.reg2mem br i1 %150, label LBL_19, label LBL_20 LBL_20: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %151 = add i64 %sv_0.02248.reload, 24 %152 = inttoptr i64 %151 to i64* %153 = load i64, i64* %152, align 8 %154 = add i32 %storemerge52747.reload, 1 %155 = icmp ne i64 %153, 0 %156 = sext i32 %154 to i64 %157 = icmp sgt i64 %72, %156 %or.cond = icmp eq i1 %155, %157 store i64 %153, i64* %sv_0.02248.reg2mem store i32 %154, i32* %storemerge52747.reg2mem store i64 %rdi.0.reload, i64* %rdi.2.reg2mem br i1 %or.cond, label LBL_13, label LBL_21 LBL_21: %158 = add i32 %storemerge31.reload, 1 %159 = load i32, i32* %12, align 8 %160 = zext i32 %159 to i64 %161 = sext i32 %158 to i64 %162 = icmp slt i64 %161, %160 store i64 %160, i64* %rax.0.reg2mem br i1 %162, label LBL_21.LBL_3_crit_edge, label LBL_23 LBL_22: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %.pre = load i64, i64* %sv_3, align 8 store i64 %.pre, i64* %.reg2mem store i64 %161, i64* %.reg2mem55 store i32 %158, i32* %storemerge31.reg2mem store i64 %rdi.2.reload, i64* %rdi.329.reg2mem br label LBL_3 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %96, { 1, 0 } uselistorder i64 %sv_0.02248.reload, { 2, 3, 4, 0, 6, 1, 5 } uselistorder i32 %storemerge52747.reload, { 1, 0 } uselistorder i64 %storemerge919.reload, { 0, 6, 2, 5, 1, 3, 4 } uselistorder i32 %36, { 1, 0 } uselistorder i64 %30, { 4, 3, 2, 1, 0 } uselistorder i64 %rdi.329.reload, { 1, 2, 0, 3, 4, 5 } uselistorder i64 %11, { 2, 1, 0 } uselistorder i64 %10, { 0, 2, 1 } uselistorder i64* %sv_3, { 0, 2, 1 } uselistorder i32** %sv_2, { 5, 0, 4, 3, 2, 1, 6 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem55, { 1, 0, 2 } uselistorder i32* %storemerge31.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.329.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge919.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge72046.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.02248.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge52747.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem57, { 1, 0, 2 } uselistorder i32* %storemerge621.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.2.reg2mem, { 0, 3, 4, 6, 2, 5, 1, 7 } uselistorder i32* %1, { 2, 1, 0 } uselistorder i64 20, { 1, 0, 2, 3 } uselistorder i64 4, { 1, 0 } uselistorder i64 (i64, i64)* @COLPOS, { 1, 0 } uselistorder i1 false, { 2, 3, 1, 4, 5, 0 } uselistorder i64 32, { 1, 0, 2 } uselistorder i64 24, { 1, 0, 2, 3 } uselistorder i64 8, { 0, 2, 3, 1 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder label LBL_23, { 0, 2, 1 } uselistorder label LBL_21, { 0, 3, 6, 2, 5, 1, 4 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_16, { 1, 0 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
close_rnic_dev_17857
close_rnic_dev
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.in.in.reg2mem = alloca i64* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3, i64 %2, i64 %1) %5 = call i64 @FUNC(i64* nonnull @gv_2) store i64* @gv_3, i64** %sv_0.0.in.in.reg2mem br label LBL_3 LBL_1: %sv_0.0 = add i64 %sv_0.0.in, -8 %storemerge.in.in = inttoptr i64 %sv_0.0.in to i64* %6 = inttoptr i64 %sv_0.0 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, %arg1 %9 = icmp eq i1 %8, false store i64* %storemerge.in.in, i64** %sv_0.0.in.in.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %sv_0.0.in, 16 %11 = call i64 @FUNC(i64 %10) %12 = call i64 @FUNC(i64 %sv_0.0.in) %13 = call i64 @FUNC(i64 %sv_0.0) %14 = call i64 @FUNC(i64 %sv_0.0) %15 = add i64 %sv_0.0.in, 32 %16 = call i64 @FUNC(i64 %15) %17 = add i64 %sv_0.0.in, 36 %18 = call i64 @FUNC(i64 %17) %19 = add i64 %sv_0.0.in, 40 %20 = call i64 @FUNC(i64 %19) %21 = add i64 %sv_0.0.in, 24 %22 = call i64 @FUNC(i64 %21) br label LBL_4 LBL_3: %sv_0.0.in.in.reload = load i64*, i64** %sv_0.0.in.in.reg2mem %sv_0.0.in = load i64, i64* %sv_0.0.in.in.reload, align 8 %23 = icmp eq i64 %sv_0.0.in, ptrtoint (i64* @gv_3 to i64) %24 = icmp eq i1 %23, false br i1 %24, label LBL_1, label LBL_4 LBL_4: %25 = call i64 @FUNC(i64* nonnull @gv_2) ret i64 %25 uselistorder i64 %sv_0.0.in, { 7, 6, 8, 1, 0, 2, 3, 4, 5 } uselistorder i64 %sv_0.0, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64)* @idr_destroy, { 2, 1, 0 } uselistorder i1 false, { 1, 0 } uselistorder i64* @gv_3, { 1, 0 } uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 10, 1, 0 } }
1
BinRealVul
address_space_update_topology_14889
address_space_update_topology
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = call i64 @FUNC(i64 %0, i64 1) %4 = call i64 @FUNC(i64* nonnull %sv_0) %5 = call i64 @FUNC(i64 %0) ret i64 %5 uselistorder i64 (i64, i64)* @address_space_update_topology_pass, { 1, 0 } }
1
BinRealVul
mpegts_probe_725
mpegts_probe
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i32* %5 = load i32, i32* %4, align 4 %6 = sext i32 %5 to i64 %7 = mul nsw i64 %6, -1600085855 %8 = udiv i64 %7, 4294967296 %9 = trunc i64 %8 to i32 %10 = add i32 %5, %9 %11 = ashr i32 %10, 7 %12 = ashr i32 %5, 31 %13 = sub nsw i32 %11, %12 %14 = icmp sgt i32 %13, 9 store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %14, label LBL_1, label LBL_8 LBL_1: %15 = mul i32 %13, 188 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %2, i64 %16, i64 188, i64 0, i64 1) %18 = mul i64 %17, 10 %19 = trunc i64 %18 to i32 %20 = ashr i32 %19, 31 %21 = and i64 %18, 4294967294 %22 = zext i32 %20 to i64 %23 = mul i64 %22, 4294967296 %24 = or i64 %23, %21 %25 = zext i32 %13 to i64 %26 = sdiv i64 %24, %25 %27 = trunc i64 %26 to i32 %28 = mul i32 %13, 192 %29 = zext i32 %28 to i64 %30 = call i64 @FUNC(i64 %2, i64 %29, i64 192, i64 0, i64 1) %31 = mul i64 %30, 10 %32 = trunc i64 %31 to i32 %33 = ashr i32 %32, 31 %34 = and i64 %31, 4294967294 %35 = zext i32 %33 to i64 %36 = mul i64 %35, 4294967296 %37 = or i64 %36, %34 %38 = sdiv i64 %37, %25 %39 = trunc i64 %38 to i32 %40 = mul i32 %13, 204 %41 = zext i32 %40 to i64 %42 = call i64 @FUNC(i64 %2, i64 %41, i64 204, i64 0, i64 1) %43 = mul i64 %42, 10 %44 = trunc i64 %43 to i32 %45 = ashr i32 %44, 31 %46 = and i64 %43, 4294967294 %47 = zext i32 %45 to i64 %48 = mul i64 %47, 4294967296 %49 = or i64 %48, %46 %50 = sdiv i64 %49, %25 %51 = trunc i64 %50 to i32 %52 = and i64 %50, 4294967295 %53 = and i64 %38, 4294967295 %54 = and i64 %26, 4294967295 %55 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %54, i64 %53, i64 %52, i64 %1) %56 = icmp sgt i32 %27, %51 br i1 %56, label LBL_2, label LBL_4 LBL_2: %57 = icmp sle i32 %27, %39 %58 = icmp slt i32 %27, 7 %or.cond = or i1 %58, %57 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %59 = add i64 %26, 90 store i64 %59, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_4: %60 = icmp sgt i32 %39, %27 br i1 %60, label LBL_5, label LBL_7 LBL_5: %61 = icmp sle i32 %39, %51 %62 = icmp slt i32 %39, 7 %or.cond3 = or i1 %62, %61 br i1 %or.cond3, label LBL_7, label LBL_6 LBL_6: %63 = add i64 %38, 90 store i64 %63, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_7: %64 = icmp slt i32 %51, 7 %65 = add i64 %50, 90 %spec.select = select i1 %64, i64 4294967295, i64 %65 store i64 %spec.select, i64* %rax.0.shrunk.reg2mem br label LBL_8 LBL_8: %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295 ret i64 %rax.0 uselistorder i32 %39, { 2, 1, 0, 3 } uselistorder i32 %27, { 0, 2, 1, 3 } uselistorder i32 %5, { 1, 0, 2 } uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 90, { 2, 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @analyze, { 2, 1, 0 } uselistorder i32 7, { 2, 0, 1, 3 } uselistorder i64 4294967296, { 0, 1, 2, 4, 3 } uselistorder label LBL_8, { 0, 2, 3, 1 } }
0
BinRealVul
encode_share_access_11221
encode_share_access
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i32* %0 = call i64* @malloc(i32 8) %1 = bitcast i64* %0 to i32* %2 = urem i64 %arg2, 4 %3 = icmp eq i64 %2, 3 br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = trunc i64 %2 to i32 switch i32 %4, label LBL_5 [ i32 1, label LBL_2 i32 2, label LBL_3 ] LBL_2: %5 = call i32 @htonl(i32 1) %6 = ptrtoint i64* %0 to i64 %7 = add i64 %6, 4 %8 = inttoptr i64 %7 to i32* store i32 %5, i32* %1, align 4 store i32* %8, i32** %sv_0.0.reg2mem br label LBL_6 LBL_3: %9 = call i32 @htonl(i32 2) %10 = ptrtoint i64* %0 to i64 %11 = add i64 %10, 4 %12 = inttoptr i64 %11 to i32* store i32 %9, i32* %1, align 4 store i32* %12, i32** %sv_0.0.reg2mem br label LBL_6 LBL_4: %13 = call i32 @htonl(i32 3) %14 = ptrtoint i64* %0 to i64 %15 = add i64 %14, 4 %16 = inttoptr i64 %15 to i32* store i32 %13, i32* %1, align 4 store i32* %16, i32** %sv_0.0.reg2mem br label LBL_6 LBL_5: %17 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0)) store i32* %1, i32** %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %18 = call i32 @htonl(i32 0) %19 = ptrtoint i32* %sv_0.0.reload to i64 store i32 %18, i32* %sv_0.0.reload, align 4 ret i64 %19 uselistorder i64 %2, { 1, 0 } uselistorder i32* %1, { 0, 3, 1, 2 } uselistorder i64* %0, { 0, 2, 1, 3 } uselistorder i32** %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i32 (i32)* @htonl, { 3, 2, 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder i64 4, { 1, 2, 3, 0 } }
1
BinRealVul
ocfs2_local_alloc_slide_window_7576
ocfs2_local_alloc_slide_window
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.01.reg2mem = alloca i64 %sv_1.02.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 store i64 0, i64* %sv_4, align 8 store i64 0, i64* %sv_3, align 8 store i64 0, i64* %sv_2, align 8 %1 = call i64 @FUNC() %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64* nonnull %sv_3, i64* nonnull %sv_4) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = icmp eq i32 %3, -1 store i64 0, i64* %sv_1.02.reg2mem store i64 %2, i64* %sv_0.01.reg2mem br i1 %6, label LBL_19, label LBL_2 LBL_2: %7 = and i64 %2, 4294967295 %8 = call i64 @FUNC(i64 %7) store i64 0, i64* %sv_1.02.reg2mem store i64 %2, i64* %sv_0.01.reg2mem br label LBL_19 LBL_3: %9 = call i64 @FUNC(i64 %0, i64 0) %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = call i64 @FUNC(i64 %9) %14 = and i64 %13, 4294967295 %15 = call i64 @FUNC(i64 %14) store i64 0, i64* %sv_1.02.reg2mem store i64 %13, i64* %sv_0.01.reg2mem br label LBL_19 LBL_5: %16 = add i64 %9, 8 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = call i64 @FUNC(i64 4294967294) store i64 4294967294, i64* %sv_0.0.reg2mem br label LBL_17 LBL_7: %23 = ptrtoint i64* %arg2 to i64 %24 = add i64 %18, 8 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = inttoptr i64 %19 to i64* %28 = inttoptr i64 %9 to i64* %29 = trunc i64 %26 to i32 %30 = call i64* @memcpy(i64* %27, i64* %28, i32 %29) %31 = call i64 @FUNC(i64 %9, i64 %23, i64 %19, i64 0) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_9, label LBL_8 LBL_8: %35 = and i64 %31, 4294967295 %36 = call i64 @FUNC(i64 %35) store i64 %31, i64* %sv_0.0.reg2mem br label LBL_17 LBL_9: %37 = call i64 @FUNC(i64 %9) %38 = call i64 @FUNC(i64 %9, i64 %9) %39 = trunc i64 %38 to i32 %40 = icmp slt i32 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_11, label LBL_10 LBL_10: %42 = and i64 %38, 4294967295 %43 = call i64 @FUNC(i64 %42) store i64 %38, i64* %sv_0.0.reg2mem br label LBL_17 LBL_11: %44 = load i64, i64* %sv_4, align 8 %45 = load i64, i64* %sv_3, align 8 %46 = call i64 @FUNC(i64 %0, i64 %9, i64 %19, i64 %45, i64 %44) %47 = trunc i64 %46 to i32 %48 = icmp slt i32 %47, 0 %49 = icmp eq i1 %48, false br i1 %49, label LBL_13, label LBL_12 LBL_12: %50 = and i64 %46, 4294967295 %51 = call i64 @FUNC(i64 %50) store i64 %46, i64* %sv_0.0.reg2mem br label LBL_17 LBL_13: %52 = load i64, i64* %sv_2, align 8 %53 = call i64 @FUNC(i64 %0, i64 %9, i64 %52) %54 = trunc i64 %53 to i32 %55 = icmp slt i32 %54, 0 %56 = icmp eq i1 %55, false br i1 %56, label LBL_16, label LBL_14 LBL_14: %57 = icmp eq i32 %54, -1 store i64 %53, i64* %sv_0.0.reg2mem br i1 %57, label LBL_17, label LBL_15 LBL_15: %58 = and i64 %53, 4294967295 %59 = call i64 @FUNC(i64 %58) store i64 %53, i64* %sv_0.0.reg2mem br label LBL_17 LBL_16: %60 = add i64 %0, 8 %61 = call i64 @FUNC(i64 %60) store i64 0, i64* %sv_0.0.reg2mem br label LBL_17 LBL_17: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %62 = icmp eq i64 %9, 0 store i64 %19, i64* %sv_1.02.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.01.reg2mem br i1 %62, label LBL_19, label LBL_18 LBL_18: %63 = call i64 @FUNC(i64 %0, i64 %9) store i64 %19, i64* %sv_1.02.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.01.reg2mem br label LBL_19 LBL_19: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem %64 = load i64, i64* %sv_4, align 8 %65 = icmp eq i64 %64, 0 br i1 %65, label LBL_21, label LBL_20 LBL_20: %66 = call i64 @FUNC(i64 %64) br label LBL_21 LBL_21: %67 = load i64, i64* %sv_3, align 8 %68 = icmp eq i64 %67, 0 br i1 %68, label LBL_23, label LBL_22 LBL_22: %69 = call i64 @FUNC(i64 %67) br label LBL_23 LBL_23: %70 = icmp eq i64 %sv_1.02.reload, 0 br i1 %70, label LBL_25, label LBL_24 LBL_24: %71 = call i64 @FUNC(i64 %sv_1.02.reload) br label LBL_25 LBL_25: %72 = load i64, i64* %sv_2, align 8 %73 = icmp eq i64 %72, 0 br i1 %73, label LBL_27, label LBL_26 LBL_26: %74 = call i64 @FUNC(i64 %72) br label LBL_27 LBL_27: %75 = and i64 %sv_0.01.reload, 4294967295 %76 = call i64 @FUNC(i64 %75) ret i64 %75 uselistorder i64 %75, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %53, { 0, 2, 1, 3 } uselistorder i64 %19, { 1, 0, 2, 4, 3, 5 } uselistorder i64 %9, { 1, 0, 3, 4, 7, 5, 6, 8, 9, 10, 2, 11 } uselistorder i64 %2, { 0, 2, 1, 3 } uselistorder i64* %sv_4, { 1, 2, 0, 3 } uselistorder i64* %sv_3, { 1, 2, 0, 3 } uselistorder i64* %sv_2, { 1, 2, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 5, 6, 4, 3, 2, 1 } uselistorder i64* %sv_1.02.reg2mem, { 0, 5, 4, 3, 1, 2 } uselistorder i64* %sv_0.01.reg2mem, { 0, 5, 4, 3, 1, 2 } uselistorder i64 (i64)* @mlog_errno, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 } uselistorder label LBL_19, { 3, 4, 2, 0, 1 } uselistorder label LBL_17, { 2, 1, 0, 3, 4, 5, 6 } }
1
BinRealVul
mlx4_register_mac_5533
mlx4_register_mac
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_1.16.reg2mem = alloca i32 %.reg2mem = alloca i1 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = urem i64 %arg2, 256 %6 = call i64 @FUNC(i64 %4) %narrow = mul nuw nsw i64 %5, 1576 %7 = add i64 %6, %narrow %8 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %3, i64 %2, i64 %1) %9 = call i64 @FUNC(i64 %7) %10 = add i64 %7, 40 %11 = add i64 %7, 552 store i64 0, i64* %indvars.iv.reg2mem store i1 false, i1* %.reg2mem store i32 -1, i32* %sv_1.16.reg2mem br label LBL_1 LBL_1: %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem %.reload = load i1, i1* %.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem br i1 %.reload, label LBL_3, label LBL_2 LBL_2: %12 = mul i64 %indvars.iv.reload, 4 %13 = add i64 %12, %10 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 %17 = icmp eq i1 %16, false %18 = trunc i64 %indvars.iv.reload to i32 store i32 %18, i32* %sv_1.0.reg2mem br i1 %17, label LBL_3, label LBL_5 LBL_3: %19 = mul i64 %indvars.iv.reload, 8 %20 = add i64 %19, %11 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = and i64 %23, 281474976710655 %25 = icmp eq i64 %24, %arg3 %26 = icmp eq i1 %25, false store i32 %sv_1.16.reload, i32* %sv_1.0.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = trunc i64 %indvars.iv.reload to i32 %28 = bitcast i64* %arg4 to i32* store i32 %27, i32* %28, align 4 %29 = mul i64 %indvars.iv.reload, 4 %30 = add i64 %29, %10 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = add i32 %32, 1 store i32 %33, i32* %31, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_11 LBL_5: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %34 = icmp ult i64 %indvars.iv.next, 127 %35 = icmp slt i32 %sv_1.0.reload, 0 %36 = icmp eq i1 %35, false store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i1 %36, i1* %.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.16.reg2mem br i1 %34, label LBL_1, label LBL_6 LBL_6: store i64 4294967284, i64* %sv_0.0.reg2mem br i1 %36, label LBL_7, label LBL_11 LBL_7: %37 = zext i32 %sv_1.0.reload to i64 %38 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %37, i64 %3, i64 %2, i64 %1) %39 = add i64 %7, 1568 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i64 %7, 1572 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %41, %44 %46 = icmp eq i1 %45, false store i64 4294967268, i64* %sv_0.0.reg2mem br i1 %46, label LBL_8, label LBL_11 LBL_8: %47 = sext i32 %sv_1.0.reload to i64 %48 = mul i64 %47, 4 %49 = add i64 %48, %10 %50 = inttoptr i64 %49 to i32* store i32 1, i32* %50, align 4 %51 = or i64 %arg3, 1 %52 = call i64 @FUNC(i64 %51) %53 = mul i64 %47, 8 %54 = add i64 %53, %11 %55 = inttoptr i64 %54 to i64* store i64 %52, i64* %55, align 8 %56 = call i64 @FUNC(i64 %4, i64 %5, i64 %11) %57 = and i64 %56, 4294967295 %58 = call i64 @FUNC(i64 %57) %59 = trunc i64 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_10, label LBL_9 LBL_9: %61 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %arg3, i64 %5, i64 %2, i64 %1) store i32 0, i32* %50, align 4 store i64 0, i64* %55, align 8 store i64 %56, i64* %sv_0.0.reg2mem br label LBL_11 LBL_10: %62 = bitcast i64* %arg4 to i32* store i32 %sv_1.0.reload, i32* %62, align 4 %63 = load i32, i32* %40, align 4 %64 = add i32 %63, 1 store i32 %64, i32* %40, align 4 store i64 %56, i64* %sv_0.0.reg2mem br label LBL_11 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %65 = call i64 @FUNC(i64 %7) %66 = and i64 %sv_0.0.reload, 4294967295 ret i64 %66 uselistorder i64 %56, { 1, 0, 2 } uselistorder i32* %40, { 1, 0, 2 } uselistorder i1 %36, { 1, 0 } uselistorder i32 %sv_1.0.reload, { 3, 2, 1, 4, 0 } uselistorder i64 %indvars.iv.reload, { 0, 5, 2, 4, 1, 3 } uselistorder i64 %11, { 2, 0, 1 } uselistorder i64 %7, { 3, 1, 0, 4, 2, 5 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %2, { 0, 2, 1 } uselistorder i64 %1, { 0, 2, 1 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i1* %.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.16.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 1, 2, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mlx4_dbg, { 1, 0 } uselistorder i64* %arg4, { 1, 0, 2 } uselistorder i64 %arg3, { 1, 2, 0, 3 } uselistorder label LBL_11, { 2, 3, 0, 1, 4 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
BN_print_9438
BN_print
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.29.reg2mem = alloca i32 %storemerge10.reg2mem = alloca i32 %sv_1.0.reg2mem = alloca i32 %sv_1.16.reg2mem = alloca i32 %storemerge27.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %1 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %2, i64 4202529, i64 1) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 1 %8 = icmp eq i1 %7, false store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_11, label LBL_2 LBL_2: %9 = ptrtoint i32* %arg2 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %2, i64 4202531, i64 1) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 1 %16 = icmp eq i1 %15, false store i64 0, i64* %sv_0.0.reg2mem br i1 %16, label LBL_11, label LBL_4 LBL_4: %17 = add i64 %9, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %storemerge8 = add i32 %19, -1 %20 = icmp slt i32 %storemerge8, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_11 LBL_5: %22 = add i64 %9, 8 %23 = inttoptr i64 %22 to i64* store i32 %storemerge8, i32* %storemerge10.reg2mem store i32 0, i32* %sv_1.29.reg2mem br label LBL_10 LBL_6: %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem %storemerge27.reload = load i32, i32* %storemerge27.reg2mem %24 = load i64, i64* %23, align 8 %25 = add i64 %24, %46 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = and i32 %storemerge27.reload, 60 %29 = zext i32 %28 to i64 %rdx.0 = lshr i64 %27, %29 %30 = trunc i64 %rdx.0 to i32 %31 = urem i32 %30, 16 %32 = or i32 %31, %sv_1.16.reload %33 = icmp eq i32 %32, 0 store i32 %sv_1.16.reload, i32* %sv_1.0.reg2mem br i1 %33, label LBL_8, label LBL_7 LBL_7: %34 = zext i32 %31 to i64 %35 = or i64 %34, ptrtoint ([17 x i8]* @gv_0 to i64) %36 = call i64 @FUNC(i64 %2, i64 %35, i64 1) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 1 %39 = icmp eq i1 %38, false store i32 1, i32* %sv_1.0.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %39, label LBL_11, label LBL_8 LBL_8: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %40 = add nsw i32 %storemerge27.reload, -4 %41 = icmp slt i32 %40, 0 %42 = icmp eq i1 %41, false store i32 %40, i32* %storemerge27.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.16.reg2mem br i1 %42, label LBL_6, label LBL_9 LBL_9: %storemerge = add i32 %storemerge10.reload, -1 %43 = icmp slt i32 %storemerge, 0 %44 = icmp eq i1 %43, false store i32 %storemerge, i32* %storemerge10.reg2mem store i32 %sv_1.0.reload, i32* %sv_1.29.reg2mem store i64 1, i64* %sv_0.0.reg2mem br i1 %44, label LBL_10, label LBL_11 LBL_10: %sv_1.29.reload = load i32, i32* %sv_1.29.reg2mem %storemerge10.reload = load i32, i32* %storemerge10.reg2mem %45 = sext i32 %storemerge10.reload to i64 %46 = mul i64 %45, 8 store i32 60, i32* %storemerge27.reg2mem store i32 %sv_1.29.reload, i32* %sv_1.16.reg2mem br label LBL_6 LBL_11: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %2, { 2, 1, 0 } uselistorder i32* %storemerge27.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_1.16.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 3, 5, 4 } uselistorder i32 -1, { 1, 0 } uselistorder i1 false, { 3, 2, 1, 0, 4, 5, 6, 7 } uselistorder i64 (i64, i64, i64)* @BIO_write, { 2, 1, 0 } uselistorder i64 1, { 0, 4, 1, 5, 6, 3, 2 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
opfnstcw_7988
opfnstcw
define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg3 to i64 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = urem i32 %8, 4 %10 = icmp eq i32 %9, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %10, label LBL_2, label LBL_3 LBL_2: %11 = ptrtoint i64* %arg2 to i64 %12 = bitcast i64* %arg2 to i8* store i8 -39, i8* %12, align 1 %13 = add i64 %5, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = add i64 %11, 1 %17 = trunc i32 %15 to i8 %18 = or i8 %17, 56 %19 = inttoptr i64 %16 to i8* store i8 %18, i8* %19, align 1 store i64 2, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_3, { 2, 0, 1 } }
0
BinRealVul
vu_queue_empty_16300
vu_queue_empty
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = ptrtoint i32* %arg2 to i64 %4 = add i64 %3, 4 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, %2 store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = call i64 @FUNC(i64 %3) %9 = load i32, i32* %5, align 4 %10 = trunc i64 %8 to i32 %11 = icmp eq i32 %9, %10 %12 = zext i1 %11 to i64 store i64 %12, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
xhci_er_full_389
xhci_er_full
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
tg3_set_rxfh_indir_8372
tg3_set_rxfh_indir
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge1.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1) store i64 0, i64* %storemerge1.reg2mem br label LBL_1 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %3 = mul i64 %storemerge1.reload, 4 %4 = add i64 %3, %0 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = add i64 %3, %2 %8 = inttoptr i64 %7 to i32* store i32 %6, i32* %8, align 4 %9 = add nuw nsw i64 %storemerge1.reload, 1 %exitcond = icmp eq i64 %9, 128 store i64 %9, i64* %storemerge1.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_5, label LBL_3 LBL_3: %13 = call i64 @FUNC(i64 %2, i64 1) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_5 LBL_4: %17 = call i64 @FUNC(i64 %2, i64 0) %18 = call i64 @FUNC(i64 %2) %19 = call i64 @FUNC(i64 %2) br label LBL_5 LBL_5: ret i64 0 uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 4, 0 } uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 2, 3, 0, 1 } uselistorder label LBL_5, { 2, 1, 0 } }
0
BinRealVul
skip_boxes_13137
skip_boxes
define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_2 = alloca i64, align 8 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = and i64 %1, 4294967295 %4 = icmp slt i64 %2, %3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_10, label LBL_1 LBL_1: %5 = trunc i64 %1 to i32 %6 = ptrtoint i64* %arg2 to i64 %sext6 = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext6, 32 %8 = add i64 %7, %6 %9 = trunc i64 %2 to i32 %10 = sub i32 %9, %5 %11 = call i64 @FUNC(i64* nonnull %sv_2, i64 %8, i32 %10) br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64* nonnull %sv_2) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 store i64 0, i64* %rax.0.reg2mem br i1 %14, label LBL_10, label LBL_3 LBL_3: %15 = call i64 @FUNC(i64* nonnull %sv_2) %16 = icmp eq i64 %15, 0 store i64 0, i64* %rax.0.reg2mem br i1 %16, label LBL_10, label LBL_4 LBL_4: %17 = call i64 @FUNC(i64* nonnull %sv_2) %18 = trunc i64 %17 to i32 %19 = icmp sgt i32 %18, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %19, label LBL_5, label LBL_10 LBL_5: %20 = call i64 @FUNC(i64* nonnull %sv_2) %21 = and i64 %20, 4294967295 %22 = icmp eq i64 %21, 1 %23 = icmp eq i1 %22, false store i32 4, i32* %sv_1.0.reg2mem store i64 %20, i64* %sv_0.0.in.reg2mem br i1 %23, label LBL_8, label LBL_6 LBL_6: %24 = call i64 @FUNC(i64* nonnull %sv_2) %25 = trunc i64 %24 to i32 %26 = icmp sgt i32 %25, 11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %26, label LBL_7, label LBL_10 LBL_7: %27 = call i64 @FUNC(i64* nonnull %sv_2) store i32 12, i32* %sv_1.0.reg2mem store i64 %27, i64* %sv_0.0.in.reg2mem br label LBL_8 LBL_8: %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32 %28 = icmp eq i32 %sv_0.0, 0 %29 = icmp eq i1 %28, false %30 = add nuw nsw i32 %sv_1.0.reload, 4 %31 = icmp ult i32 %30, %sv_0.0 %or.cond = icmp eq i1 %31, %29 store i64 4294967294, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_9, label LBL_10 LBL_9: %32 = add i32 %sv_0.0, %5 store i32 %32, i32* %arg1, align 4 %33 = sub i32 %sv_0.0, %sv_1.0.reload %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i64* nonnull %sv_2, i64 %34) %36 = call i64 @FUNC(i64* nonnull %sv_2) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp slt i32 %37, 0 %40 = icmp eq i1 %39, false %41 = icmp eq i1 %38, false %42 = icmp eq i1 %40, %41 store i64 4294967295, i64* %rax.0.reg2mem br i1 %42, label LBL_2, label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %37, { 1, 0 } uselistorder i32 %sv_0.0, { 2, 0, 1, 3 } uselistorder i64 %1, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 2, 1, 7 } uselistorder i32 4, { 1, 0 } uselistorder i1 false, { 1, 0, 2, 3 } uselistorder i64 (i64*)* @bytestream2_get_bytes_left, { 2, 1, 0 } uselistorder label LBL_10, { 2, 3, 4, 5, 1, 0, 6 } }
1
BinRealVul
snro_dump_7916
snro_dump
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %3 = and i64 %1, 4294967295 %4 = inttoptr i64 %arg2 to %_IO_FILE* %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %3) %6 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg2) ret i64 0 uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 } }
0
BinRealVul
task_clock_event_init_10911
task_clock_event_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 store i64 4294967294, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 store i64 4294967294, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = call i64 @FUNC(i64 %4) %10 = trunc i64 %9 to i8 %11 = icmp eq i8 %10, 0 store i64 4294967201, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = call i64 @FUNC(i64 %4) store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder label LBL_4, { 3, 0, 1, 2 } }
0
BinRealVul
check_15311
check
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 0 %4 = icmp eq i1 %3, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 4) %6 = trunc i64 %5 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_7 LBL_2: %9 = call i64 @FUNC(i64* nonnull %sv_1) %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %12, 0 %14 = icmp eq i1 %13, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %14, label LBL_3, label LBL_7 LBL_3: %15 = bitcast i32* %sv_0 to i64* %16 = call i64 @FUNC(i64* nonnull %15, i64 %10) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 1 %19 = icmp eq i1 %18, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %19, label LBL_4, label LBL_7 LBL_4: %20 = icmp eq i64* %arg3, null br i1 %20, label LBL_6, label LBL_5 LBL_5: %21 = trunc i64 %9 to i32 %22 = bitcast i64* %arg3 to i32* store i32 %21, i32* %22, align 4 br label LBL_6 LBL_6: %23 = load i32, i32* %sv_0, align 4 %24 = zext i32 %23 to i64 store i64 %24, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 } uselistorder i32 0, { 2, 0, 1 } uselistorder label LBL_7, { 4, 0, 1, 2, 3 } }
1
BinRealVul
gf_swf_reader_new_6410
gf_swf_reader_new
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %3 = call i64* @malloc(i32 64) %4 = icmp eq i64* %3, null %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_7 LBL_2: %6 = ptrtoint i64* %3 to i64 %7 = inttoptr i64 %arg2 to i8* %8 = call i8* @strdup(i8* %7) %9 = ptrtoint i8* %8 to i64 store i64 %9, i64* %3, align 8 %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i64* store i64 %0, i64* %11, align 8 %12 = call i64 @FUNC(i64 %0, i64 0) %13 = add i64 %6, 16 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = call i64 @FUNC(i64 %12, i64 4198880, i64 %6) %16 = call i64 @FUNC() %17 = add i64 %6, 32 %18 = inttoptr i64 %17 to i64* store i64 %16, i64* %18, align 8 %19 = call i64 @FUNC() %20 = add i64 %6, 40 %21 = inttoptr i64 %20 to i64* store i64 %19, i64* %21, align 8 %22 = call i64 @FUNC() %23 = add i64 %6, 48 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = call i64 @FUNC() %26 = add i64 %6, 56 %27 = inttoptr i64 %26 to i64* store i64 %25, i64* %27, align 8 %28 = icmp eq i64 %arg1, 0 br i1 %28, label LBL_4, label LBL_3 LBL_3: %29 = inttoptr i64 %arg1 to i8* %30 = call i8* @strdup(i8* %29) %31 = ptrtoint i8* %30 to i64 %32 = add i64 %6, 24 %33 = inttoptr i64 %32 to i64* store i64 %31, i64* %33, align 8 store i64 %6, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %34 = call i8* @strdup(i8* %7) %35 = ptrtoint i8* %34 to i64 %36 = add i64 %6, 24 %37 = inttoptr i64 %36 to i64* store i64 %35, i64* %37, align 8 %38 = call i8* @strrchr(i8* %34, i32 47) %39 = icmp eq i8* %38, null br i1 %39, label LBL_6, label LBL_5 LBL_5: %40 = ptrtoint i8* %38 to i64 %41 = add i64 %40, 1 %42 = inttoptr i64 %41 to i8* store i8 0, i8* %42, align 1 store i64 %6, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %43 = load i64, i64* %37, align 8 %44 = inttoptr i64 %43 to i64* call void @free(i64* %44) store i64 0, i64* %37, align 8 store i64 %6, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %38, { 1, 0 } uselistorder i64* %37, { 1, 0, 2 } uselistorder i64 %6, { 2, 1, 4, 0, 3, 5, 6, 7, 9, 8, 10, 11 } uselistorder i64* %3, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 } uselistorder i8 0, { 1, 0 } uselistorder i64 ()* @gf_list_new, { 3, 2, 1, 0 } uselistorder i8* (i8*)* @strdup, { 2, 1, 0 } uselistorder i64 %arg1, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3, 4 } }
0
BinRealVul
net_client_uninit_1753
net_client_uninit
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 = trunc i64 %1 to i32 %4 = add i32 %3, -1 %5 = bitcast i64* %arg1 to i32* store i32 %4, i32* %5, align 4 %6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %7 = add i32 %6, -1 store i32 %7, i32* bitcast (i64* @gv_0 to i32*), align 8 %8 = add i64 %2, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = add i64 %2, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %14) %16 = add i64 %2, 24 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = call i64 @FUNC(i64 %18) %20 = add i64 %2, 32 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = call i64* @memset(i64* %arg1, i32 0, i32 40) %25 = ptrtoint i64* %24 to i64 ret i64 %25 uselistorder i64 (i64)* @qemu_free, { 3, 2, 1, 0 } }
0
BinRealVul
megasas_handle_dcmd_1756
megasas_handle_dcmd
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge3.in.in.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %.lcssa5.reg2mem = alloca i32* %.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = load i32*, i32** @gv_0, align 8 %5 = add i64 %2, 16 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10) %12 = and i64 %11, 4294967295 %13 = and i64 %1, 4294967295 %14 = call i64 @FUNC(i64 %13, i64 %12) %15 = call i64 @FUNC(i64 %3, i64 %2) %16 = trunc i64 %15 to i32 %17 = icmp slt i32 %16, 0 %18 = icmp eq i1 %17, false store i64 4294967295, i64* %storemerge.reg2mem br i1 %18, label LBL_1, label LBL_8 LBL_1: %19 = trunc i64 %11 to i32 %20 = load i32, i32* %4, align 4 %21 = icmp ne i32 %20, -1 %22 = icmp eq i32 %20, %19 %23 = icmp eq i1 %22, false %or.cond6 = icmp eq i1 %21, %23 store i32* %4, i32** %.reg2mem store i32* %4, i32** %.lcssa5.reg2mem store i32 %20, i32* %.lcssa.reg2mem br i1 %or.cond6, label LBL_2, label LBL_3 LBL_2: %.reload = load i32*, i32** %.reg2mem %24 = ptrtoint i32* %.reload to i64 %25 = add i64 %24, 24 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp ne i32 %27, -1 %29 = icmp eq i32 %27, %19 %30 = icmp eq i1 %29, false %or.cond = icmp eq i1 %28, %30 store i32* %26, i32** %.reg2mem store i32* %26, i32** %.lcssa5.reg2mem store i32 %27, i32* %.lcssa.reg2mem br i1 %or.cond, label LBL_2, label LBL_3 LBL_3: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %31 = add i64 %2, 8 %32 = inttoptr i64 %31 to i64* %33 = load i64, i64* %32, align 8 %34 = icmp eq i32 %.lcssa.reload, -1 %35 = icmp eq i1 %34, false br i1 %35, label LBL_5, label LBL_4 LBL_4: %36 = call i64 @FUNC(i64 %13, i64 %12, i64 %33) %37 = call i64 @FUNC(i64 %3, i64 %2) store i64 %37, i64* %storemerge3.in.in.reg2mem br label LBL_6 LBL_5: %.lcssa5.reload = load i32*, i32** %.lcssa5.reg2mem %38 = ptrtoint i32* %.lcssa5.reload to i64 %39 = add i64 %38, 8 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = call i64 @FUNC(i64 %13, i64 %41, i64 %33) store i64 %3, i64* %storemerge3.in.in.reg2mem br label LBL_6 LBL_6: %storemerge3.in.in.reload = load i64, i64* %storemerge3.in.in.reg2mem %storemerge3.in = and i64 %storemerge3.in.in.reload, 4294967295 %43 = trunc i64 %storemerge3.in.in.reload to i32 %44 = icmp eq i32 %43, -2 store i64 %storemerge3.in, i64* %storemerge.reg2mem br i1 %44, label LBL_8, label LBL_7 LBL_7: %45 = call i64 @FUNC(i64 %2, i64 %33) store i64 %storemerge3.in, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %storemerge3.in, { 1, 0 } uselistorder i64 %storemerge3.in.in.reload, { 1, 0 } uselistorder i64 %33, { 0, 2, 1 } uselistorder i32 %19, { 1, 0 } uselistorder i64 %13, { 2, 1, 0 } uselistorder i64 %11, { 1, 0 } uselistorder i64 %2, { 1, 0, 2, 3, 4 } uselistorder i32** %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.in.in.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i32 -1, { 1, 2, 0 } uselistorder i1 false, { 2, 1, 0, 3 } uselistorder label LBL_8, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ehci_trace_qtd_16952
ehci_trace_qtd
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = add i64 %0, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = and i64 %4, 16 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = and i64 %4, 8 %9 = icmp eq i64 %8, 0 %10 = icmp eq i1 %9, false %11 = and i64 %4, 4 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false %14 = zext i1 %13 to i64 %15 = and i64 %4, 2 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false %18 = zext i1 %17 to i64 %19 = urem i64 %4, 2 %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false %22 = zext i1 %21 to i64 %23 = call i64 @FUNC(i64 %4, i64 4278190080) %24 = load i64, i64* %3, align 8 %25 = call i64 @FUNC(i64 %24, i64 16711680) %26 = load i64, i64* %3, align 8 %27 = call i64 @FUNC(i64 %26, i64 65280) %28 = load i64, i64* %3, align 8 %29 = call i64 @FUNC(i64 %28, i64 255) %30 = add i64 %0, 8 %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = zext i1 %7 to i64 %34 = zext i1 %10 to i64 %35 = call i64 @FUNC(i64 %1, i64 %arg2, i64 4278190080, i64 %32, i64 %29, i64 %27, i64 %25, i64 %23, i64 %22, i64 %18, i64 %14, i64 %34, i64 %33) ret i64 %35 uselistorder i64 %4, { 1, 0, 2, 3, 4, 5 } uselistorder i64 (i64, i64)* @get_field, { 3, 2, 1, 0 } uselistorder i64 8, { 1, 0 } }
1
BinRealVul
nfs4_init_deviceid_node_4481
nfs4_init_deviceid_node
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i64* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %2, 8 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %2, 16 %7 = inttoptr i64 %6 to i64* store i64 %1, i64* %7, align 8 %8 = add i64 %2, 24 %9 = inttoptr i64 %8 to i64* store i64 %0, i64* %9, align 8 %10 = add i64 %2, 32 %11 = call i64 @FUNC(i64 %10, i64 1) ret i64 %11 uselistorder i64 (i64)* @INIT_HLIST_NODE, { 1, 0 } }
0
BinRealVul
init_aliases_11130
init_aliases
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i8, align 1 %sv_1 = alloca i8, align 1 %0 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0)) %1 = icmp eq %_IO_FILE* %0, null %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_25 LBL_1: %3 = call i8* @fgets(i8* nonnull %sv_0, i32 256, %_IO_FILE* %0) %4 = icmp eq i8* %3, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_23 LBL_2: %6 = ptrtoint i8* %sv_0 to i64 %7 = add i64 %6, -1 %8 = ptrtoint i8* %sv_1 to i64 %9 = add i64 %8, -1 br label LBL_3 LBL_3: %10 = load i8, i8* %sv_0, align 1 switch i8 %10, label LBL_4 [ i8 35, label LBL_17 i8 10, label LBL_17 ] LBL_4: %11 = icmp eq i8 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_17 LBL_5: %13 = call i32 @strlen(i8* nonnull %sv_0) %14 = sext i32 %13 to i64 %15 = add i64 %7, %14 %16 = inttoptr i64 %15 to i8* %17 = load i8, i8* %16, align 1 %18 = icmp eq i8 %17, 10 %19 = icmp eq i1 %18, false br i1 %19, label LBL_24, label LBL_6 LBL_6: store i8 0, i8* %16, align 1 %20 = call i8* @fgets(i8* nonnull %sv_1, i32 4097, %_IO_FILE* %0) %21 = icmp eq i8* %20, null %22 = load i8, i8* %sv_1, align 1 %23 = icmp eq i8 %22, 0 %or.cond711 = or i1 %21, %23 br i1 %or.cond711, label LBL_24, label LBL_7 LBL_7: %24 = call i32 @strlen(i8* nonnull %sv_1) %25 = sext i32 %24 to i64 %26 = add i64 %9, %25 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 10 %30 = icmp eq i1 %29, false br i1 %30, label LBL_9, label LBL_8 LBL_8: store i8 0, i8* %27, align 1 br label LBL_9 LBL_9: %31 = load i8, i8* %sv_1, align 1 switch i8 %31, label LBL_11 [ i8 35, label LBL_10 i8 0, label LBL_10 ] LBL_10: %32 = call i8* @fgets(i8* nonnull %sv_1, i32 4097, %_IO_FILE* %0) %33 = icmp eq i8* %32, null %34 = load i8, i8* %sv_1, align 1 %35 = icmp eq i8 %34, 0 %or.cond7 = or i1 %33, %35 br i1 %or.cond7, label LBL_24, label LBL_7 LBL_11: %36 = load i64, i64* @gv_2, align 8 %37 = icmp eq i64 %36, 0 %38 = icmp eq i1 %37, false %39 = call i64* @malloc(i32 24) %40 = ptrtoint i64* %39 to i64 br i1 %38, label LBL_18, label LBL_12 LBL_12: store i64 %40, i64* @gv_3, align 8 store i64 %40, i64* @gv_2, align 8 %41 = icmp eq i64* %39, null br i1 %41, label LBL_15, label LBL_13 LBL_13: %42 = call i8* @strdup(i8* nonnull %sv_0) %43 = ptrtoint i8* %42 to i64 store i64 %43, i64* %39, align 8 %44 = icmp eq i8* %42, null br i1 %44, label LBL_15, label LBL_14 LBL_14: %45 = load i64, i64* @gv_3, align 8 %46 = call i8* @strdup(i8* nonnull %sv_1) %47 = ptrtoint i8* %46 to i64 %48 = add i64 %45, 8 %49 = inttoptr i64 %48 to i64* store i64 %47, i64* %49, align 8 %50 = icmp eq i8* %46, null %51 = icmp eq i1 %50, false br i1 %51, label LBL_16, label LBL_15 LBL_15: %52 = call i64 @FUNC() unreachable LBL_16: %53 = load i64, i64* @gv_3, align 8 %54 = add i64 %53, 16 %55 = inttoptr i64 %54 to i64* store i64 0, i64* %55, align 8 br label LBL_17 LBL_17: %56 = call i8* @fgets(i8* nonnull %sv_0, i32 256, %_IO_FILE* %0) %57 = icmp eq i8* %56, null %58 = icmp eq i1 %57, false br i1 %58, label LBL_3, label LBL_23 LBL_18: %59 = icmp eq i64* %39, null br i1 %59, label LBL_21, label LBL_19 LBL_19: %60 = call i8* @strdup(i8* nonnull %sv_0) %61 = ptrtoint i8* %60 to i64 store i64 %61, i64* %39, align 8 %62 = icmp eq i8* %60, null br i1 %62, label LBL_21, label LBL_20 LBL_20: %63 = call i8* @strdup(i8* nonnull %sv_1) %64 = ptrtoint i8* %63 to i64 %65 = add i64 %40, 8 %66 = inttoptr i64 %65 to i64* store i64 %64, i64* %66, align 8 %67 = icmp eq i8* %63, null %68 = icmp eq i1 %67, false br i1 %68, label LBL_22, label LBL_21 LBL_21: %69 = call i64 @FUNC() unreachable LBL_22: %70 = load i64, i64* @gv_3, align 8 %71 = add i64 %70, 16 %72 = inttoptr i64 %71 to i64* store i64 %40, i64* %72, align 8 store i64 %40, i64* @gv_3, align 8 br label LBL_17 LBL_23: %73 = call i32 @fclose(%_IO_FILE* %0) store i32 ptrtoint (i32* @gv_4 to i32), i32* bitcast (i64* @gv_5 to i32*), align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_25 LBL_24: %74 = call i32 @fclose(%_IO_FILE* %0) %75 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_25 LBL_25: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %40, { 0, 1, 2, 4, 3 } uselistorder i64* %39, { 1, 3, 0, 2, 4 } uselistorder i8 %10, { 1, 0 } uselistorder %_IO_FILE* %0, { 4, 2, 5, 3, 1, 0, 6 } uselistorder i8* %sv_1, { 8, 7, 2, 5, 4, 6, 0, 1, 3 } uselistorder i8* %sv_0, { 2, 1, 3, 4, 6, 5, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i64 ()* @die_mem, { 1, 0 } uselistorder i8* (i8*)* @strdup, { 3, 2, 1, 0 } uselistorder i32 4097, { 1, 0 } uselistorder i32 (i8*)* @strlen, { 1, 0 } uselistorder i8 0, { 2, 1, 4, 0, 5, 6, 3 } uselistorder i8 10, { 1, 2, 0 } uselistorder i8* null, { 2, 3, 7, 4, 5, 6, 1, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 3, 2, 1, 0 } uselistorder i32 256, { 1, 0 } uselistorder i1 false, { 1, 7, 2, 3, 4, 5, 6, 0, 8 } uselistorder i64 0, { 6, 7, 1, 16, 17, 0, 2, 3, 8, 9, 10, 11, 4, 5, 12, 13, 14, 15 } uselistorder i32 1, { 3, 4, 0, 1, 2 } uselistorder label LBL_25, { 1, 2, 0 } uselistorder label LBL_24, { 2, 1, 0 } uselistorder label LBL_17, { 1, 0, 2, 3, 4 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
do_sigreturn_5010
do_sigreturn
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %2 = load i64, i64* %0 %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %4 = call i32 @fwrite(i64* bitcast ([14 x i8]* @gv_1 to i64*), i32 1, i32 13, %_IO_FILE* %3) %5 = add i64 %1, 120 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 0, i64 %2, i64 %7, i64 1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_4, label LBL_1 LBL_1: %11 = ptrtoint i64* %sv_4 to i64 %12 = call i64 @FUNC(i64 %2) %13 = ptrtoint i64* %sv_3 to i64 %14 = add i64 %13, -8 %15 = inttoptr i64 %14 to i64* %16 = add i64 %13, -16 %17 = inttoptr i64 %16 to i64* %18 = add i64 %13, -24 %19 = inttoptr i64 %18 to i64* %20 = add i64 %13, -32 %21 = inttoptr i64 %20 to i64* %22 = add i64 %13, -40 %23 = inttoptr i64 %22 to i64* %24 = add i64 %13, -48 %25 = inttoptr i64 %24 to i64* %26 = add i64 %13, -56 %27 = inttoptr i64 %26 to i64* %28 = add i64 %13, -64 %29 = inttoptr i64 %28 to i64* %30 = add i64 %13, -72 %31 = inttoptr i64 %30 to i64* %32 = add i64 %13, -80 %33 = inttoptr i64 %32 to i64* %34 = add i64 %13, -88 %35 = inttoptr i64 %34 to i64* %36 = add i64 %13, -96 %37 = inttoptr i64 %36 to i64* %38 = add i64 %13, -104 %39 = inttoptr i64 %38 to i64* %40 = add i64 %13, -112 %41 = inttoptr i64 %40 to i64* %42 = add i64 %13, -120 %43 = inttoptr i64 %42 to i64* %44 = add i64 %13, -128 %45 = inttoptr i64 %44 to i64* store i64 1, i64* %indvars.iv.reg2mem br label LBL_2 LBL_2: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %46 = mul i64 %indvars.iv.reload, 128 %47 = add i64 %46, %2 %48 = add i64 %46, %11 %49 = add i64 %48, -4256 %50 = add i64 %48, -4136 %51 = inttoptr i64 %50 to i64* %52 = load i64, i64* %51, align 8 store i64 %52, i64* %15, align 8 %53 = add i64 %48, -4144 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 store i64 %55, i64* %17, align 8 %56 = add i64 %48, -4152 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 store i64 %58, i64* %19, align 8 %59 = add i64 %48, -4160 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 store i64 %61, i64* %21, align 8 %62 = add i64 %48, -4168 %63 = inttoptr i64 %62 to i64* %64 = load i64, i64* %63, align 8 store i64 %64, i64* %23, align 8 %65 = add i64 %48, -4176 %66 = inttoptr i64 %65 to i64* %67 = load i64, i64* %66, align 8 store i64 %67, i64* %25, align 8 %68 = add i64 %48, -4184 %69 = inttoptr i64 %68 to i64* %70 = load i64, i64* %69, align 8 store i64 %70, i64* %27, align 8 %71 = add i64 %48, -4192 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 store i64 %73, i64* %29, align 8 %74 = add i64 %48, -4200 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 store i64 %76, i64* %31, align 8 %77 = add i64 %48, -4208 %78 = inttoptr i64 %77 to i64* %79 = load i64, i64* %78, align 8 store i64 %79, i64* %33, align 8 %80 = add i64 %48, -4216 %81 = inttoptr i64 %80 to i64* %82 = load i64, i64* %81, align 8 store i64 %82, i64* %35, align 8 %83 = add i64 %48, -4224 %84 = inttoptr i64 %83 to i64* %85 = load i64, i64* %84, align 8 store i64 %85, i64* %37, align 8 %86 = add i64 %48, -4232 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 store i64 %88, i64* %39, align 8 %89 = add i64 %48, -4240 %90 = inttoptr i64 %89 to i64* %91 = load i64, i64* %90, align 8 store i64 %91, i64* %41, align 8 %92 = add i64 %48, -4248 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 store i64 %94, i64* %43, align 8 %95 = inttoptr i64 %49 to i64* %96 = load i64, i64* %95, align 8 store i64 %96, i64* %45, align 8 %97 = call i64 @FUNC(i64 %47) %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_3, label LBL_2 LBL_3: %98 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_2) %99 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0) %100 = call i64 @FUNC(i64 %1, i64 %2, i64* nonnull %sv_0) %101 = call i64 @FUNC(i64 %2, i64 %7, i64 0) %102 = load i64, i64* %sv_0, align 8 store i64 %102, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %103 = call i64 @FUNC(i64 %2, i64 %7, i64 0) %104 = call i64 @FUNC(i64 11) 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 %46, { 1, 0 } uselistorder i64 %7, { 1, 0, 2 } uselistorder i64 %2, { 0, 1, 2, 5, 3, 4 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 } uselistorder i64 (i64)* @__get_user, { 1, 0 } uselistorder i64 1, { 2, 0, 3, 1 } }
0
BinRealVul
kvm_destroy_vm_11996
kvm_destroy_vm
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %indvars.iv.reg2mem = alloca i64 %indvars.iv4.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 %arg1) %1 = call i64 @FUNC(i64 1, i64 %arg1) %2 = call i64 @FUNC(i64 %arg1) %3 = call i64 @FUNC(i64 %arg1) %4 = call i64 @FUNC(i64* nonnull @gv_0) %5 = add i64 %arg1, 136 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64* nonnull @gv_0) %8 = call i64 @FUNC(i64 %arg1) %9 = call i64 @FUNC(i64 %arg1) %10 = add i64 %arg1, 8 store i64 0, i64* %indvars.iv4.reg2mem br label LBL_1 LBL_1: %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem %11 = call i64 @FUNC(i64 %arg1, i64 %indvars.iv4.reload) %12 = icmp eq i64 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = call i64 @FUNC(i64 %11) br label LBL_3 LBL_3: %14 = mul i64 %indvars.iv4.reload, 8 %15 = add i64 %10, %14 %16 = inttoptr i64 %15 to i64* store i64 0, i64* %16, align 8 %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1 %exitcond6 = icmp eq i64 %indvars.iv.next5, 16 store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem br i1 %exitcond6, label LBL_4, label LBL_1 LBL_4: %17 = call i64 @FUNC(i64 %arg1) %18 = call i64 @FUNC(i64 %arg1) %19 = call i64 @FUNC(i64 %arg1) %20 = call i64 @FUNC(i64 %arg1) store i64 0, i64* %indvars.iv.reg2mem br label LBL_5 LBL_5: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %21 = mul i64 %indvars.iv.reload, 16 %22 = add i64 %21, %arg1 %23 = add i64 %22, 144 %24 = call i64 @FUNC(i64 %arg1, i64 %23) %25 = add i64 %22, 152 %26 = call i64 @FUNC(i64 %arg1, i64 %25) %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 2 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: %27 = add i64 %arg1, 176 %28 = call i64 @FUNC(i64 %27) %29 = add i64 %arg1, 184 %30 = call i64 @FUNC(i64 %29) %31 = call i64 @FUNC(i64 %arg1) %32 = call i64 @FUNC() %33 = call i64 @FUNC() %34 = call i64 @FUNC(i64 %arg1) %35 = load i64, i64* @gv_1, align 8 %36 = call i64 @FUNC(i64 %35) ret i64 %36 uselistorder i64 %indvars.iv4.reload, { 0, 2, 1 } uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 (i64)* @cleanup_srcu_struct, { 1, 0 } uselistorder i64 (i64, i64)* @kvm_free_memslots, { 1, 0 } uselistorder i64 1, { 1, 0, 2 } uselistorder i32 1, { 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 1, 4, 3, 2, 5, 6, 0, 10, 9, 8, 7, 12, 11, 15, 14, 13, 16, 17, 18, 19 } }
1
BinRealVul
enum_dir_fct_4536
enum_dir_fct
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.in.reg2mem = alloca i64 %rdi.18.reg2mem = alloca i64 %rdi.17.reg2mem = alloca i64 %storemerge511.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i32, align 4 %2 = icmp eq i64 %arg2, 0 br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = trunc i64 %1 to i8 %4 = icmp eq i8 %3, 46 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_10 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 0, i64 0, i64 0) %8 = call i64 @FUNC(i64 %6, i64 %arg2) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %6, i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 0, i64 0) %11 = inttoptr i64 %arg3 to i8* %12 = call i32 @strlen(i8* %11) %13 = icmp eq i32 %12, 0 store i64 %arg3, i64* %rdi.17.reg2mem br i1 %13, label LBL_8, label LBL_3 LBL_3: %14 = zext i32 %12 to i64 store i64 0, i64* %indvars.iv.reg2mem store i32 0, i32* %storemerge511.reg2mem br label LBL_4 LBL_4: %storemerge511.reload = load i32, i32* %storemerge511.reg2mem %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %15 = sub i32 0, %storemerge511.reload %16 = sub i32 %15, 1 %17 = add i32 %12, %16 %18 = zext i32 %17 to i64 %19 = add i64 %18, %arg3 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = sext i8 %21 to i32 %23 = call i8* @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i32 %22) %24 = icmp eq i8* %23, null br i1 %24, label LBL_5, label LBL_6 LBL_5: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %25 = add nuw i32 %storemerge511.reload, 1 %26 = icmp ult i64 %indvars.iv.next, %14 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %25, i32* %storemerge511.reg2mem store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.17.reg2mem br i1 %26, label LBL_4, label LBL_8 LBL_6: %27 = and i64 %indvars.iv.reload, 4294967295 %28 = sub i64 0, %27 %29 = sub i64 %28, 1 %30 = add i64 %14, %arg3 %31 = add i64 %30, %29 %32 = icmp eq i64 %31, 0 store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.17.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = inttoptr i64 %31 to i8* store i8 47, i8* %33, align 1 %34 = add i64 %31, 1 %35 = inttoptr i64 %34 to i8* store i8 0, i8* %35, align 1 %36 = call i64 @FUNC(i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64 %arg3) store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.18.reg2mem store i64 %36, i64* %storemerge.in.reg2mem br label LBL_9 LBL_8: %rdi.17.reload = load i64, i64* %rdi.17.reg2mem %37 = call i64 @FUNC(i64 %rdi.17.reload, i64 %arg3) store i64 %rdi.17.reload, i64* %rdi.18.reg2mem store i64 %37, i64* %storemerge.in.reg2mem br label LBL_9 LBL_9: %38 = trunc i64 %7 to i32 %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %rdi.18.reload = load i64, i64* %rdi.18.reg2mem %sext = mul i64 %7, 4294967296 %39 = ashr exact i64 %sext, 32 %40 = and i64 %storemerge.in.reload, 4294967295 %41 = call i64 @FUNC(i64 %rdi.18.reload, i64 %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %40, i64 0, i64 0) %42 = add i64 %6, 16 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false %47 = zext i1 %46 to i64 %48 = call i64 @FUNC(i64 %rdi.18.reload, i64 %39, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %47, i64 0, i64 0) %49 = add i64 %6, 8 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = bitcast i32* %sv_1 to i64* %53 = call i64 @FUNC(i64 %rdi.18.reload, i64 %51, i64* nonnull %52) store i32 %38, i32* %sv_0, align 4 %54 = load i32, i32* %sv_1, align 4 %55 = zext i32 %54 to i64 %56 = load i64, i64* %50, align 8 %57 = call i64 @FUNC(i64 %rdi.18.reload, i64 %56, i64 %55, i32* nonnull %sv_0) br label LBL_10 LBL_10: ret i64 0 uselistorder i64 %31, { 0, 2, 1 } uselistorder i64 %indvars.iv.reload, { 1, 0 } uselistorder i64 %6, { 0, 1, 4, 3, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge511.reg2mem, { 1, 0, 2 } uselistorder i64* %rdi.17.reg2mem, { 0, 3, 1, 2 } uselistorder i64* %rdi.18.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i64 ptrtoint ([3 x i8]* @gv_1 to i64), { 0, 3, 2, 1 } uselistorder i64 1, { 4, 0, 3, 1, 2 } uselistorder [3 x i8]* @gv_1, { 1, 0 } uselistorder i32 0, { 3, 1, 0, 2, 4 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @JS_DefineProperty, { 2, 1, 0 } uselistorder i64 4294967295, { 1, 0, 2 } uselistorder i64 (i64, i64)* @JS_NewStringCopyZ, { 2, 1, 0 } uselistorder i64 %arg3, { 4, 3, 1, 2, 0, 5 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_8, { 2, 0, 1 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
generateScaffold_17338
generateScaffold
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0 = alloca i64, align 8 %0 = trunc i64 %arg1 to i32 %1 = icmp eq i32 %0, 0 %2 = icmp slt i32 %0, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC() store i64 %6, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %7 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 0) %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 0 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0)) store i64 %11, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %12 = load i64, i64* @gv_2, align 8 %13 = call i64 @FUNC(i64 0) %14 = inttoptr i64 %12 to i64* store i64 %13, i64* %14, align 8 %15 = load i64, i64* @gv_2, align 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_6, label LBL_5 LBL_5: %22 = call i64 @FUNC(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_3, i64 0, i64 0)) store i64 %22, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %23 = load i64, i64* @gv_2, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = call i64 @FUNC(i64 %26, i64* nonnull @gv_4, i64* nonnull %sv_0) %28 = load i64, i64* %sv_0, align 8 %29 = icmp eq i64 %28, 0 %30 = load i64, i64* @gv_2, align 8 br i1 %29, label LBL_8, label LBL_7 LBL_7: %31 = inttoptr i64 %30 to i64* %32 = load i64, i64* %31, align 8 %33 = call i64 @FUNC(i64 %32, i64 %28, i64 0) %34 = add i64 %30, 8 %35 = inttoptr i64 %34 to i64* store i64 %33, i64* %35, align 8 br label LBL_9 LBL_8: %36 = add i64 %30, 8 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = icmp eq i64 %38, 0 %storemerge.in.in = select i1 %39, i64 %30, i64 %36 %storemerge.in = inttoptr i64 %storemerge.in.in to i64* %storemerge = load i64, i64* %storemerge.in, align 8 store i64 %storemerge, i64* %37, align 8 br label LBL_9 LBL_9: %40 = and i64 %arg1, 4294967295 %41 = call i64 @FUNC(i64 %40, i64 %arg2) %42 = call i64 @FUNC(i64 %40, i64 %arg2) %43 = call i64 @FUNC(i64 %40, i64 %arg2) %44 = call i64 @FUNC(i64 %40, i64 %arg2) %45 = call i64 @FUNC(i64 %40, i64 %arg2) %46 = call i64 @FUNC(i64 0, i64 0) store i64 %46, i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %40, { 1, 0, 2, 3, 4 } uselistorder i64 %30, { 2, 3, 1, 0 } uselistorder i32 %0, { 1, 0 } uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @sclone, { 1, 0 } uselistorder i64 (i8*)* @fail, { 1, 0 } uselistorder i32 0, { 1, 2, 3, 4, 0 } uselistorder i64 %arg2, { 1, 0, 4, 3, 2 } }
1
BinRealVul
init_new_context_13609
init_new_context
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64 1) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = bitcast i64* %arg2 to i32* store i32 1, i32* %4, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 -1, i32* %6, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7, i64 %0) ret i64 %8 uselistorder i64 %0, { 1, 0 } uselistorder i64 1, { 1, 0 } }
0
BinRealVul
nr_recvmsg_11253
nr_recvmsg
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i32, align 4 %3 = call i64 @FUNC(i64 %2) %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %2) store i64 1, i64* %rax.0.reg2mem br label LBL_11 LBL_2: %sext = mul i64 %arg5, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = urem i64 %7, 2 %9 = and i64 %7, 4294967294 %10 = bitcast i32* %sv_1 to i64* %11 = call i64 @FUNC(i64 %2, i64 %9, i64 %8, i64* nonnull %10) %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %2) %15 = load i32, i32* %sv_1, align 4 %16 = zext i32 %15 to i64 store i64 %16, i64* %rax.0.reg2mem br label LBL_11 LBL_4: %17 = ptrtoint i64* %arg3 to i64 %18 = call i64 @FUNC(i64 %11) %19 = inttoptr i64 %11 to i64* %20 = load i64, i64* %19, align 8 %21 = icmp ugt i64 %20, %arg4 store i64 %20, i64* %sv_0.0.reg2mem br i1 %21, label LBL_5, label LBL_6 LBL_5: %22 = add i64 %17, 24 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = or i32 %24, 2 store i32 %25, i32* %23, align 4 store i64 %arg4, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %26 = add i64 %17, 16 %27 = inttoptr i64 %26 to i64* %28 = load i64, i64* %27, align 8 %29 = call i64 @FUNC(i64 %11, i64 0, i64 %28, i64 %sv_0.0.reload) %30 = trunc i64 %29 to i32 store i32 %30, i32* %sv_1, align 4 %31 = icmp slt i32 %30, 0 %32 = icmp eq i1 %31, false br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %2, i64 %11) %34 = call i64 @FUNC(i64 %2) %35 = load i32, i32* %sv_1, align 4 %36 = zext i32 %35 to i64 store i64 %36, i64* %rax.0.reg2mem br label LBL_11 LBL_8: %37 = icmp eq i64* %arg3, null br i1 %37, label LBL_10, label LBL_9 LBL_9: %38 = call i64* @memset(i64* nonnull %arg3, i32 0, i32 12) %39 = bitcast i64* %arg3 to i32* store i32 3, i32* %39, align 4 %40 = add i64 %17, 4 %41 = call i64 @FUNC(i64 %11, i64 7, i64 %40, i64 7) br label LBL_10 LBL_10: %42 = add i64 %17, 8 %43 = inttoptr i64 %42 to i64* store i64 12, i64* %43, align 8 %44 = call i64 @FUNC(i64 %2, i64 %11) %45 = call i64 @FUNC(i64 %2) store i64 %sv_0.0.reload, i64* %rax.0.reg2mem br label LBL_11 LBL_11: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %17, { 1, 0, 2, 3 } uselistorder i64 %11, { 2, 1, 0, 3, 5, 4, 6 } uselistorder i64 %7, { 1, 0 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64 %2, { 5, 4, 3, 2, 1, 6, 0, 7 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 7, { 1, 0 } uselistorder i64 (i64, i64)* @skb_free_datagram, { 1, 0 } uselistorder i64 (i64)* @release_sock, { 3, 2, 1, 0 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
head_onwire_len_12829
head_onwire_len
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %sext = mul i64 %arg1, 4294967296 %0 = ashr exact i64 %sext, 32 %1 = trunc i64 %arg2 to i8 %2 = icmp eq i8 %1, 0 %3 = trunc i64 %0 to i32 br i1 %2, label LBL_3, label LBL_1 LBL_1: %4 = icmp slt i32 %3, 9 store i64 16, i64* %sv_0.0.reg2mem br i1 %4, label LBL_4, label LBL_2 LBL_2: %5 = add nsw i64 %0, 4294967288 %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = add i64 %7, 32 store i64 %8, i64* %sv_0.0.reg2mem br label LBL_4 LBL_3: %9 = icmp eq i32 %3, 0 %10 = add nsw i64 %0, 16 %spec.select = select i1 %9, i64 12, i64 %10 store i64 %spec.select, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %11 = and i64 %sv_0.0.reload, 4294967295 ret i64 %11 uselistorder i32 %3, { 1, 0 } uselistorder i64 16, { 1, 0 } }
1
BinRealVul
_gdContributionsAlloc_19179
_gdContributionsAlloc
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i32 %storemerge6.reg2mem = alloca i32 %0 = call i64 @FUNC(i64 16) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 0, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_12 LBL_1: %sext = mul i64 %arg1, 4294967296 %3 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg2, 4294967296 %4 = ashr exact i64 %sext4, 32 %5 = inttoptr i64 %0 to i32* %6 = trunc i64 %4 to i32 store i32 %6, i32* %5, align 4 %7 = trunc i64 %3 to i32 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i32* store i32 %7, i32* %9, align 4 %10 = and i64 %3, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 8) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_2 LBL_2: %14 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_3: %15 = mul i64 %arg1, 8 %16 = and i64 %15, 34359738360 %17 = call i64 @FUNC(i64 %16) %18 = add i64 %0, 8 %19 = inttoptr i64 %18 to i64* store i64 %17, i64* %19, align 8 %20 = icmp eq i64 %17, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_4, label LBL_6 LBL_4: %22 = icmp eq i32 %7, 0 store i64 %0, i64* %rax.0.reg2mem br i1 %22, label LBL_12, label LBL_5 LBL_5: %23 = and i64 %4, 4294967295 %24 = mul i64 %arg2, 8 %25 = and i64 %24, 34359738360 store i32 0, i32* %storemerge6.reg2mem br label LBL_7 LBL_6: %26 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_12 LBL_7: %storemerge6.reload = load i32, i32* %storemerge6.reg2mem %27 = call i64 @FUNC(i64 %23, i64 8) %28 = trunc i64 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_8, label LBL_9 LBL_8: %30 = load i64, i64* %19, align 8 %31 = zext i32 %storemerge6.reload to i64 %32 = mul i64 %31, 8 %33 = add i64 %30, %32 %34 = call i64 @FUNC(i64 %25) %35 = inttoptr i64 %33 to i64* store i64 %34, i64* %35, align 8 %36 = load i64, i64* %19, align 8 %37 = add i64 %36, %32 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = icmp eq i64 %39, 0 %41 = icmp eq i1 %40, false br i1 %41, label LBL_11, label LBL_9 LBL_9: store i32 %storemerge6.reload, i32* %sv_0.0.in.reg2mem br label LBL_10 LBL_10: %sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem %sv_0.0 = add i32 %sv_0.0.in.reload, -1 %42 = load i64, i64* %19, align 8 %43 = zext i32 %sv_0.0 to i64 %44 = mul i64 %43, 8 %45 = add i64 %44, %42 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = call i64 @FUNC(i64 %47) store i32 %sv_0.0, i32* %sv_0.0.in.reg2mem br label LBL_10 LBL_11: %49 = add i32 %storemerge6.reload, 1 %50 = icmp ult i32 %49, %7 store i32 %49, i32* %storemerge6.reg2mem store i64 %0, i64* %rax.0.reg2mem br i1 %50, label LBL_7, label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %32, { 1, 0 } uselistorder i32 %storemerge6.reload, { 1, 0, 2 } uselistorder i64* %19, { 1, 0, 2, 3 } uselistorder i32 %7, { 1, 0, 2 } uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6, 7 } uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.in.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 4, 3 } uselistorder i32 0, { 2, 0, 1, 3 } uselistorder i64 (i64, i64)* @overflow2, { 1, 0 } uselistorder i64 (i64)* @gdMalloc, { 2, 1, 0 } uselistorder label LBL_12, { 0, 3, 1, 4, 2 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
asf_read_replicated_data_16602
asf_read_replicated_data
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %rdi = alloca i64, align 8 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = trunc i64 %1 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_1 LBL_1: %9 = bitcast i64* %rsi to i32* %10 = call i64 @FUNC(i64 %5) %11 = ptrtoint i32* %arg2 to i64 %12 = trunc i64 %10 to i32 %13 = add i64 %11, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 store i32 %12, i32* %arg2, align 4 %15 = load i32, i32* %9, align 8 %16 = icmp eq i32 %15, 0 %17 = icmp slt i32 %15, 0 %18 = icmp eq i1 %17, false %19 = icmp eq i1 %16, false %20 = icmp eq i1 %18, %19 store i64 4294967295, i64* %rax.0.reg2mem br i1 %20, label LBL_2, label LBL_7 LBL_2: %21 = add i64 %11, 12 %22 = zext i32 %15 to i64 %23 = call i64 @FUNC(i64 %21, i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp slt i32 %24, 0 %26 = icmp eq i1 %25, false store i64 %11, i64* %.pre-phi.reg2mem br i1 %26, label LBL_5, label LBL_3 LBL_3: %27 = and i64 %23, 4294967295 store i64 %27, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %28 = call i64 @FUNC(i64 %5, i64 4) %.pre = ptrtoint i32* %arg2 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem br label LBL_5 LBL_5: %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %29 = call i64 @FUNC(i64 %5) %30 = trunc i64 %29 to i32 %31 = add i64 %.pre-phi.reload, 8 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = bitcast i64* %rdi to i32* %34 = load i32, i32* %33, align 8 %35 = icmp slt i32 %34, 8 store i64 0, i64* %rax.0.reg2mem br i1 %35, label LBL_7, label LBL_6 LBL_6: %36 = add i32 %34, -8 %37 = zext i32 %36 to i64 %38 = call i64 @FUNC(i64 %5, i64 %37) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %34, { 1, 0 } uselistorder i32 %15, { 0, 2, 1 } uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 } uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 } uselistorder i64 4, { 1, 2, 0 } uselistorder i64 (i64)* @avio_rl32, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3 } uselistorder label LBL_7, { 1, 0, 3, 2 } }
1
BinRealVul
vorbis_comment_2831
vorbis_comment
define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i1 %sv_0.0.lcssa.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.015.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i64, align 8 store i64 %3, i64* %sv_3, align 8 %4 = icmp sgt i32 %arg3, 7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_17 LBL_1: %5 = sext i32 %arg3 to i64 %6 = add i64 %5, %3 %7 = call i64 @FUNC(i64* nonnull %sv_3) %8 = load i64, i64* %sv_3, align 8 %9 = add i64 %6, -3 %10 = sub i64 %9, %8 %sext = mul i64 %7, 4294967296 %11 = ashr exact i64 %sext, 32 %12 = icmp sgt i64 %10, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_2, label LBL_17 LBL_2: %13 = trunc i64 %7 to i32 %14 = icmp slt i32 %13, 0 %15 = icmp eq i1 %14, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %15, label LBL_3, label LBL_17 LBL_3: %16 = ptrtoint i64* %arg1 to i64 %17 = add i64 %11, %8 store i64 %17, i64* %sv_3, align 8 %18 = call i64 @FUNC(i64* nonnull %sv_3) %19 = trunc i64 %18 to i32 %20 = load i64, i64* %sv_3, align 8 %21 = sub i64 %6, %20 %22 = icmp sgt i64 %21, 3 %23 = icmp eq i32 %19, 0 %24 = icmp eq i1 %23, false %or.cond1214 = icmp eq i1 %24, %22 store i32 %19, i32* %sv_0.015.reg2mem store i64 %20, i64* %.reg2mem store i32 %19, i32* %sv_0.0.lcssa.reg2mem store i1 %23, i1* %.lcssa.reg2mem br i1 %or.cond1214, label LBL_4, label LBL_13 LBL_4: %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem %25 = call i64 @FUNC(i64* nonnull %sv_3) %26 = trunc i64 %25 to i32 %27 = load i64, i64* %sv_3, align 8 %28 = sub i64 %6, %27 %sext1 = mul i64 %25, 4294967296 %29 = ashr exact i64 %sext1, 32 %30 = icmp slt i64 %28, %29 %31 = icmp slt i32 %26, 0 %or.cond = or i1 %31, %30 store i64 %27, i64* %.reg2mem store i32 %sv_0.015.reload, i32* %sv_0.0.lcssa.reg2mem store i1 false, i1* %.lcssa.reg2mem br i1 %or.cond, label LBL_13, label LBL_5 LBL_5: %32 = add i64 %29, %27 store i64 %32, i64* %sv_3, align 8 %33 = inttoptr i64 %27 to i64* %34 = call i64* @memchr(i64* %33, i32 61, i32 %26) %35 = icmp eq i64* %34, null %36 = icmp eq i1 %35, false br i1 %36, label LBL_6, label LBL_7 LBL_6: %37 = ptrtoint i64* %34 to i64 %38 = sub i64 %37, %27 %39 = trunc i64 %38 to i32 %40 = sub i32 0, %39 %41 = sub i32 %40, 1 %42 = add i32 %41, %26 %43 = icmp eq i32 %39, 0 %44 = icmp eq i32 %42, 0 %or.cond4 = or i1 %43, %44 br i1 %or.cond4, label LBL_7, label LBL_8 LBL_7: %45 = add i32 %sv_0.015.reload, -1 %46 = load i64, i64* %sv_3, align 8 %47 = sub i64 %6, %46 %48 = icmp sgt i64 %47, 3 %49 = icmp eq i32 %45, 0 %50 = icmp eq i1 %49, false %or.cond12 = icmp eq i1 %50, %48 store i32 %45, i32* %sv_0.015.reg2mem store i64 %46, i64* %.reg2mem store i32 %45, i32* %sv_0.0.lcssa.reg2mem store i1 %49, i1* %.lcssa.reg2mem br i1 %or.cond12, label LBL_4, label LBL_13 LBL_8: %51 = mul i64 %38, 4294967296 %sext7 = add i64 %51, 4294967296 %52 = ashr exact i64 %sext7, 32 %53 = call i64 @FUNC(i64 %52) store i64 %53, i64* %sv_2, align 8 %54 = add i32 %42, 1 %55 = sext i32 %54 to i64 %56 = call i64 @FUNC(i64 %55) store i64 %56, i64* %sv_1, align 8 %57 = load i64, i64* %sv_2, align 8 %58 = icmp ne i64 %57, 0 %59 = icmp eq i64 %56, 0 %60 = icmp eq i1 %59, false %or.cond10 = icmp eq i1 %60, %58 br i1 %or.cond10, label LBL_9, label LBL_10 LBL_9: %61 = add i64 %37, 1 %wide.trip.count = and i64 %38, 4294967295 store i64 0, i64* %indvars.iv.reg2mem br label LBL_11 LBL_10: %62 = call i64 @FUNC(i64* nonnull %sv_2) %63 = call i64 @FUNC(i64* nonnull %sv_1) %64 = call i64 @FUNC(i64 %16, i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %27, i64 %2, i64 %1) br label LBL_7 LBL_11: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %65 = add i64 %indvars.iv.reload, %27 %66 = inttoptr i64 %65 to i8* %67 = load i8, i8* %66, align 1 %68 = sext i8 %67 to i32 %69 = call i32 @toupper(i32 %68) %70 = load i64, i64* %sv_2, align 8 %71 = add i64 %70, %indvars.iv.reload %72 = trunc i32 %69 to i8 %73 = inttoptr i64 %71 to i8* store i8 %72, i8* %73, align 1 %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_12, label LBL_11 LBL_12: %.pre = load i64, i64* %sv_2, align 8 %74 = ashr exact i64 %51, 32 %75 = add i64 %.pre, %74 %76 = inttoptr i64 %75 to i8* store i8 0, i8* %76, align 1 %77 = load i64, i64* %sv_1, align 8 %78 = inttoptr i64 %77 to i64* %79 = inttoptr i64 %61 to i64* %80 = call i64* @memcpy(i64* %78, i64* %79, i32 %42) %81 = load i64, i64* %sv_1, align 8 %82 = sext i32 %42 to i64 %83 = add i64 %81, %82 %84 = inttoptr i64 %83 to i8* store i8 0, i8* %84, align 1 %85 = load i64, i64* %sv_1, align 8 %86 = load i64, i64* %sv_2, align 8 %87 = call i64 @FUNC(i64 %16, i64 %86, i64 %85) %88 = call i64 @FUNC(i64* nonnull %sv_2) %89 = call i64 @FUNC(i64* nonnull %sv_1) br label LBL_7 LBL_13: %.lcssa.reload = load i1, i1* %.lcssa.reg2mem %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem %.reload = load i64, i64* %.reg2mem %90 = icmp eq i64 %6, %.reload br i1 %90, label LBL_15, label LBL_14 LBL_14: %91 = sub i64 %6, %.reload %92 = call i64 @FUNC(i64 %16, i64 2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %91, i64 %2, i64 %1) br label LBL_15 LBL_15: store i64 0, i64* %rax.0.reg2mem br i1 %.lcssa.reload, label LBL_17, label LBL_16 LBL_16: %93 = zext i32 %sv_0.0.lcssa.reload to i64 %94 = call i64 @FUNC(i64 %16, i64 2, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %93, i64 %2, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_17: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %51, { 1, 0 } uselistorder i32 %39, { 1, 0 } uselistorder i64 %38, { 1, 0, 2 } uselistorder i64* %34, { 1, 0 } uselistorder i64 %27, { 1, 5, 4, 3, 2, 0, 6 } uselistorder i32 %sv_0.015.reload, { 1, 0 } uselistorder i64 %16, { 3, 2, 0, 1 } uselistorder i64 %8, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64 %6, { 4, 3, 5, 2, 0, 1 } uselistorder i64* %sv_3, { 4, 5, 6, 1, 0, 2, 7, 8, 3, 9 } uselistorder i64* %sv_2, { 1, 3, 0, 4, 2, 5, 6 } uselistorder i64* %sv_1, { 0, 2, 3, 4, 1, 5 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 2, 1, 0 } uselistorder i32* %sv_0.015.reg2mem, { 2, 0, 1 } uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 } uselistorder i64* %0, { 1, 0 } uselistorder i8 0, { 1, 2, 3, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 0, 1 } uselistorder i64 (i64*)* @av_freep, { 3, 2, 1, 0 } uselistorder i64 (i64)* @av_malloc, { 1, 0 } uselistorder i64 3, { 1, 0, 2 } uselistorder i1 false, { 3, 2, 4, 0, 1, 5 } uselistorder i32 0, { 2, 3, 5, 0, 4, 1, 6 } uselistorder i64 4294967296, { 3, 0, 1, 2 } uselistorder i64 (i64*)* @bytestream_get_le32, { 2, 1, 0 } uselistorder label LBL_17, { 1, 0, 2, 3, 4 } uselistorder label LBL_13, { 1, 0, 2 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_7, { 2, 1, 0, 3 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ide_device_class_init_14656
ide_device_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, 12 %2 = call i64 @FUNC(i64 0, i64 %1) %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i32* store i32 1, i32* %4, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = add i64 %0, 56 %7 = inttoptr i64 %6 to i64* store i64 %5, i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
tcp_wait_for_connect_18669
tcp_wait_for_connect
define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg2 to i64 %6 = trunc i64 %arg1 to i32 %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5) %10 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %4, i64 %3, i64 %2, i64 %1) store i64 0, i64* %arg3, align 8 %11 = call i64 @FUNC(i64 %4) store i64 %11, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %12 = and i64 %arg1, 4294967295 %13 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %4, i64 %3, i64 %2, i64 %1) %14 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0)) store i64 %14, i64* %arg3, align 8 %15 = call i64 @FUNC(i64 %4) store i64 %15, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %4, { 2, 3, 0, 1 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 } }
1
BinRealVul
xpm_decode_close_6666
xpm_decode_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = add i64 %0, 8 %3 = call i64 @FUNC(i64 %2) %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 0, i64* %5, align 8 ret i64 0 uselistorder i64 (i64)* @av_freep, { 1, 0 } }
0
BinRealVul
alloc_frame_buffer_2087
alloc_frame_buffer
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.reg2mem9 = alloca i32 %.reg2mem = alloca i32 %storemerge.in.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rsi.0.reg2mem = alloca i64 %rcx.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = icmp eq i64* %arg1, null store i64 %4, i64* %rdi.1.reg2mem br i1 %5, label LBL_6, label LBL_1 LBL_1: %6 = icmp eq i64* %arg2, null store i64 %3, i64* %rsi.0.reg2mem store i64 %4, i64* %rdi.0.reg2mem br i1 %6, label LBL_3, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([19 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem store i64 ptrtoint ([52 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem store i64 ptrtoint ([32 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %rcx.0.reload = load i64, i64* %rcx.0.reg2mem %7 = add i64 %rdi.0.reload, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %10, label LBL_6, label LBL_4 LBL_4: %rsi.0.reload = load i64, i64* %rsi.0.reg2mem %11 = sext i32 %9 to i64 %12 = call i64 @FUNC(i64 %11) store i64 %12, i64* %arg2, align 8 %13 = icmp eq i64 %rsi.0.reload, 0 %14 = icmp eq i1 %13, false store i64 %rcx.0.reload, i64* %rcx.1.reg2mem store i64 %11, i64* %rdi.1.reg2mem br i1 %14, label LBL_6, label LBL_5 LBL_5: %15 = call i64 @FUNC(i64 %11, i64 0, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_3, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_6: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %16 = add i64 %4, 8 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %.off = add i32 %18, -1 %switch = icmp ult i32 %.off, 3 br i1 %switch, label LBL_8, label LBL_7 LBL_7: %19 = call i64 @FUNC(i64 %rdi.1.reload, i64 %3) store i64 %19, i64* %storemerge.in.reg2mem br label LBL_9 LBL_8: %20 = call i64 @FUNC(i64 %rdi.1.reload, i64 %3) store i64 %20, i64* %storemerge.in.reg2mem br label LBL_9 LBL_9: %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem %storemerge = trunc i64 %storemerge.in.reload to i32 %21 = icmp slt i32 %storemerge, 0 %.pre = add i64 %3, 8 %.pre1 = inttoptr i64 %.pre to i32* %.pre8 = load i32, i32* %.pre1, align 4 store i32 %.pre8, i32* %.reg2mem br i1 %21, label LBL_12, label LBL_10 LBL_10: %22 = icmp eq i32 %.pre8, 0 store i32 0, i32* %.reg2mem br i1 %22, label LBL_12, label LBL_11 LBL_11: %23 = add i64 %3, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %25, 0 %27 = icmp eq i1 %26, false store i32 %.pre8, i32* %.reg2mem br i1 %27, label LBL_13, label LBL_12 LBL_12: %.reload = load i32, i32* %.reg2mem %28 = add i64 %3, 16 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = zext i32 %.reload to i64 %32 = and i64 %storemerge.in.reload, 4294967295 %33 = call i64 @FUNC(i64 %rdi.1.reload, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 %32, i64 %31, i64 %30) %34 = call i64 @FUNC(i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_13: %35 = add i64 %4, 12 %36 = inttoptr i64 %35 to i32* %37 = load i32, i32* %36, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label LBL_13.LBL_18_crit_edge, label LBL_15 LBL_14: %.pre3 = add i64 %3, 44 %.pre5 = inttoptr i64 %.pre3 to i32* %.pre7 = load i32, i32* %.pre5, align 4 store i32 %.pre7, i32* %.reg2mem9 br label LBL_18 LBL_15: %39 = add i64 %3, 40 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %37, %41 %43 = icmp eq i1 %42, false br i1 %43, label LBL_17, label LBL_16 LBL_16: %44 = add i64 %4, 16 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = add i64 %3, 44 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %46, %49 store i32 %46, i32* %.reg2mem9 br i1 %50, label LBL_18, label LBL_17 LBL_17: %51 = call i64 @FUNC(i64 %rdi.1.reload, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_5, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) %52 = call i64 @FUNC(i64 %4, i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_18: %.reload10 = load i32, i32* %.reg2mem9 %53 = add i64 %3, 48 %54 = inttoptr i64 %53 to i32* %55 = load i32, i32* %54, align 4 %56 = icmp eq i32 %.reload10, %55 br i1 %56, label LBL_20, label LBL_19 LBL_19: %57 = call i64 @FUNC(i64 %rdi.1.reload, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_6, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) %58 = call i64 @FUNC(i64 %4, i64 %3) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %59 = add i64 %4, 24 %60 = inttoptr i64 %59 to i64* %61 = load i64, i64* %60, align 8 %62 = icmp eq i64 %61, 0 %63 = icmp eq i1 %62, false store i64 0, i64* %rax.0.reg2mem br i1 %63, label LBL_23, label LBL_21 LBL_21: %64 = add i64 %3, 40 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %4, i64 %67) %69 = trunc i64 %68 to i32 %70 = icmp slt i32 %69, 0 %71 = icmp eq i1 %70, false store i64 0, i64* %rax.0.reg2mem br i1 %71, label LBL_23, label LBL_22 LBL_22: %72 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_7, i64 0, i64 0), i64 %rcx.1.reload, i64 %2, i64 %1) %73 = call i64 @FUNC(i64 %4, i64 %3) %74 = and i64 %68, 4294967295 store i64 %74, i64* %rax.0.reg2mem br label LBL_23 LBL_23: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %.pre8, { 1, 2, 0 } uselistorder i64 %storemerge.in.reload, { 1, 0 } uselistorder i64 %rdi.1.reload, { 2, 3, 1, 0, 4 } uselistorder i64 %11, { 1, 0, 2 } uselistorder i64 %rcx.0.reload, { 2, 0, 1 } uselistorder i64 %4, { 4, 5, 7, 6, 3, 2, 9, 8, 10, 1, 0 } uselistorder i64 %3, { 6, 8, 5, 7, 4, 11, 10, 1, 12, 13, 9, 2, 14, 3, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 4, 7, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i64)* @free_frame_buffer, { 2, 1, 0 } uselistorder i64 44, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 } uselistorder i32 0, { 1, 2, 0, 3, 4, 5 } uselistorder [19 x i8]* @gv_2, { 1, 0 } uselistorder [52 x i8]* @gv_1, { 1, 0 } uselistorder [32 x i8]* @gv_0, { 1, 0 } uselistorder label LBL_23, { 2, 1, 0, 3, 4, 5, 6 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_12, { 1, 2, 0 } }
0
BinRealVul
smtp_init_8554
smtp_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = call i64* @calloc(i32 0, i32 1) %1 = ptrtoint i64* %0 to i64 store i64 %1, i64* %arg1, align 8 ret i64 1 }
0
BinRealVul
fw_send_response_4474
fw_send_response
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %arg2) store i64 %4, i64* %storemerge.reg2mem br label LBL_5 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = trunc i64 %arg3 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = add i64 %arg2, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %arg2, 16 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = add i64 %arg2, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = add i64 %arg2, 4 %19 = call i64 @FUNC(i64 %18, i64 %17, i32 %6, i64 %14, i64 %11) store i64 %5, i64* %storemerge.reg2mem br label LBL_5 LBL_4: %20 = add i64 %arg2, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = add i64 %arg2, 4 %24 = call i64 @FUNC(i64 %23, i64 %22, i32 %6, i64 0, i64 0) store i64 %5, i64* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %6, { 1, 0, 2 } uselistorder i64 %5, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i64, i32, i64, i64)* @fw_fill_response, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 5, 6, 3, 4, 0 } uselistorder label LBL_5, { 1, 0, 2 } }
0
BinRealVul
sockfs_setattr_5517
sockfs_setattr
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = ptrtoint i32* %arg2 to i64 %4 = call i64 @FUNC(i64 %2, i64 %3) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 %7 = icmp eq i1 %6, false %8 = urem i64 %1, 2 %9 = icmp eq i64 %8, 0 %or.cond = or i1 %9, %7 store i64 %4, i64* %sv_0.0.reg2mem br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %2) %11 = call i64 @FUNC(i64 %10) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 store i64 2, i64* %sv_0.0.reg2mem br i1 %14, label LBL_3, label LBL_2 LBL_2: %15 = add i64 %3, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = inttoptr i64 %13 to i32* store i32 %17, i32* %18, align 4 store i64 %4, i64* %sv_0.0.reg2mem br label LBL_3 LBL_3: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = and i64 %sv_0.0.reload, 4294967295 ret i64 %19 uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder label LBL_3, { 1, 0, 2 } }
0
BinRealVul
port92_class_initfn_15070
port92_class_initfn
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = bitcast i64* %arg1 to i32* store i32 1, i32* %1, align 4 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198662, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198669, i64* %5, align 8 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 ptrtoint (i64* @gv_0 to i64), i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
nfulnl_set_mode_18277
nfulnl_set_mode
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sext2 = mul i64 %arg2, 72057594037927936 %1 = ashr exact i64 %sext2, 56 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %arg2 to i32 %4 = urem i32 %3, 256 %5 = icmp ugt i32 %4, 1 br i1 %5, label LBL_1, label LBL_2 LBL_1: %6 = icmp eq i32 %4, 2 store i64 4294967274, i64* %sv_0.0.reg2mem br i1 %6, label LBL_3, label LBL_4 LBL_2: %7 = trunc i64 %1 to i8 %8 = add i64 %0, 4 %9 = inttoptr i64 %8 to i8* store i8 %7, i8* %9, align 1 %10 = add i64 %0, 8 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_4 LBL_3: %12 = trunc i64 %1 to i8 %13 = add i64 %0, 4 %14 = inttoptr i64 %13 to i8* store i8 %12, i8* %14, align 1 %15 = trunc i64 %arg3 to i32 %16 = icmp ult i32 %15, 65535 %17 = select i1 %16, i32 %15, i32 65535 %18 = add i64 %0, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 store i64 0, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %20 = call i64 @FUNC(i64 %0) ret i64 %sv_0.0.reload uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 3, 4, 0, 1, 5 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
arm_gic_common_realize_1030
arm_gic_common_realize
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 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp slt i32 %8, 9 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i32 %8, i64 8, i64 %2, i64 %1) store i64 %10, i64* %rax.0.reg2mem br label LBL_10 LBL_2: %11 = add i64 %6, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i32 %13, 32 store i32 %14, i32* %12, align 4 %15 = icmp slt i32 %14, 1021 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 %13, i64 1020, i64 %2, i64 %1) store i64 %16, i64* %rax.0.reg2mem br label LBL_10 LBL_4: %17 = icmp sgt i32 %14, 31 %18 = urem i32 %14, 32 %19 = icmp eq i32 %18, 0 %or.cond = icmp eq i1 %17, %19 br i1 %or.cond, label LBL_6, label LBL_5 LBL_5: %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_2, i64 0, i64 0), i32 %13, i64 %3, i64 %2, i64 %1) store i64 %20, i64* %rax.0.reg2mem br label LBL_10 LBL_6: %21 = add i64 %6, 12 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 store i64 0, i64* %rax.0.reg2mem br i1 %24, label LBL_10, label LBL_7 LBL_7: %25 = add i64 %6, 8 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 1 br i1 %28, label LBL_9, label LBL_8 LBL_8: %29 = zext i32 %27 to i64 %30 = icmp eq i32 %27, 2 %31 = icmp eq i1 %30, false store i64 %29, i64* %rax.0.reg2mem br i1 %31, label LBL_10, label LBL_9 LBL_9: %32 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_3, i64 0, i64 0), i32 %14, i64 %3, i64 %2, i64 %1) store i64 %32, 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 %27, { 1, 0, 2 } uselistorder i32 %14, { 3, 0, 1, 2, 4 } uselistorder i32 %13, { 2, 1, 0 } uselistorder i64 %6, { 0, 1, 3, 2 } uselistorder i64 %4, { 2, 3, 1, 0 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %2, { 3, 2, 1, 0 } uselistorder i64 %1, { 3, 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 6, 2, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @error_setg, { 3, 2, 1, 0 } uselistorder i64 8, { 1, 0 } }
0
BinRealVul
ofproto_init_tables_9732
ofproto_init_tables
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = trunc i64 %arg2 to i32 %4 = bitcast i64* %rdi to i32* %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %7) %.off = add i32 %3, -1 %9 = icmp ult i32 %.off, 255 %storemerge2 = zext i1 %9 to i64 %10 = call i64 @FUNC(i64 %storemerge2) %11 = bitcast i64* %arg1 to i32* store i32 %3, i32* %11, align 4 %12 = call i64 @FUNC(i64 0) %13 = add i64 %2, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %.pre = load i32, i32* %4, align 8 %15 = zext i32 %.pre to i64 store i32 0, i32* %storemerge.reg2mem br label LBL_2 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %16 = call i64 @FUNC(i64 %sv_0.0.reload) %17 = add i32 %storemerge.reload, 1 store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem store i32 %17, i32* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i32, i32* %storemerge.reg2mem %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %18 = sext i32 %storemerge.reload to i64 %19 = icmp slt i64 %18, %15 store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem br i1 %19, label LBL_3, label LBL_1 LBL_3: %20 = load i64, i64* %14, align 8 store i64 %20, i64* %sv_0.0.reg2mem br label LBL_1 uselistorder i32 %3, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 2, 1, 0 } uselistorder i64 (i64)* @ovs_assert, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
dbd_db_login_11412
dbd_db_login
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %4 = icmp eq i64 %arg5, 0 %storemerge3 = select i1 %4, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 %arg5 %5 = icmp eq i64 %arg4, 0 %storemerge2 = select i1 %5, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 %arg4 %6 = icmp eq i64 %arg3, 0 %storemerge1 = select i1 %6, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 %arg3 %7 = load i64, i64* @gv_1, align 8 %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge1, i64 %storemerge2, i64 %storemerge3, i64 %1) %9 = bitcast i64* %arg2 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* store i32 0, i32* %11, align 4 %12 = add i64 %2, 8 %13 = inttoptr i64 %12 to i32* store i32 0, i32* %13, align 4 %14 = add i64 %2, 12 %15 = inttoptr i64 %14 to i32* store i32 0, i32* %15, align 4 %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i32* store i32 1, i32* %17, align 4 %18 = add i64 %2, 20 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %2, 24 %21 = inttoptr i64 %20 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %2, 28 %23 = inttoptr i64 %22 to i32* store i32 0, i32* %23, align 4 %24 = call i64 @FUNC(i64 %3, i64 %2) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false store i64 1, i64* %storemerge.reg2mem br i1 %27, label LBL_3, label LBL_1 LBL_1: %28 = add i64 %2, 32 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 store i64 0, i64* %storemerge.reg2mem br i1 %31, label LBL_3, label LBL_2 LBL_2: %32 = call i64 @FUNC(i64 %30) %33 = load i64, i64* %29, align 8 %34 = call i64 @FUNC(i64 %33) %35 = load i64, i64* %29, align 8 %36 = call i64 @FUNC(i64 %35) %37 = and i64 %36, 4294967295 %38 = call i64 @FUNC(i64 %3, i64 %37, i64 %34, i64 %32) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 %arg4, { 1, 0 } uselistorder i64 %arg3, { 1, 0 } uselistorder label LBL_3, { 2, 1, 0 } }
1
BinRealVul
rpmReadPackageFile_5326
rpmReadPackageFile
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 i32, align 4 %0 = call i64 @FUNC() %1 = call i64 @FUNC(i64 1) store i32 0, i32* %sv_2, align 4 store i64 0, i64* %sv_1, align 8 %2 = icmp eq i64 %arg1, 0 %3 = icmp eq i1 %2, false store i64 %arg1, i64* %sv_0.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC() store i64 %4, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %6 = trunc i64 %0 to i32 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %7, i32 %6, i64 %5, i32* nonnull %sv_2, i64* nonnull %sv_1) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 3 br i1 %10, label LBL_8, label LBL_3 LBL_3: %11 = icmp sgt i32 %9, 3 br i1 %11, label LBL_10, label LBL_4 LBL_4: %12 = icmp eq i32 %9, 0 br i1 %12, label LBL_6, label LBL_5 LBL_5: %13 = icmp sgt i32 %9, -1 %14 = add i32 %9, -1 %15 = icmp ult i32 %14, 2 %or.cond = icmp eq i1 %13, %15 br i1 %or.cond, label LBL_7, label LBL_10 LBL_6: %16 = load i64, i64* %sv_1, align 8 %17 = call i64 @FUNC(i64 5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %16) br label LBL_11 LBL_7: %18 = load i32, i32* %sv_2, align 4 %19 = zext i32 %18 to i64 %20 = call i64 @FUNC(i64 %19) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 %. = select i1 %22, i64 6, i64 5 %23 = load i64, i64* %sv_1, align 8 %24 = call i64 @FUNC(i64 %., i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %23) br label LBL_11 LBL_8: %25 = load i64, i64* %sv_1, align 8 %26 = icmp eq i64 %25, 0 br i1 %26, label LBL_11, label LBL_9 LBL_9: %27 = call i64 @FUNC(i64 6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %25) br label LBL_11 LBL_10: %28 = load i64, i64* %sv_1, align 8 %29 = call i64 @FUNC(i64 7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i64 %28) br label LBL_11 LBL_11: %30 = call i64 @FUNC(i64 %7) %31 = load i64, i64* %sv_1, align 8 %32 = inttoptr i64 %31 to i64* call void @free(i64* %32) %33 = and i64 %8, 4294967295 ret i64 %33 uselistorder i32 %9, { 1, 0, 2, 3, 4 } uselistorder i64 %sv_0.0.reload, { 1, 0, 3, 2 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i64* %sv_1, { 1, 2, 3, 4, 5, 0, 6 } uselistorder i64 6, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64)* @rpmlog, { 3, 2, 1, 0 } uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 2, 0, 3, 1 } uselistorder i32 -1, { 1, 0 } uselistorder i32 3, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder label LBL_11, { 2, 1, 0, 3, 4 } }
0
BinRealVul
mp3_read_probe_1837
mp3_read_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.lcssa1516.reg2mem = alloca i32 %sv_1.16.reg2mem = alloca i32 %sv_0.07.reg2mem = alloca i32 %sv_2.08.reg2mem = alloca i64 %storemerge.lcssa.reg2mem = alloca i32 %sv_3.01.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_4 = alloca i64, align 8 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 51, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_10 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = sext i32 %6 to i64 %8 = add nsw i64 %7, -4 %9 = icmp ult i64 %8, 4096 %10 = icmp eq i32 %6, 4100 %11 = or i1 %10, %9 %12 = select i1 %11, i64 %8, i64 4096 %13 = add i64 %12, %0 %14 = icmp ugt i64 %13, %0 store i32 0, i32* %sv_0.0.lcssa1516.reg2mem br i1 %14, label LBL_2, label LBL_9 LBL_2: %15 = ptrtoint i64* %sv_4 to i64 store i64 %0, i64* %sv_2.08.reg2mem store i32 0, i32* %sv_0.07.reg2mem store i32 0, i32* %sv_1.16.reg2mem br label LBL_3.lr.ph LBL_3: %sv_3.01.reload = load i64, i64* %sv_3.01.reg2mem %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %16 = inttoptr i64 %sv_3.01.reload to i8* %17 = load i8, i8* %16, align 1 %18 = zext i8 %17 to i64 %19 = mul i64 %18, 16777216 %20 = add i64 %sv_3.01.reload, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = mul i64 %23, 65536 %25 = or i64 %24, %19 %26 = add i64 %sv_3.01.reload, 2 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = zext i8 %28 to i64 %30 = mul i64 %29, 256 %31 = or i64 %25, %30 %32 = add i64 %sv_3.01.reload, 3 %33 = inttoptr i64 %32 to i8* %34 = load i8, i8* %33, align 1 %35 = zext i8 %34 to i64 %36 = or i64 %31, %35 %37 = call i64 @FUNC(i64* nonnull %sv_4, i64 %36, i64* nonnull %sv_4) %38 = trunc i64 %37 to i32 %39 = icmp slt i32 %38, 0 store i32 %storemerge2.reload, i32* %storemerge.lcssa.reg2mem br i1 %39, label LBL_5, label LBL_4 LBL_4: %sext = mul i64 %37, 4294967296 %40 = ashr exact i64 %sext, 32 %41 = add i64 %40, %sv_3.01.reload %42 = add i32 %storemerge2.reload, 1 %43 = icmp ult i64 %41, %13 store i32 %42, i32* %storemerge2.reg2mem store i64 %41, i64* %sv_3.01.reg2mem store i32 %42, i32* %storemerge.lcssa.reg2mem br i1 %43, label LBL_3, label LBL_5 LBL_5: %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem %44 = sub i32 %sv_0.07.reload, %storemerge.lcssa.reload %45 = xor i32 %storemerge.lcssa.reload, %sv_0.07.reload %46 = xor i32 %44, %sv_0.07.reload %47 = and i32 %46, %45 %48 = icmp slt i32 %47, 0 %49 = icmp slt i32 %44, 0 %50 = icmp eq i1 %49, %48 %51 = select i1 %50, i32 %sv_0.07.reload, i32 %storemerge.lcssa.reload %52 = icmp eq i64 %sv_2.08.reload, %15 %53 = icmp eq i1 %52, false %spec.select = select i1 %53, i32 %sv_1.16.reload, i32 %storemerge.lcssa.reload %54 = add nuw i64 %sv_2.08.reload, 1 %exitcond = icmp eq i64 %54, %13 store i64 %54, i64* %sv_2.08.reg2mem store i32 %51, i32* %sv_0.07.reg2mem store i32 %spec.select, i32* %sv_1.16.reg2mem br i1 %exitcond, label LBL_7, label LBL_3.lr.ph LBL_6: %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem store i32 0, i32* %storemerge2.reg2mem store i64 %sv_2.08.reload, i64* %sv_3.01.reg2mem br label LBL_3 LBL_7: %phitmp = icmp slt i32 %spec.select, 3 store i64 51, i64* %rax.0.reg2mem br i1 %phitmp, label LBL_8, label LBL_10 LBL_8: %55 = icmp slt i32 %51, 3 store i32 %51, i32* %sv_0.0.lcssa1516.reg2mem store i64 25, i64* %rax.0.reg2mem br i1 %55, label LBL_9, label LBL_10 LBL_9: %sv_0.0.lcssa1516.reload = load i32, i32* %sv_0.0.lcssa1516.reg2mem %56 = icmp sgt i32 %sv_0.0.lcssa1516.reload, 0 %. = zext i1 %56 to i64 store i64 %., i64* %rax.0.reg2mem br label LBL_10 LBL_10: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %sv_2.08.reload, { 2, 0, 1 } uselistorder i32 %sv_0.07.reload, { 0, 2, 3, 1 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i32 %51, { 0, 2, 1 } uselistorder i32 %44, { 1, 0 } uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 3, 1 } uselistorder i32 %storemerge2.reload, { 1, 0 } uselistorder i64 %sv_3.01.reload, { 4, 3, 2, 0, 1 } uselistorder i64 %13, { 0, 2, 1 } uselistorder i64* %sv_4, { 1, 2, 0 } uselistorder i64 %0, { 0, 2, 1, 3, 4 } uselistorder i32* %storemerge2.reg2mem, { 2, 1, 0 } uselistorder i64* %sv_3.01.reg2mem, { 2, 1, 0 } uselistorder i32* %sv_0.0.lcssa1516.reg2mem, { 0, 2, 1 } uselistorder i32 3, { 1, 0 } uselistorder i64 4096, { 1, 0 } uselistorder i32 0, { 4, 3, 5, 6, 7, 1, 2, 0, 8 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_3.lr.ph, { 1, 0 } }
0
BinRealVul
tg3_load_5701_a0_firmware_fix_10004
tg3_load_5701_a0_firmware_fix
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %5, 4 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %10 to i32 store i32 %11, i32* %sv_0, align 4 %12 = call i64 @FUNC(i64 %2, i64 4096, i64 8192, i64 256, i32* nonnull %sv_0) %13 = trunc i64 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label LBL_2, label LBL_1 LBL_1: %15 = and i64 %12, 4294967295 store i64 %15, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %16 = call i64 @FUNC(i64 %2, i64 12288, i64 16384, i64 256, i32* nonnull %sv_0) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = and i64 %16, 4294967295 store i64 %19, i64* %rax.0.reg2mem br label LBL_9 LBL_4: %20 = call i64 @FUNC(i64 4096, i64 4294967295) %21 = load i32, i32* %sv_0, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 4100, i64 %22) store i32 0, i32* %storemerge1.reg2mem br label LBL_5 LBL_5: %24 = call i64 @FUNC(i64 4100) %25 = load i32, i32* %sv_0, align 4 %26 = trunc i64 %24 to i32 %27 = icmp eq i32 %25, %26 %28 = call i64 @FUNC(i64 4096, i64 4294967295) br i1 %27, label LBL_8, label LBL_6 LBL_6: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %29 = call i64 @FUNC(i64 4104, i64 1) %30 = load i32, i32* %sv_0, align 4 %31 = zext i32 %30 to i64 %32 = call i64 @FUNC(i64 4100, i64 %31) %33 = call i64 @FUNC(i64 1000) %34 = add nuw nsw i32 %storemerge1.reload, 1 %35 = icmp ult i32 %34, 5 store i32 %34, i32* %storemerge1.reg2mem br i1 %35, label LBL_5, label LBL_7 LBL_7: %36 = load i32, i32* %sv_0, align 4 %37 = call i64 @FUNC(i64 4100) %38 = load i64, i64* %4, align 8 %39 = zext i32 %36 to i64 %40 = and i64 %37, 4294967295 %41 = call i64 @FUNC(i64 %38, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %40, i64 %39, i64 %1) store i64 19, i64* %rax.0.reg2mem br label LBL_9 LBL_8: %42 = call i64 @FUNC(i64 4104, i64 0) store i64 0, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %sv_0, { 2, 3, 4, 5, 0, 1, 6 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64)* @tr32, { 1, 0 } uselistorder i64 (i64, i64)* @tw32_f, { 2, 1, 0 } uselistorder i64 (i64, i64)* @tw32, { 1, 2, 0 } uselistorder i64 (i64, i64, i64, i64, i32*)* @tg3_load_firmware_cpu, { 1, 0 } uselistorder label LBL_5, { 1, 0 } }
0
BinRealVul
breakline_3563
breakline
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i32 %sv_0.0.ph.reg2mem = alloca i64 %sv_1.0.ph.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_2 = alloca i64, align 8 store i64 %0, i64* %sv_2, align 8 %1 = call i64* @calloc(i32 8, i32 1) %2 = ptrtoint i64* %1 to i64 store i32 0, i32* %sv_1.0.ph.reg2mem store i64 %2, i64* %sv_0.0.ph.reg2mem br label LBL_5 LBL_1: %3 = inttoptr i64 %22 to i8* %4 = load i8, i8* %3, align 1 %5 = icmp eq i8 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_6 LBL_2: %7 = mul i32 %sv_1.0.ph.reload, 8 %8 = add i32 %7, 16 %9 = inttoptr i64 %sv_0.0.ph.reload to i64* %10 = call i64* @realloc(i64* %9, i32 %8) %11 = icmp eq i64* %10, null %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_3 LBL_3: call void @free(i64* %9) store i32 0, i32* %sv_1.1.reg2mem store i64 0, i64* %sv_0.1.reg2mem br label LBL_8 LBL_4: %13 = add i32 %sv_1.0.ph.reload, 1 %14 = ptrtoint i64* %10 to i64 %15 = sext i32 %13 to i64 %16 = mul i64 %15, 8 %17 = add i64 %16, %14 %18 = add i64 %17, -8 %19 = inttoptr i64 %18 to i64* store i64 %22, i64* %19, align 8 %20 = inttoptr i64 %17 to i64* store i64 0, i64* %20, align 8 store i32 %13, i32* %sv_1.0.ph.reg2mem store i64 %14, i64* %sv_0.0.ph.reg2mem br label LBL_5 LBL_5: %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem %21 = icmp eq i64 %sv_0.0.ph.reload, 0 br label LBL_6 LBL_6: store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem store i64 0, i64* %sv_0.1.reg2mem br i1 %21, label LBL_8, label LBL_7 LBL_7: %22 = call i64 @FUNC(i64* nonnull %sv_2, i64 4202512) %23 = icmp eq i64 %22, 0 %24 = icmp eq i1 %23, false store i32 %sv_1.0.ph.reload, i32* %sv_1.1.reg2mem store i64 %sv_0.0.ph.reload, i64* %sv_0.1.reg2mem br i1 %24, label LBL_1, label LBL_8 LBL_8: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem %25 = bitcast i64* %arg2 to i32* store i32 %sv_1.1.reload, i32* %25, align 4 ret i64 %sv_0.1.reload uselistorder i64 %22, { 2, 1, 0 } uselistorder i32 %sv_1.0.ph.reload, { 0, 1, 3, 2 } uselistorder i64 %sv_0.0.ph.reload, { 0, 2, 1 } uselistorder i64* %10, { 1, 0 } uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 } uselistorder i1 false, { 2, 0, 1, 3 } }
0
BinRealVul
license_read_scope_list_11264
license_read_scope_list
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i32 %rax.0.reg2mem = alloca i64 %indvars.iv.next3.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i32, i32* %0 %3 = call i64 @FUNC(i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp ult i32 %4, 4 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_5, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg2 to i64 %7 = zext i32 %2 to i64 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = bitcast i64* %arg2 to i32* %10 = mul i32 %2, 4 %11 = call i64* @malloc(i32 %10) %12 = ptrtoint i64* %11 to i64 %13 = add i64 %6, 8 %14 = inttoptr i64 %13 to i64* store i64 %12, i64* %14, align 8 %15 = icmp eq i32 %2, 0 store i64 1, i64* %rax.0.reg2mem br i1 %15, label LBL_5, label LBL_2 LBL_2: %16 = bitcast i64* %11 to i32* store i32 1, i32* %16, align 4 %17 = load i64, i64* %14, align 8 %18 = call i64 @FUNC(i64 %1, i64 %17) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false store i64 1, i64* %indvars.iv.next3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %21, label LBL_3, label LBL_5 LBL_3: %indvars.iv.next3.reload = load i64, i64* %indvars.iv.next3.reg2mem %22 = icmp ult i64 %indvars.iv.next3.reload, %7 store i64 1, i64* %rax.0.reg2mem br i1 %22, label LBL_3.dec_label_pc_4011ed_crit_edge, label LBL_5 LBL_4: %.pre = load i64, i64* %14, align 8 %23 = mul i64 %indvars.iv.next3.reload, 4 %24 = add i64 %23, %.pre %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 %26 = load i64, i64* %14, align 8 %27 = add i64 %26, %23 %28 = call i64 @FUNC(i64 %1, i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 %31 = icmp eq i1 %30, false %indvars.iv.next = add nuw nsw i64 %indvars.iv.next3.reload, 1 store i64 %indvars.iv.next, i64* %indvars.iv.next3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_3, label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %23, { 1, 0 } uselistorder i64 %indvars.iv.next3.reload, { 1, 2, 0 } uselistorder i64* %14, { 2, 1, 0, 3 } uselistorder i32 %2, { 1, 2, 0 } uselistorder i64 %1, { 1, 0, 2, 3 } uselistorder i64* %indvars.iv.next3.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 (i64, i64)* @license_read_binary_blob, { 1, 0 } uselistorder i64 1, { 4, 0, 2, 1, 3 } uselistorder label LBL_5, { 2, 1, 0, 3, 4 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
color_cmyk_to_rgb_11009
color_cmyk_to_rgb
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %rax.0.in.reg2mem = alloca i32 %indvars.iv.reg2mem = alloca i64 %.pre-phi21.reg2mem = alloca i64* %xmm0.016.reg2mem = alloca i128 %indvars.iv18.reg2mem = alloca i64 %rdi = alloca i64, align 8 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = trunc i64 %2 to i32 %5 = icmp ult i32 %4, 4 store i32 %4, i32* %rax.0.in.reg2mem br i1 %5, label LBL_8, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 12 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = mul i32 %12, %9 %14 = add i64 %6, 16 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = urem i32 %16, 32 %18 = icmp eq i32 %17, 0 %notmask23 = shl nsw i32 -1, %17 %19 = sub i32 0, %notmask23 %phitmp7 = sub i32 %19, 1 %storemerge = select i1 %18, i32 0, i32 %phitmp7 %20 = call i128 @FUNC(i128 %3, i128 %3) %21 = call i128 @FUNC(i32 %storemerge) %22 = call i128 @FUNC(i32 1065353216) %23 = call i128 @FUNC(i128 %22, i128 %21) %24 = call i64 @__asm_movss.1(i128 %23) %25 = add i64 %6, 40 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = urem i32 %27, 32 %29 = icmp eq i32 %28, 0 %notmask24 = shl nsw i32 -1, %28 %30 = sub i32 0, %notmask24 %phitmp10 = sub i32 %30, 1 %storemerge1 = select i1 %29, i32 0, i32 %phitmp10 %31 = call i128 @FUNC(i128 %21, i128 %21) %32 = call i128 @FUNC(i32 %storemerge1) %33 = call i128 @FUNC(i32 1065353216) %34 = call i128 @FUNC(i128 %33, i128 %32) %35 = call i64 @__asm_movss.1(i128 %34) %36 = add i64 %6, 64 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = urem i32 %38, 32 %40 = icmp eq i32 %39, 0 %notmask25 = shl nsw i32 -1, %39 %41 = sub i32 0, %notmask25 %phitmp13 = sub i32 %41, 1 %storemerge2 = select i1 %40, i32 0, i32 %phitmp13 %42 = call i128 @FUNC(i128 %32, i128 %32) %43 = call i128 @FUNC(i32 %storemerge2) %44 = call i128 @FUNC(i32 1065353216) %45 = call i128 @FUNC(i128 %44, i128 %43) %46 = call i64 @__asm_movss.1(i128 %45) %47 = add i64 %6, 88 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = urem i32 %49, 32 %51 = icmp eq i32 %50, 0 %notmask = shl nsw i32 -1, %50 %52 = sub i32 0, %notmask %phitmp = sub i32 %52, 1 %storemerge3 = select i1 %51, i32 0, i32 %phitmp %53 = call i128 @FUNC(i128 %43, i128 %43) %54 = call i128 @FUNC(i32 %storemerge3) %55 = call i128 @FUNC(i32 1065353216) %56 = call i128 @FUNC(i128 %55, i128 %54) %57 = call i64 @__asm_movss.1(i128 %56) %58 = icmp eq i32 %13, 0 br i1 %58, label LBL_1.LBL_5_crit_edge, label LBL_3 LBL_2: %.pre = add i64 %6, 96 %.pre20 = inttoptr i64 %.pre to i64* store i64* %.pre20, i64** %.pre-phi21.reg2mem br label LBL_5 LBL_3: %59 = trunc i64 %24 to i32 %60 = trunc i64 %35 to i32 %61 = trunc i64 %46 to i32 %62 = trunc i64 %57 to i32 %63 = add i64 %6, 24 %64 = inttoptr i64 %63 to i64* %65 = add i64 %6, 48 %66 = inttoptr i64 %65 to i64* %67 = add i64 %6, 72 %68 = inttoptr i64 %67 to i64* %69 = add i64 %6, 96 %70 = inttoptr i64 %69 to i64* %wide.trip.count = zext i32 %13 to i64 store i64 0, i64* %indvars.iv18.reg2mem store i128 %56, i128* %xmm0.016.reg2mem br label LBL_4 LBL_4: %xmm0.016.reload = load i128, i128* %xmm0.016.reg2mem %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem %71 = load i64, i64* %64, align 8 %72 = mul i64 %indvars.iv18.reload, 4 %73 = add i64 %71, %72 %74 = inttoptr i64 %73 to i32* %75 = load i32, i32* %74, align 4 %76 = call i128 @FUNC(i128 %xmm0.016.reload, i128 %xmm0.016.reload) %77 = call i128 @FUNC(i32 %75) %78 = call i128 @FUNC(i32 %59) %79 = call i128 @FUNC(i128 %77, i128 %78) %80 = call i64 @__asm_movss.1(i128 %79) %81 = trunc i64 %80 to i32 %82 = load i64, i64* %66, align 8 %83 = add i64 %82, %72 %84 = inttoptr i64 %83 to i32* %85 = load i32, i32* %84, align 4 %86 = call i128 @FUNC(i128 %79, i128 %79) %87 = call i128 @FUNC(i32 %85) %88 = call i128 @FUNC(i32 %60) %89 = call i128 @FUNC(i128 %87, i128 %88) %90 = call i64 @__asm_movss.1(i128 %89) %91 = trunc i64 %90 to i32 %92 = load i64, i64* %68, align 8 %93 = add i64 %92, %72 %94 = inttoptr i64 %93 to i32* %95 = load i32, i32* %94, align 4 %96 = call i128 @FUNC(i128 %89, i128 %89) %97 = call i128 @FUNC(i32 %95) %98 = call i128 @FUNC(i32 %61) %99 = call i128 @FUNC(i128 %97, i128 %98) %100 = call i64 @__asm_movss.1(i128 %99) %101 = trunc i64 %100 to i32 %102 = load i64, i64* %70, align 8 %103 = add i64 %102, %72 %104 = inttoptr i64 %103 to i32* %105 = load i32, i32* %104, align 4 %106 = call i128 @FUNC(i128 %99, i128 %99) %107 = call i128 @FUNC(i32 %105) %108 = call i128 @FUNC(i32 %62) %109 = call i128 @FUNC(i128 %107, i128 %108) %110 = call i64 @__asm_movss.1(i128 %109) %111 = trunc i64 %110 to i32 %112 = call i128 @FUNC(i32 1065353216) %113 = call i128 @FUNC(i128 %112, i32 %81) %114 = call i64 @__asm_movss.1(i128 %113) %115 = trunc i64 %114 to i32 %116 = call i128 @FUNC(i32 1065353216) %117 = call i128 @FUNC(i128 %116, i32 %91) %118 = call i64 @__asm_movss.1(i128 %117) %119 = trunc i64 %118 to i32 %120 = call i128 @FUNC(i32 1065353216) %121 = call i128 @FUNC(i128 %120, i32 %101) %122 = call i64 @__asm_movss.1(i128 %121) %123 = trunc i64 %122 to i32 %124 = call i128 @FUNC(i32 1065353216) %125 = call i128 @FUNC(i128 %124, i32 %111) %126 = call i64 @__asm_movss.1(i128 %125) %127 = trunc i64 %126 to i32 %128 = call i128 @FUNC(i32 %115) %129 = load i32, i32* inttoptr (i64 4202516 to i32*), align 4 %130 = call i128 @FUNC(i32 %129) %131 = call i128 @FUNC(i128 %130, i128 %128) %132 = call i128 @__asm_mulss.2(i128 %131, i32 %127) %133 = load i64, i64* %64, align 8 %134 = add i64 %133, %72 %135 = call i32 @FUNC(i128 %132) %136 = inttoptr i64 %134 to i32* store i32 %135, i32* %136, align 4 %137 = call i128 @FUNC(i32 %119) %138 = call i128 @FUNC(i32 1132396544) %139 = call i128 @FUNC(i128 %138, i128 %137) %140 = call i128 @__asm_mulss.2(i128 %139, i32 %127) %141 = load i64, i64* %66, align 8 %142 = add i64 %141, %72 %143 = call i32 @FUNC(i128 %140) %144 = inttoptr i64 %142 to i32* store i32 %143, i32* %144, align 4 %145 = call i128 @FUNC(i32 %123) %146 = call i128 @FUNC(i32 1132396544) %147 = call i128 @FUNC(i128 %146, i128 %145) %148 = call i128 @__asm_mulss.2(i128 %147, i32 %127) %149 = load i64, i64* %68, align 8 %150 = add i64 %149, %72 %151 = call i32 @FUNC(i128 %148) %152 = inttoptr i64 %150 to i32* store i32 %151, i32* %152, align 4 %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next19, %wide.trip.count store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem store i128 %148, i128* %xmm0.016.reg2mem store i64* %70, i64** %.pre-phi21.reg2mem br i1 %exitcond, label LBL_5, label LBL_4 LBL_5: %153 = bitcast i64* %rdi to i32* %.pre-phi21.reload = load i64*, i64** %.pre-phi21.reg2mem %154 = load i64, i64* %.pre-phi21.reload, align 8 %155 = inttoptr i64 %154 to i64* call void @free(i64* %155) store i64 0, i64* %.pre-phi21.reload, align 8 store i32 8, i32* %15, align 4 store i32 8, i32* %26, align 4 store i32 8, i32* %37, align 4 %156 = load i32, i32* %153, align 8 %157 = add i32 %156, -1 %158 = bitcast i64* %arg1 to i32* store i32 %157, i32* %158, align 4 %159 = add i64 %6, 104 %160 = inttoptr i64 %159 to i32* store i32 0, i32* %160, align 4 %161 = load i32, i32* %153, align 8 %162 = icmp ugt i32 %161, 3 store i32 %161, i32* %rax.0.in.reg2mem br i1 %162, label LBL_6, label LBL_8 LBL_6: %163 = zext i32 %161 to i64 store i64 3, i64* %indvars.iv.reg2mem br label LBL_7 LBL_7: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %164 = mul nuw nsw i64 %indvars.iv.next, 24 %165 = add i64 %164, %10 %166 = mul nuw nsw i64 %indvars.iv.reload, 24 %167 = add i64 %166, %10 %168 = inttoptr i64 %167 to i64* %169 = inttoptr i64 %165 to i64* %170 = call i64* @memcpy(i64* %168, i64* %169, i32 24) %exitcond22 = icmp eq i64 %indvars.iv.next, %163 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem store i32 %161, i32* %rax.0.in.reg2mem br i1 %exitcond22, label LBL_8, label LBL_7 LBL_8: %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 i64 %indvars.iv.reload, { 1, 0 } uselistorder i32 %161, { 0, 2, 1, 3 } uselistorder i32 %127, { 2, 1, 0 } uselistorder i128 %99, { 2, 1, 0 } uselistorder i128 %89, { 2, 1, 0 } uselistorder i128 %79, { 2, 1, 0 } uselistorder i64 %72, { 6, 5, 4, 3, 2, 1, 0 } uselistorder i128 %xmm0.016.reload, { 1, 0 } uselistorder i128 %43, { 1, 0, 2 } uselistorder i128 %32, { 1, 0, 2 } uselistorder i128 %21, { 1, 0, 2 } uselistorder i64 %6, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 11, 10 } uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm0.016.reg2mem, { 1, 0, 2 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64 96, { 1, 0 } uselistorder i32 -1, { 4, 0, 1, 2, 3 } }
1
BinRealVul
iscsi_set_events_15669
iscsi_set_events
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.1.reg2mem = alloca i64 %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 4198761 %10 = urem i32 %2, 2 %11 = icmp eq i32 %10, 0 %storemerge = select i1 %11, i64 0, i64 4198750 %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 %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 %18 = icmp eq i32 %2, 0 %19 = icmp eq i1 %18, false store i64 %rax.0.reload, i64* %rax.1.reg2mem br i1 %19, label LBL_4, label LBL_3 LBL_3: %20 = call i64 @FUNC(i64 0) %21 = add i64 %20, 1000 %22 = add i64 %0, 24 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = and i64 %21, 4294967295 %26 = call i64 @FUNC(i64 %24, i64 %25) store i64 %26, i64* %rax.1.reg2mem br label LBL_4 LBL_4: %rax.1.reload = load i64, i64* %rax.1.reg2mem ret i64 %rax.1.reload uselistorder i32 %2, { 3, 1, 0, 2, 4 } uselistorder i64 %0, { 4, 0, 2, 1, 3, 5, 6 } }
1
BinRealVul
address_space_access_valid_15205
address_space_access_valid
define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i8 %arg4) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.03.reg2mem = alloca i64 %sv_1.04.reg2mem = alloca i32 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %0 = call i64 @FUNC() %1 = icmp eq i32 %arg3, 0 %2 = icmp slt i32 %arg3, 0 %3 = icmp eq i1 %2, false %4 = icmp eq i1 %1, false %5 = icmp eq i1 %3, %4 store i64 1, i64* %storemerge.reg2mem br i1 %5, label LBL_1, label LBL_5 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = zext i8 %arg4 to i64 %8 = bitcast i32* %sv_3 to i64* store i32 %arg3, i32* %sv_1.04.reg2mem store i64 %arg2, i64* %sv_0.03.reg2mem br label LBL_2 LBL_2: %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem store i32 %sv_1.04.reload, i32* %sv_3, align 4 %9 = call i64 @FUNC(i64 %6, i64 %sv_0.03.reload, i64* nonnull %sv_2, i64* nonnull %8, i64 %7) %10 = call i64 @FUNC(i64 %9, i64 %7) %11 = trunc i64 %10 to i8 %12 = icmp eq i8 %11, 1 br i1 %12, label LBL_4, label LBL_3 LBL_3: %13 = load i32, i32* %sv_3, align 4 %14 = sext i32 %13 to i64 %15 = call i64 @FUNC(i64 %9, i64 %14, i64 %sv_0.03.reload) %16 = trunc i64 %15 to i32 store i32 %16, i32* %sv_3, align 4 %sext = mul i64 %15, 4294967296 %17 = ashr exact i64 %sext, 32 %18 = load i64, i64* %sv_2, align 8 %19 = call i64 @FUNC(i64 %9, i64 %18, i64 %17, i64 %7) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 1 store i64 0, i64* %storemerge.reg2mem br i1 %21, label LBL_4, label LBL_5 LBL_4: %22 = load i32, i32* %sv_3, align 4 %23 = sub i32 %sv_1.04.reload, %22 %24 = sext i32 %22 to i64 %25 = add i64 %sv_0.03.reload, %24 %26 = icmp eq i32 %23, 0 %27 = icmp slt i32 %23, 0 %28 = icmp eq i1 %27, false %29 = icmp eq i1 %26, false %30 = icmp eq i1 %28, %29 store i32 %23, i32* %sv_1.04.reg2mem store i64 %25, i64* %sv_0.03.reg2mem store i64 1, i64* %storemerge.reg2mem br i1 %30, label LBL_2, label LBL_5 LBL_5: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %sv_0.03.reload, { 2, 0, 1 } uselistorder i32* %sv_3, { 3, 2, 1, 0, 4 } uselistorder i64* %sv_2, { 1, 0 } uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 3, 2, 0, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_5, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
pci_register_iommu_region_13807
pci_register_iommu_region
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 0) %12 = icmp eq i64 %11, 0 store i64 0, i64* %rax.0.reg2mem br i1 %12, label LBL_4, label LBL_1 LBL_1: %13 = call i64 @FUNC(i64 32, i64 0) %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false br i1 %15, label LBL_3, label LBL_2 LBL_2: %16 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 %3, i64 %2, i64 %1) %17 = call i64 @FUNC() unreachable LBL_3: %18 = inttoptr i64 %11 to i32* %19 = inttoptr i64 %13 to i64* store i64 ptrtoint ([6 x i8]* @gv_2 to i64), i64* %19, align 8 %20 = load i32, i32* %18, align 4 %21 = zext i32 %20 to i64 %22 = add nuw nsw i64 %21, 32 %23 = add i64 %13, 8 %24 = inttoptr i64 %23 to i64* store i64 %22, i64* %24, align 8 %25 = add i64 %11, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = zext i32 %27 to i64 %29 = add nuw nsw i64 %21, 31 %30 = add nuw nsw i64 %29, %28 %31 = add i64 %13, 16 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = add i64 %13, 24 %34 = inttoptr i64 %33 to i64* store i64 1, i64* %34, align 8 %35 = call i64 @FUNC(i64 %4, i64 %13) store i64 %35, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %0, { 2, 1, 0 } }
0
BinRealVul
mxf_read_seek_2387
mxf_read_seek
define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i32* %arg1 to i64 %3 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %sext = mul i64 %arg2, 4294967296 %6 = ashr exact i64 %sext, 29 %7 = add i64 %5, %6 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_4 LBL_1: %13 = inttoptr i64 %9 to i32* %14 = icmp slt i64 %arg3, 0 %15 = icmp eq i1 %14, false %spec.select = select i1 %15, i64 %arg3, i64 0 %16 = add i64 %9, 4 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = load i32, i32* %13, align 4 %20 = zext i32 %19 to i64 %21 = call i64 @FUNC(i64 %spec.select, i64 %20, i32 %18) %sext3 = mul i64 %1, 4294967296 %22 = ashr exact i64 %sext3, 32 %23 = mul i64 %21, %22 %24 = ashr i64 %23, 3 %25 = add i64 %2, 16 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i64 %24, i64 0) %29 = trunc i64 %28 to i32 %30 = icmp slt i32 %29, 0 %31 = icmp eq i1 %30, false br i1 %31, label LBL_3, label LBL_2 LBL_2: %32 = and i64 %28, 4294967295 store i64 %32, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %33 = call i64 @FUNC(i64 %2, i64 %9, i64 %spec.select) 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 %spec.select, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
0
BinRealVul
arm_sysctl_init_2644
arm_sysctl_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 8) %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_2, label LBL_1 LBL_1: %sext = mul i64 %arg1, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = inttoptr i64 %0 to i32* %4 = trunc i64 %2 to i32 store i32 %4, i32* %3, align 4 %5 = trunc i64 %arg2 to i32 %6 = add i64 %0, 4 %7 = inttoptr i64 %6 to i32* store i32 %5, i32* %7, align 4 %8 = call i64 @FUNC(i64 0, i64 4198814, i64 4198821, i64 %0) %9 = trunc i64 %8 to i32 %10 = and i64 %2, 4294967295 %11 = call i64 @FUNC(i64 %10, i64 4096, i32 %9) store i64 %11, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 1, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
usb_msd_send_status_3360
usb_msd_send_status
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i32, align 4 %3 = call i64 @FUNC(i64 1396855637) %4 = trunc i64 %3 to i32 store i32 %4, i32* %sv_0, align 4 %5 = and i64 %1, 4294967295 %6 = call i64 @FUNC(i64 %5) %7 = icmp ugt i64* %arg2, inttoptr (i64 16 to i64*) %8 = trunc i64 %2 to i32 %9 = select i1 %7, i32 16, i32 %8 %10 = call i64 @FUNC(i64 %2, i32* nonnull %sv_0, i32 %9) %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* store i32 %9, i32* %12, align 4 ret i64 %2 uselistorder i64 %2, { 2, 1, 0, 3 } uselistorder i64 (i64)* @cpu_to_le32, { 1, 0 } }
0
BinRealVul
t1_check_block_len_10628
t1_check_block_len
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %1 = icmp eq i32 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = call i64 @FUNC() %3 = trunc i64 %2 to i32 %4 = trunc i64 %arg1 to i32 %5 = icmp eq i32 %4, 0 store i32 %3, i32* %sv_0.0.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = urem i64 %2, 256 %7 = call i64 @FUNC(i64 %6) %8 = trunc i64 %7 to i32 %9 = urem i32 %8, 256 store i32 %9, i32* %sv_0.0.reg2mem br label LBL_3 LBL_3: %10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %13 = zext i32 %10 to i64 store i64 %13, i64* %rax.0.reg2mem store i64 %13, i64* %rax.0.reg2mem switch i32 %sv_0.0.reload, label LBL_5 [ i32 13, label LBL_6 i32 10, label LBL_6 ] LBL_5: %14 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i64 zext (i32 ptrtoint (i32* @gv_3 to i32) to i64)) store i64 %14, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %10, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32 1, { 1, 0 } uselistorder label LBL_6, { 3, 0, 1, 2 } }
0
BinRealVul
sk_receive_skb_12672
sk_receive_skb
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_10, label LBL_1 LBL_1: store i64 0, i64* %arg2, align 8 %6 = trunc i64 %arg3 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = call i64 @FUNC(i64 %1) br label LBL_4 LBL_3: %9 = call i64 @FUNC(i64 %1) br label LBL_4 LBL_4: %10 = call i64 @FUNC(i64 %1) %11 = trunc i64 %10 to i32 %12 = icmp eq i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: %14 = load i64, i64* @gv_0, align 8 %15 = add i64 %1, 4 %16 = call i64 @FUNC(i64 %15, i64 0, i64 1, i64 %14) %17 = call i64 @FUNC(i64 %1, i64 %0) %18 = load i64, i64* @gv_0, align 8 %19 = call i64 @FUNC(i64 %15, i64 1, i64 %18) store i64 %17, i64* %sv_0.0.reg2mem br label LBL_8 LBL_6: %20 = call i64 @FUNC(i64 %1, i64 %0) %21 = trunc i64 %20 to i32 %22 = icmp eq i32 %21, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %22, label LBL_8, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64 %1) %24 = call i64 @FUNC(i64 %1) br label LBL_10 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %25 = call i64 @FUNC(i64 %1) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_9 LBL_9: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %26 = call i64 @FUNC(i64 %1) %27 = and i64 %sv_0.1.reload, 4294967295 ret i64 %27 LBL_10: %28 = call i64 @FUNC(i64 %0) store i64 0, i64* %sv_0.1.reg2mem br label LBL_9 uselistorder i64 %1, { 9, 4, 3, 2, 5, 1, 0, 6, 7, 8, 10 } uselistorder i64 %0, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @bh_unlock_sock, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
yuv_a_to_rgba_17163
yuv_a_to_rgba
define i64 @FUNC(i16* %arg1, i8* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.lcssa.reg2mem = alloca i64 %sv_0.05.reg2mem = alloca i16* %sv_1.06.reg2mem = alloca i8* %sv_2.07.reg2mem = alloca i64 %xmm1.08.reg2mem = alloca i128 %xmm2.09.reg2mem = alloca i128 %storemerge.in10.reg2mem = alloca i64 %0 = and i64 %arg4, 4294967295 %1 = trunc i64 %arg4 to i32 %2 = icmp eq i32 %1, 0 %3 = icmp slt i32 %1, 0 %4 = icmp eq i1 %3, false %5 = icmp eq i1 %2, false %6 = icmp eq i1 %4, %5 store i64 %0, i64* %rax.0.lcssa.reg2mem br i1 %6, label LBL_1, label LBL_3 LBL_1: %sext = mul i64 %arg4, 4294967296 %7 = ptrtoint i64* %arg3 to i64 store i64 %sext, i64* %storemerge.in10.reg2mem store i64 %7, i64* %sv_2.07.reg2mem store i8* %arg2, i8** %sv_1.06.reg2mem store i16* %arg1, i16** %sv_0.05.reg2mem br label LBL_2 LBL_2: %sv_0.05.reload = load i16*, i16** %sv_0.05.reg2mem %sv_1.06.reload = load i8*, i8** %sv_1.06.reg2mem %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem %xmm1.08.reload = load i128, i128* %xmm1.08.reg2mem %xmm2.09.reload = load i128, i128* %xmm2.09.reg2mem %storemerge.in10.reload = load i64, i64* %storemerge.in10.reg2mem %8 = ptrtoint i16* %sv_0.05.reload to i64 %9 = add i64 %8, 1 %10 = bitcast i16* %sv_0.05.reload to i8* %11 = load i8, i8* %10, align 1 %12 = add i64 %8, 2 %13 = inttoptr i64 %9 to i8* %14 = load i8, i8* %13, align 1 %15 = zext i8 %14 to i32 %16 = add i64 %8, 3 %17 = inttoptr i64 %16 to i16* %18 = inttoptr i64 %12 to i8* %19 = load i8, i8* %18, align 1 %20 = zext i8 %19 to i32 %21 = add nsw i32 %15, -128 %22 = call i128 @FUNC(i128 %xmm1.08.reload, i128 %xmm1.08.reload) %23 = call i128 @FUNC(i32 %21) %24 = call i128 @FUNC(i64 4608992865850220347) %25 = call i128 @FUNC(i128 %24, i128 %23) %26 = call i32 @FUNC(i128 %25) %27 = add nsw i32 %20, -128 %28 = call i128 @FUNC(i128 %23, i128 %23) %29 = call i128 @FUNC(i32 %27) %30 = call i128 @FUNC(i64 -4623501013891410796) %31 = call i128 @FUNC(i128 %29, i128 %30) %32 = call i128 @FUNC(i128 %xmm2.09.reload, i128 %xmm2.09.reload) %33 = call i128 @FUNC(i32 %21) %34 = call i128 @FUNC(i64 -4618764452062515679) %35 = call i128 @FUNC(i128 %34, i128 %33) %36 = call i128 @FUNC(i128 %35, i128 %31) %37 = call i32 @FUNC(i128 %36) %38 = call i128 @FUNC(i128 %31, i128 %31) %39 = call i128 @FUNC(i32 %27) %40 = call i128 @FUNC(i64 4610659197712347431) %41 = call i128 @FUNC(i128 %40, i128 %39) %42 = call i32 @FUNC(i128 %41) %43 = trunc i32 %26 to i8 %44 = add i8 %11, %43 %45 = trunc i32 %37 to i8 %46 = add i8 %11, %45 %47 = trunc i32 %42 to i8 %48 = add i8 %11, %47 %49 = ptrtoint i8* %sv_1.06.reload to i64 %50 = add i64 %49, 1 %51 = inttoptr i64 %50 to i8* %52 = load i8, i8* %sv_1.06.reload, align 1 %53 = zext i8 %52 to i32 %54 = mul i32 %53, 16777216 %55 = zext i8 %44 to i32 %56 = mul i32 %55, 65536 %57 = zext i8 %46 to i32 %58 = mul i32 %57, 256 %59 = zext i8 %48 to i32 %60 = or i32 %58, %56 %61 = or i32 %60, %54 %62 = or i32 %61, %59 %63 = add i64 %sv_2.07.reload, 4 %64 = inttoptr i64 %sv_2.07.reload to i32* store i32 %62, i32* %64, align 4 %sext4 = add i64 %storemerge.in10.reload, -4294967296 %65 = udiv i64 %sext4, 4294967296 %66 = trunc i64 %65 to i32 %67 = icmp eq i32 %66, 0 %68 = icmp slt i32 %66, 0 %69 = icmp eq i1 %68, false %70 = icmp eq i1 %67, false %71 = icmp eq i1 %69, %70 store i64 %sext4, i64* %storemerge.in10.reg2mem store i128 %33, i128* %xmm2.09.reg2mem store i128 %39, i128* %xmm1.08.reg2mem store i64 %63, i64* %sv_2.07.reg2mem store i8* %51, i8** %sv_1.06.reg2mem store i16* %17, i16** %sv_0.05.reg2mem store i64 %sv_2.07.reload, i64* %rax.0.lcssa.reg2mem br i1 %71, label LBL_2, label LBL_3 LBL_3: %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem ret i64 %rax.0.lcssa.reload uselistorder i32 %66, { 1, 0 } uselistorder i128 %31, { 2, 1, 0 } uselistorder i128 %23, { 2, 1, 0 } uselistorder i64 %8, { 2, 1, 0 } uselistorder i128 %xmm2.09.reload, { 1, 0 } uselistorder i128 %xmm1.08.reload, { 1, 0 } uselistorder i8* %sv_1.06.reload, { 1, 0 } uselistorder i16* %sv_0.05.reload, { 1, 0 } uselistorder i64* %storemerge.in10.reg2mem, { 1, 0, 2 } uselistorder i128* %xmm2.09.reg2mem, { 1, 0 } uselistorder i128* %xmm1.08.reg2mem, { 1, 0 } uselistorder i64* %sv_2.07.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_1.06.reg2mem, { 1, 0, 2 } uselistorder i16** %sv_0.05.reg2mem, { 1, 0, 2 } uselistorder i64 4294967296, { 1, 0 } uselistorder i1 false, { 3, 2, 0, 1 } uselistorder i32 0, { 2, 3, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
pic_common_class_init_15853
pic_common_class_init
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i32* store i32 1, i32* %2, align 4 %3 = 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 %6 = add i64 %0, 24 %7 = inttoptr i64 %6 to i64* store i64 4198662, i64* %7, align 8 ret i64 %0 uselistorder i64 %0, { 1, 0, 2, 3 } }
1
BinRealVul
qmp_guest_file_open_857
qmp_guest_file_open
define i64 @FUNC(i64 %arg1, i8 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg4 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 %4 = icmp eq i8 %arg2, 1 %spec.select = select i1 %4, i64 %arg3, i64 ptrtoint (i64* @gv_0 to i64) %5 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %spec.select, i64 %3, i64 %2, i64 %1) %6 = call i64 @FUNC(i64 %arg1, i64 %spec.select, i64* nonnull %sv_0) %7 = load i64, i64* %sv_0, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %3, i64 %7) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %10 = inttoptr i64 %6 to %_IO_FILE* %11 = call i32 @fileno(%_IO_FILE* %10) %12 = call i32 (i32, i32, ...) @fcntl(i32 %11, i32 3) %13 = call i32 (i32, i32, ...) @fcntl(i32 %11, i32 4) %14 = icmp eq i32 %13, -1 %15 = icmp eq i1 %14, false br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i32* @__errno_location() %17 = load i32, i32* %16, align 4 %18 = call i64 @FUNC(i64 %3, i32 %17, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %arg1) %19 = call i32 @fclose(%_IO_FILE* %10) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %20 = call i64 @FUNC(i64 %6, i64 %3) %21 = call i64 @FUNC(i64 %3) %22 = trunc i64 %21 to i8 %23 = icmp eq i8 %22, 0 br i1 %23, label LBL_6, label LBL_5 LBL_5: %24 = call i32 @fclose(%_IO_FILE* %10) store i64 -1, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %25 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %20, i64 %3, i64 %spec.select, i64 %2, i64 %1) store i64 %20, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder %_IO_FILE* %10, { 1, 0, 2 } uselistorder i64 %spec.select, { 2, 0, 1 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64 %3, { 2, 4, 3, 1, 0, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 } uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 } uselistorder i32 (%_IO_FILE*)* @fileno, { 1, 0 } uselistorder i64 -1, { 2, 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @slog, { 1, 0 } uselistorder i64 %arg1, { 0, 2, 1 } }
0
BinRealVul
kvaser_usb_leaf_flush_queue_17354
kvaser_usb_leaf_flush_queue
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %rdi = alloca i64, align 8 %0 = call i64 @FUNC(i64 16, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %storemerge.reg2mem br i1 %2, label LBL_1, label LBL_2 LBL_1: %3 = inttoptr i64 %0 to i32* %4 = ptrtoint i64* %arg1 to i64 store i32 1, i32* %3, align 4 %5 = add i64 %0, 4 %6 = inttoptr i64 %5 to i32* store i32 10, i32* %6, align 4 %7 = bitcast i64* %rdi to i32* %8 = load i32, i32* %7, align 8 %9 = add i64 %0, 8 %10 = inttoptr i64 %9 to i32* store i32 %8, i32* %10, align 4 %11 = add i64 %0, 12 %12 = inttoptr i64 %11 to i32* store i32 0, i32* %12, align 4 %13 = load i32, i32* %6, align 4 %14 = add i64 %4, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i64 %0, i32 %13) %18 = call i64 @FUNC(i64 %0) %19 = and i64 %17, 4294967295 store i64 %19, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
bracketed_paste_5612
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 = alloca i32, align 4 %sv_3 = 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 4210772 to i32*), align 4 %2 = load i32, i32* @gv_1, align 4 %3 = call i64 @FUNC(i64 %0) 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 %4 = load i32, i32* @gv_1, align 4 %5 = icmp eq i32 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = 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_2 LBL_2: %8 = ptrtoint i64* %arg3 to i64 %9 = ptrtoint i64* %sv_3 to i64 %10 = trunc i64 %3 to i32 %11 = icmp slt i32 %10, 1024 %spec.select = select i1 %11, i64 %0, i64 0 %12 = icmp eq i64 %spec.select, 0 %13 = icmp eq i1 %12, false %14 = add i64 %9, -1072 %15 = bitcast i32* %sv_2 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 sgt i32 %19, 3 %22 = icmp ne i32 %19, 1 %23 = icmp eq i64* %arg3, null %or.cond13 = or i1 %22, %23 %24 = add i64 %8, 8 %25 = inttoptr i64 %24 to i32* %26 = ptrtoint i32* %sv_2 to i64 %27 = trunc i64 %26 to i32 store i32 -1, i32* %sv_0.0.ph.reg2mem br label LBL_3 LBL_3: %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem store i32 0, i32* %sv_1.0.reg2mem br label LBL_4 LBL_4: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem br i1 %13, label LBL_6, label LBL_5 LBL_5: %28 = call i64 @FUNC() %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 br i1 %30, label LBL_33, label LBL_6 LBL_6: br label LBL_7 LBL_7: %31 = call i64 @FUNC() %32 = trunc i64 %31 to i32 %33 = icmp ult i32 %32, 3 br i1 %33, label LBL_7, label LBL_8 LBL_8: %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_33, label LBL_9 LBL_9: %37 = load i32, i32* @gv_7, align 4 %38 = icmp sgt i32 %37, 0 %39 = icmp eq i32 %32, 3 %or.cond9 = icmp eq i1 %39, %38 br i1 %or.cond9, label LBL_33, label LBL_10 LBL_10: %40 = load i32, i32* @gv_8, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = add i32 %sv_1.0.reload, %32 store i32 %42, i32* %sv_1.1.reg2mem br label LBL_13 LBL_12: %43 = add i32 %sv_1.0.reload, 1 %44 = sext i32 %sv_1.0.reload to i64 %45 = trunc i64 %31 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_13 LBL_13: %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_16, label LBL_14 LBL_14: %51 = call i64 @FUNC(i64* nonnull %15, i64 %spec.select, 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_16, label LBL_15 LBL_15: %55 = add i64 %spec.select, %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_4, label LBL_33 LBL_16: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %18, label LBL_32, label LBL_17 LBL_17: br i1 %20, label LBL_29, label LBL_18 LBL_18: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %21, label LBL_32, label LBL_19 LBL_19: switch i32 %19, label LBL_20 [ i32 2, label LBL_24 i32 0, label LBL_21 ] LBL_20: store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br i1 %or.cond13, label LBL_32, label LBL_22 LBL_21: %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_32 LBL_22: %62 = zext i32 %sv_1.1.reload to i64 %63 = call i64 @FUNC(i64 %8, 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_32, label LBL_23 LBL_23: %67 = load i32, i32* %25, align 4 %68 = sext i32 %67 to i64 %69 = add nsw i64 %68, %48 %70 = call i64 @FUNC(i64 %69, i64* nonnull %15, i64 %48) %71 = load i32, i32* %25, align 4 %72 = add i32 %71, %sv_1.1.reload store i32 %72, i32* %25, align 4 store i32 %sv_0.0.ph.reload, i32* %sv_0.1.reg2mem br label LBL_32 LBL_24: %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_32, label LBL_25 LBL_25: %77 = icmp eq i32 %sv_1.1.reload, 1 %78 = icmp eq i1 %77, false br i1 %78, label LBL_28, label LBL_26 LBL_26: %79 = load i32, i32* %sv_2, align 4 %trunc = trunc i32 %79 to i8 switch i8 %trunc, label LBL_28 [ i8 13, label LBL_27 i8 10, label LBL_27 ] LBL_27: %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_32 LBL_28: %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_32 LBL_29: %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_32, label LBL_30 LBL_30: %88 = load i32, i32* @gv_8, align 4 %89 = icmp eq i32 %88, 0 store i32 %27, i32* %sv_0.1.reg2mem br i1 %89, label LBL_31, label LBL_32 LBL_31: %90 = load i32, i32* %sv_2, align 4 %91 = urem i32 %90, 256 store i32 %91, i32* %sv_0.1.reg2mem br label LBL_32 LBL_32: %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_3 LBL_33: %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_35, label LBL_34 LBL_34: %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_35 LBL_35: %97 = zext i32 %sv_0.0.ph.reload to i64 ret i64 %97 uselistorder i64 %48, { 1, 0, 2, 4, 3 } uselistorder i32 %sv_1.1.reload, { 2, 1, 5, 4, 3, 6, 0 } uselistorder i32 %32, { 1, 0, 2 } uselistorder i32 %sv_0.0.ph.reload, { 11, 8, 10, 5, 4, 6, 0, 1, 3, 2, 7, 9 } uselistorder i32* %25, { 1, 0, 2 } uselistorder i64* %15, { 2, 1, 0, 3, 4 } uselistorder i64 %14, { 1, 0 } uselistorder i64 %spec.select, { 0, 2, 1 } uselistorder i64 %8, { 1, 0 } uselistorder i32* %sv_2, { 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, 7, 6, 8, 2, 3, 5, 4, 9, 12 } uselistorder i32* @gv_8, { 1, 0 } uselistorder i32 -1, { 2, 1, 0 } uselistorder i32 3, { 1, 0, 3, 2 } uselistorder i64 (i8*, i64, i64, i64)* @set_option_value, { 1, 0 } uselistorder i1 false, { 0, 1, 2, 3, 4, 6, 7, 8, 5, 9, 10 } uselistorder i32* @gv_3, { 2, 1, 0 } uselistorder i32 0, { 9, 10, 11, 12, 1, 14, 15, 2, 16, 17, 0, 13, 18, 19, 3, 4, 5, 6, 7, 8 } uselistorder i32* @gv_1, { 1, 0 } uselistorder label LBL_33, { 1, 2, 3, 0 } uselistorder label LBL_32, { 3, 0, 2, 6, 5, 4, 8, 7, 9, 1, 10, 11 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
av_reallocp_2535
av_reallocp
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64 %arg2, 0 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = call i64 @FUNC(i64 %0) store i64 0, i64* %rax.0.reg2mem br label LBL_5 LBL_2: %4 = call i64 @FUNC(i64 %0, i64 %arg2) %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_4, label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_5 LBL_4: store i64 %4, i64* %arg1, align 8 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 %0, { 1, 2, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } }
0
BinRealVul
do_divduo_5057
do_divduo
define i64 @FUNC() local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i128 %rax.0.reg2mem = alloca i64 %0 = load i128, i128* @gv_0, align 8 %1 = trunc i128 %0 to i64 %2 = icmp eq i64 %1, 0 %3 = icmp eq i1 %2, false %4 = zext i1 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_2, label LBL_1 LBL_1: store i32 0, i32* @gv_1, align 4 %8 = load i128, i128* @gv_2, align 8 %9 = load i128, i128* @gv_0, align 8 %.lhs.trunc = trunc i128 %8 to i64 %.rhs.trunc = trunc i128 %9 to i64 %10 = udiv i64 %.lhs.trunc, %.rhs.trunc %11 = sext i64 %10 to i128 store i64 %10, i64* %rax.0.reg2mem store i128 %11, i128* %storemerge.reg2mem br label LBL_3 LBL_2: store i32 1, i32* @gv_1, align 4 store i32 1, i32* @gv_3, align 4 store i64 %5, i64* %rax.0.reg2mem store i128 0, i128* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i128, i128* %storemerge.reg2mem %rax.0.reload = load i64, i64* %rax.0.reg2mem store i128 %storemerge.reload, i128* @gv_2, align 8 ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i128* @gv_0, { 1, 0 } uselistorder i32 1, { 2, 3, 1, 0 } }
0
BinRealVul
RegisterSGIImage_8185
RegisterSGIImage
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %1 = inttoptr i64 %0 to i64* store i64 4198772, i64* %1, align 8 %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* store i64 4198779, i64* %3, align 8 %4 = add i64 %0, 16 %5 = inttoptr i64 %4 to i64* store i64 4198786, i64* %5, align 8 %6 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0)) %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* store i64 %6, i64* %8, align 8 %9 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0)) %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i64* store i64 %9, i64* %11, align 8 %12 = add i64 %0, 40 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 %14 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i32 1, { 1, 0 } uselistorder i64 (i8*)* @ConstantString, { 1, 0 } }
0
BinRealVul
ff_dct_common_init_17375
ff_dct_common_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.pre-phi.reg2mem = alloca i64* %rdi = alloca i64, align 8 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 24 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %0, 8 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = add i64 %0, 16 %7 = call i64 @FUNC(i64 %6, i64 8) %8 = add i64 %0, 32 %9 = inttoptr i64 %8 to i64* store i64 4198691, i64* %9, align 8 %10 = add i64 %0, 40 %11 = inttoptr i64 %10 to i64* store i64 4198698, i64* %11, align 8 %12 = add i64 %0, 48 %13 = inttoptr i64 %12 to i64* store i64 4198705, i64* %13, align 8 %14 = add i64 %0, 56 %15 = inttoptr i64 %14 to i64* store i64 4198712, i64* %15, align 8 %16 = add i64 %0, 64 %17 = inttoptr i64 %16 to i64* store i64 4198719, i64* %17, align 8 %18 = bitcast i64* %rdi to i32* %19 = load i32, i32* %18, align 8 %20 = urem i32 %19, 2 %21 = icmp eq i32 %20, 0 %spec.store.select = select i1 %21, i64 4198719, i64 4198726 store i64 %spec.store.select, i64* %17, align 8 %22 = add i64 %0, 72 %23 = inttoptr i64 %22 to i64* store i64 4198733, i64* %23, align 8 %24 = call i64 @FUNC(i64 %0) %25 = call i64 @FUNC(i64 %0) %26 = call i64 @FUNC(i64 %0) %27 = call i64 @FUNC(i64 %0) %28 = call i64 @FUNC(i64 %0) %29 = add i64 %0, 4 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label LBL_2, label LBL_1 LBL_1: %33 = load i64, i64* @gv_0, align 8 %34 = add i64 %0, 80 %35 = inttoptr i64 %4 to i64* %36 = load i64, i64* %35, align 8 %37 = call i64 @FUNC(i64 %36, i64 %34, i64 %33) %38 = load i64, i64* @gv_0, align 8 %39 = add i64 %0, 88 %40 = load i64, i64* %35, align 8 %41 = call i64 @FUNC(i64 %40, i64 %39, i64 %38) store i64* %35, i64** %.pre-phi.reg2mem br label LBL_3 LBL_2: %42 = load i64, i64* @gv_1, align 8 %43 = add i64 %0, 80 %44 = inttoptr i64 %4 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45, i64 %43, i64 %42) %47 = load i64, i64* @gv_1, align 8 %48 = add i64 %0, 88 %49 = load i64, i64* %44, align 8 %50 = call i64 @FUNC(i64 %49, i64 %48, i64 %47) store i64* %44, i64** %.pre-phi.reg2mem br label LBL_3 LBL_3: %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem %51 = load i64, i64* @gv_2, align 8 %52 = add i64 %0, 96 %53 = load i64, i64* %.pre-phi.reload, align 8 %54 = call i64 @FUNC(i64 %53, i64 %52, i64 %51) %55 = load i64, i64* @gv_0, align 8 %56 = add i64 %0, 104 %57 = load i64, i64* %.pre-phi.reload, align 8 %58 = call i64 @FUNC(i64 %57, i64 %56, i64 %55) ret i64 0 uselistorder i64 %4, { 1, 0, 2 } uselistorder i64 %0, { 1, 2, 3, 5, 0, 6, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 } uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i64, i64)* @ff_init_scantable, { 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
v9fs_readdir_9001
v9fs_readdir
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.1.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_1 = alloca i32, align 4 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 %2 = ptrtoint i32* %arg1 to i64 %3 = bitcast i32* %sv_1 to i64* %4 = bitcast i32* %sv_3 to i64* %5 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %3, i64* nonnull %sv_2, i64* nonnull %4) %6 = icmp slt i64 %5, 0 store i64 %5, i64* %sv_0.1.reg2mem br i1 %6, label LBL_10, label LBL_1 LBL_1: %7 = load i32, i32* %sv_3, align 4 %8 = load i64, i64* %sv_2, align 8 %9 = load i32, i32* %sv_1, align 4 %10 = zext i32 %9 to i64 %11 = add i64 %2, 4 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %7 to i64 %15 = and i64 %1, 4294967295 %16 = call i64 @FUNC(i64 %15, i32 %13, i64 %10, i64 %8, i64 %14) %17 = load i32, i32* %sv_1, align 4 %18 = zext i32 %17 to i64 %19 = call i64 @FUNC(i64 %2, i64 %18) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 -22, i64* %sv_0.1.reg2mem br i1 %21, label LBL_2, label LBL_10 LBL_2: %22 = inttoptr i64 %19 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i64 -22, i64* %sv_0.0.reg2mem br i1 %25, label LBL_3, label LBL_9 LBL_3: %26 = load i64, i64* %sv_2, align 8 %27 = icmp eq i64 %26, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_5, label LBL_4 LBL_4: %29 = call i64 @FUNC(i64 %2, i64 %19) br label LBL_6 LBL_5: %30 = call i64 @FUNC(i64 %2, i64 %19, i64 %26) br label LBL_6 LBL_6: %31 = load i32, i32* %sv_3, align 4 %32 = zext i32 %31 to i64 %33 = call i64 @FUNC(i64 %2, i64 %19, i64 %32) %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %34, 0 %36 = icmp eq i1 %35, false store i64 %33, i64* %sv_0.0.reg2mem br i1 %36, label LBL_7, label LBL_9 LBL_7: %37 = and i64 %33, 4294967295 %38 = call i64 @FUNC(i64 %2, i64 7, i64 4202516, i64 %37) %39 = icmp slt i64 %38, 0 store i64 %38, i64* %sv_0.0.reg2mem br i1 %39, label LBL_9, label LBL_8 LBL_8: %sext7 = mul i64 %33, 4294967296 %40 = ashr exact i64 %sext7, 32 %41 = add nsw i64 %40, 7 %sext8 = mul i64 %38, 4294967296 %42 = ashr exact i64 %sext8, 32 %43 = add nsw i64 %41, %42 %44 = load i32, i32* %12, align 4 %45 = call i64 @FUNC(i64 %15, i32 %44, i32 %34, i64 %43) store i64 %43, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %46 = call i64 @FUNC(i64 %2, i64 %19) store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem %sext = mul i64 %sv_0.1.reload, 4294967296 %47 = ashr exact i64 %sext, 32 %48 = call i64 @FUNC(i64 %2, i64 %47) ret i64 %48 uselistorder i64 %38, { 1, 0, 2 } uselistorder i64 %33, { 1, 2, 0, 3 } uselistorder i64 %19, { 1, 0, 3, 2, 4, 5 } uselistorder i64 %15, { 1, 0 } uselistorder i64 %2, { 7, 0, 1, 2, 3, 4, 5, 6, 8 } uselistorder i32* %sv_3, { 1, 0, 2 } uselistorder i64* %sv_2, { 1, 2, 0 } uselistorder i32* %sv_1, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 } uselistorder i64 32, { 2, 0, 1 } uselistorder i64 -22, { 1, 0 } uselistorder i64 4294967295, { 1, 0 } uselistorder label LBL_10, { 2, 0, 1 } uselistorder label LBL_9, { 3, 2, 0, 1 } }
0
BinRealVul
submit_pdu_256
submit_pdu
define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr { LBL_0: %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4 %1 = icmp eq i32 %0, 0 br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = ptrtoint i32* %arg2 to i64 %3 = call i64 @FUNC(i64 %2) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 ret i64 %4 }
0
BinRealVul
spapr_h_cas_compose_response_16036
spapr_h_cas_compose_response
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0 = alloca i32, align 4 store i32 1, i32* %sv_0, align 4 %0 = add i64 %arg2, -4 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %1, i64 %0) %3 = and i64 %2, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0) %6 = and i64 %5, 4294967295 %7 = call i64 @FUNC(i64 %6) %8 = call i64 @FUNC(i64 %1) %9 = and i64 %8, 4294967295 %10 = call i64 @FUNC(i64 %9) %11 = call i64 @FUNC(i64 %1) %12 = and i64 %11, 4294967295 %13 = call i64 @FUNC(i64 %12) %14 = call i64 @FUNC(i64 %0) %15 = call i64 @FUNC(i64 %1, i64 %14, i64 %0) %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %16) %18 = call i64 @FUNC(i64 %1) %19 = call i64 @FUNC(i64 %14) %20 = and i64 %19, 4294967295 %21 = call i64 @FUNC(i64 %20) %22 = call i64 @FUNC(i64 %14) %23 = add i64 %22, 4 %24 = icmp ult i64 %0, %23 %25 = icmp eq i1 %24, false br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = call i64 @FUNC(i64 %0) store i64 4294967295, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %27 = inttoptr i64 %14 to i32* %28 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_0, i64 4) %29 = call i64 @FUNC(i64 %14) %30 = add i64 %arg1, 4 %31 = call i64 @FUNC(i64 %30, i32* %27, i64 %29) %32 = call i64 @FUNC(i64 %14) %33 = add i64 %32, 4 %34 = call i64 @FUNC(i64 %33) %35 = call i64 @FUNC(i64 %14) store i64 0, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 3, 2, 1, 0, 4, 5 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i32*, i64)* @cpu_physical_memory_write, { 1, 0 } uselistorder i64 4, { 1, 2, 0, 3 } uselistorder i64 (i64)* @fdt_totalsize, { 2, 1, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i64 (i64)* @_FDT, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64)* @g_malloc0, { 1, 0 } uselistorder i32 1, { 6, 7, 4, 3, 2, 1, 0, 5 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
vp9_superframe_close_1943
vp9_superframe_close
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, 10 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: ret i64 %3 uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } }
0
BinRealVul
devm_request_irq_17957
devm_request_irq
define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i64 4198831, i64 16, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_4 LBL_1: %3 = zext i32 %arg2 to i64 %4 = call i64 @FUNC(i64 %3, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) %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) %8 = and i64 %4, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %9 = ptrtoint i64* %arg1 to i64 %10 = inttoptr i64 %0 to i32* store i32 %arg2, i32* %10, align 4 %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* store i64 %arg6, i64* %12, align 8 %13 = call i64 @FUNC(i64 %9, i64 %0) 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 %0, { 0, 1, 3, 2, 4 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
reposvul_c_test
ndpi_default_ports_tree_node_t_walker_29
ndpi_default_ports_tree_node_t_walker
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 = trunc i64 %arg2 to i32 store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem switch i32 %2, label LBL_1 [ i32 0, label LBL_4 i32 1, label LBL_2 i32 2, label LBL_3 ] LBL_1: %3 = icmp eq i32 %2, 3 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64), i64 ptrtoint ([10 x i8]* @gv_2 to i64) store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_2: store i64 ptrtoint ([15 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem br label LBL_4 LBL_3: store i64 ptrtoint ([14 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem br label LBL_4 LBL_4: %5 = and i64 %arg3, 4294967295 %6 = trunc i64 %1 to i32 %rax.0.reload = load i64, i64* %rax.0.reg2mem %7 = inttoptr i64 %rax.0.reload to i8* %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i64 %5, i8* %7, i32 %6) %9 = sext i32 %8 to i64 ret i64 %9 uselistorder i32 %2, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder label LBL_4, { 1, 3, 2, 0 } }
0
BinRealVul
rbd_get_client_18076
rbd_get_client
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1 = alloca i64, align 8 %0 = call i64 @FUNC(i64 4, i64 0) %1 = icmp eq i64 %0, 0 %2 = icmp eq i1 %1, false store i64 4294967284, i64* %rax.0.reg2mem br i1 %2, label LBL_1, label LBL_7 LBL_1: %3 = inttoptr i64 %0 to i32* store i32 30, i32* %3, align 4 %4 = load i64, i64* @gv_0, align 8 %5 = inttoptr i64 %arg2 to i8* %6 = call i32 @strlen(i8* %5) %7 = sext i32 %6 to i64 %8 = add i64 %7, %arg2 %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg3, i64 %arg2, i64 %8, i64 %4, i64 %0) %10 = trunc i64 %9 to i32 %11 = icmp slt i32 %10, 0 store i64 %9, i64* %sv_0.0.reg2mem br i1 %11, label LBL_6, label LBL_2 LBL_2: %12 = ptrtoint i64* %arg1 to i64 %13 = call i64 @FUNC(i64* nonnull @gv_1) %14 = load i64, i64* %sv_1, align 8 %15 = call i64 @FUNC(i64 %14) %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = load i64, i64* %sv_1, align 8 %18 = call i64 @FUNC(i64 %17) %sext = mul i64 %15, 4294967296 %19 = ashr exact i64 %sext, 32 %20 = call i64 @FUNC(i64 %19) store i64 %19, i64* %arg1, align 8 %21 = add nsw i64 %19, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = add i64 %12, 8 %25 = inttoptr i64 %24 to i64* store i64 %23, i64* %25, align 8 %26 = call i64 @FUNC(i64* nonnull @gv_1) store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_4: %27 = call i64 @FUNC(i64* nonnull @gv_1) %28 = load i64, i64* %sv_1, align 8 %29 = call i64 @FUNC(i64 %28, i64 %0) %30 = icmp ult i64 %29, -1000 store i64 %29, i64* %sv_0.0.reg2mem br i1 %30, label LBL_5, label LBL_6 LBL_5: %sext4 = mul i64 %29, 4294967296 %31 = ashr exact i64 %sext4, 32 store i64 %31, i64* %arg1, align 8 %32 = add nsw i64 %31, 8 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = add i64 %12, 8 %36 = inttoptr i64 %35 to i64* store i64 %34, i64* %36, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %37 = call i64 @FUNC(i64 %0) %38 = and i64 %sv_0.0.reload, 4294967295 store i64 %38, i64* %rax.0.reg2mem br label LBL_7 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %31, { 1, 0 } uselistorder i64 %29, { 1, 0, 2 } uselistorder i64 %19, { 0, 2, 1 } uselistorder i64 %12, { 1, 0 } uselistorder i64* %sv_1, { 1, 2, 3, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 } uselistorder i64 (i64*)* @spin_unlock, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
1
BinRealVul
jswrap_graphics_lineTo_10540
jswrap_graphics_lineTo
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i16 %rax.0.reg2mem = alloca i64 %1 = ptrtoint i64* %arg1 to i64 %2 = load i16, i16* %0 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 %3, i64* %rax.0.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = trunc i64 %arg3 to i32 %sext3 = mul i64 %arg2, 281474976710656 %7 = ashr exact i64 %sext3, 48 %8 = sext i16 %2 to i64 %9 = load i64, i64* %sv_0, align 8 %sext4 = mul i64 %9, 281474976710656 %10 = ashr exact i64 %sext4, 48 %sext5 = mul i32 %6, 65536 %11 = ashr exact i32 %sext5, 16 %12 = zext i32 %11 to i64 %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 %10, i64 %8, i64 %7, i64 %12) store i64 %7, i64* %sv_0, 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, 3, 1, 4, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
qio_channel_websock_encode_14000
qio_channel_websock_encode
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8, align 1 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: store i8 -126, i8* %sv_1, align 1 %2 = icmp ult i64* %arg1, inttoptr (i64 125 to i64*) store i64 -13, i64* %sv_0.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br i1 %2, label LBL_5, label LBL_2 LBL_2: %3 = icmp ult i64* %arg1, inttoptr (i64 65536 to i64*) br i1 %3, label LBL_3, label LBL_4 LBL_3: %4 = urem i64 %0, 65536 %5 = call i64 @FUNC(i64 %4) store i64 -11, i64* %sv_0.0.reg2mem store i64 %4, i64* %rdi.0.reg2mem br label LBL_5 LBL_4: %6 = call i64 @FUNC(i64 %0) store i64 -5, i64* %sv_0.0.reg2mem store i64 %0, i64* %rdi.0.reg2mem br label LBL_5 LBL_5: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %7 = add i64 %rdi.0.reload, %sv_0.0.reload %8 = add i64 %0, 1032 %9 = call i64 @FUNC(i64 %8, i64 %7) %10 = call i64 @FUNC(i64 %8, i8* nonnull %sv_1, i64 %sv_0.0.reload) %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i8* %13 = call i64 @FUNC(i64 %8, i8* %12, i64 %8) %14 = call i64 @FUNC(i64 %0) store i64 %14, 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 %8, { 2, 0, 1, 3 } uselistorder i64 %0, { 4, 6, 5, 2, 7, 3, 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 3, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i8*, i64)* @buffer_append, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_5, { 1, 2, 0 } }
1
BinRealVul
clear_commits_3319
clear_commits
define i64 @FUNC(i32* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i64 %.ph.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = and i64 %1, 4294967295 %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %3) %6 = zext i32 %5 to i64 %7 = call i64 @FUNC(i64 %6) %8 = icmp eq i32 %2, 0 %9 = ptrtoint i32* %arg1 to i64 store i32 0, i32* %storemerge2.reg2mem br i1 %8, label LBL_11, label LBL_1 LBL_1: %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %10 = zext i32 %storemerge2.reload to i64 %11 = call i64 @FUNC(i64 %9, i64 %10) %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = icmp eq i64 %13, 0 %15 = icmp eq i1 %14, false %.pre4 = add i64 %11, 8 %.pre5 = inttoptr i64 %.pre4 to i32* store i64 %13, i64* %.ph.reg2mem br i1 %15, label LBL_4, label LBL_2 LBL_2: %16 = load i32, i32* %.pre5, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label LBL_10, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0)) %.pr.pre = load i64, i64* %12, align 8 store i64 %.pr.pre, i64* %.ph.reg2mem br label LBL_4 LBL_4: %.ph.reload = load i64, i64* %.ph.reg2mem %.pr = load i32, i32* %.pre5, align 4 %18 = icmp eq i32 %.pr, 1 %19 = icmp eq i64 %.ph.reload, 0 br i1 %18, label LBL_8, label LBL_5 LBL_5: %20 = icmp eq i1 %19, false store i64 %.ph.reload, i64* %.reg2mem br i1 %20, label LBL_7, label LBL_6 LBL_6: call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0)) %.pre = load i64, i64* %12, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_7 LBL_7: %.reload = load i64, i64* %.reg2mem %21 = call i64 @FUNC(i64 %.reload) br label LBL_10 LBL_8: br i1 %19, label LBL_10, label LBL_9 LBL_9: call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0)) br label LBL_10 LBL_10: %22 = add i32 %storemerge2.reload, 1 %23 = sext i32 %22 to i64 %24 = icmp sgt i64 %3, %23 store i32 %22, i32* %storemerge2.reg2mem br i1 %24, label LBL_1, label LBL_11 LBL_11: store i32 0, i32* %arg1, align 4 ret i64 %9 uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 } uselistorder i64* %.ph.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 2, 3, 0 } uselistorder label LBL_4, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
0
BinRealVul
gen_set_psr_2366
gen_set_psr
define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: ret i64 0 }
0
BinRealVul
mlx5_ib_mmap_5286
mlx5_ib_mmap
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg2 to i64 %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %4) %7 = add i64 %3, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9) store i64 4294967258, i64* %rax.0.reg2mem switch i64 %10, label LBL_5 [ i64 1, label LBL_1 i64 2, label LBL_6 ] LBL_1: %11 = add i64 %3, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = sub i64 %13, %3 %15 = icmp eq i64 %14, 4096 store i64 4294967274, i64* %rax.0.reg2mem br i1 %15, label LBL_2, label LBL_6 LBL_2: %16 = load i64, i64* %8, align 8 %17 = call i64 @FUNC(i64 %16) %18 = inttoptr i64 %5 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp ult i64 %17, %19 store i64 4294967274, i64* %rax.0.reg2mem br i1 %20, label LBL_3, label LBL_6 LBL_3: %21 = add i64 %5, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = mul i64 %17, 8 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %6, i64 %27) %29 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %28, i64 %2, i64 %1) %30 = add i64 %3, 24 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = call i64 @FUNC(i64 %33) %35 = trunc i64 %34 to i32 store i32 %35, i32* %31, align 4 %36 = and i64 %34, 4294967295 %37 = call i64 @FUNC(i64 %3, i64 ptrtoint ([27 x i8]* @gv_0 to i64), i64 %28, i64 4096, i64 %36) %38 = trunc i64 %37 to i32 %39 = icmp eq i32 %38, 0 store i64 4294967285, i64* %rax.0.reg2mem br i1 %39, label LBL_4, label LBL_6 LBL_4: %40 = mul i64 %28, 4096 %41 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([27 x i8]* @gv_0 to i64), i64 %40, i64 %36, i64 %1) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i64 4294967274, 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 %36, { 1, 0 } uselistorder i64 %17, { 1, 0, 2 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %5, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 2, 3, 4, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mlx5_ib_dbg, { 1, 0 } uselistorder [27 x i8]* @gv_0, { 1, 0 } uselistorder i64 4294967274, { 2, 0, 1 } uselistorder label LBL_6, { 4, 5, 1, 2, 3, 0 } }
0
BinRealVul
mov_write_dfla_tag_9157
mov_write_dfla_tag
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0, i64 0) %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)) %4 = call i64 @FUNC(i64 %0, i64 0) %5 = call i64 @FUNC(i64 %0, i64 0) %6 = load i64, i64* inttoptr (i64 8 to i64*), align 8 %7 = icmp eq i64 %6, 34 store i64 4294967295, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_1: %8 = call i64 @FUNC(i64 %0, i64 128) %9 = load i64, i64* inttoptr (i64 136 to i64*), align 8 %10 = and i64 %9, 4294967295 %11 = call i64 @FUNC(i64 %0, i64 %10) %12 = add nuw nsw i64 %10, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i64 @FUNC(i64 %0, i64 %10, i64 %14) %16 = call i64 @FUNC(i64 %0, i64 %1) store i64 %16, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %10, { 2, 1, 0 } uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6, 7, 8 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 8, { 1, 0 } uselistorder i64 (i64, i64)* @avio_wb24, { 1, 0 } uselistorder i64 (i64, i64)* @avio_w8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
alloc_clusters_noref_15553
alloc_clusters_noref
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge13.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2) %2 = icmp eq i64 %1, 0 br i1 %2, label LBL_7, label LBL_1 LBL_1: %3 = add i64 %0, 1 br label LBL_2 LBL_2: store i64 0, i64* %storemerge13.reg2mem br label LBL_3 LBL_3: store i64 %3, i64* %arg1, align 8 %4 = call i64 @FUNC(i64 %0, 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_5, label LBL_4 LBL_4: %sext = mul i64 %4, 4294967296 %8 = ashr exact i64 %sext, 32 store i64 %8, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %9 = icmp eq i32 %5, 0 br i1 %9, label LBL_6, label LBL_2 LBL_6: %storemerge13.reload = load i64, i64* %storemerge13.reg2mem %10 = add nuw i64 %storemerge13.reload, 1 %11 = icmp ult i64 %10, %1 store i64 %10, i64* %storemerge13.reg2mem br i1 %11, label LBL_3, label LBL_7 LBL_7: %12 = add i64 %0, -1 %13 = add i64 %0, 8 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = urem i32 %15, 64 %17 = icmp eq i32 %16, 0 %18 = zext i32 %16 to i64 %19 = lshr i64 9223372036854775807, %18 %storemerge = select i1 %17, i64 9223372036854775807, i64 %19 %20 = icmp ugt i64 %12, %storemerge store i64 -27, i64* %rax.0.reg2mem br i1 %20, label LBL_9, label LBL_8 LBL_8: %21 = sub i64 %0, %1 %rdx.0 = shl i64 %21, %18 %22 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %23 = ptrtoint %_IO_FILE* %22 to i64 %24 = trunc i64 %arg2 to i32 %25 = trunc i64 %rdx.0 to i32 %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %22, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i32 %24, i32 %25) %27 = sub i64 %23, %1 %28 = load i32, i32* %14, align 4 %29 = urem i32 %28, 64 %30 = zext i32 %29 to i64 %rdx.1 = shl i64 %27, %30 store i64 %rdx.1, i64* %rax.0.reg2mem br label LBL_9 LBL_9: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 2, 3, 0 } uselistorder i64 %0, { 3, 4, 0, 1, 5, 2, 6 } uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 } uselistorder i64 -1, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
config_props_1664
config_props
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %storemerge2.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = add i64 %0, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = zext i32 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = add i64 %5, 4 %14 = inttoptr i64 %13 to i32* store i32 %12, i32* %14, align 4 %15 = add i64 %10, 4 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = add i64 %5, 8 %19 = inttoptr i64 %18 to i32* store i32 %17, i32* %19, align 4 %20 = add i64 %10, 8 %21 = inttoptr i64 %20 to i32* %22 = load i32, i32* %21, align 4 %23 = urem i32 %22, 2 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false store i32 1, i32* %storemerge2.reg2mem br i1 %25, label LBL_2, label LBL_1 LBL_1: %26 = call i64 @FUNC(i64 %10) %27 = trunc i64 %26 to i32 %28 = ashr i32 %27, 3 store i32 %28, i32* %storemerge2.reg2mem br label LBL_2 LBL_2: %29 = inttoptr i64 %5 to i32* %storemerge2.reload = load i32, i32* %storemerge2.reg2mem %30 = add i64 %5, 12 %31 = inttoptr i64 %30 to i32* store i32 %storemerge2.reload, i32* %31, align 4 %32 = load i32, i32* %29, align 4 %33 = load i32, i32* %21, align 4 %34 = and i32 %33, 2 %35 = icmp eq i32 %34, 0 %36 = icmp eq i1 %35, false %37 = zext i1 %36 to i32 %38 = and i32 %32, %37 store i32 %38, i32* %29, align 4 %39 = load i32, i32* %7, align 4 %40 = add i64 %5, 28 %41 = zext i32 %39 to i64 %42 = call i64 @FUNC(i64 %40, i64 %41) %43 = trunc i64 %42 to i32 %44 = icmp sgt i32 %43, -1 %45 = zext i1 %44 to i32 %46 = add i64 %5, 16 %47 = inttoptr i64 %46 to i32* store i32 %45, i32* %47, align 4 %48 = load i32, i32* %7, align 4 %49 = zext i32 %48 to i64 %50 = call i64 @FUNC(i64 %49, i64* nonnull @gv_0) %51 = trunc i64 %50 to i32 %52 = icmp eq i32 %51, 0 br i1 %52, label LBL_4, label LBL_3 LBL_3: %53 = load i32, i32* %29, align 4 %54 = icmp eq i32 %53, 0 %55 = icmp eq i1 %54, false store i32 16, i32* %storemerge.reg2mem br i1 %55, label LBL_4, label LBL_5 LBL_4: store i32 0, i32* %storemerge.reg2mem br label LBL_5 LBL_5: %storemerge.reload = load i32, i32* %storemerge.reg2mem %56 = add i64 %5, 20 %57 = inttoptr i64 %56 to i32* store i32 %storemerge.reload, i32* %57, align 4 %58 = mul i32 %storemerge.reload, 65536 %59 = or i32 %58, 32768 %60 = add i64 %5, 24 %61 = inttoptr i64 %60 to i32* store i32 %59, i32* %61, align 4 ret i64 0 uselistorder i32 %storemerge.reload, { 1, 0 } uselistorder i32* %29, { 0, 2, 1 } uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
_Unpickler_ResizeMemoList_11164
_Unpickler_ResizeMemoList
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %storemerge23.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = icmp slt i64 %3, %arg2 store i64 %0, i64* %rdi.0.reg2mem br i1 %4, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0)) store i64 ptrtoint ([27 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem br label LBL_2 LBL_2: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %5 = inttoptr i64 %rdi.0.reload to i64* %.tr = trunc i64 %arg2 to i32 %6 = mul i32 %.tr, 8 %7 = call i64* @realloc(i64* %5, i32 %6) %8 = icmp eq i64 %rdi.0.reload, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_4, label LBL_3 LBL_3: %10 = call i64 @FUNC() store i64 4294967295, i64* %storemerge.reg2mem br label LBL_7 LBL_4: store i64 %rdi.0.reload, i64* %arg1, align 8 %11 = load i64, i64* %2, align 8 %12 = icmp slt i64 %11, %arg2 store i64 %11, i64* %storemerge23.reg2mem br i1 %12, label LBL_5, label LBL_6 LBL_5: %storemerge23.reload = load i64, i64* %storemerge23.reg2mem %13 = mul i64 %storemerge23.reload, 8 %14 = add i64 %13, %rdi.0.reload %15 = inttoptr i64 %14 to i64* store i64 0, i64* %15, align 8 %16 = add nsw i64 %storemerge23.reload, 1 %exitcond = icmp eq i64 %16, %arg2 store i64 %16, i64* %storemerge23.reg2mem br i1 %exitcond, label LBL_6, label LBL_5 LBL_6: store i64 %arg2, i64* %2, align 8 store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %rdi.0.reload, { 3, 2, 1, 0 } uselistorder i64* %storemerge23.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder [27 x i8]* @gv_0, { 1, 0 } uselistorder i64 %arg2, { 2, 0, 1, 3, 4 } uselistorder label LBL_5, { 1, 0 } }
1