dataset
stringclasses
3 values
file
stringlengths
7
83
fun_name
stringlengths
2
83
llvm_ir_function
stringlengths
61
121k
label
stringclasses
2 values
BinRealVul
gen_rp_interrupts_init_1520
gen_rp_interrupts_init
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 16, i64 0, i64 %0) %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 br i1 %6, label LBL_4, label LBL_2 LBL_2: call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0)) br label LBL_3 LBL_3: %7 = call i64 @FUNC(i64 %1, i64 0) br label LBL_4 LBL_4: %8 = and i64 %2, 4294967295 ret i64 %8 }
0
BinRealVul
hpet_get_ticks_3449
hpet_get_ticks
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 0) %1 = load i64, i64* @gv_0, align 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = add i64 %3, %0 %5 = call i64 @FUNC(i64 %4) ret i64 %5 }
0
BinRealVul
tenc_dump_13354
tenc_dump
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false store i64 1, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %6 = and i64 %1, 4294967295 %7 = inttoptr i64 %arg2 to %_IO_FILE* %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %6) %9 = add i64 %4, 4 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_3, label LBL_2 LBL_2: %13 = zext i32 %11 to i64 %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %13) br label LBL_4 LBL_3: %15 = add i64 %4, 8 %16 = inttoptr i64 %15 to i32* %17 = load i32, i32* %16, align 4 %18 = zext i32 %17 to i64 %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %18) %20 = load i32, i32* %16, align 4 %21 = add i64 %4, 12 %22 = call i64 @FUNC(i64 %arg2, i64 %21, i32 %20) %23 = call i32 @fwrite(i64* bitcast ([9 x i8]* @gv_4 to i64*), i32 1, i32 8, %_IO_FILE* %7) br label LBL_4 LBL_4: %24 = add i64 %4, 28 %25 = call i64 @FUNC(i64 %arg2, i64 %24, i32 16) %26 = add i64 %4, 44 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label LBL_6, label LBL_5 LBL_5: %30 = add i64 %4, 52 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = zext i32 %32 to i64 %34 = add i64 %4, 48 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = zext i32 %36 to i64 %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_5, i64 0, i64 0), i64 %37, i64 %33) br label LBL_6 LBL_6: %39 = call i32 @fwrite(i64* bitcast ([4 x i8]* @gv_6 to i64*), i32 1, i32 3, %_IO_FILE* %7) %40 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg2) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder %_IO_FILE* %7, { 2, 1, 3, 4, 0, 5 } uselistorder i64 %4, { 2, 1, 0, 4, 3, 5, 7, 6, 8 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 } uselistorder i64 (i64, i64, i32)* @dump_data_hex, { 1, 0 } uselistorder i32 0, { 1, 2, 0 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 6, 2, 1, 4, 3, 5 } uselistorder i64 %arg2, { 0, 1, 2, 4, 3 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
brcmf_msgbuf_process_event_7139
brcmf_msgbuf_process_event
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 = and i64 %2, 4294967295 %5 = call i64 @FUNC(i64 %4) %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i16* %8 = load i16, i16* %7, align 2 %9 = zext i16 %8 to i64 %10 = call i64 @FUNC(i64 %9) %11 = trunc i64 %1 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = add i32 %11, -1 %14 = bitcast i64* %arg1 to i32* store i32 %13, i32* %14, align 4 br label LBL_2 LBL_2: %15 = ptrtoint i64* %arg1 to i64 %16 = trunc i64 %5 to i32 %17 = call i64 @FUNC(i64 %15) %18 = add i64 %15, 16 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %15, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27, i64 %20, i32 %16) %29 = icmp eq i64 %28, 0 store i64 0, i64* %rax.0.reg2mem br i1 %29, label LBL_10, label LBL_3 LBL_3: %30 = add i64 %15, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label LBL_5, label LBL_4 LBL_4: %34 = zext i32 %32 to i64 %35 = call i64 @FUNC(i64 %28, i64 %34) br label LBL_5 LBL_5: %36 = urem i64 %10, 65536 %37 = call i64 @FUNC(i64 %28, i64 %36) %38 = add i64 %3, 4 %39 = inttoptr i64 %38 to i16* %40 = load i16, i16* %39, align 2 %41 = load i64, i64* %22, align 8 %42 = zext i16 %40 to i64 %43 = call i64 @FUNC(i64 %41, i64 %42) %44 = icmp eq i64 %43, 0 br i1 %44, label LBL_7, label LBL_6 LBL_6: %45 = inttoptr i64 %43 to i64* %46 = load i64, i64* %45, align 8 %47 = icmp eq i64 %46, 0 %48 = icmp eq i1 %47, false br i1 %48, label LBL_8, label LBL_7 LBL_7: %49 = load i16, i16* %39, align 2 %50 = zext i16 %49 to i64 %51 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %50) br label LBL_9 LBL_8: %52 = inttoptr i64 %28 to i32* %53 = call i64 @FUNC(i64 %28, i64 %46) %54 = trunc i64 %53 to i32 store i32 %54, i32* %52, align 4 %55 = add i64 %43, 8 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = call i64 @FUNC(i64 %57, i64 %28, i64 0) br label LBL_9 LBL_9: %59 = call i64 @FUNC(i64 %28) store i64 %59, 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 %28, { 2, 0, 1, 5, 3, 4, 6 } uselistorder i64 %15, { 0, 3, 2, 1 } uselistorder i32 %11, { 1, 0 } uselistorder i64* %0, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
_gids_cache_register_8138
_gids_cache_register
define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i8* %arg1 to i64 %4 = trunc i64 %arg2 to i32 %5 = call i64 @FUNC(i64 %3) %6 = load i64, i64* @gv_0, align 8 %7 = mul i64 %5, 8 %8 = add i64 %7, %6 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %3, i32 %4, i64 %arg3, i64 %10) %12 = load i64, i64* @gv_0, align 8 %13 = add i64 %12, %7 %14 = inttoptr i64 %13 to i64* store i64 %11, i64* %14, align 8 %15 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %3, i32 %4, i64 %10, i64 %2, i64 %1) ret i64 %15 uselistorder i64 %10, { 1, 0 } uselistorder i64 %7, { 1, 0 } uselistorder i64* %0, { 1, 0 } }
0
BinRealVul
add_to_trie_17778
add_to_trie
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i64 %.lcssa2.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_1, label LBL_3 LBL_1: %5 = add i64 %arg1, 2064 %6 = inttoptr i64 %5 to i32* %7 = load i32, i32* %6, align 4 %8 = icmp eq i32 %7, 0 store i64 0, i64* %.lcssa2.reg2mem store i64 0, i64* %.lcssa.reg2mem br i1 %8, label LBL_10, label LBL_2 LBL_2: %9 = add i64 %arg1, 2048 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = zext i32 %7 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge9.reg2mem br label LBL_4 LBL_3: %13 = add i64 %arg1, 2056 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 store i64 %arg3, i64* %14, align 8 store i64 %15, i64* %rax.0.reg2mem br label LBL_15 LBL_4: %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload = load i64, i64* %.reg2mem %16 = add i64 %.reload, %11 %17 = inttoptr i64 %16 to i8* %18 = load i8, i8* %17, align 1 %19 = add i64 %.reload, %arg2 %20 = inttoptr i64 %19 to i8* %21 = load i8, i8* %20, align 1 %22 = icmp eq i8 %18, %21 br i1 %22, label LBL_8, label LBL_5 LBL_5: %23 = call i64* @malloc(i32 2072) %24 = ptrtoint i64* %23 to i64 %25 = inttoptr i64 %arg1 to i64* %26 = call i64* @memcpy(i64* %23, i64* %25, i32 2048) %27 = load i32, i32* %6, align 4 %28 = sub i32 0, %storemerge9.reload %29 = sub i32 %28, 1 %30 = add i32 %27, %29 %31 = add i64 %24, 2064 %32 = inttoptr i64 %31 to i32* store i32 %30, i32* %32, align 4 %33 = icmp eq i32 %30, 0 br i1 %33, label LBL_7, label LBL_6 LBL_6: %34 = sext i32 %30 to i64 %35 = load i64, i64* %10, align 8 %36 = add nsw i64 %.reload, 1 %37 = add i64 %36, %35 %38 = call i64 @FUNC(i64 %37, i64 %34) %39 = add i64 %24, 2048 %40 = inttoptr i64 %39 to i64* store i64 %38, i64* %40, align 8 br label LBL_7 LBL_7: %41 = add i64 %arg1, 2056 %42 = inttoptr i64 %41 to i64* %43 = load i64, i64* %42, align 8 %44 = add i64 %24, 2056 %45 = inttoptr i64 %44 to i64* store i64 %43, i64* %45, align 8 store i64 0, i64* %42, align 8 store i32 %storemerge9.reload, i32* %6, align 4 %46 = call i64* @memset(i64* %25, i32 0, i32 2048) %47 = load i64, i64* %10, align 8 %48 = add i64 %47, %.reload %49 = inttoptr i64 %48 to i8* %50 = load i8, i8* %49, align 1 %51 = zext i8 %50 to i64 %52 = mul i64 %51, 8 %53 = add i64 %52, %arg1 %54 = inttoptr i64 %53 to i64* store i64 %24, i64* %54, align 8 %55 = add i64 %19, 1 %56 = load i8, i8* %20, align 1 %57 = call i64 @FUNC(i64 %55, i64 %arg3) %58 = zext i8 %56 to i64 %59 = mul i64 %58, 8 %60 = add i64 %59, %arg1 %61 = inttoptr i64 %60 to i64* store i64 %57, i64* %61, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_8: %62 = add i32 %storemerge9.reload, 1 %63 = sext i32 %62 to i64 %64 = icmp slt i64 %63, %12 store i64 %63, i64* %.reg2mem store i32 %62, i32* %storemerge9.reg2mem br i1 %64, label LBL_4, label LBL_9 LBL_9: %phitmp = sext i32 %7 to i64 store i64 %phitmp, i64* %.lcssa2.reg2mem store i64 %63, i64* %.lcssa.reg2mem br label LBL_10 LBL_10: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %65 = add i64 %.lcssa.reload, %arg2 %66 = inttoptr i64 %65 to i8* %67 = load i8, i8* %66, align 1 %68 = icmp eq i8 %67, 0 br i1 %68, label LBL_14, label LBL_11 LBL_11: %.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem %69 = add i64 %.lcssa2.reload, %arg2 %70 = inttoptr i64 %69 to i8* %71 = load i8, i8* %70, align 1 %72 = zext i8 %71 to i64 %73 = mul i64 %72, 8 %74 = add i64 %73, %arg1 %75 = inttoptr i64 %74 to i64* %76 = load i64, i64* %75, align 8 %77 = icmp eq i64 %76, 0 %78 = add i64 %69, 1 br i1 %77, label LBL_13, label LBL_12 LBL_12: %79 = call i64 @FUNC(i64 %76, i64 %78, i64 %arg3) store i64 %79, i64* %rax.0.reg2mem br label LBL_15 LBL_13: %80 = call i64 @FUNC(i64 %78, i64 %arg3) %81 = load i32, i32* %6, align 4 %82 = sext i32 %81 to i64 %83 = add i64 %82, %arg2 %84 = inttoptr i64 %83 to i8* %85 = load i8, i8* %84, align 1 %86 = zext i8 %85 to i64 %87 = mul i64 %86, 8 %88 = add i64 %87, %arg1 %89 = inttoptr i64 %88 to i64* store i64 %80, i64* %89, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_15 LBL_14: %90 = add i64 %arg1, 2056 %91 = inttoptr i64 %90 to i64* %92 = load i64, i64* %91, align 8 store i64 %arg3, i64* %91, align 8 store i64 %92, 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 %78, { 1, 0 } uselistorder i64 %24, { 1, 2, 0, 3 } uselistorder i64 %.reload, { 3, 2, 1, 0 } uselistorder i64* %10, { 1, 0, 2 } uselistorder i32* %6, { 2, 0, 1, 3 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 } uselistorder i64* %.lcssa2.reg2mem, { 0, 2, 1 } uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 1 } uselistorder i64 (i64, i64)* @make_trie_node, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i32 1, { 8, 6, 5, 4, 3, 2, 1, 0, 7 } uselistorder i64 %arg3, { 2, 0, 1, 3, 4 } uselistorder i64 %arg1, { 9, 0, 1, 2, 3, 5, 6, 4, 8, 7 } uselistorder label LBL_15, { 0, 1, 3, 2, 4 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
do_info_trace_17105
do_info_trace
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 4198736) ret i64 %1 }
1
BinRealVul
timer_enable_16171
timer_enable
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 = add i64 %2, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = urem i64 %5, 2 %7 = and i64 %1, 4294967295 %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %6) %9 = add i64 %2, 24 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = call i64 @FUNC(i64 %11) %13 = load i64, i64* %4, align 8 %14 = urem i64 %13, 2 %15 = icmp eq i64 %14, 0 %16 = add i64 %2, 16 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = sext i1 %15 to i64 %storemerge = xor i64 %18, %19 %20 = load i64, i64* %10, align 8 %21 = call i64 @FUNC(i64 %20, i64 %storemerge) %22 = load i64, i64* %10, align 8 %23 = call i64 @FUNC(i64 %22, i64 1) ret i64 %23 uselistorder i64* %10, { 1, 0, 2 } }
1
BinRealVul
__d_lookup_9106
__d_lookup
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = and i64 %1, 4294967295 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC() %storemerge.in1 = inttoptr i64 %4 to i64* %storemerge2 = load i64, i64* %storemerge.in1, align 8 %6 = icmp eq i64 %storemerge2, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %sv_0.0.reg2mem br i1 %7, label LBL_1, label LBL_9 LBL_1: %8 = ptrtoint i64* %arg2 to i64 %9 = ptrtoint i64* %arg1 to i64 %10 = trunc i64 %1 to i32 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i32* %13 = add i64 %2, 28 %14 = inttoptr i64 %2 to i64* store i64 %storemerge2, i64* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %15 = load i32, i32* %12, align 4 %16 = icmp eq i32 %15, %10 %17 = icmp eq i1 %16, false br i1 %17, label LBL_8, label LBL_3 LBL_3: %18 = call i64 @FUNC(i64 %13) %19 = load i64, i64* %14, align 8 %20 = icmp eq i64 %19, %9 %21 = icmp eq i1 %20, false br i1 %21, label LBL_7, label LBL_4 LBL_4: %22 = call i64 @FUNC(i64 %2) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_7, label LBL_5 LBL_5: %26 = call i64 @FUNC(i64 %2, i64 %9, i64 %8) %27 = trunc i64 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = add i64 %2, 24 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = add i32 %31, 1 store i32 %32, i32* %30, align 4 %33 = call i64 @FUNC(i64 %13) br label LBL_9 LBL_7: %34 = call i64 @FUNC(i64 %13) br label LBL_8 LBL_8: %storemerge.in = inttoptr i64 %storemerge3.reload to i64* %storemerge = load i64, i64* %storemerge.in, align 8 %35 = icmp eq i64 %storemerge, 0 %36 = icmp eq i1 %35, false store i64 %storemerge, i64* %storemerge3.reg2mem store i64 0, i64* %sv_0.0.reg2mem br i1 %36, label LBL_2, label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %37 = call i64 @FUNC() ret i64 %sv_0.0.reload uselistorder i64 %13, { 1, 0, 2 } uselistorder i64 %9, { 1, 0 } uselistorder i64 %2, { 0, 1, 2, 4, 3, 5 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64 (i64)* @spin_unlock, { 1, 0 } uselistorder i1 false, { 4, 1, 2, 3, 0 } uselistorder label LBL_9, { 0, 2, 1 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ext3_link_17553
ext3_link
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 store i32 0, i32* %sv_0, align 4 %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 65000 store i64 4294967265, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_6 LBL_1: %4 = ptrtoint i64* %arg3 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = ptrtoint i32* %arg2 to i64 %7 = add i64 %5, 12 %8 = inttoptr i64 %7 to i32* %9 = add i64 %5, 4 %10 = add i64 %6, 8 %11 = inttoptr i64 %10 to i32* br label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %6, i64 2) %13 = icmp ult i64 %12, -1000 store i64 %12, i64* %rax.0.reg2mem br i1 %13, label LBL_3, label LBL_6 LBL_3: store i32 0, i32* %8, align 4 %14 = call i64 @FUNC(i64 %12, i64 %5) %15 = call i64 @FUNC(i64 %9) %16 = call i64 @FUNC(i64 %12, i64 %4, i64 %5) %17 = trunc i64 %16 to i32 %18 = call i64 @FUNC(i64 %12) %19 = icmp eq i32 %17, -28 %20 = icmp eq i1 %19, false br i1 %20, label LBL_5, label LBL_4 LBL_4: %21 = load i32, i32* %11, align 4 %22 = zext i32 %21 to i64 %23 = call i64 @FUNC(i64 %22, i32* nonnull %sv_0) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 0 br i1 %25, label LBL_5, label LBL_2 LBL_5: %26 = and i64 %16, 4294967295 store i64 %26, 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 %12, { 1, 3, 2, 0, 4 } uselistorder i64 %6, { 1, 0 } uselistorder i64 %5, { 2, 0, 1, 3 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_6, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
put_int16_421
put_int16
define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i16* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %2 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %2 }
0
BinRealVul
kvm_lapic_sync_from_vapic_3651
kvm_lapic_sync_from_vapic
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i32, align 4 %1 = add i64 %0, 8 %2 = call i64 @FUNC(i64 0, i64 %1) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64 %0, i64 0) br label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 1, i64 %1) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 store i64 %6, i64* %rax.0.reg2mem br i1 %8, label LBL_4, label LBL_3 LBL_3: %9 = add i64 %0, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = bitcast i32* %sv_0 to i64* %13 = call i64 @FUNC(i64 %11, i64 1, i64* nonnull %12, i64 4) %14 = load i32, i32* %sv_0, align 4 %15 = urem i32 %14, 256 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %11, i64 %16) store i64 %17, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %0, { 1, 0, 2 } uselistorder i64 (i64, i64)* @test_bit, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ipvideo_decode_opcodes_14849
ipvideo_decode_opcodes
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %r9.2.lcssa.reg2mem = alloca i64 %r8.2.lcssa.reg2mem = alloca i64 %r8.27.reg2mem = alloca i64 %r9.28.reg2mem = alloca i64 %storemerge9.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %r9.1.lcssa.reg2mem = alloca i64 %r8.1.lcssa.reg2mem = alloca i64 %.reg2mem18 = alloca i64 %r9.0.reg2mem = alloca i64 %r8.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %storemerge24.reg2mem = alloca i32 %.reg2mem16 = alloca i64 %rdi.0.reg2mem = alloca i64 %.pre-phi15.reg2mem = alloca i32* %.reg2mem = alloca i32 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = add i64 %1, 64 %3 = call i64 @FUNC(i64 %2, i64 14) %4 = add i64 %1, 24 %5 = inttoptr i64 %4 to i32* %6 = load i32, i32* %5, align 4 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = add i64 %0, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i64* %16 = inttoptr i64 %11 to i64* %17 = call i64* @memcpy(i64* %15, i64* %16, i32 256) %18 = add i64 %0, 24 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = add i64 %1, 28 %22 = inttoptr i64 %21 to i32* store i32 %20, i32* %22, align 4 store i32 %20, i32* %.reg2mem store i32* %19, i32** %.pre-phi15.reg2mem store i64 %14, i64* %rdi.0.reg2mem br label LBL_3 LBL_2: %23 = add i64 %0, 24 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = ashr i32 %25, 1 %27 = add i64 %1, 28 %28 = inttoptr i64 %27 to i32* store i32 %26, i32* %28, align 4 %29 = inttoptr i64 %2 to i64* %30 = load i64, i64* %29, align 8 %31 = add i64 %1, 40 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = call i64 @FUNC(i64 %2) %34 = and i64 %33, 4294967295 %35 = call i64 @FUNC(i64 %31, i64 %34) %.pre = load i32, i32* %28, align 4 store i32 %.pre, i32* %.reg2mem store i32* %24, i32** %.pre-phi15.reg2mem store i64 %31, i64* %rdi.0.reg2mem br label LBL_3 LBL_3: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %.pre-phi15.reload = load i32*, i32** %.pre-phi15.reg2mem %.reload = load i32, i32* %.reg2mem %36 = add i32 %.reload, -8 %37 = add i64 %1, 48 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = add i64 %1, 56 %40 = inttoptr i64 %39 to i64* %41 = load i64, i64* %40, align 8 %42 = add i64 %41, 4 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i32 %44, -8 %46 = load i32, i32* %.pre-phi15.reload, align 4 %47 = mul i32 %45, %46 %48 = inttoptr i64 %41 to i32* %49 = load i32, i32* %48, align 4 %50 = add i32 %49, -8 %51 = load i32, i32* %5, align 4 %52 = add i32 %51, 1 %53 = mul i32 %52, %50 %54 = add i32 %53, %47 %55 = add i64 %1, 52 %56 = inttoptr i64 %55 to i32* store i32 %54, i32* %56, align 4 %57 = add i64 %1, 8 %58 = inttoptr i64 %57 to i32* %59 = load i32, i32* %58, align 4 %60 = mul i32 %59, 8 %61 = zext i32 %60 to i64 %62 = call i64 @FUNC(i64* nonnull %sv_0, i64 %rdi.0.reload, i64 %61) %63 = load i64, i64* %40, align 8 %64 = add i64 %63, 4 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label LBL_14, label LBL_4 LBL_4: %68 = add i64 %1, 32 %69 = inttoptr i64 %68 to i64* %70 = trunc i64 %1 to i32 %71 = icmp eq i32 %70, 0 store i64 %63, i64* %.reg2mem20 store i32 0, i32* %storemerge9.reg2mem br label LBL_12 LBL_5: %storemerge24.reload = load i32, i32* %storemerge24.reg2mem %72 = call i64 @FUNC(i64* nonnull %sv_0, i64 4) %73 = call i64 @FUNC(i64 %2) %74 = load i64, i64* %40, align 8 %75 = and i64 %73, 4294967295 %76 = urem i64 %72, 256 %77 = call i64 @FUNC(i64 %74, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge24.reload, i32 %storemerge9.reload, i64 %76, i64 %75) %78 = load i32, i32* %5, align 4 %79 = icmp eq i32 %78, 0 %80 = icmp eq i1 %79, false br i1 %80, label LBL_7, label LBL_6 LBL_6: %.reload17 = load i64, i64* %.reg2mem16 %81 = load i32, i32* %.pre-phi15.reload, align 4 %82 = mul i32 %81, %storemerge9.reload %83 = sext i32 %82 to i64 %84 = add i64 %.reload17, ptrtoint ([57 x i8]* @gv_0 to i64) %85 = add i64 %84, %83 store i64 %85, i64* %storemerge.reg2mem br label LBL_8 LBL_7: %86 = mul i32 %storemerge24.reload, 2 %87 = sext i32 %86 to i64 %88 = load i32, i32* %.pre-phi15.reload, align 4 %89 = mul i32 %88, %storemerge9.reload %90 = sext i32 %89 to i64 %91 = add i64 %87, ptrtoint ([57 x i8]* @gv_0 to i64) %92 = add i64 %91, %90 store i64 %92, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem store i64 %storemerge.reload, i64* %69, align 8 store i64 %76, i64* %r8.0.reg2mem store i64 %75, i64* %r9.0.reg2mem br i1 %71, label LBL_10, label LBL_9 LBL_9: %93 = load i64, i64* %40, align 8 %94 = add i64 %93, 8 %95 = inttoptr i64 %94 to i32* %96 = load i32, i32* %95, align 4 %97 = zext i32 %storemerge24.reload to i64 %98 = zext i32 %96 to i64 %99 = call i64 @FUNC(i64 %93, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %98, i64 %97, i64 %117) store i64 %97, i64* %r8.0.reg2mem store i64 %117, i64* %r9.0.reg2mem br label LBL_10 LBL_10: %r9.0.reload = load i64, i64* %r9.0.reg2mem %r8.0.reload = load i64, i64* %r8.0.reg2mem %100 = add i32 %storemerge24.reload, 8 %101 = load i64, i64* %40, align 8 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = zext i32 %103 to i64 %105 = sext i32 %100 to i64 %106 = icmp slt i64 %105, %104 store i64 %105, i64* %.reg2mem16 store i32 %100, i32* %storemerge24.reg2mem store i64 %101, i64* %.reg2mem18 store i64 %r8.0.reload, i64* %r8.1.lcssa.reg2mem store i64 %r9.0.reload, i64* %r9.1.lcssa.reg2mem br i1 %106, label LBL_5, label LBL_11 LBL_11: %r9.1.lcssa.reload = load i64, i64* %r9.1.lcssa.reg2mem %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem %.reload19 = load i64, i64* %.reg2mem18 %107 = add i32 %storemerge9.reload, 8 %108 = add i64 %.reload19, 4 %109 = inttoptr i64 %108 to i32* %110 = load i32, i32* %109, align 4 %111 = zext i32 %110 to i64 %112 = sext i32 %107 to i64 %113 = icmp slt i64 %112, %111 store i64 %.reload19, i64* %.reg2mem20 store i32 %107, i32* %storemerge9.reg2mem store i64 %r9.1.lcssa.reload, i64* %r9.28.reg2mem store i64 %r8.1.lcssa.reload, i64* %r8.27.reg2mem store i64 %r8.1.lcssa.reload, i64* %r8.2.lcssa.reg2mem store i64 %r9.1.lcssa.reload, i64* %r9.2.lcssa.reg2mem br i1 %113, label LBL_12, label LBL_14 LBL_12: %r8.27.reload = load i64, i64* %r8.27.reg2mem %r9.28.reload = load i64, i64* %r9.28.reg2mem %storemerge9.reload = load i32, i32* %storemerge9.reg2mem %.reload21 = load i64, i64* %.reg2mem20 %114 = inttoptr i64 %.reload21 to i32* %115 = load i32, i32* %114, align 4 %116 = icmp eq i32 %115, 0 store i64 %.reload21, i64* %.reg2mem18 store i64 %r8.27.reload, i64* %r8.1.lcssa.reg2mem store i64 %r9.28.reload, i64* %r9.1.lcssa.reg2mem br i1 %116, label LBL_11, label LBL_5.lr.ph LBL_13: %117 = zext i32 %storemerge9.reload to i64 store i64 0, i64* %.reg2mem16 store i32 0, i32* %storemerge24.reg2mem br label LBL_5 LBL_14: %118 = call i64 @FUNC(i64 %2) %119 = trunc i64 %118 to i32 %120 = icmp slt i32 %119, 2 store i64 %118, i64* %rax.0.reg2mem br i1 %120, label LBL_16, label LBL_15 LBL_15: %r9.2.lcssa.reload = load i64, i64* %r9.2.lcssa.reg2mem %r8.2.lcssa.reload = load i64, i64* %r8.2.lcssa.reg2mem %121 = call i64 @FUNC(i64 %2) %122 = load i64, i64* %40, align 8 %123 = and i64 %121, 4294967295 %124 = call i64 @FUNC(i64 %122, i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i64 %123, i64 %r8.2.lcssa.reload, i64 %r9.2.lcssa.reload) store i64 %124, i64* %rax.0.reg2mem br label LBL_16 LBL_16: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %117, { 1, 0 } uselistorder i64 %.reload21, { 1, 0 } uselistorder i32 %storemerge9.reload, { 0, 1, 3, 4, 2 } uselistorder i32 %storemerge24.reload, { 2, 0, 3, 1 } uselistorder i64* %40, { 1, 4, 2, 3, 0, 5 } uselistorder i32* %.pre-phi15.reload, { 1, 0, 2 } uselistorder i64 %2, { 1, 0, 2, 3, 4, 5 } uselistorder i64 %1, { 0, 3, 4, 6, 5, 7, 8, 9, 1, 2, 10, 11 } uselistorder i64 %0, { 2, 0, 1 } uselistorder i32* %.reg2mem, { 0, 2, 1 } uselistorder i32** %.pre-phi15.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem16, { 2, 1, 0 } uselistorder i32* %storemerge24.reg2mem, { 2, 1, 0 } uselistorder i64* %.reg2mem18, { 2, 0, 1 } uselistorder i64* %r8.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64* %r9.1.lcssa.reg2mem, { 2, 0, 1 } uselistorder i64 (i64)* @bytestream2_get_bytes_left, { 1, 0 } uselistorder i32 2, { 1, 0 } uselistorder [57 x i8]* @gv_0, { 1, 0 } uselistorder i32 8, { 2, 1, 0 } uselistorder i64 4, { 2, 1, 0, 3 } uselistorder i64 4294967295, { 2, 1, 0 } uselistorder i32 0, { 1, 2, 5, 0, 4, 3, 6, 7 } uselistorder i64 (i64, i64)* @bytestream2_skip, { 1, 0 } uselistorder label LBL_12, { 1, 0 } uselistorder label LBL_11, { 1, 0 } }
1
BinRealVul
evport_dispatch_7755
evport_dispatch
define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge4.reg2mem = alloca i32 %.reg2mem = alloca i64 %indvars.iv.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %rdi = alloca i64, align 8 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 %sv_3 = alloca i32, align 4 store i32 1, i32* %sv_3, align 4 %2 = icmp eq i64* %arg3, null store i64 0, i64* %sv_0.0.reg2mem br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg3 to i64 store i64 %3, i64* %sv_2, align 8 %4 = ptrtoint i64* %sv_2 to i64 store i64 %4, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %5 = ptrtoint i64* %arg2 to i64 %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %6 = add i64 %5, 4096 store i64 0, i64* %indvars.iv.reg2mem br label LBL_3 LBL_3: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %7 = mul i64 %indvars.iv.reload, 4 %8 = add i64 %7, %5 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label LBL_7, label LBL_4 LBL_4: %12 = sext i32 %10 to i64 %13 = mul i64 %12, 16 %14 = add i64 %13, %6 %15 = icmp eq i64 %14, 0 br i1 %15, label LBL_7, label LBL_5 LBL_5: %16 = call i64 @FUNC(i64 %14) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_7, label LBL_6 LBL_6: %19 = call i64 @FUNC(i64 %14) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, 0 %22 = add i64 %14, 8 %storemerge3.in.in.in.in.in = select i1 %21, i64 %22, i64 %14 %storemerge3.in.in.in.in = inttoptr i64 %storemerge3.in.in.in.in.in to i64* %storemerge3.in.in.in = load i64, i64* %storemerge3.in.in.in.in, align 8 %storemerge3.in.in = inttoptr i64 %storemerge3.in.in.in to i32* %storemerge3.in = load i32, i32* %storemerge3.in.in, align 4 %23 = call i64 @FUNC(i64 %5, i64 %14, i32 %storemerge3.in) store i32 -1, i32* %9, align 4 br label LBL_7 LBL_7: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 1024 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_8, label LBL_3 LBL_8: %24 = add i64 %5, 20480 %25 = inttoptr i64 %24 to i32* %26 = load i32, i32* %25, align 4 %27 = zext i32 %26 to i64 %28 = call i64 @FUNC(i64 %27, i64* nonnull %sv_1, i64 1024, i32* nonnull %sv_3, i64 %sv_0.0.reload) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false br i1 %31, label LBL_15, label LBL_9 LBL_9: %32 = call i32* @__errno_location() %33 = load i32, i32* %32, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label LBL_11, label LBL_10 LBL_10: %35 = call i32* @__errno_location() %36 = load i32, i32* %35, align 4 %37 = icmp eq i32 %36, 11 %38 = icmp eq i1 %37, false br i1 %38, label LBL_12, label LBL_11 LBL_11: %39 = ptrtoint i32* %arg1 to i64 %40 = call i64 @FUNC(i64 %39) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_12: %41 = call i32* @__errno_location() %42 = load i32, i32* %41, align 4 %43 = icmp eq i32 %42, 62 %44 = icmp eq i1 %43, false br i1 %44, label LBL_14, label LBL_13 LBL_13: %45 = load i32, i32* %sv_3, align 4 %46 = icmp eq i32 %45, 0 %47 = icmp eq i1 %46, false store i64 0, i64* %rax.0.reg2mem br i1 %47, label LBL_17, label LBL_29 LBL_14: %48 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_29 LBL_15: %49 = bitcast i64* %rdi to i32* %50 = load i32, i32* %49, align 8 %51 = icmp eq i32 %50, 0 br i1 %51, label LBL_17, label LBL_16 LBL_16: %52 = ptrtoint i32* %arg1 to i64 %53 = call i64 @FUNC(i64 %52) br label LBL_17 LBL_17: %54 = ptrtoint i64* %sv_1 to i64 %55 = ptrtoint i32* %sv_3 to i64 %56 = load i32, i32* %sv_3, align 4 %57 = sext i32 %56 to i64 %58 = call i64 @FUNC(i64 %57, i64 %54, i64 1024, i64 %55, i64 %sv_0.0.reload, i64 %1) %59 = load i32, i32* %sv_3, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label LBL_28, label LBL_18 LBL_18: %61 = add i64 %5, 20484 %62 = inttoptr i64 %61 to i32* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge4.reg2mem br label LBL_19 LBL_19: %storemerge4.reload = load i32, i32* %storemerge4.reg2mem %.reload = load i64, i64* %.reg2mem %63 = mul i64 %.reload, 8 %64 = add i64 %63, %54 %65 = inttoptr i64 %64 to i32* %66 = load i32, i32* %65, align 8 %67 = call i64 @FUNC(i64 %5) %68 = call i64 @FUNC(i64 %64) %69 = mul i64 %.reload, 4 %70 = add i64 %69, %5 %71 = inttoptr i64 %70 to i32* store i32 %66, i32* %71, align 4 %72 = or i64 %64, 4 %73 = inttoptr i64 %72 to i32* %74 = load i32, i32* %73, align 4 %75 = load i32, i32* %62, align 4 %76 = zext i32 %75 to i64 %77 = sext i32 %66 to i64 %78 = icmp slt i64 %77, %76 br i1 %78, label LBL_21, label LBL_20 LBL_20: call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0)) br label LBL_21 LBL_21: %79 = urem i32 %74, 2 %80 = icmp eq i32 %79, 0 %not. = icmp ne i1 %80, true %spec.select = zext i1 %not. to i32 %81 = udiv i32 %74, 2 %82 = and i32 %81, 2 %83 = or i32 %82, %spec.select %84 = mul i64 %77, 16 %85 = add i64 %84, %6 br i1 %80, label LBL_24, label LBL_22 LBL_22: %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = icmp eq i64 %87, 0 br i1 %88, label LBL_24, label LBL_23 LBL_23: %89 = zext i32 %83 to i64 %90 = call i64 @FUNC(i64 %87, i64 %89, i64 1) br label LBL_24 LBL_24: %91 = icmp eq i32 %82, 0 br i1 %91, label LBL_27, label LBL_25 LBL_25: %92 = add i64 %85, 8 %93 = inttoptr i64 %92 to i64* %94 = load i64, i64* %93, align 8 %95 = icmp eq i64 %94, 0 br i1 %95, label LBL_27, label LBL_26 LBL_26: %96 = zext i32 %83 to i64 %97 = call i64 @FUNC(i64 %94, i64 %96, i64 1) br label LBL_27 LBL_27: %98 = add i32 %storemerge4.reload, 1 %99 = load i32, i32* %sv_3, align 4 %100 = zext i32 %99 to i64 %101 = sext i32 %98 to i64 %102 = icmp slt i64 %101, %100 store i64 %101, i64* %.reg2mem store i32 %98, i32* %storemerge4.reg2mem br i1 %102, label LBL_19, label LBL_28 LBL_28: %103 = call i64 @FUNC(i64 %5) store i64 0, i64* %rax.0.reg2mem br label LBL_29 LBL_29: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %83, { 1, 0 } uselistorder i32 %82, { 1, 0 } uselistorder i1 %80, { 1, 0 } uselistorder i64 %.reload, { 1, 0 } uselistorder i64 %14, { 5, 3, 4, 2, 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %5, { 3, 0, 5, 4, 6, 7, 1, 2 } uselistorder i32* %sv_3, { 2, 0, 3, 5, 4, 1, 6 } uselistorder i64* %sv_1, { 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64 (i64, i64, i64)* @event_active, { 1, 0 } uselistorder i32 2, { 2, 0, 1 } uselistorder i64 (i64)* @evsignal_process, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 1, 0 } uselistorder i64 8, { 1, 0, 2, 3 } uselistorder i64* %arg3, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } uselistorder label LBL_29, { 1, 2, 0, 3 } uselistorder label LBL_19, { 1, 0 } uselistorder label LBL_7, { 1, 2, 3, 0 } }
1
BinRealVul
bdrv_acct_done_15737
bdrv_acct_done
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp slt i32 %2, 10 br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg2 to i64 %5 = ptrtoint i64* %arg1 to i64 %6 = bitcast i64* %rsi to i32* %sext = mul i64 %1, 4294967296 %7 = ashr exact i64 %sext, 29 %8 = add i64 %7, %5 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = add i64 %13, %10 store i64 %14, i64* %9, align 8 %15 = load i32, i32* %6, align 8 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = add i64 %5, 80 %19 = add i64 %18, %17 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = add i64 %21, 1 store i64 %22, i64* %20, align 8 %23 = call i64 @FUNC() %24 = add i64 %4, 16 %25 = inttoptr i64 %24 to i64* %26 = load i64, i64* %25, align 8 %27 = sub i64 %23, %26 %28 = load i32, i32* %6, align 8 %29 = sext i32 %28 to i64 %30 = mul i64 %29, 8 %31 = add i64 %5, 160 %32 = add i64 %31, %30 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = add i64 %27, %34 store i64 %35, i64* %33, align 8 ret i64 %5 uselistorder i64 %5, { 3, 1, 2, 0 } uselistorder i64 %1, { 1, 0 } }
1
BinRealVul
consistent_alloc_4326
consistent_alloc
define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i64 %storemerge2.reg2mem = alloca i64 %0 = add i64 %arg2, 4095 %1 = and i64 %0, -4096 %2 = call i64 @FUNC(i64 %1) %3 = and i64 %2, 4294967295 %4 = and i64 %arg1, 4294967295 %5 = call i64 @FUNC(i64 %4, i64 %3) %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false store i64 0, i64* %storemerge.reg2mem br i1 %7, label LBL_1, label LBL_6 LBL_1: %8 = trunc i64 %1 to i32 %9 = trunc i64 %2 to i32 %10 = call i64 @FUNC(i64 %5, i64 %3) %11 = call i64 @FUNC(i64 %5) %12 = inttoptr i64 %11 to i64* %13 = call i64* @memset(i64* %12, i32 0, i32 %8) %14 = call i64 @FUNC(i64 %11) store i64 %14, i64* %arg3, align 8 %sext = mul i64 %1, 4294967296 %15 = ashr exact i64 %sext, 32 %16 = call i64 @FUNC(i64 %11, i64 %15) %17 = call i64 @FUNC(i64 %11) %18 = urem i32 %9, 32 %19 = icmp eq i32 %18, 0 store i64 4096, i64* %storemerge2.reg2mem br i1 %19, label %23, label %20 LBL_2: %.reload = load i64, i64* %.reg2mem %28 = icmp ult i64 %.reload, %24 br i1 %28, label LBL_3, label LBL_4 LBL_3: %29 = add i64 %.reload, 4096 %30 = icmp ult i64 %29, %25 store i64 %29, i64* %.reg2mem br i1 %30, label LBL_2, label LBL_5 LBL_4: %31 = call i64 @FUNC(i64 %.reload) br label LBL_3 LBL_5: %32 = call i64 @FUNC(i64 %11) store i64 %32, i64* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %.reload, { 0, 2, 1 } uselistorder i64 %25, { 1, 0 } uselistorder i32 %18, { 1, 0 } uselistorder i64 %17, { 2, 0, 1 } uselistorder i64 %5, { 1, 0, 2 } uselistorder i64 %2, { 1, 0 } uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 4096, { 3, 2, 0, 1 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } uselistorder label LBL_2, { 1, 0 } uselistorder label %23, { 1, 0 } }
0
BinRealVul
h263p_decode_umotion_16279
h263p_decode_umotion
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sext = mul i64 %arg2, 4294967296 %1 = ashr exact i64 %sext, 32 %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = and i64 %1, 4294967295 store i64 %5, i64* %rax.0.reg2mem br label LBL_7 LBL_2: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = add i32 %7, 2 store i32 %8, i32* %sv_0.0.reg2mem br label LBL_5 LBL_3: %9 = mul i32 %sv_0.0.reload, 2 %10 = call i64 @FUNC(i64 %0) %11 = trunc i64 %10 to i32 %12 = add i32 %9, %11 %13 = icmp slt i32 %12, 32768 store i32 %12, i32* %sv_0.0.reg2mem br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = add i64 %0, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0)) store i64 4294967295, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %18 = call i64 @FUNC(i64 %0) %19 = trunc i64 %18 to i32 %20 = icmp eq i32 %19, 0 %21 = icmp eq i1 %20, false br i1 %21, label LBL_3, label LBL_6 LBL_6: %22 = urem i32 %sv_0.0.reload, 2 %23 = ashr i32 %sv_0.0.reload, 1 %24 = icmp eq i32 %22, 0 %25 = trunc i64 %1 to i32 %26 = sub nsw i32 0, %23 %storemerge.in.p = select i1 %24, i32 %23, i32 %26 %storemerge.in = add i32 %storemerge.in.p, %25 %storemerge = zext i32 %storemerge.in to i64 %27 = add i64 %0, 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge.in) store i64 %storemerge, 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 %1, { 1, 0 } uselistorder i64 %0, { 0, 3, 1, 2, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 } uselistorder i32 2, { 1, 0, 3, 2 } uselistorder i64 (i64)* @get_bits1, { 2, 3, 1, 0 } }
1
BinRealVul
cc_calc_abs_64_13908
cc_calc_abs_64
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = icmp eq i64 %arg1, -9223372036854775808 %1 = icmp eq i1 %0, false %2 = icmp ne i64 %arg1, 0 %. = zext i1 %2 to i64 %rax.0 = select i1 %1, i64 %., i64 3 ret i64 %rax.0 }
1
BinRealVul
monitor_valid_userblob_8213
monitor_valid_userblob
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.7.reg2mem = alloca i32 %sv_0.4.reg2mem = alloca i32 %sv_0.2.reg2mem = alloca i32 %sv_0.1.reg2mem = alloca i32 %sv_0.0.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i8*, align 8 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %3 = trunc i64 %arg2 to i32 %4 = call i64 @FUNC(i64* nonnull %sv_3) %5 = call i64 @FUNC(i64* nonnull %sv_3, i64 %2, i32 %3) %6 = load i32, i32* inttoptr (i64 4210820 to i32*), align 4 %7 = urem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label LBL_6, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64* nonnull %sv_3) %10 = call i64 @FUNC(i64* nonnull %sv_3) %11 = trunc i64 %10 to i32 store i32 %11, i32* %sv_2, align 4 %12 = load i64, i64* @gv_0, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label LBL_4, label LBL_2 LBL_2: %14 = load i32, i32* @gv_1, align 4 %15 = icmp ugt i32 %14, %11 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = zext i32 %14 to i64 %17 = call i64 @FUNC(i64 %9, i64 %12, i64 %16) %18 = trunc i64 %17 to i32 %19 = icmp eq i32 %18, 0 store i32 0, i32* %sv_0.0.reg2mem br i1 %19, label LBL_5, label LBL_4 LBL_4: store i32 1, i32* %sv_0.0.reg2mem br label LBL_5 LBL_5: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %20 = load i32, i32* @gv_1, align 4 %21 = zext i32 %20 to i64 %22 = ptrtoint i64* %sv_3 to i64 %23 = call i64 @FUNC(i64 %22, i64 %21) store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem br label LBL_11 LBL_6: %24 = ptrtoint i32* %sv_2 to i64 %25 = ptrtoint i64* %sv_3 to i64 %26 = call i64 @FUNC(i64 %25, i64 %24) %27 = load i64, i64* @gv_0, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label LBL_9, label LBL_7 LBL_7: %29 = load i32, i32* %sv_2, align 4 %30 = load i32, i32* @gv_1, align 4 %31 = icmp eq i32 %29, %30 %32 = icmp eq i1 %31, false br i1 %32, label LBL_9, label LBL_8 LBL_8: %33 = zext i32 %30 to i64 %34 = call i64 @FUNC(i64 %26, i64 %27, i64 %33) %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 store i32 0, i32* %sv_0.1.reg2mem br i1 %36, label LBL_10, label LBL_9 LBL_9: store i32 1, i32* %sv_0.1.reg2mem br label LBL_10 LBL_10: %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem %37 = inttoptr i64 %26 to i64* call void @free(i64* %37) store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem br label LBL_11 LBL_11: %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem %38 = call i64 @FUNC(i64* nonnull %sv_3) %39 = trunc i64 %38 to i8 %40 = icmp ne i8 %39, 50 %41 = zext i1 %40 to i32 %spec.select = add nsw i32 %sv_0.2.reload, %41 %42 = call i64 @FUNC(i64* nonnull %sv_3, i64 0) %43 = inttoptr i64 %42 to i8* %44 = load i64, i64* @gv_2, align 8 %45 = add i64 %44, 8 %46 = inttoptr i64 %45 to i64* %47 = load i64, i64* %46, align 8 %48 = icmp eq i64 %47, 0 %storemerge3 = select i1 %48, i64 ptrtoint (i64* @gv_3 to i64), i64 %47 %. = select i1 %48, i64 ptrtoint (i64* @gv_3 to i64), i64 ptrtoint (i64* @gv_4 to i64) %49 = inttoptr i64 %44 to i64* %50 = load i64, i64* %49, align 8 %51 = bitcast i8** %sv_1 to i64* %52 = call i64 @FUNC(i64* nonnull %51, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %50, i64 %., i64 %storemerge3, i64 %1) %53 = load i8*, i8** %sv_1, align 8 %54 = call i32 @strcmp(i8* %53, i8* %43) %55 = icmp eq i32 %54, 0 store i32 %spec.select, i32* %sv_0.4.reg2mem br i1 %55, label LBL_13, label LBL_12 LBL_12: %56 = load i8*, i8** %sv_1, align 8 %57 = ptrtoint i8* %56 to i64 %58 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_6, i64 0, i64 0), i64 %57, i64 %42, i64 %., i64 %storemerge3, i64 %1) %59 = add nsw i32 %spec.select, 1 store i32 %59, i32* %sv_0.4.reg2mem br label LBL_13 LBL_13: %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem %60 = load i8*, i8** %sv_1, align 8 %61 = bitcast i8* %60 to i64* call void @free(i64* %61) %62 = inttoptr i64 %42 to i64* call void @free(i64* %62) %63 = call i64 @FUNC(i64* nonnull %sv_3) %64 = load i32, i32* @gv_7, align 4 %65 = and i32 %64, 2 %66 = icmp eq i32 %65, 0 br i1 %66, label LBL_15, label LBL_14 LBL_14: %67 = call i64 @FUNC(i64* nonnull %sv_3) %68 = trunc i64 %67 to i8 %69 = icmp eq i8 %68, 0 %70 = zext i1 %69 to i32 %spec.select4 = add nsw i32 %sv_0.4.reload, %70 store i32 %spec.select4, i32* %sv_0.7.reg2mem br label LBL_16 LBL_15: %71 = call i64 @FUNC(i64* nonnull %sv_3, i64 0) %72 = inttoptr i64 %71 to i8* %73 = call i32 @strcmp(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0), i8* %72) %74 = icmp ne i32 %73, 0 %75 = zext i1 %74 to i32 %spec.select5 = add nsw i32 %sv_0.4.reload, %75 %76 = inttoptr i64 %71 to i64* call void @free(i64* %76) %77 = call i64 @FUNC(i64* nonnull %sv_3) %78 = trunc i64 %77 to i8 %79 = icmp eq i8 %78, 0 %80 = zext i1 %79 to i32 %sv_0.6 = add i32 %spec.select5, %80 %81 = call i64 @FUNC(i64* nonnull %sv_3) store i32 %sv_0.6, i32* %sv_0.7.reg2mem br label LBL_16 LBL_16: %sv_0.7.reload = load i32, i32* %sv_0.7.reg2mem %82 = call i64 @FUNC(i64* nonnull %sv_3) %83 = call i64 @FUNC(i64* nonnull %sv_3) %84 = trunc i64 %83 to i32 %85 = icmp ne i32 %84, 0 %86 = call i64 @FUNC(i64* nonnull %sv_3) %spec.select6 = sext i1 %85 to i32 %87 = icmp eq i32 %sv_0.7.reload, %spec.select6 %88 = zext i1 %87 to i64 ret i64 %88 uselistorder i32 %sv_0.4.reload, { 1, 0 } uselistorder i64 %storemerge3, { 1, 0 } uselistorder i32 %spec.select, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64* %sv_3, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 10, 11, 12, 13 } uselistorder i8** %sv_1, { 2, 1, 0, 3 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.7.reg2mem, { 0, 2, 1 } uselistorder i8 0, { 1, 2, 3, 4, 0 } uselistorder i64 (i64*)* @buffer_skip_string, { 2, 1, 0 } uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 } uselistorder i64 ptrtoint (i64* @gv_3 to i64), { 1, 0 } uselistorder i64 (i64*, i64)* @buffer_get_cstring, { 1, 0 } uselistorder i64 (i64*)* @buffer_get_char, { 2, 1, 0 } uselistorder void (i64*)* @free, { 3, 0, 1, 4, 2 } uselistorder i64 (i64, i64)* @buffer_get_string, { 2, 1, 0 } uselistorder i64 (i64, i64)* @buffer_consume, { 2, 1, 0 } uselistorder i64 (i64, i64, i64)* @timingsafe_bcmp, { 1, 0 } uselistorder i32* @gv_1, { 2, 1, 0 } uselistorder i64 (i64*)* @buffer_len, { 1, 0 } uselistorder i32 0, { 5, 6, 7, 8, 0, 9, 1, 10, 11, 12, 13, 14, 15, 2, 16, 3, 4 } uselistorder i32 2, { 1, 0 } uselistorder label LBL_16, { 1, 0 } }
0
BinRealVul
event_nick_4981
event_nick
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i8*, align 8 %1 = icmp eq i64 %arg2, 0 %2 = icmp eq i1 %1, false %3 = zext i1 %2 to i64 %4 = call i64 @FUNC(i64 %3) %5 = icmp eq i64 %arg3, 0 %6 = icmp eq i1 %5, false %7 = zext i1 %6 to i64 %8 = call i64 @FUNC(i64 %7) %9 = bitcast i8** %sv_0 to i64* %10 = call i64 @FUNC(i64 %arg2, i64 1, i64* nonnull %9) %11 = call i64 @FUNC(i64 %arg3, i64 %arg2) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_1 LBL_1: %15 = add i64 %0, 16 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_4, label LBL_2 LBL_2: %19 = load i8*, i8** %sv_0, align 8 %20 = ptrtoint i8* %19 to i64 %21 = call i64 @FUNC(i64 %17, i64 %20) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 0 %24 = icmp eq i1 %23, false br i1 %24, label LBL_4, label LBL_3 LBL_3: %25 = add i64 %0, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %29) %31 = load i8*, i8** %sv_0, align 8 %32 = load i64, i64* %26, align 8 %33 = call i64 @FUNC(i8* %31) %34 = inttoptr i64 %32 to i64* store i64 %33, i64* %34, align 8 br label LBL_4 LBL_4: %35 = load i8*, i8** %sv_0, align 8 %36 = ptrtoint i8* %35 to i64 %37 = call i64 @FUNC(i64 %0, i64 %36) br label LBL_5 LBL_5: %38 = load i8*, i8** %sv_0, align 8 %39 = ptrtoint i8* %38 to i64 %40 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %39) %41 = call i64 @FUNC(i64 %10) ret i64 %41 uselistorder i8** %sv_0, { 3, 2, 1, 0, 4 } uselistorder i64 %0, { 3, 1, 0, 2 } uselistorder i64 (i64, i64)* @g_strcasecmp, { 1, 0 } uselistorder i64 (i64)* @g_return_if_fail, { 1, 0 } }
0
BinRealVul
monitor_control_event_17257
monitor_control_event
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg2 to i32 %1 = icmp eq i32 %0, 1 %2 = icmp eq i1 %1, false br i1 %2, label LBL_2, label LBL_1 LBL_1: %3 = ptrtoint i64* %arg1 to i64 %4 = bitcast i64* %arg1 to i32* store i32 0, i32* %4, align 4 %5 = load i64, i64* @gv_0, align 8 %6 = add i64 %3, 8 %7 = call i64 @FUNC(i64 %6, i64 %5) %8 = call i64 @FUNC() %9 = call i64 @FUNC(i64 %3, i64 %8) %10 = call i64 @FUNC(i64 %8) store i64 %10, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %3, { 1, 0 } }
1
BinRealVul
vrend_renderer_context_destroy_11644
vrend_renderer_context_destroy
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 %1 = icmp ult i32 %0, 10 br i1 %1, label LBL_1, label LBL_3 LBL_1: %2 = mul i64 %arg1, 8 %3 = and i64 %2, 34359738360 %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64) %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, 0 store i64 0, i64* %rax.0.reg2mem br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = load i64, i64* @gv_0, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10, i64 1) store i64 %11, 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 label LBL_3, { 2, 0, 1 } }
1
BinRealVul
may_ptrace_stop_6063
may_ptrace_stop
define i64 @FUNC() local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i64, i64* @gv_0, align 8 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = zext i32 %3 to i64 %5 = call i64 @FUNC(i64 %4) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_1, label LBL_4 LBL_1: %9 = load i64, i64* @gv_0, align 8 %10 = inttoptr i64 %9 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = zext i32 %13 to i64 %15 = call i64 @FUNC(i64 %14) %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = load i64, i64* @gv_0, align 8 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = add i64 %18, 8 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = icmp eq i64 %20, %25 %27 = zext i1 %26 to i64 %28 = call i64 @FUNC(i64 %27) %29 = trunc i64 %28 to i32 %30 = icmp eq i32 %29, 0 store i64 0, i64* %rax.0.reg2mem br i1 %30, label LBL_3, label LBL_4 LBL_3: store i64 1, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i64 (i64)* @unlikely, { 1, 0 } uselistorder label LBL_4, { 2, 0, 1 } }
0
BinRealVul
ReformatImage_10586
ReformatImage
define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sext = mul i64 %arg2, 4294967296 %0 = ashr exact i64 %sext, 32 %sext4 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext4, 32 %sext5 = mul i64 %arg4, 4294967296 %2 = ashr exact i64 %sext5, 32 %3 = and i64 %1, 4294967295 store i64 %3, i64* @0, align 8 %4 = mul i64 %3, 8 %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64) %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %trunc = trunc i64 %1 to i32 store i64 %7, i64* %rax.0.reg2mem switch i32 %trunc, label LBL_7 [ i32 1, label LBL_1 i32 16, label LBL_3 i32 32, label LBL_5 ] LBL_1: %8 = trunc i64 %2 to i32 %9 = icmp eq i32 %8, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %9, label LBL_7, label LBL_2 LBL_2: %10 = and i64 %0, 4294967295 %11 = call i64 @FUNC(i64 %arg1, i64 %10) store i64 %11, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %12 = trunc i64 %2 to i32 %13 = icmp eq i32 %12, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %13, label LBL_7, label LBL_4 LBL_4: %14 = and i64 %0, 4294967295 %15 = call i64 @FUNC(i64 %arg1, i64 %14) store i64 %15, i64* %rax.0.reg2mem br label LBL_7 LBL_5: %16 = trunc i64 %2 to i32 %17 = icmp eq i32 %16, 0 store i64 %7, i64* %rax.0.reg2mem br i1 %17, label LBL_7, label LBL_6 LBL_6: %18 = and i64 %0, 4294967295 %19 = call i64 @FUNC(i64 %arg1, i64 %18) store i64 %19, 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 %7, { 2, 1, 0, 3 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64 %0, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 3, 4, 1, 2, 7 } uselistorder i64 4294967295, { 2, 1, 0, 3 } uselistorder i64 %arg1, { 2, 1, 0 } uselistorder label LBL_7, { 1, 0, 3, 2, 5, 4, 6 } }
0
BinRealVul
port_show_vhci_13819
port_show_vhci
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i8* %.pn.in.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i32 %3 = icmp eq i32 %2, 1 %4 = icmp eq i1 %3, false %5 = trunc i64 %1 to i32 %6 = trunc i64 %arg3 to i32 %7 = bitcast i64* %arg1 to i8* br i1 %4, label LBL_2, label LBL_1 LBL_1: %8 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 %6, i32 %5) store i32 %8, i32* %.pn.in.reg2mem br label LBL_3 LBL_2: %9 = call i32 (i8*, i8*, ...) @sprintf(i8* %7, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %6, i32 %5) store i32 %9, i32* %.pn.in.reg2mem br label LBL_3 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %.pn.in.reload = load i32, i32* %.pn.in.reg2mem %.pn = sext i32 %.pn.in.reload to i64 %storemerge2 = add i64 %.pn, %10 store i64 %storemerge2, i64* %arg1, align 8 %11 = icmp eq i32 %5, 1 %12 = icmp eq i1 %11, false br i1 %12, label LBL_5, label LBL_4 LBL_4: %13 = ptrtoint i64* %arg4 to i64 %14 = add i64 %13, 12 %15 = inttoptr i64 %14 to i32* %16 = load i32, i32* %15, align 4 %17 = add i64 %13, 8 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i32 %19, i32 %16) %21 = sext i32 %20 to i64 %22 = add i64 %21, %10 store i64 %22, i64* %arg1, align 8 %23 = add i64 %13, 16 %24 = inttoptr i64 %23 to i64* %25 = load i64, i64* %24, align 8 %26 = call i64 @FUNC(i64 %25) %27 = add i64 %13, 4 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = inttoptr i64 %25 to i8* %31 = inttoptr i64 %26 to i8* %32 = call i32 (i8*, i8*, ...) @sprintf(i8* %30, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 %29, i8* %31) %33 = sext i32 %32 to i64 %34 = add i64 %25, %33 store i8* %30, i8** %.pre-phi.reg2mem store i64 %34, i64* %storemerge.reg2mem store i64 %25, i64* %rdi.0.reg2mem br label LBL_6 LBL_5: %35 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0)) %36 = sext i32 %35 to i64 %37 = add i64 %36, %10 store i64 %37, i64* %arg1, align 8 %38 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %7, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0)) %39 = sext i32 %38 to i64 %40 = add i64 %39, %10 store i8* %7, i8** %.pre-phi.reg2mem store i64 %40, i64* %storemerge.reg2mem store i64 %10, i64* %rdi.0.reg2mem br label LBL_6 LBL_6: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %storemerge.reload = load i64, i64* %storemerge.reg2mem %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem store i64 %storemerge.reload, i64* %arg1, align 8 %41 = call i32 (i8*, i8*, ...) @sprintf(i8* %.pre-phi.reload, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_6, i64 0, i64 0)) %42 = sext i32 %41 to i64 %43 = add i64 %rdi.0.reload, %42 store i64 %43, i64* %arg1, align 8 ret i64 %10 uselistorder i64 %13, { 1, 0, 3, 2 } uselistorder i64 %10, { 5, 0, 1, 2, 3, 4 } uselistorder i8* %7, { 0, 2, 3, 1, 4, 5 } uselistorder i32 %6, { 1, 0 } uselistorder i32* %.pn.in.reg2mem, { 0, 2, 1 } uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 } uselistorder i32 (i8*, i8*, ...)* @sprintf, { 4, 5, 6, 3, 2, 1, 0 } uselistorder i64* %arg1, { 3, 1, 2, 4, 0, 6, 5 } }
0
BinRealVul
lvf_probe_14101
lvf_probe
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 1179014732 %4 = icmp eq i1 %3, false %. = select i1 %4, i64 0, i64 50 ret i64 %. }
1
BinRealVul
diffcore_pathspec_17518
diffcore_pathspec
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %.lcssa.reg2mem = alloca i64 %storemerge5.reg2mem = alloca i32 %.reg2mem24 = alloca i64 %.reg2mem22 = alloca i64 %storemerge2.lcssa.reg2mem = alloca i32 %storemerge26.reg2mem = alloca i32 %storemerge19.reg2mem = alloca i32 %.reg2mem20 = alloca i64 %.reg2mem18 = alloca i64* %.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 store i64 0, i64* %sv_0, align 8 store i32 0, i32* %storemerge3.reg2mem br label LBL_1 LBL_1: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %1 = sext i32 %storemerge3.reload to i64 %2 = mul i64 %1, 8 %3 = add i64 %2, %0 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = icmp eq i64 %5, 0 %7 = icmp eq i1 %6, false %8 = add i32 %storemerge3.reload, 1 store i32 %8, i32* %storemerge3.reg2mem br i1 %7, label LBL_1, label LBL_2 LBL_2: %9 = mul i64 %1, 16 %10 = call i64 @FUNC(i64 %9) %11 = load i64, i64* %arg1, align 8 %12 = icmp eq i64 %11, 0 %13 = icmp eq i1 %12, false store i64 %11, i64* %.reg2mem store i64* %arg1, i64** %.reg2mem18 store i64 0, i64* %.reg2mem20 store i32 0, i32* %storemerge19.reg2mem br i1 %13, label LBL_3, label LBL_8 LBL_3: %storemerge19.reload = load i32, i32* %storemerge19.reg2mem %.reload21 = load i64, i64* %.reg2mem20 %.reload19 = load i64*, i64** %.reg2mem18 %.reload = load i64, i64* %.reg2mem %14 = mul i64 %.reload21, 16 %15 = add i64 %14, %10 %16 = inttoptr i64 %15 to i64* store i64 %.reload, i64* %16, align 8 %17 = load i64, i64* %.reload19, align 8 %18 = inttoptr i64 %17 to i8* %19 = call i32 @strlen(i8* %18) %20 = icmp slt i32 %19, 1 store i32 %19, i32* %storemerge2.lcssa.reg2mem br i1 %20, label LBL_7, label LBL_4 LBL_4: %21 = load i64, i64* %.reload19, align 8 %22 = add i64 %21, -1 store i32 %19, i32* %storemerge26.reg2mem br label LBL_6 LBL_5: %23 = add i32 %storemerge26.reload, -1 %24 = icmp slt i32 %23, 1 store i32 %23, i32* %storemerge26.reg2mem store i32 0, i32* %storemerge2.lcssa.reg2mem br i1 %24, label LBL_7, label LBL_6 LBL_6: %storemerge26.reload = load i32, i32* %storemerge26.reg2mem %25 = sext i32 %storemerge26.reload to i64 %26 = add i64 %22, %25 %27 = inttoptr i64 %26 to i8* %28 = load i8, i8* %27, align 1 %29 = icmp eq i8 %28, 47 store i32 %storemerge26.reload, i32* %storemerge2.lcssa.reg2mem br i1 %29, label LBL_5, label LBL_7 LBL_7: %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem %30 = add i64 %15, 8 %31 = inttoptr i64 %30 to i32* store i32 %storemerge2.lcssa.reload, i32* %31, align 4 %32 = add i32 %storemerge19.reload, 1 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = add i64 %34, %0 %36 = inttoptr i64 %35 to i64* %37 = load i64, i64* %36, align 8 %38 = icmp eq i64 %37, 0 %39 = icmp eq i1 %38, false store i64 %37, i64* %.reg2mem store i64* %36, i64** %.reg2mem18 store i64 %33, i64* %.reg2mem20 store i32 %32, i32* %storemerge19.reg2mem br i1 %39, label LBL_3, label LBL_8 LBL_8: %40 = load i32, i32* @gv_0, align 4 %41 = icmp eq i32 %40, 0 %42 = load i64, i64* @gv_1, align 8 store i64 %42, i64* %.reg2mem22 store i64 0, i64* %.reg2mem24 store i32 0, i32* %storemerge5.reg2mem store i64 %42, i64* %.lcssa.reg2mem br i1 %41, label LBL_14, label LBL_9 LBL_9: %storemerge5.reload = load i32, i32* %storemerge5.reg2mem %.reload25 = load i64, i64* %.reg2mem24 %.reload23 = load i64, i64* %.reg2mem22 %43 = mul i64 %.reload25, 8 %44 = add i64 %43, %.reload23 %45 = inttoptr i64 %44 to i64* %46 = load i64, i64* %45, align 8 %47 = inttoptr i64 %46 to i64* %48 = load i64, i64* %47, align 8 %49 = inttoptr i64 %48 to i64* %50 = load i64, i64* %49, align 8 %51 = call i64 @FUNC(i64 %50, i64 %10, i32 %storemerge3.reload) %52 = trunc i64 %51 to i32 %53 = icmp eq i32 %52, 0 %54 = icmp eq i1 %53, false br i1 %54, label LBL_11, label LBL_10 LBL_10: %55 = add i64 %46, 8 %56 = inttoptr i64 %55 to i64* %57 = load i64, i64* %56, align 8 %58 = inttoptr i64 %57 to i64* %59 = load i64, i64* %58, align 8 %60 = call i64 @FUNC(i64 %59, i64 %10, i32 %storemerge3.reload) %61 = trunc i64 %60 to i32 %62 = icmp eq i32 %61, 0 br i1 %62, label LBL_12, label LBL_11 LBL_11: %63 = call i64 @FUNC(i64* nonnull %sv_0, i64 %46) br label LBL_13 LBL_12: call void @free(i64* %47) br label LBL_13 LBL_13: %64 = add i32 %storemerge5.reload, 1 %65 = load i32, i32* @gv_0, align 4 %66 = zext i32 %65 to i64 %67 = sext i32 %64 to i64 %68 = icmp slt i64 %67, %66 %69 = load i64, i64* @gv_1, align 8 store i64 %69, i64* %.reg2mem22 store i64 %67, i64* %.reg2mem24 store i32 %64, i32* %storemerge5.reg2mem store i64 %69, i64* %.lcssa.reg2mem br i1 %68, label LBL_9, label LBL_14 LBL_14: %.lcssa.reload = load i64, i64* %.lcssa.reg2mem %70 = inttoptr i64 %.lcssa.reload to i64* call void @free(i64* %70) %71 = load i64, i64* %sv_0, align 8 store i64 %71, i64* @gv_1, align 8 store i32 0, i32* @gv_0, align 4 ret i64 %71 uselistorder i64 %71, { 1, 0 } uselistorder i64 %46, { 1, 0, 2 } uselistorder i32 %storemerge26.reload, { 0, 2, 1 } uselistorder i32 %19, { 1, 0, 2 } uselistorder i64 %10, { 1, 2, 0 } uselistorder i32 %storemerge3.reload, { 3, 2, 1, 0 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64** %.reg2mem18, { 2, 0, 1 } uselistorder i64* %.reg2mem20, { 2, 0, 1 } uselistorder i32* %storemerge19.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem22, { 2, 0, 1 } uselistorder i64* %.reg2mem24, { 2, 0, 1 } uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 } uselistorder i64 (i64, i64, i32)* @matches_pathspec, { 1, 0 } uselistorder i64* @gv_1, { 1, 2, 0 } uselistorder i32* @gv_0, { 2, 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder i64 8, { 3, 0, 1, 4, 2 } uselistorder i32 0, { 5, 7, 8, 0, 4, 1, 2, 3, 6 } uselistorder label LBL_9, { 1, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_6, { 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
vmxnet3_deactivate_device_14948
vmxnet3_deactivate_device
define i64 @FUNC(i8* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i8* %arg1 to i64 %1 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0)) store i8 0, i8* %arg1, align 1 ret i64 %0 }
1
BinRealVul
RemoveImageProfile_9454
RemoveImageProfile
define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = icmp eq i64* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = ptrtoint i64* %arg1 to i64 %5 = add i64 %4, 56 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 11259375 br i1 %8, label LBL_4, label LBL_3 LBL_3: call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0)) br label LBL_4 LBL_4: %9 = trunc i64 %1 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_6, label LBL_5 LBL_5: %11 = add i64 %4, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC() %15 = call i64 @FUNC(i64 1, i64 %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %13) br label LBL_6 LBL_6: %16 = add i64 %4, 48 %17 = inttoptr i64 %16 to i64* %18 = load i64, i64* %17, align 8 %19 = icmp eq i64 %18, 0 %20 = icmp eq i1 %19, false store i64 0, i64* %storemerge.reg2mem br i1 %20, label LBL_7, label LBL_12 LBL_7: %21 = ptrtoint i8* %arg2 to i64 %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0)) %23 = trunc i64 %22 to i32 %24 = icmp eq i32 %23, 0 %25 = icmp eq i1 %24, false br i1 %25, label LBL_9, label LBL_8 LBL_8: %26 = add i64 %4, 16 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 %28 = add i64 %4, 24 %29 = inttoptr i64 %28 to i64* store i64 0, i64* %29, align 8 br label LBL_9 LBL_9: %30 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)) %31 = trunc i64 %30 to i32 %32 = icmp eq i32 %31, 0 %33 = icmp eq i1 %32, false br i1 %33, label LBL_11, label LBL_10 LBL_10: %34 = add i64 %4, 32 %35 = inttoptr i64 %34 to i64* store i64 0, i64* %35, align 8 %36 = add i64 %4, 40 %37 = inttoptr i64 %36 to i64* store i64 0, i64* %37, align 8 br label LBL_11 LBL_11: %38 = call i64 @FUNC(i64 %4, i64 %21, i64 0) %39 = load i64, i64* %17, align 8 %40 = call i64 @FUNC(i64 %39, i64 %21) store i64 %40, i64* %storemerge.reg2mem br label LBL_12 LBL_12: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %4, { 5, 3, 4, 1, 2, 6, 0, 7 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64, i8*)* @LocaleCompare, { 1, 0 } uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_12, { 1, 0 } }
0
BinRealVul
ssl_association_remove_17695
ssl_association_remove
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = add i64 %arg2, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = add i64 %arg2, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = add i64 %arg2, 4 %9 = inttoptr i64 %8 to i32* %10 = load i32, i32* %9, align 4 %11 = zext i32 %10 to i64 %12 = trunc i64 %4 to i32 %13 = icmp eq i32 %12, 0 %. = select i1 %13, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 ptrtoint ([4 x i8]* @gv_1 to i64) %14 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %11, i64 %7, i64 %4, i64 %1) %15 = load i64, i64* %3, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label LBL_2, label LBL_1 LBL_1: %17 = load i32, i32* %9, align 4 %18 = zext i32 %17 to i64 %.2 = select i1 %13, i64 ptrtoint ([9 x i8]* @gv_3 to i64), i64 ptrtoint ([9 x i8]* @gv_4 to i64) %19 = call i64 @FUNC(i64 %.2, i64 %18, i64 %15) br label LBL_2 LBL_2: %20 = call i64 @FUNC(i64 %arg1, i64 %arg2) %21 = call i64 @FUNC(i64 %arg2) ret i64 %21 uselistorder i64 %4, { 1, 0 } uselistorder i64 %arg2, { 1, 0, 2, 3, 4 } }
1
BinRealVul
helper_store_msr_516
helper_store_msr
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = call i64 @FUNC(i64 %0) %5 = call i64 @FUNC(i64 %4) %6 = call i64 @FUNC(i64 %5) %7 = and i64 %1, 4294967295 %8 = call i64 @FUNC(i64 %0, i64 %7) store i64 %8, i64* %rax.0.reg2mem br label LBL_2 LBL_2: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %1, { 1, 0, 2 } uselistorder i64 %0, { 1, 0, 2 } }
0
reposvul_c_test
ass_detect_change_8
ass_detect_change
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.213.reg2mem = alloca i64 %sv_0.2.reg2mem = alloca i64 %sv_1.0.lcssa.reg2mem = alloca i64 %sv_2.05.reg2mem = alloca i64 %sv_0.16.reg2mem = alloca i32 %sv_1.07.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 16 %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 2, i64* %storemerge.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = add i64 %0, 8 %sv_1.0.in3 = inttoptr i64 %5 to i64* %sv_1.04 = load i64, i64* %sv_1.0.in3, align 8 %6 = icmp eq i64* %arg1, null store i64 %sv_1.04, i64* %sv_1.07.reg2mem store i32 0, i32* %sv_0.16.reg2mem store i64 %0, i64* %sv_2.05.reg2mem store i64 %sv_1.04, i64* %sv_1.0.lcssa.reg2mem store i64 0, i64* %sv_0.2.reg2mem br i1 %6, label LBL_5, label LBL_2 LBL_2: %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem %7 = icmp eq i64 %sv_1.07.reload, 0 store i64 2, i64* %sv_0.213.reg2mem br i1 %7, label LBL_5.thread, label LBL_3 LBL_3: %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem %8 = inttoptr i64 %sv_2.05.reload to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %sv_2.05.reload, i64 %sv_1.07.reload) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %sv_0.16.reload, %11 %spec.select = select i1 %12, i32 %11, i32 %sv_0.16.reload %sv_1.0.in = inttoptr i64 %sv_1.07.reload to i64* %sv_1.0 = load i64, i64* %sv_1.0.in, align 8 %13 = icmp ne i64 %9, 0 %14 = icmp slt i32 %spec.select, 2 %or.cond = icmp eq i1 %13, %14 store i64 %sv_1.0, i64* %sv_1.07.reg2mem store i32 %spec.select, i32* %sv_0.16.reg2mem store i64 %9, i64* %sv_2.05.reg2mem br i1 %or.cond, label LBL_2, label LBL_4 LBL_4: %phitmp = zext i32 %spec.select to i64 store i64 %sv_1.0, i64* %sv_1.0.lcssa.reg2mem store i64 %phitmp, i64* %sv_0.2.reg2mem br label LBL_5 LBL_5: %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem %15 = icmp eq i64 %sv_1.0.lcssa.reload, 0 store i64 %sv_0.2.reload, i64* %sv_0.213.reg2mem store i64 2, i64* %storemerge.reg2mem br i1 %15, label LBL_5.thread, label LBL_7 LBL_6: %sv_0.213.reload = load i64, i64* %sv_0.213.reg2mem store i64 %sv_0.213.reload, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %spec.select, { 1, 0, 2 } uselistorder i64 %sv_1.07.reload, { 2, 0, 1 } uselistorder i64* %sv_1.07.reg2mem, { 2, 0, 1 } uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_2.05.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1 } uselistorder i64* %sv_0.213.reg2mem, { 0, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 } uselistorder i64 2, { 0, 2, 1 } uselistorder label LBL_5.thread, { 1, 0 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ofproto_set_forward_bpdu_9784
ofproto_set_forward_bpdu
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %arg2 to i8 %3 = bitcast i64* %arg1 to i8* store i8 %2, i8* %3, align 1 %4 = urem i64 %1, 256 ret i64 %4 }
0
BinRealVul
check_network_5376
check_network
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge.reg2mem = alloca i32 %1 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %2 = icmp eq i32* %arg1, null %3 = icmp eq i1 %2, false br i1 %3, label LBL_2, label LBL_1 LBL_1: call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0)) br label LBL_2 LBL_2: %4 = trunc i64 %1 to i32 %5 = and i64 %1, 4294967295 %6 = icmp eq i32 %4, 0 %7 = icmp eq i1 %6, false store i64 %5, i64* %rax.0.reg2mem br i1 %7, label LBL_7, label LBL_3 LBL_3: %8 = trunc i64 %arg2 to i32 %9 = bitcast i32* %sv_0 to %statfs* %10 = call i32 @fstatfs(i32 %8, %statfs* nonnull %9) %11 = sext i32 %10 to i64 %12 = icmp slt i32 %10, 0 store i64 %11, i64* %rax.0.reg2mem br i1 %12, label LBL_7, label LBL_4 LBL_4: %13 = load i32, i32* %sv_0, align 4 store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem store i32 1, i32* %storemerge.reg2mem switch i32 %13, label LBL_5 [ i32 -11317950, label LBL_6 i32 1937076805, label LBL_6 i32 26985, label LBL_6 i32 22092, label LBL_6 ] LBL_5: %14 = icmp eq i32 %13, 20859 %spec.select = zext i1 %14 to i32 store i32 %spec.select, i32* %storemerge.reg2mem br label LBL_6 LBL_6: %storemerge.reload = load i32, i32* %storemerge.reg2mem %15 = ptrtoint i32* %arg1 to i64 store i32 %storemerge.reload, i32* %arg1, align 4 store i64 %15, 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 %13, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %storemerge.reg2mem, { 0, 4, 1, 2, 3, 5 } uselistorder i32* %arg1, { 1, 0, 2 } uselistorder label LBL_7, { 2, 0, 1 } uselistorder label LBL_6, { 4, 0, 1, 2, 3 } }
0
BinRealVul
aio_read_done_16934
aio_read_done
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi.1.reg2mem = alloca i64 %.pre-phi7.reg2mem = alloca i64* %rdi.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %4 = trunc i64 %arg2 to i32 %5 = bitcast i64* %sv_0 to %timeval* %6 = call i32 @gettimeofday(%timeval* nonnull %5, %timezone* null) %7 = icmp slt i32 %4, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = sub i32 0, %4 %10 = call i8* @strerror(i32 %9) %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* %10) store i64 ptrtoint ([18 x i8]* @gv_0 to i64), i64* %rdi.1.reg2mem br label LBL_11 LBL_2: %12 = ptrtoint i64* %sv_0 to i64 %13 = add i64 %arg1, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = icmp eq i32 %15, 0 store i64 %12, i64* %rdi.0.reg2mem br i1 %16, label LBL_6, label LBL_3 LBL_3: %17 = add i64 %arg1, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19) %21 = load i64, i64* %18, align 8 %22 = add i64 %arg1, 56 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = inttoptr i64 %20 to i64* %26 = trunc i64 %21 to i32 %27 = call i64* @memset(i64* %25, i32 %24, i32 %26) %28 = load i64, i64* %18, align 8 %29 = trunc i64 %28 to i32 %30 = call i32 @memcmp(i64* %25, i64* %25, i32 %29) %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_5, label LBL_4 LBL_4: %32 = load i64, i64* %18, align 8 %33 = add i64 %arg1, 32 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = trunc i64 %35 to i32 %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 %36, i64 %32) br label LBL_5 LBL_5: %38 = call i64 @FUNC(i64 %20) store i64 %20, i64* %rdi.0.reg2mem br label LBL_6 LBL_6: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %39 = add i64 %arg1, 20 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = icmp eq i32 %41, 0 %43 = icmp eq i1 %42, false store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br i1 %43, label LBL_11, label LBL_7 LBL_7: %44 = add i64 %arg1, 24 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, 0 %.pre = add i64 %arg1, 8 %.pre2 = inttoptr i64 %.pre to i64* br i1 %47, label LBL_7.LBL_10_crit_edge, label LBL_9 LBL_8: %.pre4 = add i64 %arg1, 32 %.pre6 = inttoptr i64 %.pre4 to i64* store i64* %.pre6, i64** %.pre-phi7.reg2mem br label LBL_10 LBL_9: %48 = load i64, i64* %.pre2, align 8 %49 = add i64 %arg1, 32 %50 = inttoptr i64 %49 to i64* %51 = load i64, i64* %50, align 8 %52 = call i64 @FUNC(i64 %rdi.0.reload, i64 %51, i64 %48) store i64* %50, i64** %.pre-phi7.reg2mem br label LBL_10 LBL_10: %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem %53 = add i64 %arg1, 48 %54 = inttoptr i64 %53 to i64* %55 = load i64, i64* %54, align 8 %56 = add i64 %arg1, 40 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = load i64, i64* %sv_0, align 8 %60 = call i64 @FUNC(i64 %59, i64 %3, i64 %58, i64 %55, i64 %2, i64 %1) store i64 %60, i64* %sv_0, align 8 %61 = load i64, i64* %.pre2, align 8 %62 = load i64, i64* %.pre-phi7.reload, align 8 %63 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 %62, i64 %61, i64 %61, i64 1) store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rdi.1.reg2mem br label LBL_11 LBL_11: %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %64 = call i64 @FUNC(i64 %rdi.1.reload) %65 = call i64 @FUNC(i64 %arg1) ret i64 %65 uselistorder i64 %61, { 1, 0 } uselistorder i64 %rdi.0.reload, { 1, 0 } uselistorder i64* %sv_0, { 0, 2, 3, 4, 1 } uselistorder i64* %rdi.1.reg2mem, { 0, 2, 3, 1 } uselistorder i64* %0, { 2, 1, 0 } uselistorder [5 x i8]* @gv_2, { 1, 0 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder i32 (i8*, ...)* @printf, { 1, 0 } uselistorder [18 x i8]* @gv_0, { 1, 0 } uselistorder i64 %arg1, { 6, 4, 5, 9, 0, 1, 8, 7, 2, 3, 11, 10 } uselistorder label LBL_11, { 1, 0, 2 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
nvme_map_addr_5740
nvme_map_addr
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.034.reg2mem = alloca i1 %1 = load i64, i64* %0 %2 = icmp eq i64 %arg4, 0 %3 = icmp eq i1 %2, false store i64 0, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_14 LBL_1: %4 = ptrtoint i64* %arg1 to i64 %5 = call i64 @FUNC(i64 %arg3, i64 %arg4) %6 = call i64 @FUNC(i64 %4, i64 %arg3) %7 = trunc i64 %6 to i8 %8 = icmp eq i8 %7, 0 store i64 1, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_14 LBL_2: %9 = ptrtoint i64* %arg2 to i64 %10 = trunc i64 %1 to i32 %11 = call i64 @FUNC(i64 %4, i64 %arg3) %12 = trunc i64 %11 to i8 %13 = icmp eq i8 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = urem i32 %10, 2 %15 = icmp eq i32 %14, 0 store i1 false, i1* %sv_0.034.reg2mem store i64 6, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_14 LBL_4: %16 = call i64 @FUNC(i64 %4, i64 %arg3) %17 = trunc i64 %16 to i8 %18 = icmp eq i8 %17, 0 %19 = urem i32 %10, 2 %20 = icmp eq i32 %19, 0 br i1 %18, label LBL_10, label LBL_5 LBL_5: store i1 true, i1* %sv_0.034.reg2mem store i64 6, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_14 LBL_6: %21 = add i64 %9, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = icmp sgt i32 %23, 1023 br i1 %24, label LBL_13, label LBL_7 LBL_7: %sv_0.034.reload = load i1, i1* %sv_0.034.reg2mem br i1 %sv_0.034.reload, label LBL_9, label LBL_8 LBL_8: %25 = call i64 @FUNC(i64 %4, i64 %21, i64 %arg3, i64 %arg4) store i64 %25, i64* %rax.0.reg2mem br label LBL_14 LBL_9: %26 = call i64 @FUNC(i64 %4, i64 %21, i64 %arg3, i64 %arg4) store i64 %26, i64* %rax.0.reg2mem br label LBL_14 LBL_10: %27 = icmp eq i1 %20, false store i64 6, i64* %rax.0.reg2mem br i1 %27, label LBL_11, label LBL_14 LBL_11: %28 = add i64 %9, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = icmp sgt i32 %30, 1023 br i1 %31, label LBL_13, label LBL_12 LBL_12: %32 = call i64 @FUNC(i64 %28, i64 %arg3, i64 %arg4) store i64 0, i64* %rax.0.reg2mem br label LBL_14 LBL_13: %33 = call i64 @FUNC(i64 100, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0)) store i64 12, i64* %rax.0.reg2mem br label LBL_14 LBL_14: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i1 %20, { 1, 0 } uselistorder i64 %9, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 2, 7, 6, 3, 1, 4, 5 } uselistorder i64 6, { 1, 2, 0 } uselistorder i32 0, { 1, 0 } uselistorder i1 false, { 1, 0, 2 } uselistorder i64 %arg4, { 2, 0, 1, 3, 4 } uselistorder i64 %arg3, { 2, 0, 1, 3, 4, 6, 5 } uselistorder label LBL_14, { 5, 6, 1, 7, 8, 2, 0, 3, 4 } uselistorder label LBL_6, { 1, 0 } }
0
BinRealVul
ogg_read_header_16291
ogg_read_header
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %storemerge3.reg2mem = alloca i32 %1 = ptrtoint i64* %arg1 to i64 %2 = load i64, i64* %0 %sv_0 = alloca i32, align 4 %sv_1 = alloca i64, align 8 %3 = add i64 %1, 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3, i64 4096) %6 = call i64 @FUNC(i64 %3, i64 %5, i64 4096) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp slt i32 %7, 0 %10 = icmp eq i1 %9, false %11 = icmp eq i1 %8, false %12 = icmp eq i1 %10, %11 store i64 4294967295, i64* %rax.0.reg2mem br i1 %12, label LBL_1, label LBL_4 LBL_1: %13 = call i64 @FUNC(i64 %3, i64 4096) %14 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1) %15 = call i64 @FUNC(i64* nonnull %sv_1) %16 = and i64 %15, 4294967295 %17 = call i64 @FUNC(i64 %1, i64 %16) %18 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1) %19 = call i64 @FUNC(i64 %1, i64 0) %20 = icmp eq i64 %19, 0 %21 = icmp eq i1 %20, false store i64 4294967294, i64* %rax.0.reg2mem br i1 %21, label LBL_2, label LBL_4 LBL_2: %22 = inttoptr i64 %19 to i32* %23 = call i64 @FUNC(i64 %19, i64 60, i64 1, i64 1000000) store i32 1, i32* %22, align 4 %24 = add i64 %19, 4 %25 = inttoptr i64 %24 to i32* store i32 1, i32* %25, align 4 %26 = bitcast i32* %sv_0 to i64* %27 = add i64 %19, 8 %28 = inttoptr i64 %27 to i32* %29 = add i64 %19, 16 %30 = inttoptr i64 %29 to i64* %31 = inttoptr i64 %2 to i64* store i32 0, i32* %storemerge3.reg2mem br label LBL_3 LBL_3: %storemerge3.reload = load i32, i32* %storemerge3.reg2mem %32 = call i64 @FUNC(i64 %1, i64* nonnull %26) %33 = load i32, i32* %28, align 4 %34 = load i32, i32* %sv_0, align 4 %35 = add i32 %33, 2 %36 = add i32 %35, %34 store i32 %36, i32* %28, align 4 %37 = add i32 %36, 32 %38 = sext i32 %37 to i64 %39 = load i64, i64* %30, align 8 %40 = call i64 @FUNC(i64 %39, i64 %38) store i64 %40, i64* %30, align 8 %41 = load i32, i32* %28, align 4 %42 = sext i32 %41 to i64 %43 = load i32, i32* %sv_0, align 4 %44 = sext i32 %43 to i64 %45 = sub nsw i64 %42, %44 %46 = add i64 %45, %40 %47 = add i64 %46, -2 %48 = udiv i32 %43, 256 %49 = add i64 %46, -1 %50 = trunc i32 %48 to i8 %51 = inttoptr i64 %47 to i8* store i8 %50, i8* %51, align 1 %52 = load i32, i32* %sv_0, align 4 %53 = trunc i32 %52 to i8 %54 = inttoptr i64 %49 to i8* store i8 %53, i8* %54, align 1 %55 = load i32, i32* %sv_0, align 4 %56 = inttoptr i64 %46 to i64* %57 = call i64* @memcpy(i64* %56, i64* %31, i32 %55) %58 = add nuw nsw i32 %storemerge3.reload, 1 %exitcond = icmp eq i32 %58, 3 store i32 %58, i32* %storemerge3.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_4, label LBL_3 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %7, { 1, 0 } uselistorder i64 %3, { 1, 0, 2, 3, 4 } uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 } uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i64 1, { 1, 0 } uselistorder i1 false, { 1, 2, 0 } }
1
BinRealVul
nfs_setattr_18059
nfs_setattr
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %.reg2mem = alloca i32 %1 = load i64, i64* %0 %rsi = alloca i64, align 8 %2 = load i64, i64* %0 %sv_0 = alloca i64, align 8 %3 = bitcast i64* %rsi to i32* %4 = trunc i64 %2 to i32 %5 = urem i32 %4, 2 %6 = icmp eq i32 %5, 0 store i32 %4, i32* %.reg2mem br i1 %6, label LBL_4, label LBL_1 LBL_1: %7 = and i64 %1, 61440 %8 = icmp eq i64 %7, 32768 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = add i64 %arg2, 8 %11 = inttoptr i64 %10 to i64* %12 = load i64, i64* %11, align 8 %13 = call i64 @FUNC(i64 %arg1) %14 = icmp eq i64 %12, %13 %15 = icmp eq i1 %14, false store i32 %4, i32* %.reg2mem br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = and i32 %4, -2 %17 = inttoptr i64 %arg2 to i32* store i32 %16, i32* %17, align 4 %.pre = load i32, i32* %3, align 8 store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %18 = urem i32 %.reload, 16 %19 = inttoptr i64 %arg2 to i32* store i32 %18, i32* %19, align 4 %20 = load i32, i32* %3, align 8 %21 = icmp eq i32 %20, 0 %22 = icmp eq i1 %21, false store i64 0, i64* %storemerge.reg2mem br i1 %22, label LBL_5, label LBL_10 LBL_5: %23 = call i64 @FUNC() %24 = call i64 @FUNC(i64 %arg1) %25 = add i64 %arg1, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = call i64 @FUNC(i64 %27) %29 = call i64 @FUNC(i64 %arg1) %30 = and i32 %20, 14 %31 = icmp eq i32 %30, 0 br i1 %31, label LBL_7, label LBL_6 LBL_6: %32 = call i64 @FUNC(i64 %arg1) br label LBL_7 LBL_7: %33 = call i64 @FUNC(i64 %arg1) %sext = mul i64 %arg1, 4294967296 %34 = ashr exact i64 %sext, 32 store i64 %34, i64* %sv_0, align 8 %35 = trunc i64 %34 to i32 %36 = icmp eq i32 %35, 0 %37 = icmp eq i1 %36, false br i1 %37, label LBL_9, label LBL_8 LBL_8: %38 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0) br label LBL_9 LBL_9: %39 = call i64 @FUNC(i64 %arg1) %40 = call i64 @FUNC() %41 = load i64, i64* %sv_0, align 8 %42 = and i64 %41, 4294967295 store i64 %42, i64* %storemerge.reg2mem br label LBL_10 LBL_10: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32 %4, { 3, 1, 0, 2 } uselistorder i32* %3, { 1, 0 } uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i64 %arg2, { 2, 1, 0 } uselistorder i64 %arg1, { 3, 2, 0, 4, 1, 7, 6, 5, 8 } uselistorder label LBL_10, { 1, 0 } }
1
BinRealVul
iser_snd_completion_18569
iser_snd_completion
define i64 @FUNC(i32* %arg1, i64* %arg2) 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 br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8, i64 %8, i64 128, i64 0) %10 = load i64, i64* @gv_0, align 8 %11 = call i64 @FUNC(i64 %10, i64 %5) br label LBL_2 LBL_2: %12 = ptrtoint i64* %arg2 to i64 %13 = add i64 %12, 8 %14 = call i64 @FUNC(i64 %13) %15 = and i64 %1, 4294967295 %16 = icmp eq i32 %2, 2 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_5, label LBL_3 LBL_3: %18 = ptrtoint i32* %arg1 to i64 %19 = add i64 %18, -8 %20 = inttoptr i64 %19 to i64* %21 = load i64, i64* %20, align 8 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = zext i32 %23 to i64 %25 = icmp eq i32 %23, 0 %26 = icmp eq i1 %25, false store i64 %24, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_4 LBL_4: %27 = call i64 @FUNC(i64 %19) store i64 %27, i64* %rax.0.reg2mem br label LBL_5 LBL_5: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %8, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %arg1, { 1, 0 } }
1
BinRealVul
posix_cpu_clock_getres_8108
posix_cpu_clock_getres
define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_3, label LBL_1 LBL_1: %5 = ptrtoint i64* %arg2 to i64 store i64 0, i64* %arg2, align 8 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* store i64 10000000, i64* %7, align 8 %8 = call i64 @FUNC(i64 %0) %9 = trunc i64 %8 to i32 %10 = icmp eq i32 %9, 1 %11 = icmp eq i1 %10, false br i1 %11, label LBL_3, label LBL_2 LBL_2: store i64 1, i64* %7, align 8 br label LBL_3 LBL_3: %12 = and i64 %1, 4294967295 ret i64 %12 }
0
BinRealVul
kvm_irqchip_create_14237
kvm_irqchip_create
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0)) %1 = icmp eq i64 %0, 0 store i64 0, i64* %rax.0.reg2mem br i1 %1, label LBL_6, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 1) %3 = trunc i64 %2 to i8 %4 = icmp eq i8 %3, 1 %5 = icmp eq i1 %4, false store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_6, label LBL_2 LBL_2: %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i64 %6, i64 1) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 1 store i64 0, i64* %rax.0.reg2mem br i1 %9, label LBL_3, label LBL_6 LBL_3: %10 = call i64 @FUNC(i64 %6, i64 2) %11 = trunc i64 %10 to i32 %12 = icmp slt i32 %11, 0 %13 = icmp eq i1 %12, false br i1 %13, label LBL_5, label LBL_4 LBL_4: %14 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8 %15 = call i32 @fwrite(i64* bitcast ([30 x i8]* @gv_3 to i64*), i32 1, i32 29, %_IO_FILE* %14) %16 = and i64 %10, 4294967295 store i64 %16, i64* %rax.0.reg2mem br label LBL_6 LBL_5: store i8 1, i8* inttoptr (i64 4210761 to i8*), align 1 store i8 1, i8* inttoptr (i64 4210762 to i8*), align 2 store i8 1, i8* inttoptr (i64 4210763 to i8*), align 1 %17 = call i64 @FUNC(i64 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i8 1, { 2, 3, 4, 0, 1 } uselistorder i64 1, { 1, 2, 0 } uselistorder label LBL_6, { 3, 4, 2, 1, 0 } }
1
BinRealVul
get_write_list_size_12693
get_write_list_size
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 %0 = ptrtoint i64* %arg1 to i64 %sext3 = mul i64 %arg3, 4294967296 %1 = ashr exact i64 %sext3, 32 %2 = trunc i64 %arg2 to i32 store i64 %1, i64* %sv_0.0.reg2mem br label LBL_1 LBL_1: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %3 = and i64 %sv_0.0.reload, 4294967295 %4 = call i64 @FUNC(i64 %0, i64 %3) %5 = mul i64 %sv_0.0.reload, 4294967296 %sext4 = add i64 %5, 17179869184 %6 = ashr exact i64 %sext4, 32 %7 = trunc i64 %6 to i32 %8 = icmp ugt i32 %7, %2 store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_6, label LBL_2 LBL_2: %9 = trunc i64 %4 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_5, label LBL_3 LBL_3: %11 = and i64 %6, 4294967295 %12 = call i64 @FUNC(i64 %0, i64 %11) %sext5 = add i64 %5, 34359738368 %13 = udiv i64 %sext5, 4294967296 %14 = trunc i64 %13 to i32 %15 = icmp ugt i32 %14, %2 store i64 0, i64* %rax.0.reg2mem br i1 %15, label LBL_6, label LBL_4 LBL_4: %16 = trunc i64 %12 to i32 %17 = mul i32 %16, 16 %18 = add i32 %17, %14 %19 = sext i32 %18 to i64 %20 = icmp ugt i32 %18, %2 store i64 %19, i64* %sv_0.0.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %20, label LBL_6, label LBL_1 LBL_5: %21 = sub nsw i64 %6, %1 %22 = and i64 %21, 4294967295 store i64 %22, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %5, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64, i64)* @tvb_get_ntohl, { 1, 0 } uselistorder i64 4294967296, { 3, 0, 1, 2 } uselistorder label LBL_6, { 3, 0, 1, 2 } }
1
BinRealVul
arm_dma_alloc_13403
arm_dma_alloc
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64* %arg5, i32 %arg6) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i64* %arg5 to i64 %1 = ptrtoint i64* %arg3 to i64 %2 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %3 = call i64 @FUNC(i64 %0, i64 0) %4 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %1, i64* nonnull %sv_0) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label LBL_2, label LBL_1 LBL_1: %7 = load i64, i64* %sv_0, align 8 store i64 %7, i64* %storemerge.reg2mem br label LBL_3 LBL_2: %8 = and i64 %3, 4294967295 %9 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %1, i32 %arg4, i64 %8, i64 0) store i64 %9, i64* %storemerge.reg2mem br label LBL_3 LBL_3: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64* %sv_0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } }
0
BinRealVul
sp804_init_2436
sp804_init
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC(i64 32) %2 = call i64 @FUNC(i64 4198849, i64 %1, i64 2) %3 = inttoptr i64 %1 to i32* store i32 %0, i32* %3, align 4 %4 = add i64 %1, 8 %5 = inttoptr i64 %4 to i64* store i64 %arg2, i64* %5, align 8 %6 = inttoptr i64 %2 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 1000000, i64 %7) %9 = add i64 %1, 16 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = call i64 @FUNC(i64 1000000, i64 %13) %15 = add i64 %1, 24 %16 = inttoptr i64 %15 to i64* store i64 %14, i64* %16, align 8 %17 = call i64 @FUNC(i64 0, i64 4198856, i64 4198867, i64 %1) %18 = trunc i64 %17 to i32 %19 = and i64 %arg1, 4294967295 %20 = call i64 @FUNC(i64 %19, i64 4096, i32 %18) ret i64 %20 uselistorder i64 (i64, i64)* @arm_timer_init, { 1, 0 } }
0
reposvul_c_test
ClampYCC_12
ClampYCC
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i1 %rax.0.reg2mem = alloca i64 %2 = load i128, i128* %0 %3 = load i1, i1* %1 %4 = load i1, i1* %1 %5 = call i64 @FUNC(i128 %2) %6 = load i128, i128* @gv_0, align 8 %7 = trunc i128 %6 to i64 %8 = call i128 @__asm_movsd.1(i64 %7) %9 = call i128 @FUNC(i128 %8, i64 %5) %10 = call i64 @FUNC(i128 %9) %11 = call i128 @FUNC(i128 %9, i128 %9) %12 = sext i64 %10 to i128 call void @FUNC(i128 %11, i128 %12) %13 = or i1 %3, %4 store i64 0, i64* %rax.0.reg2mem br i1 %13, label LBL_1, label LBL_2 LBL_1: %14 = call i128 @__asm_movsd.1(i64 %10) call void @FUNC(i128 %14, i128 %6) %15 = call i32 @FUNC(i64 %10) %16 = sext i32 %15 to i64 store i64 %16, 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 i128 %9, { 2, 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 } uselistorder i1* %1, { 1, 0 } uselistorder i32 1, { 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
can_follow_write_pmd_13249
can_follow_write_pmd
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = and i64 %arg1, 4294967295 %1 = call i64 @FUNC(i64 %0) %2 = trunc i64 %1 to i8 %3 = icmp eq i8 %2, 0 %4 = icmp eq i1 %3, false store i64 1, i64* %storemerge.reg2mem br i1 %4, label LBL_4, label LBL_1 LBL_1: %5 = urem i64 %arg2, 4 %6 = icmp eq i64 %5, 3 br i1 %6, label LBL_2, label LBL_3 LBL_2: %7 = call i64 @FUNC(i64 %0) %8 = trunc i64 %7 to i8 %9 = icmp eq i8 %8, 0 store i64 1, i64* %storemerge.reg2mem br i1 %9, label LBL_3, label LBL_4 LBL_3: store i64 0, i64* %storemerge.reg2mem br label LBL_4 LBL_4: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 } uselistorder i64 1, { 1, 0 } uselistorder label LBL_4, { 2, 1, 0 } uselistorder label LBL_3, { 1, 0 } }
1
BinRealVul
pci_qdev_init_14907
pci_qdev_init
define i64 @FUNC(i64* %arg1) 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 %1 to i8 %3 = icmp eq i8 %2, 0 br i1 %3, label LBL_2, label LBL_1 LBL_1: %4 = trunc i64 %1 to i32 %5 = or i32 %4, 1 %6 = bitcast i64* %arg1 to i32* store i32 %5, i32* %6, align 4 br label LBL_2 LBL_2: %7 = ptrtoint i64* %arg1 to i64 %8 = call i64 @FUNC(i64 %7) %9 = add i64 %7, 16 %10 = inttoptr i64 %9 to i32* %11 = load i32, i32* %10, align 4 %12 = call i64 @FUNC(i64 %7) %13 = zext i32 %11 to i64 %14 = call i64 @FUNC(i64 %7, i64 %8, i64 %12, i64 %13) %15 = icmp eq i64 %14, 0 %16 = icmp eq i1 %15, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %16, label LBL_3, label LBL_9 LBL_3: %17 = add i64 %7, 8 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = icmp eq i64 %19, 0 %21 = trunc i64 %14 to i32 %22 = icmp eq i32 %21, 0 %or.cond = or i1 %22, %20 br i1 %or.cond, label LBL_5, label LBL_4 LBL_4: %23 = and i64 %14, 4294967295 %24 = call i64 @FUNC(i64 %14) store i64 %23, i64* %rax.0.reg2mem br label LBL_9 LBL_5: %25 = add i64 %14, 8 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = icmp eq i64 %27, 0 %29 = icmp eq i1 %28, false store i64 0, i64* %sv_0.0.reg2mem br i1 %29, label LBL_8, label LBL_6 LBL_6: %30 = inttoptr i64 %9 to i64* %31 = load i64, i64* %30, align 8 %32 = icmp eq i64 %31, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %32, label LBL_8, label LBL_7 LBL_7: %33 = inttoptr i64 %31 to i8* %34 = call i8* @strdup(i8* %33) %35 = ptrtoint i8* %34 to i64 store i64 %35, i64* %26, align 8 store i64 1, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %36 = call i64 @FUNC(i64 %14, i64 %sv_0.0.reload) 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 i64 %14, { 2, 3, 1, 4, 0, 5 } uselistorder i64 %7, { 0, 2, 4, 1, 3 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_9, { 1, 2, 0 } }
1
BinRealVul
gen_divu_16478
gen_divu
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC() %2 = call i64 @FUNC() %3 = call i64 @FUNC(i64 0, i64 0) %4 = call i64 @FUNC() %5 = call i64 @FUNC() %6 = call i64 @FUNC() %7 = call i64 @FUNC(i64 1) %8 = and i64 %7, 4294967295 %9 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8 %10 = zext i32 %9 to i64 %11 = call i64 @FUNC(i64 %10, i32 %9, i64 %8, i64 1) %12 = call i64 @FUNC(i64 %0) %13 = call i64 @FUNC() ret i64 %13 uselistorder i64 ()* @tcg_temp_free, { 1, 0 } uselistorder i64 ()* @tcg_temp_new, { 1, 0 } }
1
BinRealVul
virtio_blk_device_exit_16940
virtio_blk_device_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %0) %6 = add i64 %0, 16 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = call i64 @FUNC(i64 %8) %10 = call i64 @FUNC(i64 %0) ret i64 0 uselistorder i64 %0, { 4, 3, 2, 0, 1 } }
1
BinRealVul
DefragRegisterTests_11440
DefragRegisterTests
define i64 @FUNC() local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 4198694) %1 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 4198701) %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 4198708) %3 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 4198715) %4 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 4198722) %5 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 4198729) %6 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 4198736) %7 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0), i64 4198743) %8 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_8, i64 0, i64 0), i64 4198750) %9 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i64 4198757) %10 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i64 4198764) %11 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_11, i64 0, i64 0), i64 4198771) %12 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_12, i64 0, i64 0), i64 4198778) %13 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_13, i64 0, i64 0), i64 4198785) %14 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_14, i64 0, i64 0), i64 4198792) %15 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_15, i64 0, i64 0), i64 4198799) %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_16, i64 0, i64 0), i64 4198806) %17 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_17, i64 0, i64 0), i64 4198813) %18 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_18, i64 0, i64 0), i64 4198820) %19 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_19, i64 0, i64 0), i64 4198827) %20 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_20, i64 0, i64 0), i64 4198834) %21 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_21, i64 0, i64 0), i64 4198841) %22 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_22, i64 0, i64 0), i64 4198848) %23 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_23, i64 0, i64 0), i64 4198855) ret i64 %23 uselistorder i64 (i8*, i64)* @UtRegisterTest, { 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } }
1
BinRealVul
config_error_15474
config_error
define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr { LBL_0: %0 = alloca i128 %1 = alloca i64 %2 = load i64, i64* %1 %3 = load i128, i128* %0 %4 = load i128, i128* %0 %5 = load i128, i128* %0 %6 = load i128, i128* %0 %7 = load i128, i128* %0 %8 = load i128, i128* %0 %9 = load i128, i128* %0 %10 = load i128, i128* %0 %sv_0 = alloca i32, align 4 %11 = trunc i64 %2 to i8 %12 = icmp eq i8 %11, 0 br i1 %12, label LBL_2, label LBL_1 LBL_1: %13 = call i64 @FUNC(i128 %10) %14 = call i64 @FUNC(i128 %9) %15 = call i64 @FUNC(i128 %8) %16 = call i64 @FUNC(i128 %7) %17 = call i64 @FUNC(i128 %6) %18 = call i64 @FUNC(i128 %5) %19 = call i64 @FUNC(i128 %4) %20 = call i64 @FUNC(i128 %3) br label LBL_2 LBL_2: store i32 16, i32* %sv_0, align 4 %21 = icmp eq i64 %arg1, 0 br i1 %21, label LBL_4, label LBL_3 LBL_3: %22 = ptrtoint i8* %arg2 to i64 %23 = call i64 @FUNC(i64 %arg1, i64 %22, i32* nonnull %sv_0) ret i64 %23 LBL_4: %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %25 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_1 to i64*), i32 1, i32 6, %_IO_FILE* %24) %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %27 = ptrtoint i32* %sv_0 to i64 %28 = call i32 @vfprintf(%_IO_FILE* %26, i8* %arg2, i64 %27) call void @exit(i32 1) unreachable uselistorder i32* %sv_0, { 1, 0, 2 } uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i8 0, { 1, 0 } uselistorder i8* %arg2, { 1, 0 } uselistorder i64 %arg1, { 1, 0 } }
1
BinRealVul
passwd_dup_9645
passwd_dup
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, i64 48) %3 = call i64 @FUNC(i64 %1, i64 48) %4 = inttoptr i64 %2 to i64* store i64 %3, i64* %4, align 8 %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %1, i64 %7) %9 = add i64 %2, 8 %10 = inttoptr i64 %9 to i64* store i64 %8, i64* %10, align 8 %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = add i64 %2, 16 %15 = inttoptr i64 %14 to i32* store i32 %13, i32* %15, align 4 %16 = add i64 %0, 20 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = add i64 %2, 20 %20 = inttoptr i64 %19 to i32* store i32 %18, i32* %20, align 4 %21 = add i64 %0, 24 %22 = inttoptr i64 %21 to i64* %23 = load i64, i64* %22, align 8 %24 = call i64 @FUNC(i64 %1, i64 %23) %25 = add i64 %2, 24 %26 = inttoptr i64 %25 to i64* store i64 %24, i64* %26, align 8 %27 = add i64 %0, 32 %28 = inttoptr i64 %27 to i64* %29 = load i64, i64* %28, align 8 %30 = call i64 @FUNC(i64 %1, i64 %29) %31 = add i64 %2, 32 %32 = inttoptr i64 %31 to i64* store i64 %30, i64* %32, align 8 %33 = add i64 %0, 40 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = call i64 @FUNC(i64 %1, i64 %35) %37 = add i64 %2, 40 %38 = inttoptr i64 %37 to i64* store i64 %36, i64* %38, align 8 ret i64 %2 uselistorder i64 %0, { 5, 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @pstrdup, { 4, 3, 2, 1, 0 } uselistorder i64 (i64, i64)* @pcalloc, { 1, 0 } }
0
BinRealVul
async_complete_3481
async_complete
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %rcx.1.reg2mem = alloca i64 %.pre-phi26.pre-phi.reg2mem = alloca i32* %rcx.0.lcssa.reg2mem = alloca i64 %sv_0.0.ph.lcssa.reg2mem = alloca i32 %sv_0.0.ph12.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i32*, align 8 %5 = trunc i64 %3 to i32 %6 = call i32 (i32, i32, ...) @ioctl(i32 %5, i32 1074287885) %7 = icmp slt i32 %6, 0 %8 = icmp eq i1 %7, false store i32 0, i32* %sv_0.0.ph.lcssa.reg2mem br i1 %8, label LBL_1, label LBL_3 LBL_1: %9 = bitcast i64* %rdi to i32* %10 = add i64 %4, 8 store i32 0, i32* %sv_0.0.ph12.reg2mem br label LBL_2 LBL_2: %sv_0.0.ph12.reload = load i32, i32* %sv_0.0.ph12.reg2mem br label LBL_10 LBL_3: %11 = call i32* @__errno_location() %12 = load i32, i32* %11, align 4 %13 = icmp eq i32 %12, 11 %14 = icmp eq i1 %13, false br i1 %14, label LBL_6, label LBL_4 LBL_4: %sv_0.0.ph.lcssa.reload = load i32, i32* %sv_0.0.ph.lcssa.reg2mem %15 = zext i32 %12 to i64 %16 = icmp slt i32 %sv_0.0.ph.lcssa.reload, 3 store i64 %15, i64* %rax.0.reg2mem br i1 %16, label LBL_28, label LBL_5 LBL_5: %17 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %18 = zext i32 %sv_0.0.ph.lcssa.reload to i64 %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %17, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %18) %20 = sext i32 %19 to i64 store i64 %20, i64* %rax.0.reg2mem br label LBL_28 LBL_6: %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem %21 = call i32* @__errno_location() %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 19 %24 = icmp eq i1 %23, false br i1 %24, label LBL_9, label LBL_7 LBL_7: %25 = add i64 %4, 4 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp eq i32 %27, 0 %29 = icmp eq i1 %28, false br i1 %29, label LBL_9, label LBL_8 LBL_8: %30 = call i64 @FUNC(i64 %4) store i64 %30, i64* %rax.0.reg2mem br label LBL_28 LBL_9: %31 = ptrtoint i32** %sv_1 to i64 %32 = call i32* @__errno_location() %33 = load i32, i32* %32, align 4 %34 = zext i32 %33 to i64 %35 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %34, i64 %31, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1) store i64 %35, i64* %rax.0.reg2mem br label LBL_28 LBL_10: %36 = load i32*, i32** %sv_1, align 8 %37 = ptrtoint i32* %36 to i64 %38 = add i64 %37, 4 %39 = inttoptr i64 %38 to i32* %40 = load i32, i32* %39, align 4 %41 = zext i32 %40 to i64 %42 = load i32, i32* %36, align 4 %43 = zext i32 %42 to i64 %44 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i64 %37, i64 %43, i64 %41, i64 %2, i64 %1) %45 = load i32*, i32** %sv_1, align 8 %46 = ptrtoint i32* %45 to i64 %47 = add i64 %46, 24 %48 = inttoptr i64 %47 to i32* %49 = load i32, i32* %48, align 4 %50 = icmp eq i32 %49, -1 %51 = icmp eq i1 %50, false br i1 %51, label LBL_16, label LBL_11 LBL_11: %52 = load i32, i32* %45, align 4 %53 = icmp eq i32 %52, -32 %54 = icmp eq i1 %53, false store i32* %48, i32** %.pre-phi26.pre-phi.reg2mem br i1 %54, label LBL_13, label LBL_12 LBL_12: %55 = add i64 %46, 8 %56 = inttoptr i64 %55 to i32* %57 = load i32, i32* %56, align 4 %58 = urem i32 %57, 16 %59 = zext i32 %58 to i64 %60 = call i64 @FUNC(i64 %4, i64 %59) %.pre = load i32*, i32** %sv_1, align 8 %.pre22 = ptrtoint i32* %.pre to i64 %.pre23 = add i64 %.pre22, 24 %.pre45 = inttoptr i64 %.pre23 to i32* store i32* %.pre45, i32** %.pre-phi26.pre-phi.reg2mem br label LBL_13 LBL_13: %.pre-phi26.pre-phi.reload = load i32*, i32** %.pre-phi26.pre-phi.reg2mem store i32 0, i32* %.pre-phi26.pre-phi.reload, align 4 %61 = load i32*, i32** %sv_1, align 8 %62 = ptrtoint i32* %61 to i64 %63 = add i64 %62, 8 %64 = inttoptr i64 %63 to i32* %65 = load i32, i32* %64, align 4 %66 = urem i32 %65, 16 %67 = zext i32 %66 to i64 %68 = call i64 @FUNC(i64 %4, i64 %67, i64 4294967295) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 %71 = icmp eq i1 %70, false store i64 %67, i64* %rcx.1.reg2mem br i1 %71, label LBL_27, label LBL_14 LBL_14: %72 = load i32*, i32** %sv_1, align 8 %73 = ptrtoint i32* %72 to i64 %74 = add i64 %73, 8 %75 = inttoptr i64 %74 to i32* %76 = load i32, i32* %75, align 4 %77 = urem i32 %76, 16 %78 = zext i32 %77 to i64 %79 = call i64 @FUNC(i64 %4, i64 %78) %80 = trunc i64 %79 to i32 %81 = icmp eq i32 %80, 0 store i64 %67, i64* %rcx.1.reg2mem br i1 %81, label LBL_27, label LBL_15 LBL_15: %82 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8 %83 = ptrtoint %_IO_FILE* %82 to i64 %84 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_4 to i64*), i32 1, i32 36, %_IO_FILE* %82) store i64 %83, i64* %rcx.1.reg2mem br label LBL_27 LBL_16: %85 = add i64 %46, 16 %86 = inttoptr i64 %85 to i64* %87 = load i64, i64* %86, align 8 %88 = icmp eq i64 %87, 0 br i1 %88, label LBL_26, label LBL_17 LBL_17: %89 = inttoptr i64 %87 to i32* %90 = load i32, i32* %45, align 4 %91 = icmp eq i32 %90, -32 br i1 %91, label LBL_20, label LBL_18 LBL_18: %92 = icmp eq i32 %90, 0 %93 = icmp eq i1 %92, false br i1 %93, label LBL_21, label LBL_19 LBL_19: %94 = load i32, i32* %89, align 4 %95 = add i64 %46, 4 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = add i32 %97, %94 store i32 %98, i32* %89, align 4 br label LBL_22 LBL_20: %99 = add i64 %87, 4 %100 = inttoptr i64 %99 to i32* %101 = load i32, i32* %100, align 4 %102 = zext i32 %101 to i64 %103 = call i64 @FUNC(i64 %4, i64 %102) store i32 -1, i32* %89, align 4 br label LBL_22 LBL_21: store i32 -2, i32* %89, align 4 br label LBL_22 LBL_22: %104 = load i32*, i32** %sv_1, align 8 %105 = ptrtoint i32* %104 to i64 %106 = add i64 %105, 12 %107 = inttoptr i64 %106 to i32* %108 = load i32, i32* %107, align 4 %109 = icmp eq i32 %108, 2 %110 = icmp eq i1 %109, false br i1 %110, label LBL_24, label LBL_23 LBL_23: %111 = call i64 @FUNC(i64 %10, i64 %87) br label LBL_26 LBL_24: %112 = add i64 %105, 28 %113 = inttoptr i64 %112 to i32* %114 = load i32, i32* %113, align 4 %115 = icmp eq i32 %114, 0 %116 = icmp eq i1 %115, false br i1 %116, label LBL_26, label LBL_25 LBL_25: %117 = call i64 @FUNC(i64 %10, i64 %87) br label LBL_26 LBL_26: %118 = load i32*, i32** %sv_1, align 8 %119 = ptrtoint i32* %118 to i64 %120 = call i64 @FUNC(i64 %119) %121 = load i32, i32* %9, align 8 %122 = call i32 (i32, i32, ...) @ioctl(i32 %121, i32 1074287885) %123 = icmp slt i32 %122, 0 %124 = icmp eq i1 %123, false store i32 %sv_0.0.ph12.reload, i32* %sv_0.0.ph.lcssa.reg2mem store i64 %41, i64* %rcx.0.lcssa.reg2mem br i1 %124, label LBL_10, label LBL_3 LBL_27: %125 = add i32 %sv_0.0.ph12.reload, 1 %rcx.1.reload = load i64, i64* %rcx.1.reg2mem %126 = load i32, i32* %9, align 8 %127 = call i32 (i32, i32, ...) @ioctl(i32 %126, i32 1074287885) %128 = icmp slt i32 %127, 0 %129 = icmp eq i1 %128, false store i32 %125, i32* %sv_0.0.ph12.reg2mem store i32 %125, i32* %sv_0.0.ph.lcssa.reg2mem store i64 %rcx.1.reload, i64* %rcx.0.lcssa.reg2mem br i1 %129, label LBL_2, label LBL_3 LBL_28: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32* %89, { 0, 3, 2, 1 } uselistorder i64 %87, { 1, 2, 0, 3, 4 } uselistorder i64 %46, { 1, 2, 0, 3 } uselistorder i32* %45, { 1, 0, 2 } uselistorder i32 %12, { 1, 0 } uselistorder i32 %sv_0.0.ph12.reload, { 1, 0 } uselistorder i32** %sv_1, { 7, 6, 5, 4, 0, 3, 2, 1 } uselistorder i64 %4, { 6, 3, 4, 2, 1, 0, 5 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %sv_0.0.ph12.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_0.0.ph.lcssa.reg2mem, { 1, 2, 0, 3 } uselistorder i64* %rcx.0.lcssa.reg2mem, { 1, 2, 0 } uselistorder i32** %.pre-phi26.pre-phi.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i64 (i64, i64)* @set_halt, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 } uselistorder %_IO_FILE** @gv_0, { 1, 0 } uselistorder i32* ()* @__errno_location, { 2, 0, 1 } uselistorder i64 8, { 1, 2, 3, 0 } uselistorder i32 (i32, i32, ...)* @ioctl, { 1, 2, 0 } uselistorder i32 1074287885, { 1, 2, 0 } uselistorder label LBL_28, { 2, 3, 1, 0 } uselistorder label LBL_10, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
test_validate_fail_struct_5450
test_validate_fail_struct
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i64, align 8 store i64 0, i64* %sv_1, align 8 store i64 0, i64* %sv_0, align 8 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i64 0, i64* nonnull %sv_0) %3 = call i64 @FUNC(i64* nonnull %sv_0) %4 = load i64, i64* %sv_1, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %.reg2mem br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = inttoptr i64 %4 to i64* %7 = load i64, i64* %6, align 8 %8 = call i64 @FUNC(i64 %7) %.pre = load i64, i64* %sv_1, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_2 LBL_2: %.reload = load i64, i64* %.reg2mem %9 = call i64 @FUNC(i64 %.reload) ret i64 %9 uselistorder i64* %sv_1, { 0, 2, 1, 3 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } }
0
BinRealVul
vpc_close_3009
vpc_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, 16 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = call i64 @FUNC(i64 %4) %6 = load i64, i64* %3, align 8 %7 = call i64 @FUNC(i64 %6) ret i64 %7 }
0
BinRealVul
BenchmarkOpenCLDevices_6670
BenchmarkOpenCLDevices
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rdi.1.lcssa.reg2mem = alloca i64 %storemerge36.reg2mem = alloca i64 %rdi.0.reg2mem = alloca i64 %rdi.27.reg2mem = alloca i64 %storemerge8.reg2mem = alloca i64 %storemerge49.reg2mem = alloca i64 %0 = call i64 @FUNC() %1 = load i64, i64* @gv_0, align 8 %2 = add i64 %0, 24 %3 = inttoptr i64 %2 to i64* store i64 %1, i64* %3, align 8 %4 = call i64 @FUNC(i64 8) %5 = add i64 %0, 8 %6 = inttoptr i64 %5 to i64* store i64 %4, i64* %6, align 8 %7 = inttoptr i64 %0 to i64* store i64 1, i64* %7, align 8 %8 = call i64 @FUNC() %9 = trunc i64 %8 to i32 %10 = add i64 %0, 32 %11 = inttoptr i64 %10 to i32* store i32 %9, i32* %11, align 4 %12 = add i64 %0, 36 %13 = inttoptr i64 %12 to i32* store i32 1, i32* %13, align 4 %14 = add i64 %arg1, 8 %15 = inttoptr i64 %14 to i64* store i64 0, i64* %storemerge49.reg2mem br label LBL_1 LBL_1: %storemerge49.reload = load i64, i64* %storemerge49.reg2mem %16 = load i64, i64* %15, align 8 %17 = mul i64 %storemerge49.reload, 8 %18 = add i64 %16, %17 %19 = inttoptr i64 %18 to i64* %20 = load i64, i64* %19, align 8 %21 = inttoptr i64 %20 to i32* store i32 -1, i32* %21, align 4 %22 = add nuw nsw i64 %storemerge49.reload, 1 %exitcond = icmp eq i64 %22, 8 store i64 %22, i64* %storemerge49.reg2mem store i64 0, i64* %storemerge8.reg2mem store i64 8, i64* %rdi.27.reg2mem br i1 %exitcond, label LBL_2, label LBL_1 LBL_2: %rdi.27.reload = load i64, i64* %rdi.27.reg2mem %storemerge8.reload = load i64, i64* %storemerge8.reg2mem %23 = load i64, i64* %15, align 8 %24 = mul i64 %storemerge8.reload, 8 %25 = add i64 %23, %24 %26 = inttoptr i64 %25 to i64* %27 = load i64, i64* %26, align 8 %28 = inttoptr i64 %27 to i32* %29 = load i32, i32* %28, align 4 %30 = icmp eq i32 %29, -1 %31 = icmp eq i1 %30, false store i64 %rdi.27.reload, i64* %rdi.0.reg2mem br i1 %31, label LBL_4, label LBL_3 LBL_3: %32 = call i64 @FUNC(i64 %arg1, i64 %0, i64 %27) store i64 %arg1, i64* %rdi.0.reg2mem br label LBL_4 LBL_4: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %storemerge35 = add nuw i64 %storemerge8.reload, 1 %33 = icmp ult i64 %storemerge35, %rdi.0.reload store i64 %storemerge35, i64* %storemerge36.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem br i1 %33, label LBL_5, label LBL_8 LBL_5: %storemerge36.reload = load i64, i64* %storemerge36.reg2mem %34 = load i64, i64* %15, align 8 %35 = mul i64 %storemerge36.reload, 8 %36 = add i64 %34, %35 %37 = inttoptr i64 %36 to i64* %38 = load i64, i64* %37, align 8 %39 = call i64 @FUNC(i64 %27, i64 %38) %40 = trunc i64 %39 to i32 %41 = icmp eq i32 %40, 0 br i1 %41, label LBL_7, label LBL_6 LBL_6: %42 = inttoptr i64 %38 to i32* %43 = load i32, i32* %28, align 4 store i32 %43, i32* %42, align 4 br label LBL_7 LBL_7: %storemerge3 = add i64 %storemerge36.reload, 1 %44 = icmp ult i64 %storemerge3, %27 store i64 %storemerge3, i64* %storemerge36.reg2mem store i64 %27, i64* %rdi.1.lcssa.reg2mem br i1 %44, label LBL_5, label LBL_8 LBL_8: %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem %45 = icmp ult i64 %storemerge35, %rdi.1.lcssa.reload store i64 %storemerge35, i64* %storemerge8.reg2mem store i64 %rdi.1.lcssa.reload, i64* %rdi.27.reg2mem br i1 %45, label LBL_2, label LBL_9 LBL_9: %46 = add i64 %0, 40 %47 = inttoptr i64 %46 to i32* store i32 0, i32* %47, align 4 store i64 %0, i64* @gv_1, align 8 %48 = call i64 @FUNC(i64 1) %49 = trunc i64 %48 to i32 %50 = add i64 %arg1, 16 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 store i64 %arg1, i64* @gv_1, align 8 %52 = call i64 @FUNC(i64 %0) %53 = call i64 @FUNC(i64 %arg1) ret i64 %53 uselistorder i64 %rdi.1.lcssa.reload, { 1, 0 } uselistorder i64 %storemerge35, { 1, 2, 0, 3 } uselistorder i64* %15, { 1, 0, 2 } uselistorder i64* %storemerge49.reg2mem, { 1, 0, 2 } uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 } uselistorder i64* %rdi.27.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge36.reg2mem, { 2, 0, 1 } uselistorder i32 0, { 1, 0, 2 } uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 %arg1, { 2, 1, 3, 0, 4, 5 } uselistorder label LBL_5, { 1, 0 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
read16_19276
read16
define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i8 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = add i32 %arg3, 1 %1 = zext i32 %0 to i64 %2 = sext i32 %arg2 to i64 %3 = icmp sgt i64 %2, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %3, label LBL_1, label LBL_4 LBL_1: %4 = sext i32 %arg3 to i64 %5 = ptrtoint i32* %arg1 to i64 %6 = add i64 %4, %5 %7 = inttoptr i64 %6 to i8* %8 = icmp eq i8 %arg4, 0 br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = add i64 %6, 1 %10 = inttoptr i64 %9 to i8* %11 = load i8, i8* %10, align 1 %12 = zext i8 %11 to i64 %13 = mul i64 %12, 256 %14 = load i8, i8* %7, align 1 %15 = zext i8 %14 to i64 %16 = or i64 %13, %15 store i64 %16, i64* %rax.0.reg2mem br label LBL_4 LBL_3: %17 = load i8, i8* %7, align 1 %18 = zext i8 %17 to i64 %19 = mul i64 %18, 256 %20 = add i64 %6, 1 %21 = inttoptr i64 %20 to i8* %22 = load i8, i8* %21, align 1 %23 = zext i8 %22 to i64 %24 = or i64 %19, %23 store i64 %24, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i8* %7, { 1, 0 } uselistorder i64 %6, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder label LBL_4, { 1, 2, 0 } }
1
BinRealVul
vga_update_memory_access_17128
vga_update_memory_access
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_12, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i32* %4 = load i32, i32* %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = add i64 %0, 2080 %7 = call i64 @FUNC(i64 %0, i64 %6) %8 = call i64 @FUNC(i64 %6) store i32 0, i32* %3, align 4 %9 = add i64 %0, 12 %10 = inttoptr i64 %9 to i32* store i32 15, i32* %10, align 4 br label LBL_3 LBL_3: %11 = add i64 %0, 16 %12 = inttoptr i64 %11 to i32* %13 = load i32, i32* %12, align 4 %14 = urem i32 %13, 4 %15 = zext i32 %14 to i64 %16 = icmp eq i32 %14, 3 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_12, label LBL_4 LBL_4: %18 = add i64 %0, 20 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = and i32 %20, 4 %22 = icmp eq i32 %21, 0 store i64 0, i64* %rax.0.reg2mem br i1 %22, label LBL_12, label LBL_5 LBL_5: %23 = add i64 %0, 1040 %24 = inttoptr i64 %23 to i32* %25 = load i32, i32* %24, align 4 %26 = udiv i32 %25, 4 %27 = urem i32 %26, 4 store i64 0, i64* %sv_2.0.reg2mem store i64 655360, i64* %sv_1.0.reg2mem store i64 131072, i64* %sv_0.0.reg2mem switch i32 %27, label LBL_8 [ i32 2, label LBL_7 i32 1, label LBL_6 i32 0, label LBL_9 ] LBL_6: %28 = add i64 %0, 2064 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 store i64 %30, i64* %sv_2.0.reg2mem store i64 655360, i64* %sv_1.0.reg2mem store i64 65536, i64* %sv_0.0.reg2mem br label LBL_9 LBL_7: store i64 0, i64* %sv_2.0.reg2mem store i64 720896, i64* %sv_1.0.reg2mem store i64 32768, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: store i64 0, i64* %sv_2.0.reg2mem store i64 753664, i64* %sv_1.0.reg2mem store i64 32768, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %31 = add i64 %sv_0.0.reload, %sv_2.0.reload %32 = add i64 %0, 2072 %33 = inttoptr i64 %32 to i64* %34 = load i64, i64* %33, align 8 %35 = icmp ugt i64 %31, %34 br i1 %35, label LBL_10, label LBL_11 LBL_10: call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0)) br label LBL_11 LBL_11: %36 = add i64 %0, 2088 %37 = call i64 @FUNC(i64 %36) %38 = add i64 %0, 2080 %39 = call i64 @FUNC(i64 %38, i64 %37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i64 %36, i64 %sv_2.0.reload, i64 %sv_0.0.reload) %40 = call i64 @FUNC(i64 %38, i64 %sv_1.0.reload, i64 %38, i64 2) store i32 1, i32* %3, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_12 LBL_12: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %36, { 1, 0 } uselistorder i32 %14, { 1, 0 } uselistorder i64 %0, { 0, 6, 5, 7, 4, 8, 9, 10, 2, 3, 12, 11, 1 } uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64 655360, { 1, 0 } uselistorder i32 4, { 1, 0, 3, 2 } uselistorder label LBL_12, { 1, 2, 3, 0 } uselistorder label LBL_11, { 1, 0 } uselistorder label LBL_9, { 1, 2, 3, 0 } }
1
BinRealVul
rlvl_destroy_18935
rlvl_destroy
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.01.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 %0, i64* %rax.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 store i64 0, i64* %sv_0.01.reg2mem br i1 %5, label LBL_3, label LBL_2 LBL_2: %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem %6 = call i64 @FUNC(i64 %0) %7 = add nuw i64 %sv_0.01.reload, 1 %8 = load i64, i64* %3, align 8 %9 = icmp ult i64 %7, %8 store i64 %7, i64* %sv_0.01.reg2mem br i1 %9, label LBL_2, label LBL_3 LBL_3: %10 = call i64 @FUNC(i64 %0) store i64 %10, 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* %3, { 1, 0 } uselistorder i64 %0, { 1, 2, 3, 0 } uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
ich_elrsr_read_16598
ich_elrsr_read
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %sv_0.1.lcssa.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_0.14.reg2mem = alloca i64 %storemerge35.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = inttoptr i64 %1 to i32* %3 = load i32, i32* %2, align 4 %4 = icmp eq i32 %3, 0 store i64 0, i64* %sv_0.1.lcssa.reg2mem br i1 %4, label LBL_7, label LBL_1 LBL_1: %5 = add i64 %1, 8 %6 = zext i32 %3 to i64 store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge35.reg2mem store i64 0, i64* %sv_0.14.reg2mem br label LBL_2 LBL_2: %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem %storemerge35.reload = load i32, i32* %storemerge35.reg2mem %.reload = load i64, i64* %.reg2mem %7 = mul i64 %.reload, 8 %8 = add i64 %5, %7 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp ult i64 %10, 16 %12 = icmp eq i1 %11, false store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem br i1 %12, label LBL_6, label LBL_3 LBL_3: %13 = trunc i64 %10 to i32 %14 = urem i32 %13, 2 %15 = icmp eq i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_5, label LBL_4 LBL_4: %17 = and i32 %13, 2 %18 = icmp eq i32 %17, 0 %19 = icmp eq i1 %18, false store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem br i1 %19, label LBL_6, label LBL_5 LBL_5: %20 = urem i32 %storemerge35.reload, 32 %21 = shl i32 1, %20 %22 = sext i32 %21 to i64 %23 = or i64 %sv_0.14.reload, %22 store i64 %23, i64* %sv_0.0.reg2mem br label LBL_6 LBL_6: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %24 = add i32 %storemerge35.reload, 1 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %25, %6 store i64 %25, i64* %.reg2mem store i32 %24, i32* %storemerge35.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem br i1 %26, label LBL_2, label LBL_7 LBL_7: %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem %27 = call i64 @FUNC(i64 %1) %28 = and i64 %27, 4294967295 %29 = call i64 @FUNC(i64 %28, i64 %sv_0.1.lcssa.reload) ret i64 %sv_0.1.lcssa.reload uselistorder i64 %sv_0.1.lcssa.reload, { 1, 0 } uselistorder i32 %13, { 1, 0 } uselistorder i64 %10, { 1, 0 } uselistorder i64 %sv_0.14.reload, { 2, 0, 1 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.14.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 } uselistorder i32 2, { 1, 0 } uselistorder i64 8, { 0, 2, 1 } uselistorder i32 0, { 2, 3, 0, 1, 4 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
_XcursorThemeInherits_5215
_XcursorThemeInherits
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %sv_1.1.lcssa.reg2mem = alloca i8* %sv_2.27.reg2mem = alloca i8* %sv_1.18.reg2mem = alloca i8* %.reg2mem16 = alloca i8 %sv_1.0.reg2mem = alloca i8* %sv_2.1.reg2mem = alloca i8* %.reg2mem14 = alloca i8 %sv_1.0.ph.in.in.in.reg2mem = alloca i8* %sv_2.1.ph.reg2mem = alloca i8* %sv_2.0.reg2mem = alloca i8* %.reg2mem = alloca i8 %storemerge4.in.in.in.reg2mem = alloca i8* %storemerge5.reg2mem = alloca i8* %sv_3 = alloca i64, align 8 %sv_4 = alloca i64, align 8 %0 = icmp eq i64 %arg1, 0 %1 = icmp eq i1 %0, false store i64 0, i64* %storemerge.reg2mem br i1 %1, label LBL_1, label LBL_26 LBL_1: %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 store i64 0, i64* %storemerge.reg2mem br i1 %4, label LBL_26, label LBL_2 LBL_2: %5 = bitcast i64* %sv_4 to i8* %6 = call i8* @fgets(i8* nonnull %5, i32 8192, %_IO_FILE* nonnull %3) %7 = icmp eq i8* %6, null %8 = icmp eq i1 %7, false store i64 0, i64* %sv_0.0.reg2mem br i1 %8, label LBL_3, label LBL_25 LBL_3: %9 = bitcast i64* %sv_3 to i8* br label LBL_4 LBL_4: %10 = call i32 @strncmp(i8* nonnull %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 8) %11 = icmp eq i32 %10, 0 %12 = icmp eq i1 %11, false store i8* %9, i8** %storemerge5.reg2mem br i1 %12, label LBL_5, label LBL_7 LBL_5: %13 = call i8* @fgets(i8* nonnull %5, i32 8192, %_IO_FILE* nonnull %3) %14 = icmp eq i8* %13, null %15 = icmp eq i1 %14, false store i64 0, i64* %sv_0.0.reg2mem br i1 %15, label LBL_4, label LBL_25 LBL_6: %16 = ptrtoint i8* %storemerge5.reload to i64 %17 = add i64 %16, 1 %18 = inttoptr i64 %17 to i8* store i8* %18, i8** %storemerge5.reg2mem br label LBL_7 LBL_7: %storemerge5.reload = load i8*, i8** %storemerge5.reg2mem %19 = load i8, i8* %storemerge5.reload, align 1 store i8* %storemerge5.reload, i8** %storemerge4.in.in.in.reg2mem switch i8 %19, label LBL_5 [ i8 32, label LBL_6 i8 61, label LBL_8 ] LBL_8: %storemerge4.in.in.in.reload = load i8*, i8** %storemerge4.in.in.in.reg2mem %storemerge4.in.in = ptrtoint i8* %storemerge4.in.in.in.reload to i64 %storemerge4.in = add i64 %storemerge4.in.in, 1 %storemerge4 = inttoptr i64 %storemerge4.in to i8* %20 = load i8, i8* %storemerge4, align 1 %21 = icmp eq i8 %20, 32 store i8* %storemerge4, i8** %storemerge4.in.in.in.reg2mem br i1 %21, label LBL_8, label LBL_9 LBL_9: %22 = call i32 @strlen(i8* %storemerge4) %23 = add i32 %22, 1 %24 = call i64* @malloc(i32 %23) %25 = ptrtoint i64* %24 to i64 %26 = icmp eq i64* %24, null store i64 %25, i64* %sv_0.0.reg2mem br i1 %26, label LBL_25, label LBL_10 LBL_10: %27 = bitcast i64* %24 to i8* %28 = load i8, i8* %storemerge4, align 1 %29 = icmp eq i8 %28, 0 %30 = icmp eq i1 %29, false store i8 %28, i8* %.reg2mem16 store i8* %27, i8** %sv_1.18.reg2mem store i8* %storemerge4, i8** %sv_2.27.reg2mem store i8* %27, i8** %sv_1.1.lcssa.reg2mem br i1 %30, label LBL_12.preheader, label LBL_24 LBL_11: %31 = ptrtoint i8* %sv_2.0.reload to i64 %32 = add i64 %31, 1 %33 = inttoptr i64 %32 to i8* %.pre = load i8, i8* %33, align 1 store i8 %.pre, i8* %.reg2mem store i8* %33, i8** %sv_2.0.reg2mem br label LBL_12 LBL_12: %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem %.reload = load i8, i8* %.reg2mem %34 = sext i8 %.reload to i64 %35 = and i64 %34, 4294967295 %36 = call i64 @FUNC(i64 %35) %37 = trunc i64 %36 to i32 %38 = icmp eq i32 %37, 0 %39 = icmp eq i1 %38, false br i1 %39, label LBL_11, label LBL_13 LBL_13: %40 = load i8, i8* %sv_2.0.reload, align 1 %41 = sext i8 %40 to i64 %42 = and i64 %41, 4294967295 %43 = call i64 @FUNC(i64 %42) %44 = trunc i64 %43 to i32 %45 = icmp eq i32 %44, 0 %46 = icmp eq i1 %45, false br i1 %46, label LBL_11, label LBL_14 LBL_14: %47 = load i8, i8* %sv_2.0.reload, align 1 %48 = icmp eq i8 %47, 0 store i8* %sv_1.18.reload, i8** %sv_1.1.lcssa.reg2mem br i1 %48, label LBL_24, label LBL_15 LBL_15: %49 = bitcast i8* %sv_1.18.reload to i64* %50 = icmp eq i64* %24, %49 store i8 %47, i8* %.reg2mem14 store i8* %sv_2.0.reload, i8** %sv_2.1.reg2mem store i8* %sv_1.18.reload, i8** %sv_1.0.reg2mem br i1 %50, label LBL_19, label LBL_16 LBL_16: store i8 58, i8* %sv_1.18.reload, align 1 store i8* %sv_2.0.reload, i8** %sv_2.1.ph.reg2mem store i8* %sv_1.18.reload, i8** %sv_1.0.ph.in.in.in.reg2mem br label LBL_18 LBL_17: %51 = ptrtoint i8* %sv_2.1.reload to i64 %52 = add i64 %51, 1 %53 = inttoptr i64 %52 to i8* %54 = load i8, i8* %sv_2.1.reload, align 1 store i8 %54, i8* %sv_1.0.reload, align 1 store i8* %53, i8** %sv_2.1.ph.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.0.ph.in.in.in.reg2mem br label LBL_18 LBL_18: %sv_1.0.ph.in.in.in.reload = load i8*, i8** %sv_1.0.ph.in.in.in.reg2mem %sv_2.1.ph.reload = load i8*, i8** %sv_2.1.ph.reg2mem %sv_1.0.ph.in.in = ptrtoint i8* %sv_1.0.ph.in.in.in.reload to i64 %sv_1.0.ph.in = add i64 %sv_1.0.ph.in.in, 1 %sv_1.0.ph = inttoptr i64 %sv_1.0.ph.in to i8* %.pr = load i8, i8* %sv_2.1.ph.reload, align 1 store i8 %.pr, i8* %.reg2mem14 store i8* %sv_2.1.ph.reload, i8** %sv_2.1.reg2mem store i8* %sv_1.0.ph, i8** %sv_1.0.reg2mem br label LBL_19 LBL_19: %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem %sv_2.1.reload = load i8*, i8** %sv_2.1.reg2mem %.reload15 = load i8, i8* %.reg2mem14 %55 = icmp eq i8 %.reload15, 0 br i1 %55, label LBL_20, label LBL_21 LBL_20: %56 = load i8, i8* %sv_2.1.reload, align 1 %57 = icmp eq i8 %56, 0 %58 = icmp eq i1 %57, false store i8 %56, i8* %.reg2mem16 store i8* %sv_1.0.reload, i8** %sv_1.18.reg2mem store i8* %sv_2.1.reload, i8** %sv_2.27.reg2mem store i8* %sv_1.0.reload, i8** %sv_1.1.lcssa.reg2mem br i1 %58, label LBL_12.preheader, label LBL_24 LBL_21: %59 = sext i8 %.reload15 to i64 %60 = and i64 %59, 4294967295 %61 = call i64 @FUNC(i64 %60) %62 = trunc i64 %61 to i32 %63 = icmp eq i32 %62, 0 %64 = icmp eq i1 %63, false br i1 %64, label LBL_20, label LBL_22 LBL_22: %65 = load i8, i8* %sv_2.1.reload, align 1 %66 = sext i8 %65 to i64 %67 = and i64 %66, 4294967295 %68 = call i64 @FUNC(i64 %67) %69 = trunc i64 %68 to i32 %70 = icmp eq i32 %69, 0 br i1 %70, label LBL_17, label LBL_20 LBL_23: %sv_2.27.reload = load i8*, i8** %sv_2.27.reg2mem %sv_1.18.reload = load i8*, i8** %sv_1.18.reg2mem %.reload17 = load i8, i8* %.reg2mem16 store i8 %.reload17, i8* %.reg2mem store i8* %sv_2.27.reload, i8** %sv_2.0.reg2mem br label LBL_12 LBL_24: %sv_1.1.lcssa.reload = load i8*, i8** %sv_1.1.lcssa.reg2mem store i8 0, i8* %sv_1.1.lcssa.reload, align 1 store i64 %25, i64* %sv_0.0.reg2mem br label LBL_25 LBL_25: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %71 = call i32 @fclose(%_IO_FILE* nonnull %3) store i64 %sv_0.0.reload, i64* %storemerge.reg2mem br label LBL_26 LBL_26: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i8* %sv_1.18.reload, { 0, 1, 4, 2, 3 } uselistorder i8* %sv_2.1.reload, { 1, 0, 4, 3, 2 } uselistorder i8* %sv_2.0.reload, { 1, 0, 4, 3, 2 } uselistorder i8* %storemerge4, { 0, 3, 2, 1, 4 } uselistorder i8* %5, { 2, 1, 0 } uselistorder %_IO_FILE* %3, { 1, 2, 0, 3 } uselistorder i8** %storemerge5.reg2mem, { 0, 2, 1 } uselistorder i8** %storemerge4.in.in.in.reg2mem, { 2, 0, 1 } uselistorder i8* %.reg2mem, { 1, 0, 2 } uselistorder i8** %sv_2.0.reg2mem, { 1, 0, 2 } uselistorder i8* %.reg2mem14, { 0, 2, 1 } uselistorder i8** %sv_2.1.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 } uselistorder i8* %.reg2mem16, { 0, 2, 1 } uselistorder i8** %sv_1.18.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_2.27.reg2mem, { 0, 2, 1 } uselistorder i8** %sv_1.1.lcssa.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 } uselistorder i64 (i64)* @XcursorWhite, { 1, 0 } uselistorder i64 (i64)* @XcursorSep, { 1, 0 } uselistorder i8 0, { 2, 5, 3, 4, 0, 1 } uselistorder i8* null, { 1, 0 } uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 } uselistorder i32 8192, { 1, 0 } uselistorder i1 false, { 2, 5, 3, 4, 1, 7, 6, 0, 8 } uselistorder label LBL_26, { 1, 0, 2 } uselistorder label LBL_25, { 3, 2, 0, 1 } uselistorder label LBL_12.preheader, { 1, 0 } uselistorder label LBL_20, { 2, 1, 0 } uselistorder label LBL_18, { 1, 0 } uselistorder label LBL_8, { 1, 0 } uselistorder label LBL_7, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
0
BinRealVul
ofputil_encode_flow_monitor_cancel_9580
ofputil_encode_flow_monitor_cancel
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = trunc i64 %arg1 to i32 %1 = call i64 @FUNC(i64 2, i64 1, i64 0) %2 = call i64 @FUNC(i64 %1, i64 4) %3 = call i32 @htonl(i32 %0) %4 = inttoptr i64 %2 to i32* store i32 %3, i32* %4, align 4 ret i64 %1 }
0
BinRealVul
oom_badness_11294
oom_badness
define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg3 to i64 %1 = ptrtoint i32* %arg2 to i64 %2 = ptrtoint i64* %arg1 to i64 %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0) %4 = trunc i64 %3 to i32 %5 = icmp eq i32 %4, 0 store i64 0, i64* %rax.0.reg2mem br i1 %5, label LBL_1, label LBL_6 LBL_1: %6 = call i64 @FUNC(i64 %2) %7 = icmp eq i64 %6, 0 %8 = icmp eq i1 %7, false store i64 0, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_6 LBL_2: %9 = inttoptr i64 %6 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_4, label LBL_3 LBL_3: %14 = call i64 @FUNC(i64 %6) store i64 0, i64* %rax.0.reg2mem br label LBL_6 LBL_4: %15 = icmp eq i64 %arg4, 0 %16 = icmp eq i1 %15, false %spec.select = select i1 %16, i64 %arg4, i64 1 %17 = load i64, i64* %9, align 8 %18 = call i64 @FUNC(i64 %17) %19 = trunc i64 %18 to i32 %20 = load i64, i64* %9, align 8 %21 = add i64 %20, 4 %22 = inttoptr i64 %21 to i32* %23 = load i32, i32* %22, align 4 %24 = add i32 %23, %19 %25 = call i64 @FUNC(i64 %20, i64 0) %26 = trunc i64 %25 to i32 %27 = add i32 %24, %26 %28 = mul i32 %27, 1000 %29 = sext i32 %28 to i64 %30 = udiv i64 %29, %spec.select %31 = trunc i64 %30 to i32 %32 = call i64 @FUNC(i64 %6) %33 = call i64 @FUNC(i64 %6, i64 0) %34 = trunc i64 %33 to i32 %35 = icmp eq i32 %34, 0 %36 = add i32 %31, -30 %sv_0.0 = select i1 %35, i32 %31, i32 %36 %37 = add i64 %6, 8 %38 = inttoptr i64 %37 to i64* %39 = load i64, i64* %38, align 8 %40 = inttoptr i64 %39 to i32* %41 = load i32, i32* %40, align 4 %42 = add i32 %sv_0.0, %41 %43 = icmp eq i32 %42, 0 %44 = icmp slt i32 %42, 0 %45 = icmp eq i1 %44, false %46 = icmp eq i1 %43, false %47 = icmp eq i1 %45, %46 store i64 1, i64* %rax.0.reg2mem br i1 %47, label LBL_5, label LBL_6 LBL_5: %48 = add i32 %42, -1000 %49 = sub i32 999, %42 %50 = and i32 %49, %42 %51 = icmp slt i32 %50, 0 %52 = icmp eq i32 %48, 0 %53 = icmp slt i32 %48, 0 %54 = icmp eq i1 %53, %51 %55 = icmp eq i1 %52, false %56 = icmp eq i1 %54, %55 %57 = zext i32 %42 to i64 %58 = select i1 %56, i64 1000, i64 %57 store i64 %58, 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 %48, { 1, 0 } uselistorder i32 %42, { 2, 0, 3, 1, 5, 4 } uselistorder i64* %9, { 1, 0, 2 } uselistorder i64 %6, { 1, 3, 2, 0, 4, 5 } uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 } uselistorder i64 (i64)* @task_unlock, { 1, 0 } uselistorder i1 false, { 1, 2, 0, 3, 4 } uselistorder label LBL_6, { 3, 0, 4, 1, 2 } }
1
BinRealVul
check_tm_pred8x8_mode_2641
check_tm_pred8x8_mode
define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i32 %arg2, 0 %1 = icmp eq i1 %0, false %2 = icmp eq i32 %arg3, 0 br i1 %1, label LBL_3, label LBL_1 LBL_1: %3 = icmp eq i1 %2, false store i64 1, i64* %rax.0.reg2mem br i1 %3, label LBL_4, label LBL_2 LBL_2: %4 = icmp eq i32 %arg4, 0 %. = select i1 %4, i64 3, i64 2 store i64 %., i64* %rax.0.reg2mem br label LBL_4 LBL_3: %5 = and i64 %arg1, 4294967295 %.2 = select i1 %2, i64 4, i64 %5 store i64 %.2, 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, 1, 3, 2 } uselistorder label LBL_4, { 0, 2, 1 } }
0
BinRealVul
reada_start_machine_dev_18205
reada_start_machine_dev
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32 %storemerge.reg2mem = alloca i32 %.reg2mem3 = alloca i64 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_1 = alloca i64, align 8 %sv_2 = alloca i64, align 8 store i64 0, i64* %sv_2, align 8 store i64 0, i64* %sv_1, align 8 %2 = add i64 %1, 8 %3 = call i64 @FUNC(i64 %2) %4 = icmp eq i64* %arg2, null %5 = icmp eq i1 %4, false br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = call i64 @FUNC(i64 %0) %7 = trunc i64 %6 to i32 %8 = icmp eq i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_3: %11 = add i64 %0, 8 %12 = inttoptr i64 %11 to i64* %13 = load i64, i64* %12, align 8 %14 = udiv i64 %13, 4096 %15 = add i64 %0, 16 %16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_2, i64 %14, i64 1) %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = ptrtoint i64* %sv_2 to i64 %20 = load i64, i64* %sv_2, align 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp ugt i64 %22, %19 store i64 %22, i64* %.reg2mem br i1 %23, label LBL_5, label LBL_10 LBL_5: %24 = call i64 @FUNC(i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_6 LBL_6: %28 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_7: store i64 0, i64* %sv_2, align 8 %29 = load i64, i64* %12, align 8 %30 = udiv i64 %29, 4096 %31 = call i64 @FUNC(i64 %15, i64* nonnull %sv_2, i64 %30, i64 1) %32 = trunc i64 %31 to i32 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_7.LBL_10_crit_edge, label LBL_9 LBL_8: %.pre = load i64, i64* %sv_2, align 8 %.phi.trans.insert = inttoptr i64 %.pre to i64* %.pre1 = load i64, i64* %.phi.trans.insert, align 8 store i64 %.pre1, i64* %.reg2mem br label LBL_10 LBL_9: %35 = call i64 @FUNC(i64 %2) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_10: %.reload = load i64, i64* %.reg2mem %36 = add i64 %0, 24 %37 = inttoptr i64 %36 to i32* %38 = load i32, i32* %37, align 4 %39 = sext i32 %38 to i64 %40 = add i64 %.reload, %39 store i64 %40, i64* %12, align 8 %41 = load i64, i64* %sv_2, align 8 %42 = add i64 %41, 8 %43 = inttoptr i64 %42 to i32* %44 = load i32, i32* %43, align 4 %45 = add i32 %44, 1 store i32 %45, i32* %43, align 4 %46 = call i64 @FUNC(i64 %2) %47 = load i64, i64* %sv_2, align 8 %48 = add i64 %47, 52 %49 = call i64 @FUNC(i64 %48) %50 = load i64, i64* %sv_2, align 8 %51 = add i64 %50, 16 %52 = inttoptr i64 %51 to i64* %53 = load i64, i64* %52, align 8 %54 = icmp eq i64 %53, 0 %55 = icmp eq i1 %54, false store i64 %50, i64* %.reg2mem3 br i1 %55, label LBL_12, label LBL_11 LBL_11: %56 = add i64 %50, 24 %57 = call i64 @FUNC(i64 %56) %58 = trunc i64 %57 to i32 %59 = icmp eq i32 %58, 0 %60 = load i64, i64* %sv_2, align 8 store i64 %60, i64* %.reg2mem3 br i1 %59, label LBL_13, label LBL_12 LBL_12: %.reload4 = load i64, i64* %.reg2mem3 %61 = add i64 %.reload4, 52 %62 = call i64 @FUNC(i64 %61) %63 = load i64, i64* %sv_2, align 8 %64 = call i64 @FUNC(i64 %1, i64 %63) store i64 0, i64* %rax.0.reg2mem br label LBL_22 LBL_13: %65 = add i64 %60, 16 %66 = inttoptr i64 %65 to i64* store i64 %0, i64* %66, align 8 %67 = load i64, i64* %sv_2, align 8 %68 = add i64 %67, 52 %69 = call i64 @FUNC(i64 %68) %70 = load i64, i64* %sv_2, align 8 %71 = add i64 %70, 48 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = zext i32 %73 to i64 %75 = add i64 %70, 40 %76 = inttoptr i64 %75 to i64* store i32 0, i32* %storemerge.reg2mem br label LBL_15 LBL_14: %77 = load i64, i64* %76, align 8 %78 = mul i64 %88, 8 %79 = add i64 %77, %78 %80 = inttoptr i64 %79 to i64* %81 = load i64, i64* %80, align 8 %82 = add i64 %81, 8 %83 = inttoptr i64 %82 to i64* %84 = load i64, i64* %83, align 8 %85 = icmp eq i64 %84, %0 %86 = icmp eq i1 %85, false %87 = add i32 %storemerge.reload, 1 store i32 %87, i32* %storemerge.reg2mem store i32 %87, i32* %sv_0.0.reg2mem br i1 %86, label LBL_15, label LBL_16 LBL_15: %storemerge.reload = load i32, i32* %storemerge.reg2mem %88 = sext i32 %storemerge.reload to i64 %89 = icmp slt i64 %88, %74 store i32 0, i32* %sv_0.0.reg2mem br i1 %89, label LBL_14, label LBL_16 LBL_16: %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem %90 = inttoptr i64 %70 to i64* %91 = load i64, i64* %90, align 8 %92 = call i64 @FUNC(i64 %1, i64 %70) %93 = call i64 @FUNC(i64 %15) %94 = inttoptr i64 %2 to i64* %95 = load i64, i64* %94, align 8 %96 = call i64 @FUNC(i64 %95, i64 %91, i32 %sv_0.0.reload, i64* nonnull %sv_1) %97 = trunc i64 %96 to i32 %98 = icmp eq i32 %97, 0 br i1 %98, label LBL_18, label LBL_17 LBL_17: %99 = load i64, i64* %94, align 8 %100 = call i64 @FUNC(i64 %99, i64 0, i64 %91, i32 %97) br label LBL_20 LBL_18: %101 = load i64, i64* %sv_1, align 8 %102 = icmp eq i64 %101, 0 store i64 1, i64* %rax.0.reg2mem br i1 %102, label LBL_22, label LBL_19 LBL_19: %103 = inttoptr i64 %101 to i64* %104 = load i64, i64* %103, align 8 %105 = load i64, i64* %94, align 8 %106 = call i64 @FUNC(i64 %105, i64 %101, i64 %104, i32 0) br label LBL_20 LBL_20: %.pr = load i64, i64* %sv_1, align 8 %107 = icmp eq i64 %.pr, 0 store i64 1, i64* %rax.0.reg2mem br i1 %107, label LBL_22, label LBL_21 LBL_21: %108 = call i64 @FUNC(i64 %.pr) store i64 1, i64* %rax.0.reg2mem br label LBL_22 LBL_22: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %.pr, { 1, 0 } uselistorder i64 %101, { 1, 0, 2 } uselistorder i64* %94, { 1, 0, 2 } uselistorder i64 %88, { 1, 0 } uselistorder i64 %70, { 1, 0, 2, 3 } uselistorder i64 %60, { 1, 0 } uselistorder i64 %50, { 1, 0, 2 } uselistorder i64 %2, { 2, 3, 1, 4, 0, 5 } uselistorder i64* %sv_2, { 3, 4, 6, 5, 7, 8, 9, 0, 1, 10, 11, 12, 2, 13 } uselistorder i64* %sv_1, { 0, 2, 1, 3 } uselistorder i64 %0, { 1, 3, 0, 4, 6, 5, 2 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 7, 6, 5, 4 } uselistorder i64 (i64, i64, i64, i32)* @__readahead_hook, { 1, 0 } uselistorder i64 (i64, i64)* @reada_extent_put, { 1, 0 } uselistorder i64 24, { 1, 0 } uselistorder i64 (i64, i64*, i64, i64)* @radix_tree_gang_lookup, { 1, 0 } uselistorder i64 1, { 2, 1, 0, 4, 5, 3 } uselistorder i64 (i64)* @spin_unlock, { 5, 4, 3, 2, 1, 0 } uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6, 7, 8 } uselistorder i64 (i64)* @reada_pick_zone, { 1, 0 } uselistorder i64 (i64)* @spin_lock, { 1, 0 } uselistorder i64 8, { 1, 0, 2, 3, 4 } uselistorder label LBL_22, { 2, 1, 0, 3, 4, 5, 6 } uselistorder label LBL_16, { 1, 0 } }
1
BinRealVul
close_all_sockets_12577
close_all_sockets
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge3.reg2mem = alloca i64 %storemerge26.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %storemerge25 = load i64, i64* @gv_1, align 8 %2 = icmp eq i64 %storemerge25, ptrtoint (i64* @gv_1 to i64) %3 = icmp eq i1 %2, false store i64 %storemerge25, i64* %storemerge26.reg2mem br i1 %3, label LBL_1, label LBL_7 LBL_1: %storemerge26.reload = load i64, i64* %storemerge26.reg2mem store i64 %storemerge26.reload, i64* %storemerge3.reg2mem br label LBL_2 LBL_2: %storemerge3.reload = load i64, i64* %storemerge3.reg2mem %4 = add i64 %storemerge3.reload, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = icmp eq i64 %6, %0 br i1 %7, label LBL_5, label LBL_3 LBL_3: %8 = add i64 %storemerge3.reload, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_6, label LBL_4 LBL_4: %12 = add i64 %10, 8 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = icmp eq i64 %14, %0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_6, label LBL_5 LBL_5: %17 = call i64 @FUNC(i64 %storemerge3.reload) %storemerge2 = load i64, i64* @gv_1, align 8 %18 = icmp eq i64 %storemerge2, ptrtoint (i64* @gv_1 to i64) %19 = icmp eq i1 %18, false store i64 %storemerge2, i64* %storemerge26.reg2mem br i1 %19, label LBL_1, label LBL_7 LBL_6: %20 = inttoptr i64 %storemerge3.reload to i64* %storemerge = load i64, i64* %20, align 8 %21 = icmp eq i64 %storemerge, ptrtoint (i64* @gv_1 to i64) %22 = icmp eq i1 %21, false store i64 %storemerge, i64* %storemerge3.reg2mem br i1 %22, label LBL_2, label LBL_7 LBL_7: %23 = call i64 @FUNC(i64* nonnull @gv_0) ret i64 %23 uselistorder i64 %storemerge3.reload, { 2, 3, 0, 1 } uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 } uselistorder i1 false, { 3, 1, 2, 0 } uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 2, 1, 0 } uselistorder i64* @gv_1, { 1, 2, 0 } uselistorder label LBL_7, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
hook_build_update_17647
hook_build_update
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, i64 %1, i64 %0) %3 = icmp eq i64* %arg1, null %4 = icmp eq i1 %3, false store i64 %1, i64* %storemerge1.reg2mem br i1 %4, label LBL_1, label LBL_2 LBL_1: %storemerge1.reload = load i64, i64* %storemerge1.reg2mem %5 = call i64 @FUNC(i64 %1, i64 %storemerge1.reload) %6 = inttoptr i64 %storemerge1.reload to i64* %7 = load i64, i64* %6, align 8 %8 = icmp eq i64 %7, 0 %9 = icmp eq i1 %8, false store i64 %7, i64* %storemerge1.reg2mem br i1 %9, label LBL_1, label LBL_2 LBL_2: %10 = call i64 @FUNC(i64 %1, i64 %0) ret i64 %10 uselistorder i64 %storemerge1.reload, { 1, 0 } uselistorder i64 %1, { 1, 2, 0, 4, 3 } uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder label LBL_1, { 1, 0 } }
1
BinRealVul
err_html_struct_7829
err_html_struct
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %sv_0.0.reg2mem = alloca i64 %storemerge322.reg2mem = alloca i64 %sv_1.2.reg2mem = alloca i64 %storemerge225.reg2mem = alloca i64 %sv_1.1.reg2mem = alloca i64 %storemerge19.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i64 %sv_2.0.reg2mem = alloca i64 %sv_3.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = icmp eq i64* %arg1, null store i64 0, i64* %sv_3.0.reg2mem store i64 0, i64* %sv_2.0.reg2mem br i1 %1, label LBL_4, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64 2) %3 = load i32, i32* @gv_0, align 4 %4 = icmp eq i32 %3, 1 br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = call i64 @FUNC(i64 %0, i64 3) store i64 %2, i64* %sv_3.0.reg2mem store i64 %5, i64* %sv_2.0.reg2mem br label LBL_4 LBL_3: %6 = call i64 @FUNC(i64 %0, i64 4) store i64 %2, i64* %sv_3.0.reg2mem store i64 %6, i64* %sv_2.0.reg2mem br label LBL_4 LBL_4: %sext = mul i64 %arg2, 4294967296 %7 = ashr exact i64 %sext, 32 %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 2 br i1 %9, label LBL_6, label LBL_5 LBL_5: %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem %10 = icmp sgt i32 %8, 1 %11 = add i32 %8, -3 %12 = icmp ult i32 %11, 2 %or.cond6 = icmp eq i1 %10, %12 br i1 %or.cond6, label LBL_8, label LBL_16 LBL_6: %13 = icmp eq i1 %1, false store i64 0, i64* %sv_0.0.reg2mem br i1 %13, label LBL_40, label LBL_7 LBL_7: %14 = call i64 @FUNC(i64 1, i64 0, i64 0) store i64 %14, i64* @gv_1, align 8 %15 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %16 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0)) store i64 1, i64* %sv_0.0.reg2mem br label LBL_40 LBL_8: %17 = icmp ne i64* %arg1, null %18 = icmp eq i64 %sv_3.0.reload, 0 %19 = icmp eq i1 %18, false %or.cond8 = icmp eq i1 %17, %19 store i64 0, i64* %sv_0.0.reg2mem br i1 %or.cond8, label LBL_40, label LBL_9 LBL_9: %20 = icmp eq i1 %1, false store i64 %0, i64* %sv_1.0.reg2mem br i1 %20, label LBL_11, label LBL_10 LBL_10: %21 = call i64 @FUNC(i64 1, i64 0, i64 0) store i64 %21, i64* %sv_1.0.reg2mem br label LBL_11 LBL_11: %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem br i1 %19, label LBL_13, label LBL_12 LBL_12: store i64 %sv_1.0.reload, i64* @gv_1, align 8 %22 = call i64 @FUNC(i64 2, i64 0, i64 0) %23 = call i64 @FUNC(i64 5, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 4) %24 = call i64 @FUNC(i64 %23) %25 = call i64 @FUNC(i64 %22) br label LBL_13 LBL_13: %storemerge17 = load i64, i64* @gv_1, align 8 %26 = icmp ne i64 %storemerge17, 0 %27 = icmp eq i64 %storemerge17, %sv_1.0.reload %28 = icmp eq i1 %27, false %or.cond1018 = icmp eq i1 %26, %28 store i64 %storemerge17, i64* %storemerge19.reg2mem br i1 %or.cond1018, label LBL_14, label LBL_15 LBL_14: %storemerge19.reload = load i64, i64* %storemerge19.reg2mem %29 = call i64 @FUNC(i64 %storemerge19.reload) %30 = inttoptr i64 %storemerge19.reload to i64* %storemerge = load i64, i64* %30, align 8 %31 = icmp ne i64 %storemerge, 0 %32 = icmp eq i64 %storemerge, %sv_1.0.reload %33 = icmp eq i1 %32, false %or.cond10 = icmp eq i1 %31, %33 store i64 %storemerge, i64* %storemerge19.reg2mem br i1 %or.cond10, label LBL_14, label LBL_15 LBL_15: store i64 %sv_1.0.reload, i64* @gv_1, align 8 %34 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %35 = call i32 @puts(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_5, i64 0, i64 0)) store i64 1, i64* %sv_0.0.reg2mem br label LBL_40 LBL_16: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %36 = or i64 %sv_2.0.reload, %sv_3.0.reload %37 = icmp eq i64 %36, 0 br i1 %37, label LBL_17, label LBL_21 LBL_17: %38 = load i32, i32* @gv_0, align 4 %39 = and i64 %7, 4294967295 %40 = call i64 @FUNC(i64 %39, i64 2, i32 %38) %41 = trunc i64 %40 to i32 %42 = icmp eq i32 %41, 0 br i1 %42, label LBL_21, label LBL_18 LBL_18: %43 = icmp eq i1 %1, false br i1 %43, label LBL_20, label LBL_19 LBL_19: %44 = call i64 @FUNC(i64 1, i64 0, i64 0) br label LBL_20 LBL_20: %45 = call i64 @FUNC(i64 2, i64 0, i64 0) %46 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %47 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0)) store i64 1, i64* %sv_0.0.reg2mem br label LBL_40 LBL_21: %48 = icmp eq i64 %sv_3.0.reload, 0 %49 = icmp eq i1 %48, false %50 = icmp eq i64 %sv_2.0.reload, 0 %51 = icmp eq i1 %50, false %52 = load i32, i32* @gv_0, align 4 %53 = icmp eq i32 %52, 1 %or.cond = or i1 %51, %53 br i1 %or.cond, label LBL_30, label LBL_22 LBL_22: %54 = and i64 %7, 4294967295 %55 = call i64 @FUNC(i64 %54, i64 3, i32 %52) %56 = trunc i64 %55 to i32 %57 = icmp eq i32 %56, 0 br i1 %57, label LBL_30, label LBL_23 LBL_23: %58 = icmp eq i1 %1, false store i64 %0, i64* %sv_1.1.reg2mem br i1 %58, label LBL_25, label LBL_24 LBL_24: %59 = call i64 @FUNC(i64 1, i64 0, i64 0) store i64 %59, i64* %sv_1.1.reg2mem br label LBL_25 LBL_25: %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem br i1 %49, label LBL_27, label LBL_26 LBL_26: %60 = call i64 @FUNC(i64 2, i64 0, i64 0) %61 = call i64 @FUNC(i64 5, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 4) %62 = call i64 @FUNC(i64 %61) %63 = call i64 @FUNC(i64 %60) br label LBL_27 LBL_27: %storemerge223 = load i64, i64* @gv_1, align 8 %64 = icmp ne i64 %storemerge223, 0 %65 = icmp eq i64 %storemerge223, %sv_1.1.reload %66 = icmp eq i1 %65, false %or.cond1424 = icmp eq i1 %64, %66 store i64 %storemerge223, i64* %storemerge225.reg2mem br i1 %or.cond1424, label LBL_28, label LBL_29 LBL_28: %storemerge225.reload = load i64, i64* %storemerge225.reg2mem %67 = call i64 @FUNC(i64 %storemerge225.reload) %68 = inttoptr i64 %storemerge225.reload to i64* %storemerge2 = load i64, i64* %68, align 8 %69 = icmp ne i64 %storemerge2, 0 %70 = icmp eq i64 %storemerge2, %sv_1.1.reload %71 = icmp eq i1 %70, false %or.cond14 = icmp eq i1 %69, %71 store i64 %storemerge2, i64* %storemerge225.reg2mem br i1 %or.cond14, label LBL_28, label LBL_29 LBL_29: store i64 %sv_1.1.reload, i64* @gv_1, align 8 %72 = call i64 @FUNC(i64 3, i64 0, i64 0) %73 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %74 = call i32 @puts(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_7, i64 0, i64 0)) store i64 1, i64* %sv_0.0.reg2mem br label LBL_40 LBL_30: store i64 0, i64* %sv_0.0.reg2mem br i1 %51, label LBL_40, label LBL_31 LBL_31: %75 = load i32, i32* @gv_0, align 4 %76 = icmp eq i32 %75, 1 %77 = icmp eq i1 %76, false store i64 0, i64* %sv_0.0.reg2mem br i1 %77, label LBL_40, label LBL_32 LBL_32: %78 = and i64 %7, 4294967295 %79 = call i64 @FUNC(i64 %78, i64 4, i32 %75) %80 = trunc i64 %79 to i32 %81 = icmp eq i32 %80, 0 store i64 0, i64* %sv_0.0.reg2mem br i1 %81, label LBL_40, label LBL_33 LBL_33: %82 = icmp eq i1 %1, false store i64 %0, i64* %sv_1.2.reg2mem br i1 %82, label LBL_35, label LBL_34 LBL_34: %83 = call i64 @FUNC(i64 1, i64 0, i64 0) store i64 %83, i64* %sv_1.2.reg2mem br label LBL_35 LBL_35: %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem br i1 %49, label LBL_37, label LBL_36 LBL_36: %84 = call i64 @FUNC(i64 2, i64 0, i64 0) %85 = call i64 @FUNC(i64 5, i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 4) %86 = call i64 @FUNC(i64 %85) %87 = call i64 @FUNC(i64 %84) br label LBL_37 LBL_37: %storemerge320 = load i64, i64* @gv_1, align 8 %88 = icmp ne i64 %storemerge320, 0 %89 = icmp eq i64 %storemerge320, %sv_1.2.reload %90 = icmp eq i1 %89, false %or.cond1621 = icmp eq i1 %88, %90 store i64 %storemerge320, i64* %storemerge322.reg2mem br i1 %or.cond1621, label LBL_38, label LBL_39 LBL_38: %storemerge322.reload = load i64, i64* %storemerge322.reg2mem %91 = call i64 @FUNC(i64 %storemerge322.reload) %92 = inttoptr i64 %storemerge322.reload to i64* %storemerge3 = load i64, i64* %92, align 8 %93 = icmp ne i64 %storemerge3, 0 %94 = icmp eq i64 %storemerge3, %sv_1.2.reload %95 = icmp eq i1 %94, false %or.cond16 = icmp eq i1 %93, %95 store i64 %storemerge3, i64* %storemerge322.reg2mem br i1 %or.cond16, label LBL_38, label LBL_39 LBL_39: store i64 %sv_1.2.reload, i64* @gv_1, align 8 %96 = call i64 @FUNC(i64 4, i64 0, i64 0) %97 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0)) %98 = call i32 @puts(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_8, i64 0, i64 0)) store i64 1, i64* %sv_0.0.reg2mem br label LBL_40 LBL_40: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem ret i64 %sv_0.0.reload uselistorder i64 %storemerge322.reload, { 1, 0 } uselistorder i64 %storemerge225.reload, { 1, 0 } uselistorder i1 %49, { 1, 0 } uselistorder i64 %storemerge19.reload, { 1, 0 } uselistorder i64 %sv_1.0.reload, { 0, 2, 3, 1 } uselistorder i1 %19, { 1, 0 } uselistorder i64 %sv_3.0.reload, { 0, 2, 1 } uselistorder i32 %8, { 1, 0, 2 } uselistorder i64 %7, { 2, 1, 0, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i1 %1, { 2, 1, 0, 3, 4, 5 } uselistorder i64* %sv_3.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64* %storemerge19.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge225.reg2mem, { 2, 0, 1 } uselistorder i64* %storemerge322.reg2mem, { 2, 0, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 6, 7, 8, 4, 3, 2, 1, 9, 10 } uselistorder i64 (i64, i64, i32)* @dtd_can_be_child, { 2, 1, 0 } uselistorder i64 (i64)* @elm_close, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 (i8*)* @puts, { 1, 0, 7, 6, 5, 4, 3, 2, 9, 8 } uselistorder i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), { 1, 2, 3, 4, 0 } uselistorder i64* @gv_1, { 3, 1, 4, 0, 5, 2, 6, 7 } uselistorder i64 (i64, i64, i64)* @err_aux_insert_elm, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i64 1, { 3, 6, 2, 7, 1, 8, 0, 9, 4, 10, 5 } uselistorder i1 false, { 3, 1, 8, 9, 4, 0, 10, 5, 12, 11, 6, 2, 13, 7, 14 } uselistorder i32 0, { 1, 2, 3, 0 } uselistorder i32* @gv_0, { 3, 0, 2, 1 } uselistorder i64 (i64, i64)* @tree_search_elm_child, { 2, 1, 0 } uselistorder label LBL_40, { 2, 3, 4, 5, 6, 7, 8, 0, 9, 1 } uselistorder label LBL_38, { 1, 0 } uselistorder label LBL_28, { 1, 0 } uselistorder label LBL_21, { 1, 0 } uselistorder label LBL_14, { 1, 0 } }
1
BinRealVul
oz_hcd_clear_orphanage_7946
oz_hcd_clear_orphanage
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %storemerge236.reg2mem = alloca i64 %.reg2mem8 = alloca i64 %.reg2mem = alloca i64 %0 = icmp eq i64 %arg1, 0 br i1 %0, label LBL_3, label LBL_1 LBL_1: %1 = add i64 %arg1, 8 %2 = inttoptr i64 %1 to i64* %3 = trunc i64 %arg2 to i32 %4 = load i64, i64* %2, align 8 %5 = icmp eq i64 %4, 0 %6 = icmp eq i1 %5, false store i64 %4, i64* %.reg2mem store i64 %1, i64* %.reg2mem8 store i64 %arg1, i64* %storemerge236.reg2mem store i64 %4, i64* %rax.0.reg2mem br i1 %6, label LBL_2, label LBL_3 LBL_2: %storemerge236.reload = load i64, i64* %storemerge236.reg2mem %.reload9 = load i64, i64* %.reg2mem8 %.reload = load i64, i64* %.reg2mem %7 = call i64 @FUNC(i64 %.reload9) %8 = inttoptr i64 %storemerge236.reload to i64* %9 = load i64, i64* %8, align 8 %10 = load i64, i64* %2, align 8 %11 = call i64 @FUNC(i64 %10, i64 %9, i32 %3) %12 = call i64 @FUNC(i64 %storemerge236.reload) %13 = add i64 %.reload, 8 %14 = inttoptr i64 %13 to i64* %15 = load i64, i64* %14, align 8 %16 = icmp eq i64 %15, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %.reg2mem store i64 %13, i64* %.reg2mem8 store i64 %.reload, i64* %storemerge236.reg2mem store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_2, label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %storemerge236.reload, { 1, 0 } uselistorder i64* %2, { 1, 0 } uselistorder i64* %.reg2mem, { 2, 0, 1 } uselistorder i64* %.reg2mem8, { 2, 0, 1 } uselistorder i64* %storemerge236.reg2mem, { 2, 0, 1 } uselistorder i1 false, { 1, 0 } uselistorder i64 8, { 1, 0 } uselistorder i32 1, { 5, 4, 3, 2, 1, 0 } uselistorder label LBL_3, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
dvb_ca_en50221_release_13213
dvb_ca_en50221_release
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = load i64, i64* %0 %6 = ptrtoint i64* %arg1 to i64 %7 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1) %8 = add i64 %6, 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = call i64 @FUNC(i64 %10) %12 = trunc i64 %3 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label LBL_3, label LBL_1 LBL_1: %14 = and i64 %3, 4294967295 store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %15 = zext i32 %storemerge1.reload to i64 %16 = call i64 @FUNC(i64 %6, i64 %15) %17 = add i32 %storemerge1.reload, 1 %18 = sext i32 %17 to i64 %19 = icmp sgt i64 %14, %18 store i32 %17, i32* %storemerge1.reg2mem br i1 %19, label LBL_2, label LBL_3 LBL_3: %20 = add i64 %6, 16 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = call i64 @FUNC(i64 %22) %24 = call i64 @FUNC(i64 %6) store i64 0, i64* %arg1, align 8 ret i64 %6 uselistorder i32 %storemerge1.reload, { 1, 0 } uselistorder i64 %6, { 0, 2, 1, 3, 4 } uselistorder i64 %3, { 1, 0 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder i64* %0, { 4, 3, 2, 1, 0 } uselistorder label LBL_2, { 1, 0 } }
1
BinRealVul
_FVMenuClose_11936
_FVMenuClose
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.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 = call i64 @FUNC(i64 %3) %5 = trunc i64 %4 to i8 %6 = icmp eq i8 %5, 1 store i64 0, i64* %rax.0.reg2mem br i1 %6, label LBL_1, label LBL_13 LBL_1: %7 = icmp eq i64* %arg1, null %. = select i1 %7, i64 %3, i64 %0 %8 = add i64 %0, 16 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_8, label LBL_2 LBL_2: %13 = load i64, i64* %2, align 8 %14 = add i64 %13, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = icmp eq i64 %16, %0 %18 = icmp eq i1 %17, false br i1 %18, label LBL_8, label LBL_3 LBL_3: %19 = call i64 @FUNC(i64 %.) %20 = trunc i64 %19 to i8 %21 = icmp eq i8 %20, 0 br i1 %21, label LBL_8, label LBL_4 LBL_4: %22 = load i64, i64* %2, align 8 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %23 to i32 %25 = icmp eq i32 %24, 2 %26 = icmp eq i1 %25, false store i64 0, i64* %rax.0.reg2mem br i1 %26, label LBL_5, label LBL_13 LBL_5: %27 = icmp eq i32 %24, 0 %28 = icmp eq i1 %27, false br i1 %28, label LBL_7, label LBL_6 LBL_6: %29 = call i64 @FUNC(i64 %0) %30 = trunc i64 %29 to i8 %31 = icmp eq i8 %30, 1 store i64 0, i64* %rax.0.reg2mem br i1 %31, label LBL_7, label LBL_13 LBL_7: %32 = call i64 @FUNC(i64 %.) br label LBL_8 LBL_8: %33 = call i64 @FUNC(i64 %0) %34 = inttoptr i64 %. to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = call i64 @FUNC(i64 %35) br label LBL_12 LBL_10: %38 = add i64 %., 8 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %40, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = call i64 @FUNC(i64 %40) br label LBL_12 LBL_12: %43 = add i64 %0, 24 %44 = inttoptr i64 %43 to i64* %45 = load i64, i64* %44, align 8 %46 = call i64 @FUNC(i64 %45) store i64 1, i64* %rax.0.reg2mem br label LBL_13 LBL_13: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %., { 0, 1, 3, 2 } uselistorder i64 %3, { 1, 0 } uselistorder i64 %0, { 2, 3, 1, 5, 4, 0, 6 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 } uselistorder i64 (i64)* @RecentFilesRemember, { 1, 0 } uselistorder label LBL_13, { 3, 0, 1, 2 } }
1
reposvul_c_test
anetUnixGenericConnect_316
anetUnixGenericConnect
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %sv_1 = alloca i16, align 2 %4 = call i64 @FUNC(i64 %3, i64 1) %5 = trunc i64 %4 to i32 %6 = icmp eq i32 %5, -1 %7 = icmp eq i1 %6, false store i64 4294967295, i64* %rax.0.shrunk.reg2mem br i1 %7, label LBL_1, label LBL_7 LBL_1: store i16 1, i16* %sv_1, align 2 %8 = ptrtoint i8* %arg2 to i64 %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8, i64 108) %10 = urem i64 %arg3, 2 %11 = icmp eq i64 %10, 0 br i1 %11, label LBL_4, label LBL_2 LBL_2: %12 = and i64 %4, 4294967295 %13 = call i64 @FUNC(i64 %3, i64 %12) %14 = trunc i64 %13 to i32 %15 = icmp eq i32 %14, 0 br i1 %15, label LBL_4, label LBL_3 LBL_3: %16 = call i32 @close(i32 %5) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_4: %17 = bitcast i16* %sv_1 to %sockaddr* %18 = call i32 @connect(i32 %5, %sockaddr* nonnull %17, i32 110) %19 = icmp eq i32 %18, -1 %20 = icmp eq i1 %19, false store i64 %4, i64* %rax.0.shrunk.reg2mem br i1 %20, label LBL_7, label LBL_5 LBL_5: %21 = call i32* @__errno_location() %22 = load i32, i32* %21, align 4 %23 = icmp eq i32 %22, 115 %24 = icmp eq i1 %23, false %or.cond = or i1 %11, %24 store i64 %4, i64* %rax.0.shrunk.reg2mem br i1 %or.cond, label LBL_6, label LBL_7 LBL_6: %25 = ptrtoint i16* %sv_1 to i64 %26 = call i32* @__errno_location() %27 = load i32, i32* %26, align 4 %28 = call i8* @strerror(i32 %27) %29 = ptrtoint i8* %28 to i64 %30 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %29, i64 %25, i64 %2, i64 %1) %31 = call i32 @close(i32 %5) store i64 4294967295, i64* %rax.0.shrunk.reg2mem br label LBL_7 LBL_7: %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 %5, { 1, 2, 0, 3 } uselistorder i64 %4, { 1, 0, 2, 3 } uselistorder i16* %sv_1, { 1, 0, 2 } uselistorder i64 %3, { 1, 0, 2 } uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 2, 1, 4, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32 (i32)* @close, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder label LBL_7, { 3, 1, 0, 4, 2 } }
1
BinRealVul
append_flv_data_18785
append_flv_data
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge.reg2mem = alloca i64 %rsi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg2 to i64 %3 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %4 = add i64 %2, 16 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i64 %2, 4 %11 = inttoptr i64 %10 to i32* %12 = load i32, i32* %11, align 4 %13 = trunc i64 %1 to i8 %14 = icmp eq i8 %13, 8 %15 = icmp eq i1 %14, false br i1 %15, label LBL_2, label LBL_1 LBL_1: %16 = bitcast i64* %arg1 to i32* store i32 1, i32* %16, align 4 br label LBL_4 LBL_2: %17 = icmp eq i8 %13, 9 %18 = icmp eq i1 %17, false br i1 %18, label LBL_4, label LBL_3 LBL_3: %19 = add i64 %3, 4 %20 = inttoptr i64 %19 to i32* store i32 1, i32* %20, align 4 br label LBL_4 LBL_4: %21 = trunc i64 %arg3 to i32 %22 = sub i32 %9, %21 %23 = add i32 %22, 15 %24 = zext i32 %23 to i64 %25 = call i64 @FUNC(i64 %3, i64 %24) %26 = add i64 %3, 16 %27 = inttoptr i64 %26 to i32* %28 = load i32, i32* %27, align 4 %29 = add i64 %3, 8 %30 = zext i32 %28 to i64 %31 = call i64 @FUNC(i64 %29, i64 %30) %32 = trunc i64 %31 to i32 %33 = icmp slt i32 %32, 0 %34 = icmp eq i1 %33, false br i1 %34, label LBL_6, label LBL_5 LBL_5: %35 = add i64 %3, 20 %36 = inttoptr i64 %35 to i32* store i32 0, i32* %36, align 4 store i32 0, i32* %27, align 4 %37 = and i64 %31, 4294967295 store i64 %37, i64* %storemerge.reg2mem br label LBL_7 LBL_6: %sext = mul i64 %arg3, 4294967296 %38 = ashr exact i64 %sext, 32 %39 = add i64 %6, %38 %40 = bitcast i64* %rsi to i8* %41 = load i32, i32* %27, align 4 %42 = inttoptr i64 %29 to i64* %43 = load i64, i64* %42, align 8 %44 = call i64 @FUNC(i64* nonnull %sv_0, i64 %43, i32 %41) %45 = and i64 %25, 4294967295 %46 = call i64 @FUNC(i64* nonnull %sv_0, i64 %45) %47 = load i8, i8* %40, align 8 %48 = zext i8 %47 to i64 %49 = call i64 @FUNC(i64* nonnull %sv_0, i64 %48) %50 = zext i32 %22 to i64 %51 = call i64 @FUNC(i64* nonnull %sv_0, i64 %50) %52 = zext i32 %12 to i64 %53 = call i64 @FUNC(i64* nonnull %sv_0, i64 %52) %54 = udiv i32 %12, 16777216 %55 = zext i32 %54 to i64 %56 = call i64 @FUNC(i64* nonnull %sv_0, i64 %55) %57 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) %58 = call i64 @FUNC(i64* nonnull %sv_0, i64 %39, i32 %22) %59 = call i64 @FUNC(i64* nonnull %sv_0, i64 0) store i64 0, i64* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i32* %27, { 1, 0, 2 } uselistorder i8 %13, { 1, 0 } uselistorder i64 %3, { 1, 2, 4, 3, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i64 (i64*, i64)* @bytestream2_put_be24, { 2, 1, 0 } uselistorder i64 (i64*, i64)* @bytestream2_put_byte, { 1, 0 } uselistorder i32 0, { 2, 3, 4, 0, 1, 5 } }
1
BinRealVul
mv88w8618_eth_init_242
mv88w8618_eth_init
define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0)) %2 = call i64 @FUNC(i64 24) %3 = inttoptr i64 %2 to i64* store i64 %arg3, i64* %3, align 8 %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %0, 16 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = call i64 @FUNC(i64 %9, i64 24, i64 %6, i64 4198839, i64 4198846, i64 4198857) %11 = add i64 %2, 8 %12 = inttoptr i64 %11 to i64* store i64 %10, i64* %12, align 8 %13 = call i64 @FUNC(i64 0, i64 4198817, i64 4198828, i64 %2) %14 = trunc i64 %13 to i32 %15 = add i64 %2, 16 %16 = inttoptr i64 %15 to i32* store i32 %14, i32* %16, align 4 %17 = and i64 %arg2, 4294967295 %18 = call i64 @FUNC(i64 %17, i64 4096, i32 %14) ret i64 %18 }
0
BinRealVul
get_varp_scope_10635
get_varp_scope
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = ptrtoint i64* %arg1 to i64 %3 = urem i64 %arg2, 2 %4 = icmp eq i64 %3, 0 %5 = trunc i64 %1 to i32 %6 = icmp eq i32 %5, 0 %or.cond = or i1 %4, %6 br i1 %or.cond, label LBL_3, label LBL_1 LBL_1: %7 = add i64 %2, 8 %8 = inttoptr i64 %7 to i64* %9 = load i64, i64* %8, align 8 %10 = icmp eq i64 %9, 1 %11 = icmp eq i1 %10, false store i64 %9, i64* %rax.0.reg2mem br i1 %11, label LBL_23, label LBL_2 LBL_2: %12 = call i64 @FUNC(i64 %2) store i64 %12, i64* %rax.0.reg2mem br label LBL_23 LBL_3: %13 = and i64 %arg2, 2 %14 = icmp eq i64 %13, 0 %15 = urem i32 %5, 4 %16 = icmp eq i32 %15, 0 %or.cond3 = or i1 %14, %16 br i1 %or.cond3, label LBL_22, label LBL_4 LBL_4: %17 = add i64 %1, 4294967292 %18 = and i64 %17, 4294967295 store i64 %18, i64* @0, align 8 store i64 0, i64* %rax.0.reg2mem switch i32 %5, label LBL_23 [ i32 4, label LBL_5 i32 5, label LBL_6 i32 6, label LBL_7 i32 7, label LBL_8 i32 8, label LBL_9 i32 9, label LBL_10 i32 10, label LBL_11 i32 11, label LBL_12 i32 12, label LBL_13 i32 13, label LBL_14 i32 14, label LBL_15 i32 15, label LBL_16 i32 16, label LBL_17 i32 17, label LBL_18 i32 18, label LBL_19 i32 19, label LBL_20 i32 20, label LBL_21 ] LBL_5: %19 = load i64, i64* @gv_0, align 8 store i64 %19, i64* %rax.0.reg2mem br label LBL_23 LBL_6: %20 = load i64, i64* @gv_0, align 8 %21 = add i64 %20, 8 store i64 %21, i64* %rax.0.reg2mem br label LBL_23 LBL_7: %22 = load i64, i64* @gv_0, align 8 %23 = add i64 %22, 16 store i64 %23, i64* %rax.0.reg2mem br label LBL_23 LBL_8: %24 = load i64, i64* @gv_0, align 8 %25 = add i64 %24, 24 store i64 %25, i64* %rax.0.reg2mem br label LBL_23 LBL_9: %26 = load i64, i64* @gv_0, align 8 %27 = add i64 %26, 32 store i64 %27, i64* %rax.0.reg2mem br label LBL_23 LBL_10: %28 = load i64, i64* @gv_0, align 8 %29 = add i64 %28, 40 store i64 %29, i64* %rax.0.reg2mem br label LBL_23 LBL_11: %30 = load i64, i64* @gv_0, align 8 %31 = add i64 %30, 48 store i64 %31, i64* %rax.0.reg2mem br label LBL_23 LBL_12: %32 = load i64, i64* @gv_0, align 8 %33 = add i64 %32, 56 store i64 %33, i64* %rax.0.reg2mem br label LBL_23 LBL_13: %34 = load i64, i64* @gv_0, align 8 %35 = add i64 %34, 64 store i64 %35, i64* %rax.0.reg2mem br label LBL_23 LBL_14: %36 = load i64, i64* @gv_0, align 8 %37 = add i64 %36, 72 store i64 %37, i64* %rax.0.reg2mem br label LBL_23 LBL_15: %38 = load i64, i64* @gv_0, align 8 %39 = add i64 %38, 80 store i64 %39, i64* %rax.0.reg2mem br label LBL_23 LBL_16: %40 = load i64, i64* @gv_0, align 8 %41 = add i64 %40, 88 store i64 %41, i64* %rax.0.reg2mem br label LBL_23 LBL_17: %42 = load i64, i64* @gv_0, align 8 %43 = add i64 %42, 96 store i64 %43, i64* %rax.0.reg2mem br label LBL_23 LBL_18: %44 = load i64, i64* @gv_1, align 8 store i64 %44, i64* %rax.0.reg2mem br label LBL_23 LBL_19: %45 = load i64, i64* @gv_0, align 8 %46 = add i64 %45, 104 store i64 %46, i64* %rax.0.reg2mem br label LBL_23 LBL_20: %47 = load i64, i64* @gv_0, align 8 %48 = add i64 %47, 112 store i64 %48, i64* %rax.0.reg2mem br label LBL_23 LBL_21: %49 = load i64, i64* @gv_0, align 8 %50 = add i64 %49, 120 store i64 %50, i64* %rax.0.reg2mem br label LBL_23 LBL_22: %51 = call i64 @FUNC(i64 %2) store i64 %51, 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 %5, { 2, 0, 1 } uselistorder i64 %2, { 2, 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i64* %rax.0.reg2mem, { 0, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 1, 3, 2 } uselistorder i32 4, { 1, 0 } uselistorder i64 (i64)* @get_varp, { 1, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder label LBL_23, { 19, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 20, 1 } }
0
BinRealVul
mvhd_dump_10542
mvhd_dump
define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %arg2) %1 = inttoptr i64 %arg2 to %_IO_FILE* %2 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg1) %3 = add i64 %arg1, 8 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %5) %7 = add i64 %arg1, 16 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = zext i32 %9 to i64 %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %10) %12 = add i64 %arg1, 24 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %14) %16 = add i64 %arg1, 32 %17 = inttoptr i64 %16 to i32* %18 = load i32, i32* %17, align 4 %19 = zext i32 %18 to i64 %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 %19) %21 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg2) ret i64 0 uselistorder %_IO_FILE* %1, { 0, 2, 1, 3, 4 } uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 6, 5, 4, 3, 2, 1 } }
0
BinRealVul
v9fs_device_unrealize_common_5454
v9fs_device_unrealize_common
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 8 %2 = inttoptr i64 %1 to i64* %3 = load i64, i64* %2, align 8 %4 = call i64 @FUNC(i64 %3) %5 = call i64 @FUNC(i64 %3) ret i64 %5 uselistorder i64 (i64)* @g_free, { 1, 0 } }
0
BinRealVul
dump_iterate_14663
dump_iterate
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = add i64 %0, 32 %2 = inttoptr i64 %1 to i32* %3 = add i64 %0, 8 %4 = inttoptr i64 %3 to i64* %5 = add i64 %0, 16 %6 = inttoptr i64 %5 to i64* %7 = add i64 %0, 24 %8 = inttoptr i64 %7 to i64* br label LBL_1 LBL_1: %9 = load i32, i32* %2, align 4 %10 = icmp eq i32 %9, 0 %.pre = load i64, i64* %4, align 8 store i64 %0, i64* %sv_0.0.reg2mem br i1 %10, label LBL_4, label LBL_2 LBL_2: %11 = sub i64 %0, %.pre %12 = load i64, i64* %6, align 8 %13 = load i64, i64* %8, align 8 %14 = add i64 %13, %12 %15 = add i64 %.pre, %0 %16 = icmp slt i64 %14, %15 store i64 %11, i64* %sv_0.0.reg2mem br i1 %16, label LBL_3, label LBL_4 LBL_3: %17 = sub i64 %11, %15 %18 = add i64 %17, %14 store i64 %18, i64* %sv_0.0.reg2mem br label LBL_4 LBL_4: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %19 = call i64 @FUNC(i64 %0, i64 %0, i64 %.pre, i64 %sv_0.0.reload) %20 = trunc i64 %19 to i32 %21 = icmp eq i32 %20, -1 %22 = icmp eq i1 %21, false br i1 %22, label LBL_6, label LBL_5 LBL_5: %23 = and i64 %19, 4294967295 store i64 %23, i64* %storemerge.reg2mem br label LBL_8 LBL_6: %24 = call i64 @FUNC(i64 %0, i64 %0) %25 = trunc i64 %24 to i32 %26 = icmp eq i32 %25, 1 %27 = icmp eq i1 %26, false br i1 %27, label LBL_1, label LBL_7 LBL_7: %28 = call i64 @FUNC(i64 %0) store i64 0, i64* %storemerge.reg2mem br label LBL_8 LBL_8: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %11, { 1, 0 } uselistorder i64 %.pre, { 1, 0, 2 } uselistorder i64 %0, { 7, 4, 8, 3, 9, 1, 2, 0, 6, 5, 11, 10 } uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_4, { 2, 1, 0 } }
1
BinRealVul
decode_frame_5172
decode_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.shrunk.reg2mem = alloca i32 %.pre-phi2.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 %sv_0 = alloca i64, align 8 %5 = call i64 @FUNC(i64 %3, i64 0, i64 0) %6 = add i64 %3, 8 %7 = inttoptr i64 %6 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp sgt i32 %8, 133 br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1) store i32 -1, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_2: %11 = add i64 %4, 1064 %12 = call i64 @FUNC(i64 %11, i64 %3, i32 %8) %13 = call i64 @FUNC(i64 %4, i64 %4) %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, 0 %16 = icmp eq i1 %15, false br i1 %16, label LBL_4, label LBL_3 LBL_3: %17 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %2, i64 %1) store i32 %14, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_4: %18 = call i64 @FUNC(i64 %11, i64 4) %19 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0, i64 128) %20 = call i64 @FUNC(i64 %11, i64 1) %21 = call i64 @FUNC(i64 %11) %22 = trunc i64 %21 to i32 %23 = icmp eq i32 %22, 16 %24 = icmp eq i1 %23, false %25 = add i64 %4, 12 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = add i64 %4, 8 %29 = inttoptr i64 %28 to i32* %30 = load i32, i32* %29, align 4 %31 = add i64 %4, 24 %32 = inttoptr i64 %31 to i32* %33 = load i32, i32* %32, align 4 br i1 %24, label LBL_6, label LBL_5 LBL_5: %34 = zext i32 %27 to i64 %35 = call i64 @FUNC(i64 %4, i64 %4, i32 %33, i32 %30, i64 %34) br label LBL_7 LBL_6: %36 = call i64 @FUNC(i64 %4, i64 %4, i32 %33, i32 %30, i32 %27, i32 %22) br label LBL_7 LBL_7: %sext = mul i64 %5, 4294967296 %37 = icmp eq i64 %sext, 0 br i1 %37, label LBL_7.LBL_10_crit_edge, label LBL_9 LBL_8: %.pre = add i64 %4, 40 %.pre1 = inttoptr i64 %.pre to i64* store i64* %.pre1, i64** %.pre-phi2.reg2mem br label LBL_10 LBL_9: %38 = ashr exact i64 %sext, 32 %39 = add i64 %4, 36 %40 = inttoptr i64 %39 to i32* store i32 1, i32* %40, align 4 %41 = add i64 %4, 40 %42 = inttoptr i64 %41 to i64* %43 = inttoptr i64 %38 to i64* %44 = call i64* @memcpy(i64* %42, i64* %43, i32 1024) store i64* %42, i64** %.pre-phi2.reg2mem br label LBL_10 LBL_10: %45 = ptrtoint i64* %arg2 to i64 %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem %46 = inttoptr i64 %28 to i64* %47 = load i64, i64* %46, align 8 %48 = inttoptr i64 %47 to i64* %49 = call i64* @memcpy(i64* %48, i64* %.pre-phi2.reload, i32 1024) %50 = call i64 @FUNC(i64 %45, i64 %4) %51 = trunc i64 %50 to i32 %52 = icmp slt i32 %51, 0 %53 = icmp eq i1 %52, false store i32 %51, i32* %rax.0.shrunk.reg2mem br i1 %53, label LBL_11, label LBL_12 LBL_11: %54 = bitcast i64* %arg3 to i32* store i32 1, i32* %54, align 4 %55 = load i32, i32* %7, align 4 store i32 %55, i32* %rax.0.shrunk.reg2mem br label LBL_12 LBL_12: %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem %rax.0 = zext i32 %rax.0.shrunk.reload to i64 ret i64 %rax.0 uselistorder i32 %33, { 1, 0 } uselistorder i32 %30, { 1, 0 } uselistorder i32 %27, { 1, 0 } uselistorder i64 %11, { 0, 3, 2, 1, 4, 5 } uselistorder i64 %4, { 6, 4, 5, 0, 7, 9, 3, 10, 8, 12, 11, 2, 14, 13, 15, 1 } uselistorder i64 %3, { 1, 0, 2, 3 } uselistorder i64 %2, { 1, 0 } uselistorder i64 %1, { 1, 0 } uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64* %0, { 1, 0 } uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 } uselistorder i64 40, { 1, 0 } uselistorder i64 (i64, i64)* @bytestream2_skip, { 1, 0 } uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 } uselistorder label LBL_12, { 1, 0, 2, 3 } uselistorder label LBL_10, { 1, 0 } }
0
BinRealVul
n_start_visual_mode_19201
n_start_visual_mode
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = trunc i64 %arg1 to i32 store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8 store i8 1, i8* bitcast (i64* @gv_1 to i8*), align 8 store i8 1, i8* bitcast (i64* @gv_2 to i8*), align 8 %1 = call i64 @FUNC() %2 = icmp eq i32 %0, 22 %3 = icmp eq i1 %2, false br i1 %3, label LBL_4, label LBL_1 LBL_1: %4 = call i64 @FUNC() %5 = urem i64 %4, 2 %6 = icmp eq i64 %5, 0 br i1 %6, label LBL_4, label LBL_2 LBL_2: %7 = call i64 @FUNC() %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %8, 9 %10 = icmp eq i1 %9, false br i1 %10, label LBL_4, label LBL_3 LBL_3: %11 = call i64 @FUNC() %12 = load i64, i64* @gv_3, align 8 %13 = add i64 %12, 16 %14 = inttoptr i64 %13 to i32* %15 = load i32, i32* %14, align 4 %16 = zext i32 %15 to i64 %17 = call i64 @FUNC(i64 %16) br label LBL_4 LBL_4: %18 = load i64, i64* @gv_3, align 8 %19 = add i64 %18, 4 %20 = inttoptr i64 %19 to i32* %21 = load i32, i32* %20, align 4 store i32 %21, i32* bitcast (i64* @gv_4 to i32*), align 8 %22 = call i64 @FUNC() %23 = load i8, i8* inttoptr (i64 4210753 to i8*), align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label LBL_7, label LBL_5 LBL_5: %25 = load i32, i32* @gv_5, align 4 %26 = icmp eq i32 %25, 0 %27 = icmp eq i1 %26, false br i1 %27, label LBL_7, label LBL_6 LBL_6: store i8 1, i8* bitcast (i64* @gv_6 to i8*), align 8 br label LBL_7 LBL_7: %28 = load i64, i64* @gv_3, align 8 %29 = add i64 %28, 20 %30 = inttoptr i64 %29 to i32* %31 = load i32, i32* %30, align 4 %32 = zext i32 %31 to i64 %33 = icmp sgt i32 %31, 1 store i64 %32, i64* %rax.0.reg2mem br i1 %33, label LBL_9, label LBL_8 LBL_8: %34 = add i64 %28, 4 %35 = inttoptr i64 %34 to i32* %36 = load i32, i32* %35, align 4 %37 = add i64 %28, 8 %38 = inttoptr i64 %37 to i32* store i32 %36, i32* %38, align 4 %39 = load i64, i64* @gv_3, align 8 %40 = add i64 %39, 4 %41 = inttoptr i64 %40 to i32* %42 = load i32, i32* %41, align 4 %43 = add i64 %39, 12 %44 = inttoptr i64 %43 to i32* store i32 %42, i32* %44, align 4 store i64 %39, 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 %28, { 1, 0, 2 } uselistorder i32 0, { 1, 0 } }
1
BinRealVul
avs_decode_frame_7718
avs_decode_frame
define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.320.reg2mem = alloca i8* %rdi.621.reg2mem = alloca i64 %storemerge22.reg2mem = alloca i32 %rdi.5.reg2mem = alloca i64 %rdi.3.reg2mem = alloca i64 %sv_0.1.reg2mem = alloca i8* %indvars.iv.reg2mem = alloca i64 %rdi.2.reg2mem = alloca i64 %sv_0.216.reg2mem = alloca i8* %rdi.418.reg2mem = alloca i64 %indvars.iv29.reg2mem = alloca i64 %rdi.1.reg2mem = alloca i64 %sv_0.0.in.reg2mem = alloca i64 %.pre-phi.reg2mem = alloca i64 %sv_1.0.reg2mem = alloca i32 %sv_2.0.reg2mem = alloca i32 %rdi.0.reg2mem = alloca i64 %sv_3.0.in.reg2mem = alloca i8 %sv_4.0.reg2mem = alloca i32 %sv_5.1.in.reg2mem = alloca i64 %.lcssa.reg2mem = alloca i32 %sv_5.0.in.lcssa.reg2mem = alloca i64 %sv_5.0.in24.reg2mem = alloca i64 %.reg2mem = alloca i32 %indvars.iv31.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = ptrtoint i64* %arg1 to i64 %sv_6 = alloca i64, align 8 %5 = add i64 %4, 8 %6 = inttoptr i64 %5 to i64* %7 = trunc i64 %4 to i32 %8 = icmp slt i32 %7, 0 %9 = icmp eq i1 %8, false br i1 %9, label LBL_2, label LBL_1 LBL_1: %10 = load i64, i64* %6, align 8 %11 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %2, i64 %1) %12 = and i64 %4, 4294967295 store i64 %12, i64* %rax.0.reg2mem br label LBL_37 LBL_2: %13 = ptrtoint i32* %arg4 to i64 %14 = add i64 %13, 8 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = trunc i64 %3 to i32 %18 = bitcast i64* %arg1 to i32* store i32 1, i32* %18, align 4 %19 = add i64 %4, 4 %20 = inttoptr i64 %19 to i32* store i32 2, i32* %20, align 4 %21 = inttoptr i64 %5 to i32* store i32 0, i32* %21, align 4 %22 = add i64 %4, 16 %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = add i64 %4, 40 %26 = inttoptr i64 %25 to i32* %27 = load i32, i32* %26, align 4 %28 = icmp sgt i32 %17, 3 store i64 4294967295, i64* %rax.0.reg2mem br i1 %28, label LBL_3, label LBL_37 LBL_3: %29 = inttoptr i64 %16 to i8* %sext = mul i64 %3, 4294967296 %30 = ashr exact i64 %sext, 32 %31 = add i64 %16, %30 %32 = load i8, i8* %29, align 1 %33 = zext i8 %32 to i32 %34 = add i64 %16, 1 %35 = inttoptr i64 %34 to i8* %36 = load i8, i8* %35, align 1 %37 = add i64 %16, 4 %38 = icmp eq i8 %36, 0 %39 = icmp eq i1 %38, false store i64 %37, i64* %sv_5.1.in.reg2mem store i32 %33, i32* %sv_4.0.reg2mem store i8 %36, i8* %sv_3.0.in.reg2mem store i64 %4, i64* %rdi.0.reg2mem br i1 %39, label LBL_10, label LBL_4 LBL_4: %40 = add i64 %4, 24 %41 = inttoptr i64 %40 to i64* %42 = load i64, i64* %41, align 8 %43 = call i64 @FUNC(i64 %37) %44 = trunc i64 %43 to i32 %45 = urem i32 %44, 65536 %46 = add i64 %16, 6 %47 = call i64 @FUNC(i64 %46) %48 = trunc i64 %47 to i32 %49 = urem i32 %48, 65536 %50 = add nuw nsw i32 %49, %45 %51 = icmp ugt i32 %45, 255 %52 = icmp ugt i32 %50, 256 %or.cond = or i1 %51, %52 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_37, label LBL_5 LBL_5: %53 = sub i64 %31, %37 %54 = mul nuw nsw i32 %49, 3 %55 = add nuw nsw i32 %54, 8 %56 = zext i32 %55 to i64 %57 = icmp slt i64 %53, %56 store i64 4294967295, i64* %rax.0.reg2mem br i1 %57, label LBL_37, label LBL_6 LBL_6: %58 = add i64 %16, 8 %sv_5.023 = inttoptr i64 %58 to i8* %59 = icmp eq i32 %49, 0 %60 = load i8, i8* %sv_5.023, align 1 %61 = zext i8 %60 to i32 store i64 %58, i64* %sv_5.0.in.lcssa.reg2mem store i32 %61, i32* %.lcssa.reg2mem br i1 %59, label LBL_9, label LBL_7 LBL_7: %62 = urem i64 %43, 65536 %63 = zext i32 %50 to i64 store i64 %62, i64* %indvars.iv31.reg2mem store i32 %61, i32* %.reg2mem store i64 %58, i64* %sv_5.0.in24.reg2mem br label LBL_8 LBL_8: %sv_5.0.in24.reload = load i64, i64* %sv_5.0.in24.reg2mem %.reload = load i32, i32* %.reg2mem %indvars.iv31.reload = load i64, i64* %indvars.iv31.reg2mem %64 = mul i32 %.reload, 262144 %65 = add i64 %sv_5.0.in24.reload, 1 %66 = inttoptr i64 %65 to i8* %67 = load i8, i8* %66, align 1 %68 = zext i8 %67 to i32 %69 = mul i32 %68, 1024 %70 = or i32 %69, %64 %71 = add i64 %sv_5.0.in24.reload, 2 %72 = inttoptr i64 %71 to i8* %73 = load i8, i8* %72, align 1 %74 = zext i8 %73 to i32 %75 = mul i32 %74, 4 %76 = or i32 %70, %75 %77 = mul i64 %indvars.iv31.reload, 4 %78 = add i64 %77, %42 %79 = inttoptr i64 %78 to i32* store i32 %76, i32* %79, align 4 %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31.reload, 1 %80 = add i64 %sv_5.0.in24.reload, 3 %sv_5.0 = inttoptr i64 %80 to i8* %81 = icmp ult i64 %indvars.iv.next32, %63 %82 = load i8, i8* %sv_5.0, align 1 %83 = zext i8 %82 to i32 store i64 %indvars.iv.next32, i64* %indvars.iv31.reg2mem store i32 %83, i32* %.reg2mem store i64 %80, i64* %sv_5.0.in24.reg2mem store i64 %80, i64* %sv_5.0.in.lcssa.reg2mem store i32 %83, i32* %.lcssa.reg2mem br i1 %81, label LBL_8, label LBL_9 LBL_9: %.lcssa.reload = load i32, i32* %.lcssa.reg2mem %sv_5.0.in.lcssa.reload = load i64, i64* %sv_5.0.in.lcssa.reg2mem %84 = add i64 %sv_5.0.in.lcssa.reload, 1 %85 = inttoptr i64 %84 to i8* %86 = load i8, i8* %85, align 1 %87 = add i64 %sv_5.0.in.lcssa.reload, 4 store i64 %87, i64* %sv_5.1.in.reg2mem store i32 %.lcssa.reload, i32* %sv_4.0.reg2mem store i8 %86, i8* %sv_3.0.in.reg2mem store i64 %46, i64* %rdi.0.reg2mem br label LBL_10 LBL_10: %sv_3.0.in.reload = load i8, i8* %sv_3.0.in.reg2mem %88 = icmp eq i8 %sv_3.0.in.reload, 1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %88, label LBL_11, label LBL_37 LBL_11: %rdi.0.reload = load i64, i64* %rdi.0.reg2mem %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem %sv_5.1.in.reload = load i64, i64* %sv_5.1.in.reg2mem %89 = icmp eq i32 %sv_4.0.reload, 5 store i32 2, i32* %sv_2.0.reg2mem store i32 3, i32* %sv_1.0.reg2mem br i1 %89, label LBL_17, label LBL_12 LBL_12: %90 = icmp ugt i32 %sv_4.0.reload, 5 store i64 4294967295, i64* %rax.0.reg2mem br i1 %90, label LBL_37, label LBL_13 LBL_13: %91 = icmp eq i32 %sv_4.0.reload, 4 store i32 2, i32* %sv_2.0.reg2mem store i32 2, i32* %sv_1.0.reg2mem br i1 %91, label LBL_17, label LBL_14 LBL_14: %92 = icmp ugt i32 %sv_4.0.reload, 4 store i64 4294967295, i64* %rax.0.reg2mem br i1 %92, label LBL_37, label LBL_15 LBL_15: %trunc = trunc i32 %sv_4.0.reload to i8 store i32 3, i32* %sv_2.0.reg2mem store i32 3, i32* %sv_1.0.reg2mem store i64 4294967295, i64* %rax.0.reg2mem switch i8 %trunc, label LBL_37 [ i8 2, label LBL_16 i8 3, label LBL_17 ] LBL_16: store i32 1, i32* %20, align 4 store i32 1, i32* %21, align 4 store i32 3, i32* %sv_2.0.reg2mem store i32 3, i32* %sv_1.0.reg2mem br label LBL_17 LBL_17: %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem %93 = sub i64 %31, %sv_5.1.in.reload %94 = mul nuw nsw i32 %sv_1.0.reload, %sv_2.0.reload %95 = mul i32 %94, 256 %96 = zext i32 %95 to i64 %97 = icmp slt i64 %93, %96 store i64 4294967295, i64* %rax.0.reg2mem br i1 %97, label LBL_37, label LBL_18 LBL_18: %98 = add i64 %sv_5.1.in.reload, %96 %99 = icmp eq i32 %sv_4.0.reload, 2 br i1 %99, label LBL_18.LBL_22_crit_edge, label LBL_20 LBL_19: %.pre = ptrtoint i64* %sv_6 to i64 store i64 %.pre, i64* %.pre-phi.reg2mem store i64 %98, i64* %sv_0.0.in.reg2mem store i64 %rdi.0.reload, i64* %rdi.1.reg2mem br label LBL_22 LBL_20: %.rhs.trunc = trunc i32 %sv_2.0.reload to i16 %100 = udiv i16 318, %.rhs.trunc %narrow10 = add nuw nsw i16 %100, 7 %101 = udiv i16 %narrow10, 8 %102 = zext i16 %101 to i32 %.rhs.trunc8 = trunc i32 %sv_1.0.reload to i8 %103 = udiv i8 -58, %.rhs.trunc8 %.zext9 = zext i8 %103 to i32 %narrow = mul nuw nsw i32 %102, %.zext9 %104 = sub i64 %31, %98 %105 = zext i32 %narrow to i64 %106 = icmp slt i64 %104, %105 store i64 4294967295, i64* %rax.0.reg2mem br i1 %106, label LBL_37, label LBL_21 LBL_21: %107 = mul i32 %narrow, 8 %108 = zext i32 %107 to i64 %109 = ptrtoint i64* %sv_6 to i64 %110 = call i64 @FUNC(i64* nonnull %sv_6, i64 %98, i64 %108) %111 = add i64 %98, %105 store i64 %109, i64* %.pre-phi.reg2mem store i64 %111, i64* %sv_0.0.in.reg2mem store i64 %109, i64* %rdi.1.reg2mem br label LBL_22 LBL_22: %112 = ptrtoint i64* %arg2 to i64 %rdi.1.reload = load i64, i64* %rdi.1.reg2mem %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i8* %113 = icmp eq i32 %sv_1.0.reload, 3 %114 = icmp eq i1 %113, false %115 = mul i32 %sv_2.0.reload, 2 %116 = zext i32 %115 to i64 %117 = zext i32 %sv_2.0.reload to i64 store i32 0, i32* %storemerge22.reg2mem store i64 %rdi.1.reload, i64* %rdi.621.reg2mem store i8* %sv_0.0, i8** %sv_0.320.reg2mem br label LBL_35 LBL_23: %sv_0.216.reload = load i8*, i8** %sv_0.216.reg2mem %rdi.418.reload = load i64, i64* %rdi.418.reg2mem %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem store i64 %rdi.418.reload, i64* %rdi.2.reg2mem br i1 %99, label LBL_25, label LBL_24 LBL_24: %118 = call i64 @FUNC(i64* nonnull %sv_6) %119 = trunc i64 %118 to i32 %120 = icmp eq i32 %119, 0 store i64 %.pre-phi.reload, i64* %rdi.2.reg2mem store i8* %sv_0.216.reload, i8** %sv_0.1.reg2mem store i64 %.pre-phi.reload, i64* %rdi.3.reg2mem br i1 %120, label LBL_31, label LBL_25 LBL_25: %121 = ptrtoint i8* %sv_0.216.reload to i64 %122 = sub i64 %31, %121 %123 = icmp eq i64 %122, 0 %124 = icmp slt i64 %122, 0 %125 = icmp eq i1 %124, false %126 = icmp eq i1 %123, false %127 = icmp eq i1 %125, %126 store i64 4294967295, i64* %rax.0.reg2mem br i1 %127, label LBL_26, label LBL_37 LBL_26: %rdi.2.reload = load i64, i64* %rdi.2.reg2mem %128 = load i8, i8* %sv_0.216.reload, align 1 %129 = zext i8 %128 to i32 %130 = mul nuw nsw i32 %94, %129 %131 = zext i32 %130 to i64 %132 = add i64 %sv_5.1.in.reload, %131 store i64 0, i64* %indvars.iv.reg2mem br label LBL_27 LBL_27: %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem %133 = add i64 %indvars.iv.reload, %132 %134 = add nuw nsw i64 %indvars.iv.reload, %indvars.iv29.reload %135 = trunc i64 %134 to i32 %136 = add i32 %162, %135 %137 = sext i32 %136 to i64 %138 = add i64 %24, %137 %139 = inttoptr i64 %133 to i8* %140 = load i8, i8* %139, align 1 %141 = inttoptr i64 %138 to i8* store i8 %140, i8* %141, align 1 %142 = add i64 %133, %117 %143 = add i32 %164, %135 %144 = sext i32 %143 to i64 %145 = add i64 %24, %144 %146 = inttoptr i64 %142 to i8* %147 = load i8, i8* %146, align 1 %148 = inttoptr i64 %145 to i8* store i8 %147, i8* %148, align 1 br i1 %114, label LBL_29, label LBL_28 LBL_28: %149 = add i64 %133, %116 %150 = add i32 %166, %135 %151 = sext i32 %150 to i64 %152 = add i64 %24, %151 %153 = inttoptr i64 %149 to i8* %154 = load i8, i8* %153, align 1 %155 = inttoptr i64 %152 to i8* store i8 %154, i8* %155, align 1 br label LBL_29 LBL_29: %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, %117 store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem br i1 %exitcond, label LBL_30, label LBL_27 LBL_30: %156 = add i64 %121, 1 %157 = inttoptr i64 %156 to i8* store i8* %157, i8** %sv_0.1.reg2mem store i64 %rdi.2.reload, i64* %rdi.3.reg2mem br label LBL_31 LBL_31: %rdi.3.reload = load i64, i64* %rdi.3.reg2mem %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, %117 %158 = icmp ult i64 %indvars.iv.next30, 318 store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem store i64 %rdi.3.reload, i64* %rdi.418.reg2mem store i8* %sv_0.1.reload, i8** %sv_0.216.reg2mem br i1 %158, label LBL_23, label LBL_32 LBL_32: store i64 %rdi.3.reload, i64* %rdi.5.reg2mem br i1 %99, label LBL_34, label LBL_33 LBL_33: %159 = call i64 @FUNC(i64* nonnull %sv_6) store i64 %.pre-phi.reload, i64* %rdi.5.reg2mem br label LBL_34 LBL_34: %rdi.5.reload = load i64, i64* %rdi.5.reg2mem %160 = add nuw nsw i32 %storemerge22.reload, %sv_1.0.reload %161 = icmp ult i32 %160, 198 store i32 %160, i32* %storemerge22.reg2mem store i64 %rdi.5.reload, i64* %rdi.621.reg2mem store i8* %sv_0.1.reload, i8** %sv_0.320.reg2mem br i1 %161, label LBL_35, label LBL_36 LBL_35: %sv_0.320.reload = load i8*, i8** %sv_0.320.reg2mem %rdi.621.reload = load i64, i64* %rdi.621.reg2mem %storemerge22.reload = load i32, i32* %storemerge22.reg2mem %162 = mul i32 %storemerge22.reload, %27 %163 = add nuw nsw i32 %storemerge22.reload, 1 %164 = mul i32 %163, %27 %165 = add nuw nsw i32 %storemerge22.reload, 2 %166 = mul i32 %165, %27 store i64 0, i64* %indvars.iv29.reg2mem store i64 %rdi.621.reload, i64* %rdi.418.reg2mem store i8* %sv_0.320.reload, i8** %sv_0.216.reg2mem br label LBL_23 LBL_36: %167 = load i64, i64* %6, align 8 store i64 %rdi.5.reload, i64* %arg2, align 8 %168 = add i64 %112, 8 %169 = inttoptr i64 %168 to i64* store i64 %167, i64* %169, align 8 %170 = load i64, i64* %23, align 8 %171 = add i64 %4, 24 %172 = inttoptr i64 %171 to i64* %173 = load i64, i64* %172, align 8 %174 = add i64 %112, 16 %175 = inttoptr i64 %174 to i64* store i64 %170, i64* %175, align 8 %176 = add i64 %112, 24 %177 = inttoptr i64 %176 to i64* store i64 %173, i64* %177, align 8 %178 = add i64 %4, 32 %179 = inttoptr i64 %178 to i64* %180 = load i64, i64* %179, align 8 %181 = inttoptr i64 %25 to i64* %182 = load i64, i64* %181, align 8 %183 = add i64 %112, 32 %184 = inttoptr i64 %183 to i64* store i64 %180, i64* %184, align 8 %185 = add i64 %112, 40 %186 = inttoptr i64 %185 to i64* store i64 %182, i64* %186, align 8 %187 = add i64 %4, 48 %188 = inttoptr i64 %187 to i64* %189 = load i64, i64* %188, align 8 %190 = add i64 %112, 48 %191 = inttoptr i64 %190 to i64* store i64 %189, i64* %191, align 8 %192 = bitcast i64* %arg3 to i32* store i32 1, i32* %192, align 4 %193 = and i64 %3, 4294967295 store i64 %193, i64* %rax.0.reg2mem br label LBL_37 LBL_37: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %rdi.5.reload, { 1, 0 } uselistorder i64 %indvars.iv.reload, { 0, 2, 1 } uselistorder i64 %indvars.iv29.reload, { 1, 0 } uselistorder i8* %sv_0.216.reload, { 1, 2, 0 } uselistorder i64 %117, { 0, 2, 1 } uselistorder i1 %99, { 1, 0, 2 } uselistorder i64 %98, { 1, 2, 3, 0 } uselistorder i32 %94, { 1, 0 } uselistorder i32 %sv_2.0.reload, { 1, 3, 0, 2 } uselistorder i32 %sv_1.0.reload, { 3, 0, 1, 2 } uselistorder i64 %sv_5.1.in.reload, { 2, 1, 0 } uselistorder i32 %sv_4.0.reload, { 2, 5, 4, 0, 3, 1 } uselistorder i32 %61, { 1, 0 } uselistorder i64 %58, { 1, 0, 2 } uselistorder i32 %49, { 1, 0, 2 } uselistorder i64 %37, { 1, 2, 0 } uselistorder i64 %31, { 2, 1, 3, 0 } uselistorder i64 %16, { 1, 2, 3, 4, 0, 5 } uselistorder i64* %sv_6, { 1, 2, 3, 4, 0 } uselistorder i64 %4, { 4, 5, 6, 3, 0, 8, 7, 9, 1, 2, 10, 11 } uselistorder i64 %3, { 1, 2, 0 } uselistorder i64* %indvars.iv31.reg2mem, { 1, 0, 2 } uselistorder i32* %.reg2mem, { 1, 0, 2 } uselistorder i64* %sv_5.0.in24.reg2mem, { 1, 0, 2 } uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 2, 1 } uselistorder i64* %indvars.iv29.reg2mem, { 2, 1, 0 } uselistorder i64* %rdi.418.reg2mem, { 2, 1, 0 } uselistorder i8** %sv_0.216.reg2mem, { 2, 1, 0 } uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 12, 1, 2, 3, 6, 5, 4, 7, 9, 8, 10, 11 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 4, { 1, 2, 0 } uselistorder i32 8, { 0, 2, 1 } uselistorder i64 (i64)* @AV_RL16, { 1, 0 } uselistorder i64 1, { 2, 1, 4, 0, 3, 5, 6 } uselistorder i64 32, { 1, 2, 0 } uselistorder i32 3, { 6, 1, 3, 2, 4, 0, 7, 5 } uselistorder i32 2, { 6, 3, 5, 0, 2, 1, 7, 4 } uselistorder i64 4, { 1, 0, 2, 3 } uselistorder i64 0, { 1, 0, 6, 7, 4, 2, 3, 5 } uselistorder i1 false, { 2, 0, 1, 3, 4 } uselistorder i32 0, { 2, 0, 1, 3, 4, 5 } uselistorder i64 8, { 1, 0, 3, 2, 4, 5 } uselistorder label LBL_37, { 10, 0, 1, 2, 5, 4, 3, 6, 8, 7, 9, 11 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_22, { 1, 0 } uselistorder label LBL_17, { 2, 3, 1, 0 } uselistorder label LBL_8, { 1, 0 } }
1
BinRealVul
vnc_display_close_5018
vnc_display_close
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = load i64, i64* @gv_0, align 8 %1 = icmp eq i64 %0, 0 br i1 %1, label LBL_8, label LBL_1 LBL_1: %2 = add i64 %0, 8 %3 = inttoptr i64 %2 to i64* %4 = load i64, i64* %3, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label LBL_3, label LBL_2 LBL_2: %6 = call i64 @FUNC(i64 %4) store i64 0, i64* %3, align 8 br label LBL_3 LBL_3: %7 = inttoptr i64 %0 to i32* %8 = load i32, i32* %7, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label LBL_5, label LBL_4 LBL_4: %10 = zext i32 %8 to i64 %11 = call i64 @FUNC(i64 %10, i64 0, i64 0, i64 0, i64 0) %12 = load i32, i32* %7, align 4 %13 = call i32 @close(i32 %12) store i32 -1, i32* %7, align 4 br label LBL_5 LBL_5: %14 = add i64 %0, 16 %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) store i64 0, i64* %15, align 8 %18 = add i64 %0, 4 %19 = inttoptr i64 %18 to i32* %20 = load i32, i32* %19, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label LBL_7, label LBL_6 LBL_6: %22 = zext i32 %20 to i64 %23 = call i64 @FUNC(i64 %22, i64 0, i64 0, i64 0, i64 0) %24 = load i32, i32* %19, align 4 %25 = call i32 @close(i32 %24) store i32 -1, i32* %19, align 4 br label LBL_7 LBL_7: %26 = add i64 %0, 24 %27 = inttoptr i64 %26 to i32* store i32 -1, i32* %27, align 4 %28 = add i64 %0, 28 %29 = inttoptr i64 %28 to i32* store i32 -1, i32* %29, align 4 %30 = add i64 %0, 32 %31 = inttoptr i64 %30 to i32* store i32 0, i32* %31, align 4 br label LBL_8 LBL_8: ret i64 %0 uselistorder i32 (i32)* @close, { 1, 0 } uselistorder i64 (i64, i64, i64, i64, i64)* @qemu_set_fd_handler2, { 1, 0 } uselistorder i32 -1, { 2, 3, 4, 0, 5, 1 } uselistorder i64 (i64)* @g_free, { 1, 0 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
virtio_config_readb_1249
virtio_config_readb
define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i64 %0 = ptrtoint i32* %arg1 to i64 %1 = and i64 %arg2, 4294967295 %2 = and i64 %0, 4294967295 %3 = icmp ult i64 %1, %2 store i64 4294967295, i64* %storemerge.reg2mem br i1 %3, label LBL_1, label LBL_2 LBL_1: %4 = add i64 %0, 8 %5 = inttoptr i64 %4 to i64* %6 = load i64, i64* %5, align 8 %7 = add i64 %6, %1 %8 = call i64 @FUNC(i64 %7) %9 = urem i64 %8, 256 store i64 %9, i64* %storemerge.reg2mem br label LBL_2 LBL_2: %storemerge.reload = load i64, i64* %storemerge.reg2mem ret i64 %storemerge.reload uselistorder i64 %0, { 1, 0 } uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
janus_voicemail_destroy_session_12731
janus_voicemail_destroy_session
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = call i64 @FUNC(i64* nonnull @gv_0) %2 = trunc i64 %1 to i32 %3 = icmp eq i32 %2, 0 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: %5 = call i64 @FUNC(i64* inttoptr (i64 4210724 to i64*)) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_3, label LBL_2 LBL_2: %9 = bitcast i64* %arg2 to i32* store i32 -1, i32* %9, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_6 LBL_3: %10 = ptrtoint i64* %arg1 to i64 %11 = call i64 @FUNC(i64* nonnull @gv_1) %12 = call i64 @FUNC(i64 %10) %13 = icmp eq i64 %12, 0 %14 = icmp eq i1 %13, false br i1 %14, label LBL_5, label LBL_4 LBL_4: %15 = call i64 @FUNC(i64* nonnull @gv_1) %16 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0)) %17 = bitcast i64* %arg2 to i32* store i32 -2, i32* %17, align 4 store i64 %0, i64* %rax.0.reg2mem br label LBL_6 LBL_5: %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0)) %19 = call i64 @FUNC(i64 %10) store i64 0, i64* %arg1, align 8 %20 = load i64, i64* @gv_4, align 8 %21 = call i64 @FUNC(i64 %20, i64 %10) %22 = call i64 @FUNC(i64* nonnull @gv_1) store i64 %22, i64* %rax.0.reg2mem br label LBL_6 LBL_6: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64, i8*)* @JANUS_LOG, { 1, 0 } uselistorder i64 (i64*)* @janus_mutex_unlock, { 1, 0 } uselistorder i64 (i64*)* @g_atomic_int_get, { 1, 0 } }
1
BinRealVul
Curl_disconnect_18252
Curl_disconnect
define i64 @FUNC(i64 %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %.reg2mem = alloca i32 %.pre-phi.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %rdi = alloca i64, align 8 %3 = load i64, i64* %0 %4 = load i64, i64* %0 %5 = icmp eq i64 %arg1, 0 %6 = icmp eq i1 %5, false br i1 %6, label LBL_1, label LBL_35 LBL_1: %7 = add i64 %arg1, 4 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label LBL_1.LBL_4_crit_edge, label LBL_3 LBL_2: %11 = trunc i64 %3 to i32 %.pre1 = bitcast i64* %rdi to i32* store i32* %.pre1, i32** %.pre-phi.reg2mem store i32 %11, i32* %.reg2mem br label LBL_4 LBL_3: %12 = add i64 %arg1, 208 %13 = inttoptr i64 %12 to i64* %14 = load i64, i64* %13, align 8 %15 = inttoptr i64 %14 to i64* call void @free(i64* %15) store i32 0, i32* %8, align 4 %.phi.trans.insert = bitcast i64* %rdi to i32* %.pre = load i32, i32* %.phi.trans.insert, align 8 store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem store i32 %.pre, i32* %.reg2mem br label LBL_4 LBL_4: %.reload = load i32, i32* %.reg2mem %16 = icmp eq i32 %.reload, -1 br i1 %16, label LBL_6, label LBL_5 LBL_5: %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem %17 = add i64 %arg1, 192 %18 = inttoptr i64 %17 to i64* %19 = load i64, i64* %18, align 8 %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i32 %.reload, i64 %4, i64 %2, i64 %1) %21 = load i64, i64* %18, align 8 %22 = load i32, i32* %.pre-phi.reload, align 8 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 8 %25 = add i64 %21, 8 %26 = add i64 %25, %24 %27 = inttoptr i64 %26 to i64* store i64 0, i64* %27, align 8 br label LBL_6 LBL_6: %28 = add i64 %arg1, 96 %29 = inttoptr i64 %28 to i64* %30 = load i64, i64* %29, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label LBL_8, label LBL_7 LBL_7: %32 = inttoptr i64 %30 to i64* call void @free(i64* %32) br label LBL_8 LBL_8: %33 = add i64 %arg1, 104 %34 = inttoptr i64 %33 to i64* %35 = load i64, i64* %34, align 8 %36 = icmp eq i64 %35, 0 br i1 %36, label LBL_10, label LBL_9 LBL_9: %37 = inttoptr i64 %35 to i64* call void @free(i64* %37) br label LBL_10 LBL_10: %38 = add i64 %arg1, 112 %39 = inttoptr i64 %38 to i64* %40 = load i64, i64* %39, align 8 %41 = icmp eq i64 %40, 0 br i1 %41, label LBL_12, label LBL_11 LBL_11: %42 = inttoptr i64 %40 to i64* call void @free(i64* %42) br label LBL_12 LBL_12: %43 = call i64 @FUNC(i64 %arg1) %44 = add i64 %arg1, 120 %45 = inttoptr i64 %44 to i32* %46 = load i32, i32* %45, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label LBL_14, label LBL_13 LBL_13: %48 = zext i32 %46 to i64 %49 = call i64 @FUNC(i64 %48) br label LBL_14 LBL_14: %50 = add i64 %arg1, 124 %51 = inttoptr i64 %50 to i32* %52 = load i32, i32* %51, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label LBL_16, label LBL_15 LBL_15: %54 = zext i32 %52 to i64 %55 = call i64 @FUNC(i64 %54) br label LBL_16 LBL_16: %56 = add i64 %arg1, 128 %57 = inttoptr i64 %56 to i64* %58 = load i64, i64* %57, align 8 %59 = icmp eq i64 %58, 0 br i1 %59, label LBL_18, label LBL_17 LBL_17: %60 = inttoptr i64 %58 to i64* call void @free(i64* %60) br label LBL_18 LBL_18: %61 = add i64 %arg1, 136 %62 = inttoptr i64 %61 to i64* %63 = load i64, i64* %62, align 8 %64 = icmp eq i64 %63, 0 br i1 %64, label LBL_20, label LBL_19 LBL_19: %65 = inttoptr i64 %63 to i64* call void @free(i64* %65) br label LBL_20 LBL_20: %66 = add i64 %arg1, 144 %67 = inttoptr i64 %66 to i64* %68 = load i64, i64* %67, align 8 %69 = icmp eq i64 %68, 0 br i1 %69, label LBL_22, label LBL_21 LBL_21: %70 = inttoptr i64 %68 to i64* call void @free(i64* %70) br label LBL_22 LBL_22: %71 = add i64 %arg1, 152 %72 = inttoptr i64 %71 to i64* %73 = load i64, i64* %72, align 8 %74 = icmp eq i64 %73, 0 br i1 %74, label LBL_24, label LBL_23 LBL_23: %75 = inttoptr i64 %73 to i64* call void @free(i64* %75) br label LBL_24 LBL_24: %76 = add i64 %arg1, 160 %77 = inttoptr i64 %76 to i64* %78 = load i64, i64* %77, align 8 %79 = icmp eq i64 %78, 0 br i1 %79, label LBL_26, label LBL_25 LBL_25: %80 = inttoptr i64 %78 to i64* call void @free(i64* %80) br label LBL_26 LBL_26: %81 = add i64 %arg1, 168 %82 = inttoptr i64 %81 to i64* %83 = load i64, i64* %82, align 8 %84 = icmp eq i64 %83, 0 br i1 %84, label LBL_28, label LBL_27 LBL_27: %85 = inttoptr i64 %83 to i64* call void @free(i64* %85) br label LBL_28 LBL_28: %86 = add i64 %arg1, 176 %87 = inttoptr i64 %86 to i64* %88 = load i64, i64* %87, align 8 %89 = icmp eq i64 %88, 0 br i1 %89, label LBL_30, label LBL_29 LBL_29: %90 = inttoptr i64 %88 to i64* call void @free(i64* %90) br label LBL_30 LBL_30: %91 = add i64 %arg1, 184 %92 = inttoptr i64 %91 to i64* %93 = load i64, i64* %92, align 8 %94 = icmp eq i64 %93, 0 br i1 %94, label LBL_32, label LBL_31 LBL_31: %95 = inttoptr i64 %93 to i64* call void @free(i64* %95) br label LBL_32 LBL_32: %96 = add i64 %arg1, 216 %97 = inttoptr i64 %96 to i64* %98 = load i64, i64* %97, align 8 %99 = icmp eq i64 %98, 0 br i1 %99, label LBL_34, label LBL_33 LBL_33: %100 = inttoptr i64 %98 to i64* call void @free(i64* %100) br label LBL_34 LBL_34: %101 = add i64 %arg1, 200 %102 = call i64 @FUNC(i64 %101) %103 = inttoptr i64 %arg1 to i64* call void @free(i64* %103) br label LBL_35 LBL_35: ret i64 0 uselistorder i64* %rdi, { 1, 0 } uselistorder i64* %0, { 3, 2, 1, 0 } uselistorder i64 (i64)* @sclose, { 1, 0 } uselistorder void (i64*)* @free, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } uselistorder i32 1, { 8, 7, 6, 5, 4, 0, 3, 2, 1 } uselistorder i64 %arg1, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 18, 19, 20 } uselistorder label LBL_35, { 1, 0 } uselistorder label LBL_4, { 1, 0 } }
1
BinRealVul
qpci_memwrite_16571
qpci_memwrite
define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr { LBL_0: %0 = icmp ult i64 %arg2, 4096 %1 = icmp ne i1 %0, true %2 = zext i1 %1 to i64 %3 = call i64 @FUNC(i64 %2) ret i64 %2 uselistorder i64 %2, { 1, 0 } }
1
BinRealVul
key_update_5227
key_update
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 %arg1) %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %arg1, i64 1) %3 = trunc i64 %2 to i32 %4 = icmp slt i32 %3, 0 %5 = icmp eq i1 %4, false br i1 %5, label LBL_2, label LBL_1 LBL_1: %6 = and i64 %2, 4294967295 store i64 %6, i64* %rax.0.reg2mem br label LBL_9 LBL_2: %7 = inttoptr i64 %0 to i64* %8 = load i64, i64* %7, align 8 %9 = inttoptr i64 %8 to i64* %10 = load i64, i64* %9, align 8 %11 = icmp eq i64 %10, 0 %12 = icmp eq i1 %11, false store i64 95, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_9 LBL_3: %13 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32) store i64 %arg2, i64* %sv_1, align 8 %14 = load i64, i64* %7, align 8 %15 = add i64 %14, 8 %16 = inttoptr i64 %15 to i64* %17 = load i64, i64* %16, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label LBL_5, label LBL_4 LBL_4: %19 = ptrtoint i64* %sv_1 to i64 %20 = trunc i64 %19 to i32 %21 = icmp slt i32 %20, 0 store i64 %19, i64* %sv_0.0.reg2mem br i1 %21, label LBL_8, label LBL_5 LBL_5: %22 = add i64 %0, 8 %23 = call i64 @FUNC(i64 %22) %24 = trunc i64 %0 to i32 %25 = icmp eq i32 %24, 0 %26 = icmp eq i1 %25, false br i1 %26, label LBL_7, label LBL_6 LBL_6: %27 = call i64 @FUNC(i64 %0, i64 0) br label LBL_7 LBL_7: %28 = call i64 @FUNC(i64 %22) store i64 %0, i64* %sv_0.0.reg2mem br label LBL_8 LBL_8: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %29 = and i64 %sv_0.0.reload, 4294967295 store i64 %29, 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 %0, { 0, 1, 3, 2, 4, 5 } uselistorder i64* %sv_1, { 0, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder i32 0, { 1, 2, 0, 3 } uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 } uselistorder label LBL_9, { 1, 0, 2 } uselistorder label LBL_8, { 1, 0 } }
0
BinRealVul
cgroup_sk_alloc_12195
cgroup_sk_alloc
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = load i8, i8* @gv_0, align 1 %1 = zext i8 %0 to i64 %2 = icmp eq i8 %0, 0 %3 = icmp eq i1 %2, false store i64 %1, i64* %rax.0.reg2mem br i1 %3, label LBL_7, label LBL_1 LBL_1: %4 = icmp eq i64* %arg1, null br i1 %4, label LBL_3, label LBL_2 LBL_2: %5 = ptrtoint i64* %arg1 to i64 %6 = call i64 @FUNC(i64 %5) %7 = call i64 @FUNC(i64 %6) store i64 %7, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %8 = call i64 @FUNC() %9 = trunc i64 %8 to i8 %10 = icmp eq i8 %9, 0 %11 = icmp eq i1 %10, false store i64 %8, i64* %rax.0.reg2mem br i1 %11, label LBL_7, label LBL_4 LBL_4: %12 = call i64 @FUNC() %13 = load i64, i64* @gv_1, align 8 %14 = call i64 @FUNC(i64 %13) %15 = inttoptr i64 %14 to i64* %16 = load i64, i64* %15, align 8 %17 = call i64 @FUNC(i64 %16) %18 = urem i64 %17, 256 %19 = icmp eq i64 %18, 0 br i1 %19, label LBL_6, label LBL_5 LBL_5: call void @llvm.trap() unreachable LBL_6: %20 = call i64 @FUNC() %21 = load i64, i64* @gv_1, align 8 %22 = call i64 @FUNC(i64 %21) %23 = inttoptr i64 %22 to i64* %24 = load i64, i64* %23, align 8 %25 = call i64 @FUNC(i64 %24) %26 = urem i64 %25, 256 %27 = icmp eq i64 %26, 0 br i1 %27, label LBL_6, label LBL_5 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 } uselistorder i64 (i64)* @cgroup_tryget, { 1, 0 } uselistorder i64 (i64)* @task_css_set, { 1, 0 } uselistorder i64* @gv_1, { 1, 0 } uselistorder i8 0, { 1, 2, 0 } uselistorder i64* %arg1, { 1, 0 } uselistorder label LBL_7, { 0, 2, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
sd_reset_15757
sd_reset
define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %storemerge.reg2mem = alloca i32 %.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %sv_0 = alloca i64, align 8 %1 = icmp eq i64* %arg2, null br i1 %1, label LBL_2, label LBL_1 LBL_1: %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0) %.pre = load i64, i64* %sv_0, align 8 store i64 %.pre, i64* %.reg2mem br label LBL_3 LBL_2: store i64 0, i64* %sv_0, align 8 store i64 0, i64* %.reg2mem br label LBL_3 LBL_3: %3 = ptrtoint i64* %arg1 to i64 %.reload = load i64, i64* %.reg2mem %4 = mul i64 %.reload, 512 %5 = or i64 %4, 1 %6 = udiv i64 %.reload, 512 %7 = and i64 %6, 70368744177663 %8 = add nuw nsw i64 %7, 1 store i64 %8, i64* %sv_0, align 8 %9 = bitcast i64* %arg1 to i32* store i32 0, i32* %9, align 4 %10 = add i64 %3, 4 %11 = inttoptr i64 %10 to i16* store i16 0, i16* %11, align 2 %12 = call i64 @FUNC(i64 %3) %13 = call i64 @FUNC(i64 %3) %14 = call i64 @FUNC(i64 %3) %15 = call i64 @FUNC(i64 %3, i64 %5) %16 = call i64 @FUNC(i64 %3) %17 = call i64 @FUNC(i64 %3) %18 = add i64 %3, 80 %19 = inttoptr i64 %18 to i64* store i64 %0, i64* %19, align 8 %20 = add i64 %3, 8 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label LBL_5, label LBL_4 LBL_4: %24 = call i64 @FUNC(i64 %22) br label LBL_5 LBL_5: store i32 0, i32* %storemerge.reg2mem br i1 %1, label LBL_7, label LBL_6 LBL_6: %25 = call i64 @FUNC(i64 %0) %phitmp = trunc i64 %25 to i32 store i32 %phitmp, i32* %storemerge.reg2mem br label LBL_7 LBL_7: %storemerge.reload = load i32, i32* %storemerge.reg2mem %26 = add i64 %3, 16 %27 = inttoptr i64 %26 to i32* store i32 %storemerge.reload, i32* %27, align 4 %28 = load i64, i64* %sv_0, align 8 %29 = mul i64 %28, 4 %30 = call i64 @FUNC(i64 %29) store i64 %30, i64* %21, align 8 %31 = add i64 %3, 56 %32 = inttoptr i64 %31 to i64* %33 = call i64* @memset(i64* %32, i32 0, i32 24) %34 = add i64 %3, 24 %35 = inttoptr i64 %34 to i64* store i64 0, i64* %35, align 8 %36 = add i64 %3, 32 %37 = inttoptr i64 %36 to i64* store i64 0, i64* %37, align 8 %38 = add i64 %3, 40 %39 = inttoptr i64 %38 to i64* store i64 %5, i64* %39, align 8 %40 = add i64 %3, 48 %41 = inttoptr i64 %40 to i32* store i32 512, i32* %41, align 4 %42 = add i64 %3, 52 %43 = inttoptr i64 %42 to i32* store i32 0, i32* %43, align 4 ret i64 %3 uselistorder i64* %sv_0, { 2, 3, 4, 0, 1 } uselistorder i64* %.reg2mem, { 0, 2, 1 } uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 } uselistorder i32 0, { 2, 1, 0, 3 } uselistorder i64 1, { 1, 0 } uselistorder i64 512, { 1, 0 } uselistorder label LBL_7, { 1, 0 } }
1
BinRealVul
img_read_header_15638
img_read_header
define i64 @FUNC(i64* %arg1, i32* %arg2) 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* %arg1 to i64 %sv_1 = alloca i32, align 4 %sv_2 = alloca i32, align 4 %sv_3 = alloca i64, align 8 %3 = add i64 %2, 1040 %4 = inttoptr i64 %3 to i64* %5 = load i64, i64* %4, align 8 %6 = call i64 @FUNC(i64 %2, i64 0) %sext = mul i64 %6, 4294967296 %7 = icmp eq i64 %sext, 0 %8 = icmp eq i1 %7, false br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = call i64 @FUNC(i64 %5) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_17 LBL_2: %10 = trunc i64 %1 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = add i64 %5, 1024 %13 = inttoptr i64 %12 to i32* store i32 %10, i32* %13, align 4 br label LBL_4 LBL_4: %14 = ashr exact i64 %sext, 32 %15 = call i64 @FUNC(i64 %5, i64 1024, i64 %2) %16 = add i64 %5, 1028 %17 = inttoptr i64 %16 to i32* store i32 0, i32* %17, align 4 %18 = add i64 %5, 1032 %19 = inttoptr i64 %18 to i32* store i32 0, i32* %19, align 4 %20 = add i64 %2, 1056 %21 = inttoptr i64 %20 to i64* %22 = load i64, i64* %21, align 8 %23 = inttoptr i64 %22 to i32* %24 = load i32, i32* %23, align 4 %25 = urem i32 %24, 2 %26 = icmp eq i32 %25, 0 %27 = add i64 %5, 1044 %28 = inttoptr i64 %27 to i32* %. = zext i1 %26 to i32 store i32 %., i32* %28, align 4 %29 = ptrtoint i32* %arg2 to i64 %30 = add i64 %29, 4 %31 = inttoptr i64 %30 to i32* %32 = load i32, i32* %31, align 4 %33 = icmp eq i32 %32, 0 %34 = icmp eq i1 %33, false %35 = inttoptr i64 %14 to i64* %36 = load i64, i64* %35, align 8 %37 = inttoptr i64 %36 to i32* %.4 = select i1 %34, i32 %32, i32 1 store i32 %.4, i32* %37, align 4 %38 = load i32, i32* %28, align 4 %39 = icmp eq i32 %38, 0 %40 = icmp eq i1 %39, false br i1 %40, label LBL_8, label LBL_5 LBL_5: %41 = bitcast i32* %sv_1 to i64* %42 = bitcast i32* %sv_2 to i64* %43 = call i64 @FUNC(i64* nonnull %41, i64* nonnull %42, i64 %5) %44 = trunc i64 %43 to i32 %45 = icmp slt i32 %44, 0 br i1 %45, label LBL_16, label LBL_6 LBL_6: %46 = load i32, i32* %sv_1, align 4 %47 = add i64 %5, 1036 %48 = inttoptr i64 %47 to i32* store i32 %46, i32* %48, align 4 %49 = load i32, i32* %sv_2, align 4 %50 = add i64 %5, 1040 %51 = inttoptr i64 %50 to i32* store i32 %49, i32* %51, align 4 %52 = load i32, i32* %sv_1, align 4 store i32 %52, i32* %17, align 4 %53 = add nsw i64 %14, 8 %54 = inttoptr i64 %53 to i32* store i32 0, i32* %54, align 4 %55 = load i32, i32* %sv_2, align 4 %56 = load i32, i32* %sv_1, align 4 %57 = add i32 %55, 1 %58 = sub i32 %57, %56 %59 = add nsw i64 %14, 12 %60 = inttoptr i64 %59 to i32* store i32 %58, i32* %60, align 4 %61 = load i32, i32* %17, align 4 %62 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024, i64 %5, i32 %61) %63 = trunc i64 %62 to i32 %64 = icmp slt i32 %63, 0 br i1 %64, label LBL_16, label LBL_7 LBL_7: %65 = ptrtoint i64* %sv_3 to i64 %66 = call i64 @FUNC(i64 %65, i64* nonnull %sv_3, i64 0) %67 = trunc i64 %66 to i32 %68 = icmp slt i32 %67, 0 %69 = icmp eq i1 %68, false store i64 %65, i64* %sv_0.0.reg2mem br i1 %69, label LBL_9, label LBL_16 LBL_8: %70 = add i64 %2, 1048 store i64 %70, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %71 = add i64 %5, 1024 %72 = inttoptr i64 %71 to i32* %73 = load i32, i32* %72, align 4 %74 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %2, i32 %73, i64 4199083, i64 %5) %75 = trunc i64 %74 to i32 %76 = icmp slt i32 %75, 0 %77 = load i32, i32* %28, align 4 %78 = icmp eq i32 %77, 0 %79 = icmp eq i1 %78, false br i1 %76, label LBL_14, label LBL_10 LBL_10: br i1 %79, label LBL_12, label LBL_11 LBL_11: %80 = call i64 @FUNC(i64 %sv_0.0.reload) br label LBL_13 LBL_12: %81 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0, i64 0) br label LBL_13 LBL_13: %82 = load i64, i64* %35, align 8 %83 = add i64 %82, 4 %84 = inttoptr i64 %83 to i32* store i32 0, i32* %84, align 4 %85 = load i64, i64* %35, align 8 %86 = add i64 %85, 8 %87 = inttoptr i64 %86 to i32* store i32 1, i32* %87, align 4 %88 = load i64, i64* %35, align 8 %89 = add i64 %5, 1048 %90 = inttoptr i64 %89 to i32* %91 = load i32, i32* %90, align 4 %92 = add i64 %88, 12 %93 = inttoptr i64 %92 to i32* store i32 %91, i32* %93, align 4 %94 = load i64, i64* %35, align 8 %95 = add i64 %5, 1052 %96 = inttoptr i64 %95 to i32* %97 = load i32, i32* %96, align 4 %98 = add i64 %94, 16 %99 = inttoptr i64 %98 to i32* store i32 %97, i32* %99, align 4 %100 = load i64, i64* %35, align 8 %101 = add i64 %5, 1056 %102 = inttoptr i64 %101 to i32* %103 = load i32, i32* %102, align 4 %104 = add i64 %100, 20 %105 = inttoptr i64 %104 to i32* store i32 %103, i32* %105, align 4 %106 = load i32, i32* %96, align 4 %107 = add i32 %106, 15 %108 = and i32 %107, -16 %109 = zext i32 %108 to i64 %110 = load i32, i32* %90, align 4 %111 = add i32 %110, 15 %112 = and i32 %111, -16 %113 = load i32, i32* %102, align 4 %114 = zext i32 %112 to i64 %115 = zext i32 %113 to i64 %116 = call i64 @FUNC(i64 %115, i64 %114, i64 %109) %117 = trunc i64 %116 to i32 %118 = add i64 %5, 1060 %119 = inttoptr i64 %118 to i32* store i32 %117, i32* %119, align 4 store i64 0, i64* %rax.0.reg2mem br label LBL_17 LBL_14: br i1 %79, label LBL_16, label LBL_15 LBL_15: %120 = call i64 @FUNC(i64 %sv_0.0.reload) br label LBL_16 LBL_16: %121 = call i64 @FUNC(i64 %5) store i64 4294967295, 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 i1 %79, { 1, 0 } uselistorder i64 %sv_0.0.reload, { 1, 3, 2, 0 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %5, { 9, 5, 6, 7, 8, 11, 10, 2, 3, 4, 12, 13, 14, 15, 16, 1, 0 } uselistorder i64* %sv_3, { 0, 2, 1 } uselistorder i32* %sv_2, { 1, 0, 2 } uselistorder i32* %sv_1, { 2, 1, 0, 3 } uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 } uselistorder i64 (i64)* @url_fclose, { 1, 0 } uselistorder i64 1024, { 2, 0, 1, 3 } uselistorder i64 4294967284, { 0, 2, 1 } uselistorder i64 (i64)* @av_free, { 1, 0 } uselistorder label LBL_16, { 4, 0, 3, 1, 2 } }
1
BinRealVul
cpu_exit_332
cpu_exit
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0, i64 1) %2 = call i64 @FUNC() %3 = add i64 %0, 4 %4 = call i64 @FUNC(i64 %3, i64 1) ret i64 %4 uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 } }
0
BinRealVul
tls_read_15150
tls_read
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg2 to i64 %1 = ptrtoint i64* %arg1 to i64 %sv_0 = alloca i64, align 8 %2 = trunc i64 %arg3 to i32 store i64 0, i64* %sv_0, align 8 %3 = call i64 @FUNC(i64 %1, i64 %0, i32 %2, i64* nonnull %sv_0) %4 = load i64, i64* %sv_0, align 8 %5 = and i64 %3, 4294967295 %6 = call i64 @FUNC(i64 %5, i64 %4) %7 = trunc i64 %6 to i32 %8 = icmp slt i32 %7, 1 br i1 %8, label LBL_2, label LBL_1 LBL_1: %9 = and i64 %6, 4294967295 store i64 %9, i64* %rax.0.reg2mem br label LBL_4 LBL_2: %10 = icmp eq i32 %7, 0 %11 = icmp eq i1 %10, false store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_3, label LBL_4 LBL_3: %12 = and i64 %6, 4294967295 %13 = call i64 @FUNC(i64 %1, i64 %12) store i64 %13, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %sv_0, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 } uselistorder label LBL_4, { 1, 0, 2 } }
1
BinRealVul
add_attribute_10617
add_attribute
define i64 @FUNC(i16* %arg1, i8 %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr { LBL_0: %0 = alloca i64 %rdi = alloca i64, align 8 %1 = load i64, i64* %0 %2 = ptrtoint i16* %arg1 to i64 %3 = bitcast i64* %rdi to i16* %4 = trunc i64 %1 to i16 %5 = call i16 @ntohs(i16 %4) %6 = zext i16 %5 to i64 %7 = add i64 %6, %2 %8 = inttoptr i64 %7 to i8* store i8 %arg2, i8* %8, align 1 %9 = trunc i32 %arg4 to i16 %10 = add i16 %9, 2 %11 = add i64 %7, 2 %12 = inttoptr i64 %11 to i16* store i16 %10, i16* %12, align 2 %13 = load i16, i16* %3, align 8 %14 = call i16 @ntohs(i16 %13) %15 = load i16, i16* %12, align 2 %16 = add i16 %15, %14 %17 = call i16 @htons(i16 %16) store i16 %17, i16* %arg1, align 2 %18 = add i64 %7, 4 %19 = inttoptr i64 %18 to i64* %20 = call i64* @memcpy(i64* %19, i64* %arg3, i32 %arg4) %21 = ptrtoint i64* %20 to i64 ret i64 %21 }
0
BinRealVul
r_sys_run_18194
r_sys_run
define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %sv_0.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = load i64, i64* %0 %4 = trunc i64 %arg2 to i32 %5 = mul i32 %4, 2 %6 = add i32 %5, 8192 %7 = call i64* @malloc(i32 %6) %8 = ptrtoint i64* %7 to i64 %9 = trunc i64 %8 to i32 %10 = urem i32 %9, 4096 %11 = icmp eq i32 %10, 0 store i64 %8, i64* %sv_0.0.reg2mem br i1 %11, label LBL_2, label LBL_1 LBL_1: %12 = sub nsw i32 4096, %10 %13 = zext i32 %12 to i64 %14 = add i64 %13, %8 store i64 %14, i64* %sv_0.0.reg2mem br label LBL_2 LBL_2: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %15 = icmp ne i64 %sv_0.0.reload, 0 %16 = icmp eq i64* %arg1, null %17 = icmp eq i1 %16, false %or.cond = icmp eq i1 %17, %15 br i1 %or.cond, label LBL_4, label LBL_3 LBL_3: %18 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 4096, i64 %3, i64 %2, i64 %1) call void @free(i64* %7) br label LBL_5 LBL_4: %19 = inttoptr i64 %sv_0.0.reload to i64* %20 = call i64* @memcpy(i64* %19, i64* %arg1, i32 4096) %21 = call i64 @FUNC(i64 %sv_0.0.reload, i64 4096, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)) %22 = call i64 @FUNC() br label LBL_5 LBL_5: ret i64 0 uselistorder i64 %sv_0.0.reload, { 1, 0, 2 } uselistorder i32 %10, { 1, 0 } uselistorder i64 %8, { 1, 0, 2 } uselistorder i64* %0, { 2, 1, 0 } uselistorder i32 4096, { 1, 2, 0 } uselistorder i64 %arg2, { 1, 0 } uselistorder i64* %arg1, { 1, 0 } }
1
BinRealVul
IGDstartelt_11356
IGDstartelt
define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = trunc i64 %arg3 to i32 %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = bitcast i8* %arg2 to i64* %4 = call i64* @memcpy(i64* %arg1, i64* %3, i32 %1) %5 = add i64 %2, %0 %6 = inttoptr i64 %5 to i8* store i8 0, i8* %6, align 1 %7 = add i64 %0, 256 %8 = inttoptr i64 %7 to i32* %9 = load i32, i32* %8, align 4 %10 = add i32 %9, 1 store i32 %10, i32* %8, align 4 %11 = icmp eq i32 %1, 7 %12 = icmp eq i1 %11, false store i64 %0, i64* %rax.0.reg2mem br i1 %12, label LBL_3, label LBL_1 LBL_1: %13 = trunc i64 %2 to i32 %14 = call i32 @memcmp(i64* %3, i64* bitcast ([8 x i8]* @gv_0 to i64*), i32 %13) %15 = sext i32 %14 to i64 %16 = icmp eq i32 %14, 0 %17 = icmp eq i1 %16, false store i64 %15, i64* %rax.0.reg2mem br i1 %17, label LBL_3, label LBL_2 LBL_2: %18 = add i64 %0, 260 %19 = inttoptr i64 %18 to i8* store i8 0, i8* %19, align 1 %20 = add i64 %0, 516 %21 = inttoptr i64 %20 to i8* store i8 0, i8* %21, align 1 %22 = add i64 %0, 772 %23 = inttoptr i64 %22 to i8* store i8 0, i8* %23, align 1 %24 = add i64 %0, 1028 %25 = inttoptr i64 %24 to i8* store i8 0, i8* %25, align 1 store i64 %0, i64* %rax.0.reg2mem br label LBL_3 LBL_3: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64 %2, { 1, 0 } uselistorder i64 %0, { 0, 3, 4, 5, 6, 1, 7, 2 } }
1
BinRealVul
hns_dsaf_init_18229
hns_dsaf_init
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %indvars.iv.next2.reg2mem = alloca i64 %0 = ptrtoint i64* %arg1 to i64 %1 = call i64 @FUNC(i64 %0) %2 = call i64 @FUNC(i64 %0) %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = call i64 @FUNC(i64 %0) %6 = trunc i64 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label LBL_3, label LBL_2 LBL_2: %8 = and i64 %5, 4294967295 store i64 %8, i64* %rax.0.reg2mem br label LBL_7 LBL_3: %9 = call i64 @FUNC(i64 40) %10 = inttoptr i64 %1 to i64* store i64 %9, i64* %10, align 8 %11 = icmp eq i64 %9, 0 %12 = icmp eq i1 %11, false br i1 %12, label LBL_4, label LBL_5 LBL_4: %13 = inttoptr i64 %9 to i32* store i32 -1, i32* %13, align 4 store i64 1, i64* %indvars.iv.next2.reg2mem br label LBL_6 LBL_5: %14 = call i64 @FUNC(i64 %0) store i64 4294967284, i64* %rax.0.reg2mem br label LBL_7 LBL_6: %indvars.iv.next2.reload = load i64, i64* %indvars.iv.next2.reg2mem %.pre = load i64, i64* %10, align 8 %15 = mul i64 %indvars.iv.next2.reload, 4 %16 = add i64 %15, %.pre %17 = inttoptr i64 %16 to i32* store i32 -1, i32* %17, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv.next2.reload, 1 %exitcond = icmp eq i64 %indvars.iv.next, 10 store i64 %indvars.iv.next, i64* %indvars.iv.next2.reg2mem store i64 0, i64* %rax.0.reg2mem br i1 %exitcond, label LBL_7, label LBL_6 LBL_7: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i64* %indvars.iv.next2.reg2mem, { 1, 0, 2 } uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 } uselistorder i64 1, { 1, 0 } uselistorder i32 -1, { 1, 0 } uselistorder label LBL_7, { 0, 2, 3, 1 } uselistorder label LBL_6, { 1, 0 } }
1
BinRealVul
free_filter_param_4039
free_filter_param
define i64 @FUNC(i64* %arg1) local_unnamed_addr { LBL_0: %0 = alloca i64 %storemerge1.reg2mem = alloca i32 %.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = trunc i64 %1 to i32 %3 = mul i32 %2, 2 %4 = zext i32 %3 to i64 %5 = icmp eq i32 %3, 0 br i1 %5, label LBL_3, label LBL_1 LBL_1: %6 = ptrtoint i64* %arg1 to i64 %7 = add i64 %6, 8 %8 = inttoptr i64 %7 to i64* store i64 0, i64* %.reg2mem store i32 0, i32* %storemerge1.reg2mem br label LBL_2 LBL_2: %storemerge1.reload = load i32, i32* %storemerge1.reg2mem %.reload = load i64, i64* %.reg2mem %9 = load i64, i64* %8, align 8 %10 = mul i64 %.reload, 8 %11 = add i64 %9, %10 %12 = call i64 @FUNC(i64 %11) %13 = add i32 %storemerge1.reload, 1 %14 = sext i32 %13 to i64 %15 = icmp slt i64 %14, %4 store i64 %14, i64* %.reg2mem store i32 %13, i32* %storemerge1.reg2mem br i1 %15, label LBL_2, label LBL_3 LBL_3: ret i64 %4 uselistorder i32 %3, { 1, 0 } uselistorder i64* %.reg2mem, { 1, 0, 2 } uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 } uselistorder label LBL_2, { 1, 0 } }
0
BinRealVul
ext4_block_to_path_11383
ext4_block_to_path
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_2.0.reg2mem = alloca i64 %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp ult i64 %arg2, 12 %4 = icmp eq i1 %3, false br i1 %4, label LBL_2, label LBL_1 LBL_1: store i64 %arg2, i64* %arg3, align 8 store i64 1, i64* %sv_2.0.reg2mem store i32 12, i32* %sv_1.0.reg2mem store i64 %arg2, i64* %sv_0.0.reg2mem br label LBL_9 LBL_2: %5 = ptrtoint i64* %arg3 to i64 %6 = add i64 %arg2, -12 %7 = icmp ult i64 %6, 1024 %8 = icmp eq i1 %7, false br i1 %8, label LBL_4, label LBL_3 LBL_3: store i64 12, i64* %arg3, align 8 %9 = add i64 %5, 8 %10 = inttoptr i64 %9 to i64* store i64 %6, i64* %10, align 8 store i64 2, i64* %sv_2.0.reg2mem store i32 1024, i32* %sv_1.0.reg2mem store i64 %6, i64* %sv_0.0.reg2mem br label LBL_9 LBL_4: %11 = add i64 %arg2, -1036 %12 = icmp ult i64 %11, 1048576 %13 = icmp eq i1 %12, false br i1 %13, label LBL_6, label LBL_5 LBL_5: store i64 13, i64* %arg3, align 8 %14 = add i64 %5, 8 %15 = udiv i64 %11, 1024 %16 = inttoptr i64 %14 to i64* store i64 %15, i64* %16, align 8 %17 = add i64 %5, 16 %18 = urem i64 %11, 1024 %19 = inttoptr i64 %17 to i64* store i64 %18, i64* %19, align 8 store i64 3, i64* %sv_2.0.reg2mem store i32 1024, i32* %sv_1.0.reg2mem store i64 %11, i64* %sv_0.0.reg2mem br label LBL_9 LBL_6: %20 = add i64 %arg2, -1049612 %21 = icmp ult i64 %20, 1073741824 %22 = icmp eq i1 %21, false br i1 %22, label LBL_8, label LBL_7 LBL_7: store i64 14, i64* %arg3, align 8 %23 = add i64 %5, 8 %24 = udiv i64 %20, 1048576 %25 = inttoptr i64 %23 to i64* store i64 %24, i64* %25, align 8 %26 = udiv i64 %20, 1024 %27 = add i64 %5, 16 %28 = urem i64 %26, 1024 %29 = inttoptr i64 %27 to i64* store i64 %28, i64* %29, align 8 %30 = add i64 %5, 24 %31 = urem i64 %20, 1024 %32 = inttoptr i64 %30 to i64* store i64 %31, i64* %32, align 8 store i64 4, i64* %sv_2.0.reg2mem store i32 1024, i32* %sv_1.0.reg2mem store i64 %20, i64* %sv_0.0.reg2mem br label LBL_9 LBL_8: %33 = ptrtoint i64* %arg1 to i64 %34 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %2, i64 %1) store i64 0, i64* %sv_2.0.reg2mem store i32 0, i32* %sv_1.0.reg2mem store i64 %20, i64* %sv_0.0.reg2mem br label LBL_9 LBL_9: %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem %35 = icmp eq i64* %arg4, null br i1 %35, label LBL_11, label LBL_10 LBL_10: %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem %36 = trunc i64 %sv_0.0.reload to i32 %37 = urem i32 %36, 1024 %38 = sub i32 0, %37 %39 = sub i32 %38, 1 %40 = add nsw i32 %sv_1.0.reload, %39 %41 = bitcast i64* %arg4 to i32* store i32 %40, i32* %41, align 4 br label LBL_11 LBL_11: ret i64 %sv_2.0.reload uselistorder i64 %20, { 1, 0, 4, 2, 3, 5 } uselistorder i64 %11, { 0, 2, 1, 3 } uselistorder i64 %6, { 0, 2, 1 } uselistorder i64 %5, { 0, 4, 5, 1, 2, 3 } uselistorder i64* %sv_2.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 } uselistorder i64* %0, { 1, 0 } uselistorder i32 0, { 1, 0 } uselistorder i64 16, { 1, 0 } uselistorder i32 1024, { 3, 2, 1, 0 } uselistorder i64 8, { 2, 0, 1 } uselistorder i64 1024, { 1, 2, 0, 4, 3, 5 } uselistorder i64 12, { 1, 0 } uselistorder i64* %arg3, { 0, 1, 2, 4, 3 } uselistorder i64 %arg2, { 1, 2, 3, 4, 0, 5, 6 } }
1
BinRealVul
fib6_rule_suppress_11203
fib6_rule_suppress
define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr { LBL_0: %0 = alloca i64 %rax.0.reg2mem = alloca i64 %sv_0.0.reg2mem = alloca i32* %1 = load i64, i64* %0 %2 = load i64, i64* %0 %3 = icmp eq i64* %arg2, null %4 = icmp eq i1 %3, false store i64 0, i64* %rax.0.reg2mem br i1 %4, label LBL_1, label LBL_7 LBL_1: %5 = ptrtoint i64* %arg2 to i64 %6 = add i64 %5, 8 %7 = inttoptr i64 %6 to i64* %8 = load i64, i64* %7, align 8 %9 = icmp eq i64 %8, 0 store i32* null, i32** %sv_0.0.reg2mem br i1 %9, label LBL_3, label LBL_2 LBL_2: %10 = inttoptr i64 %8 to i64* %11 = load i64, i64* %10, align 8 %12 = inttoptr i64 %11 to i32* store i32* %12, i32** %sv_0.0.reg2mem br label LBL_3 LBL_3: %13 = trunc i64 %2 to i32 %14 = trunc i64 %1 to i32 %15 = icmp ugt i32 %13, %14 br i1 %15, label LBL_4, label LBL_6 LBL_4: %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem %16 = ptrtoint i32* %arg1 to i64 %17 = add i64 %16, 4 %18 = inttoptr i64 %17 to i32* %19 = load i32, i32* %18, align 4 %20 = icmp eq i32 %19, -1 %21 = icmp eq i32* %sv_0.0.reload, null %or.cond = or i1 %21, %20 store i64 0, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_7, label LBL_5 LBL_5: %22 = load i32, i32* %sv_0.0.reload, align 4 %23 = icmp eq i32 %22, %19 store i64 0, i64* %rax.0.reg2mem br i1 %23, label LBL_6, label LBL_7 LBL_6: %24 = call i64 @FUNC(i64 %5) store i64 1, 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* %rax.0.reg2mem, { 0, 4, 2, 1, 3 } uselistorder i64* %0, { 1, 0 } uselistorder i32* null, { 1, 0 } uselistorder i64* %arg2, { 1, 0 } uselistorder label LBL_7, { 3, 1, 0, 2 } }
1
BinRealVul
dns_add_rr_nested_memcpy_12940
dns_add_rr_nested_memcpy
define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr { LBL_0: %rax.0.reg2mem = alloca i64 %0 = icmp eq i64* %arg1, null %1 = icmp eq i64* %arg2, null %or.cond = or i1 %0, %1 store i64 4294967295, i64* %rax.0.reg2mem br i1 %or.cond, label LBL_4, label LBL_1 LBL_1: %sext = mul i64 %arg3, 4294967296 %2 = ashr exact i64 %sext, 32 %3 = trunc i64 %2 to i32 %4 = icmp eq i32 %3, 0 %5 = icmp slt i32 %3, 0 %6 = icmp eq i1 %5, false %7 = icmp eq i1 %4, false %8 = icmp eq i1 %6, %7 store i64 4294967295, i64* %rax.0.reg2mem br i1 %8, label LBL_2, label LBL_4 LBL_2: %9 = ptrtoint i64* %arg1 to i64 %10 = call i64 @FUNC(i64 %9) %11 = icmp sgt i64 %2, %10 store i64 4294967295, i64* %rax.0.reg2mem br i1 %11, label LBL_4, label LBL_3 LBL_3: %12 = call i64* @memcpy(i64* nonnull %arg1, i64* nonnull %arg2, i32 %3) %13 = add i64 %2, %9 store i64 %13, i64* %arg1, align 8 store i64 0, i64* %rax.0.reg2mem br label LBL_4 LBL_4: %rax.0.reload = load i64, i64* %rax.0.reg2mem ret i64 %rax.0.reload uselistorder i32 %3, { 0, 2, 1 } uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 } uselistorder i64 4294967295, { 0, 2, 1 } uselistorder i64* %arg1, { 0, 1, 3, 2 } uselistorder label LBL_4, { 3, 0, 2, 1 } }
1